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

Theorem c0snmgmhm 45145
Description: The constant mapping to zero is a magma homomorphism from a magma with one element to any monoid. (Contributed by AV, 17-Apr-2020.)
Hypotheses
Ref Expression
zrrhm.b 𝐵 = (Base‘𝑇)
zrrhm.0 0 = (0g𝑆)
zrrhm.h 𝐻 = (𝑥𝐵0 )
Assertion
Ref Expression
c0snmgmhm ((𝑆 ∈ Mnd ∧ 𝑇 ∈ Mgm ∧ (♯‘𝐵) = 1) → 𝐻 ∈ (𝑇 MgmHom 𝑆))
Distinct variable groups:   𝑥,𝐵   𝑥,𝑆   𝑥,𝑇   𝑥, 0
Allowed substitution hint:   𝐻(𝑥)

Proof of Theorem c0snmgmhm
Dummy variables 𝑎 𝑏 𝑐 are mutually distinct and distinct from all other variables.
StepHypRef Expression
1 mndmgm 18180 . . . . 5 (𝑆 ∈ Mnd → 𝑆 ∈ Mgm)
21anim1i 618 . . . 4 ((𝑆 ∈ Mnd ∧ 𝑇 ∈ Mgm) → (𝑆 ∈ Mgm ∧ 𝑇 ∈ Mgm))
323adant3 1134 . . 3 ((𝑆 ∈ Mnd ∧ 𝑇 ∈ Mgm ∧ (♯‘𝐵) = 1) → (𝑆 ∈ Mgm ∧ 𝑇 ∈ Mgm))
43ancomd 465 . 2 ((𝑆 ∈ Mnd ∧ 𝑇 ∈ Mgm ∧ (♯‘𝐵) = 1) → (𝑇 ∈ Mgm ∧ 𝑆 ∈ Mgm))
5 zrrhm.b . . . . . 6 𝐵 = (Base‘𝑇)
65fvexi 6731 . . . . 5 𝐵 ∈ V
7 hash1snb 13986 . . . . 5 (𝐵 ∈ V → ((♯‘𝐵) = 1 ↔ ∃𝑏 𝐵 = {𝑏}))
86, 7ax-mp 5 . . . 4 ((♯‘𝐵) = 1 ↔ ∃𝑏 𝐵 = {𝑏})
9 eqid 2737 . . . . . . . . . . . 12 (Base‘𝑆) = (Base‘𝑆)
10 zrrhm.0 . . . . . . . . . . . 12 0 = (0g𝑆)
119, 10mndidcl 18188 . . . . . . . . . . 11 (𝑆 ∈ Mnd → 0 ∈ (Base‘𝑆))
1211adantr 484 . . . . . . . . . 10 ((𝑆 ∈ Mnd ∧ 𝑇 ∈ Mgm) → 0 ∈ (Base‘𝑆))
1312adantr 484 . . . . . . . . 9 (((𝑆 ∈ Mnd ∧ 𝑇 ∈ Mgm) ∧ 𝐵 = {𝑏}) → 0 ∈ (Base‘𝑆))
1413adantr 484 . . . . . . . 8 ((((𝑆 ∈ Mnd ∧ 𝑇 ∈ Mgm) ∧ 𝐵 = {𝑏}) ∧ 𝑥𝐵) → 0 ∈ (Base‘𝑆))
15 zrrhm.h . . . . . . . 8 𝐻 = (𝑥𝐵0 )
1614, 15fmptd 6931 . . . . . . 7 (((𝑆 ∈ Mnd ∧ 𝑇 ∈ Mgm) ∧ 𝐵 = {𝑏}) → 𝐻:𝐵⟶(Base‘𝑆))
1715a1i 11 . . . . . . . . . 10 (((𝑆 ∈ Mnd ∧ 𝑇 ∈ Mgm) ∧ 𝐵 = {𝑏}) → 𝐻 = (𝑥𝐵0 ))
18 eqidd 2738 . . . . . . . . . 10 ((((𝑆 ∈ Mnd ∧ 𝑇 ∈ Mgm) ∧ 𝐵 = {𝑏}) ∧ 𝑥 = 𝑏) → 0 = 0 )
19 vsnid 4578 . . . . . . . . . . . . 13 𝑏 ∈ {𝑏}
2019a1i 11 . . . . . . . . . . . 12 (𝐵 = {𝑏} → 𝑏 ∈ {𝑏})
21 eleq2 2826 . . . . . . . . . . . 12 (𝐵 = {𝑏} → (𝑏𝐵𝑏 ∈ {𝑏}))
2220, 21mpbird 260 . . . . . . . . . . 11 (𝐵 = {𝑏} → 𝑏𝐵)
2322adantl 485 . . . . . . . . . 10 (((𝑆 ∈ Mnd ∧ 𝑇 ∈ Mgm) ∧ 𝐵 = {𝑏}) → 𝑏𝐵)
2417, 18, 23, 13fvmptd 6825 . . . . . . . . 9 (((𝑆 ∈ Mnd ∧ 𝑇 ∈ Mgm) ∧ 𝐵 = {𝑏}) → (𝐻𝑏) = 0 )
25 simpr 488 . . . . . . . . . . 11 ((((𝑆 ∈ Mnd ∧ 𝑇 ∈ Mgm) ∧ 𝐵 = {𝑏}) ∧ (𝐻𝑏) = 0 ) → (𝐻𝑏) = 0 )
2625, 25oveq12d 7231 . . . . . . . . . 10 ((((𝑆 ∈ Mnd ∧ 𝑇 ∈ Mgm) ∧ 𝐵 = {𝑏}) ∧ (𝐻𝑏) = 0 ) → ((𝐻𝑏)(+g𝑆)(𝐻𝑏)) = ( 0 (+g𝑆) 0 ))
27 eqid 2737 . . . . . . . . . . . . . . 15 (+g𝑆) = (+g𝑆)
289, 27, 10mndlid 18193 . . . . . . . . . . . . . 14 ((𝑆 ∈ Mnd ∧ 0 ∈ (Base‘𝑆)) → ( 0 (+g𝑆) 0 ) = 0 )
2911, 28mpdan 687 . . . . . . . . . . . . 13 (𝑆 ∈ Mnd → ( 0 (+g𝑆) 0 ) = 0 )
3029adantr 484 . . . . . . . . . . . 12 ((𝑆 ∈ Mnd ∧ 𝑇 ∈ Mgm) → ( 0 (+g𝑆) 0 ) = 0 )
3130adantr 484 . . . . . . . . . . 11 (((𝑆 ∈ Mnd ∧ 𝑇 ∈ Mgm) ∧ 𝐵 = {𝑏}) → ( 0 (+g𝑆) 0 ) = 0 )
3231adantr 484 . . . . . . . . . 10 ((((𝑆 ∈ Mnd ∧ 𝑇 ∈ Mgm) ∧ 𝐵 = {𝑏}) ∧ (𝐻𝑏) = 0 ) → ( 0 (+g𝑆) 0 ) = 0 )
33 simpr 488 . . . . . . . . . . . . . . . . . 18 ((𝑆 ∈ Mnd ∧ 𝑇 ∈ Mgm) → 𝑇 ∈ Mgm)
3433adantr 484 . . . . . . . . . . . . . . . . 17 (((𝑆 ∈ Mnd ∧ 𝑇 ∈ Mgm) ∧ 𝐵 = {𝑏}) → 𝑇 ∈ Mgm)
3534adantr 484 . . . . . . . . . . . . . . . 16 ((((𝑆 ∈ Mnd ∧ 𝑇 ∈ Mgm) ∧ 𝐵 = {𝑏}) ∧ 𝑏𝐵) → 𝑇 ∈ Mgm)
36 simpr 488 . . . . . . . . . . . . . . . 16 ((((𝑆 ∈ Mnd ∧ 𝑇 ∈ Mgm) ∧ 𝐵 = {𝑏}) ∧ 𝑏𝐵) → 𝑏𝐵)
37 eqid 2737 . . . . . . . . . . . . . . . . 17 (+g𝑇) = (+g𝑇)
385, 37mgmcl 18117 . . . . . . . . . . . . . . . 16 ((𝑇 ∈ Mgm ∧ 𝑏𝐵𝑏𝐵) → (𝑏(+g𝑇)𝑏) ∈ 𝐵)
3935, 36, 36, 38syl3anc 1373 . . . . . . . . . . . . . . 15 ((((𝑆 ∈ Mnd ∧ 𝑇 ∈ Mgm) ∧ 𝐵 = {𝑏}) ∧ 𝑏𝐵) → (𝑏(+g𝑇)𝑏) ∈ 𝐵)
40 eleq2 2826 . . . . . . . . . . . . . . . . . 18 (𝐵 = {𝑏} → ((𝑏(+g𝑇)𝑏) ∈ 𝐵 ↔ (𝑏(+g𝑇)𝑏) ∈ {𝑏}))
41 elsni 4558 . . . . . . . . . . . . . . . . . 18 ((𝑏(+g𝑇)𝑏) ∈ {𝑏} → (𝑏(+g𝑇)𝑏) = 𝑏)
4240, 41syl6bi 256 . . . . . . . . . . . . . . . . 17 (𝐵 = {𝑏} → ((𝑏(+g𝑇)𝑏) ∈ 𝐵 → (𝑏(+g𝑇)𝑏) = 𝑏))
4342adantl 485 . . . . . . . . . . . . . . . 16 (((𝑆 ∈ Mnd ∧ 𝑇 ∈ Mgm) ∧ 𝐵 = {𝑏}) → ((𝑏(+g𝑇)𝑏) ∈ 𝐵 → (𝑏(+g𝑇)𝑏) = 𝑏))
4443adantr 484 . . . . . . . . . . . . . . 15 ((((𝑆 ∈ Mnd ∧ 𝑇 ∈ Mgm) ∧ 𝐵 = {𝑏}) ∧ 𝑏𝐵) → ((𝑏(+g𝑇)𝑏) ∈ 𝐵 → (𝑏(+g𝑇)𝑏) = 𝑏))
4539, 44mpd 15 . . . . . . . . . . . . . 14 ((((𝑆 ∈ Mnd ∧ 𝑇 ∈ Mgm) ∧ 𝐵 = {𝑏}) ∧ 𝑏𝐵) → (𝑏(+g𝑇)𝑏) = 𝑏)
4623, 45mpdan 687 . . . . . . . . . . . . 13 (((𝑆 ∈ Mnd ∧ 𝑇 ∈ Mgm) ∧ 𝐵 = {𝑏}) → (𝑏(+g𝑇)𝑏) = 𝑏)
4746fveq2d 6721 . . . . . . . . . . . 12 (((𝑆 ∈ Mnd ∧ 𝑇 ∈ Mgm) ∧ 𝐵 = {𝑏}) → (𝐻‘(𝑏(+g𝑇)𝑏)) = (𝐻𝑏))
4847adantr 484 . . . . . . . . . . 11 ((((𝑆 ∈ Mnd ∧ 𝑇 ∈ Mgm) ∧ 𝐵 = {𝑏}) ∧ (𝐻𝑏) = 0 ) → (𝐻‘(𝑏(+g𝑇)𝑏)) = (𝐻𝑏))
4948, 25eqtr2d 2778 . . . . . . . . . 10 ((((𝑆 ∈ Mnd ∧ 𝑇 ∈ Mgm) ∧ 𝐵 = {𝑏}) ∧ (𝐻𝑏) = 0 ) → 0 = (𝐻‘(𝑏(+g𝑇)𝑏)))
5026, 32, 493eqtrrd 2782 . . . . . . . . 9 ((((𝑆 ∈ Mnd ∧ 𝑇 ∈ Mgm) ∧ 𝐵 = {𝑏}) ∧ (𝐻𝑏) = 0 ) → (𝐻‘(𝑏(+g𝑇)𝑏)) = ((𝐻𝑏)(+g𝑆)(𝐻𝑏)))
5124, 50mpdan 687 . . . . . . . 8 (((𝑆 ∈ Mnd ∧ 𝑇 ∈ Mgm) ∧ 𝐵 = {𝑏}) → (𝐻‘(𝑏(+g𝑇)𝑏)) = ((𝐻𝑏)(+g𝑆)(𝐻𝑏)))
52 id 22 . . . . . . . . . . 11 (𝐵 = {𝑏} → 𝐵 = {𝑏})
5352raleqdv 3325 . . . . . . . . . . 11 (𝐵 = {𝑏} → (∀𝑐𝐵 (𝐻‘(𝑎(+g𝑇)𝑐)) = ((𝐻𝑎)(+g𝑆)(𝐻𝑐)) ↔ ∀𝑐 ∈ {𝑏} (𝐻‘(𝑎(+g𝑇)𝑐)) = ((𝐻𝑎)(+g𝑆)(𝐻𝑐))))
5452, 53raleqbidv 3313 . . . . . . . . . 10 (𝐵 = {𝑏} → (∀𝑎𝐵𝑐𝐵 (𝐻‘(𝑎(+g𝑇)𝑐)) = ((𝐻𝑎)(+g𝑆)(𝐻𝑐)) ↔ ∀𝑎 ∈ {𝑏}∀𝑐 ∈ {𝑏} (𝐻‘(𝑎(+g𝑇)𝑐)) = ((𝐻𝑎)(+g𝑆)(𝐻𝑐))))
5554adantl 485 . . . . . . . . 9 (((𝑆 ∈ Mnd ∧ 𝑇 ∈ Mgm) ∧ 𝐵 = {𝑏}) → (∀𝑎𝐵𝑐𝐵 (𝐻‘(𝑎(+g𝑇)𝑐)) = ((𝐻𝑎)(+g𝑆)(𝐻𝑐)) ↔ ∀𝑎 ∈ {𝑏}∀𝑐 ∈ {𝑏} (𝐻‘(𝑎(+g𝑇)𝑐)) = ((𝐻𝑎)(+g𝑆)(𝐻𝑐))))
56 fvoveq1 7236 . . . . . . . . . . . 12 (𝑎 = 𝑏 → (𝐻‘(𝑎(+g𝑇)𝑐)) = (𝐻‘(𝑏(+g𝑇)𝑐)))
57 fveq2 6717 . . . . . . . . . . . . 13 (𝑎 = 𝑏 → (𝐻𝑎) = (𝐻𝑏))
5857oveq1d 7228 . . . . . . . . . . . 12 (𝑎 = 𝑏 → ((𝐻𝑎)(+g𝑆)(𝐻𝑐)) = ((𝐻𝑏)(+g𝑆)(𝐻𝑐)))
5956, 58eqeq12d 2753 . . . . . . . . . . 11 (𝑎 = 𝑏 → ((𝐻‘(𝑎(+g𝑇)𝑐)) = ((𝐻𝑎)(+g𝑆)(𝐻𝑐)) ↔ (𝐻‘(𝑏(+g𝑇)𝑐)) = ((𝐻𝑏)(+g𝑆)(𝐻𝑐))))
60 oveq2 7221 . . . . . . . . . . . . 13 (𝑐 = 𝑏 → (𝑏(+g𝑇)𝑐) = (𝑏(+g𝑇)𝑏))
6160fveq2d 6721 . . . . . . . . . . . 12 (𝑐 = 𝑏 → (𝐻‘(𝑏(+g𝑇)𝑐)) = (𝐻‘(𝑏(+g𝑇)𝑏)))
62 fveq2 6717 . . . . . . . . . . . . 13 (𝑐 = 𝑏 → (𝐻𝑐) = (𝐻𝑏))
6362oveq2d 7229 . . . . . . . . . . . 12 (𝑐 = 𝑏 → ((𝐻𝑏)(+g𝑆)(𝐻𝑐)) = ((𝐻𝑏)(+g𝑆)(𝐻𝑏)))
6461, 63eqeq12d 2753 . . . . . . . . . . 11 (𝑐 = 𝑏 → ((𝐻‘(𝑏(+g𝑇)𝑐)) = ((𝐻𝑏)(+g𝑆)(𝐻𝑐)) ↔ (𝐻‘(𝑏(+g𝑇)𝑏)) = ((𝐻𝑏)(+g𝑆)(𝐻𝑏))))
6559, 642ralsng 4592 . . . . . . . . . 10 ((𝑏 ∈ V ∧ 𝑏 ∈ V) → (∀𝑎 ∈ {𝑏}∀𝑐 ∈ {𝑏} (𝐻‘(𝑎(+g𝑇)𝑐)) = ((𝐻𝑎)(+g𝑆)(𝐻𝑐)) ↔ (𝐻‘(𝑏(+g𝑇)𝑏)) = ((𝐻𝑏)(+g𝑆)(𝐻𝑏))))
6665el2v 3416 . . . . . . . . 9 (∀𝑎 ∈ {𝑏}∀𝑐 ∈ {𝑏} (𝐻‘(𝑎(+g𝑇)𝑐)) = ((𝐻𝑎)(+g𝑆)(𝐻𝑐)) ↔ (𝐻‘(𝑏(+g𝑇)𝑏)) = ((𝐻𝑏)(+g𝑆)(𝐻𝑏)))
6755, 66bitrdi 290 . . . . . . . 8 (((𝑆 ∈ Mnd ∧ 𝑇 ∈ Mgm) ∧ 𝐵 = {𝑏}) → (∀𝑎𝐵𝑐𝐵 (𝐻‘(𝑎(+g𝑇)𝑐)) = ((𝐻𝑎)(+g𝑆)(𝐻𝑐)) ↔ (𝐻‘(𝑏(+g𝑇)𝑏)) = ((𝐻𝑏)(+g𝑆)(𝐻𝑏))))
6851, 67mpbird 260 . . . . . . 7 (((𝑆 ∈ Mnd ∧ 𝑇 ∈ Mgm) ∧ 𝐵 = {𝑏}) → ∀𝑎𝐵𝑐𝐵 (𝐻‘(𝑎(+g𝑇)𝑐)) = ((𝐻𝑎)(+g𝑆)(𝐻𝑐)))
6916, 68jca 515 . . . . . 6 (((𝑆 ∈ Mnd ∧ 𝑇 ∈ Mgm) ∧ 𝐵 = {𝑏}) → (𝐻:𝐵⟶(Base‘𝑆) ∧ ∀𝑎𝐵𝑐𝐵 (𝐻‘(𝑎(+g𝑇)𝑐)) = ((𝐻𝑎)(+g𝑆)(𝐻𝑐))))
7069ex 416 . . . . 5 ((𝑆 ∈ Mnd ∧ 𝑇 ∈ Mgm) → (𝐵 = {𝑏} → (𝐻:𝐵⟶(Base‘𝑆) ∧ ∀𝑎𝐵𝑐𝐵 (𝐻‘(𝑎(+g𝑇)𝑐)) = ((𝐻𝑎)(+g𝑆)(𝐻𝑐)))))
7170exlimdv 1941 . . . 4 ((𝑆 ∈ Mnd ∧ 𝑇 ∈ Mgm) → (∃𝑏 𝐵 = {𝑏} → (𝐻:𝐵⟶(Base‘𝑆) ∧ ∀𝑎𝐵𝑐𝐵 (𝐻‘(𝑎(+g𝑇)𝑐)) = ((𝐻𝑎)(+g𝑆)(𝐻𝑐)))))
728, 71syl5bi 245 . . 3 ((𝑆 ∈ Mnd ∧ 𝑇 ∈ Mgm) → ((♯‘𝐵) = 1 → (𝐻:𝐵⟶(Base‘𝑆) ∧ ∀𝑎𝐵𝑐𝐵 (𝐻‘(𝑎(+g𝑇)𝑐)) = ((𝐻𝑎)(+g𝑆)(𝐻𝑐)))))
73723impia 1119 . 2 ((𝑆 ∈ Mnd ∧ 𝑇 ∈ Mgm ∧ (♯‘𝐵) = 1) → (𝐻:𝐵⟶(Base‘𝑆) ∧ ∀𝑎𝐵𝑐𝐵 (𝐻‘(𝑎(+g𝑇)𝑐)) = ((𝐻𝑎)(+g𝑆)(𝐻𝑐))))
745, 9, 37, 27ismgmhm 45010 . 2 (𝐻 ∈ (𝑇 MgmHom 𝑆) ↔ ((𝑇 ∈ Mgm ∧ 𝑆 ∈ Mgm) ∧ (𝐻:𝐵⟶(Base‘𝑆) ∧ ∀𝑎𝐵𝑐𝐵 (𝐻‘(𝑎(+g𝑇)𝑐)) = ((𝐻𝑎)(+g𝑆)(𝐻𝑐)))))
754, 73, 74sylanbrc 586 1 ((𝑆 ∈ Mnd ∧ 𝑇 ∈ Mgm ∧ (♯‘𝐵) = 1) → 𝐻 ∈ (𝑇 MgmHom 𝑆))
Colors of variables: wff setvar class
Syntax hints:  wi 4  wb 209  wa 399  w3a 1089   = wceq 1543  wex 1787  wcel 2110  wral 3061  Vcvv 3408  {csn 4541  cmpt 5135  wf 6376  cfv 6380  (class class class)co 7213  1c1 10730  chash 13896  Basecbs 16760  +gcplusg 16802  0gc0g 16944  Mgmcmgm 18112  Mndcmnd 18173   MgmHom cmgmhm 45004
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1803  ax-4 1817  ax-5 1918  ax-6 1976  ax-7 2016  ax-8 2112  ax-9 2120  ax-10 2141  ax-11 2158  ax-12 2175  ax-ext 2708  ax-sep 5192  ax-nul 5199  ax-pow 5258  ax-pr 5322  ax-un 7523  ax-cnex 10785  ax-resscn 10786  ax-1cn 10787  ax-icn 10788  ax-addcl 10789  ax-addrcl 10790  ax-mulcl 10791  ax-mulrcl 10792  ax-mulcom 10793  ax-addass 10794  ax-mulass 10795  ax-distr 10796  ax-i2m1 10797  ax-1ne0 10798  ax-1rid 10799  ax-rnegex 10800  ax-rrecex 10801  ax-cnre 10802  ax-pre-lttri 10803  ax-pre-lttrn 10804  ax-pre-ltadd 10805  ax-pre-mulgt0 10806
This theorem depends on definitions:  df-bi 210  df-an 400  df-or 848  df-3or 1090  df-3an 1091  df-tru 1546  df-fal 1556  df-ex 1788  df-nf 1792  df-sb 2071  df-mo 2539  df-eu 2568  df-clab 2715  df-cleq 2729  df-clel 2816  df-nfc 2886  df-ne 2941  df-nel 3047  df-ral 3066  df-rex 3067  df-reu 3068  df-rmo 3069  df-rab 3070  df-v 3410  df-sbc 3695  df-csb 3812  df-dif 3869  df-un 3871  df-in 3873  df-ss 3883  df-pss 3885  df-nul 4238  df-if 4440  df-pw 4515  df-sn 4542  df-pr 4544  df-tp 4546  df-op 4548  df-uni 4820  df-int 4860  df-iun 4906  df-br 5054  df-opab 5116  df-mpt 5136  df-tr 5162  df-id 5455  df-eprel 5460  df-po 5468  df-so 5469  df-fr 5509  df-we 5511  df-xp 5557  df-rel 5558  df-cnv 5559  df-co 5560  df-dm 5561  df-rn 5562  df-res 5563  df-ima 5564  df-pred 6160  df-ord 6216  df-on 6217  df-lim 6218  df-suc 6219  df-iota 6338  df-fun 6382  df-fn 6383  df-f 6384  df-f1 6385  df-fo 6386  df-f1o 6387  df-fv 6388  df-riota 7170  df-ov 7216  df-oprab 7217  df-mpo 7218  df-om 7645  df-1st 7761  df-2nd 7762  df-wrecs 8047  df-recs 8108  df-rdg 8146  df-1o 8202  df-oadd 8206  df-er 8391  df-map 8510  df-en 8627  df-dom 8628  df-sdom 8629  df-fin 8630  df-dju 9517  df-card 9555  df-pnf 10869  df-mnf 10870  df-xr 10871  df-ltxr 10872  df-le 10873  df-sub 11064  df-neg 11065  df-nn 11831  df-n0 12091  df-z 12177  df-uz 12439  df-fz 13096  df-hash 13897  df-0g 16946  df-mgm 18114  df-sgrp 18163  df-mnd 18174  df-mgmhm 45006
This theorem is referenced by:  c0snmhm  45146
  Copyright terms: Public domain W3C validator