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

Theorem angval 24219
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 4163 . 2 (𝐴 ∈ (ℂ ∖ {0}) ↔ (𝐴 ∈ ℂ ∧ 𝐴 ≠ 0))
2 eldifsn 4163 . 2 (𝐵 ∈ (ℂ ∖ {0}) ↔ (𝐵 ∈ ℂ ∧ 𝐵 ≠ 0))
3 oveq12 6434 . . . . . 6 ((𝑦 = 𝐵𝑥 = 𝐴) → (𝑦 / 𝑥) = (𝐵 / 𝐴))
43ancoms 467 . . . . 5 ((𝑥 = 𝐴𝑦 = 𝐵) → (𝑦 / 𝑥) = (𝐵 / 𝐴))
54fveq2d 5990 . . . 4 ((𝑥 = 𝐴𝑦 = 𝐵) → (log‘(𝑦 / 𝑥)) = (log‘(𝐵 / 𝐴)))
65fveq2d 5990 . . 3 ((𝑥 = 𝐴𝑦 = 𝐵) → (ℑ‘(log‘(𝑦 / 𝑥))) = (ℑ‘(log‘(𝐵 / 𝐴))))
7 ang.1 . . 3 𝐹 = (𝑥 ∈ (ℂ ∖ {0}), 𝑦 ∈ (ℂ ∖ {0}) ↦ (ℑ‘(log‘(𝑦 / 𝑥))))
8 fvex 5996 . . 3 (ℑ‘(log‘(𝐵 / 𝐴))) ∈ V
96, 7, 8ovmpt2a 6565 . 2 ((𝐴 ∈ (ℂ ∖ {0}) ∧ 𝐵 ∈ (ℂ ∖ {0})) → (𝐴𝐹𝐵) = (ℑ‘(log‘(𝐵 / 𝐴))))
101, 2, 9syl2anbr 495 1 (((𝐴 ∈ ℂ ∧ 𝐴 ≠ 0) ∧ (𝐵 ∈ ℂ ∧ 𝐵 ≠ 0)) → (𝐴𝐹𝐵) = (ℑ‘(log‘(𝐵 / 𝐴))))
Colors of variables: wff setvar class
Syntax hints:  wi 4  wa 382   = wceq 1474  wcel 1938  wne 2684  cdif 3441  {csn 4028  cfv 5689  (class class class)co 6425  cmpt2 6427  cc 9688  0cc0 9690   / cdiv 10432  cim 13543  logclog 23993
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1700  ax-4 1713  ax-5 1793  ax-6 1838  ax-7 1885  ax-9 1947  ax-10 1966  ax-11 1971  ax-12 1983  ax-13 2137  ax-ext 2494  ax-sep 4607  ax-nul 4616  ax-pr 4732
This theorem depends on definitions:  df-bi 195  df-or 383  df-an 384  df-3an 1032  df-tru 1477  df-ex 1695  df-nf 1699  df-sb 1831  df-eu 2366  df-mo 2367  df-clab 2501  df-cleq 2507  df-clel 2510  df-nfc 2644  df-ne 2686  df-ral 2805  df-rex 2806  df-rab 2809  df-v 3079  df-sbc 3307  df-dif 3447  df-un 3449  df-in 3451  df-ss 3458  df-nul 3778  df-if 3940  df-sn 4029  df-pr 4031  df-op 4035  df-uni 4271  df-br 4482  df-opab 4542  df-id 4847  df-xp 4938  df-rel 4939  df-cnv 4940  df-co 4941  df-dm 4942  df-iota 5653  df-fun 5691  df-fv 5697  df-ov 6428  df-oprab 6429  df-mpt2 6430
This theorem is referenced by:  angcan  24220  angvald  24222
  Copyright terms: Public domain W3C validator