Formal Lean 4 proofs of solved research problems, hosted as stable formal_proof
targets for Formal Conjectures
and prepared for registration on Palomar, the registry
of machine-checked Lean results.
Every push runs the gate the proofs are claimed to pass: the whole library builds
against a pinned Mathlib, and a #print axioms audit fails the build if any tracked
theorem uses sorry or any axiom outside [propext, Classical.choice, Quot.sound].
A green badge is a scoped, re-checkable build and axiom result. It is not scientific
acceptance, a Vela Decision, or Standing in any Repository.
| Problem | Theorem | Statement | Status |
|---|---|---|---|
| 730 | Erdos730.FullDensityTheorem.pairSet_infinite |
Infinitely many pairs n < m (in fact consecutive pairs) whose central binomial coefficients have identical prime support — the affirmative answer to Erdős #730. |
kernel-proved; registered with the Palomar registry as PALOMAR-2026-08-22-000001 (22 August 2026) |
| 154 | Erdos154.erdos_154_sumset |
For Sidon sets A with |A| ~ √N, the sumset A + A is equidistributed over residue classes mod m. |
kernel-proved; registry statement in Palomar/Erdos154/; registration waits on the upstream licence of the Lindström formalisation it builds on (see NOTICE) |
| 94 | Erdos94.variants.sum_multiplicity |
The multiplicities of the distinct distances of a finite planar point set sum to (|P| choose 2). |
kernel-proved bounded identity; statement in Palomar/Erdos94/; below a registry's research-interest floor and not a candidate |
| 399 | Erdos399.erdos_399.variants.cambie |
Coprime x, y with 1 < xy: no factorial is x⁴ + y⁴. |
kernel-proved bounded variant |
| 1074 | Erdos1074.erdos_1074.variants.EHSNumbers_init |
The first seven EHS numbers are 8, 9, 13, 14, 15, 16, 17. |
kernel-proved finite computation |
proofs.yaml is the machine-readable index of every tracked theorem, including the
component lemmas of the #730 development; Audit.lean prints the axioms of each.
One directory per problem, holding everything that problem owns.
ErdosProblems/
Erdos730/ the #730 development (74 modules), with its
compute/ exact-arithmetic provenance and certificate suite
plans/ the hostile-audit and formalisation plans it followed
Erdos154/ Lindstrom.lean (third-party; see NOTICE) and Sumset.lean
Erdos1074/evidence/ the retained finite-computation certificate
Erdos94.lean, Erdos399.lean, Erdos1074.lean
Palomar/<Problem>/ registry statements: Challenge.lean (imports Mathlib
only) and comparator.json (what Comparator compares)
PalomarSolutions/<Problem>.lean
the Solution for each Challenge (delegates to the
proof above); a separate root module on purpose
Audit.lean #print axioms for every tracked theorem
proofs.yaml machine-readable index (consumed by erdos-fc-sync)
formalization.yaml provenance, sources, automation, review (the
mathlib-initiative self-reporting standard; Palomar
reads it)
scripts/, tests/ the verification gate and its tests
docs/ the Vela integration contract
.vela/, vela.toml optional Vela integration (docs/vela-integration.md)
NOTICE third-party material and its terms
In-progress campaigns live in their own repositories:
erdos-686 and
erdos-frontier. The third-party
Star Fleet Math proofs that were hosted under starfleet/ have moved out as well;
existing commit-pinned links to them remain valid.
Each Palomar/<Problem>/ directory is one Comparator comparison in the shape the
Palomar submission standard
asks for: a Challenge.lean that imports only Mathlib and states the result in a
single auditable declaration, and a comparator.json permitting only the three
standard axioms. The matching Solution, PalomarSolutions/<Problem>.lean, proves the
same declaration from the development in ErdosProblems/. Challenge and Solution
declare the same names by design, so each module is built on its own. Solutions sit
under their own root module rather than under Palomar/: the registry's verifier
puts its recompiled Challenge first on LEAN_PATH, and Lean resolves every module
sharing that root directory there
(PalomarSubmission#108).
To reproduce the registry's mechanical check locally, with
Comparator and a lean4export built at
this repository's Lean version on PATH (on macOS, Comparator's
scripts/fake-landrun.sh stands in for the Linux sandbox and is not adversarial):
lake exe cache get
lake build
lake env comparator Palomar/Erdos730/comparator.jsonWhich statements are candidates for registration, and why, is recorded in
formalization.yaml (status.main_results). Registration is a deliberate, separate
act: nothing in this repository submits anything.
lake exe cache get
lake build
bash scripts/check_axioms.sh
bash scripts/check_manifest.sh
python3 -m unittest discover -s tests -p 'test_*.py'The optional Vela integration checks (vela integration check . --json,
python3 scripts/check_vela_integration.py) are described in
docs/vela-integration.md.
Erdős #730 is unconditionally kernel-proved, and the registry statement
Palomar/Erdos730/Challenge.lean is registered with Palomar as
PALOMAR-2026-08-22-000001 (both kernels, no findings in review). The terminal theorem is
Erdos730.FullDensityTheorem.pairSet_infinite: infinitely many consecutive
central binomial coefficients have identical prime support. The proof
formalizes the explicit positive-density family, Kummer digit criterion,
four-range event ledger, fixed-depth Fourier estimate, uniform depth tail,
Mertens input, fixed-modulus PNT in arithmetic progressions, divisor
switching, exact density budget, and density-to-infinitude bridge. See
ErdosProblems/Erdos730/compute/full_density/, ErdosProblems/Erdos730/FullDensityTheorem.lean, and the
registry statement Palomar/Erdos730/Challenge.lean.
The hostile-audit certificate includes 119 passing exact-arithmetic tests and the strict rational bound
4*S + (2/3) log 2
< 21498408212212214497 / 22462131847034880000
< 2393/2500,
with positive margin
2344391769572639 / 22462131847034880000. The terminal audit exposes only
[propext, Classical.choice, Quot.sound]; no native_decide is used.
The fixed-modulus PNT-AP step uses the pinned external
PrimeNumberTheoremAnd package. That package contains two admitted
experimental declarations, prelim_decay_2 and prelim_decay_3, outside the
transitive dependency cone of the theorem used here. The active PNT-AP route
and the Erdős #730 terminal theorem do not depend on sorryAx, so this is a
package-global hygiene qualification rather than a gap in the proof.
Erdos154.erdos_154_sumset proves that along Sidon sets A k ⊆ [0, N k] with
N k → ∞ and |A k| / √(N k) → 1, the sumset A k + A k is equidistributed modulo
every m ≥ 2. It is proved from Lindström's residue-distribution theorem for A
itself (J. Number Theory 1998), whose formalisation in ErdosProblems/Erdos154/Lindstrom.lean
is by Aristotle (Harmonic) and Wouter van Doorn via
Woett/Lean-files; see NOTICE for its terms.
The statement is the one Formal Conjectures records for the problem
(#4340).
This proof library is a scientific owner in the broader science-factory programme. The repository map separates maintained proofs, open campaigns, upstream statement repositories, contribution tools and historical checkouts. The programme can use these proofs and checks in repeatable research handoffs; it does not replace this repository's proof index or upstream acceptance. Follow each linked destination's current ownership or archive notice before continuing historical campaign work.
- erdos-fc-sync reads
proofs.yamlas a proof source. When a problem has a clean proof here that Formal Conjectures does not yet link, the sync surfaces it as a contribution target. - Proofs that build on existing formalisations carry that lineage in their headers,
in
proofs.yaml, and informalization.yaml'srelated_formalizations.
- Add
ErdosProblems/Erdos<n>.lean, building cleanly against the pinned Mathlib. - Add its module import and a
#print axiomsline to the manifest-tracked section ofAudit.lean. - Add an entry to
proofs.yaml. bash scripts/check_axioms.sh && bash scripts/check_manifest.shmust pass.
MIT for the material authored here; see LICENSE, and NOTICE for the third-party
material this grant does not cover.