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

Theorem rpnnen2lem1 16382
Description: Lemma for rpnnen2 16394. (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 12341 . . . . 5 ℕ ∈ V
21elpw2 5295 . . . 4 (𝐴 ∈ 𝒫 ℕ ↔ 𝐴 ⊆ ℕ)
3 eleq2 2849 . . . . . . 7 (𝑥 = 𝐴 → (𝑛 ∈ 𝑥 ↔ 𝑛 ∈ 𝐴))
43ifbid 4505 . . . . . 6 (𝑥 = 𝐴 → if(𝑛 ∈ 𝑥, ((1 / 3)↑𝑛), 0) = if(𝑛 ∈ 𝐴, ((1 / 3)↑𝑛), 0))
54mpteq2dv 5198 . . . . 5 (𝑥 = 𝐴 → (𝑛 ∈ ℕ ↦ if(𝑛 ∈ 𝑥, ((1 / 3)↑𝑛), 0)) = (𝑛 ∈ ℕ ↦ if(𝑛 ∈ 𝐴, ((1 / 3)↑𝑛), 0)))
6 rpnnen2.1 . . . . 5 𝐹 = (𝑥 ∈ 𝒫 ℕ ↦ (𝑛 ∈ ℕ ↦ if(𝑛 ∈ 𝑥, ((1 / 3)↑𝑛), 0)))
71mptex 7229 . . . . 5 (𝑛 ∈ ℕ ↦ if(𝑛 ∈ 𝐴, ((1 / 3)↑𝑛), 0)) ∈ V
85, 6, 7fvmpt 6993 . . . 4 (𝐴 ∈ 𝒫 ℕ → (𝐹‘𝐴) = (𝑛 ∈ ℕ ↦ if(𝑛 ∈ 𝐴, ((1 / 3)↑𝑛), 0)))
92, 8sylbir 238 . . 3 (𝐴 ⊆ ℕ → (𝐹‘𝐴) = (𝑛 ∈ ℕ ↦ if(𝑛 ∈ 𝐴, ((1 / 3)↑𝑛), 0)))
109fveq1d 6887 . 2 (𝐴 ⊆ ℕ → ((𝐹‘𝐴)‘𝑁) = ((𝑛 ∈ ℕ ↦ if(𝑛 ∈ 𝐴, ((1 / 3)↑𝑛), 0))‘𝑁))
11 eleq1 2848 . . . 4 (𝑛 = 𝑁 → (𝑛 ∈ 𝐴 ↔ 𝑁 ∈ 𝐴))
12 oveq2 7428 . . . 4 (𝑛 = 𝑁 → ((1 / 3)↑𝑛) = ((1 / 3)↑𝑁))
1311, 12ifbieq1d 4506 . . 3 (𝑛 = 𝑁 → if(𝑛 ∈ 𝐴, ((1 / 3)↑𝑛), 0) = if(𝑁 ∈ 𝐴, ((1 / 3)↑𝑁), 0))
14 eqid 2760 . . 3 (𝑛 ∈ ℕ ↦ if(𝑛 ∈ 𝐴, ((1 / 3)↑𝑛), 0)) = (𝑛 ∈ ℕ ↦ if(𝑛 ∈ 𝐴, ((1 / 3)↑𝑛), 0))
15 ovex 7453 . . . 4 ((1 / 3)↑𝑁) ∈ V
16 c0ex 11300 . . . 4 0 ∈ V
1715, 16ifex 4532 . . 3 if(𝑁 ∈ 𝐴, ((1 / 3)↑𝑁), 0) ∈ V
1813, 14, 17fvmpt 6993 . 2 (𝑁 ∈ ℕ → ((𝑛 ∈ ℕ ↦ if(𝑛 ∈ 𝐴, ((1 / 3)↑𝑛), 0))‘𝑁) = if(𝑁 ∈ 𝐴, ((1 / 3)↑𝑁), 0))
1910, 18sylan9eq 2815 1 ((𝐴 ⊆ ℕ ∧ 𝑁 ∈ ℕ) → ((𝐹‘𝐴)‘𝑁) = if(𝑁 ∈ 𝐴, ((1 / 3)↑𝑁), 0))
Colors of variables:    wff setvar class
This proof depends on syntax axioms:   → wi 4   ∧ wa 401   = wceq 1569   ∈ wcel 2144   ⊆ wss 3895  ifcif 4481  𝒫 cpw 4556   ↦ cmpt 5185  ‘cfv 6538  (class class class)co 7420  0cc0 11200  1c1 11201   / cdiv 11973  ℕcn 12335  3c3 12398  ↑cexp 14204
This proof depends on axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1827  ax-4 1841  ax-5 1942  ax-6 1999  ax-7 2040  ax-8 2146  ax-9 2154  ax-10 2177  ax-11 2193  ax-12 2212  ax-ext 2732  ax-rep 5231  ax-sep 5248  ax-nul 5259  ax-pr 5390  ax-un 7751  ax-cnex 11256  ax-1cn 11258  ax-icn 11259  ax-addcl 11260  ax-mulcl 11262  ax-i2m1 11268
This proof depends on definitions:  df-bi 210  df-an 402  df-or 862  df-3or 1104  df-3an 1105  df-tru 1572  df-fal 1582  df-ex 1812  df-nf 1816  df-sb 2099  df-mo 2564  df-eu 2594  df-clab 2739  df-cleq 2752  df-clel 2835  df-nfc 2909  df-ne 2956  df-ral 3077  df-rex 3087  df-reu 3366  df-rab 3413  df-v 3452  df-sbc 3739  df-csb 3847  df-ss 3896  df-pss 4014  df-dif 4047  df-in 4091  df-un 4151  df-nul 4279  df-if 4482  df-pw 4558  df-sn 4584  df-pr 4586  df-op 4590  df-uni 4867  df-iun 4952  df-br 5103  df-opab 5167  df-mpt 5186  df-tr 5212  df-id 5545  df-eprel 5550  df-po 5558  df-so 5559  df-fr 5603  df-we 5605  df-xp 5656  df-rel 5657  df-cnv 5658  df-co 5659  df-dm 5660  df-rn 5661  df-res 5662  df-ima 5663  df-pred 6304  df-ord 6365  df-on 6366  df-lim 6367  df-suc 6368  df-iota 6494  df-fun 6540  df-fn 6541  df-f 6542  df-f1 6543  df-fo 6544  df-f1o 6545  df-fv 6546  df-ov 7423  df-om 7878  df-2nd 8002  df-frecs 8299  df-wrecs 8330  df-recs 8379  df-rdg 8418  df-nn 12336
This theorem is used by:  rpnnen2lem3  16384  rpnnen2lem4  16385  rpnnen2lem9  16390  rpnnen2lem10  16391  rpnnen2lem11  16392
  Copyright terms: Public domain W3C validator