Formalizing Geometric Algebra in Lean
Publication Date
2022-07Journal Title
Advances in Applied Clifford Algebras
ISSN
0188-7009
Publisher
Springer Science and Business Media LLC
Volume
32
Issue
3
Language
en
Type
Article
This Version
VoR
Metadata
Show full item recordCitation
Wieser, E., & Song, U. (2022). Formalizing Geometric Algebra in Lean. Advances in Applied Clifford Algebras, 32 (3) https://doi.org/10.1007/s00006-021-01164-1
Description
Funder: Cambridge Commonwealth, European and International Trust; doi: http://dx.doi.org/10.13039/501100003343
Abstract
This paper explores formalizing Geometric (or Clifford) algebras into the
Lean 3 theorem prover, building upon the substantial body of work that is the
Lean mathematics library, mathlib. As we use Lean source code to demonstrate
many of our ideas, we include a brief introduction to the Lean language
targeted at a reader with no prior experience with Lean or theorem provers in
general.
We formalize the multivectors as the quotient of the tensor algebra by a
suitable relation, which provides the ring structure automatically, then go on
to establish the universal property of the Clifford algebra. We show that this
is quite different to the approach taken by existing formalizations of
Geometric algebra in other theorem provers; most notably, our approach does not
require a choice of basis.
We go on to show how operations and structure such as involutions, versors,
and the $\mathbb{Z}_2$-grading can be defined using the universal property
alone, and how to recover an induction principle from the universal property
suitable for proving statements about these definitions. We outline the steps
needed to formalize the wedge product and $\mathbb{N}$-grading, and some of the
gaps in mathlib that currently make this challenging.
Keywords
Article, T.C. ICCA 12, Hefei, August 3-7, 2020, Geometric Algebra, Clifford Algebra, Universal property, Lean, mathlib, Primary 15A66, Secondary 68V20
Identifiers
s00006-021-01164-1, 1164
External DOI: https://doi.org/10.1007/s00006-021-01164-1
This record's URL: https://www.repository.cam.ac.uk/handle/1810/336169
Rights
Licence:
http://creativecommons.org/licenses/by/4.0/
Statistics
Total file downloads (since January 2020). For more information on metrics see the
IRUS guide.
Recommended or similar items
The current recommendation prototype on the Apollo Repository will be turned off on 03 February 2023. Although the pilot has been fruitful for both parties, the service provider IKVA is focusing on horizon scanning products and so the recommender service can no longer be supported. We recognise the importance of recommender services in supporting research discovery and are evaluating offerings from other service providers. If you would like to offer feedback on this decision please contact us on: support@repository.cam.ac.uk