Skip to the content.
⚠️ Warning: We are undergoing a name change from PhysLean to PhysLib, so things may look different here. Please be patient with us when we make this change.
Screenshot of Wick's theorem implementation in Physlib

The above screenshot demonstrates how theorems are formalized in Physlib.

1. What is Lean?

Lean is a computer programming language in a class of languages called interactive theorem provers (ITP). In an ITP one can write down mathematical definitions, theorems and proofs, and the ITP will ensure mathematical correctness and consistency of those things. It does this using a mathematical foundation called type theory.

Lean is increasingly being used by AI companies to reason about, and prove mathematical theorems.

2. Mission of Physlib

To create a library of digitalized physics results in the theorem prover Lean 4, in a way which is useful to the broad physics community.

3. Vision of Physlib

Statement: Physlib aspires to be the definitive library for physics in Lean, akin to Mathlib for mathematics, with both the Lean and physics communities behind it and a potential formal collaboration.

Detailed Vision:

4. Values of Physlib

The three core values of Physlib are:

5. Potential impact of the Physlib

Physlib has the potential to have the following impact on the physics community:

6. Beneficiaries of the project

The beneficiaries of Physlib are those people or companies which will directly or indirectly benefit from the project.

We foresee the academic beneficiaries of Physlib including:

We foresee the industrial beneficiaries of Physlib including:

7. Benefits of a monolithic library

Physlib is a monolithic library for physics, similar to how Mathlib serves mathematics. It aims to cover the entire field of physics within a single, unified framework. Here are some key motivations for adopting a monolithic approach:

8. Where to learn more

You can learn more about Physlib by reading: 2405.08863, or contacting Joseph Tooby-Smith.