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

Theorem mhmlin 18437
Description: A monoid homomorphism commutes with composition. (Contributed by Mario Carneiro, 7-Mar-2015.)
Hypotheses
Ref Expression
mhmlin.b 𝐵 = (Base‘𝑆)
mhmlin.p + = (+g𝑆)
mhmlin.q = (+g𝑇)
Assertion
Ref Expression
mhmlin ((𝐹 ∈ (𝑆 MndHom 𝑇) ∧ 𝑋𝐵𝑌𝐵) → (𝐹‘(𝑋 + 𝑌)) = ((𝐹𝑋) (𝐹𝑌)))

Proof of Theorem mhmlin
Dummy variables 𝑥 𝑦 are mutually distinct and distinct from all other variables.
StepHypRef Expression
1 mhmlin.b . . . . . 6 𝐵 = (Base‘𝑆)
2 eqid 2738 . . . . . 6 (Base‘𝑇) = (Base‘𝑇)
3 mhmlin.p . . . . . 6 + = (+g𝑆)
4 mhmlin.q . . . . . 6 = (+g𝑇)
5 eqid 2738 . . . . . 6 (0g𝑆) = (0g𝑆)
6 eqid 2738 . . . . . 6 (0g𝑇) = (0g𝑇)
71, 2, 3, 4, 5, 6ismhm 18432 . . . . 5 (𝐹 ∈ (𝑆 MndHom 𝑇) ↔ ((𝑆 ∈ Mnd ∧ 𝑇 ∈ Mnd) ∧ (𝐹:𝐵⟶(Base‘𝑇) ∧ ∀𝑥𝐵𝑦𝐵 (𝐹‘(𝑥 + 𝑦)) = ((𝐹𝑥) (𝐹𝑦)) ∧ (𝐹‘(0g𝑆)) = (0g𝑇))))
87simprbi 497 . . . 4 (𝐹 ∈ (𝑆 MndHom 𝑇) → (𝐹:𝐵⟶(Base‘𝑇) ∧ ∀𝑥𝐵𝑦𝐵 (𝐹‘(𝑥 + 𝑦)) = ((𝐹𝑥) (𝐹𝑦)) ∧ (𝐹‘(0g𝑆)) = (0g𝑇)))
98simp2d 1142 . . 3 (𝐹 ∈ (𝑆 MndHom 𝑇) → ∀𝑥𝐵𝑦𝐵 (𝐹‘(𝑥 + 𝑦)) = ((𝐹𝑥) (𝐹𝑦)))
10 fvoveq1 7298 . . . . 5 (𝑥 = 𝑋 → (𝐹‘(𝑥 + 𝑦)) = (𝐹‘(𝑋 + 𝑦)))
11 fveq2 6774 . . . . . 6 (𝑥 = 𝑋 → (𝐹𝑥) = (𝐹𝑋))
1211oveq1d 7290 . . . . 5 (𝑥 = 𝑋 → ((𝐹𝑥) (𝐹𝑦)) = ((𝐹𝑋) (𝐹𝑦)))
1310, 12eqeq12d 2754 . . . 4 (𝑥 = 𝑋 → ((𝐹‘(𝑥 + 𝑦)) = ((𝐹𝑥) (𝐹𝑦)) ↔ (𝐹‘(𝑋 + 𝑦)) = ((𝐹𝑋) (𝐹𝑦))))
14 oveq2 7283 . . . . . 6 (𝑦 = 𝑌 → (𝑋 + 𝑦) = (𝑋 + 𝑌))
1514fveq2d 6778 . . . . 5 (𝑦 = 𝑌 → (𝐹‘(𝑋 + 𝑦)) = (𝐹‘(𝑋 + 𝑌)))
16 fveq2 6774 . . . . . 6 (𝑦 = 𝑌 → (𝐹𝑦) = (𝐹𝑌))
1716oveq2d 7291 . . . . 5 (𝑦 = 𝑌 → ((𝐹𝑋) (𝐹𝑦)) = ((𝐹𝑋) (𝐹𝑌)))
1815, 17eqeq12d 2754 . . . 4 (𝑦 = 𝑌 → ((𝐹‘(𝑋 + 𝑦)) = ((𝐹𝑋) (𝐹𝑦)) ↔ (𝐹‘(𝑋 + 𝑌)) = ((𝐹𝑋) (𝐹𝑌))))
1913, 18rspc2v 3570 . . 3 ((𝑋𝐵𝑌𝐵) → (∀𝑥𝐵𝑦𝐵 (𝐹‘(𝑥 + 𝑦)) = ((𝐹𝑥) (𝐹𝑦)) → (𝐹‘(𝑋 + 𝑌)) = ((𝐹𝑋) (𝐹𝑌))))
209, 19syl5com 31 . 2 (𝐹 ∈ (𝑆 MndHom 𝑇) → ((𝑋𝐵𝑌𝐵) → (𝐹‘(𝑋 + 𝑌)) = ((𝐹𝑋) (𝐹𝑌))))
21203impib 1115 1 ((𝐹 ∈ (𝑆 MndHom 𝑇) ∧ 𝑋𝐵𝑌𝐵) → (𝐹‘(𝑋 + 𝑌)) = ((𝐹𝑋) (𝐹𝑌)))
Colors of variables: wff setvar class
Syntax hints:  wi 4  wa 396  w3a 1086   = wceq 1539  wcel 2106  wral 3064  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-ral 3069  df-rex 3070  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-id 5489  df-xp 5595  df-rel 5596  df-cnv 5597  df-co 5598  df-dm 5599  df-rn 5600  df-iota 6391  df-fun 6435  df-fn 6436  df-f 6437  df-fv 6441  df-ov 7278  df-oprab 7279  df-mpo 7280  df-map 8617  df-mhm 18430
This theorem is referenced by:  mhmf1o  18440  resmhm  18459  resmhm2  18460  resmhm2b  18461  mhmco  18462  mhmima  18463  mhmeql  18464  pwsco2mhm  18471  gsumwmhm  18484  mhmmulg  18744  ghmmhmb  18845  cntzmhm  18945  gsumzmhm  19538  rhmmul  19971  evlslem1  21292  mpfind  21317  mhmvlin  21546  mdetunilem7  21767  dchrzrhmul  26394  dchrmulcl  26397  dchrn0  26398  dchrinvcl  26401  dchrsum2  26416  sum2dchr  26422  mhmhmeotmd  31877
  Copyright terms: Public domain W3C validator