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 / V08. Multilinear algebra and forms

Mathlib.LinearAlgebra.SymmetricAlgebra.Basic

40 declarations. Mathlib docs · Source

Symmetric Algebras

Given a commutative semiring R, and an R-module M, we construct the symmetric algebra of M. This is the free commutative R-algebra generated (R-linearly) by the module M.

Notation

  • SymmetricAlgebra R M: a concrete construction of the symmetric algebra defined as a quotient of the tensor algebra. It is endowed with an R-algebra structure and a commutative ring structure.
  • SymmetricAlgebra.ι R: the canonical R-linear map M →ₗ[R] SymmetricAlgebra R M.
  • Given a morphism ι : M →ₗ[R] A, IsSymmetricAlgebra ι is a proposition saying that the algebra homomorphism from SymmetricAlgebra R M to A lifted from ι is bijective.
  • Given a linear map f : M →ₗ[R] A' to a commutative R-algebra A', and a morphism ι : M →ₗ[R] A with p : IsSymmetricAlgebra ι, IsSymmetricAlgebra.lift p f is the lift of f to an R-algebra morphism A →ₐ[R] A'.

Note

See SymAlg R instead if you are looking for the symmetrized algebra, which gives a commutative multiplication on R by $a \circ b = \frac{1}{2}(ab + ba)$.

theorem IsSymmetricAlgebra.equiv.congr_simp E1 #

∀ {R : Type u_1} {M : Type u_2} [inst : CommSemiring R] [inst_1 : AddCommMonoid M] [inst_2 : Module R M] {A : Type u_3}
  [inst_3 : CommSemiring A] [inst_4 : Algebra R A] {f f_1 : M →ₗ[R] A} (e_f : f = f_1) (h : IsSymmetricAlgebra f),
  h.equiv = ⋯.equiv

theorem IsSymmetricAlgebra.lift.congr_simp E1 #

∀ {R : Type u_1} {M : Type u_2} [inst : CommSemiring R] [inst_1 : AddCommMonoid M] [inst_2 : Module R M] {A : Type u_3}
  [inst_3 : CommSemiring A] [inst_4 : Algebra R A] {f f_1 : M →ₗ[R] A} (e_f : f = f_1) (h : IsSymmetricAlgebra f)
  {A' : Type u_4} [inst_5 : CommSemiring A'] [inst_6 : Algebra R A'] (g g_1 : M →ₗ[R] A'),
  g = g_1 → h.lift g = ⋯.lift g_1

inductive TensorAlgebra.SymRel E1 #

(R : Type u_1) →
  (M : Type u_2) →
    [inst : CommSemiring R] →
      [inst_1 : AddCommMonoid M] → [inst_2 : Module R M] → TensorAlgebra R M → TensorAlgebra R M → Prop

Relation on the tensor algebra which will yield the symmetric algebra when quotiented out by.

ctor TensorAlgebra.SymRel.mul_comm E0 #

∀ {R : Type u_1} {M : Type u_2} [inst : CommSemiring R] [inst_1 : AddCommMonoid M] [inst_2 : Module R M] (x y : M),
  TensorAlgebra.SymRel R M ((TensorAlgebra.ι R) x * (TensorAlgebra.ι R) y)
    ((TensorAlgebra.ι R) y * (TensorAlgebra.ι R) x)

def TensorAlgebra.symRingCon E1 #

(R : Type u_1) →
  (M : Type u_2) →
    [inst : CommSemiring R] → [inst_1 : AddCommMonoid M] → [inst_2 : Module R M] → RingCon (TensorAlgebra R M)

SymRel as a ring congruence, used to build the quotient.

abbrev SymmetricAlgebra E1 #

(R : Type u_1) →
  (M : Type u_2) → [inst : CommSemiring R] → [inst_1 : AddCommMonoid M] → [Module R M] → Type (max u_1 u_2)

Concrete construction of the symmetric algebra of M by quotienting out the tensor algebra by the commutativity relation.

abbrev SymmetricAlgebra.algHom E1 #

