AFTD Auto-Formalizing Theoretical Domains

leading_unit_a

def

The coefficient a_m^{(g)} of z^m in the formal power series A_g(z) = ((1 - z)^2 Q_g(z))⁻¹.

Statement

noncomputable def leading_unit_a (g m : ℕ) : ℚ
Defined in
arXiv:2611.10200, eq. (1.4)
Verified
10 Nov 2026
Axioms
none listed
Built on 1
  • leading_unit_agThe generating function A_g(z) = 1 / ((1 - z)^2 Q_g(z)) regarded as a formal power series over ℚ.
Used by 1
  • leading_unit_mThe unrounded completeness threshold M_{g,k} = (a_{g+k}^{(g)} + 1) / 2^g for positive integers g and k.

Read back from the Lean

leading_unit_a is a definition that takes two natural numbers g and m, and returns the rational number given by the m-th coefficient (via PowerSeries.coeff m) of the formal power series leading_unit_ag g.

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 m-th coefficient a_m^{(g)} of A_g(z). -/
noncomputable def leading_unit_a (g m : ℕ) : ℚ :=
  PowerSeries.coeff m (leading_unit_ag g)
See it in the graphDiscuss this resultChallenge it