Published June 2, 2026 | Version v1.0.0
Software Open

Machine-verified Lean 4 / Mathlib formalization of the Casoratian closed form (Theorem 6.3) for a 4/pi polynomial continued fraction

Authors/Creators

Description

A Lean 4 / Mathlib formalization of the Casoratian closed form (Theorem 6.3) underlying the rapidly convergent series identity for π/4 in the polynomial continued fraction PCF(−n(2n−3), 3n+1).

At the level of the reduced three-term recurrence (2n−1)·xn = (3n+1)·xn−1 − n·xn−2, the development proves that for any two solutions h, g with Casoratian normalization W1 = 1 one has Wn = n!/(2n−1)!! for all n ≥ 1 (casoratian_step, casoratian_closed_form). A concrete instantiation takes hn = n2+3n+1 and gn = qn/(2n−1)!!, where qn are the convergent denominators of the continued fraction (gate-checked against the q0..q5 = 1, 4, 26, 224, 2392, 30432 values), and formalizes the rational telescoping bridge to the π/4 series.

Soundness. Verified by axiom-cone inspection: every theorem (casoratian_step, casoratian_closed_form, casoratian_concrete, g_isSolution, g_baseValue, and the telescoping lemma) has the axiom set {propext, Classical.choice, Quot.sound} with no occurrence of sorryAx. The build reports zero sorry and zero errors. Toolchain: Lean v4.29.0, Mathlib pinned via the committed lake-manifest.json.

Scope. This verification covers the unconditionally proved core only. It does not address the ratio conjecture (Conjecture 3.3), the conditional Gamma-function identity (Section 5), or the numerical catalogue of 482 constants (Section 12) of the source paper.

Files

papanokechi/pcf-casoratian-lean-v1.0.0.zip

Files (15.3 kB)

Name Size Download all
md5:5d5afb3bdc9ee6f410e444564acfd2f9
15.3 kB Preview Download

Additional details

Related works

Is supplement to
Journal article: 10.5281/zenodo.19491767 (DOI)
Software: https://github.com/papanokechi/pcf-casoratian-lean (URL)