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

Theorem mgmhmlin 18632
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 2726 . . . 4 (Base‘𝑇) = (Base‘𝑇)
3 mgmhmlin.p . . . 4 + = (+g𝑆)
4 mgmhmlin.q . . . 4 = (+g𝑇)
51, 2, 3, 4ismgmhm 18629 . . 3 (𝐹 ∈ (𝑆 MgmHom 𝑇) ↔ ((𝑆 ∈ Mgm ∧ 𝑇 ∈ Mgm) ∧ (𝐹:𝐵⟶(Base‘𝑇) ∧ ∀𝑥𝐵𝑦𝐵 (𝐹‘(𝑥 + 𝑦)) = ((𝐹𝑥) (𝐹𝑦)))))
6 fvoveq1 7428 . . . . . . 7 (𝑥 = 𝑋 → (𝐹‘(𝑥 + 𝑦)) = (𝐹‘(𝑋 + 𝑦)))
7 fveq2 6885 . . . . . . . 8 (𝑥 = 𝑋 → (𝐹𝑥) = (𝐹𝑋))
87oveq1d 7420 . . . . . . 7 (𝑥 = 𝑋 → ((𝐹𝑥) (𝐹𝑦)) = ((𝐹𝑋) (𝐹𝑦)))
96, 8eqeq12d 2742 . . . . . 6 (𝑥 = 𝑋 → ((𝐹‘(𝑥 + 𝑦)) = ((𝐹𝑥) (𝐹𝑦)) ↔ (𝐹‘(𝑋 + 𝑦)) = ((𝐹𝑋) (𝐹𝑦))))
10 oveq2 7413 . . . . . . . 8 (𝑦 = 𝑌 → (𝑋 + 𝑦) = (𝑋 + 𝑌))
1110fveq2d 6889 . . . . . . 7 (𝑦 = 𝑌 → (𝐹‘(𝑋 + 𝑦)) = (𝐹‘(𝑋 + 𝑌)))
12 fveq2 6885 . . . . . . . 8 (𝑦 = 𝑌 → (𝐹𝑦) = (𝐹𝑌))
1312oveq2d 7421 . . . . . . 7 (𝑦 = 𝑌 → ((𝐹𝑋) (𝐹𝑦)) = ((𝐹𝑋) (𝐹𝑌)))
1411, 13eqeq12d 2742 . . . . . 6 (𝑦 = 𝑌 → ((𝐹‘(𝑋 + 𝑦)) = ((𝐹𝑋) (𝐹𝑦)) ↔ (𝐹‘(𝑋 + 𝑌)) = ((𝐹𝑋) (𝐹𝑌))))
159, 14rspc2v 3617 . . . . 5 ((𝑋𝐵𝑌𝐵) → (∀𝑥𝐵𝑦𝐵 (𝐹‘(𝑥 + 𝑦)) = ((𝐹𝑥) (𝐹𝑦)) → (𝐹‘(𝑋 + 𝑌)) = ((𝐹𝑋) (𝐹𝑌))))
1615com12 32 . . . 4 (∀𝑥𝐵𝑦𝐵 (𝐹‘(𝑥 + 𝑦)) = ((𝐹𝑥) (𝐹𝑦)) → ((𝑋𝐵𝑌𝐵) → (𝐹‘(𝑋 + 𝑌)) = ((𝐹𝑋) (𝐹𝑌))))
1716ad2antll 726 . . 3 (((𝑆 ∈ Mgm ∧ 𝑇 ∈ Mgm) ∧ (𝐹:𝐵⟶(Base‘𝑇) ∧ ∀𝑥𝐵𝑦𝐵 (𝐹‘(𝑥 + 𝑦)) = ((𝐹𝑥) (𝐹𝑦)))) → ((𝑋𝐵𝑌𝐵) → (𝐹‘(𝑋 + 𝑌)) = ((𝐹𝑋) (𝐹𝑌))))
185, 17sylbi 216 . 2 (𝐹 ∈ (𝑆 MgmHom 𝑇) → ((𝑋𝐵𝑌𝐵) → (𝐹‘(𝑋 + 𝑌)) = ((𝐹𝑋) (𝐹𝑌))))
19183impib 1113 1 ((𝐹 ∈ (𝑆 MgmHom 𝑇) ∧ 𝑋𝐵𝑌𝐵) → (𝐹‘(𝑋 + 𝑌)) = ((𝐹𝑋) (𝐹𝑌)))
Colors of variables: wff setvar class
Syntax hints:  wi 4  wa 395  w3a 1084   = wceq 1533  wcel 2098  wral 3055  wf 6533  cfv 6537  (class class class)co 7405  Basecbs 17153  +gcplusg 17206  Mgmcmgm 18571   MgmHom cmgmhm 18623
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 2163  ax-ext 2697  ax-sep 5292  ax-nul 5299  ax-pow 5356  ax-pr 5420  ax-un 7722
This theorem depends on definitions:  df-bi 206  df-an 396  df-or 845  df-3an 1086  df-tru 1536  df-fal 1546  df-ex 1774  df-nf 1778  df-sb 2060  df-mo 2528  df-eu 2557  df-clab 2704  df-cleq 2718  df-clel 2804  df-nfc 2879  df-ne 2935  df-ral 3056  df-rex 3065  df-rab 3427  df-v 3470  df-sbc 3773  df-dif 3946  df-un 3948  df-in 3950  df-ss 3960  df-nul 4318  df-if 4524  df-pw 4599  df-sn 4624  df-pr 4626  df-op 4630  df-uni 4903  df-br 5142  df-opab 5204  df-id 5567  df-xp 5675  df-rel 5676  df-cnv 5677  df-co 5678  df-dm 5679  df-rn 5680  df-iota 6489  df-fun 6539  df-fn 6540  df-f 6541  df-fv 6545  df-ov 7408  df-oprab 7409  df-mpo 7410  df-map 8824  df-mgmhm 18625
This theorem is referenced by:  mgmhmf1o  18633  resmgmhm  18644  resmgmhm2  18645  resmgmhm2b  18646  mgmhmco  18647  mgmhmima  18648  mgmhmeql  18649
  Copyright terms: Public domain W3C validator