Library prosa.util.div_mod
From mathcomp Require Export ssreflect ssrbool eqtype ssrnat seq fintype bigop div ssrfun.
Require Export prosa.util.list prosa.util.tactics.
Require Export prosa.util.list prosa.util.tactics.
Additional Lemmas about divn and modn
The ceiling quotient of a positive numerator is positive for any
denominator.
We show that div_ceil is monotone with respect to the first
argument.
We prove a technical lemma stating that for any three integers a, b, c
such that c > b, mod can be swapped with subtraction in
the expression (a + c - b) %% c.