Constant_Operation_is_Commutative
Provedcommutativityconstant-operationproofwiki
Let S be a set and let [c] be a constant operation on S (x [c] y = c for all x, y). Then [c] is commutative.
Preamble
import Mathlib.Logic.Basic
Formal statement
theorem Constant_Operation_is_Commutative {α : Type _} (c : α) : ∀ x y : α, (fun _ _ : α => c) x y = (fun _ _ : α => c) y x := by sorrySource