MPE Home Metamath Proof Explorer < Previous   Next >
Nearby theorems
Mirrors  >  Home  >  MPE Home  >  Th. List  >  mhmco Structured version   Visualization version   GIF version

Theorem mhmco 18377
Description: The composition of monoid homomorphisms is a homomorphism. (Contributed by Mario Carneiro, 12-Jun-2015.)
Assertion
Ref Expression
mhmco ((𝐹 ∈ (𝑇 MndHom 𝑈) ∧ 𝐺 ∈ (𝑆 MndHom 𝑇)) → (𝐹𝐺) ∈ (𝑆 MndHom 𝑈))

Proof of Theorem mhmco
Dummy variables 𝑥 𝑦 are mutually distinct and distinct from all other variables.
StepHypRef Expression
1 mhmrcl2 18349 . . 3 (𝐹 ∈ (𝑇 MndHom 𝑈) → 𝑈 ∈ Mnd)
2 mhmrcl1 18348 . . 3 (𝐺 ∈ (𝑆 MndHom 𝑇) → 𝑆 ∈ Mnd)
31, 2anim12ci 613 . 2 ((𝐹 ∈ (𝑇 MndHom 𝑈) ∧ 𝐺 ∈ (𝑆 MndHom 𝑇)) → (𝑆 ∈ Mnd ∧ 𝑈 ∈ Mnd))
4 eqid 2738 . . . . 5 (Base‘𝑇) = (Base‘𝑇)
5 eqid 2738 . . . . 5 (Base‘𝑈) = (Base‘𝑈)
64, 5mhmf 18350 . . . 4 (𝐹 ∈ (𝑇 MndHom 𝑈) → 𝐹:(Base‘𝑇)⟶(Base‘𝑈))
7 eqid 2738 . . . . 5 (Base‘𝑆) = (Base‘𝑆)
87, 4mhmf 18350 . . . 4 (𝐺 ∈ (𝑆 MndHom 𝑇) → 𝐺:(Base‘𝑆)⟶(Base‘𝑇))
9 fco 6608 . . . 4 ((𝐹:(Base‘𝑇)⟶(Base‘𝑈) ∧ 𝐺:(Base‘𝑆)⟶(Base‘𝑇)) → (𝐹𝐺):(Base‘𝑆)⟶(Base‘𝑈))
106, 8, 9syl2an 595 . . 3 ((𝐹 ∈ (𝑇 MndHom 𝑈) ∧ 𝐺 ∈ (𝑆 MndHom 𝑇)) → (𝐹𝐺):(Base‘𝑆)⟶(Base‘𝑈))
11 eqid 2738 . . . . . . . . . 10 (+g𝑆) = (+g𝑆)
12 eqid 2738 . . . . . . . . . 10 (+g𝑇) = (+g𝑇)
137, 11, 12mhmlin 18352 . . . . . . . . 9 ((𝐺 ∈ (𝑆 MndHom 𝑇) ∧ 𝑥 ∈ (Base‘𝑆) ∧ 𝑦 ∈ (Base‘𝑆)) → (𝐺‘(𝑥(+g𝑆)𝑦)) = ((𝐺𝑥)(+g𝑇)(𝐺𝑦)))
14133expb 1118 . . . . . . . 8 ((𝐺 ∈ (𝑆 MndHom 𝑇) ∧ (𝑥 ∈ (Base‘𝑆) ∧ 𝑦 ∈ (Base‘𝑆))) → (𝐺‘(𝑥(+g𝑆)𝑦)) = ((𝐺𝑥)(+g𝑇)(𝐺𝑦)))
1514adantll 710 . . . . . . 7 (((𝐹 ∈ (𝑇 MndHom 𝑈) ∧ 𝐺 ∈ (𝑆 MndHom 𝑇)) ∧ (𝑥 ∈ (Base‘𝑆) ∧ 𝑦 ∈ (Base‘𝑆))) → (𝐺‘(𝑥(+g𝑆)𝑦)) = ((𝐺𝑥)(+g𝑇)(𝐺𝑦)))
1615fveq2d 6760 . . . . . 6 (((𝐹 ∈ (𝑇 MndHom 𝑈) ∧ 𝐺 ∈ (𝑆 MndHom 𝑇)) ∧ (𝑥 ∈ (Base‘𝑆) ∧ 𝑦 ∈ (Base‘𝑆))) → (𝐹‘(𝐺‘(𝑥(+g𝑆)𝑦))) = (𝐹‘((𝐺𝑥)(+g𝑇)(𝐺𝑦))))
17 simpll 763 . . . . . . 7 (((𝐹 ∈ (𝑇 MndHom 𝑈) ∧ 𝐺 ∈ (𝑆 MndHom 𝑇)) ∧ (𝑥 ∈ (Base‘𝑆) ∧ 𝑦 ∈ (Base‘𝑆))) → 𝐹 ∈ (𝑇 MndHom 𝑈))
188ad2antlr 723 . . . . . . . 8 (((𝐹 ∈ (𝑇 MndHom 𝑈) ∧ 𝐺 ∈ (𝑆 MndHom 𝑇)) ∧ (𝑥 ∈ (Base‘𝑆) ∧ 𝑦 ∈ (Base‘𝑆))) → 𝐺:(Base‘𝑆)⟶(Base‘𝑇))
19 simprl 767 . . . . . . . 8 (((𝐹 ∈ (𝑇 MndHom 𝑈) ∧ 𝐺 ∈ (𝑆 MndHom 𝑇)) ∧ (𝑥 ∈ (Base‘𝑆) ∧ 𝑦 ∈ (Base‘𝑆))) → 𝑥 ∈ (Base‘𝑆))
2018, 19ffvelrnd 6944 . . . . . . 7 (((𝐹 ∈ (𝑇 MndHom 𝑈) ∧ 𝐺 ∈ (𝑆 MndHom 𝑇)) ∧ (𝑥 ∈ (Base‘𝑆) ∧ 𝑦 ∈ (Base‘𝑆))) → (𝐺𝑥) ∈ (Base‘𝑇))
21 simprr 769 . . . . . . . 8 (((𝐹 ∈ (𝑇 MndHom 𝑈) ∧ 𝐺 ∈ (𝑆 MndHom 𝑇)) ∧ (𝑥 ∈ (Base‘𝑆) ∧ 𝑦 ∈ (Base‘𝑆))) → 𝑦 ∈ (Base‘𝑆))
2218, 21ffvelrnd 6944 . . . . . . 7 (((𝐹 ∈ (𝑇 MndHom 𝑈) ∧ 𝐺 ∈ (𝑆 MndHom 𝑇)) ∧ (𝑥 ∈ (Base‘𝑆) ∧ 𝑦 ∈ (Base‘𝑆))) → (𝐺𝑦) ∈ (Base‘𝑇))
23 eqid 2738 . . . . . . . 8 (+g𝑈) = (+g𝑈)
244, 12, 23mhmlin 18352 . . . . . . 7 ((𝐹 ∈ (𝑇 MndHom 𝑈) ∧ (𝐺𝑥) ∈ (Base‘𝑇) ∧ (𝐺𝑦) ∈ (Base‘𝑇)) → (𝐹‘((𝐺𝑥)(+g𝑇)(𝐺𝑦))) = ((𝐹‘(𝐺𝑥))(+g𝑈)(𝐹‘(𝐺𝑦))))
2517, 20, 22, 24syl3anc 1369 . . . . . 6 (((𝐹 ∈ (𝑇 MndHom 𝑈) ∧ 𝐺 ∈ (𝑆 MndHom 𝑇)) ∧ (𝑥 ∈ (Base‘𝑆) ∧ 𝑦 ∈ (Base‘𝑆))) → (𝐹‘((𝐺𝑥)(+g𝑇)(𝐺𝑦))) = ((𝐹‘(𝐺𝑥))(+g𝑈)(𝐹‘(𝐺𝑦))))
2616, 25eqtrd 2778 . . . . 5 (((𝐹 ∈ (𝑇 MndHom 𝑈) ∧ 𝐺 ∈ (𝑆 MndHom 𝑇)) ∧ (𝑥 ∈ (Base‘𝑆) ∧ 𝑦 ∈ (Base‘𝑆))) → (𝐹‘(𝐺‘(𝑥(+g𝑆)𝑦))) = ((𝐹‘(𝐺𝑥))(+g𝑈)(𝐹‘(𝐺𝑦))))
272adantl 481 . . . . . . 7 ((𝐹 ∈ (𝑇 MndHom 𝑈) ∧ 𝐺 ∈ (𝑆 MndHom 𝑇)) → 𝑆 ∈ Mnd)
287, 11mndcl 18308 . . . . . . . 8 ((𝑆 ∈ Mnd ∧ 𝑥 ∈ (Base‘𝑆) ∧ 𝑦 ∈ (Base‘𝑆)) → (𝑥(+g𝑆)𝑦) ∈ (Base‘𝑆))
29283expb 1118 . . . . . . 7 ((𝑆 ∈ Mnd ∧ (𝑥 ∈ (Base‘𝑆) ∧ 𝑦 ∈ (Base‘𝑆))) → (𝑥(+g𝑆)𝑦) ∈ (Base‘𝑆))
3027, 29sylan 579 . . . . . 6 (((𝐹 ∈ (𝑇 MndHom 𝑈) ∧ 𝐺 ∈ (𝑆 MndHom 𝑇)) ∧ (𝑥 ∈ (Base‘𝑆) ∧ 𝑦 ∈ (Base‘𝑆))) → (𝑥(+g𝑆)𝑦) ∈ (Base‘𝑆))
31 fvco3 6849 . . . . . 6 ((𝐺:(Base‘𝑆)⟶(Base‘𝑇) ∧ (𝑥(+g𝑆)𝑦) ∈ (Base‘𝑆)) → ((𝐹𝐺)‘(𝑥(+g𝑆)𝑦)) = (𝐹‘(𝐺‘(𝑥(+g𝑆)𝑦))))
3218, 30, 31syl2anc 583 . . . . 5 (((𝐹 ∈ (𝑇 MndHom 𝑈) ∧ 𝐺 ∈ (𝑆 MndHom 𝑇)) ∧ (𝑥 ∈ (Base‘𝑆) ∧ 𝑦 ∈ (Base‘𝑆))) → ((𝐹𝐺)‘(𝑥(+g𝑆)𝑦)) = (𝐹‘(𝐺‘(𝑥(+g𝑆)𝑦))))
33 fvco3 6849 . . . . . . 7 ((𝐺:(Base‘𝑆)⟶(Base‘𝑇) ∧ 𝑥 ∈ (Base‘𝑆)) → ((𝐹𝐺)‘𝑥) = (𝐹‘(𝐺𝑥)))
3418, 19, 33syl2anc 583 . . . . . 6 (((𝐹 ∈ (𝑇 MndHom 𝑈) ∧ 𝐺 ∈ (𝑆 MndHom 𝑇)) ∧ (𝑥 ∈ (Base‘𝑆) ∧ 𝑦 ∈ (Base‘𝑆))) → ((𝐹𝐺)‘𝑥) = (𝐹‘(𝐺𝑥)))
35 fvco3 6849 . . . . . . 7 ((𝐺:(Base‘𝑆)⟶(Base‘𝑇) ∧ 𝑦 ∈ (Base‘𝑆)) → ((𝐹𝐺)‘𝑦) = (𝐹‘(𝐺𝑦)))
3618, 21, 35syl2anc 583 . . . . . 6 (((𝐹 ∈ (𝑇 MndHom 𝑈) ∧ 𝐺 ∈ (𝑆 MndHom 𝑇)) ∧ (𝑥 ∈ (Base‘𝑆) ∧ 𝑦 ∈ (Base‘𝑆))) → ((𝐹𝐺)‘𝑦) = (𝐹‘(𝐺𝑦)))
3734, 36oveq12d 7273 . . . . 5 (((𝐹 ∈ (𝑇 MndHom 𝑈) ∧ 𝐺 ∈ (𝑆 MndHom 𝑇)) ∧ (𝑥 ∈ (Base‘𝑆) ∧ 𝑦 ∈ (Base‘𝑆))) → (((𝐹𝐺)‘𝑥)(+g𝑈)((𝐹𝐺)‘𝑦)) = ((𝐹‘(𝐺𝑥))(+g𝑈)(𝐹‘(𝐺𝑦))))
3826, 32, 373eqtr4d 2788 . . . 4 (((𝐹 ∈ (𝑇 MndHom 𝑈) ∧ 𝐺 ∈ (𝑆 MndHom 𝑇)) ∧ (𝑥 ∈ (Base‘𝑆) ∧ 𝑦 ∈ (Base‘𝑆))) → ((𝐹𝐺)‘(𝑥(+g𝑆)𝑦)) = (((𝐹𝐺)‘𝑥)(+g𝑈)((𝐹𝐺)‘𝑦)))
3938ralrimivva 3114 . . 3 ((𝐹 ∈ (𝑇 MndHom 𝑈) ∧ 𝐺 ∈ (𝑆 MndHom 𝑇)) → ∀𝑥 ∈ (Base‘𝑆)∀𝑦 ∈ (Base‘𝑆)((𝐹𝐺)‘(𝑥(+g𝑆)𝑦)) = (((𝐹𝐺)‘𝑥)(+g𝑈)((𝐹𝐺)‘𝑦)))
408adantl 481 . . . . 5 ((𝐹 ∈ (𝑇 MndHom 𝑈) ∧ 𝐺 ∈ (𝑆 MndHom 𝑇)) → 𝐺:(Base‘𝑆)⟶(Base‘𝑇))
41 eqid 2738 . . . . . . 7 (0g𝑆) = (0g𝑆)
427, 41mndidcl 18315 . . . . . 6 (𝑆 ∈ Mnd → (0g𝑆) ∈ (Base‘𝑆))
4327, 42syl 17 . . . . 5 ((𝐹 ∈ (𝑇 MndHom 𝑈) ∧ 𝐺 ∈ (𝑆 MndHom 𝑇)) → (0g𝑆) ∈ (Base‘𝑆))
44 fvco3 6849 . . . . 5 ((𝐺:(Base‘𝑆)⟶(Base‘𝑇) ∧ (0g𝑆) ∈ (Base‘𝑆)) → ((𝐹𝐺)‘(0g𝑆)) = (𝐹‘(𝐺‘(0g𝑆))))
4540, 43, 44syl2anc 583 . . . 4 ((𝐹 ∈ (𝑇 MndHom 𝑈) ∧ 𝐺 ∈ (𝑆 MndHom 𝑇)) → ((𝐹𝐺)‘(0g𝑆)) = (𝐹‘(𝐺‘(0g𝑆))))
46 eqid 2738 . . . . . . 7 (0g𝑇) = (0g𝑇)
4741, 46mhm0 18353 . . . . . 6 (𝐺 ∈ (𝑆 MndHom 𝑇) → (𝐺‘(0g𝑆)) = (0g𝑇))
4847adantl 481 . . . . 5 ((𝐹 ∈ (𝑇 MndHom 𝑈) ∧ 𝐺 ∈ (𝑆 MndHom 𝑇)) → (𝐺‘(0g𝑆)) = (0g𝑇))
4948fveq2d 6760 . . . 4 ((𝐹 ∈ (𝑇 MndHom 𝑈) ∧ 𝐺 ∈ (𝑆 MndHom 𝑇)) → (𝐹‘(𝐺‘(0g𝑆))) = (𝐹‘(0g𝑇)))
50 eqid 2738 . . . . . 6 (0g𝑈) = (0g𝑈)
5146, 50mhm0 18353 . . . . 5 (𝐹 ∈ (𝑇 MndHom 𝑈) → (𝐹‘(0g𝑇)) = (0g𝑈))
5251adantr 480 . . . 4 ((𝐹 ∈ (𝑇 MndHom 𝑈) ∧ 𝐺 ∈ (𝑆 MndHom 𝑇)) → (𝐹‘(0g𝑇)) = (0g𝑈))
5345, 49, 523eqtrd 2782 . . 3 ((𝐹 ∈ (𝑇 MndHom 𝑈) ∧ 𝐺 ∈ (𝑆 MndHom 𝑇)) → ((𝐹𝐺)‘(0g𝑆)) = (0g𝑈))
5410, 39, 533jca 1126 . 2 ((𝐹 ∈ (𝑇 MndHom 𝑈) ∧ 𝐺 ∈ (𝑆 MndHom 𝑇)) → ((𝐹𝐺):(Base‘𝑆)⟶(Base‘𝑈) ∧ ∀𝑥 ∈ (Base‘𝑆)∀𝑦 ∈ (Base‘𝑆)((𝐹𝐺)‘(𝑥(+g𝑆)𝑦)) = (((𝐹𝐺)‘𝑥)(+g𝑈)((𝐹𝐺)‘𝑦)) ∧ ((𝐹𝐺)‘(0g𝑆)) = (0g𝑈)))
557, 5, 11, 23, 41, 50ismhm 18347 . 2 ((𝐹𝐺) ∈ (𝑆 MndHom 𝑈) ↔ ((𝑆 ∈ Mnd ∧ 𝑈 ∈ Mnd) ∧ ((𝐹𝐺):(Base‘𝑆)⟶(Base‘𝑈) ∧ ∀𝑥 ∈ (Base‘𝑆)∀𝑦 ∈ (Base‘𝑆)((𝐹𝐺)‘(𝑥(+g𝑆)𝑦)) = (((𝐹𝐺)‘𝑥)(+g𝑈)((𝐹𝐺)‘𝑦)) ∧ ((𝐹𝐺)‘(0g𝑆)) = (0g𝑈))))
563, 54, 55sylanbrc 582 1 ((𝐹 ∈ (𝑇 MndHom 𝑈) ∧ 𝐺 ∈ (𝑆 MndHom 𝑇)) → (𝐹𝐺) ∈ (𝑆 MndHom 𝑈))
Colors of variables: wff setvar class
Syntax hints:  wi 4  wa 395  w3a 1085   = wceq 1539  wcel 2108  wral 3063  ccom 5584  wf 6414  cfv 6418  (class class class)co 7255  Basecbs 16840  +gcplusg 16888  0gc0g 17067  Mndcmnd 18300   MndHom cmhm 18343
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1799  ax-4 1813  ax-5 1914  ax-6 1972  ax-7 2012  ax-8 2110  ax-9 2118  ax-10 2139  ax-11 2156  ax-12 2173  ax-ext 2709  ax-sep 5218  ax-nul 5225  ax-pow 5283  ax-pr 5347  ax-un 7566
This theorem depends on definitions:  df-bi 206  df-an 396  df-or 844  df-3an 1087  df-tru 1542  df-fal 1552  df-ex 1784  df-nf 1788  df-sb 2069  df-mo 2540  df-eu 2569  df-clab 2716  df-cleq 2730  df-clel 2817  df-nfc 2888  df-ne 2943  df-ral 3068  df-rex 3069  df-reu 3070  df-rmo 3071  df-rab 3072  df-v 3424  df-sbc 3712  df-dif 3886  df-un 3888  df-in 3890  df-ss 3900  df-nul 4254  df-if 4457  df-pw 4532  df-sn 4559  df-pr 4561  df-op 4565  df-uni 4837  df-br 5071  df-opab 5133  df-mpt 5154  df-id 5480  df-xp 5586  df-rel 5587  df-cnv 5588  df-co 5589  df-dm 5590  df-rn 5591  df-res 5592  df-ima 5593  df-iota 6376  df-fun 6420  df-fn 6421  df-f 6422  df-fv 6426  df-riota 7212  df-ov 7258  df-oprab 7259  df-mpo 7260  df-map 8575  df-0g 17069  df-mgm 18241  df-sgrp 18290  df-mnd 18301  df-mhm 18345
This theorem is referenced by:  ghmco  18769  rhmco  19896  zrhpsgnmhm  20701  lgseisenlem4  26431
  Copyright terms: Public domain W3C validator