We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8bedf39 commit 0aaab06Copy full SHA for 0aaab06
1 file changed
theories/algebra/ZModPCentered.ec
@@ -37,8 +37,13 @@ lemma zmodcgr_ceq a b :
37
(p + 1) %/ 2 - p <= a < (p + 1) %/ 2
38
=> (p + 1) %/ 2 - p <= b < (p + 1) %/ 2
39
=> zmodcgr a b
40
- => a = b
41
- by case (0 <= a); case (0 <= b); smt().
+ => a = b.
+proof.
42
+move=> Ha Hb Hcgr.
43
+have Hp := ge2_p.
44
+have Hdvd : p %| (a - b) by smt(zmodcgrP).
45
+smt().
46
+qed.
47
48
lemma zmodcgr_transitive b a c :
49
zmodcgr a b => zmodcgr b c => zmodcgr a c.
0 commit comments