Metamath Proof Explorer


Theorem mndprop

Description: If two structures have the same group components (properties), one is a monoid iff the other one is. (Contributed by Mario Carneiro, 11-Oct-2013)

Ref Expression
Hypotheses mndprop.b ⊢ Base K = Base L
mndprop.p ⊢ + K = + L
Assertion mndprop ⊢ K ∈ Mnd ↔ L ∈ Mnd

Proof

Step Hyp Ref Expression
1 mndprop.b ⊢ Base K = Base L
2 mndprop.p ⊢ + K = + L
3 eqidd ⊢ ⊤ → Base K = Base K
4 1 a1i ⊢ ⊤ → Base K = Base L
5 2 oveqi ⊢ x + K y = x + L y
6 5 a1i ⊢ ⊤ ∧ x ∈ Base K ∧ y ∈ Base K → x + K y = x + L y
7 3 4 6 mndpropd ⊢ ⊤ → K ∈ Mnd ↔ L ∈ Mnd
8 7 mptru ⊢ K ∈ Mnd ↔ L ∈ Mnd