Shortest nonzero winding vectors and block counts
OpenQAlgorithms.Papers.Independent.Intakenext100.P23.shortest_winding_vectorsLet and . Define and
For every nonzero , . Equality holds exactly when is one constant-sign contiguous block of entries equal to or , with all other entries zero, for some . For each such the block set is finite and has exactly elements. For any block, independent of start and sign,
These vectors control the leading nontrivial winding terms; the zero vector is excluded from the minimization.
import Definitions.Def_QAlgorithms_Papers_Independent_Intakenext100_P23
noncomputable section
open scoped BigOperators Topology
open Filter Set MeasureTheory
namespace QAlgorithms.Papers.Independent.Intakenext100.P23
/-- Source pp.14--15, (68)--(69): minimum one on nonzero integer vectors,
with exactly the contiguous constant-sign blocks as minimizers. Each block
length ell has 2(n-ell) distinct vectors. -/
theorem shortest_winding_vectors (n : ℕ) (hn : 2 ≤ n) :
(∀ m : Fin (n - 1) → ℤ, windingFourier n m = (windingEnergy n m : ℝ)) ∧
(∀ m : Fin (n - 1) → ℤ, m ≠ 0 → 1 ≤ windingEnergy n m) ∧
(∀ m : Fin (n - 1) → ℤ, windingEnergy n m = 1 ↔
∃ ell : ℕ, 1 ≤ ell ∧ ell < n ∧ ∃ a : Fin (n - ell), ∃ s : Bool,
m = windingBlock n ell a.val s) ∧
(∀ ell : ℕ, 1 ≤ ell → ell < n →
{m : Fin (n - 1) → ℤ | ∃ a : Fin (n - ell), ∃ s : Bool,
m = windingBlock n ell a.val s}.Finite ∧
{m : Fin (n - 1) → ℤ | ∃ a : Fin (n - ell), ∃ s : Bool,
m = windingBlock n ell a.val s}.ncard = 2 * (n - ell)) ∧
(∀ ell : ℕ, 1 ≤ ell → ell < n → ∀ a : Fin (n - ell), ∀ s : Bool,
∀ k : Fin (n - 1),
QAlgorithms.Papers.Independent.Information100.P37.quadratic (cosineMatrix n (k.val + 1) (n - 1))
(fun j => (windingBlock n ell a.val s j : ℝ)) =
(Real.sin (Real.pi * ((k.val + 1 : ℕ) : ℝ) * (ell : ℝ) / (n : ℝ)) /
Real.sin (Real.pi * ((k.val + 1 : ℕ) : ℝ) / (n : ℝ))) ^ 2) := by sorry
end QAlgorithms.Papers.Independent.Intakenext100.P23
end
Read-back
What the Lean code literally says, in plain math · gpt-6.1-sol
For every natural number , regard an integer vector as , and define
An empty sum is zero, so the second sum defining is empty when . For natural numbers and a Boolean , let be the vector whose th coordinate is if and is true, if and is false, and zero otherwise. The declaration asserts all of the following: every integer vector , including the zero vector, satisfies
every nonzero satisfies ; and if and only if there exist a natural number , an integer with , and a Boolean such that . For each natural number , the set of vectors obtained from such and is finite and has exactly elements. Finally, for every such and every integer ,
Confirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.