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

Theorem expval 13430
Description: Value of exponentiation to integer powers. (Contributed by NM, 20-May-2004.) (Revised by Mario Carneiro, 4-Jun-2014.)
Assertion
Ref Expression
expval ((𝐴 ∈ ℂ ∧ 𝑁 ∈ ℤ) → (𝐴𝑁) = if(𝑁 = 0, 1, if(0 < 𝑁, (seq1( · , (ℕ × {𝐴}))‘𝑁), (1 / (seq1( · , (ℕ × {𝐴}))‘-𝑁)))))

Proof of Theorem expval
Dummy variables 𝑥 𝑦 are mutually distinct and distinct from all other variables.
StepHypRef Expression
1 simpr 487 . . . 4 ((𝑥 = 𝐴𝑦 = 𝑁) → 𝑦 = 𝑁)
21eqeq1d 2823 . . 3 ((𝑥 = 𝐴𝑦 = 𝑁) → (𝑦 = 0 ↔ 𝑁 = 0))
31breq2d 5077 . . . 4 ((𝑥 = 𝐴𝑦 = 𝑁) → (0 < 𝑦 ↔ 0 < 𝑁))
4 simpl 485 . . . . . . . 8 ((𝑥 = 𝐴𝑦 = 𝑁) → 𝑥 = 𝐴)
54sneqd 4578 . . . . . . 7 ((𝑥 = 𝐴𝑦 = 𝑁) → {𝑥} = {𝐴})
65xpeq2d 5584 . . . . . 6 ((𝑥 = 𝐴𝑦 = 𝑁) → (ℕ × {𝑥}) = (ℕ × {𝐴}))
76seqeq3d 13376 . . . . 5 ((𝑥 = 𝐴𝑦 = 𝑁) → seq1( · , (ℕ × {𝑥})) = seq1( · , (ℕ × {𝐴})))
87, 1fveq12d 6676 . . . 4 ((𝑥 = 𝐴𝑦 = 𝑁) → (seq1( · , (ℕ × {𝑥}))‘𝑦) = (seq1( · , (ℕ × {𝐴}))‘𝑁))
91negeqd 10879 . . . . . 6 ((𝑥 = 𝐴𝑦 = 𝑁) → -𝑦 = -𝑁)
107, 9fveq12d 6676 . . . . 5 ((𝑥 = 𝐴𝑦 = 𝑁) → (seq1( · , (ℕ × {𝑥}))‘-𝑦) = (seq1( · , (ℕ × {𝐴}))‘-𝑁))
1110oveq2d 7171 . . . 4 ((𝑥 = 𝐴𝑦 = 𝑁) → (1 / (seq1( · , (ℕ × {𝑥}))‘-𝑦)) = (1 / (seq1( · , (ℕ × {𝐴}))‘-𝑁)))
123, 8, 11ifbieq12d 4493 . . 3 ((𝑥 = 𝐴𝑦 = 𝑁) → if(0 < 𝑦, (seq1( · , (ℕ × {𝑥}))‘𝑦), (1 / (seq1( · , (ℕ × {𝑥}))‘-𝑦))) = if(0 < 𝑁, (seq1( · , (ℕ × {𝐴}))‘𝑁), (1 / (seq1( · , (ℕ × {𝐴}))‘-𝑁))))
132, 12ifbieq2d 4491 . 2 ((𝑥 = 𝐴𝑦 = 𝑁) → if(𝑦 = 0, 1, if(0 < 𝑦, (seq1( · , (ℕ × {𝑥}))‘𝑦), (1 / (seq1( · , (ℕ × {𝑥}))‘-𝑦)))) = if(𝑁 = 0, 1, if(0 < 𝑁, (seq1( · , (ℕ × {𝐴}))‘𝑁), (1 / (seq1( · , (ℕ × {𝐴}))‘-𝑁)))))
14 df-exp 13429 . 2 ↑ = (𝑥 ∈ ℂ, 𝑦 ∈ ℤ ↦ if(𝑦 = 0, 1, if(0 < 𝑦, (seq1( · , (ℕ × {𝑥}))‘𝑦), (1 / (seq1( · , (ℕ × {𝑥}))‘-𝑦)))))
15 1ex 10636 . . 3 1 ∈ V
16 fvex 6682 . . . 4 (seq1( · , (ℕ × {𝐴}))‘𝑁) ∈ V
17 ovex 7188 . . . 4 (1 / (seq1( · , (ℕ × {𝐴}))‘-𝑁)) ∈ V
1816, 17ifex 4514 . . 3 if(0 < 𝑁, (seq1( · , (ℕ × {𝐴}))‘𝑁), (1 / (seq1( · , (ℕ × {𝐴}))‘-𝑁))) ∈ V
1915, 18ifex 4514 . 2 if(𝑁 = 0, 1, if(0 < 𝑁, (seq1( · , (ℕ × {𝐴}))‘𝑁), (1 / (seq1( · , (ℕ × {𝐴}))‘-𝑁)))) ∈ V
2013, 14, 19ovmpoa 7304 1 ((𝐴 ∈ ℂ ∧ 𝑁 ∈ ℤ) → (𝐴𝑁) = if(𝑁 = 0, 1, if(0 < 𝑁, (seq1( · , (ℕ × {𝐴}))‘𝑁), (1 / (seq1( · , (ℕ × {𝐴}))‘-𝑁)))))
Colors of variables: wff setvar class
Syntax hints:  wi 4  wa 398   = wceq 1533  wcel 2110  ifcif 4466  {csn 4566   class class class wbr 5065   × cxp 5552  cfv 6354  (class class class)co 7155  cc 10534  0cc0 10536  1c1 10537   · cmul 10541   < clt 10674  -cneg 10870   / cdiv 11296  cn 11637  cz 11980  seqcseq 13368  cexp 13428
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1792  ax-4 1806  ax-5 1907  ax-6 1966  ax-7 2011  ax-8 2112  ax-9 2120  ax-10 2141  ax-11 2157  ax-12 2173  ax-ext 2793  ax-sep 5202  ax-nul 5209  ax-pr 5329  ax-1cn 10594
This theorem depends on definitions:  df-bi 209  df-an 399  df-or 844  df-3an 1085  df-tru 1536  df-ex 1777  df-nf 1781  df-sb 2066  df-mo 2618  df-eu 2650  df-clab 2800  df-cleq 2814  df-clel 2893  df-nfc 2963  df-ral 3143  df-rex 3144  df-rab 3147  df-v 3496  df-sbc 3772  df-dif 3938  df-un 3940  df-in 3942  df-ss 3951  df-nul 4291  df-if 4467  df-sn 4567  df-pr 4569  df-op 4573  df-uni 4838  df-br 5066  df-opab 5128  df-mpt 5146  df-id 5459  df-xp 5560  df-rel 5561  df-cnv 5562  df-co 5563  df-dm 5564  df-rn 5565  df-res 5566  df-ima 5567  df-pred 6147  df-iota 6313  df-fun 6356  df-fv 6362  df-ov 7158  df-oprab 7159  df-mpo 7160  df-wrecs 7946  df-recs 8007  df-rdg 8045  df-neg 10872  df-seq 13369  df-exp 13429
This theorem is referenced by:  expnnval  13431  exp0  13432  expneg  13436
  Copyright terms: Public domain W3C validator