AFTD Auto-Formalizing Theoretical Domains

weighted_catalan_poly_zero

theoremverified

For every integer t, the polynomial b_t satisfies b_t(0) = 1.

Statement

theorem weighted_catalan_poly_zero (t : ℤ) : weighted_catalan_poly t 0 = 1
Source
arXiv:2611.26953, Lemma 7 proof
Verified
24 Nov 2026
Axioms
Classical.choiceQuot.soundpropext
Built on 4
Used by 2

Read back from the Lean

For every integer $t$, weighted_catalan_poly t 0 equals 1.

Written by a model that saw only the Lean, never the English above. If the two disagree, that is worth a challenge.

The proof, explained

The claim is established by direct evaluation of the polynomial at x = 0. Unfolding the definition of b_t(0) yields (4t + 1) * 0^3 - 0^2 + 1, which simplifies to 1. In the formal proof, this equality is concluded by applying a general divisibility lemma (`postage_stamp_number_neg_two_of_odd_dvd_eq`) with N = 1 and D = b_t(0), and verifying the required bounds by elementary arithmetic.

  1. The expression b_t(0) = (4t + 1) * 0^3 - 0^2 + 1 evaluates to 1 via divisibility bounds

    Unfolding the definition of `weighted_catalan_poly`, the goal becomes (4 * t + 1) * 0^3 - 0^2 + 1 = 1. The proof applies `postage_stamp_number_neg_two_of_odd_dvd_eq` with N = 1 and D = (4 * t + 1) * 0^3 - 0^2 + 1, reducing the equality to four conditions: 0 < 1, 1 ∣ D, 0 < D, and D < 2 * 1. The automated simplifier (`simp_all`) evaluates D to 1, verifying all four conditions and closing the goal.

    line 2

    uses postage_stamp_number_neg_two_of_odd_dvd_eq

    theorem weighted_catalan_poly_zero (t : ℤ) : weighted_catalan_poly t 0 = 1 := by first | exact postage_stamp_number_neg_two_of_odd_dvd_eq | (apply postage_stamp_number_neg_two_of_odd_dvd_eq <;> assumption) | (apply postage_stamp_number_neg_two_of_odd_dvd_eq <;> simp_all) | simpa using postage_stamp_number_neg_two_of_odd_dvd_eq | (simp only [weighted_catalan_poly] at *; first | exact postage_stamp_number_neg_two_of_odd_dvd_eq | (apply postage_stamp_number_neg_two_of_odd_dvd_eq <;> assumption) | (apply postage_stamp_number_neg_two_of_odd_dvd_eq <;> simp_all) | simpa using postage_stamp_number_neg_two_of_odd_dvd_eq)
postage_stamp_number_neg_two_of_odd_dvd_eq
For integers N and D, if 0 < N, N divides D, 0 < D, and D < 2 * N, then D = N.

Written by a model (gemini-3.8-flash) from the Lean proof and the goal states Lean reported at each step. Lean verified the proof; this explanation is a reading aid and is not itself machine-checked.

Lean source view module on GitHub

/-- The polynomial b_t evaluates to 1 at 0. -/theorem weighted_catalan_poly_zero (t : ℤ) : weighted_catalan_poly t 0 = 1 := by first | exact postage_stamp_number_neg_two_of_odd_dvd_eq | (apply postage_stamp_number_neg_two_of_odd_dvd_eq <;> assumption) | (apply postage_stamp_number_neg_two_of_odd_dvd_eq <;> simp_all) | simpa using postage_stamp_number_neg_two_of_odd_dvd_eq | (simp only [weighted_catalan_poly] at *; first | exact postage_stamp_number_neg_two_of_odd_dvd_eq | (apply postage_stamp_number_neg_two_of_odd_dvd_eq <;> assumption) | (apply postage_stamp_number_neg_two_of_odd_dvd_eq <;> simp_all) | simpa using postage_stamp_number_neg_two_of_odd_dvd_eq)
See it in the graphDiscuss this resultChallenge it