We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 17a5253 commit 407d413Copy full SHA for 407d413
README.md
@@ -54,10 +54,8 @@ We proceed by showing that `Z` is an example of both structures, and use
54
the lemma just proved on a statement about `Z`.
55
56
```coq
57
-Definition Z_CoMoid := AddComoid_of_Type.Build Z 0%Z Z.add Z.add_assoc Z.add_comm Z.add_0_l.
58
-HB.instance Z Z_CoMoid.
59
-Definition Z_AbGrp := AbelianGrp_of_AddComoid.Build Z Z.opp Z.add_opp_diag_l.
60
-HB.instance Z Z_AbGrp.
+HB.instance Definition Z_CoMoid := AddComoid_of_Type.Build Z 0%Z Z.add Z.add_assoc Z.add_comm Z.add_0_l.
+HB.instance Definition Z_AbGrp := AbelianGrp_of_AddComoid.Build Z Z.opp Z.add_opp_diag_l.
61
62
Lemma example2 (x : Z) : x + (- x) = - 0.
63
Proof. by rewrite example. Qed.
0 commit comments