(R : Type u_1) →
  (M : Type u_2) →
    [inst : CommSemiring R] →
      [inst_1 : AddCommMonoid M] → [inst_2 : Module R M] → TensorAlgebra R M →ₐ[R] SymmetricAlgebra R M

Algebra homomorphism from the tensor algebra over M to the symmetric algebra over M.

theorem SymmetricAlgebra.algHom_surjective E1 #

∀ (R : Type u_1) (M : Type u_2) [inst : CommSemiring R] [inst_1 : AddCommMonoid M] [inst_2 : Module R M],
  Function.Surjective ⇑(SymmetricAlgebra.algHom R M)

def SymmetricAlgebra.ι E1 #

(R : Type u_1) →
  (M : Type u_2) →
    [inst : CommSemiring R] → [inst_1 : AddCommMonoid M] → [inst_2 : Module R M] → M →ₗ[R] SymmetricAlgebra R M

Canonical inclusion of M into the symmetric algebra SymmetricAlgebra R M.

theorem SymmetricAlgebra.induction E1 #

∀ (R : Type u_1) (M : Type u_2) [inst : CommSemiring R] [inst_1 : AddCommMonoid M] [inst_2 : Module R M]
  {motive : SymmetricAlgebra R M → Prop},
  (∀ (r : R), motive ((algebraMap R (SymmetricAlgebra R M)) r)) →
    (∀ (x : M), motive ((SymmetricAlgebra.ι R M) x)) →
      (∀ (a b : SymmetricAlgebra R M), motive a → motive b → motive (a * b)) →
        (∀ (a b : SymmetricAlgebra R M), motive a → motive b → motive (a + b)) → ∀ (a : SymmetricAlgebra R M), motive a

instance SymmetricAlgebra.instCommSemiring E0 #

(R : Type u_1) →
  (M : Type u_2) →
    [inst : CommSemiring R] → [inst_1 : AddCommMonoid M] → [inst_2 : Module R M] → CommSemiring (SymmetricAlgebra R M)

instance SymmetricAlgebra.instCommRing E0 #

(R : Type u_3) →
  (M : Type u_4) →
    [inst : CommRing R] → [inst_1 : AddCommMonoid M] → [inst_2 : Module R M] → CommRing (SymmetricAlgebra R M)

def SymmetricAlgebra.lift E1 #

{R : Type u_1} →
  {M : Type u_2} →
    [inst : CommSemiring R] →
      [inst_1 : AddCommMonoid M] →
        [inst_2 : Module R M] →
          {A : Type u_3} →
            [inst_3 : CommSemiring A] → [inst_4 : Algebra R A] → (M →ₗ[R] A) ≃ (SymmetricAlgebra R M →ₐ[R] A)

For any linear map f : M →ₗ[R] A, SymmetricAlgebra.lift f lifts the linear map to an R-algebra homomorphism from SymmetricAlgebra R M to A.

theorem SymmetricAlgebra.lift_ι_apply E0 #

∀ {R : Type u_1} {M : Type u_2} [inst : CommSemiring R] [inst_1 : AddCommMonoid M] [inst_2 : Module R M] {A : Type u_3}
  [inst_3 : CommSemiring A] [inst_4 : Algebra R A] (f : M →ₗ[R] A) (a : M),
  (SymmetricAlgebra.lift f) ((SymmetricAlgebra.ι R M) a) = f a

theorem SymmetricAlgebra.lift_comp_ι E0 #

∀ {R : Type u_1} {M : Type u_2} [inst : CommSemiring R] [inst_1 : AddCommMonoid M] [inst_2 : Module R M] {A : Type u_3}
  [inst_3 : CommSemiring A] [inst_4 : Algebra R A] (f : M →ₗ[R] A),
  ↑(SymmetricAlgebra.lift f) ∘ₗ SymmetricAlgebra.ι R M = f

theorem SymmetricAlgebra.algHom_ext_iff E0 #

