Skip to content

Commit 67e7cbf

Browse files
JovanGerbfelixpernegger
authored andcommitted
perf(Algebra/Algebra/Equiv): mark coe_ringEquiv with defeq again (leanprover-community#40873)
This PR reverts the proof of `coe_ringEquiv` back to `:= rfl` after leanprover-community#40834, which apparently is necessary for performance reasons.
1 parent 80b34cf commit 67e7cbf

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Mathlib/Algebra/Algebra/Equiv.lean

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -160,7 +160,7 @@ theorem toRingEquiv_eq_coe : e.toRingEquiv = e :=
160160
lemma toRingEquiv_toRingHom : ((e : A₁ ≃+* A₂) : A₁ →+* A₂) = e :=
161161
rfl
162162

163-
theorem coe_ringEquiv : ((e : A₁ ≃+* A₂) : A₁ → A₂) = e := by simp
163+
theorem coe_ringEquiv : ((e : A₁ ≃+* A₂) : A₁ → A₂) = e := rfl
164164

165165
@[deprecated (since := "2026-06-21")] alias coe_ringEquiv' := coe_ringEquiv
166166

0 commit comments

Comments
 (0)