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

Theorem mgmhmlin 18633
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 2730 . . . 4 (Base‘𝑇) = (Base‘𝑇)
3 mgmhmlin.p . . . 4 + = (+g𝑆)
4 mgmhmlin.q . . . 4 = (+g𝑇)
51, 2, 3, 4ismgmhm 18630 . . 3 (𝐹 ∈ (𝑆 MgmHom 𝑇) ↔ ((𝑆 ∈ Mgm ∧ 𝑇 ∈ Mgm) ∧ (𝐹:𝐵⟶(Base‘𝑇) ∧ ∀𝑥𝐵𝑦𝐵 (𝐹‘(𝑥 + 𝑦)) = ((𝐹𝑥) (𝐹𝑦)))))
6 fvoveq1 7413 . . . . . . 7 (𝑥 = 𝑋 → (𝐹‘(𝑥 + 𝑦)) = (𝐹‘(𝑋 + 𝑦)))
7 fveq2 6861 . . . . . . . 8 (𝑥 = 𝑋 → (𝐹𝑥) = (𝐹𝑋))
87oveq1d 7405 . . . . . . 7 (𝑥 = 𝑋 → ((𝐹𝑥) (𝐹𝑦)) = ((𝐹𝑋) (𝐹𝑦)))
96, 8eqeq12d 2746 . . . . . 6 (𝑥 = 𝑋 → ((𝐹‘(𝑥 + 𝑦)) = ((𝐹𝑥) (𝐹𝑦)) ↔ (𝐹‘(𝑋 + 𝑦)) = ((𝐹𝑋) (𝐹𝑦))))
10 oveq2 7398 . . . . . . . 8 (𝑦 = 𝑌 → (𝑋 + 𝑦) = (𝑋 + 𝑌))
1110fveq2d 6865 . . . . . . 7 (𝑦 = 𝑌 → (𝐹‘(𝑋 + 𝑦)) = (𝐹‘(𝑋 + 𝑌)))
12 fveq2 6861 . . . . . . . 8 (𝑦 = 𝑌 → (𝐹𝑦) = (𝐹𝑌))
1312oveq2d 7406 . . . . . . 7 (𝑦 = 𝑌 → ((𝐹𝑋) (𝐹𝑦)) = ((𝐹𝑋) (𝐹𝑌)))
1411, 13eqeq12d 2746 . . . . . 6 (𝑦 = 𝑌 → ((𝐹‘(𝑋 + 𝑦)) = ((𝐹𝑋) (𝐹𝑦)) ↔ (𝐹‘(𝑋 + 𝑌)) = ((𝐹𝑋) (𝐹𝑌))))
159, 14rspc2v 3602 . . . . 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 2109  wral 3045  wf 6510  cfv 6514  (class class class)co 7390  Basecbs 17186  +gcplusg 17227  Mgmcmgm 18572   MgmHom cmgmhm 18624
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 2008  ax-8 2111  ax-9 2119  ax-10 2142  ax-11 2158  ax-12 2178  ax-ext 2702  ax-sep 5254  ax-nul 5264  ax-pow 5323  ax-pr 5390  ax-un 7714
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 2066  df-mo 2534  df-eu 2563  df-clab 2709  df-cleq 2722  df-clel 2804  df-nfc 2879  df-ne 2927  df-ral 3046  df-rex 3055  df-rab 3409  df-v 3452  df-sbc 3757  df-dif 3920  df-un 3922  df-in 3924  df-ss 3934  df-nul 4300  df-if 4492  df-pw 4568  df-sn 4593  df-pr 4595  df-op 4599  df-uni 4875  df-br 5111  df-opab 5173  df-id 5536  df-xp 5647  df-rel 5648  df-cnv 5649  df-co 5650  df-dm 5651  df-rn 5652  df-iota 6467  df-fun 6516  df-fn 6517  df-f 6518  df-fv 6522  df-ov 7393  df-oprab 7394  df-mpo 7395  df-map 8804  df-mgmhm 18626
This theorem is referenced by:  mgmhmf1o  18634  resmgmhm  18645  resmgmhm2  18646  resmgmhm2b  18647  mgmhmco  18648  mgmhmima  18649  mgmhmeql  18650
  Copyright terms: Public domain W3C validator