ILE Home Intuitionistic Logic Explorer < Previous   Next >
Nearby theorems
Mirrors  >  Home  >  ILE Home  >  Th. List  >  mhmco GIF version

Theorem mhmco 12705
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 12687 . . 3 (𝐹 ∈ (𝑇 MndHom 𝑈) → 𝑈 ∈ Mnd)
2 mhmrcl1 12686 . . 3 (𝐺 ∈ (𝑆 MndHom 𝑇) → 𝑆 ∈ Mnd)
31, 2anim12ci 337 . 2 ((𝐹 ∈ (𝑇 MndHom 𝑈) ∧ 𝐺 ∈ (𝑆 MndHom 𝑇)) → (𝑆 ∈ Mnd ∧ 𝑈 ∈ Mnd))
4 eqid 2170 . . . . 5 (Base‘𝑇) = (Base‘𝑇)
5 eqid 2170 . . . . 5 (Base‘𝑈) = (Base‘𝑈)
64, 5mhmf 12688 . . . 4 (𝐹 ∈ (𝑇 MndHom 𝑈) → 𝐹:(Base‘𝑇)⟶(Base‘𝑈))
7 eqid 2170 . . . . 5 (Base‘𝑆) = (Base‘𝑆)
87, 4mhmf 12688 . . . 4 (𝐺 ∈ (𝑆 MndHom 𝑇) → 𝐺:(Base‘𝑆)⟶(Base‘𝑇))
9 fco 5363 . . . 4 ((𝐹:(Base‘𝑇)⟶(Base‘𝑈) ∧ 𝐺:(Base‘𝑆)⟶(Base‘𝑇)) → (𝐹𝐺):(Base‘𝑆)⟶(Base‘𝑈))
106, 8, 9syl2an 287 . . 3 ((𝐹 ∈ (𝑇 MndHom 𝑈) ∧ 𝐺 ∈ (𝑆 MndHom 𝑇)) → (𝐹𝐺):(Base‘𝑆)⟶(Base‘𝑈))
11 eqid 2170 . . . . . . . . . 10 (+g𝑆) = (+g𝑆)
12 eqid 2170 . . . . . . . . . 10 (+g𝑇) = (+g𝑇)
137, 11, 12mhmlin 12690 . . . . . . . . 9 ((𝐺 ∈ (𝑆 MndHom 𝑇) ∧ 𝑥 ∈ (Base‘𝑆) ∧ 𝑦 ∈ (Base‘𝑆)) → (𝐺‘(𝑥(+g𝑆)𝑦)) = ((𝐺𝑥)(+g𝑇)(𝐺𝑦)))
14133expb 1199 . . . . . . . 8 ((𝐺 ∈ (𝑆 MndHom 𝑇) ∧ (𝑥 ∈ (Base‘𝑆) ∧ 𝑦 ∈ (Base‘𝑆))) → (𝐺‘(𝑥(+g𝑆)𝑦)) = ((𝐺𝑥)(+g𝑇)(𝐺𝑦)))
1514adantll 473 . . . . . . 7 (((𝐹 ∈ (𝑇 MndHom 𝑈) ∧ 𝐺 ∈ (𝑆 MndHom 𝑇)) ∧ (𝑥 ∈ (Base‘𝑆) ∧ 𝑦 ∈ (Base‘𝑆))) → (𝐺‘(𝑥(+g𝑆)𝑦)) = ((𝐺𝑥)(+g𝑇)(𝐺𝑦)))
1615fveq2d 5500 . . . . . 6 (((𝐹 ∈ (𝑇 MndHom 𝑈) ∧ 𝐺 ∈ (𝑆 MndHom 𝑇)) ∧ (𝑥 ∈ (Base‘𝑆) ∧ 𝑦 ∈ (Base‘𝑆))) → (𝐹‘(𝐺‘(𝑥(+g𝑆)𝑦))) = (𝐹‘((𝐺𝑥)(+g𝑇)(𝐺𝑦))))
17 simpll 524 . . . . . . 7 (((𝐹 ∈ (𝑇 MndHom 𝑈) ∧ 𝐺 ∈ (𝑆 MndHom 𝑇)) ∧ (𝑥 ∈ (Base‘𝑆) ∧ 𝑦 ∈ (Base‘𝑆))) → 𝐹 ∈ (𝑇 MndHom 𝑈))
188ad2antlr 486 . . . . . . . 8 (((𝐹 ∈ (𝑇 MndHom 𝑈) ∧ 𝐺 ∈ (𝑆 MndHom 𝑇)) ∧ (𝑥 ∈ (Base‘𝑆) ∧ 𝑦 ∈ (Base‘𝑆))) → 𝐺:(Base‘𝑆)⟶(Base‘𝑇))
19 simprl 526 . . . . . . . 8 (((𝐹 ∈ (𝑇 MndHom 𝑈) ∧ 𝐺 ∈ (𝑆 MndHom 𝑇)) ∧ (𝑥 ∈ (Base‘𝑆) ∧ 𝑦 ∈ (Base‘𝑆))) → 𝑥 ∈ (Base‘𝑆))
2018, 19ffvelrnd 5632 . . . . . . 7 (((𝐹 ∈ (𝑇 MndHom 𝑈) ∧ 𝐺 ∈ (𝑆 MndHom 𝑇)) ∧ (𝑥 ∈ (Base‘𝑆) ∧ 𝑦 ∈ (Base‘𝑆))) → (𝐺𝑥) ∈ (Base‘𝑇))
21 simprr 527 . . . . . . . 8 (((𝐹 ∈ (𝑇 MndHom 𝑈) ∧ 𝐺 ∈ (𝑆 MndHom 𝑇)) ∧ (𝑥 ∈ (Base‘𝑆) ∧ 𝑦 ∈ (Base‘𝑆))) → 𝑦 ∈ (Base‘𝑆))
2218, 21ffvelrnd 5632 . . . . . . 7 (((𝐹 ∈ (𝑇 MndHom 𝑈) ∧ 𝐺 ∈ (𝑆 MndHom 𝑇)) ∧ (𝑥 ∈ (Base‘𝑆) ∧ 𝑦 ∈ (Base‘𝑆))) → (𝐺𝑦) ∈ (Base‘𝑇))
23 eqid 2170 . . . . . . . 8 (+g𝑈) = (+g𝑈)
244, 12, 23mhmlin 12690 . . . . . . 7 ((𝐹 ∈ (𝑇 MndHom 𝑈) ∧ (𝐺𝑥) ∈ (Base‘𝑇) ∧ (𝐺𝑦) ∈ (Base‘𝑇)) → (𝐹‘((𝐺𝑥)(+g𝑇)(𝐺𝑦))) = ((𝐹‘(𝐺𝑥))(+g𝑈)(𝐹‘(𝐺𝑦))))
2517, 20, 22, 24syl3anc 1233 . . . . . 6 (((𝐹 ∈ (𝑇 MndHom 𝑈) ∧ 𝐺 ∈ (𝑆 MndHom 𝑇)) ∧ (𝑥 ∈ (Base‘𝑆) ∧ 𝑦 ∈ (Base‘𝑆))) → (𝐹‘((𝐺𝑥)(+g𝑇)(𝐺𝑦))) = ((𝐹‘(𝐺𝑥))(+g𝑈)(𝐹‘(𝐺𝑦))))
2616, 25eqtrd 2203 . . . . 5 (((𝐹 ∈ (𝑇 MndHom 𝑈) ∧ 𝐺 ∈ (𝑆 MndHom 𝑇)) ∧ (𝑥 ∈ (Base‘𝑆) ∧ 𝑦 ∈ (Base‘𝑆))) → (𝐹‘(𝐺‘(𝑥(+g𝑆)𝑦))) = ((𝐹‘(𝐺𝑥))(+g𝑈)(𝐹‘(𝐺𝑦))))
272adantl 275 . . . . . . 7 ((𝐹 ∈ (𝑇 MndHom 𝑈) ∧ 𝐺 ∈ (𝑆 MndHom 𝑇)) → 𝑆 ∈ Mnd)
287, 11mndcl 12659 . . . . . . . 8 ((𝑆 ∈ Mnd ∧ 𝑥 ∈ (Base‘𝑆) ∧ 𝑦 ∈ (Base‘𝑆)) → (𝑥(+g𝑆)𝑦) ∈ (Base‘𝑆))
29283expb 1199 . . . . . . 7 ((𝑆 ∈ Mnd ∧ (𝑥 ∈ (Base‘𝑆) ∧ 𝑦 ∈ (Base‘𝑆))) → (𝑥(+g𝑆)𝑦) ∈ (Base‘𝑆))
3027, 29sylan 281 . . . . . 6 (((𝐹 ∈ (𝑇 MndHom 𝑈) ∧ 𝐺 ∈ (𝑆 MndHom 𝑇)) ∧ (𝑥 ∈ (Base‘𝑆) ∧ 𝑦 ∈ (Base‘𝑆))) → (𝑥(+g𝑆)𝑦) ∈ (Base‘𝑆))
31 fvco3 5567 . . . . . 6 ((𝐺:(Base‘𝑆)⟶(Base‘𝑇) ∧ (𝑥(+g𝑆)𝑦) ∈ (Base‘𝑆)) → ((𝐹𝐺)‘(𝑥(+g𝑆)𝑦)) = (𝐹‘(𝐺‘(𝑥(+g𝑆)𝑦))))
3218, 30, 31syl2anc 409 . . . . 5 (((𝐹 ∈ (𝑇 MndHom 𝑈) ∧ 𝐺 ∈ (𝑆 MndHom 𝑇)) ∧ (𝑥 ∈ (Base‘𝑆) ∧ 𝑦 ∈ (Base‘𝑆))) → ((𝐹𝐺)‘(𝑥(+g𝑆)𝑦)) = (𝐹‘(𝐺‘(𝑥(+g𝑆)𝑦))))
33 fvco3 5567 . . . . . . 7 ((𝐺:(Base‘𝑆)⟶(Base‘𝑇) ∧ 𝑥 ∈ (Base‘𝑆)) → ((𝐹𝐺)‘𝑥) = (𝐹‘(𝐺𝑥)))
3418, 19, 33syl2anc 409 . . . . . 6 (((𝐹 ∈ (𝑇 MndHom 𝑈) ∧ 𝐺 ∈ (𝑆 MndHom 𝑇)) ∧ (𝑥 ∈ (Base‘𝑆) ∧ 𝑦 ∈ (Base‘𝑆))) → ((𝐹𝐺)‘𝑥) = (𝐹‘(𝐺𝑥)))
35 fvco3 5567 . . . . . . 7 ((𝐺:(Base‘𝑆)⟶(Base‘𝑇) ∧ 𝑦 ∈ (Base‘𝑆)) → ((𝐹𝐺)‘𝑦) = (𝐹‘(𝐺𝑦)))
3618, 21, 35syl2anc 409 . . . . . 6 (((𝐹 ∈ (𝑇 MndHom 𝑈) ∧ 𝐺 ∈ (𝑆 MndHom 𝑇)) ∧ (𝑥 ∈ (Base‘𝑆) ∧ 𝑦 ∈ (Base‘𝑆))) → ((𝐹𝐺)‘𝑦) = (𝐹‘(𝐺𝑦)))
3734, 36oveq12d 5871 . . . . 5 (((𝐹 ∈ (𝑇 MndHom 𝑈) ∧ 𝐺 ∈ (𝑆 MndHom 𝑇)) ∧ (𝑥 ∈ (Base‘𝑆) ∧ 𝑦 ∈ (Base‘𝑆))) → (((𝐹𝐺)‘𝑥)(+g𝑈)((𝐹𝐺)‘𝑦)) = ((𝐹‘(𝐺𝑥))(+g𝑈)(𝐹‘(𝐺𝑦))))
3826, 32, 373eqtr4d 2213 . . . 4 (((𝐹 ∈ (𝑇 MndHom 𝑈) ∧ 𝐺 ∈ (𝑆 MndHom 𝑇)) ∧ (𝑥 ∈ (Base‘𝑆) ∧ 𝑦 ∈ (Base‘𝑆))) → ((𝐹𝐺)‘(𝑥(+g𝑆)𝑦)) = (((𝐹𝐺)‘𝑥)(+g𝑈)((𝐹𝐺)‘𝑦)))
3938ralrimivva 2552 . . 3 ((𝐹 ∈ (𝑇 MndHom 𝑈) ∧ 𝐺 ∈ (𝑆 MndHom 𝑇)) → ∀𝑥 ∈ (Base‘𝑆)∀𝑦 ∈ (Base‘𝑆)((𝐹𝐺)‘(𝑥(+g𝑆)𝑦)) = (((𝐹𝐺)‘𝑥)(+g𝑈)((𝐹𝐺)‘𝑦)))
408adantl 275 . . . . 5 ((𝐹 ∈ (𝑇 MndHom 𝑈) ∧ 𝐺 ∈ (𝑆 MndHom 𝑇)) → 𝐺:(Base‘𝑆)⟶(Base‘𝑇))
41 eqid 2170 . . . . . . 7 (0g𝑆) = (0g𝑆)
427, 41mndidcl 12666 . . . . . 6 (𝑆 ∈ Mnd → (0g𝑆) ∈ (Base‘𝑆))
4327, 42syl 14 . . . . 5 ((𝐹 ∈ (𝑇 MndHom 𝑈) ∧ 𝐺 ∈ (𝑆 MndHom 𝑇)) → (0g𝑆) ∈ (Base‘𝑆))
44 fvco3 5567 . . . . 5 ((𝐺:(Base‘𝑆)⟶(Base‘𝑇) ∧ (0g𝑆) ∈ (Base‘𝑆)) → ((𝐹𝐺)‘(0g𝑆)) = (𝐹‘(𝐺‘(0g𝑆))))
4540, 43, 44syl2anc 409 . . . 4 ((𝐹 ∈ (𝑇 MndHom 𝑈) ∧ 𝐺 ∈ (𝑆 MndHom 𝑇)) → ((𝐹𝐺)‘(0g𝑆)) = (𝐹‘(𝐺‘(0g𝑆))))
46 eqid 2170 . . . . . . 7 (0g𝑇) = (0g𝑇)
4741, 46mhm0 12691 . . . . . 6 (𝐺 ∈ (𝑆 MndHom 𝑇) → (𝐺‘(0g𝑆)) = (0g𝑇))
4847adantl 275 . . . . 5 ((𝐹 ∈ (𝑇 MndHom 𝑈) ∧ 𝐺 ∈ (𝑆 MndHom 𝑇)) → (𝐺‘(0g𝑆)) = (0g𝑇))
4948fveq2d 5500 . . . 4 ((𝐹 ∈ (𝑇 MndHom 𝑈) ∧ 𝐺 ∈ (𝑆 MndHom 𝑇)) → (𝐹‘(𝐺‘(0g𝑆))) = (𝐹‘(0g𝑇)))
50 eqid 2170 . . . . . 6 (0g𝑈) = (0g𝑈)
5146, 50mhm0 12691 . . . . 5 (𝐹 ∈ (𝑇 MndHom 𝑈) → (𝐹‘(0g𝑇)) = (0g𝑈))
5251adantr 274 . . . 4 ((𝐹 ∈ (𝑇 MndHom 𝑈) ∧ 𝐺 ∈ (𝑆 MndHom 𝑇)) → (𝐹‘(0g𝑇)) = (0g𝑈))
5345, 49, 523eqtrd 2207 . . 3 ((𝐹 ∈ (𝑇 MndHom 𝑈) ∧ 𝐺 ∈ (𝑆 MndHom 𝑇)) → ((𝐹𝐺)‘(0g𝑆)) = (0g𝑈))
5410, 39, 533jca 1172 . 2 ((𝐹 ∈ (𝑇 MndHom 𝑈) ∧ 𝐺 ∈ (𝑆 MndHom 𝑇)) → ((𝐹𝐺):(Base‘𝑆)⟶(Base‘𝑈) ∧ ∀𝑥 ∈ (Base‘𝑆)∀𝑦 ∈ (Base‘𝑆)((𝐹𝐺)‘(𝑥(+g𝑆)𝑦)) = (((𝐹𝐺)‘𝑥)(+g𝑈)((𝐹𝐺)‘𝑦)) ∧ ((𝐹𝐺)‘(0g𝑆)) = (0g𝑈)))
557, 5, 11, 23, 41, 50ismhm 12685 . 2 ((𝐹𝐺) ∈ (𝑆 MndHom 𝑈) ↔ ((𝑆 ∈ Mnd ∧ 𝑈 ∈ Mnd) ∧ ((𝐹𝐺):(Base‘𝑆)⟶(Base‘𝑈) ∧ ∀𝑥 ∈ (Base‘𝑆)∀𝑦 ∈ (Base‘𝑆)((𝐹𝐺)‘(𝑥(+g𝑆)𝑦)) = (((𝐹𝐺)‘𝑥)(+g𝑈)((𝐹𝐺)‘𝑦)) ∧ ((𝐹𝐺)‘(0g𝑆)) = (0g𝑈))))
563, 54, 55sylanbrc 415 1 ((𝐹 ∈ (𝑇 MndHom 𝑈) ∧ 𝐺 ∈ (𝑆 MndHom 𝑇)) → (𝐹𝐺) ∈ (𝑆 MndHom 𝑈))
Colors of variables: wff set class
Syntax hints:  wi 4  wa 103  w3a 973   = wceq 1348  wcel 2141  wral 2448  ccom 4615  wf 5194  cfv 5198  (class class class)co 5853  Basecbs 12416  +gcplusg 12480  0gc0g 12596  Mndcmnd 12652   MndHom cmhm 12681
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-ia1 105  ax-ia2 106  ax-ia3 107  ax-in1 609  ax-in2 610  ax-io 704  ax-5 1440  ax-7 1441  ax-gen 1442  ax-ie1 1486  ax-ie2 1487  ax-8 1497  ax-10 1498  ax-11 1499  ax-i12 1500  ax-bndl 1502  ax-4 1503  ax-17 1519  ax-i9 1523  ax-ial 1527  ax-i5r 1528  ax-13 2143  ax-14 2144  ax-ext 2152  ax-sep 4107  ax-pow 4160  ax-pr 4194  ax-un 4418  ax-setind 4521  ax-cnex 7865  ax-resscn 7866  ax-1re 7868  ax-addrcl 7871
This theorem depends on definitions:  df-bi 116  df-3an 975  df-tru 1351  df-fal 1354  df-nf 1454  df-sb 1756  df-eu 2022  df-mo 2023  df-clab 2157  df-cleq 2163  df-clel 2166  df-nfc 2301  df-ne 2341  df-ral 2453  df-rex 2454  df-reu 2455  df-rmo 2456  df-rab 2457  df-v 2732  df-sbc 2956  df-csb 3050  df-dif 3123  df-un 3125  df-in 3127  df-ss 3134  df-pw 3568  df-sn 3589  df-pr 3590  df-op 3592  df-uni 3797  df-int 3832  df-iun 3875  df-br 3990  df-opab 4051  df-mpt 4052  df-id 4278  df-xp 4617  df-rel 4618  df-cnv 4619  df-co 4620  df-dm 4621  df-rn 4622  df-res 4623  df-ima 4624  df-iota 5160  df-fun 5200  df-fn 5201  df-f 5202  df-fv 5206  df-riota 5809  df-ov 5856  df-oprab 5857  df-mpo 5858  df-1st 6119  df-2nd 6120  df-map 6628  df-inn 8879  df-2 8937  df-ndx 12419  df-slot 12420  df-base 12422  df-plusg 12493  df-0g 12598  df-mgm 12610  df-sgrp 12643  df-mnd 12653  df-mhm 12683
This theorem is referenced by: (None)
  Copyright terms: Public domain W3C validator