Users' Mathboxes Mathbox for Rohan Ridenour < Previous   Next >
Nearby theorems
Mirrors  >  Home  >  MPE Home  >  Th. List  >   Mathboxes  >  mnringvald Structured version   Visualization version   GIF version

Theorem mnringvald 41779
Description: Value of the monoid ring function. (Contributed by Rohan Ridenour, 14-May-2024.)
Hypotheses
Ref Expression
mnringvald.1 𝐹 = (𝑅 MndRing 𝑀)
mnringvald.2 · = (.r𝑅)
mnringvald.3 0 = (0g𝑅)
mnringvald.4 𝐴 = (Base‘𝑀)
mnringvald.5 + = (+g𝑀)
mnringvald.6 𝑉 = (𝑅 freeLMod 𝐴)
mnringvald.7 𝐵 = (Base‘𝑉)
mnringvald.8 (𝜑𝑅𝑈)
mnringvald.9 (𝜑𝑀𝑊)
Assertion
Ref Expression
mnringvald (𝜑𝐹 = (𝑉 sSet ⟨(.r‘ndx), (𝑥𝐵, 𝑦𝐵 ↦ (𝑉 Σg (𝑎𝐴, 𝑏𝐴 ↦ (𝑖𝐴 ↦ if(𝑖 = (𝑎 + 𝑏), ((𝑥𝑎) · (𝑦𝑏)), 0 )))))⟩))
Distinct variable groups:   𝑅,𝑎,𝑏,𝑖,𝑥,𝑦   𝑀,𝑎,𝑏,𝑖,𝑥,𝑦
Allowed substitution hints:   𝜑(𝑥,𝑦,𝑖,𝑎,𝑏)   𝐴(𝑥,𝑦,𝑖,𝑎,𝑏)   𝐵(𝑥,𝑦,𝑖,𝑎,𝑏)   + (𝑥,𝑦,𝑖,𝑎,𝑏)   · (𝑥,𝑦,𝑖,𝑎,𝑏)   𝑈(𝑥,𝑦,𝑖,𝑎,𝑏)   𝐹(𝑥,𝑦,𝑖,𝑎,𝑏)   𝑉(𝑥,𝑦,𝑖,𝑎,𝑏)   𝑊(𝑥,𝑦,𝑖,𝑎,𝑏)   0 (𝑥,𝑦,𝑖,𝑎,𝑏)

