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

Theorem mgmhmlin 18737
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 2740 . . . 4 (Base‘𝑇) = (Base‘𝑇)
3 mgmhmlin.p . . . 4 + = (+g𝑆)
4 mgmhmlin.q . . . 4 = (+g𝑇)
51, 2, 3, 4ismgmhm 18734 . . 3 (𝐹 ∈ (𝑆 MgmHom 𝑇) ↔ ((𝑆 ∈ Mgm ∧ 𝑇 ∈ Mgm) ∧ (𝐹:𝐵⟶(Base‘𝑇) ∧ ∀𝑥𝐵𝑦𝐵 (𝐹‘(𝑥 + 𝑦)) = ((𝐹𝑥) (𝐹𝑦)))))
6 fvoveq1 7471 . . . . . . 7 (𝑥 = 𝑋 → (𝐹‘(𝑥 + 𝑦)) = (𝐹‘(𝑋 + 𝑦)))
7 fveq2 6920 . . . . . . . 8 (𝑥 = 𝑋 → (𝐹𝑥) = (𝐹𝑋))
87oveq1d 7463 . . . . . . 7 (𝑥 = 𝑋 → ((𝐹𝑥) (𝐹𝑦)) = ((𝐹𝑋) (𝐹𝑦)))
96, 8eqeq12d 2756 . . . . . 6 (𝑥 = 𝑋 → ((𝐹‘(𝑥 + 𝑦)) = ((𝐹𝑥) (𝐹𝑦)) ↔ (𝐹‘(𝑋 + 𝑦)) = ((𝐹𝑋) (𝐹𝑦))))
10 oveq2 7456 . . . . . . . 8 (𝑦 = 𝑌 → (𝑋 + 𝑦) = (𝑋 + 𝑌))
1110fveq2d 6924 . . . . . . 7 (𝑦 = 𝑌 → (𝐹‘(𝑋 + 𝑦)) = (𝐹‘(𝑋 + 𝑌)))
12 fveq2 6920 . . . . . . . 8 (𝑦 = 𝑌 → (𝐹𝑦) = (𝐹𝑌))
1312oveq2d 7464 . . . . . . 7 (𝑦 = 𝑌 → ((𝐹𝑋) (𝐹𝑦)) = ((𝐹𝑋) (𝐹𝑌)))
1411, 13eqeq12d 2756 . . . . . 6 (𝑦 = 𝑌 → ((𝐹‘(𝑋 + 𝑦)) = ((𝐹𝑋) (𝐹𝑦)) ↔ (𝐹‘(𝑋 + 𝑌)) = ((𝐹𝑋) (𝐹𝑌))))
159, 14rspc2v 3646 . . . . 5 ((𝑋𝐵𝑌𝐵) → (∀𝑥𝐵𝑦𝐵 (𝐹‘(𝑥 + 𝑦)) = ((𝐹𝑥) (𝐹𝑦)) → (𝐹‘(𝑋 + 𝑌)) = ((𝐹𝑋) (𝐹𝑌))))
1615com12 32 . . . 4 (∀𝑥𝐵𝑦𝐵 (𝐹‘(𝑥 + 𝑦)) = ((𝐹𝑥) (𝐹𝑦)) → ((𝑋𝐵𝑌𝐵) → (𝐹‘(𝑋 + 𝑌)) = ((𝐹𝑋) (𝐹𝑌))))
1716ad2antll 728 . . 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 1087   = wceq 1537  wcel 2108  wral 3067  wf 6569  cfv 6573  (class class class)co 7448  Basecbs 17258  +gcplusg 17311  Mgmcmgm 18676   MgmHom cmgmhm 18728
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1793  ax-4 1807  ax-5 1909  ax-6 1967  ax-7 2007  ax-8 2110  ax-9 2118  ax-10 2141  ax-11 2158  ax-12 2178  ax-ext 2711  ax-sep 5317  ax-nul 5324  ax-pow 5383  ax-pr 5447  ax-un 7770
This theorem depends on definitions:  df-bi 207  df-an 396  df-or 847  df-3an 1089  df-tru 1540  df-fal 1550  df-ex 1778  df-nf 1782  df-sb 2065  df-mo 2543  df-eu 2572  df-clab 2718  df-cleq 2732  df-clel 2819  df-nfc 2895  df-ne 2947  df-ral 3068  df-rex 3077  df-rab 3444  df-v 3490  df-sbc 3805  df-dif 3979  df-un 3981  df-in 3983  df-ss 3993  df-nul 4353  df-if 4549  df-pw 4624  df-sn 4649  df-pr 4651  df-op 4655  df-uni 4932  df-br 5167  df-opab 5229  df-id 5593  df-xp 5706  df-rel 5707  df-cnv 5708  df-co 5709  df-dm 5710  df-rn 5711  df-iota 6525  df-fun 6575  df-fn 6576  df-f 6577  df-fv 6581  df-ov 7451  df-oprab 7452  df-mpo 7453  df-map 8886  df-mgmhm 18730
This theorem is referenced by:  mgmhmf1o  18738  resmgmhm  18749  resmgmhm2  18750  resmgmhm2b  18751  mgmhmco  18752  mgmhmima  18753  mgmhmeql  18754
  Copyright terms: Public domain W3C validator