You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
π£ or, start formalizing an area that you find intresting.
Feel free to come to the PhysLean zulip to ask questions and advice.
Note
When making contributing to PhysLean it is much better to do it with small steps. This makes it easier for us to review, and allows you to get feedback sooner.
Places in the project to start
Good places to start an exploration of the project.
ποΈπ»Maxwell's equations in electromagnetism.
ποΈπ»Quantum Harmonic Oscillator in quantum mechanics.
ποΈπ»
The two state canonical ensemble in statistical mechanics.
ποΈπ»
The tight-binding model in condensed matter physics
ποΈπ»
The twin paradox in special relativity.
ποΈπ» The two-Higgs doublet model in particle physics
ποΈπ»Wick's theorem in quantum field theory.
Associated media and publications
π Joseph Tooby-Smith,
HepLean: Digitalising high energy physics, Computer Physics Communications, Volume 308,
2025, 109457, ISSN 0010-4655, https://doi.org/10.1016/j.cpc.2024.109457. [arXiv:2405.08863]
π Joseph Tooby-Smith, Formalization of physics index notation in Lean 4, arXiv:2411.07667
π Joseph Tooby-Smith, Digitalizing Wick's Theorem, arXiv:2505.07939
π₯ Lean Together 2025: Joseph Tooby-Smith, Physics and Lean
π₯ Seminar recording of "HepLean: Lean and high energy physics" by J. Tooby-Smith
Papers referencing PhysLean
Hu, Jiewen, Thomas Zhu, and Sean Welleck. "miniCTX: Neural Theorem Proving with (Long-) Contexts." arXiv preprint arXiv:2408.03350 (2024). Project page
How PhysLean (then called HepLean) was used: Theorems from the space-time files of HepLean were included in a data set used to evaluate the ability of models to prove theorems from real-world repositories, which requires working with definitions, theorems, and other context not seen in training.
Contributing
We would love to have you involved! See the Get Involved page to see how you can get involved.
Any contributions are welcome! If you have any questions or want permission permission to create a pull-request for this
repository contact Joseph Tooby-Smith on the Lean Zulip, or email.
Installation
If you want to play around with PhysLean, but do not want to download Lean, then you can use GitPod.
Installing Lean 4
Installation instructions for Lean 4 can be found: