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

Theorem rpnnen2lem1 16408
Description: Lemma for rpnnen2 16420. (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 12365 . . . . 5 ℕ ∈ V
21elpw2 5300 . . . 4 (𝐴 ∈ 𝒫 ℕ ↔ 𝐴 ⊆ ℕ)
3 eleq2 2853 . . . . . . 7 (𝑥 = 𝐴 → (𝑛 ∈ 𝑥 ↔ 𝑛 ∈ 𝐴))
43ifbid 4509 . . . . . 6 (𝑥 = 𝐴 → if(𝑛 ∈ 𝑥, ((1 / 3)↑𝑛), 0) = if(𝑛 ∈ 𝐴, ((1 / 3)↑𝑛), 0))
54mpteq2dv 5202 . . . . 5 (𝑥 = 𝐴 → (𝑛 ∈ ℕ ↦ if(𝑛 ∈ 𝑥, ((1 / 3)↑𝑛), 0)) = (𝑛 ∈ ℕ ↦ if(𝑛 ∈ 𝐴, ((1 / 3)↑𝑛), 0)))
6 rpnnen2.1 . . . . 5 𝐹 = (𝑥 ∈ 𝒫 ℕ ↦ (𝑛 ∈ ℕ ↦ if(𝑛 ∈ 𝑥, ((1 / 3)↑𝑛), 0)))
71mptex 7249 . . . . 5 (𝑛 ∈ ℕ ↦ if(𝑛 ∈ 𝐴, ((1 / 3)↑𝑛), 0)) ∈ V
85, 6, 7fvmpt 7013 . . . 4 (𝐴 ∈ 𝒫 ℕ → (𝐹‘𝐴) = (𝑛 ∈ ℕ ↦ if(𝑛 ∈ 𝐴, ((1 / 3)↑𝑛), 0)))
92, 8sylbir 238 . . 3 (𝐴 ⊆ ℕ → (𝐹‘𝐴) = (𝑛 ∈ ℕ ↦ if(𝑛 ∈ 𝐴, ((1 / 3)↑𝑛), 0)))
109fveq1d 6907 . 2 (𝐴 ⊆ ℕ → ((𝐹‘𝐴)‘𝑁) = ((𝑛 ∈ ℕ ↦ if(𝑛 ∈ 𝐴, ((1 / 3)↑𝑛), 0))‘𝑁))
11 eleq1 2852 . . . 4 (𝑛 = 𝑁 → (𝑛 ∈ 𝐴 ↔ 𝑁 ∈ 𝐴))
12 oveq2 7448 . . . 4 (𝑛 = 𝑁 → ((1 / 3)↑𝑛) = ((1 / 3)↑𝑁))
1311, 12ifbieq1d 4510 . . 3 (𝑛 = 𝑁 → if(𝑛 ∈ 𝐴, ((1 / 3)↑𝑛), 0) = if(𝑁 ∈ 𝐴, ((1 / 3)↑𝑁), 0))
14 eqid 2763 . . 3 (𝑛 ∈ ℕ ↦ if(𝑛 ∈ 𝐴, ((1 / 3)↑𝑛), 0)) = (𝑛 ∈ ℕ ↦ if(𝑛 ∈ 𝐴, ((1 / 3)↑𝑛), 0))
15 ovex 7473 . . . 4 ((1 / 3)↑𝑁) ∈ V
16 c0ex 11324 . . . 4 0 ∈ V
1715, 16ifex 4536 . . 3 if(𝑁 ∈ 𝐴, ((1 / 3)↑𝑁), 0) ∈ V
1813, 14, 17fvmpt 7013 . 2 (𝑁 ∈ ℕ → ((𝑛 ∈ ℕ ↦ if(𝑛 ∈ 𝐴, ((1 / 3)↑𝑛), 0))‘𝑁) = if(𝑁 ∈ 𝐴, ((1 / 3)↑𝑁), 0))
1910, 18sylan9eq 2818 1 ((𝐴 ⊆ ℕ ∧ 𝑁 ∈ ℕ) → ((𝐹‘𝐴)‘𝑁) = if(𝑁 ∈ 𝐴, ((1 / 3)↑𝑁), 0))
Colors of variables:    wff setvar class
This proof depends on syntax axioms:   → wi 4   ∧ wa 401   = wceq 1570   ∈ wcel 2147   ⊆ wss 3900  ifcif 4485  𝒫 cpw 4560   ↦ cmpt 5189  ‘cfv 6555  (class class class)co 7440  0cc0 11224  1c1 11225   / cdiv 11997  ℕcn 12359  3c3 12422  ↑cexp 14228
This proof depends on axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1828  ax-4 1842  ax-5 1945  ax-6 2002  ax-7 2043  ax-8 2149  ax-9 2157  ax-10 2180  ax-11 2197  ax-12 2216  ax-ext 2735  ax-rep 5235  ax-sep 5252  ax-nul 5263  ax-pr 5395  ax-un 7772  ax-cnex 11280  ax-1cn 11282  ax-icn 11283  ax-addcl 11284  ax-mulcl 11286  ax-i2m1 11292
This proof depends on definitions:  df-bi 210  df-an 402  df-or 862  df-3or 1104  df-3an 1105  df-tru 1573  df-fal 1583  df-ex 1813  df-nf 1817  df-sb 2102  df-mo 2567  df-eu 2597  df-clab 2742  df-cleq 2755  df-clel 2839  df-nfc 2913  df-ne 2960  df-ral 3081  df-rex 3091  df-reu 3370  df-rab 3417  df-v 3456  df-sbc 3743  df-csb 3852  df-ss 3901  df-pss 4017  df-dif 4050  df-in 4094  df-un 4154  df-nul 4282  df-if 4486  df-pw 4562  df-sn 4589  df-pr 4591  df-op 4839  df-uni 4871  df-iun 4956  df-br 5107  df-opab 5171  df-mpt 5190  df-tr 5216  df-id 5550  df-eprel 5555  df-po 5563  df-so 5564  df-fr 5608  df-we 5610  df-xp 5661  df-rel 5662  df-cnv 5663  df-co 5664  df-dm 5665  df-rn 5666  df-res 5667  df-ima 5668  df-pred 6319  df-ord 6380  df-on 6381  df-lim 6382  df-suc 6383  df-iota 6509  df-fun 6557  df-fn 6558  df-f 6559  df-f1 6560  df-fo 6561  df-f1o 6562  df-fv 6563  df-ov 7443  df-om 7899  df-2nd 8023  df-frecs 8324  df-wrecs 8355  df-recs 8404  df-rdg 8443  df-nn 12360
This theorem is used by:  rpnnen2lem3  16410  rpnnen2lem4  16411  rpnnen2lem9  16416  rpnnen2lem10  16417  rpnnen2lem11  16418
  Copyright terms: Public domain W3C validator