Proof of Theorem mnringvald
Dummy variables 𝑚 𝑟 𝑣 are mutually distinct and distinct from all other variables.
StepHypRef Expression
1 mnringvald.1 . 2 𝐹 = (𝑅 MndRing 𝑀)
2 mnringvald.8 . . . 4 (𝜑𝑅𝑈)
32elexd 3450 . . 3 (𝜑𝑅 ∈ V)
4 mnringvald.9 . . . 4 (𝜑𝑀𝑊)
54elexd 3450 . . 3 (𝜑𝑀 ∈ V)
6 nfv 1920 . . . . 5 𝑣(𝑟 = 𝑅𝑚 = 𝑀)
7 nfcvd 2909 . . . . 5 ((𝑟 = 𝑅𝑚 = 𝑀) → 𝑣(𝑉 sSet ⟨(.r‘ndx), (𝑥𝐵, 𝑦𝐵 ↦ (𝑉 Σg (𝑎𝐴, 𝑏𝐴 ↦ (𝑖𝐴 ↦ if(𝑖 = (𝑎 + 𝑏), ((𝑥𝑎) · (𝑦𝑏)), 0 )))))⟩))
8 ovexd 7303 . . . . 5 ((𝑟 = 𝑅𝑚 = 𝑀) → (𝑟 freeLMod (Base‘𝑚)) ∈ V)
9 simpr 484 . . . . . . . 8 (((𝑟 = 𝑅𝑚 = 𝑀) ∧ 𝑣 = (𝑟 freeLMod (Base‘𝑚))) → 𝑣 = (𝑟 freeLMod (Base‘𝑚)))
10 simpll 763 . . . . . . . . 9 (((𝑟 = 𝑅𝑚 = 𝑀) ∧ 𝑣 = (𝑟 freeLMod (Base‘𝑚))) → 𝑟 = 𝑅)
11 fveq2 6768 . . . . . . . . . . 11 (𝑚 = 𝑀 → (Base‘𝑚) = (Base‘𝑀))
12 mnringvald.4 . . . . . . . . . . 11 𝐴 = (Base‘𝑀)
1311, 12eqtr4di 2797 . . . . . . . . . 10 (𝑚 = 𝑀 → (Base‘𝑚) = 𝐴)
1413ad2antlr 723 . . . . . . . . 9 (((𝑟 = 𝑅𝑚 = 𝑀) ∧ 𝑣 = (𝑟 freeLMod (Base‘𝑚))) → (Base‘𝑚) = 𝐴)
1510, 14oveq12d 7286 . . . . . . . 8 (((𝑟 = 𝑅𝑚 = 𝑀) ∧ 𝑣 = (𝑟 freeLMod (Base‘𝑚))) → (𝑟 freeLMod (Base‘𝑚)) = (𝑅 freeLMod 𝐴))
169, 15eqtrd 2779 . . . . . . 7 (((𝑟 = 𝑅𝑚 = 𝑀) ∧ 𝑣 = (𝑟 freeLMod (Base‘𝑚))) → 𝑣 = (𝑅 freeLMod 𝐴))
17 mnringvald.6 . . . . . . 7 𝑉 = (𝑅 freeLMod 𝐴)
1816, 17eqtr4di 2797 . . . . . 6 (((𝑟 = 𝑅𝑚 = 𝑀) ∧ 𝑣 = (𝑟 freeLMod (Base‘𝑚))) → 𝑣 = 𝑉)
1918fveq2d 6772 . . . . . . . . 9 (((𝑟 = 𝑅𝑚 = 𝑀) ∧ 𝑣 = (𝑟 freeLMod (Base‘𝑚))) → (Base‘𝑣) = (Base‘𝑉))
20 mnringvald.7 . . . . . . . . 9 𝐵 = (Base‘𝑉)
2119, 20eqtr4di 2797 . . . . . . . 8 (((𝑟 = 𝑅𝑚 = 𝑀) ∧ 𝑣 = (𝑟 freeLMod (Base‘𝑚))) → (Base‘𝑣) = 𝐵)
22 fveq2 6768 . . . . . . . . . . . . . . . 16 (𝑚 = 𝑀 → (+g𝑚) = (+g𝑀))
23 mnringvald.5 . . . . . . . . . . . . . . . 16 + = (+g𝑀)
2422, 23eqtr4di 2797 . . . . . . . . . . . . . . 15 (𝑚 = 𝑀 → (+g𝑚) = + )
2524oveqd 7285 . . . . . . . . . . . . . 14 (𝑚 = 𝑀 → (𝑎(+g𝑚)𝑏) = (𝑎 + 𝑏))
2625ad2antlr 723 . . . . . . . . . . . . 13 (((𝑟 = 𝑅𝑚 = 𝑀) ∧ 𝑣 = (𝑟 freeLMod (Base‘𝑚))) → (𝑎(+g𝑚)𝑏) = (𝑎 + 𝑏))
2726eqeq2d 2750 . . . . . . . . . . . 12 (((𝑟 = 𝑅𝑚 = 𝑀) ∧ 𝑣 = (𝑟 freeLMod (Base‘𝑚))) → (𝑖 = (𝑎(+g𝑚)𝑏) ↔ 𝑖 = (𝑎 + 𝑏)))
28 fveq2 6768 . . . . . . . . . . . . . . 15 (𝑟 = 𝑅 → (.r𝑟) = (.r𝑅))
29 mnringvald.2 . . . . . . . . . . . . . . 15 · = (.r𝑅)
3028, 29eqtr4di 2797 . . . . . . . . . . . . . 14 (𝑟 = 𝑅 → (.r𝑟) = · )
3130oveqd 7285 . . . . . . . . . . . . 13 (𝑟 = 𝑅 → ((𝑥𝑎)(.r𝑟)(𝑦𝑏)) = ((𝑥𝑎) · (𝑦𝑏)))
3231ad2antrr 722 . . . . . . . . . . . 12 (((𝑟 = 𝑅𝑚 = 𝑀) ∧ 𝑣 = (𝑟 freeLMod (Base‘𝑚))) → ((𝑥𝑎)(.r𝑟)(𝑦𝑏)) = ((𝑥𝑎) · (𝑦𝑏)))
33 fveq2 6768 . . . . . . . . . . . . . 14 (𝑟 = 𝑅 → (0g𝑟) = (0g𝑅))
34 mnringvald.3 . . . . . . . . . . . . . 14 0 = (0g𝑅)
3533, 34eqtr4di 2797 . . . . . . . . . . . . 13 (𝑟 = 𝑅 → (0g𝑟) = 0 )
3635ad2antrr 722 . . . . . . . . . . . 12 (((𝑟 = 𝑅𝑚 = 𝑀) ∧ 𝑣 = (𝑟 freeLMod (Base‘𝑚))) → (0g𝑟) = 0 )
3727, 32, 36ifbieq12d 4492 . . . . . . . . . . 11 (((𝑟 = 𝑅𝑚 = 𝑀) ∧ 𝑣 = (𝑟 freeLMod (Base‘𝑚))) → if(𝑖 = (𝑎(+g𝑚)𝑏), ((𝑥𝑎)(.r𝑟)(𝑦𝑏)), (0g𝑟)) = if(𝑖 = (𝑎 + 𝑏), ((𝑥𝑎) · (𝑦𝑏)), 0 ))
3814, 37mpteq12dv 5169 . . . . . . . . . 10 (((𝑟 = 𝑅𝑚 = 𝑀) ∧ 𝑣 = (𝑟 freeLMod (Base‘𝑚))) → (𝑖 ∈ (Base‘𝑚) ↦ if(𝑖 = (𝑎(+g𝑚)𝑏), ((𝑥𝑎)(.r𝑟)(𝑦𝑏)), (0g𝑟))) = (𝑖𝐴 ↦ if(𝑖 = (𝑎 + 𝑏), ((𝑥𝑎) · (𝑦𝑏)), 0 )))
3914, 14, 38mpoeq123dv 7341 . . . . . . . . 9 (((𝑟 = 𝑅𝑚 = 𝑀) ∧ 𝑣 = (𝑟 freeLMod (Base‘𝑚))) → (𝑎 ∈ (Base‘𝑚), 𝑏 ∈ (Base‘𝑚) ↦ (𝑖 ∈ (Base‘𝑚) ↦ if(𝑖 = (𝑎(+g𝑚)𝑏), ((𝑥𝑎)(.r𝑟)(𝑦𝑏)), (0g𝑟)))) = (𝑎𝐴, 𝑏𝐴 ↦ (𝑖𝐴 ↦ if(𝑖 = (𝑎 + 𝑏), ((𝑥𝑎) · (𝑦𝑏)), 0 ))))
4018, 39oveq12d 7286 . . . . . . . 8 (((𝑟 = 𝑅𝑚 = 𝑀) ∧ 𝑣 = (𝑟 freeLMod (Base‘𝑚))) → (𝑣 Σg (𝑎 ∈ (Base‘𝑚), 𝑏 ∈ (Base‘𝑚) ↦ (𝑖 ∈ (Base‘𝑚) ↦ if(𝑖 = (𝑎(+g𝑚)𝑏), ((𝑥𝑎)(.r𝑟)(𝑦𝑏)), (0g𝑟))))) = (𝑉 Σg (𝑎𝐴, 𝑏𝐴 ↦ (𝑖𝐴 ↦ if(𝑖 = (𝑎 + 𝑏), ((𝑥𝑎) · (𝑦𝑏)), 0 )))))
4121, 21, 40mpoeq123dv 7341 . . . . . . 7 (((𝑟 = 𝑅𝑚 = 𝑀) ∧ 𝑣 = (𝑟 freeLMod (Base‘𝑚))) → (𝑥 ∈ (Base‘𝑣), 𝑦 ∈ (Base‘𝑣) ↦ (𝑣 Σg (𝑎 ∈ (Base‘𝑚), 𝑏 ∈ (Base‘𝑚) ↦ (𝑖 ∈ (Base‘𝑚) ↦ if(𝑖 = (𝑎(+g𝑚)𝑏), ((𝑥𝑎)(.r𝑟)(𝑦𝑏)), (0g𝑟)))))) = (𝑥𝐵, 𝑦𝐵 ↦ (𝑉 Σg (𝑎𝐴, 𝑏𝐴 ↦ (𝑖𝐴 ↦ if(𝑖 = (𝑎 + 𝑏), ((𝑥𝑎) · (𝑦𝑏)), 0 ))))))
4241opeq2d 4816 . . . . . 6 (((𝑟 = 𝑅𝑚 = 𝑀) ∧ 𝑣 = (𝑟 freeLMod (Base‘𝑚))) → ⟨(.r‘ndx), (𝑥 ∈ (Base‘𝑣), 𝑦 ∈ (Base‘𝑣) ↦ (𝑣 Σg (𝑎 ∈ (Base‘𝑚), 𝑏 ∈ (Base‘𝑚) ↦ (𝑖 ∈ (Base‘𝑚) ↦ if(𝑖 = (𝑎(+g𝑚)𝑏), ((𝑥𝑎)(.r𝑟)(𝑦𝑏)), (0g𝑟))))))⟩ = ⟨(.r‘ndx), (𝑥𝐵, 𝑦𝐵 ↦ (𝑉 Σg (𝑎𝐴, 𝑏𝐴 ↦ (𝑖𝐴 ↦ if(𝑖 = (𝑎 + 𝑏), ((𝑥𝑎) · (𝑦𝑏)), 0 )))))⟩)
4318, 42oveq12d 7286 . . . . 5 (((𝑟 = 𝑅𝑚 = 𝑀) ∧ 𝑣 = (𝑟 freeLMod (Base‘𝑚))) → (𝑣 sSet ⟨(.r‘ndx), (𝑥 ∈ (Base‘𝑣), 𝑦 ∈ (Base‘𝑣) ↦ (𝑣 Σg (𝑎 ∈ (Base‘𝑚), 𝑏 ∈ (Base‘𝑚) ↦ (𝑖 ∈ (Base‘𝑚) ↦ if(𝑖 = (𝑎(+g𝑚)𝑏), ((𝑥𝑎)(.r𝑟)(𝑦𝑏)), (0g𝑟))))))⟩) = (𝑉 sSet ⟨(.r‘ndx), (𝑥𝐵, 𝑦𝐵 ↦ (𝑉 Σg (𝑎𝐴, 𝑏𝐴 ↦ (𝑖𝐴 ↦ if(𝑖 = (𝑎 + 𝑏), ((𝑥𝑎) · (𝑦𝑏)), 0 )))))⟩))
446, 7, 8, 43csbiedf 3867 . . . 4 ((𝑟 = 𝑅𝑚 = 𝑀) → (𝑟 freeLMod (Base‘𝑚)) / 𝑣(𝑣 sSet ⟨(.r‘ndx), (𝑥 ∈ (Base‘𝑣), 𝑦 ∈ (Base‘𝑣) ↦ (𝑣 Σg (𝑎 ∈ (Base‘𝑚), 𝑏 ∈ (Base‘𝑚) ↦ (𝑖 ∈ (Base‘𝑚) ↦ if(𝑖 = (𝑎(+g𝑚)𝑏), ((𝑥𝑎)(.r𝑟)(𝑦𝑏)), (0g𝑟))))))⟩) = (𝑉 sSet ⟨(.r‘ndx), (𝑥𝐵, 𝑦𝐵 ↦ (𝑉 Σg (𝑎𝐴, 𝑏𝐴 ↦ (𝑖𝐴 ↦ if(𝑖 = (𝑎 + 𝑏), ((𝑥𝑎) · (𝑦𝑏)), 0 )))))⟩))
45 df-mnring 41778 . . . 4 MndRing = (𝑟 ∈ V, 𝑚 ∈ V ↦ (𝑟 freeLMod (Base‘𝑚)) / 𝑣(𝑣 sSet ⟨(.r‘ndx), (𝑥 ∈ (Base‘𝑣), 𝑦 ∈ (Base‘𝑣) ↦ (𝑣 Σg (𝑎 ∈ (Base‘𝑚), 𝑏 ∈ (Base‘𝑚) ↦ (𝑖 ∈ (Base‘𝑚) ↦ if(𝑖 = (𝑎(+g𝑚)𝑏), ((𝑥𝑎)(.r𝑟)(𝑦𝑏)), (0g𝑟))))))⟩))
46 ovex 7301 . . . 4 (𝑉 sSet ⟨(.r‘ndx), (𝑥𝐵, 𝑦𝐵 ↦ (𝑉 Σg (𝑎𝐴, 𝑏𝐴 ↦ (𝑖𝐴 ↦ if(𝑖 = (𝑎 + 𝑏), ((𝑥𝑎) · (𝑦𝑏)), 0 )))))⟩) ∈ V
4744, 45, 46ovmpoa 7419 . . 3 ((𝑅 ∈ V ∧ 𝑀 ∈ V) → (𝑅 MndRing 𝑀) = (𝑉 sSet ⟨(.r‘ndx), (𝑥𝐵, 𝑦𝐵 ↦ (𝑉 Σg (𝑎𝐴, 𝑏𝐴 ↦ (𝑖𝐴 ↦ if(𝑖 = (𝑎 + 𝑏), ((𝑥𝑎) · (𝑦𝑏)), 0 )))))⟩))
483, 5, 47syl2anc 583 . 2 (𝜑 → (𝑅 MndRing 𝑀) = (𝑉 sSet ⟨(.r‘ndx), (𝑥𝐵, 𝑦𝐵 ↦ (𝑉 Σg (𝑎𝐴, 𝑏𝐴 ↦ (𝑖𝐴 ↦ if(𝑖 = (𝑎 + 𝑏), ((𝑥𝑎) · (𝑦𝑏)), 0 )))))⟩))
491, 48eqtrid 2791 1 (𝜑𝐹 = (𝑉 sSet ⟨(.r‘ndx), (𝑥𝐵, 𝑦𝐵 ↦ (𝑉 Σg (𝑎𝐴, 𝑏𝐴 ↦ (𝑖𝐴 ↦ if(𝑖 = (𝑎 + 𝑏), ((𝑥𝑎) · (𝑦𝑏)), 0 )))))⟩))
Colors of variables: wff setvar class
Syntax hints:  wi 4  wa 395   = wceq 1541  wcel 2109  Vcvv 3430  csb 3836  ifcif 4464  cop 4572  cmpt 5161  cfv 6430  (class class class)co 7268  cmpo 7270   sSet csts 16845  ndxcnx 16875  Basecbs 16893  +gcplusg 16943  .rcmulr 16944  0gc0g 17131   Σg cgsu 17132   freeLMod cfrlm 20934   MndRing cmnring 41777
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-pr 5355
This theorem depends on definitions:  df-bi 206  df-an 396  df-or 844  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-ral 3070  df-rex 3071  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-nul 4262  df-if 4465  df-sn 4567  df-pr 4569  df-op 4573  df-uni 4845  df-br 5079  df-opab 5141  df-mpt 5162  df-id 5488  df-xp 5594  df-rel 5595  df-cnv 5596  df-co 5597  df-dm 5598  df-iota 6388  df-fun 6432  df-fv 6438  df-ov 7271  df-oprab 7272  df-mpo 7273  df-mnring 41778
This theorem is referenced by:  mnringnmulrd  41780  mnringnmulrdOLD  41781  mnringmulrd  41792
  Copyright terms: Public domain W3C validator