Skip to the content.
Screenshot of Wick's theorem implementation in PhysLean

The above screenshot demonstrates how theorems are formalized in PhysLean.

PhysLean was formally called HepLean

1. Mission of PhysLean

The mission of PhysLean is to digitalize results, meaning definitions, theorems and calculations, from physics into Lean 4 with an initial focus on high energy physics and in a way which is useful to the broad physics community.

2. Vision of PhysLean

Statement: PhysLean aspires to be the definitive formal repository 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:

3. Values of PhysLean

The three core values of PhysLean are:

4. Potential impact of the PhysLean

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

5. Where to learn more

You can learn more about PhysLean by reading: 2405.08863, or contacting Joseph Tooby-Smith at: joseph at heplean dot com.

6. How to get involved

There are a number of different ways to get involved in PhysLean depending on your background.

6.1 Physicists

Physicists, who are not so familiar with Lean, can contribute by adding informal_definition and informal_lemma to PhysLean. These are English written statements of results which can latter be formalised. Informal definitions and lemmas already in PhysLean can be found (here)[https://heplean.github.io/HepLean/InformalGraph.html].

Here are some tips when writing informal results:

Physicists can also help by improving documentation on existing results in PhysLean.

6.2 Mathematicians with a Lean background

Mathematicians and people with a Lean background can contribute in a number of ways:

6.3 Computer scientists with a Lean background

There are a number of metaprograms and infrastructure projects which would improve PhysLean. If you need help in this direction, please get in touch.