Metamath Proof Explorer


Theorem efmndmgm

Description: The monoid of endofunctions on a class A is a magma. (Contributed by AV, 28-Jan-2024)

Ref Expression
Hypothesis efmndmgm.g No typesetting found for |- G = ( EndoFMnd ` A ) with typecode |-
Assertion efmndmgm G Mgm

Proof

Step Hyp Ref Expression
1 efmndmgm.g Could not format G = ( EndoFMnd ` A ) : No typesetting found for |- G = ( EndoFMnd ` A ) with typecode |-
2 eqid Base G = Base G
3 eqid + G = + G
4 1 2 3 efmndcl f Base G g Base G f + G g Base G
5 4 rgen2 f Base G g Base G f + G g Base G
6 1 fvexi G V
7 2 3 ismgm G V G Mgm f Base G g Base G f + G g Base G
8 6 7 ax-mp G Mgm f Base G g Base G f + G g Base G
9 5 8 mpbir G Mgm