An open Lean 4 library of the mathematics of fundamental physics, mainly quantum gravity, built on Mathlib and Physlib. It formalizes published results, each with its source, and proposes no new theories.
So far it covers spin-foam and state-sum quantum gravity with the topology, representation theory and asymptotics it rests on, the geometry of general relativity, and operator theory for quantum systems, with first results in other approaches. Most of the code is written by AI coding agents under human direction.
The catalog has 554 entries, each citing the source of its statement: 542 proven results, 11 conditional results (proven under hypotheses that are named Lean propositions) and 1 stated target (the statement is defined in Lean, the proof is open). Lean's kernel has checked every proof. Statements are reviewed against their sources, since the kernel cannot check that a statement matches its source. No entry has had expert human review yet, and a review of any entry is welcome (how to report a mismatch).
Start with the main results.
Run your agent on a proof task. The statement is fixed, only the proof is open, and CI checks it:
claude "Read AGENTS.md and follow it. Pick a ready proof task, prove it, and open a pull request."Ready proof tasks · Task board · How to contribute
Review a statement. Lean checks proofs, not whether a statement matches its source. Compare a catalog entry with its source and open an issue with the entry's ID and what differs.
The Project board is the plan: one issue per milestone, in the columns Ready, In progress, Done and Not scheduled. The v1.0 milestones are worked in ranking order. Each issue holds the milestone's checklist, ticked by a script from main; nobody edits a status by hand. A milestone is done, and its issue closed, once every item is ticked; review items are ticked by the evidence written into them. Proof tasks link to their milestone. Details: CONTRIBUTING.md.
[[require]]
name = "lightlike"
git = "https://github.com/LightLikeProject/lightlike"
rev = "v0.3.0"Lean and Mathlib v4.35.0, Physlib at cdfa609. A full build from source needs about 38 GB of disk (.lake/build about 24 GB, .lake/packages about 14 GB); see Building.
Catalog · Roadmap · Conventions · Related projects · Discord · Discussions
Apache License 2.0, © The Lightlike contributors. Cite via CITATION.cff. Contact: lightlike.project@gmail.com.
