Skip to content

Commit 038d0e4

Browse files
feat: inv_bijective (#35975)
Also a minor golf for `inv_eq_iff_eq_inv`.
1 parent e8ea1af commit 038d0e4

1 file changed

Lines changed: 5 additions & 1 deletion

File tree

Mathlib/Algebra/Group/Basic.lean

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -283,6 +283,10 @@ variable [InvolutiveInv G] {a b : G}
283283
theorem inv_involutive : Function.Involutive (Inv.inv : G → G) :=
284284
inv_inv
285285

286+
@[to_additive]
287+
theorem inv_bijective : Function.Bijective (Inv.inv : G → G) :=
288+
inv_involutive.bijective
289+
286290
@[to_additive (attr := simp)]
287291
theorem inv_surjective : Function.Surjective (Inv.inv : G → G) :=
288292
inv_involutive.surjective
@@ -297,7 +301,7 @@ theorem inv_inj : a⁻¹ = b⁻¹ ↔ a = b :=
297301

298302
@[to_additive]
299303
theorem inv_eq_iff_eq_inv : a⁻¹ = b ↔ a = b⁻¹ :=
300-
fun h => h ▸ (inv_inv a).symm, fun h => h.symm ▸ inv_inv b⟩
304+
inv_involutive.eq_iff
301305

302306
variable (G)
303307

0 commit comments

Comments
 (0)