one_weight_level
def
For an arbitrary finite type ι, integer weights ω : α → ℤ, and a word w : ι → α, one_weight_level ω w is the sum over all i : ι of ω (w i) in ℤ.
Statement
def one_weight_level {α ι : Type*} [Fintype ι] (ω : α → ℤ) (w : ι → α) : ℤ
- Defined in
- arXiv:2611.22205 Section 2
- Verified
- 20 Nov 2026
- Axioms
- none listed
Read back from the Lean
Given types α and ι with ι finite, a weight function ω : α → ℤ, and a map w : ι → α, one_weight_level ω w is defined as the sum over all i : ι of ω (w i).
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
/-- The one-weight level of a word with given coordinate weights. -/ def one_weight_level {α ι : Type*} [Fintype ι] (ω : α → ℤ) (w : ι → α) : ℤ := ∑ i, ω (w i)