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

Theorem rpnnen2lem1 16123
Description: Lemma for rpnnen2 16135. (Contributed by Mario Carneiro, 13-May-2013.)
Hypothesis
Ref Expression
rpnnen2.1 𝐹 = (𝑥 ∈ 𝒫 ℕ ↦ (𝑛 ∈ ℕ ↦ if(𝑛𝑥, ((1 / 3)↑𝑛), 0)))
Assertion
Ref Expression
rpnnen2lem1 ((𝐴 ⊆ ℕ ∧ 𝑁 ∈ ℕ) → ((𝐹𝐴)‘𝑁) = if(𝑁𝐴, ((1 / 3)↑𝑁), 0))
Distinct variable groups:   𝑥,𝑛,𝐴   𝑛,𝑁
Allowed substitution hints:   𝐹(𝑥,𝑛)   𝑁(𝑥)

Proof of Theorem rpnnen2lem1
StepHypRef Expression
1 nnex 12134 . . . . 5 ℕ ∈ V
21elpw2 5273 . . . 4 (𝐴 ∈ 𝒫 ℕ ↔ 𝐴 ⊆ ℕ)
3 eleq2 2817 . . . . . . 7 (𝑥 = 𝐴 → (𝑛𝑥𝑛𝐴))
43ifbid 4500 . . . . . 6 (𝑥 = 𝐴 → if(𝑛𝑥, ((1 / 3)↑𝑛), 0) = if(𝑛𝐴, ((1 / 3)↑𝑛), 0))
54mpteq2dv 5186 . . . . 5 (𝑥 = 𝐴 → (𝑛 ∈ ℕ ↦ if(𝑛𝑥, ((1 / 3)↑𝑛), 0)) = (𝑛 ∈ ℕ ↦ if(𝑛𝐴, ((1 / 3)↑𝑛), 0)))
6 rpnnen2.1 . . . . 5 𝐹 = (𝑥 ∈ 𝒫 ℕ ↦ (𝑛 ∈ ℕ ↦ if(𝑛𝑥, ((1 / 3)↑𝑛), 0)))
71mptex 7159 . . . . 5 (𝑛 ∈ ℕ ↦ if(𝑛𝐴, ((1 / 3)↑𝑛), 0)) ∈ V
85, 6, 7fvmpt 6930 . . . 4 (𝐴 ∈ 𝒫 ℕ → (𝐹𝐴) = (𝑛 ∈ ℕ ↦ if(𝑛𝐴, ((1 / 3)↑𝑛), 0)))
92, 8sylbir 235 . . 3 (𝐴 ⊆ ℕ → (𝐹𝐴) = (𝑛 ∈ ℕ ↦ if(𝑛𝐴, ((1 / 3)↑𝑛), 0)))
109fveq1d 6824 . 2 (𝐴 ⊆ ℕ → ((𝐹𝐴)‘𝑁) = ((𝑛 ∈ ℕ ↦ if(𝑛𝐴, ((1 / 3)↑𝑛), 0))‘𝑁))
11 eleq1 2816 . . . 4 (𝑛 = 𝑁 → (𝑛𝐴𝑁𝐴))
12 oveq2 7357 . . . 4 (𝑛 = 𝑁 → ((1 / 3)↑𝑛) = ((1 / 3)↑𝑁))
1311, 12ifbieq1d 4501 . . 3 (𝑛 = 𝑁 → if(𝑛𝐴, ((1 / 3)↑𝑛), 0) = if(𝑁𝐴, ((1 / 3)↑𝑁), 0))
14 eqid 2729 . . 3 (𝑛 ∈ ℕ ↦ if(𝑛𝐴, ((1 / 3)↑𝑛), 0)) = (𝑛 ∈ ℕ ↦ if(𝑛𝐴, ((1 / 3)↑𝑛), 0))
15 ovex 7382 . . . 4 ((1 / 3)↑𝑁) ∈ V
16 c0ex 11109 . . . 4 0 ∈ V
1715, 16ifex 4527 . . 3 if(𝑁𝐴, ((1 / 3)↑𝑁), 0) ∈ V
1813, 14, 17fvmpt 6930 . 2 (𝑁 ∈ ℕ → ((𝑛 ∈ ℕ ↦ if(𝑛𝐴, ((1 / 3)↑𝑛), 0))‘𝑁) = if(𝑁𝐴, ((1 / 3)↑𝑁), 0))
1910, 18sylan9eq 2784 1 ((𝐴 ⊆ ℕ ∧ 𝑁 ∈ ℕ) → ((𝐹𝐴)‘𝑁) = if(𝑁𝐴, ((1 / 3)↑𝑁), 0))
Colors of variables: wff setvar class
Syntax hints:  wi 4  wa 395   = wceq 1540  wcel 2109  wss 3903  ifcif 4476  𝒫 cpw 4551  cmpt 5173  cfv 6482  (class class class)co 7349  0cc0 11009  1c1 11010   / cdiv 11777  cn 12128  3c3 12184  cexp 13968
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1795  ax-4 1809  ax-5 1910  ax-6 1967  ax-7 2008  ax-8 2111  ax-9 2119  ax-10 2142  ax-11 2158  ax-12 2178  ax-ext 2701  ax-rep 5218  ax-sep 5235  ax-nul 5245  ax-pr 5371  ax-un 7671  ax-cnex 11065  ax-1cn 11067  ax-icn 11068  ax-addcl 11069  ax-mulcl 11071  ax-i2m1 11077
This theorem depends on definitions:  df-bi 207  df-an 396  df-or 848  df-3or 1087  df-3an 1088  df-tru 1543  df-fal 1553  df-ex 1780  df-nf 1784  df-sb 2066  df-mo 2533  df-eu 2562  df-clab 2708  df-cleq 2721  df-clel 2803  df-nfc 2878  df-ne 2926  df-ral 3045  df-rex 3054  df-reu 3344  df-rab 3395  df-v 3438  df-sbc 3743  df-csb 3852  df-dif 3906  df-un 3908  df-in 3910  df-ss 3920  df-pss 3923  df-nul 4285  df-if 4477  df-pw 4553  df-sn 4578  df-pr 4580  df-op 4584  df-uni 4859  df-iun 4943  df-br 5093  df-opab 5155  df-mpt 5174  df-tr 5200  df-id 5514  df-eprel 5519  df-po 5527  df-so 5528  df-fr 5572  df-we 5574  df-xp 5625  df-rel 5626  df-cnv 5627  df-co 5628  df-dm 5629  df-rn 5630  df-res 5631  df-ima 5632  df-pred 6249  df-ord 6310  df-on 6311  df-lim 6312  df-suc 6313  df-iota 6438  df-fun 6484  df-fn 6485  df-f 6486  df-f1 6487  df-fo 6488  df-f1o 6489  df-fv 6490  df-ov 7352  df-om 7800  df-2nd 7925  df-frecs 8214  df-wrecs 8245  df-recs 8294  df-rdg 8332  df-nn 12129
This theorem is referenced by:  rpnnen2lem3  16125  rpnnen2lem4  16126  rpnnen2lem9  16131  rpnnen2lem10  16132  rpnnen2lem11  16133
  Copyright terms: Public domain W3C validator