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

Theorem cxpval 25241
Description: Value of the complex power function. (Contributed by Mario Carneiro, 2-Aug-2014.)
Assertion
Ref Expression
cxpval ((𝐴 ∈ ℂ ∧ 𝐵 ∈ ℂ) → (𝐴𝑐𝐵) = if(𝐴 = 0, if(𝐵 = 0, 1, 0), (exp‘(𝐵 · (log‘𝐴)))))

Proof of Theorem cxpval
Dummy variables 𝑥 𝑦 are mutually distinct and distinct from all other variables.
StepHypRef Expression
1 simpl 485 . . . 4 ((𝑥 = 𝐴𝑦 = 𝐵) → 𝑥 = 𝐴)
21eqeq1d 2823 . . 3 ((𝑥 = 𝐴𝑦 = 𝐵) → (𝑥 = 0 ↔ 𝐴 = 0))
3 simpr 487 . . . . 5 ((𝑥 = 𝐴𝑦 = 𝐵) → 𝑦 = 𝐵)
43eqeq1d 2823 . . . 4 ((𝑥 = 𝐴𝑦 = 𝐵) → (𝑦 = 0 ↔ 𝐵 = 0))
54ifbid 4488 . . 3 ((𝑥 = 𝐴𝑦 = 𝐵) → if(𝑦 = 0, 1, 0) = if(𝐵 = 0, 1, 0))
61fveq2d 6668 . . . . 5 ((𝑥 = 𝐴𝑦 = 𝐵) → (log‘𝑥) = (log‘𝐴))
73, 6oveq12d 7168 . . . 4 ((𝑥 = 𝐴𝑦 = 𝐵) → (𝑦 · (log‘𝑥)) = (𝐵 · (log‘𝐴)))
87fveq2d 6668 . . 3 ((𝑥 = 𝐴𝑦 = 𝐵) → (exp‘(𝑦 · (log‘𝑥))) = (exp‘(𝐵 · (log‘𝐴))))
92, 5, 8ifbieq12d 4493 . 2 ((𝑥 = 𝐴𝑦 = 𝐵) → if(𝑥 = 0, if(𝑦 = 0, 1, 0), (exp‘(𝑦 · (log‘𝑥)))) = if(𝐴 = 0, if(𝐵 = 0, 1, 0), (exp‘(𝐵 · (log‘𝐴)))))
10 df-cxp 25135 . 2 𝑐 = (𝑥 ∈ ℂ, 𝑦 ∈ ℂ ↦ if(𝑥 = 0, if(𝑦 = 0, 1, 0), (exp‘(𝑦 · (log‘𝑥)))))
11 ax-1cn 10589 . . . . 5 1 ∈ ℂ
12 0cn 10627 . . . . 5 0 ∈ ℂ
1311, 12ifcli 4512 . . . 4 if(𝐵 = 0, 1, 0) ∈ ℂ
1413elexi 3513 . . 3 if(𝐵 = 0, 1, 0) ∈ V
15 fvex 6677 . . 3 (exp‘(𝐵 · (log‘𝐴))) ∈ V
1614, 15ifex 4514 . 2 if(𝐴 = 0, if(𝐵 = 0, 1, 0), (exp‘(𝐵 · (log‘𝐴)))) ∈ V
179, 10, 16ovmpoa 7299 1 ((𝐴 ∈ ℂ ∧ 𝐵 ∈ ℂ) → (𝐴𝑐𝐵) = if(𝐴 = 0, if(𝐵 = 0, 1, 0), (exp‘(𝐵 · (log‘𝐴)))))
Colors of variables: wff setvar class
Syntax hints:  wi 4  wa 398   = wceq 1533  wcel 2110  ifcif 4466  cfv 6349  (class class class)co 7150  cc 10529  0cc0 10531  1c1 10532   · cmul 10536  expce 15409  logclog 25132  𝑐ccxp 25133
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 5195  ax-nul 5202  ax-pr 5321  ax-1cn 10589  ax-icn 10590  ax-addcl 10591  ax-mulcl 10593  ax-i2m1 10599
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 4561  df-pr 4563  df-op 4567  df-uni 4832  df-br 5059  df-opab 5121  df-id 5454  df-xp 5555  df-rel 5556  df-cnv 5557  df-co 5558  df-dm 5559  df-iota 6308  df-fun 6351  df-fv 6357  df-ov 7153  df-oprab 7154  df-mpo 7155  df-cxp 25135
This theorem is referenced by:  cxpef  25242  0cxp  25243  cxpexp  25245  cxpcl  25251  recxpcl  25252
  Copyright terms: Public domain W3C validator