Equality_of_Algebraic_Structures
Provedabstract-algebraequalityproofwiki
Two algebraic structures (S, ∘) and (S, *) on the same set are equal if and only if ∘ = *, i.e., for all a, b: a ∘ b = a * b.
Preamble
import Mathlib.Logic.Basic
Formal statement
theorem Equality_of_Algebraic_Structures {α : Type _} (op1 op2 : α → α → α) (h : ∀ a b, op1 a b = op2 a b) : op1 = op2 := by sorrySource