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

Theorem mvrfval 19635
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 𝐷 = { ∈ (ℕ0𝑚 𝐼) ∣ ( “ ℕ) ∈ 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 (𝜑𝐼𝑊)
3 elex 3364 . . . 4 (𝐼𝑊𝐼 ∈ V)
42, 3syl 17 . . 3 (𝜑𝐼 ∈ V)
5 mvrfval.r . . . 4 (𝜑𝑅𝑌)
6 elex 3364 . . . 4 (𝑅𝑌𝑅 ∈ V)
75, 6syl 17 . . 3 (𝜑𝑅 ∈ V)
8 mptexg 6631 . . . 4 (𝐼𝑊 → (𝑥𝐼 ↦ (𝑓𝐷 ↦ if(𝑓 = (𝑦𝐼 ↦ if(𝑦 = 𝑥, 1, 0)), 1 , 0 ))) ∈ V)
92, 8syl 17 . . 3 (𝜑 → (𝑥𝐼 ↦ (𝑓𝐷 ↦ if(𝑓 = (𝑦𝐼 ↦ if(𝑦 = 𝑥, 1, 0)), 1 , 0 ))) ∈ V)
10 simpl 468 . . . . 5 ((𝑖 = 𝐼𝑟 = 𝑅) → 𝑖 = 𝐼)
1110oveq2d 6812 . . . . . . . 8 ((𝑖 = 𝐼𝑟 = 𝑅) → (ℕ0𝑚 𝑖) = (ℕ0𝑚 𝐼))
12 rabeq 3342 . . . . . . . 8 ((ℕ0𝑚 𝑖) = (ℕ0𝑚 𝐼) → { ∈ (ℕ0𝑚 𝑖) ∣ ( “ ℕ) ∈ Fin} = { ∈ (ℕ0𝑚 𝐼) ∣ ( “ ℕ) ∈ Fin})
1311, 12syl 17 . . . . . . 7 ((𝑖 = 𝐼𝑟 = 𝑅) → { ∈ (ℕ0𝑚 𝑖) ∣ ( “ ℕ) ∈ Fin} = { ∈ (ℕ0𝑚 𝐼) ∣ ( “ ℕ) ∈ Fin})
14 mvrfval.d . . . . . . 7 𝐷 = { ∈ (ℕ0𝑚 𝐼) ∣ ( “ ℕ) ∈ Fin}
1513, 14syl6eqr 2823 . . . . . 6 ((𝑖 = 𝐼𝑟 = 𝑅) → { ∈ (ℕ0𝑚 𝑖) ∣ ( “ ℕ) ∈ Fin} = 𝐷)
16 mpteq1 4872 . . . . . . . . 9 (𝑖 = 𝐼 → (𝑦𝑖 ↦ if(𝑦 = 𝑥, 1, 0)) = (𝑦𝐼 ↦ if(𝑦 = 𝑥, 1, 0)))
1716adantr 466 . . . . . . . 8 ((𝑖 = 𝐼𝑟 = 𝑅) → (𝑦𝑖 ↦ if(𝑦 = 𝑥, 1, 0)) = (𝑦𝐼 ↦ if(𝑦 = 𝑥, 1, 0)))
1817eqeq2d 2781 . . . . . . 7 ((𝑖 = 𝐼𝑟 = 𝑅) → (𝑓 = (𝑦𝑖 ↦ if(𝑦 = 𝑥, 1, 0)) ↔ 𝑓 = (𝑦𝐼 ↦ if(𝑦 = 𝑥, 1, 0))))
19 simpr 471 . . . . . . . . 9 ((𝑖 = 𝐼𝑟 = 𝑅) → 𝑟 = 𝑅)
2019fveq2d 6337 . . . . . . . 8 ((𝑖 = 𝐼𝑟 = 𝑅) → (1r𝑟) = (1r𝑅))
21 mvrfval.o . . . . . . . 8 1 = (1r𝑅)
2220, 21syl6eqr 2823 . . . . . . 7 ((𝑖 = 𝐼𝑟 = 𝑅) → (1r𝑟) = 1 )
2319fveq2d 6337 . . . . . . . 8 ((𝑖 = 𝐼𝑟 = 𝑅) → (0g𝑟) = (0g𝑅))
24 mvrfval.z . . . . . . . 8 0 = (0g𝑅)
2523, 24syl6eqr 2823 . . . . . . 7 ((𝑖 = 𝐼𝑟 = 𝑅) → (0g𝑟) = 0 )
2618, 22, 25ifbieq12d 4253 . . . . . 6 ((𝑖 = 𝐼𝑟 = 𝑅) → if(𝑓 = (𝑦𝑖 ↦ if(𝑦 = 𝑥, 1, 0)), (1r𝑟), (0g𝑟)) = if(𝑓 = (𝑦𝐼 ↦ if(𝑦 = 𝑥, 1, 0)), 1 , 0 ))
2715, 26mpteq12dv 4868 . . . . 5 ((𝑖 = 𝐼𝑟 = 𝑅) → (𝑓 ∈ { ∈ (ℕ0𝑚 𝑖) ∣ ( “ ℕ) ∈ Fin} ↦ if(𝑓 = (𝑦𝑖 ↦ if(𝑦 = 𝑥, 1, 0)), (1r𝑟), (0g𝑟))) = (𝑓𝐷 ↦ if(𝑓 = (𝑦𝐼 ↦ if(𝑦 = 𝑥, 1, 0)), 1 , 0 )))
2810, 27mpteq12dv 4868 . . . 4 ((𝑖 = 𝐼𝑟 = 𝑅) → (𝑥𝑖 ↦ (𝑓 ∈ { ∈ (ℕ0𝑚 𝑖) ∣ ( “ ℕ) ∈ Fin} ↦ if(𝑓 = (𝑦𝑖 ↦ if(𝑦 = 𝑥, 1, 0)), (1r𝑟), (0g𝑟)))) = (𝑥𝐼 ↦ (𝑓𝐷 ↦ if(𝑓 = (𝑦𝐼 ↦ if(𝑦 = 𝑥, 1, 0)), 1 , 0 ))))
29 df-mvr 19572 . . . 4 mVar = (𝑖 ∈ V, 𝑟 ∈ V ↦ (𝑥𝑖 ↦ (𝑓 ∈ { ∈ (ℕ0𝑚 𝑖) ∣ ( “ ℕ) ∈ Fin} ↦ if(𝑓 = (𝑦𝑖 ↦ if(𝑦 = 𝑥, 1, 0)), (1r𝑟), (0g𝑟)))))
3028, 29ovmpt2ga 6941 . . 3 ((𝐼 ∈ V ∧ 𝑅 ∈ V ∧ (𝑥𝐼 ↦ (𝑓𝐷 ↦ if(𝑓 = (𝑦𝐼 ↦ if(𝑦 = 𝑥, 1, 0)), 1 , 0 ))) ∈ V) → (𝐼 mVar 𝑅) = (𝑥𝐼 ↦ (𝑓𝐷 ↦ if(𝑓 = (𝑦𝐼 ↦ if(𝑦 = 𝑥, 1, 0)), 1 , 0 ))))
314, 7, 9, 30syl3anc 1476 . 2 (𝜑 → (𝐼 mVar 𝑅) = (𝑥𝐼 ↦ (𝑓𝐷 ↦ if(𝑓 = (𝑦𝐼 ↦ if(𝑦 = 𝑥, 1, 0)), 1 , 0 ))))
321, 31syl5eq 2817 1 (𝜑𝑉 = (𝑥𝐼 ↦ (𝑓𝐷 ↦ if(𝑓 = (𝑦𝐼 ↦ if(𝑦 = 𝑥, 1, 0)), 1 , 0 ))))
Colors of variables: wff setvar class
Syntax hints:  wi 4  wa 382   = wceq 1631  wcel 2145  {crab 3065  Vcvv 3351  ifcif 4226  cmpt 4864  ccnv 5249  cima 5253  cfv 6030  (class class class)co 6796  𝑚 cmap 8013  Fincfn 8113  0cc0 10142  1c1 10143  cn 11226  0cn0 11499  0gc0g 16308  1rcur 18709   mVar cmvr 19567
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1870  ax-4 1885  ax-5 1991  ax-6 2057  ax-7 2093  ax-9 2154  ax-10 2174  ax-11 2190  ax-12 2203  ax-13 2408  ax-ext 2751  ax-rep 4905  ax-sep 4916  ax-nul 4924  ax-pr 5035
This theorem depends on definitions:  df-bi 197  df-an 383  df-or 837  df-3an 1073  df-tru 1634  df-ex 1853  df-nf 1858  df-sb 2050  df-eu 2622  df-mo 2623  df-clab 2758  df-cleq 2764  df-clel 2767  df-nfc 2902  df-ne 2944  df-ral 3066  df-rex 3067  df-reu 3068  df-rab 3070  df-v 3353  df-sbc 3588  df-csb 3683  df-dif 3726  df-un 3728  df-in 3730  df-ss 3737  df-nul 4064  df-if 4227  df-sn 4318  df-pr 4320  df-op 4324  df-uni 4576  df-iun 4657  df-br 4788  df-opab 4848  df-mpt 4865  df-id 5158  df-xp 5256  df-rel 5257  df-cnv 5258  df-co 5259  df-dm 5260  df-rn 5261  df-res 5262  df-ima 5263  df-iota 5993  df-fun 6032  df-fn 6033  df-f 6034  df-f1 6035  df-fo 6036  df-f1o 6037  df-fv 6038  df-ov 6799  df-oprab 6800  df-mpt2 6801  df-mvr 19572
This theorem is referenced by:  mvrval  19636  mvrf  19639  subrgmvr  19676
  Copyright terms: Public domain W3C validator