Skip to content
LightLikeProjectPublic

About

The mathematics of fundamental physics in Lean 4: general relativity, cosmology, quantum gravity. Kernel-checked results with their sources, and precisely stated open problems. Built on Mathlib and Physlib. Open to contributors and their AI agents.

Topics

Resources

Code of conduct

Contributing

Stars

3 stars

Watchers

0 watching

Forks

Repository files navigation

Lightlike

Lightlike

CI

An open Lean 4 library of the mathematics of fundamental physics, mainly quantum gravity, built on Mathlib and Physlib. It formalizes published results with their sources (the entries that cite none are counted below) and, outside the exploratory tier, 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 603 entries: 591 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). 142 entries do not yet cite a source for the statement; the other 461 cite one, of which 19 were not yet read against the text at the cited location. Lean's kernel has checked every proof. Statements are reviewed against their sources by agents, 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).

Read the count with care (details): 15 entries are a supporting lemma, an elementary fact or a wrapper of a Mathlib or Physlib result, so 588 are results in the sense of a paper's theorem; 12 entries are conditional or a stated target; 97 entries have a statement that was not yet compared with the text of a source (19 cite one, 78 cite none); 95 entries state a limit (the statement is narrower than the source).

Start with the main results.

Contribute

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 list · 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.

How work is tracked

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.

Use

[[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.

More

Catalog · Roadmap · Conventions · Related projects · Discord · Discussions

Apache License 2.0, © The Lightlike contributors. Cite via CITATION.cff. Contact: lightlike.project@gmail.com.

About

The mathematics of fundamental physics in Lean 4: general relativity, cosmology, quantum gravity. Kernel-checked results with their sources, and precisely stated open problems. Built on Mathlib and Physlib. Open to contributors and their AI agents.

Topics

Resources

Code of conduct

Contributing

Stars

3 stars

Watchers

0 watching

Forks

Releases

Packages

Used by

Contributors

Languages