Left_Identity_equals_Right_Identity
ProvedIf e_l is a left identity and e_r is a right identity in a magma, then e_l = e_r.
Preamble
import Mathlib.Algebra.Group.Defs import Mathlib.Tactic
Formal statement
theorem Left_Identity_equals_Right_Identity {M : Type _} [Mul M] (e_l e_r : M) (hl : ∀ a : M, e_l * a = a) (hr : ∀ a : M, a * e_r = a) : e_l = e_r := by sorry