Metamath Proof Explorer


Theorem mndrid

Description: The identity element of a monoid is a right identity. (Contributed by NM, 18-Aug-2011)

Ref Expression
Hypotheses mndlrid.b 𝐵 = ( Base ‘ 𝐺 )
mndlrid.p + = ( +g𝐺 )
mndlrid.o 0 = ( 0g𝐺 )
Assertion mndrid ( ( 𝐺 ∈ Mnd ∧ 𝑋𝐵 ) → ( 𝑋 + 0 ) = 𝑋 )

Proof

Step Hyp Ref Expression
1 mndlrid.b 𝐵 = ( Base ‘ 𝐺 )
2 mndlrid.p + = ( +g𝐺 )
3 mndlrid.o 0 = ( 0g𝐺 )
4 1 2 3 mndlrid ( ( 𝐺 ∈ Mnd ∧ 𝑋𝐵 ) → ( ( 0 + 𝑋 ) = 𝑋 ∧ ( 𝑋 + 0 ) = 𝑋 ) )
5 4 simprd ( ( 𝐺 ∈ Mnd ∧ 𝑋𝐵 ) → ( 𝑋 + 0 ) = 𝑋 )