∀ {R : Type u_1} {M : Type u_2} [inst : CommSemiring R] [inst_1 : AddCommMonoid M] [inst_2 : Module R M] {A : Type u_3}
  [inst_3 : CommSemiring A] [inst_4 : Algebra R A] {F G : SymmetricAlgebra R M →ₐ[R] A},
  F = G ↔ ↑F ∘ₗ SymmetricAlgebra.ι R M = ↑G ∘ₗ SymmetricAlgebra.ι R M

theorem SymmetricAlgebra.algHom_ext E1 #

∀ {R : Type u_1} {M : Type u_2} [inst : CommSemiring R] [inst_1 : AddCommMonoid M] [inst_2 : Module R M] {A : Type u_3}
  [inst_3 : CommSemiring A] [inst_4 : Algebra R A] {F G : SymmetricAlgebra R M →ₐ[R] A},
  ↑F ∘ₗ SymmetricAlgebra.ι R M = ↑G ∘ₗ SymmetricAlgebra.ι R M → F = G

theorem SymmetricAlgebra.lift_ι E0 #

∀ {R : Type u_1} {M : Type u_2} [inst : CommSemiring R] [inst_1 : AddCommMonoid M] [inst_2 : Module R M],
  SymmetricAlgebra.lift (SymmetricAlgebra.ι R M) = AlgHom.id R (SymmetricAlgebra R M)

def SymmetricAlgebra.algebraMapInv E1 #

{R : Type u_1} →
  {M : Type u_2} →
    [inst : CommSemiring R] → [inst_1 : AddCommMonoid M] → [inst_2 : Module R M] → SymmetricAlgebra R M →ₐ[R] R

The left-inverse of algebraMap.

theorem SymmetricAlgebra.algebraMapInv_ι E1 #

∀ {R : Type u_1} {M : Type u_2} [inst : CommSemiring R] [inst_1 : AddCommMonoid M] [inst_2 : Module R M] (x : M),
  SymmetricAlgebra.algebraMapInv ((SymmetricAlgebra.ι R M) x) = 0

theorem SymmetricAlgebra.algebraMap_leftInverse E1 #

∀ {R : Type u_1} (M : Type u_2) [inst : CommSemiring R] [inst_1 : AddCommMonoid M] [inst_2 : Module R M],
  Function.LeftInverse ⇑SymmetricAlgebra.algebraMapInv ⇑(algebraMap R (SymmetricAlgebra R M))

theorem SymmetricAlgebra.algebraMap_inj E0 #

∀ {R : Type u_1} (M : Type u_2) [inst : CommSemiring R] [inst_1 : AddCommMonoid M] [inst_2 : Module R M] (x y : R),
  (algebraMap R (SymmetricAlgebra R M)) x = (algebraMap R (SymmetricAlgebra R M)) y ↔ x = y

theorem SymmetricAlgebra.algebraMap_eq_zero_iff E0 #

∀ {R : Type u_1} (M : Type u_2) [inst : CommSemiring R] [inst_1 : AddCommMonoid M] [inst_2 : Module R M] (x : R),
  (algebraMap R (SymmetricAlgebra R M)) x = 0 ↔ x = 0

theorem SymmetricAlgebra.algebraMap_eq_one_iff E0 #

∀ {R : Type u_1} (M : Type u_2) [inst : CommSemiring R] [inst_1 : AddCommMonoid M] [inst_2 : Module R M] (x : R),
  (algebraMap R (SymmetricAlgebra R M)) x = 1 ↔ x = 1

instance SymmetricAlgebra.instNontrivial E0 #

∀ {R : Type u_1} (M : Type u_2) [inst : CommSemiring R] [inst_1 : AddCommMonoid M] [inst_2 : Module R M] [Nontrivial R],
  Nontrivial (SymmetricAlgebra R M)

A SymmetricAlgebra over a nontrivial semiring is nontrivial.

def IsSymmetricAlgebra E1 #

{R : Type u_1} →
  {M : Type u_2} →
    [inst : CommSemiring R] →
      [inst_1 : AddCommMonoid M] →
        [inst_2 : Module R M] → {A : Type u_3} → [inst_3 : CommSemiring A] → [inst_4 : Algebra R A] → (M →ₗ[R] A) → Prop

