Skip to content

About

No description, website, or topics provided.

Resources

Stars

1.4k stars

Watchers

76 watching

Forks

Latest commit

 

History

39 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

formal-math

Machine-checked Lean 4 formalizations published by Anthropic. Each subdirectory is a self-contained Lake project with its own toolchain pin, README and build instructions; build from inside the subdirectory. Projects follow the layout of the Palomar submission template (Challenge.lean / Solution.lean / comparator.json / formalization.yaml at the project root) and are submitted to Palomar with the subdirectory as the selected project; the licence file Palomar reads is this repository's root LICENSE.

Project Statement Lean / Mathlib
zeta23/ More than two thirds of the zeros of the Riemann zeta function are simple and on the critical line (Alpöge–Furman, arXiv:2608.13637) leanprover/lean4:v4.33.0-rc2 / Mathlib v4.33.0-rc2
3sum-apsp/ Programs of a word RAM solve 3SUM in O(n^1.9992) steps and the (min,+)-product and APSP in O(n^2.99942) steps, on integers of polynomial size; also bounds for Exact Triangle and Zero-Weight k-Clique, and further results of the paper, item by item (Alman–Vassilevska Williams, arXiv:2610.06783) leanprover/lean4:v4.33.1 / Mathlib v4.33.1
eth/ One deterministic Turing machine counts the satisfying assignments of every k-CNF with m ≥ 2 clauses on n ≥ 4 variables, each of which occurs, in 2^O(min{k^2 n log log n/√log n, km/√log m}) steps, which refutes the Exponential Time Hypothesis (Claude, paper in the folder) leanprover/lean4:v4.33.1 / Mathlib v4.33.1
vp-vnp/ For every field, circuits for the Hamiltonian cycle polynomial, and for the permanent outside characteristic 2, need more than m^(c (log m)^(1/3)) gates for all large m, also for approximating circuits; so VP ≠ VNP and VNP is not contained in the closure of VP (Claude, paper in the folder) leanprover/lean4:v4.33.1 / Mathlib 0df444a
lattices/ The main theorems of four papers on lattice problems and lattice-based cryptography, among them galactic quasi-polynomial quantum algorithms for integral and module lattices, stated for programs of a quantum word RAM (Claude, papers in the folder) leanprover/lean4:v4.34.1 / Mathlib d13f23b7

lattices/ is not submitted to Palomar for now. It has no formalization.yaml, and CI verifies it only in a manual run (workflow_dispatch, projects = lattices), at tool pins of its own (.github/pins/lattices.env).

CI

Pull requests and pushes to main run .github/workflows/lean-projects.yml on each project folder whose files changed, and only on those; a change confined to CI configuration or documentation (.github/, this README, ...) verifies nothing, except that a change of .github/pins/<project>.env verifies that project, and a full run of every project without MANUAL_ONLY=1 is started manually from the Actions tab (workflow_dispatch, projects = all). The verify job runs on the runner label in the repository/organization variable LEAN_CI_RUNNER when it is set (e.g. a GitHub larger runner such as ubuntu-latest-16-cores), otherwise on ubuntu-latest. Pull-request runs reuse the project's previous Lake build for the same toolchain and manifest (only changed modules are rebuilt); merges to main and manual runs build from scratch. A project whose pins file sets SPLIT_JOBS=1 is verified from scratch by one job for the build and one for each comparator configuration; one that sets MANUAL_ONLY=1 is verified only by a manual run that names it. A project passes when lake build succeeds on its pinned toolchain with no sorry outside the trusted comparator statement files (Challenge.lean, Challenge/<Topic>.lean), and when the Palomar registry's acceptance check — leanprover/comparator with a toolchain-matched lean4export, the independent nanoda kernel and the landrun sandbox, at the registry's tool pins, or at the project's own pins in .github/pins/<project>.env where that file exists — prints Your solution is okay! for every comparator configuration the project declares (.github/scripts/comparator-check.sh; run it locally with cd <project> && bash ../.github/scripts/comparator-check.sh).

To add a project: create a top-level directory with lakefile.toml (or lakefile.lean), lean-toolchain, lake-manifest.json, a Mathlib-only Challenge module stating the headline theorems, a Solution module proving them from the library, and at least one comparator configuration (comparator.json next to the lakefile, or comparator/config*.json); add a row to the table above.

License

Apache-2.0 — see LICENSE. Individual projects may carry additional NOTICE files.

About

No description, website, or topics provided.

Resources

Stars

1.4k stars

Watchers

76 watching

Forks

Releases

Packages

Used by

Contributors

Languages