Metamath Proof Explorer


Theorem mndtcco2

Description: The composition of the category built from a monoid is the monoid operation. (Contributed by Zhi Wang, 22-Sep-2024)

Ref Expression
Hypotheses mndtcbas.c โŠข ( ๐œ‘ โ†’ ๐ถ = ( MndToCat โ€˜ ๐‘€ ) )
mndtcbas.m โŠข ( ๐œ‘ โ†’ ๐‘€ โˆˆ Mnd )
mndtcbas.b โŠข ( ๐œ‘ โ†’ ๐ต = ( Base โ€˜ ๐ถ ) )
mndtchom.x โŠข ( ๐œ‘ โ†’ ๐‘‹ โˆˆ ๐ต )
mndtchom.y โŠข ( ๐œ‘ โ†’ ๐‘Œ โˆˆ ๐ต )
mndtcco.z โŠข ( ๐œ‘ โ†’ ๐‘ โˆˆ ๐ต )
mndtcco.o โŠข ( ๐œ‘ โ†’ ยท = ( comp โ€˜ ๐ถ ) )
mndtcco2.o2 โŠข ( ๐œ‘ โ†’ โšฌ = ( โŸจ ๐‘‹ , ๐‘Œ โŸฉ ยท ๐‘ ) )
Assertion mndtcco2 ( ๐œ‘ โ†’ ( ๐บ โšฌ ๐น ) = ( ๐บ ( +g โ€˜ ๐‘€ ) ๐น ) )

Proof

Step Hyp Ref Expression
1 mndtcbas.c โŠข ( ๐œ‘ โ†’ ๐ถ = ( MndToCat โ€˜ ๐‘€ ) )
2 mndtcbas.m โŠข ( ๐œ‘ โ†’ ๐‘€ โˆˆ Mnd )
3 mndtcbas.b โŠข ( ๐œ‘ โ†’ ๐ต = ( Base โ€˜ ๐ถ ) )
4 mndtchom.x โŠข ( ๐œ‘ โ†’ ๐‘‹ โˆˆ ๐ต )
5 mndtchom.y โŠข ( ๐œ‘ โ†’ ๐‘Œ โˆˆ ๐ต )
6 mndtcco.z โŠข ( ๐œ‘ โ†’ ๐‘ โˆˆ ๐ต )
7 mndtcco.o โŠข ( ๐œ‘ โ†’ ยท = ( comp โ€˜ ๐ถ ) )
8 mndtcco2.o2 โŠข ( ๐œ‘ โ†’ โšฌ = ( โŸจ ๐‘‹ , ๐‘Œ โŸฉ ยท ๐‘ ) )
9 1 2 3 4 5 6 7 mndtcco โŠข ( ๐œ‘ โ†’ ( โŸจ ๐‘‹ , ๐‘Œ โŸฉ ยท ๐‘ ) = ( +g โ€˜ ๐‘€ ) )
10 8 9 eqtrd โŠข ( ๐œ‘ โ†’ โšฌ = ( +g โ€˜ ๐‘€ ) )
11 10 oveqd โŠข ( ๐œ‘ โ†’ ( ๐บ โšฌ ๐น ) = ( ๐บ ( +g โ€˜ ๐‘€ ) ๐น ) )