Users' Mathboxes Mathbox for Alexander van der Vekens < Previous   Next >
Nearby theorems
Mirrors  >  Home  >  MPE Home  >  Th. List  >   Mathboxes  >  c0mgm Structured version   Visualization version   GIF version

Theorem c0mgm 45355
Description: The constant mapping to zero is a magma homomorphism into a monoid. Remark: Instead of the assumption that T is a monoid, it would be sufficient that T is a magma with a right or left identity. (Contributed by AV, 17-Apr-2020.)
Hypotheses
Ref Expression
c0mhm.b 𝐵 = (Base‘𝑆)
c0mhm.0 0 = (0g𝑇)
c0mhm.h 𝐻 = (𝑥𝐵0 )
Assertion
Ref Expression
c0mgm ((𝑆 ∈ Mgm ∧ 𝑇 ∈ Mnd) → 𝐻 ∈ (𝑆 MgmHom 𝑇))
Distinct variable groups:   𝑥,𝐵   𝑥,𝑆   𝑥,𝑇   𝑥, 0
Allowed substitution hint:   𝐻(𝑥)

Proof of Theorem c0mgm
Dummy variables 𝑎 𝑏 are mutually distinct and distinct from all other variables.
StepHypRef Expression
1 mndmgm 18307 . . 3 (𝑇 ∈ Mnd → 𝑇 ∈ Mgm)
21anim2i 616 . 2 ((𝑆 ∈ Mgm ∧ 𝑇 ∈ Mnd) → (𝑆 ∈ Mgm ∧ 𝑇 ∈ Mgm))
3 eqid 2738 . . . . . . 7 (Base‘𝑇) = (Base‘𝑇)
4 c0mhm.0 . . . . . . 7 0 = (0g𝑇)
53, 4mndidcl 18315 . . . . . 6 (𝑇 ∈ Mnd → 0 ∈ (Base‘𝑇))
65adantl 481 . . . . 5 ((𝑆 ∈ Mgm ∧ 𝑇 ∈ Mnd) → 0 ∈ (Base‘𝑇))
76adantr 480 . . . 4 (((𝑆 ∈ Mgm ∧ 𝑇 ∈ Mnd) ∧ 𝑥𝐵) → 0 ∈ (Base‘𝑇))
8 c0mhm.h . . . 4 𝐻 = (𝑥𝐵0 )
97, 8fmptd 6970 . . 3 ((𝑆 ∈ Mgm ∧ 𝑇 ∈ Mnd) → 𝐻:𝐵⟶(Base‘𝑇))
105ancli 548 . . . . . . . 8 (𝑇 ∈ Mnd → (𝑇 ∈ Mnd ∧ 0 ∈ (Base‘𝑇)))
1110adantl 481 . . . . . . 7 ((𝑆 ∈ Mgm ∧ 𝑇 ∈ Mnd) → (𝑇 ∈ Mnd ∧ 0 ∈ (Base‘𝑇)))
12 eqid 2738 . . . . . . . 8 (+g𝑇) = (+g𝑇)
133, 12, 4mndlid 18320 . . . . . . 7 ((𝑇 ∈ Mnd ∧ 0 ∈ (Base‘𝑇)) → ( 0 (+g𝑇) 0 ) = 0 )
1411, 13syl 17 . . . . . 6 ((𝑆 ∈ Mgm ∧ 𝑇 ∈ Mnd) → ( 0 (+g𝑇) 0 ) = 0 )
1514adantr 480 . . . . 5 (((𝑆 ∈ Mgm ∧ 𝑇 ∈ Mnd) ∧ (𝑎𝐵𝑏𝐵)) → ( 0 (+g𝑇) 0 ) = 0 )
168a1i 11 . . . . . . 7 (((𝑆 ∈ Mgm ∧ 𝑇 ∈ Mnd) ∧ (𝑎𝐵𝑏𝐵)) → 𝐻 = (𝑥𝐵0 ))
17 eqidd 2739 . . . . . . 7 ((((𝑆 ∈ Mgm ∧ 𝑇 ∈ Mnd) ∧ (𝑎𝐵𝑏𝐵)) ∧ 𝑥 = 𝑎) → 0 = 0 )
18 simprl 767 . . . . . . 7 (((𝑆 ∈ Mgm ∧ 𝑇 ∈ Mnd) ∧ (𝑎𝐵𝑏𝐵)) → 𝑎𝐵)
196adantr 480 . . . . . . 7 (((𝑆 ∈ Mgm ∧ 𝑇 ∈ Mnd) ∧ (𝑎𝐵𝑏𝐵)) → 0 ∈ (Base‘𝑇))
2016, 17, 18, 19fvmptd 6864 . . . . . 6 (((𝑆 ∈ Mgm ∧ 𝑇 ∈ Mnd) ∧ (𝑎𝐵𝑏𝐵)) → (𝐻𝑎) = 0 )
21 eqidd 2739 . . . . . . 7 ((((𝑆 ∈ Mgm ∧ 𝑇 ∈ Mnd) ∧ (𝑎𝐵𝑏𝐵)) ∧ 𝑥 = 𝑏) → 0 = 0 )
22 simprr 769 . . . . . . 7 (((𝑆 ∈ Mgm ∧ 𝑇 ∈ Mnd) ∧ (𝑎𝐵𝑏𝐵)) → 𝑏𝐵)
2316, 21, 22, 19fvmptd 6864 . . . . . 6 (((𝑆 ∈ Mgm ∧ 𝑇 ∈ Mnd) ∧ (𝑎𝐵𝑏𝐵)) → (𝐻𝑏) = 0 )
2420, 23oveq12d 7273 . . . . 5 (((𝑆 ∈ Mgm ∧ 𝑇 ∈ Mnd) ∧ (𝑎𝐵𝑏𝐵)) → ((𝐻𝑎)(+g𝑇)(𝐻𝑏)) = ( 0 (+g𝑇) 0 ))
25 eqidd 2739 . . . . . 6 ((((𝑆 ∈ Mgm ∧ 𝑇 ∈ Mnd) ∧ (𝑎𝐵𝑏𝐵)) ∧ 𝑥 = (𝑎(+g𝑆)𝑏)) → 0 = 0 )
26 c0mhm.b . . . . . . . . 9 𝐵 = (Base‘𝑆)
27 eqid 2738 . . . . . . . . 9 (+g𝑆) = (+g𝑆)
2826, 27mgmcl 18244 . . . . . . . 8 ((𝑆 ∈ Mgm ∧ 𝑎𝐵𝑏𝐵) → (𝑎(+g𝑆)𝑏) ∈ 𝐵)
29283expb 1118 . . . . . . 7 ((𝑆 ∈ Mgm ∧ (𝑎𝐵𝑏𝐵)) → (𝑎(+g𝑆)𝑏) ∈ 𝐵)
3029adantlr 711 . . . . . 6 (((𝑆 ∈ Mgm ∧ 𝑇 ∈ Mnd) ∧ (𝑎𝐵𝑏𝐵)) → (𝑎(+g𝑆)𝑏) ∈ 𝐵)
3116, 25, 30, 19fvmptd 6864 . . . . 5 (((𝑆 ∈ Mgm ∧ 𝑇 ∈ Mnd) ∧ (𝑎𝐵𝑏𝐵)) → (𝐻‘(𝑎(+g𝑆)𝑏)) = 0 )
3215, 24, 313eqtr4rd 2789 . . . 4 (((𝑆 ∈ Mgm ∧ 𝑇 ∈ Mnd) ∧ (𝑎𝐵𝑏𝐵)) → (𝐻‘(𝑎(+g𝑆)𝑏)) = ((𝐻𝑎)(+g𝑇)(𝐻𝑏)))
3332ralrimivva 3114 . . 3 ((𝑆 ∈ Mgm ∧ 𝑇 ∈ Mnd) → ∀𝑎𝐵𝑏𝐵 (𝐻‘(𝑎(+g𝑆)𝑏)) = ((𝐻𝑎)(+g𝑇)(𝐻𝑏)))
349, 33jca 511 . 2 ((𝑆 ∈ Mgm ∧ 𝑇 ∈ Mnd) → (𝐻:𝐵⟶(Base‘𝑇) ∧ ∀𝑎𝐵𝑏𝐵 (𝐻‘(𝑎(+g𝑆)𝑏)) = ((𝐻𝑎)(+g𝑇)(𝐻𝑏))))
3526, 3, 27, 12ismgmhm 45225 . 2 (𝐻 ∈ (𝑆 MgmHom 𝑇) ↔ ((𝑆 ∈ Mgm ∧ 𝑇 ∈ Mgm) ∧ (𝐻:𝐵⟶(Base‘𝑇) ∧ ∀𝑎𝐵𝑏𝐵 (𝐻‘(𝑎(+g𝑆)𝑏)) = ((𝐻𝑎)(+g𝑇)(𝐻𝑏)))))
362, 34, 35sylanbrc 582 1 ((𝑆 ∈ Mgm ∧ 𝑇 ∈ Mnd) → 𝐻 ∈ (𝑆 MgmHom 𝑇))
Colors of variables: wff setvar class
Syntax hints:  wi 4  wa 395   = wceq 1539  wcel 2108  wral 3063  cmpt 5153  wf 6414  cfv 6418  (class class class)co 7255  Basecbs 16840  +gcplusg 16888  0gc0g 17067  Mgmcmgm 18239  Mndcmnd 18300   MgmHom cmgmhm 45219
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1799  ax-4 1813  ax-5 1914  ax-6 1972  ax-7 2012  ax-8 2110  ax-9 2118  ax-10 2139  ax-11 2156  ax-12 2173  ax-ext 2709  ax-sep 5218  ax-nul 5225  ax-pow 5283  ax-pr 5347  ax-un 7566
This theorem depends on definitions:  df-bi 206  df-an 396  df-or 844  df-3an 1087  df-tru 1542  df-fal 1552  df-ex 1784  df-nf 1788  df-sb 2069  df-mo 2540  df-eu 2569  df-clab 2716  df-cleq 2730  df-clel 2817  df-nfc 2888  df-ne 2943  df-ral 3068  df-rex 3069  df-reu 3070  df-rmo 3071  df-rab 3072  df-v 3424  df-sbc 3712  df-csb 3829  df-dif 3886  df-un 3888  df-in 3890  df-ss 3900  df-nul 4254  df-if 4457  df-pw 4532  df-sn 4559  df-pr 4561  df-op 4565  df-uni 4837  df-br 5071  df-opab 5133  df-mpt 5154  df-id 5480  df-xp 5586  df-rel 5587  df-cnv 5588  df-co 5589  df-dm 5590  df-rn 5591  df-res 5592  df-ima 5593  df-iota 6376  df-fun 6420  df-fn 6421  df-f 6422  df-fv 6426  df-riota 7212  df-ov 7258  df-oprab 7259  df-mpo 7260  df-map 8575  df-0g 17069  df-mgm 18241  df-sgrp 18290  df-mnd 18301  df-mgmhm 45221
This theorem is referenced by:  c0rnghm  45359
  Copyright terms: Public domain W3C validator