Users' Mathboxes Mathbox for Zhi Wang < Previous   Next >
Nearby theorems
Mirrors  >  Home  >  MPE Home  >  Th. List  >   Mathboxes  >  mndtcval Structured version   Visualization version   GIF version

Theorem mndtcval 45980
Description: Value of the category built from a monoid. (Contributed by Zhi Wang, 22-Sep-2024.) (New usage is discouraged.)
Hypotheses
Ref Expression
mndtcbas.c (𝜑𝐶 = (MndToCat‘𝑀))
mndtcbas.m (𝜑𝑀 ∈ Mnd)
Assertion
Ref Expression
mndtcval (𝜑𝐶 = {⟨(Base‘ndx), {𝑀}⟩, ⟨(Hom ‘ndx), {⟨𝑀, 𝑀, (Base‘𝑀)⟩}⟩, ⟨(comp‘ndx), {⟨⟨𝑀, 𝑀, 𝑀⟩, (+g𝑀)⟩}⟩})

Proof of Theorem mndtcval
Dummy variable 𝑚 is distinct from all other variables.
StepHypRef Expression
1 mndtcbas.c . 2 (𝜑𝐶 = (MndToCat‘𝑀))
2 mndtcbas.m . . 3 (𝜑𝑀 ∈ Mnd)
3 sneq 4537 . . . . . 6 (𝑚 = 𝑀 → {𝑚} = {𝑀})
43opeq2d 4777 . . . . 5 (𝑚 = 𝑀 → ⟨(Base‘ndx), {𝑚}⟩ = ⟨(Base‘ndx), {𝑀}⟩)
5 id 22 . . . . . . . 8 (𝑚 = 𝑀𝑚 = 𝑀)
6 fveq2 6695 . . . . . . . 8 (𝑚 = 𝑀 → (Base‘𝑚) = (Base‘𝑀))
75, 5, 6oteq123d 4785 . . . . . . 7 (𝑚 = 𝑀 → ⟨𝑚, 𝑚, (Base‘𝑚)⟩ = ⟨𝑀, 𝑀, (Base‘𝑀)⟩)
87sneqd 4539 . . . . . 6 (𝑚 = 𝑀 → {⟨𝑚, 𝑚, (Base‘𝑚)⟩} = {⟨𝑀, 𝑀, (Base‘𝑀)⟩})
98opeq2d 4777 . . . . 5 (𝑚 = 𝑀 → ⟨(Hom ‘ndx), {⟨𝑚, 𝑚, (Base‘𝑚)⟩}⟩ = ⟨(Hom ‘ndx), {⟨𝑀, 𝑀, (Base‘𝑀)⟩}⟩)
105, 5, 5oteq123d 4785 . . . . . . . 8 (𝑚 = 𝑀 → ⟨𝑚, 𝑚, 𝑚⟩ = ⟨𝑀, 𝑀, 𝑀⟩)
11 fveq2 6695 . . . . . . . 8 (𝑚 = 𝑀 → (+g𝑚) = (+g𝑀))
1210, 11opeq12d 4778 . . . . . . 7 (𝑚 = 𝑀 → ⟨⟨𝑚, 𝑚, 𝑚⟩, (+g𝑚)⟩ = ⟨⟨𝑀, 𝑀, 𝑀⟩, (+g𝑀)⟩)
1312sneqd 4539 . . . . . 6 (𝑚 = 𝑀 → {⟨⟨𝑚, 𝑚, 𝑚⟩, (+g𝑚)⟩} = {⟨⟨𝑀, 𝑀, 𝑀⟩, (+g𝑀)⟩})
1413opeq2d 4777 . . . . 5 (𝑚 = 𝑀 → ⟨(comp‘ndx), {⟨⟨𝑚, 𝑚, 𝑚⟩, (+g𝑚)⟩}⟩ = ⟨(comp‘ndx), {⟨⟨𝑀, 𝑀, 𝑀⟩, (+g𝑀)⟩}⟩)
154, 9, 14tpeq123d 4650 . . . 4 (𝑚 = 𝑀 → {⟨(Base‘ndx), {𝑚}⟩, ⟨(Hom ‘ndx), {⟨𝑚, 𝑚, (Base‘𝑚)⟩}⟩, ⟨(comp‘ndx), {⟨⟨𝑚, 𝑚, 𝑚⟩, (+g𝑚)⟩}⟩} = {⟨(Base‘ndx), {𝑀}⟩, ⟨(Hom ‘ndx), {⟨𝑀, 𝑀, (Base‘𝑀)⟩}⟩, ⟨(comp‘ndx), {⟨⟨𝑀, 𝑀, 𝑀⟩, (+g𝑀)⟩}⟩})
16 df-mndtc 45979 . . . 4 MndToCat = (𝑚 ∈ Mnd ↦ {⟨(Base‘ndx), {𝑚}⟩, ⟨(Hom ‘ndx), {⟨𝑚, 𝑚, (Base‘𝑚)⟩}⟩, ⟨(comp‘ndx), {⟨⟨𝑚, 𝑚, 𝑚⟩, (+g𝑚)⟩}⟩})
17 tpex 7510 . . . 4 {⟨(Base‘ndx), {𝑀}⟩, ⟨(Hom ‘ndx), {⟨𝑀, 𝑀, (Base‘𝑀)⟩}⟩, ⟨(comp‘ndx), {⟨⟨𝑀, 𝑀, 𝑀⟩, (+g𝑀)⟩}⟩} ∈ V
1815, 16, 17fvmpt 6796 . . 3 (𝑀 ∈ Mnd → (MndToCat‘𝑀) = {⟨(Base‘ndx), {𝑀}⟩, ⟨(Hom ‘ndx), {⟨𝑀, 𝑀, (Base‘𝑀)⟩}⟩, ⟨(comp‘ndx), {⟨⟨𝑀, 𝑀, 𝑀⟩, (+g𝑀)⟩}⟩})
192, 18syl 17 . 2 (𝜑 → (MndToCat‘𝑀) = {⟨(Base‘ndx), {𝑀}⟩, ⟨(Hom ‘ndx), {⟨𝑀, 𝑀, (Base‘𝑀)⟩}⟩, ⟨(comp‘ndx), {⟨⟨𝑀, 𝑀, 𝑀⟩, (+g𝑀)⟩}⟩})
201, 19eqtrd 2771 1 (𝜑𝐶 = {⟨(Base‘ndx), {𝑀}⟩, ⟨(Hom ‘ndx), {⟨𝑀, 𝑀, (Base‘𝑀)⟩}⟩, ⟨(comp‘ndx), {⟨⟨𝑀, 𝑀, 𝑀⟩, (+g𝑀)⟩}⟩})
Colors of variables: wff setvar class
Syntax hints:  wi 4   = wceq 1543  wcel 2112  {csn 4527  {ctp 4531  cop 4533  cotp 4535  cfv 6358  ndxcnx 16663  Basecbs 16666  +gcplusg 16749  Hom chom 16760  compcco 16761  Mndcmnd 18127  MndToCatcmndtc 45978
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 2018  ax-8 2114  ax-9 2122  ax-10 2143  ax-11 2160  ax-12 2177  ax-ext 2708  ax-sep 5177  ax-nul 5184  ax-pr 5307  ax-un 7501
This theorem depends on definitions:  df-bi 210  df-an 400  df-or 848  df-3an 1091  df-tru 1546  df-fal 1556  df-ex 1788  df-nf 1792  df-sb 2073  df-mo 2539  df-eu 2568  df-clab 2715  df-cleq 2728  df-clel 2809  df-nfc 2879  df-ral 3056  df-rex 3057  df-rab 3060  df-v 3400  df-sbc 3684  df-dif 3856  df-un 3858  df-in 3860  df-ss 3870  df-nul 4224  df-if 4426  df-sn 4528  df-pr 4530  df-tp 4532  df-op 4534  df-ot 4536  df-uni 4806  df-br 5040  df-opab 5102  df-mpt 5121  df-id 5440  df-xp 5542  df-rel 5543  df-cnv 5544  df-co 5545  df-dm 5546  df-iota 6316  df-fun 6360  df-fv 6366  df-mndtc 45979
This theorem is referenced by:  mndtcbasval  45981  mndtchom  45985  mndtcco  45986
  Copyright terms: Public domain W3C validator