aboutsummaryrefslogtreecommitdiff
path: root/mathcomp/algebra/ssrint.v
diff options
context:
space:
mode:
authoraffeldt-aist2020-11-20 12:41:11 +0900
committerGitHub2020-11-20 12:41:11 +0900
commit3bb1ccc63170e3e71ef9d5b62758b6fdb1c4371c (patch)
tree076b8d8c53eaaf424258388bbd0068970c55b85f /mathcomp/algebra/ssrint.v
parent676a9266ad77232ab198c86a6a3a3f3f6ba53cc0 (diff)
parente565f8d9bebd4fd681c34086d5448dbaebc11976 (diff)
Merge pull request #658 from CohenCyril/duplicate_clear
Removing duplicate clears and turning the warning into an error
Diffstat (limited to 'mathcomp/algebra/ssrint.v')
-rw-r--r--mathcomp/algebra/ssrint.v2
1 files changed, 1 insertions, 1 deletions
diff --git a/mathcomp/algebra/ssrint.v b/mathcomp/algebra/ssrint.v
index aa899b2..e234504 100644
--- a/mathcomp/algebra/ssrint.v
+++ b/mathcomp/algebra/ssrint.v
@@ -410,7 +410,7 @@ Proof. by case: m; first case. Qed.
Lemma subz_ge0 m n : lez 0 (n - m) = lez m n.
Proof.
-case: (intP m); case: (intP n)=> // {m n} m n /=;
+case: (intP m); case: (intP n)=> // {}m {}n /=;
rewrite ?ltnS -?opprD ?opprB ?subzSS; case: leqP=> // hmn;
by [ rewrite subzn //
| rewrite -opprB subzn ?(ltnW hmn) //;