leading_unit_qg
def
The polynomial Q_g(z) = 1 - ∑_{j=1}^g z^j associated with g leading unit coefficients, regarded as a formal power series over ℚ.
Statement
noncomputable def leading_unit_qg (g : ℕ) : PowerSeries ℚ
- Defined in
- arXiv:2611.10200, eq. (1.4)
- Verified
- 10 Nov 2026
- Axioms
- none listed
- Used by 1
- leading_unit_agThe generating function A_g(z) = 1 / ((1 - z)^2 Q_g(z)) regarded as a formal power series over ℚ.
Read back from the Lean
leading_unit_qg is a definition that takes a natural number g and returns the formal power series over ℚ given by 1 - ∑ j ∈ Finset.Icc 1 g, X ^ j, which is 1 - (X + X^2 + ⋯ + X^g) (and equals 1 when g = 0).
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 characteristic polynomial Q_g(z) = 1 - ∑_{j=1}^g z^j for g leading units. -/ noncomputable def leading_unit_qg (g : ℕ) : PowerSeries ℚ := open PowerSeries in 1 - ∑ j ∈ Finset.Icc 1 g, (X : PowerSeries ℚ) ^ j