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

Theorem mvrfval 19183
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 3180 . . . 4 (𝐼𝑊𝐼 ∈ V)
42, 3syl 17 . . 3 (𝜑𝐼 ∈ V)
5 mvrfval.r . . . 4 (𝜑𝑅𝑌)
6 elex 3180 . . . 4 (𝑅𝑌𝑅 ∈ V)
75, 6syl 17 . . 3 (𝜑𝑅 ∈ V)
8 mptexg 6363 . . . 4 (𝐼𝑊 → (𝑥𝐼 ↦ (𝑓𝐷 ↦ if(𝑓 = (𝑦𝐼 ↦ if(𝑦 = 𝑥, 1, 0)), 1 , 0 ))) ∈ V)
92, 8syl 17 . . 3 (𝜑 → (𝑥𝐼 ↦ (𝑓𝐷 ↦ if(𝑓 = (𝑦𝐼 ↦ if(𝑦 = 𝑥, 1, 0)), 1 , 0 ))) ∈ V)
10 simpl 471 . . . . 5 ((𝑖 = 𝐼𝑟 = 𝑅) → 𝑖 = 𝐼)
1110oveq2d 6539 . . . . . . . 8 ((𝑖 = 𝐼𝑟 = 𝑅) → (ℕ0𝑚 𝑖) = (ℕ0𝑚 𝐼))
12 rabeq 3161 . . . . . . . 8 ((ℕ0𝑚 𝑖) = (ℕ0𝑚 𝐼) → { ∈ (ℕ0𝑚 𝑖) ∣ ( “ ℕ) ∈ Fin} = { ∈ (ℕ0𝑚 𝐼) ∣ ( “ ℕ) ∈ Fin})
1311, 12syl 17 . . . . . . 7 ((𝑖 = 𝐼𝑟 = 𝑅) → { ∈ (ℕ0𝑚 𝑖) ∣ ( “ ℕ) ∈ Fin} = { ∈ (ℕ0𝑚 𝐼) ∣ ( “ ℕ) ∈ Fin})
14 mvrfval.d . . . . . . 7 𝐷 = { ∈ (ℕ0𝑚 𝐼) ∣ ( “ ℕ) ∈ Fin}
1513, 14syl6eqr 2657 . . . . . 6 ((𝑖 = 𝐼𝑟 = 𝑅) → { ∈ (ℕ0𝑚 𝑖) ∣ ( “ ℕ) ∈ Fin} = 𝐷)
16 mpteq1 4655 . . . . . . . . 9 (𝑖 = 𝐼 → (𝑦𝑖 ↦ if(𝑦 = 𝑥, 1, 0)) = (𝑦𝐼 ↦ if(𝑦 = 𝑥, 1, 0)))
1716adantr 479 . . . . . . . 8 ((𝑖 = 𝐼𝑟 = 𝑅) → (𝑦𝑖 ↦ if(𝑦 = 𝑥, 1, 0)) = (𝑦𝐼 ↦ if(𝑦 = 𝑥, 1, 0)))
1817eqeq2d 2615 . . . . . . 7 ((𝑖 = 𝐼𝑟 = 𝑅) → (𝑓 = (𝑦𝑖 ↦ if(𝑦 = 𝑥, 1, 0)) ↔ 𝑓 = (𝑦𝐼 ↦ if(𝑦 = 𝑥, 1, 0))))
19 simpr 475 . . . . . . . . 9 ((𝑖 = 𝐼𝑟 = 𝑅) → 𝑟 = 𝑅)
2019fveq2d 6088 . . . . . . . 8 ((𝑖 = 𝐼𝑟 = 𝑅) → (1r𝑟) = (1r𝑅))
21 mvrfval.o . . . . . . . 8 1 = (1r𝑅)
2220, 21syl6eqr 2657 . . . . . . 7 ((𝑖 = 𝐼𝑟 = 𝑅) → (1r𝑟) = 1 )
2319fveq2d 6088 . . . . . . . 8 ((𝑖 = 𝐼𝑟 = 𝑅) → (0g𝑟) = (0g𝑅))
24 mvrfval.z . . . . . . . 8 0 = (0g𝑅)
2523, 24syl6eqr 2657 . . . . . . 7 ((𝑖 = 𝐼𝑟 = 𝑅) → (0g𝑟) = 0 )
2618, 22, 25ifbieq12d 4058 . . . . . 6 ((𝑖 = 𝐼𝑟 = 𝑅) → if(𝑓 = (𝑦𝑖 ↦ if(𝑦 = 𝑥, 1, 0)), (1r𝑟), (0g𝑟)) = if(𝑓 = (𝑦𝐼 ↦ if(𝑦 = 𝑥, 1, 0)), 1 , 0 ))
2715, 26mpteq12dv 4653 . . . . 5 ((𝑖 = 𝐼𝑟 = 𝑅) → (𝑓 ∈ { ∈ (ℕ0𝑚 𝑖) ∣ ( “ ℕ) ∈ Fin} ↦ if(𝑓 = (𝑦𝑖 ↦ if(𝑦 = 𝑥, 1, 0)), (1r𝑟), (0g𝑟))) = (𝑓𝐷 ↦ if(𝑓 = (𝑦𝐼 ↦ if(𝑦 = 𝑥, 1, 0)), 1 , 0 )))
2810, 27mpteq12dv 4653 . . . 4 ((𝑖 = 𝐼𝑟 = 𝑅) → (𝑥𝑖 ↦ (𝑓 ∈ { ∈ (ℕ0𝑚 𝑖) ∣ ( “ ℕ) ∈ Fin} ↦ if(𝑓 = (𝑦𝑖 ↦ if(𝑦 = 𝑥, 1, 0)), (1r𝑟), (0g𝑟)))) = (𝑥𝐼 ↦ (𝑓𝐷 ↦ if(𝑓 = (𝑦𝐼 ↦ if(𝑦 = 𝑥, 1, 0)), 1 , 0 ))))
29 df-mvr 19120 . . . 4 mVar = (𝑖 ∈ V, 𝑟 ∈ V ↦ (𝑥𝑖 ↦ (𝑓 ∈ { ∈ (ℕ0𝑚 𝑖) ∣ ( “ ℕ) ∈ Fin} ↦ if(𝑓 = (𝑦𝑖 ↦ if(𝑦 = 𝑥, 1, 0)), (1r𝑟), (0g𝑟)))))
3028, 29ovmpt2ga 6662 . . 3 ((𝐼 ∈ V ∧ 𝑅 ∈ V ∧ (𝑥𝐼 ↦ (𝑓𝐷 ↦ if(𝑓 = (𝑦𝐼 ↦ if(𝑦 = 𝑥, 1, 0)), 1 , 0 ))) ∈ V) → (𝐼 mVar 𝑅) = (𝑥𝐼 ↦ (𝑓𝐷 ↦ if(𝑓 = (𝑦𝐼 ↦ if(𝑦 = 𝑥, 1, 0)), 1 , 0 ))))
314, 7, 9, 30syl3anc 1317 . 2 (𝜑 → (𝐼 mVar 𝑅) = (𝑥𝐼 ↦ (𝑓𝐷 ↦ if(𝑓 = (𝑦𝐼 ↦ if(𝑦 = 𝑥, 1, 0)), 1 , 0 ))))
321, 31syl5eq 2651 1 (𝜑𝑉 = (𝑥𝐼 ↦ (𝑓𝐷 ↦ if(𝑓 = (𝑦𝐼 ↦ if(𝑦 = 𝑥, 1, 0)), 1 , 0 ))))
Colors of variables: wff setvar class
Syntax hints:  wi 4  wa 382   = wceq 1474  wcel 1975  {crab 2895  Vcvv 3168  ifcif 4031  cmpt 4633  ccnv 5023  cima 5027  cfv 5786  (class class class)co 6523  𝑚 cmap 7717  Fincfn 7814  0cc0 9788  1c1 9789  cn 10863  0cn0 11135  0gc0g 15865  1rcur 18266   mVar cmvr 19115
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1711  ax-4 1726  ax-5 1825  ax-6 1873  ax-7 1920  ax-9 1984  ax-10 2004  ax-11 2019  ax-12 2031  ax-13 2228  ax-ext 2585  ax-rep 4689  ax-sep 4699  ax-nul 4708  ax-pr 4824
This theorem depends on definitions:  df-bi 195  df-or 383  df-an 384  df-3an 1032  df-tru 1477  df-ex 1695  df-nf 1700  df-sb 1866  df-eu 2457  df-mo 2458  df-clab 2592  df-cleq 2598  df-clel 2601  df-nfc 2735  df-ne 2777  df-ral 2896  df-rex 2897  df-reu 2898  df-rab 2900  df-v 3170  df-sbc 3398  df-csb 3495  df-dif 3538  df-un 3540  df-in 3542  df-ss 3549  df-nul 3870  df-if 4032  df-sn 4121  df-pr 4123  df-op 4127  df-uni 4363  df-iun 4447  df-br 4574  df-opab 4634  df-mpt 4635  df-id 4939  df-xp 5030  df-rel 5031  df-cnv 5032  df-co 5033  df-dm 5034  df-rn 5035  df-res 5036  df-ima 5037  df-iota 5750  df-fun 5788  df-fn 5789  df-f 5790  df-f1 5791  df-fo 5792  df-f1o 5793  df-fv 5794  df-ov 6526  df-oprab 6527  df-mpt2 6528  df-mvr 19120
This theorem is referenced by:  mvrval  19184  mvrf  19187  subrgmvr  19224
  Copyright terms: Public domain W3C validator