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 42583
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 17566 . . . . 5 (𝑆 ∈ Mnd → 𝑆 ∈ Mgm)
21anim1i 608 . . . 4 ((𝑆 ∈ Mnd ∧ 𝑇 ∈ Mgm) → (𝑆 ∈ Mgm ∧ 𝑇 ∈ Mgm))
323adant3 1162 . . 3 ((𝑆 ∈ Mnd ∧ 𝑇 ∈ Mgm ∧ (♯‘𝐵) = 1) → (𝑆 ∈ Mgm ∧ 𝑇 ∈ Mgm))
43ancomd 453 . 2 ((𝑆 ∈ Mnd ∧ 𝑇 ∈ Mgm ∧ (♯‘𝐵) = 1) → (𝑇 ∈ Mgm ∧ 𝑆 ∈ Mgm))
5 zrrhm.b . . . . . 6 𝐵 = (Base‘𝑇)
65fvexi 6389 . . . . 5 𝐵 ∈ V
7 hash1snb 13408 . . . . 5 (𝐵 ∈ V → ((♯‘𝐵) = 1 ↔ ∃𝑏 𝐵 = {𝑏}))
86, 7ax-mp 5 . . . 4 ((♯‘𝐵) = 1 ↔ ∃𝑏 𝐵 = {𝑏})
9 eqid 2765 . . . . . . . . . . . 12 (Base‘𝑆) = (Base‘𝑆)
10 zrrhm.0 . . . . . . . . . . . 12 0 = (0g𝑆)
119, 10mndidcl 17574 . . . . . . . . . . 11 (𝑆 ∈ Mnd → 0 ∈ (Base‘𝑆))
1211adantr 472 . . . . . . . . . 10 ((𝑆 ∈ Mnd ∧ 𝑇 ∈ Mgm) → 0 ∈ (Base‘𝑆))
1312adantr 472 . . . . . . . . 9 (((𝑆 ∈ Mnd ∧ 𝑇 ∈ Mgm) ∧ 𝐵 = {𝑏}) → 0 ∈ (Base‘𝑆))
1413adantr 472 . . . . . . . 8 ((((𝑆 ∈ Mnd ∧ 𝑇 ∈ Mgm) ∧ 𝐵 = {𝑏}) ∧ 𝑥𝐵) → 0 ∈ (Base‘𝑆))
15 zrrhm.h . . . . . . . 8 𝐻 = (𝑥𝐵0 )
1614, 15fmptd 6574 . . . . . . 7 (((𝑆 ∈ Mnd ∧ 𝑇 ∈ Mgm) ∧ 𝐵 = {𝑏}) → 𝐻:𝐵⟶(Base‘𝑆))
1715a1i 11 . . . . . . . . . 10 (((𝑆 ∈ Mnd ∧ 𝑇 ∈ Mgm) ∧ 𝐵 = {𝑏}) → 𝐻 = (𝑥𝐵0 ))
18 eqidd 2766 . . . . . . . . . 10 ((((𝑆 ∈ Mnd ∧ 𝑇 ∈ Mgm) ∧ 𝐵 = {𝑏}) ∧ 𝑥 = 𝑏) → 0 = 0 )
19 vsnid 4367 . . . . . . . . . . . . 13 𝑏 ∈ {𝑏}
2019a1i 11 . . . . . . . . . . . 12 (𝐵 = {𝑏} → 𝑏 ∈ {𝑏})
21 eleq2 2833 . . . . . . . . . . . 12 (𝐵 = {𝑏} → (𝑏𝐵𝑏 ∈ {𝑏}))
2220, 21mpbird 248 . . . . . . . . . . 11 (𝐵 = {𝑏} → 𝑏𝐵)
2322adantl 473 . . . . . . . . . 10 (((𝑆 ∈ Mnd ∧ 𝑇 ∈ Mgm) ∧ 𝐵 = {𝑏}) → 𝑏𝐵)
2417, 18, 23, 13fvmptd 6477 . . . . . . . . 9 (((𝑆 ∈ Mnd ∧ 𝑇 ∈ Mgm) ∧ 𝐵 = {𝑏}) → (𝐻𝑏) = 0 )
25 simpr 477 . . . . . . . . . . 11 ((((𝑆 ∈ Mnd ∧ 𝑇 ∈ Mgm) ∧ 𝐵 = {𝑏}) ∧ (𝐻𝑏) = 0 ) → (𝐻𝑏) = 0 )
2625, 25oveq12d 6860 . . . . . . . . . 10 ((((𝑆 ∈ Mnd ∧ 𝑇 ∈ Mgm) ∧ 𝐵 = {𝑏}) ∧ (𝐻𝑏) = 0 ) → ((𝐻𝑏)(+g𝑆)(𝐻𝑏)) = ( 0 (+g𝑆) 0 ))
27 eqid 2765 . . . . . . . . . . . . . . 15 (+g𝑆) = (+g𝑆)
289, 27, 10mndlid 17577 . . . . . . . . . . . . . 14 ((𝑆 ∈ Mnd ∧ 0 ∈ (Base‘𝑆)) → ( 0 (+g𝑆) 0 ) = 0 )
2911, 28mpdan 678 . . . . . . . . . . . . 13 (𝑆 ∈ Mnd → ( 0 (+g𝑆) 0 ) = 0 )
3029adantr 472 . . . . . . . . . . . 12 ((𝑆 ∈ Mnd ∧ 𝑇 ∈ Mgm) → ( 0 (+g𝑆) 0 ) = 0 )
3130adantr 472 . . . . . . . . . . 11 (((𝑆 ∈ Mnd ∧ 𝑇 ∈ Mgm) ∧ 𝐵 = {𝑏}) → ( 0 (+g𝑆) 0 ) = 0 )
3231adantr 472 . . . . . . . . . 10 ((((𝑆 ∈ Mnd ∧ 𝑇 ∈ Mgm) ∧ 𝐵 = {𝑏}) ∧ (𝐻𝑏) = 0 ) → ( 0 (+g𝑆) 0 ) = 0 )
33 simpr 477 . . . . . . . . . . . . . . . . . 18 ((𝑆 ∈ Mnd ∧ 𝑇 ∈ Mgm) → 𝑇 ∈ Mgm)
3433adantr 472 . . . . . . . . . . . . . . . . 17 (((𝑆 ∈ Mnd ∧ 𝑇 ∈ Mgm) ∧ 𝐵 = {𝑏}) → 𝑇 ∈ Mgm)
3534adantr 472 . . . . . . . . . . . . . . . 16 ((((𝑆 ∈ Mnd ∧ 𝑇 ∈ Mgm) ∧ 𝐵 = {𝑏}) ∧ 𝑏𝐵) → 𝑇 ∈ Mgm)
36 simpr 477 . . . . . . . . . . . . . . . 16 ((((𝑆 ∈ Mnd ∧ 𝑇 ∈ Mgm) ∧ 𝐵 = {𝑏}) ∧ 𝑏𝐵) → 𝑏𝐵)
37 eqid 2765 . . . . . . . . . . . . . . . . 17 (+g𝑇) = (+g𝑇)
385, 37mgmcl 17511 . . . . . . . . . . . . . . . 16 ((𝑇 ∈ Mgm ∧ 𝑏𝐵𝑏𝐵) → (𝑏(+g𝑇)𝑏) ∈ 𝐵)
3935, 36, 36, 38syl3anc 1490 . . . . . . . . . . . . . . 15 ((((𝑆 ∈ Mnd ∧ 𝑇 ∈ Mgm) ∧ 𝐵 = {𝑏}) ∧ 𝑏𝐵) → (𝑏(+g𝑇)𝑏) ∈ 𝐵)
40 eleq2 2833 . . . . . . . . . . . . . . . . . 18 (𝐵 = {𝑏} → ((𝑏(+g𝑇)𝑏) ∈ 𝐵 ↔ (𝑏(+g𝑇)𝑏) ∈ {𝑏}))
41 elsni 4351 . . . . . . . . . . . . . . . . . 18 ((𝑏(+g𝑇)𝑏) ∈ {𝑏} → (𝑏(+g𝑇)𝑏) = 𝑏)
4240, 41syl6bi 244 . . . . . . . . . . . . . . . . 17 (𝐵 = {𝑏} → ((𝑏(+g𝑇)𝑏) ∈ 𝐵 → (𝑏(+g𝑇)𝑏) = 𝑏))
4342adantl 473 . . . . . . . . . . . . . . . 16 (((𝑆 ∈ Mnd ∧ 𝑇 ∈ Mgm) ∧ 𝐵 = {𝑏}) → ((𝑏(+g𝑇)𝑏) ∈ 𝐵 → (𝑏(+g𝑇)𝑏) = 𝑏))
4443adantr 472 . . . . . . . . . . . . . . 15 ((((𝑆 ∈ Mnd ∧ 𝑇 ∈ Mgm) ∧ 𝐵 = {𝑏}) ∧ 𝑏𝐵) → ((𝑏(+g𝑇)𝑏) ∈ 𝐵 → (𝑏(+g𝑇)𝑏) = 𝑏))
4539, 44mpd 15 . . . . . . . . . . . . . 14 ((((𝑆 ∈ Mnd ∧ 𝑇 ∈ Mgm) ∧ 𝐵 = {𝑏}) ∧ 𝑏𝐵) → (𝑏(+g𝑇)𝑏) = 𝑏)
4623, 45mpdan 678 . . . . . . . . . . . . 13 (((𝑆 ∈ Mnd ∧ 𝑇 ∈ Mgm) ∧ 𝐵 = {𝑏}) → (𝑏(+g𝑇)𝑏) = 𝑏)
4746fveq2d 6379 . . . . . . . . . . . 12 (((𝑆 ∈ Mnd ∧ 𝑇 ∈ Mgm) ∧ 𝐵 = {𝑏}) → (𝐻‘(𝑏(+g𝑇)𝑏)) = (𝐻𝑏))
4847adantr 472 . . . . . . . . . . 11 ((((𝑆 ∈ Mnd ∧ 𝑇 ∈ Mgm) ∧ 𝐵 = {𝑏}) ∧ (𝐻𝑏) = 0 ) → (𝐻‘(𝑏(+g𝑇)𝑏)) = (𝐻𝑏))
4948, 25eqtr2d 2800 . . . . . . . . . 10 ((((𝑆 ∈ Mnd ∧ 𝑇 ∈ Mgm) ∧ 𝐵 = {𝑏}) ∧ (𝐻𝑏) = 0 ) → 0 = (𝐻‘(𝑏(+g𝑇)𝑏)))
5026, 32, 493eqtrrd 2804 . . . . . . . . 9 ((((𝑆 ∈ Mnd ∧ 𝑇 ∈ Mgm) ∧ 𝐵 = {𝑏}) ∧ (𝐻𝑏) = 0 ) → (𝐻‘(𝑏(+g𝑇)𝑏)) = ((𝐻𝑏)(+g𝑆)(𝐻𝑏)))
5124, 50mpdan 678 . . . . . . . 8 (((𝑆 ∈ Mnd ∧ 𝑇 ∈ Mgm) ∧ 𝐵 = {𝑏}) → (𝐻‘(𝑏(+g𝑇)𝑏)) = ((𝐻𝑏)(+g𝑆)(𝐻𝑏)))
52 id 22 . . . . . . . . . . 11 (𝐵 = {𝑏} → 𝐵 = {𝑏})
5352raleqdv 3292 . . . . . . . . . . 11 (𝐵 = {𝑏} → (∀𝑐𝐵 (𝐻‘(𝑎(+g𝑇)𝑐)) = ((𝐻𝑎)(+g𝑆)(𝐻𝑐)) ↔ ∀𝑐 ∈ {𝑏} (𝐻‘(𝑎(+g𝑇)𝑐)) = ((𝐻𝑎)(+g𝑆)(𝐻𝑐))))
5452, 53raleqbidv 3300 . . . . . . . . . 10 (𝐵 = {𝑏} → (∀𝑎𝐵𝑐𝐵 (𝐻‘(𝑎(+g𝑇)𝑐)) = ((𝐻𝑎)(+g𝑆)(𝐻𝑐)) ↔ ∀𝑎 ∈ {𝑏}∀𝑐 ∈ {𝑏} (𝐻‘(𝑎(+g𝑇)𝑐)) = ((𝐻𝑎)(+g𝑆)(𝐻𝑐))))
5554adantl 473 . . . . . . . . 9 (((𝑆 ∈ Mnd ∧ 𝑇 ∈ Mgm) ∧ 𝐵 = {𝑏}) → (∀𝑎𝐵𝑐𝐵 (𝐻‘(𝑎(+g𝑇)𝑐)) = ((𝐻𝑎)(+g𝑆)(𝐻𝑐)) ↔ ∀𝑎 ∈ {𝑏}∀𝑐 ∈ {𝑏} (𝐻‘(𝑎(+g𝑇)𝑐)) = ((𝐻𝑎)(+g𝑆)(𝐻𝑐))))
56 vex 3353 . . . . . . . . . 10 𝑏 ∈ V
57 fvoveq1 6865 . . . . . . . . . . . 12 (𝑎 = 𝑏 → (𝐻‘(𝑎(+g𝑇)𝑐)) = (𝐻‘(𝑏(+g𝑇)𝑐)))
58 fveq2 6375 . . . . . . . . . . . . 13 (𝑎 = 𝑏 → (𝐻𝑎) = (𝐻𝑏))
5958oveq1d 6857 . . . . . . . . . . . 12 (𝑎 = 𝑏 → ((𝐻𝑎)(+g𝑆)(𝐻𝑐)) = ((𝐻𝑏)(+g𝑆)(𝐻𝑐)))
6057, 59eqeq12d 2780 . . . . . . . . . . 11 (𝑎 = 𝑏 → ((𝐻‘(𝑎(+g𝑇)𝑐)) = ((𝐻𝑎)(+g𝑆)(𝐻𝑐)) ↔ (𝐻‘(𝑏(+g𝑇)𝑐)) = ((𝐻𝑏)(+g𝑆)(𝐻𝑐))))
61 oveq2 6850 . . . . . . . . . . . . 13 (𝑐 = 𝑏 → (𝑏(+g𝑇)𝑐) = (𝑏(+g𝑇)𝑏))
6261fveq2d 6379 . . . . . . . . . . . 12 (𝑐 = 𝑏 → (𝐻‘(𝑏(+g𝑇)𝑐)) = (𝐻‘(𝑏(+g𝑇)𝑏)))
63 fveq2 6375 . . . . . . . . . . . . 13 (𝑐 = 𝑏 → (𝐻𝑐) = (𝐻𝑏))
6463oveq2d 6858 . . . . . . . . . . . 12 (𝑐 = 𝑏 → ((𝐻𝑏)(+g𝑆)(𝐻𝑐)) = ((𝐻𝑏)(+g𝑆)(𝐻𝑏)))
6562, 64eqeq12d 2780 . . . . . . . . . . 11 (𝑐 = 𝑏 → ((𝐻‘(𝑏(+g𝑇)𝑐)) = ((𝐻𝑏)(+g𝑆)(𝐻𝑐)) ↔ (𝐻‘(𝑏(+g𝑇)𝑏)) = ((𝐻𝑏)(+g𝑆)(𝐻𝑏))))
6660, 652ralsng 4377 . . . . . . . . . 10 ((𝑏 ∈ V ∧ 𝑏 ∈ V) → (∀𝑎 ∈ {𝑏}∀𝑐 ∈ {𝑏} (𝐻‘(𝑎(+g𝑇)𝑐)) = ((𝐻𝑎)(+g𝑆)(𝐻𝑐)) ↔ (𝐻‘(𝑏(+g𝑇)𝑏)) = ((𝐻𝑏)(+g𝑆)(𝐻𝑏))))
6756, 56, 66mp2an 683 . . . . . . . . 9 (∀𝑎 ∈ {𝑏}∀𝑐 ∈ {𝑏} (𝐻‘(𝑎(+g𝑇)𝑐)) = ((𝐻𝑎)(+g𝑆)(𝐻𝑐)) ↔ (𝐻‘(𝑏(+g𝑇)𝑏)) = ((𝐻𝑏)(+g𝑆)(𝐻𝑏)))
6855, 67syl6bb 278 . . . . . . . 8 (((𝑆 ∈ Mnd ∧ 𝑇 ∈ Mgm) ∧ 𝐵 = {𝑏}) → (∀𝑎𝐵𝑐𝐵 (𝐻‘(𝑎(+g𝑇)𝑐)) = ((𝐻𝑎)(+g𝑆)(𝐻𝑐)) ↔ (𝐻‘(𝑏(+g𝑇)𝑏)) = ((𝐻𝑏)(+g𝑆)(𝐻𝑏))))
6951, 68mpbird 248 . . . . . . 7 (((𝑆 ∈ Mnd ∧ 𝑇 ∈ Mgm) ∧ 𝐵 = {𝑏}) → ∀𝑎𝐵𝑐𝐵 (𝐻‘(𝑎(+g𝑇)𝑐)) = ((𝐻𝑎)(+g𝑆)(𝐻𝑐)))
7016, 69jca 507 . . . . . 6 (((𝑆 ∈ Mnd ∧ 𝑇 ∈ Mgm) ∧ 𝐵 = {𝑏}) → (𝐻:𝐵⟶(Base‘𝑆) ∧ ∀𝑎𝐵𝑐𝐵 (𝐻‘(𝑎(+g𝑇)𝑐)) = ((𝐻𝑎)(+g𝑆)(𝐻𝑐))))
7170ex 401 . . . . 5 ((𝑆 ∈ Mnd ∧ 𝑇 ∈ Mgm) → (𝐵 = {𝑏} → (𝐻:𝐵⟶(Base‘𝑆) ∧ ∀𝑎𝐵𝑐𝐵 (𝐻‘(𝑎(+g𝑇)𝑐)) = ((𝐻𝑎)(+g𝑆)(𝐻𝑐)))))
7271exlimdv 2028 . . . 4 ((𝑆 ∈ Mnd ∧ 𝑇 ∈ Mgm) → (∃𝑏 𝐵 = {𝑏} → (𝐻:𝐵⟶(Base‘𝑆) ∧ ∀𝑎𝐵𝑐𝐵 (𝐻‘(𝑎(+g𝑇)𝑐)) = ((𝐻𝑎)(+g𝑆)(𝐻𝑐)))))
738, 72syl5bi 233 . . 3 ((𝑆 ∈ Mnd ∧ 𝑇 ∈ Mgm) → ((♯‘𝐵) = 1 → (𝐻:𝐵⟶(Base‘𝑆) ∧ ∀𝑎𝐵𝑐𝐵 (𝐻‘(𝑎(+g𝑇)𝑐)) = ((𝐻𝑎)(+g𝑆)(𝐻𝑐)))))
74733impia 1145 . 2 ((𝑆 ∈ Mnd ∧ 𝑇 ∈ Mgm ∧ (♯‘𝐵) = 1) → (𝐻:𝐵⟶(Base‘𝑆) ∧ ∀𝑎𝐵𝑐𝐵 (𝐻‘(𝑎(+g𝑇)𝑐)) = ((𝐻𝑎)(+g𝑆)(𝐻𝑐))))
755, 9, 37, 27ismgmhm 42452 . 2 (𝐻 ∈ (𝑇 MgmHom 𝑆) ↔ ((𝑇 ∈ Mgm ∧ 𝑆 ∈ Mgm) ∧ (𝐻:𝐵⟶(Base‘𝑆) ∧ ∀𝑎𝐵𝑐𝐵 (𝐻‘(𝑎(+g𝑇)𝑐)) = ((𝐻𝑎)(+g𝑆)(𝐻𝑐)))))
764, 74, 75sylanbrc 578 1 ((𝑆 ∈ Mnd ∧ 𝑇 ∈ Mgm ∧ (♯‘𝐵) = 1) → 𝐻 ∈ (𝑇 MgmHom 𝑆))
Colors of variables: wff setvar class
Syntax hints:  wi 4  wb 197  wa 384  w3a 1107   = wceq 1652  wex 1874  wcel 2155  wral 3055  Vcvv 3350  {csn 4334  cmpt 4888  wf 6064  cfv 6068  (class class class)co 6842  1c1 10190  chash 13321  Basecbs 16130  +gcplusg 16214  0gc0g 16366  Mgmcmgm 17506  Mndcmnd 17560   MgmHom cmgmhm 42446
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1890  ax-4 1904  ax-5 2005  ax-6 2070  ax-7 2105  ax-8 2157  ax-9 2164  ax-10 2183  ax-11 2198  ax-12 2211  ax-13 2352  ax-ext 2743  ax-rep 4930  ax-sep 4941  ax-nul 4949  ax-pow 5001  ax-pr 5062  ax-un 7147  ax-cnex 10245  ax-resscn 10246  ax-1cn 10247  ax-icn 10248  ax-addcl 10249  ax-addrcl 10250  ax-mulcl 10251  ax-mulrcl 10252  ax-mulcom 10253  ax-addass 10254  ax-mulass 10255  ax-distr 10256  ax-i2m1 10257  ax-1ne0 10258  ax-1rid 10259  ax-rnegex 10260  ax-rrecex 10261  ax-cnre 10262  ax-pre-lttri 10263  ax-pre-lttrn 10264  ax-pre-ltadd 10265  ax-pre-mulgt0 10266
This theorem depends on definitions:  df-bi 198  df-an 385  df-or 874  df-3or 1108  df-3an 1109  df-tru 1656  df-ex 1875  df-nf 1879  df-sb 2063  df-mo 2565  df-eu 2582  df-clab 2752  df-cleq 2758  df-clel 2761  df-nfc 2896  df-ne 2938  df-nel 3041  df-ral 3060  df-rex 3061  df-reu 3062  df-rmo 3063  df-rab 3064  df-v 3352  df-sbc 3597  df-csb 3692  df-dif 3735  df-un 3737  df-in 3739  df-ss 3746  df-pss 3748  df-nul 4080  df-if 4244  df-pw 4317  df-sn 4335  df-pr 4337  df-tp 4339  df-op 4341  df-uni 4595  df-int 4634  df-iun 4678  df-br 4810  df-opab 4872  df-mpt 4889  df-tr 4912  df-id 5185  df-eprel 5190  df-po 5198  df-so 5199  df-fr 5236  df-we 5238  df-xp 5283  df-rel 5284  df-cnv 5285  df-co 5286  df-dm 5287  df-rn 5288  df-res 5289  df-ima 5290  df-pred 5865  df-ord 5911  df-on 5912  df-lim 5913  df-suc 5914  df-iota 6031  df-fun 6070  df-fn 6071  df-f 6072  df-f1 6073  df-fo 6074  df-f1o 6075  df-fv 6076  df-riota 6803  df-ov 6845  df-oprab 6846  df-mpt2 6847  df-om 7264  df-1st 7366  df-2nd 7367  df-wrecs 7610  df-recs 7672  df-rdg 7710  df-1o 7764  df-oadd 7768  df-er 7947  df-map 8062  df-en 8161  df-dom 8162  df-sdom 8163  df-fin 8164  df-card 9016  df-cda 9243  df-pnf 10330  df-mnf 10331  df-xr 10332  df-ltxr 10333  df-le 10334  df-sub 10522  df-neg 10523  df-nn 11275  df-n0 11539  df-z 11625  df-uz 11887  df-fz 12534  df-hash 13322  df-0g 16368  df-mgm 17508  df-sgrp 17550  df-mnd 17561  df-mgmhm 42448
This theorem is referenced by:  c0snmhm  42584
  Copyright terms: Public domain W3C validator