leading_unit_ag
def
The generating function A_g(z) = 1 / ((1 - z)^2 Q_g(z)) regarded as a formal power series over ℚ.
Statement
noncomputable def leading_unit_ag (g : ℕ) : PowerSeries ℚ
- Defined in
- arXiv:2611.10200, eq. (1.4)
- Verified
- 10 Nov 2026
- Axioms
- none listed
- Built on 1
- leading_unit_qgThe polynomial Q_g(z) = 1 - ∑_{j=1}^g z^j associated with g leading unit coefficients, regarded as a formal power series over ℚ.
- Used by 1
- leading_unit_aThe coefficient a_m^{(g)} of z^m in the formal power series A_g(z) = ((1 - z)^2 Q_g(z))⁻¹.
Read back from the Lean
The function leading_unit_ag takes a natural number g : ℕ and returns the formal power series over ℚ given by the multiplicative inverse of (1 - X)^2 * (1 - ∑ j ∈ [1, g], X^j), where X is the indeterminate of PowerSeries ℚ.
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 generating function A_g(z) = ((1 - z)^2 Q_g(z))⁻¹. -/ noncomputable def leading_unit_ag (g : ℕ) : PowerSeries ℚ := open PowerSeries in ((1 - X) ^ 2 * leading_unit_qg g)⁻¹