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 45424
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 18373 . . . . 5 (𝑆 ∈ Mnd → 𝑆 ∈ Mgm)
21anim1i 614 . . . 4 ((𝑆 ∈ Mnd ∧ 𝑇 ∈ Mgm) → (𝑆 ∈ Mgm ∧ 𝑇 ∈ Mgm))
323adant3 1130 . . 3 ((𝑆 ∈ Mnd ∧ 𝑇 ∈ Mgm ∧ (♯‘𝐵) = 1) → (𝑆 ∈ Mgm ∧ 𝑇 ∈ Mgm))
43ancomd 461 . 2 ((𝑆 ∈ Mnd ∧ 𝑇 ∈ Mgm ∧ (♯‘𝐵) = 1) → (𝑇 ∈ Mgm ∧ 𝑆 ∈ Mgm))
5 zrrhm.b . . . . . 6 𝐵 = (Base‘𝑇)
65fvexi 6782 . . . . 5 𝐵 ∈ V
7 hash1snb 14115 . . . . 5 (𝐵 ∈ V → ((♯‘𝐵) = 1 ↔ ∃𝑏 𝐵 = {𝑏}))
86, 7ax-mp 5 . . . 4 ((♯‘𝐵) = 1 ↔ ∃𝑏 𝐵 = {𝑏})
9 eqid 2739 . . . . . . . . . . . 12 (Base‘𝑆) = (Base‘𝑆)
10 zrrhm.0 . . . . . . . . . . . 12 0 = (0g𝑆)
119, 10mndidcl 18381 . . . . . . . . . . 11 (𝑆 ∈ Mnd → 0 ∈ (Base‘𝑆))
1211adantr 480 . . . . . . . . . 10 ((𝑆 ∈ Mnd ∧ 𝑇 ∈ Mgm) → 0 ∈ (Base‘𝑆))
1312adantr 480 . . . . . . . . 9 (((𝑆 ∈ Mnd ∧ 𝑇 ∈ Mgm) ∧ 𝐵 = {𝑏}) → 0 ∈ (Base‘𝑆))
1413adantr 480 . . . . . . . 8 ((((𝑆 ∈ Mnd ∧ 𝑇 ∈ Mgm) ∧ 𝐵 = {𝑏}) ∧ 𝑥𝐵) → 0 ∈ (Base‘𝑆))
15 zrrhm.h . . . . . . . 8 𝐻 = (𝑥𝐵0 )
1614, 15fmptd 6982 . . . . . . 7 (((𝑆 ∈ Mnd ∧ 𝑇 ∈ Mgm) ∧ 𝐵 = {𝑏}) → 𝐻:𝐵⟶(Base‘𝑆))
1715a1i 11 . . . . . . . . . 10 (((𝑆 ∈ Mnd ∧ 𝑇 ∈ Mgm) ∧ 𝐵 = {𝑏}) → 𝐻 = (𝑥𝐵0 ))
18 eqidd 2740 . . . . . . . . . 10 ((((𝑆 ∈ Mnd ∧ 𝑇 ∈ Mgm) ∧ 𝐵 = {𝑏}) ∧ 𝑥 = 𝑏) → 0 = 0 )
19 vsnid 4603 . . . . . . . . . . . . 13 𝑏 ∈ {𝑏}
2019a1i 11 . . . . . . . . . . . 12 (𝐵 = {𝑏} → 𝑏 ∈ {𝑏})
21 eleq2 2828 . . . . . . . . . . . 12 (𝐵 = {𝑏} → (𝑏𝐵𝑏 ∈ {𝑏}))
2220, 21mpbird 256 . . . . . . . . . . 11 (𝐵 = {𝑏} → 𝑏𝐵)
2322adantl 481 . . . . . . . . . 10 (((𝑆 ∈ Mnd ∧ 𝑇 ∈ Mgm) ∧ 𝐵 = {𝑏}) → 𝑏𝐵)
2417, 18, 23, 13fvmptd 6876 . . . . . . . . 9 (((𝑆 ∈ Mnd ∧ 𝑇 ∈ Mgm) ∧ 𝐵 = {𝑏}) → (𝐻𝑏) = 0 )
25 simpr 484 . . . . . . . . . . 11 ((((𝑆 ∈ Mnd ∧ 𝑇 ∈ Mgm) ∧ 𝐵 = {𝑏}) ∧ (𝐻𝑏) = 0 ) → (𝐻𝑏) = 0 )
2625, 25oveq12d 7286 . . . . . . . . . 10 ((((𝑆 ∈ Mnd ∧ 𝑇 ∈ Mgm) ∧ 𝐵 = {𝑏}) ∧ (𝐻𝑏) = 0 ) → ((𝐻𝑏)(+g𝑆)(𝐻𝑏)) = ( 0 (+g𝑆) 0 ))
27 eqid 2739 . . . . . . . . . . . . . . 15 (+g𝑆) = (+g𝑆)
289, 27, 10mndlid 18386 . . . . . . . . . . . . . 14 ((𝑆 ∈ Mnd ∧ 0 ∈ (Base‘𝑆)) → ( 0 (+g𝑆) 0 ) = 0 )
2911, 28mpdan 683 . . . . . . . . . . . . 13 (𝑆 ∈ Mnd → ( 0 (+g𝑆) 0 ) = 0 )
3029adantr 480 . . . . . . . . . . . 12 ((𝑆 ∈ Mnd ∧ 𝑇 ∈ Mgm) → ( 0 (+g𝑆) 0 ) = 0 )
3130adantr 480 . . . . . . . . . . 11 (((𝑆 ∈ Mnd ∧ 𝑇 ∈ Mgm) ∧ 𝐵 = {𝑏}) → ( 0 (+g𝑆) 0 ) = 0 )
3231adantr 480 . . . . . . . . . 10 ((((𝑆 ∈ Mnd ∧ 𝑇 ∈ Mgm) ∧ 𝐵 = {𝑏}) ∧ (𝐻𝑏) = 0 ) → ( 0 (+g𝑆) 0 ) = 0 )
33 simpr 484 . . . . . . . . . . . . . . . . . 18 ((𝑆 ∈ Mnd ∧ 𝑇 ∈ Mgm) → 𝑇 ∈ Mgm)
3433adantr 480 . . . . . . . . . . . . . . . . 17 (((𝑆 ∈ Mnd ∧ 𝑇 ∈ Mgm) ∧ 𝐵 = {𝑏}) → 𝑇 ∈ Mgm)
3534adantr 480 . . . . . . . . . . . . . . . 16 ((((𝑆 ∈ Mnd ∧ 𝑇 ∈ Mgm) ∧ 𝐵 = {𝑏}) ∧ 𝑏𝐵) → 𝑇 ∈ Mgm)
36 simpr 484 . . . . . . . . . . . . . . . 16 ((((𝑆 ∈ Mnd ∧ 𝑇 ∈ Mgm) ∧ 𝐵 = {𝑏}) ∧ 𝑏𝐵) → 𝑏𝐵)
37 eqid 2739 . . . . . . . . . . . . . . . . 17 (+g𝑇) = (+g𝑇)
385, 37mgmcl 18310 . . . . . . . . . . . . . . . 16 ((𝑇 ∈ Mgm ∧ 𝑏𝐵𝑏𝐵) → (𝑏(+g𝑇)𝑏) ∈ 𝐵)
3935, 36, 36, 38syl3anc 1369 . . . . . . . . . . . . . . 15 ((((𝑆 ∈ Mnd ∧ 𝑇 ∈ Mgm) ∧ 𝐵 = {𝑏}) ∧ 𝑏𝐵) → (𝑏(+g𝑇)𝑏) ∈ 𝐵)
40 eleq2 2828 . . . . . . . . . . . . . . . . . 18 (𝐵 = {𝑏} → ((𝑏(+g𝑇)𝑏) ∈ 𝐵 ↔ (𝑏(+g𝑇)𝑏) ∈ {𝑏}))
41 elsni 4583 . . . . . . . . . . . . . . . . . 18 ((𝑏(+g𝑇)𝑏) ∈ {𝑏} → (𝑏(+g𝑇)𝑏) = 𝑏)
4240, 41syl6bi 252 . . . . . . . . . . . . . . . . 17 (𝐵 = {𝑏} → ((𝑏(+g𝑇)𝑏) ∈ 𝐵 → (𝑏(+g𝑇)𝑏) = 𝑏))
4342adantl 481 . . . . . . . . . . . . . . . 16 (((𝑆 ∈ Mnd ∧ 𝑇 ∈ Mgm) ∧ 𝐵 = {𝑏}) → ((𝑏(+g𝑇)𝑏) ∈ 𝐵 → (𝑏(+g𝑇)𝑏) = 𝑏))
4443adantr 480 . . . . . . . . . . . . . . 15 ((((𝑆 ∈ Mnd ∧ 𝑇 ∈ Mgm) ∧ 𝐵 = {𝑏}) ∧ 𝑏𝐵) → ((𝑏(+g𝑇)𝑏) ∈ 𝐵 → (𝑏(+g𝑇)𝑏) = 𝑏))
4539, 44mpd 15 . . . . . . . . . . . . . 14 ((((𝑆 ∈ Mnd ∧ 𝑇 ∈ Mgm) ∧ 𝐵 = {𝑏}) ∧ 𝑏𝐵) → (𝑏(+g𝑇)𝑏) = 𝑏)
4623, 45mpdan 683 . . . . . . . . . . . . 13 (((𝑆 ∈ Mnd ∧ 𝑇 ∈ Mgm) ∧ 𝐵 = {𝑏}) → (𝑏(+g𝑇)𝑏) = 𝑏)
4746fveq2d 6772 . . . . . . . . . . . 12 (((𝑆 ∈ Mnd ∧ 𝑇 ∈ Mgm) ∧ 𝐵 = {𝑏}) → (𝐻‘(𝑏(+g𝑇)𝑏)) = (𝐻𝑏))
4847adantr 480 . . . . . . . . . . 11 ((((𝑆 ∈ Mnd ∧ 𝑇 ∈ Mgm) ∧ 𝐵 = {𝑏}) ∧ (𝐻𝑏) = 0 ) → (𝐻‘(𝑏(+g𝑇)𝑏)) = (𝐻𝑏))
4948, 25eqtr2d 2780 . . . . . . . . . 10 ((((𝑆 ∈ Mnd ∧ 𝑇 ∈ Mgm) ∧ 𝐵 = {𝑏}) ∧ (𝐻𝑏) = 0 ) → 0 = (𝐻‘(𝑏(+g𝑇)𝑏)))
5026, 32, 493eqtrrd 2784 . . . . . . . . 9 ((((𝑆 ∈ Mnd ∧ 𝑇 ∈ Mgm) ∧ 𝐵 = {𝑏}) ∧ (𝐻𝑏) = 0 ) → (𝐻‘(𝑏(+g𝑇)𝑏)) = ((𝐻𝑏)(+g𝑆)(𝐻𝑏)))
5124, 50mpdan 683 . . . . . . . 8 (((𝑆 ∈ Mnd ∧ 𝑇 ∈ Mgm) ∧ 𝐵 = {𝑏}) → (𝐻‘(𝑏(+g𝑇)𝑏)) = ((𝐻𝑏)(+g𝑆)(𝐻𝑏)))
52 id 22 . . . . . . . . . . 11 (𝐵 = {𝑏} → 𝐵 = {𝑏})
5352raleqdv 3346 . . . . . . . . . . 11 (𝐵 = {𝑏} → (∀𝑐𝐵 (𝐻‘(𝑎(+g𝑇)𝑐)) = ((𝐻𝑎)(+g𝑆)(𝐻𝑐)) ↔ ∀𝑐 ∈ {𝑏} (𝐻‘(𝑎(+g𝑇)𝑐)) = ((𝐻𝑎)(+g𝑆)(𝐻𝑐))))
5452, 53raleqbidv 3334 . . . . . . . . . 10 (𝐵 = {𝑏} → (∀𝑎𝐵𝑐𝐵 (𝐻‘(𝑎(+g𝑇)𝑐)) = ((𝐻𝑎)(+g𝑆)(𝐻𝑐)) ↔ ∀𝑎 ∈ {𝑏}∀𝑐 ∈ {𝑏} (𝐻‘(𝑎(+g𝑇)𝑐)) = ((𝐻𝑎)(+g𝑆)(𝐻𝑐))))
5554adantl 481 . . . . . . . . 9 (((𝑆 ∈ Mnd ∧ 𝑇 ∈ Mgm) ∧ 𝐵 = {𝑏}) → (∀𝑎𝐵𝑐𝐵 (𝐻‘(𝑎(+g𝑇)𝑐)) = ((𝐻𝑎)(+g𝑆)(𝐻𝑐)) ↔ ∀𝑎 ∈ {𝑏}∀𝑐 ∈ {𝑏} (𝐻‘(𝑎(+g𝑇)𝑐)) = ((𝐻𝑎)(+g𝑆)(𝐻𝑐))))
56 fvoveq1 7291 . . . . . . . . . . . 12 (𝑎 = 𝑏 → (𝐻‘(𝑎(+g𝑇)𝑐)) = (𝐻‘(𝑏(+g𝑇)𝑐)))
57 fveq2 6768 . . . . . . . . . . . . 13 (𝑎 = 𝑏 → (𝐻𝑎) = (𝐻𝑏))
5857oveq1d 7283 . . . . . . . . . . . 12 (𝑎 = 𝑏 → ((𝐻𝑎)(+g𝑆)(𝐻𝑐)) = ((𝐻𝑏)(+g𝑆)(𝐻𝑐)))
5956, 58eqeq12d 2755 . . . . . . . . . . 11 (𝑎 = 𝑏 → ((𝐻‘(𝑎(+g𝑇)𝑐)) = ((𝐻𝑎)(+g𝑆)(𝐻𝑐)) ↔ (𝐻‘(𝑏(+g𝑇)𝑐)) = ((𝐻𝑏)(+g𝑆)(𝐻𝑐))))
60 oveq2 7276 . . . . . . . . . . . . 13 (𝑐 = 𝑏 → (𝑏(+g𝑇)𝑐) = (𝑏(+g𝑇)𝑏))
6160fveq2d 6772 . . . . . . . . . . . 12 (𝑐 = 𝑏 → (𝐻‘(𝑏(+g𝑇)𝑐)) = (𝐻‘(𝑏(+g𝑇)𝑏)))
62 fveq2 6768 . . . . . . . . . . . . 13 (𝑐 = 𝑏 → (𝐻𝑐) = (𝐻𝑏))
6362oveq2d 7284 . . . . . . . . . . . 12 (𝑐 = 𝑏 → ((𝐻𝑏)(+g𝑆)(𝐻𝑐)) = ((𝐻𝑏)(+g𝑆)(𝐻𝑏)))
6461, 63eqeq12d 2755 . . . . . . . . . . 11 (𝑐 = 𝑏 → ((𝐻‘(𝑏(+g𝑇)𝑐)) = ((𝐻𝑏)(+g𝑆)(𝐻𝑐)) ↔ (𝐻‘(𝑏(+g𝑇)𝑏)) = ((𝐻𝑏)(+g𝑆)(𝐻𝑏))))
6559, 642ralsng 4617 . . . . . . . . . 10 ((𝑏 ∈ V ∧ 𝑏 ∈ V) → (∀𝑎 ∈ {𝑏}∀𝑐 ∈ {𝑏} (𝐻‘(𝑎(+g𝑇)𝑐)) = ((𝐻𝑎)(+g𝑆)(𝐻𝑐)) ↔ (𝐻‘(𝑏(+g𝑇)𝑏)) = ((𝐻𝑏)(+g𝑆)(𝐻𝑏))))
6665el2v 3438 . . . . . . . . 9 (∀𝑎 ∈ {𝑏}∀𝑐 ∈ {𝑏} (𝐻‘(𝑎(+g𝑇)𝑐)) = ((𝐻𝑎)(+g𝑆)(𝐻𝑐)) ↔ (𝐻‘(𝑏(+g𝑇)𝑏)) = ((𝐻𝑏)(+g𝑆)(𝐻𝑏)))
6755, 66bitrdi 286 . . . . . . . 8 (((𝑆 ∈ Mnd ∧ 𝑇 ∈ Mgm) ∧ 𝐵 = {𝑏}) → (∀𝑎𝐵𝑐𝐵 (𝐻‘(𝑎(+g𝑇)𝑐)) = ((𝐻𝑎)(+g𝑆)(𝐻𝑐)) ↔ (𝐻‘(𝑏(+g𝑇)𝑏)) = ((𝐻𝑏)(+g𝑆)(𝐻𝑏))))
6851, 67mpbird 256 . . . . . . 7 (((𝑆 ∈ Mnd ∧ 𝑇 ∈ Mgm) ∧ 𝐵 = {𝑏}) → ∀𝑎𝐵𝑐𝐵 (𝐻‘(𝑎(+g𝑇)𝑐)) = ((𝐻𝑎)(+g𝑆)(𝐻𝑐)))
6916, 68jca 511 . . . . . 6 (((𝑆 ∈ Mnd ∧ 𝑇 ∈ Mgm) ∧ 𝐵 = {𝑏}) → (𝐻:𝐵⟶(Base‘𝑆) ∧ ∀𝑎𝐵𝑐𝐵 (𝐻‘(𝑎(+g𝑇)𝑐)) = ((𝐻𝑎)(+g𝑆)(𝐻𝑐))))
7069ex 412 . . . . 5 ((𝑆 ∈ Mnd ∧ 𝑇 ∈ Mgm) → (𝐵 = {𝑏} → (𝐻:𝐵⟶(Base‘𝑆) ∧ ∀𝑎𝐵𝑐𝐵 (𝐻‘(𝑎(+g𝑇)𝑐)) = ((𝐻𝑎)(+g𝑆)(𝐻𝑐)))))
7170exlimdv 1939 . . . 4 ((𝑆 ∈ Mnd ∧ 𝑇 ∈ Mgm) → (∃𝑏 𝐵 = {𝑏} → (𝐻:𝐵⟶(Base‘𝑆) ∧ ∀𝑎𝐵𝑐𝐵 (𝐻‘(𝑎(+g𝑇)𝑐)) = ((𝐻𝑎)(+g𝑆)(𝐻𝑐)))))
728, 71syl5bi 241 . . 3 ((𝑆 ∈ Mnd ∧ 𝑇 ∈ Mgm) → ((♯‘𝐵) = 1 → (𝐻:𝐵⟶(Base‘𝑆) ∧ ∀𝑎𝐵𝑐𝐵 (𝐻‘(𝑎(+g𝑇)𝑐)) = ((𝐻𝑎)(+g𝑆)(𝐻𝑐)))))
73723impia 1115 . 2 ((𝑆 ∈ Mnd ∧ 𝑇 ∈ Mgm ∧ (♯‘𝐵) = 1) → (𝐻:𝐵⟶(Base‘𝑆) ∧ ∀𝑎𝐵𝑐𝐵 (𝐻‘(𝑎(+g𝑇)𝑐)) = ((𝐻𝑎)(+g𝑆)(𝐻𝑐))))
745, 9, 37, 27ismgmhm 45289 . 2 (𝐻 ∈ (𝑇 MgmHom 𝑆) ↔ ((𝑇 ∈ Mgm ∧ 𝑆 ∈ Mgm) ∧ (𝐻:𝐵⟶(Base‘𝑆) ∧ ∀𝑎𝐵𝑐𝐵 (𝐻‘(𝑎(+g𝑇)𝑐)) = ((𝐻𝑎)(+g𝑆)(𝐻𝑐)))))
754, 73, 74sylanbrc 582 1 ((𝑆 ∈ Mnd ∧ 𝑇 ∈ Mgm ∧ (♯‘𝐵) = 1) → 𝐻 ∈ (𝑇 MgmHom 𝑆))
Colors of variables: wff setvar class
Syntax hints:  wi 4  wb 205  wa 395  w3a 1085   = wceq 1541  wex 1785  wcel 2109  wral 3065  Vcvv 3430  {csn 4566  cmpt 5161  wf 6426  cfv 6430  (class class class)co 7268  1c1 10856  chash 14025  Basecbs 16893  +gcplusg 16943  0gc0g 17131  Mgmcmgm 18305  Mndcmnd 18366   MgmHom cmgmhm 45283
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1801  ax-4 1815  ax-5 1916  ax-6 1974  ax-7 2014  ax-8 2111  ax-9 2119  ax-10 2140  ax-11 2157  ax-12 2174  ax-ext 2710  ax-sep 5226  ax-nul 5233  ax-pow 5291  ax-pr 5355  ax-un 7579  ax-cnex 10911  ax-resscn 10912  ax-1cn 10913  ax-icn 10914  ax-addcl 10915  ax-addrcl 10916  ax-mulcl 10917  ax-mulrcl 10918  ax-mulcom 10919  ax-addass 10920  ax-mulass 10921  ax-distr 10922  ax-i2m1 10923  ax-1ne0 10924  ax-1rid 10925  ax-rnegex 10926  ax-rrecex 10927  ax-cnre 10928  ax-pre-lttri 10929  ax-pre-lttrn 10930  ax-pre-ltadd 10931  ax-pre-mulgt0 10932
This theorem depends on definitions:  df-bi 206  df-an 396  df-or 844  df-3or 1086  df-3an 1087  df-tru 1544  df-fal 1554  df-ex 1786  df-nf 1790  df-sb 2071  df-mo 2541  df-eu 2570  df-clab 2717  df-cleq 2731  df-clel 2817  df-nfc 2890  df-ne 2945  df-nel 3051  df-ral 3070  df-rex 3071  df-reu 3072  df-rmo 3073  df-rab 3074  df-v 3432  df-sbc 3720  df-csb 3837  df-dif 3894  df-un 3896  df-in 3898  df-ss 3908  df-pss 3910  df-nul 4262  df-if 4465  df-pw 4540  df-sn 4567  df-pr 4569  df-tp 4571  df-op 4573  df-uni 4845  df-int 4885  df-iun 4931  df-br 5079  df-opab 5141  df-mpt 5162  df-tr 5196  df-id 5488  df-eprel 5494  df-po 5502  df-so 5503  df-fr 5543  df-we 5545  df-xp 5594  df-rel 5595  df-cnv 5596  df-co 5597  df-dm 5598  df-rn 5599  df-res 5600  df-ima 5601  df-pred 6199  df-ord 6266  df-on 6267  df-lim 6268  df-suc 6269  df-iota 6388  df-fun 6432  df-fn 6433  df-f 6434  df-f1 6435  df-fo 6436  df-f1o 6437  df-fv 6438  df-riota 7225  df-ov 7271  df-oprab 7272  df-mpo 7273  df-om 7701  df-1st 7817  df-2nd 7818  df-frecs 8081  df-wrecs 8112  df-recs 8186  df-rdg 8225  df-1o 8281  df-oadd 8285  df-er 8472  df-map 8591  df-en 8708  df-dom 8709  df-sdom 8710  df-fin 8711  df-dju 9643  df-card 9681  df-pnf 10995  df-mnf 10996  df-xr 10997  df-ltxr 10998  df-le 10999  df-sub 11190  df-neg 11191  df-nn 11957  df-n0 12217  df-z 12303  df-uz 12565  df-fz 13222  df-hash 14026  df-0g 17133  df-mgm 18307  df-sgrp 18356  df-mnd 18367  df-mgmhm 45285
This theorem is referenced by:  c0snmhm  45425
  Copyright terms: Public domain W3C validator