{"id":"zenodo:23653408","source":"zenodo","external_id":"10.5281/zenodo.23653408","doi":"10.5281/zenodo.23653408","title":"Casey's theorem and Fuss's theorem, formalised in Lean 4 with Mathlib","abstract":"We report two small Lean 4 formalisations, built on Mathlib, of classical theorems about circles. The first is Casey’s theorem (1866), the generalisation of Ptolemy’s theorem in which the four points on a circle Γ are replaced by four circles tangent to Γ and distances are replaced by lengths of common tangents. We prove it in every real inner product space, for circles internally tangent to Γ and, through a signed radius, for any mixture of internally and externally tangent circles; with all radii zero it specialises to Mathlib’s Ptolemy theorem, which the proof reuses. The second is Fuss’s theorem (1797): if a quadrilateral is inscribed in a circle of radius R and its four side lines are tangent to a circle of radius r whose centre is at distance d ̸ = R from the first centre, with r > 0, then (R2 − d2)2 = 2r2(R2 + d2). We prove it in a Euclidean plane, together with the converse in the form of Poncelet’s porism for quadrilaterals: under Fuss’s relation every non-stalling four-step chain of the tangent construction (with the hypotheses of Theorem 9) closes, and if the inner circle lies inside the outer one, every point of the outer circle is a vertex of such a quadrilateral. Both original core developments are short (about 200 and 870 lines), contain no sorry and use only Lean’s standard axioms. As far as we could determine, neither theorem had a formal proof before. The quadrilaterals need not be convex: convexity, and contact of the inner circle with the side segments, are not proved, so the textbook forms of the converse and of Poncelet closure for convex bicentric quadrilaterals are covered only in this narrower form. Version 2 adds Mathlib-only restatements with non-degenerate witnesses and a comparison with independently formalised textbook statements.","primary_category":"math.LO","domain":"math","license_url":"https://creativecommons.org/licenses/by/4.0/","license_short":"CC BY 4.0","can_host_fulltext":true,"pdf_url":"/pdf/zenodo:23653408.pdf","canonical_url":"https://zenodo.org/records/23653408","source_repo_url":"https://github.com/jpbald93/fuss","proof_system":"Lean 4","tcb_grade":"TCB-2","track":"verified","tcb_notes":"Seeded with linked Lean 4 artifact (https://github.com/jpbald93/fuss); eligible for sandboxed TCB-0/TCB-1 promotion.","merkle_root":"07619b03a798af18fa8c5dce22931ca323a4f18e22b2b360142eca56e4a82803","published_at":"2026-10-26","ingested_at":"2026-11-30T13:55:10+00:00","version":1,"doi_url":"https://doi.org/10.5281/zenodo.23653408","authors":["Bald, Joshua"],"categories":["math.LO"],"ai_provenance":{"disclosed":false,"models":["Indexed from Zenodo Open Preprints"],"human_role":"Bald, Joshua","verification_notes":"Passed certXiv prompt-artifact hygiene scan on ingestion."},"audit_report":{"passed":true,"source":"zenodo-open-preprint","findings":[]},"tcb_meta":{"code":"TCB-2","label":"Reproducible Compute","track":"verified","rank":2,"icon":"●","summary":"Backed by executable verification code, simulation scripts, or hybrid formal+tested artifacts with SHA-256 integrity hash."},"claims":[],"citations":[],"upgrades":[],"verification_jobs":[],"versions":[],"reviews":[],"latest_review":null}