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

Theorem mhmco 18250
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 18222 . . 3 (𝐹 ∈ (𝑇 MndHom 𝑈) → 𝑈 ∈ Mnd)
2 mhmrcl1 18221 . . 3 (𝐺 ∈ (𝑆 MndHom 𝑇) → 𝑆 ∈ Mnd)
31, 2anim12ci 617 . 2 ((𝐹 ∈ (𝑇 MndHom 𝑈) ∧ 𝐺 ∈ (𝑆 MndHom 𝑇)) → (𝑆 ∈ Mnd ∧ 𝑈 ∈ Mnd))
4 eqid 2737 . . . . 5 (Base‘𝑇) = (Base‘𝑇)
5 eqid 2737 . . . . 5 (Base‘𝑈) = (Base‘𝑈)
64, 5mhmf 18223 . . . 4 (𝐹 ∈ (𝑇 MndHom 𝑈) → 𝐹:(Base‘𝑇)⟶(Base‘𝑈))
7 eqid 2737 . . . . 5 (Base‘𝑆) = (Base‘𝑆)
87, 4mhmf 18223 . . . 4 (𝐺 ∈ (𝑆 MndHom 𝑇) → 𝐺:(Base‘𝑆)⟶(Base‘𝑇))
9 fco 6569 . . . 4 ((𝐹:(Base‘𝑇)⟶(Base‘𝑈) ∧ 𝐺:(Base‘𝑆)⟶(Base‘𝑇)) → (𝐹𝐺):(Base‘𝑆)⟶(Base‘𝑈))
106, 8, 9syl2an 599 . . 3 ((𝐹 ∈ (𝑇 MndHom 𝑈) ∧ 𝐺 ∈ (𝑆 MndHom 𝑇)) → (𝐹𝐺):(Base‘𝑆)⟶(Base‘𝑈))
11 eqid 2737 . . . . . . . . . 10 (+g𝑆) = (+g𝑆)
12 eqid 2737 . . . . . . . . . 10 (+g𝑇) = (+g𝑇)
137, 11, 12mhmlin 18225 . . . . . . . . 9 ((𝐺 ∈ (𝑆 MndHom 𝑇) ∧ 𝑥 ∈ (Base‘𝑆) ∧ 𝑦 ∈ (Base‘𝑆)) → (𝐺‘(𝑥(+g𝑆)𝑦)) = ((𝐺𝑥)(+g𝑇)(𝐺𝑦)))
14133expb 1122 . . . . . . . 8 ((𝐺 ∈ (𝑆 MndHom 𝑇) ∧ (𝑥 ∈ (Base‘𝑆) ∧ 𝑦 ∈ (Base‘𝑆))) → (𝐺‘(𝑥(+g𝑆)𝑦)) = ((𝐺𝑥)(+g𝑇)(𝐺𝑦)))
1514adantll 714 . . . . . . 7 (((𝐹 ∈ (𝑇 MndHom 𝑈) ∧ 𝐺 ∈ (𝑆 MndHom 𝑇)) ∧ (𝑥 ∈ (Base‘𝑆) ∧ 𝑦 ∈ (Base‘𝑆))) → (𝐺‘(𝑥(+g𝑆)𝑦)) = ((𝐺𝑥)(+g𝑇)(𝐺𝑦)))
1615fveq2d 6721 . . . . . 6 (((𝐹 ∈ (𝑇 MndHom 𝑈) ∧ 𝐺 ∈ (𝑆 MndHom 𝑇)) ∧ (𝑥 ∈ (Base‘𝑆) ∧ 𝑦 ∈ (Base‘𝑆))) → (𝐹‘(𝐺‘(𝑥(+g𝑆)𝑦))) = (𝐹‘((𝐺𝑥)(+g𝑇)(𝐺𝑦))))
17 simpll 767 . . . . . . 7 (((𝐹 ∈ (𝑇 MndHom 𝑈) ∧ 𝐺 ∈ (𝑆 MndHom 𝑇)) ∧ (𝑥 ∈ (Base‘𝑆) ∧ 𝑦 ∈ (Base‘𝑆))) → 𝐹 ∈ (𝑇 MndHom 𝑈))
188ad2antlr 727 . . . . . . . 8 (((𝐹 ∈ (𝑇 MndHom 𝑈) ∧ 𝐺 ∈ (𝑆 MndHom 𝑇)) ∧ (𝑥 ∈ (Base‘𝑆) ∧ 𝑦 ∈ (Base‘𝑆))) → 𝐺:(Base‘𝑆)⟶(Base‘𝑇))
19 simprl 771 . . . . . . . 8 (((𝐹 ∈ (𝑇 MndHom 𝑈) ∧ 𝐺 ∈ (𝑆 MndHom 𝑇)) ∧ (𝑥 ∈ (Base‘𝑆) ∧ 𝑦 ∈ (Base‘𝑆))) → 𝑥 ∈ (Base‘𝑆))
2018, 19ffvelrnd 6905 . . . . . . 7 (((𝐹 ∈ (𝑇 MndHom 𝑈) ∧ 𝐺 ∈ (𝑆 MndHom 𝑇)) ∧ (𝑥 ∈ (Base‘𝑆) ∧ 𝑦 ∈ (Base‘𝑆))) → (𝐺𝑥) ∈ (Base‘𝑇))
21 simprr 773 . . . . . . . 8 (((𝐹 ∈ (𝑇 MndHom 𝑈) ∧ 𝐺 ∈ (𝑆 MndHom 𝑇)) ∧ (𝑥 ∈ (Base‘𝑆) ∧ 𝑦 ∈ (Base‘𝑆))) → 𝑦 ∈ (Base‘𝑆))
2218, 21ffvelrnd 6905 . . . . . . 7 (((𝐹 ∈ (𝑇 MndHom 𝑈) ∧ 𝐺 ∈ (𝑆 MndHom 𝑇)) ∧ (𝑥 ∈ (Base‘𝑆) ∧ 𝑦 ∈ (Base‘𝑆))) → (𝐺𝑦) ∈ (Base‘𝑇))
23 eqid 2737 . . . . . . . 8 (+g𝑈) = (+g𝑈)
244, 12, 23mhmlin 18225 . . . . . . 7 ((𝐹 ∈ (𝑇 MndHom 𝑈) ∧ (𝐺𝑥) ∈ (Base‘𝑇) ∧ (𝐺𝑦) ∈ (Base‘𝑇)) → (𝐹‘((𝐺𝑥)(+g𝑇)(𝐺𝑦))) = ((𝐹‘(𝐺𝑥))(+g𝑈)(𝐹‘(𝐺𝑦))))
2517, 20, 22, 24syl3anc 1373 . . . . . 6 (((𝐹 ∈ (𝑇 MndHom 𝑈) ∧ 𝐺 ∈ (𝑆 MndHom 𝑇)) ∧ (𝑥 ∈ (Base‘𝑆) ∧ 𝑦 ∈ (Base‘𝑆))) → (𝐹‘((𝐺𝑥)(+g𝑇)(𝐺𝑦))) = ((𝐹‘(𝐺𝑥))(+g𝑈)(𝐹‘(𝐺𝑦))))
2616, 25eqtrd 2777 . . . . 5 (((𝐹 ∈ (𝑇 MndHom 𝑈) ∧ 𝐺 ∈ (𝑆 MndHom 𝑇)) ∧ (𝑥 ∈ (Base‘𝑆) ∧ 𝑦 ∈ (Base‘𝑆))) → (𝐹‘(𝐺‘(𝑥(+g𝑆)𝑦))) = ((𝐹‘(𝐺𝑥))(+g𝑈)(𝐹‘(𝐺𝑦))))
272adantl 485 . . . . . . 7 ((𝐹 ∈ (𝑇 MndHom 𝑈) ∧ 𝐺 ∈ (𝑆 MndHom 𝑇)) → 𝑆 ∈ Mnd)
287, 11mndcl 18181 . . . . . . . 8 ((𝑆 ∈ Mnd ∧ 𝑥 ∈ (Base‘𝑆) ∧ 𝑦 ∈ (Base‘𝑆)) → (𝑥(+g𝑆)𝑦) ∈ (Base‘𝑆))
29283expb 1122 . . . . . . 7 ((𝑆 ∈ Mnd ∧ (𝑥 ∈ (Base‘𝑆) ∧ 𝑦 ∈ (Base‘𝑆))) → (𝑥(+g𝑆)𝑦) ∈ (Base‘𝑆))
3027, 29sylan 583 . . . . . 6 (((𝐹 ∈ (𝑇 MndHom 𝑈) ∧ 𝐺 ∈ (𝑆 MndHom 𝑇)) ∧ (𝑥 ∈ (Base‘𝑆) ∧ 𝑦 ∈ (Base‘𝑆))) → (𝑥(+g𝑆)𝑦) ∈ (Base‘𝑆))
31 fvco3 6810 . . . . . 6 ((𝐺:(Base‘𝑆)⟶(Base‘𝑇) ∧ (𝑥(+g𝑆)𝑦) ∈ (Base‘𝑆)) → ((𝐹𝐺)‘(𝑥(+g𝑆)𝑦)) = (𝐹‘(𝐺‘(𝑥(+g𝑆)𝑦))))
3218, 30, 31syl2anc 587 . . . . 5 (((𝐹 ∈ (𝑇 MndHom 𝑈) ∧ 𝐺 ∈ (𝑆 MndHom 𝑇)) ∧ (𝑥 ∈ (Base‘𝑆) ∧ 𝑦 ∈ (Base‘𝑆))) → ((𝐹𝐺)‘(𝑥(+g𝑆)𝑦)) = (𝐹‘(𝐺‘(𝑥(+g𝑆)𝑦))))
33 fvco3 6810 . . . . . . 7 ((𝐺:(Base‘𝑆)⟶(Base‘𝑇) ∧ 𝑥 ∈ (Base‘𝑆)) → ((𝐹𝐺)‘𝑥) = (𝐹‘(𝐺𝑥)))
3418, 19, 33syl2anc 587 . . . . . 6 (((𝐹 ∈ (𝑇 MndHom 𝑈) ∧ 𝐺 ∈ (𝑆 MndHom 𝑇)) ∧ (𝑥 ∈ (Base‘𝑆) ∧ 𝑦 ∈ (Base‘𝑆))) → ((𝐹𝐺)‘𝑥) = (𝐹‘(𝐺𝑥)))
35 fvco3 6810 . . . . . . 7 ((𝐺:(Base‘𝑆)⟶(Base‘𝑇) ∧ 𝑦 ∈ (Base‘𝑆)) → ((𝐹𝐺)‘𝑦) = (𝐹‘(𝐺𝑦)))
3618, 21, 35syl2anc 587 . . . . . 6 (((𝐹 ∈ (𝑇 MndHom 𝑈) ∧ 𝐺 ∈ (𝑆 MndHom 𝑇)) ∧ (𝑥 ∈ (Base‘𝑆) ∧ 𝑦 ∈ (Base‘𝑆))) → ((𝐹𝐺)‘𝑦) = (𝐹‘(𝐺𝑦)))
3734, 36oveq12d 7231 . . . . 5 (((𝐹 ∈ (𝑇 MndHom 𝑈) ∧ 𝐺 ∈ (𝑆 MndHom 𝑇)) ∧ (𝑥 ∈ (Base‘𝑆) ∧ 𝑦 ∈ (Base‘𝑆))) → (((𝐹𝐺)‘𝑥)(+g𝑈)((𝐹𝐺)‘𝑦)) = ((𝐹‘(𝐺𝑥))(+g𝑈)(𝐹‘(𝐺𝑦))))
3826, 32, 373eqtr4d 2787 . . . 4 (((𝐹 ∈ (𝑇 MndHom 𝑈) ∧ 𝐺 ∈ (𝑆 MndHom 𝑇)) ∧ (𝑥 ∈ (Base‘𝑆) ∧ 𝑦 ∈ (Base‘𝑆))) → ((𝐹𝐺)‘(𝑥(+g𝑆)𝑦)) = (((𝐹𝐺)‘𝑥)(+g𝑈)((𝐹𝐺)‘𝑦)))
3938ralrimivva 3112 . . 3 ((𝐹 ∈ (𝑇 MndHom 𝑈) ∧ 𝐺 ∈ (𝑆 MndHom 𝑇)) → ∀𝑥 ∈ (Base‘𝑆)∀𝑦 ∈ (Base‘𝑆)((𝐹𝐺)‘(𝑥(+g𝑆)𝑦)) = (((𝐹𝐺)‘𝑥)(+g𝑈)((𝐹𝐺)‘𝑦)))
408adantl 485 . . . . 5 ((𝐹 ∈ (𝑇 MndHom 𝑈) ∧ 𝐺 ∈ (𝑆 MndHom 𝑇)) → 𝐺:(Base‘𝑆)⟶(Base‘𝑇))
41 eqid 2737 . . . . . . 7 (0g𝑆) = (0g𝑆)
427, 41mndidcl 18188 . . . . . 6 (𝑆 ∈ Mnd → (0g𝑆) ∈ (Base‘𝑆))
4327, 42syl 17 . . . . 5 ((𝐹 ∈ (𝑇 MndHom 𝑈) ∧ 𝐺 ∈ (𝑆 MndHom 𝑇)) → (0g𝑆) ∈ (Base‘𝑆))
44 fvco3 6810 . . . . 5 ((𝐺:(Base‘𝑆)⟶(Base‘𝑇) ∧ (0g𝑆) ∈ (Base‘𝑆)) → ((𝐹𝐺)‘(0g𝑆)) = (𝐹‘(𝐺‘(0g𝑆))))
4540, 43, 44syl2anc 587 . . . 4 ((𝐹 ∈ (𝑇 MndHom 𝑈) ∧ 𝐺 ∈ (𝑆 MndHom 𝑇)) → ((𝐹𝐺)‘(0g𝑆)) = (𝐹‘(𝐺‘(0g𝑆))))
46 eqid 2737 . . . . . . 7 (0g𝑇) = (0g𝑇)
4741, 46mhm0 18226 . . . . . 6 (𝐺 ∈ (𝑆 MndHom 𝑇) → (𝐺‘(0g𝑆)) = (0g𝑇))
4847adantl 485 . . . . 5 ((𝐹 ∈ (𝑇 MndHom 𝑈) ∧ 𝐺 ∈ (𝑆 MndHom 𝑇)) → (𝐺‘(0g𝑆)) = (0g𝑇))
4948fveq2d 6721 . . . 4 ((𝐹 ∈ (𝑇 MndHom 𝑈) ∧ 𝐺 ∈ (𝑆 MndHom 𝑇)) → (𝐹‘(𝐺‘(0g𝑆))) = (𝐹‘(0g𝑇)))
50 eqid 2737 . . . . . 6 (0g𝑈) = (0g𝑈)
5146, 50mhm0 18226 . . . . 5 (𝐹 ∈ (𝑇 MndHom 𝑈) → (𝐹‘(0g𝑇)) = (0g𝑈))
5251adantr 484 . . . 4 ((𝐹 ∈ (𝑇 MndHom 𝑈) ∧ 𝐺 ∈ (𝑆 MndHom 𝑇)) → (𝐹‘(0g𝑇)) = (0g𝑈))
5345, 49, 523eqtrd 2781 . . 3 ((𝐹 ∈ (𝑇 MndHom 𝑈) ∧ 𝐺 ∈ (𝑆 MndHom 𝑇)) → ((𝐹𝐺)‘(0g𝑆)) = (0g𝑈))
5410, 39, 533jca 1130 . 2 ((𝐹 ∈ (𝑇 MndHom 𝑈) ∧ 𝐺 ∈ (𝑆 MndHom 𝑇)) → ((𝐹𝐺):(Base‘𝑆)⟶(Base‘𝑈) ∧ ∀𝑥 ∈ (Base‘𝑆)∀𝑦 ∈ (Base‘𝑆)((𝐹𝐺)‘(𝑥(+g𝑆)𝑦)) = (((𝐹𝐺)‘𝑥)(+g𝑈)((𝐹𝐺)‘𝑦)) ∧ ((𝐹𝐺)‘(0g𝑆)) = (0g𝑈)))
557, 5, 11, 23, 41, 50ismhm 18220 . 2 ((𝐹𝐺) ∈ (𝑆 MndHom 𝑈) ↔ ((𝑆 ∈ Mnd ∧ 𝑈 ∈ Mnd) ∧ ((𝐹𝐺):(Base‘𝑆)⟶(Base‘𝑈) ∧ ∀𝑥 ∈ (Base‘𝑆)∀𝑦 ∈ (Base‘𝑆)((𝐹𝐺)‘(𝑥(+g𝑆)𝑦)) = (((𝐹𝐺)‘𝑥)(+g𝑈)((𝐹𝐺)‘𝑦)) ∧ ((𝐹𝐺)‘(0g𝑆)) = (0g𝑈))))
563, 54, 55sylanbrc 586 1 ((𝐹 ∈ (𝑇 MndHom 𝑈) ∧ 𝐺 ∈ (𝑆 MndHom 𝑇)) → (𝐹𝐺) ∈ (𝑆 MndHom 𝑈))
Colors of variables: wff setvar class
Syntax hints:  wi 4  wa 399  w3a 1089   = wceq 1543  wcel 2110  wral 3061  ccom 5555  wf 6376  cfv 6380  (class class class)co 7213  Basecbs 16760  +gcplusg 16802  0gc0g 16944  Mndcmnd 18173   MndHom cmhm 18216
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1803  ax-4 1817  ax-5 1918  ax-6 1976  ax-7 2016  ax-8 2112  ax-9 2120  ax-10 2141  ax-11 2158  ax-12 2175  ax-ext 2708  ax-sep 5192  ax-nul 5199  ax-pow 5258  ax-pr 5322  ax-un 7523
This theorem depends on definitions:  df-bi 210  df-an 400  df-or 848  df-3an 1091  df-tru 1546  df-fal 1556  df-ex 1788  df-nf 1792  df-sb 2071  df-mo 2539  df-eu 2568  df-clab 2715  df-cleq 2729  df-clel 2816  df-nfc 2886  df-ne 2941  df-ral 3066  df-rex 3067  df-reu 3068  df-rmo 3069  df-rab 3070  df-v 3410  df-sbc 3695  df-dif 3869  df-un 3871  df-in 3873  df-ss 3883  df-nul 4238  df-if 4440  df-pw 4515  df-sn 4542  df-pr 4544  df-op 4548  df-uni 4820  df-br 5054  df-opab 5116  df-mpt 5136  df-id 5455  df-xp 5557  df-rel 5558  df-cnv 5559  df-co 5560  df-dm 5561  df-rn 5562  df-res 5563  df-ima 5564  df-iota 6338  df-fun 6382  df-fn 6383  df-f 6384  df-fv 6388  df-riota 7170  df-ov 7216  df-oprab 7217  df-mpo 7218  df-map 8510  df-0g 16946  df-mgm 18114  df-sgrp 18163  df-mnd 18174  df-mhm 18218
This theorem is referenced by:  ghmco  18642  rhmco  19757  zrhpsgnmhm  20546  lgseisenlem4  26259
  Copyright terms: Public domain W3C validator