op861_third_roots_subset_sum_norm
For a nontrivial complex cube root of unity of norm one, every sum of a subset of 1, u, and u squared has norm at most one.
Statement
theorem op861_third_roots_subset_sum_norm (u : ℂ) (hu : u ^ 3 = 1) (hne : u ≠ 1) (hnorm : ‖u‖ = 1) (a b c : Bool) : ‖(if a then (1 : ℂ) else 0) + (if b then u else 0) + (if c then u ^ 2 else 0)‖ ≤ 1
- Source
- Elementary complex identity used in op861_order_three_character_sum_bound.
- Verified
- 18 Nov 2026
- Axioms
Classical.choiceQuot.soundpropext- Used by 1
- op861_order_three_character_sum_boundIn a finite abelian group in which three times every element is zero, every nontrivial complex additive character has a sum of norm at…
The proof, explained
Because u ≠ 1 is a complex cube root of unity, factoring u^3 - 1 = (u - 1)(u^2 + u + 1) = 0 yields the cyclotomic relation u^2 + u + 1 = 0. This identity implies that the sum of any two elements in {1, u, u^2} equals the negation of the third, and the sum of all three is zero. An exhaustive case split across all eight possible subsets reduces the norm bound to evaluating the norms of 0, ±1, ±u, and ±u^2, all of which are at most 1 because ‖u‖ = 1.
(u - 1) * (u^2 + u + 1) = 0
Algebraic expansion shows that (u - 1) * (u^2 + u + 1) = u^3 - 1. Since u^3 = 1 by assumption, this difference equals zero.
uses
sub_eq_zero.mprhave hfac : (u - 1) * (u ^ 2 + u + 1) = 0 := by calc _ = u ^ 3 - 1 := by ring _ = 0 := sub_eq_zero.mpr hu
u^2 + u + 1 = 0
Because the product (u - 1) * (u^2 + u + 1) is zero, at least one of the two factors must vanish. Since u ≠ 1, the first factor u - 1 is nonzero, forcing u^2 + u + 1 = 0.
uses
mul_eq_zero.mp,resolve_left,sub_ne_zero.mprhave hpoly : u ^ 2 + u + 1 = 0 := (mul_eq_zero.mp hfac).resolve_left (sub_ne_zero.mpr hne)The pairwise sums satisfy 1 + u = -(u^2), 1 + u^2 = -u, and u + u^2 = -1
Rearranging the identity u^2 + u + 1 = 0 by moving any one term to the right-hand side expresses the sum of the remaining two roots as the negation of the third.
have h12 : 1 + u = -(u ^ 2) := by linear_combination hpoly have h13 : 1 + u ^ 2 = -u := by linear_combination hpoly have h23 : u + u ^ 2 = -1 := by linear_combination hpoly
‖(if a then 1 else 0) + (if b then u else 0) + (if c then u^2 else 0)‖ ≤ 1 for all booleans a, b, c
A case split on the three booleans a, b, c produces the eight possible subset sums of {1, u, u^2}. In each case, simplifying with the pairwise sum relations, the norm hypothesis ‖u‖ = 1, and the power norm identity ‖u^2‖ = ‖u‖^2 reduces the sum to 0, ±1, ±u, or ±u^2. All of these have norm 0 or 1, and hence are bounded by 1.
uses
norm_powcases a <;> cases b <;> cases c <;> simp [h12, h13, h23, hnorm, norm_pow]
mul_eq_zero.mp- if a product of two numbers is zero, then at least one factor is zero
norm_pow- the norm of a power a^n equals ‖a‖^n
resolve_left- in a disjunction P ∨ Q, if P is false, then Q holds
sub_eq_zero.mpr- if a = b, then a - b = 0
sub_ne_zero.mpr- if a ≠ b, then a - b ≠ 0
Written by a model (gemini-3.8-flash) from the Lean proof and the goal states Lean reported at each step. Lean verified the proof; this explanation is a reading aid and is not itself machine-checked.
Lean source view module on GitHub
Choose a tactic — a marked line — to see the goals Lean had before and after it, as in Lean’s infoview. Step with ← → or j k.
open scoped BigOperatorstheorem op861_third_roots_subset_sum_norm (u : ℂ) (hu : u ^ 3 = 1) (hne : u ≠ 1) (hnorm : ‖u‖ = 1) (a b c : Bool) : ‖(if a then (1 : ℂ) else 0) + (if b then u else 0) + (if c then u ^ 2 else 0)‖ ≤ 1 := by have hfac : (u - 1) * (u ^ 2 + u + 1) = 0 := by calc _ = u ^ 3 - 1 := by ring _ = 0 := sub_eq_zero.mpr hu have hpoly : u ^ 2 + u + 1 = 0 := (mul_eq_zero.mp hfac).resolve_left (sub_ne_zero.mpr hne) have h12 : 1 + u = -(u ^ 2) := by linear_combination hpoly have h13 : 1 + u ^ 2 = -u := by linear_combination hpoly have h23 : u + u ^ 2 = -1 := by linear_combination hpoly cases a <;> cases b <;> cases c <;> simp [h12, h13, h23, hnorm, norm_pow]