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 51214
Description: Value of the category built from a monoid. (Contributed by Zhi Wang, 22-Sep-2024.) (New usage is discouraged.)
Hypotheses
Ref Expression
mndtcbaseu.c (𝜑 → 𝐶 = (MndToCat‘𝑀))
mndtcbaseu.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 mndtcbaseu.c . 2 (𝜑 → 𝐶 = (MndToCat‘𝑀))
2 mndtcbaseu.m . . 3 (𝜑 → 𝑀 ∈ Mnd)
3 sneq 4601 . . . . . 6 (𝑚 = 𝑀 → {𝑚} = {𝑀})
43opeq2d 4860 . . . . 5 (𝑚 = 𝑀 → ⟨(Base‘ndx), {𝑚}⟩ = ⟨(Base‘ndx), {𝑀}⟩)
5 id 23 . . . . . . . 8 (𝑚 = 𝑀 → 𝑚 = 𝑀)
6 fveq2 6931 . . . . . . . 8 (𝑚 = 𝑀 → (Base‘𝑚) = (Base‘𝑀))
75, 5, 6oteq123d 4879 . . . . . . 7 (𝑚 = 𝑀 → ⟨𝑚, 𝑚, (Base‘𝑚)⟩ = ⟨𝑀, 𝑀, (Base‘𝑀)⟩)
87sneqd 4603 . . . . . 6 (𝑚 = 𝑀 → {⟨𝑚, 𝑚, (Base‘𝑚)⟩} = {⟨𝑀, 𝑀, (Base‘𝑀)⟩})
98opeq2d 4860 . . . . 5 (𝑚 = 𝑀 → ⟨(Hom ‘ndx), {⟨𝑚, 𝑚, (Base‘𝑚)⟩}⟩ = ⟨(Hom ‘ndx), {⟨𝑀, 𝑀, (Base‘𝑀)⟩}⟩)
105, 5, 5oteq123d 4879 . . . . . . . 8 (𝑚 = 𝑀 → ⟨𝑚, 𝑚, 𝑚⟩ = ⟨𝑀, 𝑀, 𝑀⟩)
11 fveq2 6931 . . . . . . . 8 (𝑚 = 𝑀 → (+g‘𝑚) = (+g‘𝑀))
1210, 11opeq12d 4861 . . . . . . 7 (𝑚 = 𝑀 → ⟨⟨𝑚, 𝑚, 𝑚⟩, (+g‘𝑚)⟩ = ⟨⟨𝑀, 𝑀, 𝑀⟩, (+g‘𝑀)⟩)
1312sneqd 4603 . . . . . 6 (𝑚 = 𝑀 → {⟨⟨𝑚, 𝑚, 𝑚⟩, (+g‘𝑚)⟩} = {⟨⟨𝑀, 𝑀, 𝑀⟩, (+g‘𝑀)⟩})
1413opeq2d 4860 . . . . 5 (𝑚 = 𝑀 → ⟨(comp‘ndx), {⟨⟨𝑚, 𝑚, 𝑚⟩, (+g‘𝑚)⟩}⟩ = ⟨(comp‘ndx), {⟨⟨𝑀, 𝑀, 𝑀⟩, (+g‘𝑀)⟩}⟩)
154, 9, 14tpeq123d 4719 . . . 4 (𝑚 = 𝑀 → {⟨(Base‘ndx), {𝑚}⟩, ⟨(Hom ‘ndx), {⟨𝑚, 𝑚, (Base‘𝑚)⟩}⟩, ⟨(comp‘ndx), {⟨⟨𝑚, 𝑚, 𝑚⟩, (+g‘𝑚)⟩}⟩} = {⟨(Base‘ndx), {𝑀}⟩, ⟨(Hom ‘ndx), {⟨𝑀, 𝑀, (Base‘𝑀)⟩}⟩, ⟨(comp‘ndx), {⟨⟨𝑀, 𝑀, 𝑀⟩, (+g‘𝑀)⟩}⟩})
16 df-mndtc 51213 . . . 4 MndToCat = (𝑚 ∈ Mnd ↦ {⟨(Base‘ndx), {𝑚}⟩, ⟨(Hom ‘ndx), {⟨𝑚, 𝑚, (Base‘𝑚)⟩}⟩, ⟨(comp‘ndx), {⟨⟨𝑚, 𝑚, 𝑚⟩, (+g‘𝑚)⟩}⟩})
17 tpex 7810 . . . 4 {⟨(Base‘ndx), {𝑀}⟩, ⟨(Hom ‘ndx), {⟨𝑀, 𝑀, (Base‘𝑀)⟩}⟩, ⟨(comp‘ndx), {⟨⟨𝑀, 𝑀, 𝑀⟩, (+g‘𝑀)⟩}⟩} ∈ V
1815, 16, 17fvmpt 7039 . . 3 (𝑀 ∈ Mnd → (MndToCat‘𝑀) = {⟨(Base‘ndx), {𝑀}⟩, ⟨(Hom ‘ndx), {⟨𝑀, 𝑀, (Base‘𝑀)⟩}⟩, ⟨(comp‘ndx), {⟨⟨𝑀, 𝑀, 𝑀⟩, (+g‘𝑀)⟩}⟩})
192, 18syl 18 . 2 (𝜑 → (MndToCat‘𝑀) = {⟨(Base‘ndx), {𝑀}⟩, ⟨(Hom ‘ndx), {⟨𝑀, 𝑀, (Base‘𝑀)⟩}⟩, ⟨(comp‘ndx), {⟨⟨𝑀, 𝑀, 𝑀⟩, (+g‘𝑀)⟩}⟩})
201, 19eqtrd 2809 1 (𝜑 → 𝐶 = {⟨(Base‘ndx), {𝑀}⟩, ⟨(Hom ‘ndx), {⟨𝑀, 𝑀, (Base‘𝑀)⟩}⟩, ⟨(comp‘ndx), {⟨⟨𝑀, 𝑀, 𝑀⟩, (+g‘𝑀)⟩}⟩})
Colors of variables:    wff setvar class
This proof depends on syntax axioms:   → wi 4   = wceq 1572   ∈ wcel 2156  {csn 4595  {ctp 4599  ⟨cop 4848  ⟨cotp 4871  ‘cfv 6578  ndxcnx 17436  Basecbs 17452  +gcplusg 17493  Hom chom 17504  compcco 17505  Mndcmnd 18998  MndToCatcmndtc 51212
This proof depends on axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1834  ax-4 1848  ax-5 1951  ax-6 2009  ax-7 2050  ax-8 2158  ax-9 2166  ax-10 2189  ax-11 2206  ax-12 2225  ax-ext 2746  ax-sep 5263  ax-pr 5406  ax-un 7799
This proof depends on definitions:  df-bi 210  df-an 402  df-or 862  df-3an 1106  df-tru 1575  df-fal 1585  df-ex 1819  df-nf 1823  df-sb 2110  df-mo 2576  df-eu 2606  df-clab 2753  df-cleq 2766  df-clel 2850  df-nfc 2924  df-ral 3092  df-rex 3102  df-rab 3424  df-v 3463  df-ss 3908  df-dif 4057  df-in 4101  df-un 4161  df-nul 4289  df-if 4493  df-sn 4596  df-pr 4598  df-tp 4600  df-op 4849  df-ot 4872  df-uni 4881  df-br 5117  df-opab 5182  df-mpt 5201  df-id 5561  df-xp 5672  df-rel 5673  df-cnv 5674  df-co 5675  df-dm 5676  df-iota 6532  df-fun 6580  df-fv 6586  df-mndtc 51213
This theorem is used by:  mndtcbasval  51215  mndtchom  51219  mndtcco  51220
  Copyright terms: Public domain W3C validator