Formalizing Geometric Algebra in Lean

10/07/2021
by   Eric Wieser, et al.
0

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 ℤ_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 ℕ-grading, and some of the gaps in mathlib that currently make this challenging.

READ FULL TEXT

page 1

page 2

page 3

page 4

research
01/25/2021

The Agda Universal Algebra Library and Birkhoff's Theorem in Dependent Type Theory

The Agda Universal Algebra Library (UALib) is a library of types and pro...
research
03/16/2021

The Agda Universal Algebra Library, Part 2: Structure

The Agda Universal Algebra Library (UALib) is a library of types and pro...
research
03/09/2021

The Agda Universal Algebra Library, Part 1: Foundation

The Agda Universal Algebra Library (UALib) is a library of types and pro...
research
07/09/2020

Universal Algebra in UniMath

We present an ongoing effort to implement Universal Algebra in the UniMa...
research
10/04/2016

DeepAlgebra - an outline of a program

We outline a program in the area of formalization of mathematics to auto...
research
04/20/2023

Engel's theorem in Mathlib

We discuss the theory of Lie algebras in Lean's Mathlib library. Using n...
research
11/29/2022

Peano: Learning Formal Mathematical Reasoning

General mathematical reasoning is computationally undecidable, but human...

Please sign up or login with your details

Forgot password? Click here to reset