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

Theorem mhmco 18462
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 18434 . . 3 (𝐹 ∈ (𝑇 MndHom 𝑈) → 𝑈 ∈ Mnd)
2 mhmrcl1 18433 . . 3 (𝐺 ∈ (𝑆 MndHom 𝑇) → 𝑆 ∈ Mnd)
31, 2anim12ci 614 . 2 ((𝐹 ∈ (𝑇 MndHom 𝑈) ∧ 𝐺 ∈ (𝑆 MndHom 𝑇)) → (𝑆 ∈ Mnd ∧ 𝑈 ∈ Mnd))
4 eqid 2738 . . . . 5 (Base‘𝑇) = (Base‘𝑇)
5 eqid 2738 . . . . 5 (Base‘𝑈) = (Base‘𝑈)
64, 5mhmf 18435 . . . 4 (𝐹 ∈ (𝑇 MndHom 𝑈) → 𝐹:(Base‘𝑇)⟶(Base‘𝑈))
7 eqid 2738 . . . . 5 (Base‘𝑆) = (Base‘𝑆)
87, 4mhmf 18435 . . . 4 (𝐺 ∈ (𝑆 MndHom 𝑇) → 𝐺:(Base‘𝑆)⟶(Base‘𝑇))
9 fco 6624 . . . 4 ((𝐹:(Base‘𝑇)⟶(Base‘𝑈) ∧ 𝐺:(Base‘𝑆)⟶(Base‘𝑇)) → (𝐹𝐺):(Base‘𝑆)⟶(Base‘𝑈))
106, 8, 9syl2an 596 . . 3 ((𝐹 ∈ (𝑇 MndHom 𝑈) ∧ 𝐺 ∈ (𝑆 MndHom 𝑇)) → (𝐹𝐺):(Base‘𝑆)⟶(Base‘𝑈))
11 eqid 2738 . . . . . . . . . 10 (+g𝑆) = (+g𝑆)
12 eqid 2738 . . . . . . . . . 10 (+g𝑇) = (+g𝑇)
137, 11, 12mhmlin 18437 . . . . . . . . 9 ((𝐺 ∈ (𝑆 MndHom 𝑇) ∧ 𝑥 ∈ (Base‘𝑆) ∧ 𝑦 ∈ (Base‘𝑆)) → (𝐺‘(𝑥(+g𝑆)𝑦)) = ((𝐺𝑥)(+g𝑇)(𝐺𝑦)))
14133expb 1119 . . . . . . . 8 ((𝐺 ∈ (𝑆 MndHom 𝑇) ∧ (𝑥 ∈ (Base‘𝑆) ∧ 𝑦 ∈ (Base‘𝑆))) → (𝐺‘(𝑥(+g𝑆)𝑦)) = ((𝐺𝑥)(+g𝑇)(𝐺𝑦)))
1514adantll 711 . . . . . . 7 (((𝐹 ∈ (𝑇 MndHom 𝑈) ∧ 𝐺 ∈ (𝑆 MndHom 𝑇)) ∧ (𝑥 ∈ (Base‘𝑆) ∧ 𝑦 ∈ (Base‘𝑆))) → (𝐺‘(𝑥(+g𝑆)𝑦)) = ((𝐺𝑥)(+g𝑇)(𝐺𝑦)))
1615fveq2d 6778 . . . . . 6 (((𝐹 ∈ (𝑇 MndHom 𝑈) ∧ 𝐺 ∈ (𝑆 MndHom 𝑇)) ∧ (𝑥 ∈ (Base‘𝑆) ∧ 𝑦 ∈ (Base‘𝑆))) → (𝐹‘(𝐺‘(𝑥(+g𝑆)𝑦))) = (𝐹‘((𝐺𝑥)(+g𝑇)(𝐺𝑦))))
17 simpll 764 . . . . . . 7 (((𝐹 ∈ (𝑇 MndHom 𝑈) ∧ 𝐺 ∈ (𝑆 MndHom 𝑇)) ∧ (𝑥 ∈ (Base‘𝑆) ∧ 𝑦 ∈ (Base‘𝑆))) → 𝐹 ∈ (𝑇 MndHom 𝑈))
188ad2antlr 724 . . . . . . . 8 (((𝐹 ∈ (𝑇 MndHom 𝑈) ∧ 𝐺 ∈ (𝑆 MndHom 𝑇)) ∧ (𝑥 ∈ (Base‘𝑆) ∧ 𝑦 ∈ (Base‘𝑆))) → 𝐺:(Base‘𝑆)⟶(Base‘𝑇))
19 simprl 768 . . . . . . . 8 (((𝐹 ∈ (𝑇 MndHom 𝑈) ∧ 𝐺 ∈ (𝑆 MndHom 𝑇)) ∧ (𝑥 ∈ (Base‘𝑆) ∧ 𝑦 ∈ (Base‘𝑆))) → 𝑥 ∈ (Base‘𝑆))
2018, 19ffvelrnd 6962 . . . . . . 7 (((𝐹 ∈ (𝑇 MndHom 𝑈) ∧ 𝐺 ∈ (𝑆 MndHom 𝑇)) ∧ (𝑥 ∈ (Base‘𝑆) ∧ 𝑦 ∈ (Base‘𝑆))) → (𝐺𝑥) ∈ (Base‘𝑇))
21 simprr 770 . . . . . . . 8 (((𝐹 ∈ (𝑇 MndHom 𝑈) ∧ 𝐺 ∈ (𝑆 MndHom 𝑇)) ∧ (𝑥 ∈ (Base‘𝑆) ∧ 𝑦 ∈ (Base‘𝑆))) → 𝑦 ∈ (Base‘𝑆))
2218, 21ffvelrnd 6962 . . . . . . 7 (((𝐹 ∈ (𝑇 MndHom 𝑈) ∧ 𝐺 ∈ (𝑆 MndHom 𝑇)) ∧ (𝑥 ∈ (Base‘𝑆) ∧ 𝑦 ∈ (Base‘𝑆))) → (𝐺𝑦) ∈ (Base‘𝑇))
23 eqid 2738 . . . . . . . 8 (+g𝑈) = (+g𝑈)
244, 12, 23mhmlin 18437 . . . . . . 7 ((𝐹 ∈ (𝑇 MndHom 𝑈) ∧ (𝐺𝑥) ∈ (Base‘𝑇) ∧ (𝐺𝑦) ∈ (Base‘𝑇)) → (𝐹‘((𝐺𝑥)(+g𝑇)(𝐺𝑦))) = ((𝐹‘(𝐺𝑥))(+g𝑈)(𝐹‘(𝐺𝑦))))
2517, 20, 22, 24syl3anc 1370 . . . . . 6 (((𝐹 ∈ (𝑇 MndHom 𝑈) ∧ 𝐺 ∈ (𝑆 MndHom 𝑇)) ∧ (𝑥 ∈ (Base‘𝑆) ∧ 𝑦 ∈ (Base‘𝑆))) → (𝐹‘((𝐺𝑥)(+g𝑇)(𝐺𝑦))) = ((𝐹‘(𝐺𝑥))(+g𝑈)(𝐹‘(𝐺𝑦))))
2616, 25eqtrd 2778 . . . . 5 (((𝐹 ∈ (𝑇 MndHom 𝑈) ∧ 𝐺 ∈ (𝑆 MndHom 𝑇)) ∧ (𝑥 ∈ (Base‘𝑆) ∧ 𝑦 ∈ (Base‘𝑆))) → (𝐹‘(𝐺‘(𝑥(+g𝑆)𝑦))) = ((𝐹‘(𝐺𝑥))(+g𝑈)(𝐹‘(𝐺𝑦))))
272adantl 482 . . . . . . 7 ((𝐹 ∈ (𝑇 MndHom 𝑈) ∧ 𝐺 ∈ (𝑆 MndHom 𝑇)) → 𝑆 ∈ Mnd)
287, 11mndcl 18393 . . . . . . . 8 ((𝑆 ∈ Mnd ∧ 𝑥 ∈ (Base‘𝑆) ∧ 𝑦 ∈ (Base‘𝑆)) → (𝑥(+g𝑆)𝑦) ∈ (Base‘𝑆))
29283expb 1119 . . . . . . 7 ((𝑆 ∈ Mnd ∧ (𝑥 ∈ (Base‘𝑆) ∧ 𝑦 ∈ (Base‘𝑆))) → (𝑥(+g𝑆)𝑦) ∈ (Base‘𝑆))
3027, 29sylan 580 . . . . . 6 (((𝐹 ∈ (𝑇 MndHom 𝑈) ∧ 𝐺 ∈ (𝑆 MndHom 𝑇)) ∧ (𝑥 ∈ (Base‘𝑆) ∧ 𝑦 ∈ (Base‘𝑆))) → (𝑥(+g𝑆)𝑦) ∈ (Base‘𝑆))
31 fvco3 6867 . . . . . 6 ((𝐺:(Base‘𝑆)⟶(Base‘𝑇) ∧ (𝑥(+g𝑆)𝑦) ∈ (Base‘𝑆)) → ((𝐹𝐺)‘(𝑥(+g𝑆)𝑦)) = (𝐹‘(𝐺‘(𝑥(+g𝑆)𝑦))))
3218, 30, 31syl2anc 584 . . . . 5 (((𝐹 ∈ (𝑇 MndHom 𝑈) ∧ 𝐺 ∈ (𝑆 MndHom 𝑇)) ∧ (𝑥 ∈ (Base‘𝑆) ∧ 𝑦 ∈ (Base‘𝑆))) → ((𝐹𝐺)‘(𝑥(+g𝑆)𝑦)) = (𝐹‘(𝐺‘(𝑥(+g𝑆)𝑦))))
33 fvco3 6867 . . . . . . 7 ((𝐺:(Base‘𝑆)⟶(Base‘𝑇) ∧ 𝑥 ∈ (Base‘𝑆)) → ((𝐹𝐺)‘𝑥) = (𝐹‘(𝐺𝑥)))
3418, 19, 33syl2anc 584 . . . . . 6 (((𝐹 ∈ (𝑇 MndHom 𝑈) ∧ 𝐺 ∈ (𝑆 MndHom 𝑇)) ∧ (𝑥 ∈ (Base‘𝑆) ∧ 𝑦 ∈ (Base‘𝑆))) → ((𝐹𝐺)‘𝑥) = (𝐹‘(𝐺𝑥)))
35 fvco3 6867 . . . . . . 7 ((𝐺:(Base‘𝑆)⟶(Base‘𝑇) ∧ 𝑦 ∈ (Base‘𝑆)) → ((𝐹𝐺)‘𝑦) = (𝐹‘(𝐺𝑦)))
3618, 21, 35syl2anc 584 . . . . . 6 (((𝐹 ∈ (𝑇 MndHom 𝑈) ∧ 𝐺 ∈ (𝑆 MndHom 𝑇)) ∧ (𝑥 ∈ (Base‘𝑆) ∧ 𝑦 ∈ (Base‘𝑆))) → ((𝐹𝐺)‘𝑦) = (𝐹‘(𝐺𝑦)))
3734, 36oveq12d 7293 . . . . 5 (((𝐹 ∈ (𝑇 MndHom 𝑈) ∧ 𝐺 ∈ (𝑆 MndHom 𝑇)) ∧ (𝑥 ∈ (Base‘𝑆) ∧ 𝑦 ∈ (Base‘𝑆))) → (((𝐹𝐺)‘𝑥)(+g𝑈)((𝐹𝐺)‘𝑦)) = ((𝐹‘(𝐺𝑥))(+g𝑈)(𝐹‘(𝐺𝑦))))
3826, 32, 373eqtr4d 2788 . . . 4 (((𝐹 ∈ (𝑇 MndHom 𝑈) ∧ 𝐺 ∈ (𝑆 MndHom 𝑇)) ∧ (𝑥 ∈ (Base‘𝑆) ∧ 𝑦 ∈ (Base‘𝑆))) → ((𝐹𝐺)‘(𝑥(+g𝑆)𝑦)) = (((𝐹𝐺)‘𝑥)(+g𝑈)((𝐹𝐺)‘𝑦)))
3938ralrimivva 3123 . . 3 ((𝐹 ∈ (𝑇 MndHom 𝑈) ∧ 𝐺 ∈ (𝑆 MndHom 𝑇)) → ∀𝑥 ∈ (Base‘𝑆)∀𝑦 ∈ (Base‘𝑆)((𝐹𝐺)‘(𝑥(+g𝑆)𝑦)) = (((𝐹𝐺)‘𝑥)(+g𝑈)((𝐹𝐺)‘𝑦)))
408adantl 482 . . . . 5 ((𝐹 ∈ (𝑇 MndHom 𝑈) ∧ 𝐺 ∈ (𝑆 MndHom 𝑇)) → 𝐺:(Base‘𝑆)⟶(Base‘𝑇))
41 eqid 2738 . . . . . . 7 (0g𝑆) = (0g𝑆)
427, 41mndidcl 18400 . . . . . 6 (𝑆 ∈ Mnd → (0g𝑆) ∈ (Base‘𝑆))
4327, 42syl 17 . . . . 5 ((𝐹 ∈ (𝑇 MndHom 𝑈) ∧ 𝐺 ∈ (𝑆 MndHom 𝑇)) → (0g𝑆) ∈ (Base‘𝑆))
44 fvco3 6867 . . . . 5 ((𝐺:(Base‘𝑆)⟶(Base‘𝑇) ∧ (0g𝑆) ∈ (Base‘𝑆)) → ((𝐹𝐺)‘(0g𝑆)) = (𝐹‘(𝐺‘(0g𝑆))))
4540, 43, 44syl2anc 584 . . . 4 ((𝐹 ∈ (𝑇 MndHom 𝑈) ∧ 𝐺 ∈ (𝑆 MndHom 𝑇)) → ((𝐹𝐺)‘(0g𝑆)) = (𝐹‘(𝐺‘(0g𝑆))))
46 eqid 2738 . . . . . . 7 (0g𝑇) = (0g𝑇)
4741, 46mhm0 18438 . . . . . 6 (𝐺 ∈ (𝑆 MndHom 𝑇) → (𝐺‘(0g𝑆)) = (0g𝑇))
4847adantl 482 . . . . 5 ((𝐹 ∈ (𝑇 MndHom 𝑈) ∧ 𝐺 ∈ (𝑆 MndHom 𝑇)) → (𝐺‘(0g𝑆)) = (0g𝑇))
4948fveq2d 6778 . . . 4 ((𝐹 ∈ (𝑇 MndHom 𝑈) ∧ 𝐺 ∈ (𝑆 MndHom 𝑇)) → (𝐹‘(𝐺‘(0g𝑆))) = (𝐹‘(0g𝑇)))
50 eqid 2738 . . . . . 6 (0g𝑈) = (0g𝑈)
5146, 50mhm0 18438 . . . . 5 (𝐹 ∈ (𝑇 MndHom 𝑈) → (𝐹‘(0g𝑇)) = (0g𝑈))
5251adantr 481 . . . 4 ((𝐹 ∈ (𝑇 MndHom 𝑈) ∧ 𝐺 ∈ (𝑆 MndHom 𝑇)) → (𝐹‘(0g𝑇)) = (0g𝑈))
5345, 49, 523eqtrd 2782 . . 3 ((𝐹 ∈ (𝑇 MndHom 𝑈) ∧ 𝐺 ∈ (𝑆 MndHom 𝑇)) → ((𝐹𝐺)‘(0g𝑆)) = (0g𝑈))
5410, 39, 533jca 1127 . 2 ((𝐹 ∈ (𝑇 MndHom 𝑈) ∧ 𝐺 ∈ (𝑆 MndHom 𝑇)) → ((𝐹𝐺):(Base‘𝑆)⟶(Base‘𝑈) ∧ ∀𝑥 ∈ (Base‘𝑆)∀𝑦 ∈ (Base‘𝑆)((𝐹𝐺)‘(𝑥(+g𝑆)𝑦)) = (((𝐹𝐺)‘𝑥)(+g𝑈)((𝐹𝐺)‘𝑦)) ∧ ((𝐹𝐺)‘(0g𝑆)) = (0g𝑈)))
557, 5, 11, 23, 41, 50ismhm 18432 . 2 ((𝐹𝐺) ∈ (𝑆 MndHom 𝑈) ↔ ((𝑆 ∈ Mnd ∧ 𝑈 ∈ Mnd) ∧ ((𝐹𝐺):(Base‘𝑆)⟶(Base‘𝑈) ∧ ∀𝑥 ∈ (Base‘𝑆)∀𝑦 ∈ (Base‘𝑆)((𝐹𝐺)‘(𝑥(+g𝑆)𝑦)) = (((𝐹𝐺)‘𝑥)(+g𝑈)((𝐹𝐺)‘𝑦)) ∧ ((𝐹𝐺)‘(0g𝑆)) = (0g𝑈))))
563, 54, 55sylanbrc 583 1 ((𝐹 ∈ (𝑇 MndHom 𝑈) ∧ 𝐺 ∈ (𝑆 MndHom 𝑇)) → (𝐹𝐺) ∈ (𝑆 MndHom 𝑈))
Colors of variables: wff setvar class
Syntax hints:  wi 4  wa 396  w3a 1086   = wceq 1539  wcel 2106  wral 3064  ccom 5593  wf 6429  cfv 6433  (class class class)co 7275  Basecbs 16912  +gcplusg 16962  0gc0g 17150  Mndcmnd 18385   MndHom cmhm 18428
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1798  ax-4 1812  ax-5 1913  ax-6 1971  ax-7 2011  ax-8 2108  ax-9 2116  ax-10 2137  ax-11 2154  ax-12 2171  ax-ext 2709  ax-sep 5223  ax-nul 5230  ax-pow 5288  ax-pr 5352  ax-un 7588
This theorem depends on definitions:  df-bi 206  df-an 397  df-or 845  df-3an 1088  df-tru 1542  df-fal 1552  df-ex 1783  df-nf 1787  df-sb 2068  df-mo 2540  df-eu 2569  df-clab 2716  df-cleq 2730  df-clel 2816  df-nfc 2889  df-ne 2944  df-ral 3069  df-rex 3070  df-rmo 3071  df-reu 3072  df-rab 3073  df-v 3434  df-sbc 3717  df-dif 3890  df-un 3892  df-in 3894  df-ss 3904  df-nul 4257  df-if 4460  df-pw 4535  df-sn 4562  df-pr 4564  df-op 4568  df-uni 4840  df-br 5075  df-opab 5137  df-mpt 5158  df-id 5489  df-xp 5595  df-rel 5596  df-cnv 5597  df-co 5598  df-dm 5599  df-rn 5600  df-res 5601  df-ima 5602  df-iota 6391  df-fun 6435  df-fn 6436  df-f 6437  df-fv 6441  df-riota 7232  df-ov 7278  df-oprab 7279  df-mpo 7280  df-map 8617  df-0g 17152  df-mgm 18326  df-sgrp 18375  df-mnd 18386  df-mhm 18430
This theorem is referenced by:  ghmco  18854  rhmco  19981  zrhpsgnmhm  20789  lgseisenlem4  26526
  Copyright terms: Public domain W3C validator