MPE Home Metamath Proof Explorer < Previous   Next >
Nearby theorems
Mirrors  >  Home  >  MPE Home  >  Th. List  >  idmhm Structured version   Visualization version   GIF version

Theorem idmhm 18537
Description: The identity homomorphism on a monoid. (Contributed by AV, 14-Feb-2020.)
Hypothesis
Ref Expression
idmhm.b 𝐵 = (Base‘𝑀)
Assertion
Ref Expression
idmhm (𝑀 ∈ Mnd → ( I ↾ 𝐵) ∈ (𝑀 MndHom 𝑀))

Proof of Theorem idmhm
Dummy variables 𝑎 𝑏 are mutually distinct and distinct from all other variables.
StepHypRef Expression
1 id 22 . 2 (𝑀 ∈ Mnd → 𝑀 ∈ Mnd)
2 f1oi 6810 . . . 4 ( I ↾ 𝐵):𝐵1-1-onto𝐵
3 f1of 6772 . . . 4 (( I ↾ 𝐵):𝐵1-1-onto𝐵 → ( I ↾ 𝐵):𝐵𝐵)
42, 3mp1i 13 . . 3 (𝑀 ∈ Mnd → ( I ↾ 𝐵):𝐵𝐵)
5 idmhm.b . . . . . . . 8 𝐵 = (Base‘𝑀)
6 eqid 2737 . . . . . . . 8 (+g𝑀) = (+g𝑀)
75, 6mndcl 18491 . . . . . . 7 ((𝑀 ∈ Mnd ∧ 𝑎𝐵𝑏𝐵) → (𝑎(+g𝑀)𝑏) ∈ 𝐵)
873expb 1120 . . . . . 6 ((𝑀 ∈ Mnd ∧ (𝑎𝐵𝑏𝐵)) → (𝑎(+g𝑀)𝑏) ∈ 𝐵)
9 fvresi 7106 . . . . . 6 ((𝑎(+g𝑀)𝑏) ∈ 𝐵 → (( I ↾ 𝐵)‘(𝑎(+g𝑀)𝑏)) = (𝑎(+g𝑀)𝑏))
108, 9syl 17 . . . . 5 ((𝑀 ∈ Mnd ∧ (𝑎𝐵𝑏𝐵)) → (( I ↾ 𝐵)‘(𝑎(+g𝑀)𝑏)) = (𝑎(+g𝑀)𝑏))
11 fvresi 7106 . . . . . . 7 (𝑎𝐵 → (( I ↾ 𝐵)‘𝑎) = 𝑎)
12 fvresi 7106 . . . . . . 7 (𝑏𝐵 → (( I ↾ 𝐵)‘𝑏) = 𝑏)
1311, 12oveqan12d 7361 . . . . . 6 ((𝑎𝐵𝑏𝐵) → ((( I ↾ 𝐵)‘𝑎)(+g𝑀)(( I ↾ 𝐵)‘𝑏)) = (𝑎(+g𝑀)𝑏))
1413adantl 483 . . . . 5 ((𝑀 ∈ Mnd ∧ (𝑎𝐵𝑏𝐵)) → ((( I ↾ 𝐵)‘𝑎)(+g𝑀)(( I ↾ 𝐵)‘𝑏)) = (𝑎(+g𝑀)𝑏))
1510, 14eqtr4d 2780 . . . 4 ((𝑀 ∈ Mnd ∧ (𝑎𝐵𝑏𝐵)) → (( I ↾ 𝐵)‘(𝑎(+g𝑀)𝑏)) = ((( I ↾ 𝐵)‘𝑎)(+g𝑀)(( I ↾ 𝐵)‘𝑏)))
1615ralrimivva 3194 . . 3 (𝑀 ∈ Mnd → ∀𝑎𝐵𝑏𝐵 (( I ↾ 𝐵)‘(𝑎(+g𝑀)𝑏)) = ((( I ↾ 𝐵)‘𝑎)(+g𝑀)(( I ↾ 𝐵)‘𝑏)))
17 eqid 2737 . . . . 5 (0g𝑀) = (0g𝑀)
185, 17mndidcl 18498 . . . 4 (𝑀 ∈ Mnd → (0g𝑀) ∈ 𝐵)
19 fvresi 7106 . . . 4 ((0g𝑀) ∈ 𝐵 → (( I ↾ 𝐵)‘(0g𝑀)) = (0g𝑀))
2018, 19syl 17 . . 3 (𝑀 ∈ Mnd → (( I ↾ 𝐵)‘(0g𝑀)) = (0g𝑀))
214, 16, 203jca 1128 . 2 (𝑀 ∈ Mnd → (( I ↾ 𝐵):𝐵𝐵 ∧ ∀𝑎𝐵𝑏𝐵 (( I ↾ 𝐵)‘(𝑎(+g𝑀)𝑏)) = ((( I ↾ 𝐵)‘𝑎)(+g𝑀)(( I ↾ 𝐵)‘𝑏)) ∧ (( I ↾ 𝐵)‘(0g𝑀)) = (0g𝑀)))
225, 5, 6, 6, 17, 17ismhm 18530 . 2 (( I ↾ 𝐵) ∈ (𝑀 MndHom 𝑀) ↔ ((𝑀 ∈ Mnd ∧ 𝑀 ∈ Mnd) ∧ (( I ↾ 𝐵):𝐵𝐵 ∧ ∀𝑎𝐵𝑏𝐵 (( I ↾ 𝐵)‘(𝑎(+g𝑀)𝑏)) = ((( I ↾ 𝐵)‘𝑎)(+g𝑀)(( I ↾ 𝐵)‘𝑏)) ∧ (( I ↾ 𝐵)‘(0g𝑀)) = (0g𝑀))))
231, 1, 21, 22syl21anbrc 1344 1 (𝑀 ∈ Mnd → ( I ↾ 𝐵) ∈ (𝑀 MndHom 𝑀))
Colors of variables: wff setvar class
Syntax hints:  wi 4  wa 397  w3a 1087   = wceq 1541  wcel 2106  wral 3062   I cid 5522  cres 5627  wf 6480  1-1-ontowf1o 6483  cfv 6484  (class class class)co 7342  Basecbs 17010  +gcplusg 17060  0gc0g 17248  Mndcmnd 18483   MndHom cmhm 18526
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1797  ax-4 1811  ax-5 1913  ax-6 1971  ax-7 2011  ax-8 2108  ax-9 2116  ax-10 2137  ax-11 2154  ax-12 2171  ax-ext 2708  ax-sep 5248  ax-nul 5255  ax-pow 5313  ax-pr 5377  ax-un 7655
This theorem depends on definitions:  df-bi 206  df-an 398  df-or 846  df-3an 1089  df-tru 1544  df-fal 1554  df-ex 1782  df-nf 1786  df-sb 2068  df-mo 2539  df-eu 2568  df-clab 2715  df-cleq 2729  df-clel 2815  df-nfc 2887  df-ne 2942  df-ral 3063  df-rex 3072  df-rmo 3350  df-reu 3351  df-rab 3405  df-v 3444  df-sbc 3732  df-dif 3905  df-un 3907  df-in 3909  df-ss 3919  df-nul 4275  df-if 4479  df-pw 4554  df-sn 4579  df-pr 4581  df-op 4585  df-uni 4858  df-br 5098  df-opab 5160  df-mpt 5181  df-id 5523  df-xp 5631  df-rel 5632  df-cnv 5633  df-co 5634  df-dm 5635  df-rn 5636  df-res 5637  df-ima 5638  df-iota 6436  df-fun 6486  df-fn 6487  df-f 6488  df-f1 6489  df-fo 6490  df-f1o 6491  df-fv 6492  df-riota 7298  df-ov 7345  df-oprab 7346  df-mpo 7347  df-map 8693  df-0g 17250  df-mgm 18424  df-sgrp 18473  df-mnd 18484  df-mhm 18528
This theorem is referenced by:  idrhm  20071
  Copyright terms: Public domain W3C validator