weighted_catalan_poly_zero
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
- weighted_catalan_polyFor each integer parameter t, the polynomial function b_t from natural numbers to integers is defined by b_t(x) = (4t + 1)x^3 - x^2 + 1.
- postage_stamp_number_neg_two_of_odd_dvd_eqIf 0 < N, N ∣ D and 0 < D < 2N, then D = N.
- LinearOrder.toTotalPreorderEvery
LinearOrderis aTotalPreorder. - TotalPreorderA total preorder: a preorder where
≤is total (complete). This is weaker thanLinearOrder— it does NOT require antisymmetry or…
- Used by 2
- weighted_catalan_counterexample_satisfies_conditionsFor every integer t, the polynomial b_t satisfies: b_t(0) is odd; 2^(k - s_2(k)) divides (Δ^k b_t)(x) for all k ≥ 2 and all natural…
- weighted_catalan_poly_one_sub_zeroFor every integer t, the difference b_t(1) - b_t(0) is equal to 4 * t.
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.
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.
uses
postage_stamp_number_neg_two_of_odd_dvd_eqtheorem 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.
- The entire proof is packed into a single line of automated trial-and-error tactic combinators (`first | ...`). While on paper b_t(0) = 1 is an immediate arithmetic calculation, the automated search reached it roundaboutly by applying `postage_stamp_number_neg_two_of_odd_dvd_eq`, which establishes D = 1 from the bounds 0 < 1, 1 ∣ D, 0 < D, and D < 2 for D = b_t(0).
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
Choose a tactic — a marked line — to see the goals Lean had before and after it, as in Lean’s infoview. Step with ← → or j k.
/-- 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)