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

Theorem mvrfval 21189
Description: Value of the generating elements of the power series structure. (Contributed by Mario Carneiro, 7-Jan-2015.)
Hypotheses
Ref Expression
mvrfval.v 𝑉 = (𝐼 mVar 𝑅)
mvrfval.d 𝐷 = { ∈ (ℕ0m 𝐼) ∣ ( “ ℕ) ∈ Fin}
mvrfval.z 0 = (0g𝑅)
mvrfval.o 1 = (1r𝑅)
mvrfval.i (𝜑𝐼𝑊)
mvrfval.r (𝜑𝑅𝑌)
Assertion
Ref Expression
mvrfval (𝜑𝑉 = (𝑥𝐼 ↦ (𝑓𝐷 ↦ if(𝑓 = (𝑦𝐼 ↦ if(𝑦 = 𝑥, 1, 0)), 1 , 0 ))))
Distinct variable groups:   𝑥,𝑓, 0   1 ,𝑓,𝑥   𝑦,𝑓,𝐷,𝑥   𝑦,𝑊   𝑓,,𝐼,𝑥,𝑦   𝑅,𝑓,𝑥
Allowed substitution hints:   𝜑(𝑥,𝑦,𝑓,)   𝐷()   𝑅(𝑦,)   1 (𝑦,)   𝑉(𝑥,𝑦,𝑓,)   𝑊(𝑥,𝑓,)   𝑌(𝑥,𝑦,𝑓,)   0 (𝑦,)

