aboutsummaryrefslogtreecommitdiff
path: root/src/Algebra/Monoid.v
diff options
context:
space:
mode:
Diffstat (limited to 'src/Algebra/Monoid.v')
-rw-r--r--src/Algebra/Monoid.v4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/Algebra/Monoid.v b/src/Algebra/Monoid.v
index e5755b6f0..aa30865c3 100644
--- a/src/Algebra/Monoid.v
+++ b/src/Algebra/Monoid.v
@@ -12,7 +12,7 @@ Section Monoid.
Lemma cancel_right z iz (Hinv:op z iz = id) :
forall x y, x * z = y * z <-> x = y.
Proof using Type*.
- split; intros.
+ intros x y; split; intro.
{ assert (op (op x z) iz = op (op y z) iz) as Hcut by (rewrite_hyp ->!*; reflexivity).
rewrite <-associative in Hcut.
rewrite <-!associative, !Hinv, !right_identity in Hcut; exact Hcut. }
@@ -22,7 +22,7 @@ Section Monoid.
Lemma cancel_left z iz (Hinv:op iz z = id) :
forall x y, z * x = z * y <-> x = y.
Proof using Type*.
- split; intros.
+ intros x y; split; intros.
{ assert (op iz (op z x) = op iz (op z y)) as Hcut by (rewrite_hyp ->!*; reflexivity).
rewrite !associative, !Hinv, !left_identity in Hcut; exact Hcut. }
{ rewrite_hyp ->!*; reflexivity. }