Given a morphism f : M →ₗ[R] A, IsSymmetricAlgebra f is a proposition saying that the algebra homomorphism from SymmetricAlgebra R M to A is bijective.

theorem SymmetricAlgebra.isSymmetricAlgebra_ι E1 #

∀ {R : Type u_1} {M : Type u_2} [inst : CommSemiring R] [inst_1 : AddCommMonoid M] [inst_2 : Module R M],
  IsSymmetricAlgebra (SymmetricAlgebra.ι R M)

def IsSymmetricAlgebra.equiv E1 #

{R : Type u_1} →
  {M : Type u_2} →
    [inst : CommSemiring R] →
      [inst_1 : AddCommMonoid M] →
        [inst_2 : Module R M] →
          {A : Type u_3} →
            [inst_3 : CommSemiring A] →
              [inst_4 : Algebra R A] → {f : M →ₗ[R] A} → IsSymmetricAlgebra f → SymmetricAlgebra R M ≃ₐ[R] A

For f : M →ₗ[R] A, construct the algebra isomorphism SymmetricAlgebra R M ≃ₐ[R] A from IsSymmetricAlgebra f.

theorem IsSymmetricAlgebra.equiv_apply E0 #

∀ {R : Type u_1} {M : Type u_2} [inst : CommSemiring R] [inst_1 : AddCommMonoid M] [inst_2 : Module R M] {A : Type u_3}
  [inst_3 : CommSemiring A] [inst_4 : Algebra R A] {f : M →ₗ[R] A} (h : IsSymmetricAlgebra f)
  (a : SymmetricAlgebra R M), h.equiv a = (SymmetricAlgebra.lift f) a

theorem IsSymmetricAlgebra.equiv_toAlgHom E0 #

∀ {R : Type u_1} {M : Type u_2} [inst : CommSemiring R] [inst_1 : AddCommMonoid M] [inst_2 : Module R M] {A : Type u_3}
  [inst_3 : CommSemiring A] [inst_4 : Algebra R A] {f : M →ₗ[R] A} (h : IsSymmetricAlgebra f),
  ↑h.equiv = SymmetricAlgebra.lift f

theorem IsSymmetricAlgebra.equiv_symm_apply E0 #

∀ {R : Type u_1} {M : Type u_2} [inst : CommSemiring R] [inst_1 : AddCommMonoid M] [inst_2 : Module R M] {A : Type u_3}
  [inst_3 : CommSemiring A] [inst_4 : Algebra R A] {f : M →ₗ[R] A} (h : IsSymmetricAlgebra f) (a : M),
  h.equiv.symm (f a) = (SymmetricAlgebra.ι R M) a

theorem IsSymmetricAlgebra.equiv_symm_comp E0 #

∀ {R : Type u_1} {M : Type u_2} [inst : CommSemiring R] [inst_1 : AddCommMonoid M] [inst_2 : Module R M] {A : Type u_3}
  [inst_3 : CommSemiring A] [inst_4 : Algebra R A] {f : M →ₗ[R] A} (h : IsSymmetricAlgebra f),
  ↑(↑h.equiv).symm ∘ₗ f = SymmetricAlgebra.ι R M

theorem IsSymmetricAlgebra.of_equiv E1 #

∀ {R : Type u_1} {M : Type u_2} [inst : CommSemiring R] [inst_1 : AddCommMonoid M] [inst_2 : Module R M] {A : Type u_3}
  [inst_3 : CommSemiring A] [inst_4 : Algebra R A] {f : M →ₗ[R] A} (e : SymmetricAlgebra R M ≃ₐ[R] A),
  ↑↑e ∘ₗ SymmetricAlgebra.ι R M = f → IsSymmetricAlgebra f

theorem IsSymmetricAlgebra.comp_equiv E1 #

∀ {R : Type u_1} {M : Type u_2} [inst : CommSemiring R] [inst_1 : AddCommMonoid M] [inst_2 : Module R M] {A : Type u_3}
  [inst_3 : CommSemiring A] [inst_4 : Algebra R A] (e : SymmetricAlgebra R M ≃ₐ[R] A),
  IsSymmetricAlgebra (e.toLinearMap ∘ₗ SymmetricAlgebra.ι R M)

