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 41680
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 17294 . . 3 (𝑇 ∈ Mnd → 𝑇 ∈ Mgm)
21anim2i 593 . 2 ((𝑆 ∈ Mgm ∧ 𝑇 ∈ Mnd) → (𝑆 ∈ Mgm ∧ 𝑇 ∈ Mgm))
3 eqid 2621 . . . . . . 7 (Base‘𝑇) = (Base‘𝑇)
4 c0mhm.0 . . . . . . 7 0 = (0g𝑇)
53, 4mndidcl 17302 . . . . . 6 (𝑇 ∈ Mnd → 0 ∈ (Base‘𝑇))
65adantl 482 . . . . 5 ((𝑆 ∈ Mgm ∧ 𝑇 ∈ Mnd) → 0 ∈ (Base‘𝑇))
76adantr 481 . . . 4 (((𝑆 ∈ Mgm ∧ 𝑇 ∈ Mnd) ∧ 𝑥𝐵) → 0 ∈ (Base‘𝑇))
8 c0mhm.h . . . 4 𝐻 = (𝑥𝐵0 )
97, 8fmptd 6383 . . 3 ((𝑆 ∈ Mgm ∧ 𝑇 ∈ Mnd) → 𝐻:𝐵⟶(Base‘𝑇))
105ancli 574 . . . . . . . 8 (𝑇 ∈ Mnd → (𝑇 ∈ Mnd ∧ 0 ∈ (Base‘𝑇)))
1110adantl 482 . . . . . . 7 ((𝑆 ∈ Mgm ∧ 𝑇 ∈ Mnd) → (𝑇 ∈ Mnd ∧ 0 ∈ (Base‘𝑇)))
12 eqid 2621 . . . . . . . 8 (+g𝑇) = (+g𝑇)
133, 12, 4mndlid 17305 . . . . . . 7 ((𝑇 ∈ Mnd ∧ 0 ∈ (Base‘𝑇)) → ( 0 (+g𝑇) 0 ) = 0 )
1411, 13syl 17 . . . . . 6 ((𝑆 ∈ Mgm ∧ 𝑇 ∈ Mnd) → ( 0 (+g𝑇) 0 ) = 0 )
1514adantr 481 . . . . 5 (((𝑆 ∈ Mgm ∧ 𝑇 ∈ Mnd) ∧ (𝑎𝐵𝑏𝐵)) → ( 0 (+g𝑇) 0 ) = 0 )
168a1i 11 . . . . . . 7 (((𝑆 ∈ Mgm ∧ 𝑇 ∈ Mnd) ∧ (𝑎𝐵𝑏𝐵)) → 𝐻 = (𝑥𝐵0 ))
17 eqidd 2622 . . . . . . 7 ((((𝑆 ∈ Mgm ∧ 𝑇 ∈ Mnd) ∧ (𝑎𝐵𝑏𝐵)) ∧ 𝑥 = 𝑎) → 0 = 0 )
18 simprl 794 . . . . . . 7 (((𝑆 ∈ Mgm ∧ 𝑇 ∈ Mnd) ∧ (𝑎𝐵𝑏𝐵)) → 𝑎𝐵)
196adantr 481 . . . . . . 7 (((𝑆 ∈ Mgm ∧ 𝑇 ∈ Mnd) ∧ (𝑎𝐵𝑏𝐵)) → 0 ∈ (Base‘𝑇))
2016, 17, 18, 19fvmptd 6286 . . . . . 6 (((𝑆 ∈ Mgm ∧ 𝑇 ∈ Mnd) ∧ (𝑎𝐵𝑏𝐵)) → (𝐻𝑎) = 0 )
21 eqidd 2622 . . . . . . 7 ((((𝑆 ∈ Mgm ∧ 𝑇 ∈ Mnd) ∧ (𝑎𝐵𝑏𝐵)) ∧ 𝑥 = 𝑏) → 0 = 0 )
22 simprr 796 . . . . . . 7 (((𝑆 ∈ Mgm ∧ 𝑇 ∈ Mnd) ∧ (𝑎𝐵𝑏𝐵)) → 𝑏𝐵)
2316, 21, 22, 19fvmptd 6286 . . . . . 6 (((𝑆 ∈ Mgm ∧ 𝑇 ∈ Mnd) ∧ (𝑎𝐵𝑏𝐵)) → (𝐻𝑏) = 0 )
2420, 23oveq12d 6665 . . . . 5 (((𝑆 ∈ Mgm ∧ 𝑇 ∈ Mnd) ∧ (𝑎𝐵𝑏𝐵)) → ((𝐻𝑎)(+g𝑇)(𝐻𝑏)) = ( 0 (+g𝑇) 0 ))
25 eqidd 2622 . . . . . 6 ((((𝑆 ∈ Mgm ∧ 𝑇 ∈ Mnd) ∧ (𝑎𝐵𝑏𝐵)) ∧ 𝑥 = (𝑎(+g𝑆)𝑏)) → 0 = 0 )
26 c0mhm.b . . . . . . . . 9 𝐵 = (Base‘𝑆)
27 eqid 2621 . . . . . . . . 9 (+g𝑆) = (+g𝑆)
2826, 27mgmcl 17239 . . . . . . . 8 ((𝑆 ∈ Mgm ∧ 𝑎𝐵𝑏𝐵) → (𝑎(+g𝑆)𝑏) ∈ 𝐵)
29283expb 1265 . . . . . . 7 ((𝑆 ∈ Mgm ∧ (𝑎𝐵𝑏𝐵)) → (𝑎(+g𝑆)𝑏) ∈ 𝐵)
3029adantlr 751 . . . . . 6 (((𝑆 ∈ Mgm ∧ 𝑇 ∈ Mnd) ∧ (𝑎𝐵𝑏𝐵)) → (𝑎(+g𝑆)𝑏) ∈ 𝐵)
3116, 25, 30, 19fvmptd 6286 . . . . 5 (((𝑆 ∈ Mgm ∧ 𝑇 ∈ Mnd) ∧ (𝑎𝐵𝑏𝐵)) → (𝐻‘(𝑎(+g𝑆)𝑏)) = 0 )
3215, 24, 313eqtr4rd 2666 . . . 4 (((𝑆 ∈ Mgm ∧ 𝑇 ∈ Mnd) ∧ (𝑎𝐵𝑏𝐵)) → (𝐻‘(𝑎(+g𝑆)𝑏)) = ((𝐻𝑎)(+g𝑇)(𝐻𝑏)))
3332ralrimivva 2970 . . 3 ((𝑆 ∈ Mgm ∧ 𝑇 ∈ Mnd) → ∀𝑎𝐵𝑏𝐵 (𝐻‘(𝑎(+g𝑆)𝑏)) = ((𝐻𝑎)(+g𝑇)(𝐻𝑏)))
349, 33jca 554 . 2 ((𝑆 ∈ Mgm ∧ 𝑇 ∈ Mnd) → (𝐻:𝐵⟶(Base‘𝑇) ∧ ∀𝑎𝐵𝑏𝐵 (𝐻‘(𝑎(+g𝑆)𝑏)) = ((𝐻𝑎)(+g𝑇)(𝐻𝑏))))
3526, 3, 27, 12ismgmhm 41554 . 2 (𝐻 ∈ (𝑆 MgmHom 𝑇) ↔ ((𝑆 ∈ Mgm ∧ 𝑇 ∈ Mgm) ∧ (𝐻:𝐵⟶(Base‘𝑇) ∧ ∀𝑎𝐵𝑏𝐵 (𝐻‘(𝑎(+g𝑆)𝑏)) = ((𝐻𝑎)(+g𝑇)(𝐻𝑏)))))
362, 34, 35sylanbrc 698 1 ((𝑆 ∈ Mgm ∧ 𝑇 ∈ Mnd) → 𝐻 ∈ (𝑆 MgmHom 𝑇))
Colors of variables: wff setvar class
Syntax hints:  wi 4  wa 384   = wceq 1482  wcel 1989  wral 2911  cmpt 4727  wf 5882  cfv 5886  (class class class)co 6647  Basecbs 15851  +gcplusg 15935  0gc0g 16094  Mgmcmgm 17234  Mndcmnd 17288   MgmHom cmgmhm 41548
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1721  ax-4 1736  ax-5 1838  ax-6 1887  ax-7 1934  ax-8 1991  ax-9 1998  ax-10 2018  ax-11 2033  ax-12 2046  ax-13 2245  ax-ext 2601  ax-sep 4779  ax-nul 4787  ax-pow 4841  ax-pr 4904  ax-un 6946
This theorem depends on definitions:  df-bi 197  df-or 385  df-an 386  df-3an 1039  df-tru 1485  df-ex 1704  df-nf 1709  df-sb 1880  df-eu 2473  df-mo 2474  df-clab 2608  df-cleq 2614  df-clel 2617  df-nfc 2752  df-ne 2794  df-ral 2916  df-rex 2917  df-reu 2918  df-rmo 2919  df-rab 2920  df-v 3200  df-sbc 3434  df-csb 3532  df-dif 3575  df-un 3577  df-in 3579  df-ss 3586  df-nul 3914  df-if 4085  df-pw 4158  df-sn 4176  df-pr 4178  df-op 4182  df-uni 4435  df-br 4652  df-opab 4711  df-mpt 4728  df-id 5022  df-xp 5118  df-rel 5119  df-cnv 5120  df-co 5121  df-dm 5122  df-rn 5123  df-res 5124  df-ima 5125  df-iota 5849  df-fun 5888  df-fn 5889  df-f 5890  df-fv 5894  df-riota 6608  df-ov 6650  df-oprab 6651  df-mpt2 6652  df-map 7856  df-0g 16096  df-mgm 17236  df-sgrp 17278  df-mnd 17289  df-mgmhm 41550
This theorem is referenced by:  c0rnghm  41684
  Copyright terms: Public domain W3C validator