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

Theorem angval 24979
Description: Define the angle function, which takes two complex numbers, treated as vectors from the origin, and returns the angle between them, in the range ( − π, π]. To convert from the geometry notation, 𝑚𝐴𝐵𝐶, the measure of the angle with legs 𝐴𝐵, 𝐶𝐵 where 𝐶 is more counterclockwise for positive angles, is represented by ((𝐶𝐵)𝐹(𝐴𝐵)). (Contributed by Mario Carneiro, 23-Sep-2014.)
Hypothesis
Ref Expression
ang.1 𝐹 = (𝑥 ∈ (ℂ ∖ {0}), 𝑦 ∈ (ℂ ∖ {0}) ↦ (ℑ‘(log‘(𝑦 / 𝑥))))
Assertion
Ref Expression
angval (((𝐴 ∈ ℂ ∧ 𝐴 ≠ 0) ∧ (𝐵 ∈ ℂ ∧ 𝐵 ≠ 0)) → (𝐴𝐹𝐵) = (ℑ‘(log‘(𝐵 / 𝐴))))
Distinct variable groups:   𝑥,𝑦,𝐴   𝑥,𝐵,𝑦
Allowed substitution hints:   𝐹(𝑥,𝑦)

Proof of Theorem angval
StepHypRef Expression
1 eldifsn 4550 . 2 (𝐴 ∈ (ℂ ∖ {0}) ↔ (𝐴 ∈ ℂ ∧ 𝐴 ≠ 0))
2 eldifsn 4550 . 2 (𝐵 ∈ (ℂ ∖ {0}) ↔ (𝐵 ∈ ℂ ∧ 𝐵 ≠ 0))
3 oveq12 6931 . . . . . 6 ((𝑦 = 𝐵𝑥 = 𝐴) → (𝑦 / 𝑥) = (𝐵 / 𝐴))
43ancoms 452 . . . . 5 ((𝑥 = 𝐴𝑦 = 𝐵) → (𝑦 / 𝑥) = (𝐵 / 𝐴))
54fveq2d 6450 . . . 4 ((𝑥 = 𝐴𝑦 = 𝐵) → (log‘(𝑦 / 𝑥)) = (log‘(𝐵 / 𝐴)))
65fveq2d 6450 . . 3 ((𝑥 = 𝐴𝑦 = 𝐵) → (ℑ‘(log‘(𝑦 / 𝑥))) = (ℑ‘(log‘(𝐵 / 𝐴))))
7 ang.1 . . 3 𝐹 = (𝑥 ∈ (ℂ ∖ {0}), 𝑦 ∈ (ℂ ∖ {0}) ↦ (ℑ‘(log‘(𝑦 / 𝑥))))
8 fvex 6459 . . 3 (ℑ‘(log‘(𝐵 / 𝐴))) ∈ V
96, 7, 8ovmpt2a 7068 . 2 ((𝐴 ∈ (ℂ ∖ {0}) ∧ 𝐵 ∈ (ℂ ∖ {0})) → (𝐴𝐹𝐵) = (ℑ‘(log‘(𝐵 / 𝐴))))
101, 2, 9syl2anbr 592 1 (((𝐴 ∈ ℂ ∧ 𝐴 ≠ 0) ∧ (𝐵 ∈ ℂ ∧ 𝐵 ≠ 0)) → (𝐴𝐹𝐵) = (ℑ‘(log‘(𝐵 / 𝐴))))
Colors of variables: wff setvar class
Syntax hints:  wi 4  wa 386   = wceq 1601  wcel 2107  wne 2969  cdif 3789  {csn 4398  cfv 6135  (class class class)co 6922  cmpt2 6924  cc 10270  0cc0 10272   / cdiv 11032  cim 14245  logclog 24738
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1839  ax-4 1853  ax-5 1953  ax-6 2021  ax-7 2055  ax-9 2116  ax-10 2135  ax-11 2150  ax-12 2163  ax-13 2334  ax-ext 2754  ax-sep 5017  ax-nul 5025  ax-pr 5138
This theorem depends on definitions:  df-bi 199  df-an 387  df-or 837  df-3an 1073  df-tru 1605  df-ex 1824  df-nf 1828  df-sb 2012  df-mo 2551  df-eu 2587  df-clab 2764  df-cleq 2770  df-clel 2774  df-nfc 2921  df-ne 2970  df-ral 3095  df-rex 3096  df-rab 3099  df-v 3400  df-sbc 3653  df-dif 3795  df-un 3797  df-in 3799  df-ss 3806  df-nul 4142  df-if 4308  df-sn 4399  df-pr 4401  df-op 4405  df-uni 4672  df-br 4887  df-opab 4949  df-id 5261  df-xp 5361  df-rel 5362  df-cnv 5363  df-co 5364  df-dm 5365  df-iota 6099  df-fun 6137  df-fv 6143  df-ov 6925  df-oprab 6926  df-mpt2 6927
This theorem is referenced by:  angcan  24980  angvald  24982
  Copyright terms: Public domain W3C validator