Documentation

CslibFrontier.Foundations.RingTheory.RootsOfUnity.SeparatedSums

Separating tuples of roots of unity with geometric weights #

Distances between distinct complex ellth roots of unity are bounded below using the vanishing geometric sum. A coefficient polynomial of the difference of two tuples then has a bounded Cauchy radius, so evaluation at a sufficiently large integer distinguishes the tuples.

Adapted from UnityRootSeparation and UnityWeightedSum in lean-canny at 970f28a5ecefc1327402ade16c068aa4b1b2c183, reusing the contraction power estimate.

theorem Complex.one_le_mul_norm_sub_of_pow_eq_one {ell : ℕ} (hell : ell ≠ 0) {z w : ℂ} (hz : z ^ ell = 1) (hw : w ^ ell = 1) (hne : z ≠ w) :
1 ≤ ↑ell * ‖z - w‖

Distinct complex ellth roots of unity are separated by at least 1 / ell.

theorem Complex.eq_of_weighted_sum_eq_of_pow_eq_one {ell R n : ℕ} (hell : ell ≠ 0) (hR : 2 * ell + 1 ≤ R) {z w : Fin n → ℂ} (hz : ∀ (i : Fin n), z i ^ ell = 1) (hw : ∀ (i : Fin n), w i ^ ell = 1) (hsum : ∑ i : Fin n, ↑R ^ ↑i * z i = ∑ i : Fin n, ↑R ^ ↑i * w i) :
z = w

Geometric weights with integer base at least 2 * ell + 1 distinguish tuples of complex ellth roots of unity.