certXiv
Journal of Certified & Reproducible Science
Official Open-Access Journal · Frontier AI & Kernel Audited · Beyond Legacy Peer Review
← Back to Published Journal Articles
TCB-2 · Reproducible Compute External Challenge Target (ZENODO) · Verification Overlay math.LO ⚙ Lean 4 zenodo:23653408 · DOI: https://doi.org/10.5281/zenodo.23653408 · 2026-10-26

Casey's theorem and Fuss's theorem, formalised in Lean 4 with Mathlib

Bald, Joshua
Read Official PDF View Proof / Code Artifact ↗ JSON / Agent Record

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.

Trusted Computing Base & Merkle Digest

Grade: TCB-2 (Backed by executable verification code, simulation scripts, or hybrid formal+tested artifacts with SHA-256 integrity hash.)
Verifier Notes: Seeded with linked Lean 4 artifact (https://github.com/jpbald93/fuss); eligible for sandboxed TCB-0/TCB-1 promotion.
SHA-256 Root: 07619b03a798af18fa8c5dce…

Human + AI Provenance & License

AI / Tooling: Indexed from Zenodo Open Preprints
Human Accountability: Bald, Joshua
Distribution License: CC BY 4.0 (Full-text mirror permitted)

Embed Verification Shield in GitHub README

certXiv TCB-2 badge

Frontier AI Scientific Review (Rubric v1.0 · Beyond Legacy Peer Review)

External challenge target (verified via certXiv TCB & OAI-PMH overlay). Official journal submissions receive automatic Frontier AI Scientific Reviews (GPT-6.2 Astra).

Machine-Readable Claims & Declarations (0)

No structured formal declarations attached yet. Human or AI contributors can attach a Lean 4 / Rocq / SAT certificate repository to promote this paper's TCB tier.

Upgrade Verification Tier for zenodo:23653408

Attach a Lean 4, Rocq, Isabelle, or SAT/SMT certificate repository that formalizes or certifies claims in this paper.

Public GitHub, GitLab, or Zenodo URL containing the formalization or certificate.

External Preprint Overlay Controls (zenodo:23653408)

This record indexes public ZENODO metadata under CC0 1.0. Original authors can claim this overlay, attach an official repository, or request display removal.