def IsSymmetricAlgebra.lift E1 #

{R : Type u_1} →
  {M : Type u_2} →
    [inst : CommSemiring R] →
      [inst_1 : AddCommMonoid M] →
        [inst_2 : Module R M] →
          {A : Type u_3} →
            [inst_3 : CommSemiring A] →
              [inst_4 : Algebra R A] →
                {f : M →ₗ[R] A} →
                  IsSymmetricAlgebra f →
                    {A' : Type u_4} → [inst_5 : CommSemiring A'] → [inst_6 : Algebra R A'] → (M →ₗ[R] A') → A →ₐ[R] A'

Given a morphism g : M →ₗ[R] A', lift this to a morphism of type A →ₐ[R] A' (where A satisfies the universal property of the symmetric algebra of M)

theorem IsSymmetricAlgebra.lift_eq E0 #

∀ {R : Type u_1} {M : Type u_2} [inst : CommSemiring R] [inst_1 : AddCommMonoid M] [inst_2 : Module R M] {A : Type u_3}
  [inst_3 : CommSemiring A] [inst_4 : Algebra R A] {f : M →ₗ[R] A} (h : IsSymmetricAlgebra f) {A' : Type u_4}
  [inst_5 : CommSemiring A'] [inst_6 : Algebra R A'] (g : M →ₗ[R] A') (a : M), (h.lift g) (f a) = g a

theorem IsSymmetricAlgebra.lift_comp_linearMap E0 #

∀ {R : Type u_1} {M : Type u_2} [inst : CommSemiring R] [inst_1 : AddCommMonoid M] [inst_2 : Module R M] {A : Type u_3}
  [inst_3 : CommSemiring A] [inst_4 : Algebra R A] {f : M →ₗ[R] A} (h : IsSymmetricAlgebra f) {A' : Type u_4}
  [inst_5 : CommSemiring A'] [inst_6 : Algebra R A'] (g : M →ₗ[R] A'), ↑(h.lift g) ∘ₗ f = g

theorem IsSymmetricAlgebra.algHom_ext E1 #

∀ {R : Type u_1} {M : Type u_2} [inst : CommSemiring R] [inst_1 : AddCommMonoid M] [inst_2 : Module R M] {A : Type u_3}
  [inst_3 : CommSemiring A] [inst_4 : Algebra R A] {f : M →ₗ[R] A} {A' : Type u_4} [inst_5 : CommSemiring A']
  [inst_6 : Algebra R A'], IsSymmetricAlgebra f → ∀ {F G : A →ₐ[R] A'}, ↑F ∘ₗ f = ↑G ∘ₗ f → F = G

theorem IsSymmetricAlgebra.lift_unique E1 #

∀ {R : Type u_1} {M : Type u_2} [inst : CommSemiring R] [inst_1 : AddCommMonoid M] [inst_2 : Module R M] {A : Type u_3}
  [inst_3 : CommSemiring A] [inst_4 : Algebra R A] {f : M →ₗ[R] A} (h : IsSymmetricAlgebra f) {A' : Type u_4}
  [inst_5 : CommSemiring A'] [inst_6 : Algebra R A'] {g : M →ₗ[R] A'} {F : A →ₐ[R] A'}, ↑F ∘ₗ f = g → F = h.lift g

theorem IsSymmetricAlgebra.induction E1 #

∀ {R : Type u_1} {M : Type u_2} [inst : CommSemiring R] [inst_1 : AddCommMonoid M] [inst_2 : Module R M] {A : Type u_3}
  [inst_3 : CommSemiring A] [inst_4 : Algebra R A] {f : M →ₗ[R] A},
  IsSymmetricAlgebra f →
    ∀ {motive : A → Prop},
      (∀ (r : R), motive ((algebraMap R A) r)) →
        (∀ (x : M), motive (f x)) →
          (∀ (a b : A), motive a → motive b → motive (a * b)) →
            (∀ (a b : A), motive a → motive b → motive (a + b)) → ∀ (a : A), motive a