Skip to content

Commit

Permalink
chore(data/equiv/mul_add): add missing to_equiv_mk (#9765)
Browse files Browse the repository at this point in the history
  • Loading branch information
urkud committed Oct 17, 2021
1 parent 24ebeec commit 678d7ed
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/data/equiv/mul_add.lean
Expand Up @@ -143,6 +143,10 @@ theorem to_equiv_symm (f : M ≃* N) : f.symm.to_equiv = f.to_equiv.symm := rfl
@[simp, to_additive]
theorem coe_mk (f : M → N) (g h₁ h₂ h₃) : ⇑(mul_equiv.mk f g h₁ h₂ h₃) = f := rfl

@[simp, to_additive]
lemma to_equiv_mk (f : M → N) (g : N → M) (h₁ h₂ h₃) :
(mk f g h₁ h₂ h₃).to_equiv = ⟨f, g, h₁, h₂⟩ := rfl

@[simp, to_additive]
lemma symm_symm : ∀ (f : M ≃* N), f.symm.symm = f
| ⟨f, g, h₁, h₂, h₃⟩ := rfl
Expand Down

0 comments on commit 678d7ed

Please sign in to comment.