is_k_ary_sequence
def
A complex sequence A of length ℓ is k-ary if all its elements take values in the k-th roots of unity in ℂ.
Statement
def is_k_ary_sequence (k : ℕ) {ℓ : ℕ} (A : Fin ℓ → ℂ) : Prop
- Defined in
- arXiv:2611.31067, Section 1
- Verified
- 26 Nov 2026
- Axioms
- none listed
Read back from the Lean
A sequence A : Fin ℓ → ℂ is defined to be a k-ary sequence (for k : ℕ and implicit length ℓ : ℕ) if and only if for every index j : Fin ℓ, there exists an element u in the k-th roots of unity in ℂ (rootsOfUnity k ℂ) such that the complex number underlying u equals A j. In other words, every term in A is a k-th root of unity in ℂ.
Written by a model that saw only the Lean, never the English above. If the two disagree, that is worth a challenge.
Lean source view module on GitHub
/-- A sequence A : Fin ℓ → ℂ is k-ary if every element is a k-th root of unity in ℂ. -/ def is_k_ary_sequence (k : ℕ) {ℓ : ℕ} (A : Fin ℓ → ℂ) : Prop := ∀ j : Fin ℓ, ∃ u : rootsOfUnity k ℂ, ((u : ℂˣ) : ℂ) = A j