An Attempt to formalize physics in Lean4.
Find a file
2024-07-19 16:13:46 -04:00
.github/workflows Update docs.yml 2024-07-09 16:04:52 -04:00
docs docs: Add TODOList button to website 2024-07-10 07:24:19 -04:00
HepLean refactor: Multiplication 2024-07-19 16:13:46 -04:00
scripts refactor: Move constructors 2024-07-16 11:40:00 -04:00
.gitignore chore: Remove .DS_Store 2024-07-09 10:21:57 -04:00
CONTRIBUTING.md docs: Update Contributing file. 2024-05-16 10:17:31 -04:00
HepLean.lean feat: Add multiplicative unit 2024-07-18 08:36:56 -04:00
lake-manifest.json chore: Bump to v4.10.0-rc1 2024-07-12 11:54:50 -04:00
lakefile.toml refactor: Change git-hub repo for llm 2024-07-15 15:10:10 -04:00
lean-toolchain chore: Bump to v4.10.0-rc1 2024-07-12 11:54:50 -04:00
LICENSE Create LICENSE 2024-05-31 16:18:33 -04:00
README.md chore: Bump to v4.10.0-rc1 2024-07-12 11:54:50 -04:00

HepLean

A project to digitalize high energy physics.

Aims of this project

  • Use Lean to create an exhaustive database of definitions, theorems, proofs, and calculations in high energy physics.
  • Make a library that is easy to use by the high energy physics community.
  • Keep the database up-to date with developments in MathLib4.
  • Create GitHub workflows of relevance to the high energy physics community.

Areas of high energy physics with some coverage in HepLean

Where to learn more

Contributing

We follow here roughly the same contribution policies as MathLib4 (which can be found here).

A guide to contributing can be found here.

If you want permission to create a pull-request for this repository contact Joseph Tooby-Smith on the lean Zulip, or email.

Installation

Installing Lean 4

The installation instructions for Lean 4 are given here: https://leanprover-community.github.io/get_started.html.

Installing HepLean

  • Clone this repository (or download the repository as a Zip file)
  • Open a terminal at the top-level in the corresponding directory.
  • Run lake exe cache get. The command lake should have been installed when you installed Lean.
  • Run lake build.
  • Open the directory (not a single file) in Visual Studio Code (or another Lean compatible code editor).

Optional extras

  • Lean Copilot allows the use of large language models in Lean.
  • tryAtEachStep allows one to apply a tactic, e.g. exact? at each step of a lemma in a file to see if it completes the goal. This is useful for golfing proofs.