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

Theorem mgmhmlin 18668
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 2728 . . . 4 (Base‘𝑇) = (Base‘𝑇)
3 mgmhmlin.p . . . 4 + = (+g𝑆)
4 mgmhmlin.q . . . 4 = (+g𝑇)
51, 2, 3, 4ismgmhm 18665 . . 3 (𝐹 ∈ (𝑆 MgmHom 𝑇) ↔ ((𝑆 ∈ Mgm ∧ 𝑇 ∈ Mgm) ∧ (𝐹:𝐵⟶(Base‘𝑇) ∧ ∀𝑥𝐵𝑦𝐵 (𝐹‘(𝑥 + 𝑦)) = ((𝐹𝑥) (𝐹𝑦)))))
6 fvoveq1 7449 . . . . . . 7 (𝑥 = 𝑋 → (𝐹‘(𝑥 + 𝑦)) = (𝐹‘(𝑋 + 𝑦)))
7 fveq2 6902 . . . . . . . 8 (𝑥 = 𝑋 → (𝐹𝑥) = (𝐹𝑋))
87oveq1d 7441 . . . . . . 7 (𝑥 = 𝑋 → ((𝐹𝑥) (𝐹𝑦)) = ((𝐹𝑋) (𝐹𝑦)))
96, 8eqeq12d 2744 . . . . . 6 (𝑥 = 𝑋 → ((𝐹‘(𝑥 + 𝑦)) = ((𝐹𝑥) (𝐹𝑦)) ↔ (𝐹‘(𝑋 + 𝑦)) = ((𝐹𝑋) (𝐹𝑦))))
10 oveq2 7434 . . . . . . . 8 (𝑦 = 𝑌 → (𝑋 + 𝑦) = (𝑋 + 𝑌))
1110fveq2d 6906 . . . . . . 7 (𝑦 = 𝑌 → (𝐹‘(𝑋 + 𝑦)) = (𝐹‘(𝑋 + 𝑌)))
12 fveq2 6902 . . . . . . . 8 (𝑦 = 𝑌 → (𝐹𝑦) = (𝐹𝑌))
1312oveq2d 7442 . . . . . . 7 (𝑦 = 𝑌 → ((𝐹𝑋) (𝐹𝑦)) = ((𝐹𝑋) (𝐹𝑌)))
1411, 13eqeq12d 2744 . . . . . 6 (𝑦 = 𝑌 → ((𝐹‘(𝑋 + 𝑦)) = ((𝐹𝑋) (𝐹𝑦)) ↔ (𝐹‘(𝑋 + 𝑌)) = ((𝐹𝑋) (𝐹𝑌))))
159, 14rspc2v 3622 . . . . 5 ((𝑋𝐵𝑌𝐵) → (∀𝑥𝐵𝑦𝐵 (𝐹‘(𝑥 + 𝑦)) = ((𝐹𝑥) (𝐹𝑦)) → (𝐹‘(𝑋 + 𝑌)) = ((𝐹𝑋) (𝐹𝑌))))
1615com12 32 . . . 4 (∀𝑥𝐵𝑦𝐵 (𝐹‘(𝑥 + 𝑦)) = ((𝐹𝑥) (𝐹𝑦)) → ((𝑋𝐵𝑌𝐵) → (𝐹‘(𝑋 + 𝑌)) = ((𝐹𝑋) (𝐹𝑌))))
1716ad2antll 727 . . 3 (((𝑆 ∈ Mgm ∧ 𝑇 ∈ Mgm) ∧ (𝐹:𝐵⟶(Base‘𝑇) ∧ ∀𝑥𝐵𝑦𝐵 (𝐹‘(𝑥 + 𝑦)) = ((𝐹𝑥) (𝐹𝑦)))) → ((𝑋𝐵𝑌𝐵) → (𝐹‘(𝑋 + 𝑌)) = ((𝐹𝑋) (𝐹𝑌))))
185, 17sylbi 216 . 2 (𝐹 ∈ (𝑆 MgmHom 𝑇) → ((𝑋𝐵𝑌𝐵) → (𝐹‘(𝑋 + 𝑌)) = ((𝐹𝑋) (𝐹𝑌))))
19183impib 1113 1 ((𝐹 ∈ (𝑆 MgmHom 𝑇) ∧ 𝑋𝐵𝑌𝐵) → (𝐹‘(𝑋 + 𝑌)) = ((𝐹𝑋) (𝐹𝑌)))
Colors of variables: wff setvar class
Syntax hints:  wi 4  wa 394  w3a 1084   = wceq 1533  wcel 2098  wral 3058  wf 6549  cfv 6553  (class class class)co 7426  Basecbs 17189  +gcplusg 17242  Mgmcmgm 18607   MgmHom cmgmhm 18659
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1789  ax-4 1803  ax-5 1905  ax-6 1963  ax-7 2003  ax-8 2100  ax-9 2108  ax-10 2129  ax-11 2146  ax-12 2166  ax-ext 2699  ax-sep 5303  ax-nul 5310  ax-pow 5369  ax-pr 5433  ax-un 7748
This theorem depends on definitions:  df-bi 206  df-an 395  df-or 846  df-3an 1086  df-tru 1536  df-fal 1546  df-ex 1774  df-nf 1778  df-sb 2060  df-mo 2529  df-eu 2558  df-clab 2706  df-cleq 2720  df-clel 2806  df-nfc 2881  df-ne 2938  df-ral 3059  df-rex 3068  df-rab 3431  df-v 3475  df-sbc 3779  df-dif 3952  df-un 3954  df-in 3956  df-ss 3966  df-nul 4327  df-if 4533  df-pw 4608  df-sn 4633  df-pr 4635  df-op 4639  df-uni 4913  df-br 5153  df-opab 5215  df-id 5580  df-xp 5688  df-rel 5689  df-cnv 5690  df-co 5691  df-dm 5692  df-rn 5693  df-iota 6505  df-fun 6555  df-fn 6556  df-f 6557  df-fv 6561  df-ov 7429  df-oprab 7430  df-mpo 7431  df-map 8855  df-mgmhm 18661
This theorem is referenced by:  mgmhmf1o  18669  resmgmhm  18680  resmgmhm2  18681  resmgmhm2b  18682  mgmhmco  18683  mgmhmima  18684  mgmhmeql  18685
  Copyright terms: Public domain W3C validator