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

Theorem mgmhmlin 18677
Description: A magma homomorphism preserves the binary operation. (Contributed by AV, 25-Feb-2020.)
Hypotheses
Ref Expression
mgmhmlin.b 𝐵 = (Base‘𝑆)
mgmhmlin.p + = (+g𝑆)
mgmhmlin.q = (+g𝑇)
Assertion
Ref Expression
mgmhmlin ((𝐹 ∈ (𝑆 MgmHom 𝑇) ∧ 𝑋𝐵𝑌𝐵) → (𝐹‘(𝑋 + 𝑌)) = ((𝐹𝑋) (𝐹𝑌)))

Proof of Theorem mgmhmlin
Dummy variables 𝑥 𝑦 are mutually distinct and distinct from all other variables.
StepHypRef Expression
1 mgmhmlin.b . . . 4 𝐵 = (Base‘𝑆)
2 eqid 2735 . . . 4 (Base‘𝑇) = (Base‘𝑇)
3 mgmhmlin.p . . . 4 + = (+g𝑆)
4 mgmhmlin.q . . . 4 = (+g𝑇)
51, 2, 3, 4ismgmhm 18674 . . 3 (𝐹 ∈ (𝑆 MgmHom 𝑇) ↔ ((𝑆 ∈ Mgm ∧ 𝑇 ∈ Mgm) ∧ (𝐹:𝐵⟶(Base‘𝑇) ∧ ∀𝑥𝐵𝑦𝐵 (𝐹‘(𝑥 + 𝑦)) = ((𝐹𝑥) (𝐹𝑦)))))
6 fvoveq1 7428 . . . . . . 7 (𝑥 = 𝑋 → (𝐹‘(𝑥 + 𝑦)) = (𝐹‘(𝑋 + 𝑦)))
7 fveq2 6876 . . . . . . . 8 (𝑥 = 𝑋 → (𝐹𝑥) = (𝐹𝑋))
87oveq1d 7420 . . . . . . 7 (𝑥 = 𝑋 → ((𝐹𝑥) (𝐹𝑦)) = ((𝐹𝑋) (𝐹𝑦)))
96, 8eqeq12d 2751 . . . . . 6 (𝑥 = 𝑋 → ((𝐹‘(𝑥 + 𝑦)) = ((𝐹𝑥) (𝐹𝑦)) ↔ (𝐹‘(𝑋 + 𝑦)) = ((𝐹𝑋) (𝐹𝑦))))
10 oveq2 7413 . . . . . . . 8 (𝑦 = 𝑌 → (𝑋 + 𝑦) = (𝑋 + 𝑌))
1110fveq2d 6880 . . . . . . 7 (𝑦 = 𝑌 → (𝐹‘(𝑋 + 𝑦)) = (𝐹‘(𝑋 + 𝑌)))
12 fveq2 6876 . . . . . . . 8 (𝑦 = 𝑌 → (𝐹𝑦) = (𝐹𝑌))
1312oveq2d 7421 . . . . . . 7 (𝑦 = 𝑌 → ((𝐹𝑋) (𝐹𝑦)) = ((𝐹𝑋) (𝐹𝑌)))
1411, 13eqeq12d 2751 . . . . . 6 (𝑦 = 𝑌 → ((𝐹‘(𝑋 + 𝑦)) = ((𝐹𝑋) (𝐹𝑦)) ↔ (𝐹‘(𝑋 + 𝑌)) = ((𝐹𝑋) (𝐹𝑌))))
159, 14rspc2v 3612 . . . . 5 ((𝑋𝐵𝑌𝐵) → (∀𝑥𝐵𝑦𝐵 (𝐹‘(𝑥 + 𝑦)) = ((𝐹𝑥) (𝐹𝑦)) → (𝐹‘(𝑋 + 𝑌)) = ((𝐹𝑋) (𝐹𝑌))))
1615com12 32 . . . 4 (∀𝑥𝐵𝑦𝐵 (𝐹‘(𝑥 + 𝑦)) = ((𝐹𝑥) (𝐹𝑦)) → ((𝑋𝐵𝑌𝐵) → (𝐹‘(𝑋 + 𝑌)) = ((𝐹𝑋) (𝐹𝑌))))
1716ad2antll 729 . . 3 (((𝑆 ∈ Mgm ∧ 𝑇 ∈ Mgm) ∧ (𝐹:𝐵⟶(Base‘𝑇) ∧ ∀𝑥𝐵𝑦𝐵 (𝐹‘(𝑥 + 𝑦)) = ((𝐹𝑥) (𝐹𝑦)))) → ((𝑋𝐵𝑌𝐵) → (𝐹‘(𝑋 + 𝑌)) = ((𝐹𝑋) (𝐹𝑌))))
185, 17sylbi 217 . 2 (𝐹 ∈ (𝑆 MgmHom 𝑇) → ((𝑋𝐵𝑌𝐵) → (𝐹‘(𝑋 + 𝑌)) = ((𝐹𝑋) (𝐹𝑌))))
19183impib 1116 1 ((𝐹 ∈ (𝑆 MgmHom 𝑇) ∧ 𝑋𝐵𝑌𝐵) → (𝐹‘(𝑋 + 𝑌)) = ((𝐹𝑋) (𝐹𝑌)))
Colors of variables: wff setvar class
Syntax hints:  wi 4  wa 395  w3a 1086   = wceq 1540  wcel 2108  wral 3051  wf 6527  cfv 6531  (class class class)co 7405  Basecbs 17228  +gcplusg 17271  Mgmcmgm 18616   MgmHom cmgmhm 18668
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1795  ax-4 1809  ax-5 1910  ax-6 1967  ax-7 2007  ax-8 2110  ax-9 2118  ax-10 2141  ax-11 2157  ax-12 2177  ax-ext 2707  ax-sep 5266  ax-nul 5276  ax-pow 5335  ax-pr 5402  ax-un 7729
This theorem depends on definitions:  df-bi 207  df-an 396  df-or 848  df-3an 1088  df-tru 1543  df-fal 1553  df-ex 1780  df-nf 1784  df-sb 2065  df-mo 2539  df-eu 2568  df-clab 2714  df-cleq 2727  df-clel 2809  df-nfc 2885  df-ne 2933  df-ral 3052  df-rex 3061  df-rab 3416  df-v 3461  df-sbc 3766  df-dif 3929  df-un 3931  df-in 3933  df-ss 3943  df-nul 4309  df-if 4501  df-pw 4577  df-sn 4602  df-pr 4604  df-op 4608  df-uni 4884  df-br 5120  df-opab 5182  df-id 5548  df-xp 5660  df-rel 5661  df-cnv 5662  df-co 5663  df-dm 5664  df-rn 5665  df-iota 6484  df-fun 6533  df-fn 6534  df-f 6535  df-fv 6539  df-ov 7408  df-oprab 7409  df-mpo 7410  df-map 8842  df-mgmhm 18670
This theorem is referenced by:  mgmhmf1o  18678  resmgmhm  18689  resmgmhm2  18690  resmgmhm2b  18691  mgmhmco  18692  mgmhmima  18693  mgmhmeql  18694
  Copyright terms: Public domain W3C validator