Metamath Proof Explorer


Theorem mgmideud

Description: Uniqueness of the left and right identity element of a magma when it exists. (Contributed by FL, 12-Dec-2009) (Revised by Mario Carneiro, 22-Dec-2013) (Revised by AV, 18-Aug-2026)

Ref Expression
Hypothesis mgmideud.e ⊢ φ → ∃ u ∈ B ∀ x ∈ B u + ˙ x = x ∧ x + ˙ u = x
Assertion mgmideud ⊢ φ → ∃! u ∈ B ∀ x ∈ B u + ˙ x = x ∧ x + ˙ u = x

Proof

Step Hyp Ref Expression
1 mgmideud.e ⊢ φ → ∃ u ∈ B ∀ x ∈ B u + ˙ x = x ∧ x + ˙ u = x
2 mgmidmo ⊢ ∃* u ∈ B ∀ x ∈ B u + ˙ x = x ∧ x + ˙ u = x
3 reu5 ⊢ ∃! u ∈ B ∀ x ∈ B u + ˙ x = x ∧ x + ˙ u = x ↔ ∃ u ∈ B ∀ x ∈ B u + ˙ x = x ∧ x + ˙ u = x ∧ ∃* u ∈ B ∀ x ∈ B u + ˙ x = x ∧ x + ˙ u = x
4 1 2 3 sylanblrc ⊢ φ → ∃! u ∈ B ∀ x ∈ B u + ˙ x = x ∧ x + ˙ u = x