The Mathlib Handbook

The volumes of the handbook are not written yet. This site shows the map of Mathlib that they will follow, at Mathlib 4472534b60.

The areas / V06. Rings, fields and ordered algebra

Mathlib.Algebra.Star.Free

7 declarations. Mathlib docs · Source

A *-algebra structure on the free algebra.

Reversing words gives a *-structure on the free monoid or on the free algebra on a type.

Implementation notes

We have this in a separate file, rather than in Algebra.FreeMonoid and Algebra.FreeAlgebra, to avoid importing Algebra.Star.Basic into the entire hierarchy.

instance FreeMonoid.instStarMul E0 #

{α : Type u_1} → StarMul (FreeMonoid α)

theorem FreeMonoid.star_of E0 #

∀ {α : Type u_1} (x : α), star (FreeMonoid.of x) = FreeMonoid.of x

theorem FreeMonoid.star_one E0 #

∀ {α : Type u_1}, star 1 = 1

Note that star_one is already a global simp lemma, but this one works with dsimp too

instance FreeAlgebra.instStarRing E0 #

{R : Type u_1} → [inst : CommSemiring R] → {X : Type u_2} → StarRing (FreeAlgebra R X)

The star ring formed by reversing the elements of products

theorem FreeAlgebra.star_ι E0 #

∀ {R : Type u_1} [inst : CommSemiring R] {X : Type u_2} (x : X), star (FreeAlgebra.ι R x) = FreeAlgebra.ι R x

theorem FreeAlgebra.star_algebraMap E0 #

∀ {R : Type u_1} [inst : CommSemiring R] {X : Type u_2} (r : R),
  star ((algebraMap R (FreeAlgebra R X)) r) = (algebraMap R (FreeAlgebra R X)) r

def FreeAlgebra.starHom E1 #

{R : Type u_1} → [inst : CommSemiring R] → {X : Type u_2} → FreeAlgebra R X ≃ₐ[R] (FreeAlgebra R X)ᵐᵒᵖ

star as an AlgEquiv