Formalization of physics index notation in Lean 4
Logic in Computer Science
2024-11-13 v1 High Energy Physics - Phenomenology
High Energy Physics - Theory
Abstract
The physics community relies on index notation to effectively manipulate types of tensors. This paper introduces the first formally verified implementation of index notation in the interactive theorem prover Lean 4. By integrating index notation into Lean, we bridge the gap between traditional physics notation and formal verification tools, making it more accessible for physicists to write and prove results within Lean. We also open up a new avenue through which AI tools can be used to prove results related to tensors in physics. Behind the scenes our implementation leverages a novel application of category theory.
Keywords
Cite
@article{arxiv.2411.07667,
title = {Formalization of physics index notation in Lean 4},
author = {Joseph Tooby-Smith},
journal= {arXiv preprint arXiv:2411.07667},
year = {2024}
}
Comments
24 pages. Comments are welcome