Proof of Theorem mvrfval
Dummy variables 𝑖 𝑟 are mutually distinct and distinct from all other variables.
StepHypRef Expression
1 mvrfval.v . 2 𝑉 = (𝐼 mVar 𝑅)
2 mvrfval.i . . . 4 (𝜑𝐼𝑊)
32elexd 3452 . . 3 (𝜑𝐼 ∈ V)
4 mvrfval.r . . . 4 (𝜑𝑅𝑌)
54elexd 3452 . . 3 (𝜑𝑅 ∈ V)
62mptexd 7100 . . 3 (𝜑 → (𝑥𝐼 ↦ (𝑓𝐷 ↦ if(𝑓 = (𝑦𝐼 ↦ if(𝑦 = 𝑥, 1, 0)), 1 , 0 ))) ∈ V)
7 simpl 483 . . . . 5 ((𝑖 = 𝐼𝑟 = 𝑅) → 𝑖 = 𝐼)
87oveq2d 7291 . . . . . . . 8 ((𝑖 = 𝐼𝑟 = 𝑅) → (ℕ0m 𝑖) = (ℕ0m 𝐼))
98rabeqdv 3419 . . . . . . 7 ((𝑖 = 𝐼𝑟 = 𝑅) → { ∈ (ℕ0m 𝑖) ∣ ( “ ℕ) ∈ Fin} = { ∈ (ℕ0m 𝐼) ∣ ( “ ℕ) ∈ Fin})
10 mvrfval.d . . . . . . 7 𝐷 = { ∈ (ℕ0m 𝐼) ∣ ( “ ℕ) ∈ Fin}
119, 10eqtr4di 2796 . . . . . 6 ((𝑖 = 𝐼𝑟 = 𝑅) → { ∈ (ℕ0m 𝑖) ∣ ( “ ℕ) ∈ Fin} = 𝐷)
12 mpteq1 5167 . . . . . . . . 9 (𝑖 = 𝐼 → (𝑦𝑖 ↦ if(𝑦 = 𝑥, 1, 0)) = (𝑦𝐼 ↦ if(𝑦 = 𝑥, 1, 0)))
1312adantr 481 . . . . . . . 8 ((𝑖 = 𝐼𝑟 = 𝑅) → (𝑦𝑖 ↦ if(𝑦 = 𝑥, 1, 0)) = (𝑦𝐼 ↦ if(𝑦 = 𝑥, 1, 0)))
1413eqeq2d 2749 . . . . . . 7 ((𝑖 = 𝐼𝑟 = 𝑅) → (𝑓 = (𝑦𝑖 ↦ if(𝑦 = 𝑥, 1, 0)) ↔ 𝑓 = (𝑦𝐼 ↦ if(𝑦 = 𝑥, 1, 0))))
15 simpr 485 . . . . . . . . 9 ((𝑖 = 𝐼𝑟 = 𝑅) → 𝑟 = 𝑅)
1615fveq2d 6778 . . . . . . . 8 ((𝑖 = 𝐼𝑟 = 𝑅) → (1r𝑟) = (1r𝑅))
17 mvrfval.o . . . . . . . 8 1 = (1r𝑅)
1816, 17eqtr4di 2796 . . . . . . 7 ((𝑖 = 𝐼𝑟 = 𝑅) → (1r𝑟) = 1 )
1915fveq2d 6778 . . . . . . . 8 ((𝑖 = 𝐼𝑟 = 𝑅) → (0g𝑟) = (0g𝑅))
20 mvrfval.z . . . . . . . 8 0 = (0g𝑅)
2119, 20eqtr4di 2796 . . . . . . 7 ((𝑖 = 𝐼𝑟 = 𝑅) → (0g𝑟) = 0 )
2214, 18, 21ifbieq12d 4487 . . . . . 6 ((𝑖 = 𝐼𝑟 = 𝑅) → if(𝑓 = (𝑦𝑖 ↦ if(𝑦 = 𝑥, 1, 0)), (1r𝑟), (0g𝑟)) = if(𝑓 = (𝑦𝐼 ↦ if(𝑦 = 𝑥, 1, 0)), 1 , 0 ))
2311, 22mpteq12dv 5165 . . . . 5 ((𝑖 = 𝐼𝑟 = 𝑅) → (𝑓 ∈ { ∈ (ℕ0m 𝑖) ∣ ( “ ℕ) ∈ Fin} ↦ if(𝑓 = (𝑦𝑖 ↦ if(𝑦 = 𝑥, 1, 0)), (1r𝑟), (0g𝑟))) = (𝑓𝐷 ↦ if(𝑓 = (𝑦𝐼 ↦ if(𝑦 = 𝑥, 1, 0)), 1 , 0 )))
247, 23mpteq12dv 5165 . . . 4 ((𝑖 = 𝐼𝑟 = 𝑅) → (𝑥𝑖 ↦ (𝑓 ∈ { ∈ (ℕ0m 𝑖) ∣ ( “ ℕ) ∈ Fin} ↦ if(𝑓 = (𝑦𝑖 ↦ if(𝑦 = 𝑥, 1, 0)), (1r𝑟), (0g𝑟)))) = (𝑥𝐼 ↦ (𝑓𝐷 ↦ if(𝑓 = (𝑦𝐼 ↦ if(𝑦 = 𝑥, 1, 0)), 1 , 0 ))))
25 df-mvr 21113 . . . 4 mVar = (𝑖 ∈ V, 𝑟 ∈ V ↦ (𝑥𝑖 ↦ (𝑓 ∈ { ∈ (ℕ0m 𝑖) ∣ ( “ ℕ) ∈ Fin} ↦ if(𝑓 = (𝑦𝑖 ↦ if(𝑦 = 𝑥, 1, 0)), (1r𝑟), (0g𝑟)))))
2624, 25ovmpoga 7427 . . 3 ((𝐼 ∈ V ∧ 𝑅 ∈ V ∧ (𝑥𝐼 ↦ (𝑓𝐷 ↦ if(𝑓 = (𝑦𝐼 ↦ if(𝑦 = 𝑥, 1, 0)), 1 , 0 ))) ∈ V) → (𝐼 mVar 𝑅) = (𝑥𝐼 ↦ (𝑓𝐷 ↦ if(𝑓 = (𝑦𝐼 ↦ if(𝑦 = 𝑥, 1, 0)), 1 , 0 ))))
273, 5, 6, 26syl3anc 1370 . 2 (𝜑 → (𝐼 mVar 𝑅) = (𝑥𝐼 ↦ (𝑓𝐷 ↦ if(𝑓 = (𝑦𝐼 ↦ if(𝑦 = 𝑥, 1, 0)), 1 , 0 ))))
281, 27eqtrid 2790 1 (𝜑𝑉 = (𝑥𝐼 ↦ (𝑓𝐷 ↦ if(𝑓 = (𝑦𝐼 ↦ if(𝑦 = 𝑥, 1, 0)), 1 , 0 ))))
Colors of variables: wff setvar class
Syntax hints:  wi 4  wa 396   = wceq 1539  wcel 2106  {crab 3068  Vcvv 3432  ifcif 4459  cmpt 5157  ccnv 5588  cima 5592  cfv 6433  (class class class)co 7275  m cmap 8615  Fincfn 8733  0cc0 10871  1c1 10872  cn 11973  0cn0 12233  0gc0g 17150  1rcur 19737   mVar cmvr 21108
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1798  ax-4 1812  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 2709  ax-rep 5209  ax-sep 5223  ax-nul 5230  ax-pr 5352
This theorem depends on definitions:  df-bi 206  df-an 397  df-or 845  df-3an 1088  df-tru 1542  df-fal 1552  df-ex 1783  df-nf 1787  df-sb 2068  df-mo 2540  df-eu 2569  df-clab 2716  df-cleq 2730  df-clel 2816  df-nfc 2889  df-ne 2944  df-ral 3069  df-rex 3070  df-reu 3072  df-rab 3073  df-v 3434  df-sbc 3717  df-csb 3833  df-dif 3890  df-un 3892  df-in 3894  df-ss 3904  df-nul 4257  df-if 4460  df-sn 4562  df-pr 4564  df-op 4568  df-uni 4840  df-iun 4926  df-br 5075  df-opab 5137  df-mpt 5158  df-id 5489  df-xp 5595  df-rel 5596  df-cnv 5597  df-co 5598  df-dm 5599  df-rn 5600  df-res 5601  df-ima 5602  df-iota 6391  df-fun 6435  df-fn 6436  df-f 6437  df-f1 6438  df-fo 6439  df-f1o 6440  df-fv 6441  df-ov 7278  df-oprab 7279  df-mpo 7280  df-mvr 21113
This theorem is referenced by:  mvrval  21190  mvrf  21193  subrgmvr  21234
  Copyright terms: Public domain W3C validator