The Mathlib Handbook

The volumes of the handbook are not written yet. This site shows the map of Mathlib that they will follow, at Mathlib 4472534b60.

The areas / V19. Complex and harmonic analysis

Mathlib.Analysis.Complex.Angle

13 declarations. Mathlib docs · Source

Angle between complex numbers

This file relates the Euclidean geometric notion of angle between complex numbers to the argument of their quotient.

It also shows that the arc and chord distances between two unit complex numbers are equivalent up to a factor of π / 2.

TODO

Prove the corresponding results for oriented angles.

Tags

arc-length, arc-distance

Arc-length and chord-length are equivalent

This section shows that the arc and chord distances between two unit complex numbers are equivalent up to a factor of π / 2.

theorem Complex.angle_eq_abs_arg E1 #

∀ {x y : ℂ}, x ≠ 0 → y ≠ 0 → InnerProductGeometry.angle x y = |(x / y).arg|

The angle between two non-zero complex numbers is the absolute value of the argument of their quotient.

Note that this does not hold when x or y is 0 as the LHS is π / 2 while the RHS is 0.

theorem Complex.angle_one_left E1 #

∀ {y : ℂ}, y ≠ 0 → InnerProductGeometry.angle 1 y = |y.arg|

theorem Complex.angle_one_right E1 #

∀ {x : ℂ}, x ≠ 0 → InnerProductGeometry.angle x 1 = |x.arg|

theorem Complex.angle_mul_left E0 #

∀ {a : ℂ}, a ≠ 0 → ∀ (x y : ℂ), InnerProductGeometry.angle (a * x) (a * y) = InnerProductGeometry.angle x y

theorem Complex.angle_mul_right E0 #

∀ {a : ℂ}, a ≠ 0 → ∀ (x y : ℂ), InnerProductGeometry.angle (x * a) (y * a) = InnerProductGeometry.angle x y

theorem Complex.angle_div_left_eq_angle_mul_right E1 #

∀ (a x y : ℂ), InnerProductGeometry.angle (x / a) y = InnerProductGeometry.angle x (y * a)

theorem Complex.angle_div_right_eq_angle_mul_left E1 #

∀ (a x y : ℂ), InnerProductGeometry.angle x (y / a) = InnerProductGeometry.angle (x * a) y

theorem Complex.angle_exp_exp E1 #

∀ (x y : ℝ),
  InnerProductGeometry.angle (Complex.exp (↑x * Complex.I)) (Complex.exp (↑y * Complex.I)) =
    |toIocMod Real.two_pi_pos (-Real.pi) (x - y)|

theorem Complex.angle_exp_one E1 #

∀ (x : ℝ), InnerProductGeometry.angle (Complex.exp (↑x * Complex.I)) 1 = |toIocMod Real.two_pi_pos (-Real.pi) x|

theorem Complex.norm_sub_mem_Icc_angle E1 #

∀ {x y : ℂ},
  ‖x‖ = 1 → ‖y‖ = 1 → ‖x - y‖ ∈ Set.Icc (2 / Real.pi * InnerProductGeometry.angle x y) (InnerProductGeometry.angle x y)

Chord-length is a multiple of arc-length up to constants.

theorem Complex.norm_sub_le_angle E1 #

∀ {x y : ℂ}, ‖x‖ = 1 → ‖y‖ = 1 → ‖x - y‖ ≤ InnerProductGeometry.angle x y

Chord-length is always less than arc-length.

theorem Complex.mul_angle_le_norm_sub E1 #

∀ {x y : ℂ}, ‖x‖ = 1 → ‖y‖ = 1 → 2 / Real.pi * InnerProductGeometry.angle x y ≤ ‖x - y‖

Chord-length is always greater than a multiple of arc-length.

theorem Complex.angle_le_mul_norm_sub E1 #

∀ {x y : ℂ}, ‖x‖ = 1 → ‖y‖ = 1 → InnerProductGeometry.angle x y ≤ Real.pi / 2 * ‖x - y‖

Arc-length is always less than a multiple of chord-length.