aboutsummaryrefslogtreecommitdiff
path: root/mathcomp/ssreflect/div.v
diff options
context:
space:
mode:
authorCyril Cohen2018-02-06 19:36:53 +0100
committerGitHub2018-02-06 19:36:53 +0100
commitd6bc72cd477ed6fe8b95782b26a2e0fc92711395 (patch)
tree6996e39182b97573b1cdecaeb7c8c8a3f58c1e77 /mathcomp/ssreflect/div.v
parent11e539dae1bfe8bc67fc7bd1eb65ee3b4c29f813 (diff)
parentf3ce9ace4b55654d6240db9eb41a6de3c488f0d9 (diff)
Merge pull request #164 from CohenCyril/linting
linting of the whole library
Diffstat (limited to 'mathcomp/ssreflect/div.v')
-rw-r--r--mathcomp/ssreflect/div.v2
1 files changed, 1 insertions, 1 deletions
diff --git a/mathcomp/ssreflect/div.v b/mathcomp/ssreflect/div.v
index 723946d..4172430 100644
--- a/mathcomp/ssreflect/div.v
+++ b/mathcomp/ssreflect/div.v
@@ -200,7 +200,7 @@ rewrite leq_subLR addnA; apply: leq_trans (leq_divDl _ _ _).
by rewrite -maxnE leq_div2r ?leq_maxr.
Qed.
-Lemma divnMA m n p : m %/ (n * p) = m %/ n %/ p.
+Lemma divnMA m n p : m %/ (n * p) = m %/ n %/ p.
Proof.
case: n p => [|n] [|p]; rewrite ?muln0 ?div0n //.
rewrite {2}(divn_eq m (n.+1 * p.+1)) mulnA mulnAC !divnMDl //.