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.Alternating.Curry

11 declarations. Mathlib docs · Source

Currying alternating forms

In this file we define AlternatingMap.curryLeft which interprets an alternating map in n + 1 variables as a linear map in the 0th variable taking values in the alternating maps in n variables.

def AlternatingMap.curryLeft E3 #

{R : Type u_1} →
  {M : Type u_2} →
    {N : Type u_4} →
      [inst : CommSemiring R] →
        [inst_1 : AddCommMonoid M] →
          [inst_2 : AddCommMonoid N] →
            [inst_3 : Module R M] →
              [inst_4 : Module R N] → {n : ℕ} → M [⋀^Fin n.succ]→ₗ[R] N → M →ₗ[R] M [⋀^Fin n]→ₗ[R] N

Given an alternating map f in n+1 variables, split the first variable to obtain a linear map into alternating maps in n variables, given by x ↦ (m ↦ f (Matrix.vecCons x m)). It can be thought of as a map $Hom(\bigwedge^{n+1} M, N) \to Hom(M, Hom(\bigwedge^n M, N))$.

This is MultilinearMap.curryLeft for AlternatingMap. See also AlternatingMap.curryLeftLinearMap.

theorem AlternatingMap.curryLeft_apply_toMultilinearMap E0 #

∀ {R : Type u_1} {M : Type u_2} {N : Type u_4} [inst : CommSemiring R] [inst_1 : AddCommMonoid M]
  [inst_2 : AddCommMonoid N] [inst_3 : Module R M] [inst_4 : Module R N] {n : ℕ} (f : M [⋀^Fin n.succ]→ₗ[R] N) (m : M),
  ↑(f.curryLeft m) = (↑f).curryLeft m

theorem AlternatingMap.curryLeft_apply_apply E0 #

∀ {R : Type u_1} {M : Type u_2} {N : Type u_4} [inst : CommSemiring R] [inst_1 : AddCommMonoid M]
  [inst_2 : AddCommMonoid N] [inst_3 : Module R M] [inst_4 : Module R N] {n : ℕ} (f : M [⋀^Fin n.succ]→ₗ[R] N) (x : M)
  (v : Fin n → M), (f.curryLeft x) v = f (Matrix.vecCons x v)

theorem AlternatingMap.curryLeft_zero E0 #

∀ {R : Type u_1} {M : Type u_2} {N : Type u_4} [inst : CommSemiring R] [inst_1 : AddCommMonoid M]
  [inst_2 : AddCommMonoid N] [inst_3 : Module R M] [inst_4 : Module R N] {n : ℕ}, AlternatingMap.curryLeft 0 = 0

theorem AlternatingMap.curryLeft_add E0 #

∀ {R : Type u_1} {M : Type u_2} {N : Type u_4} [inst : CommSemiring R] [inst_1 : AddCommMonoid M]
  [inst_2 : AddCommMonoid N] [inst_3 : Module R M] [inst_4 : Module R N] {n : ℕ} (f g : M [⋀^Fin n.succ]→ₗ[R] N),
  (f + g).curryLeft = f.curryLeft + g.curryLeft

theorem AlternatingMap.curryLeft_smul E0 #

∀ {R : Type u_1} {M : Type u_2} {N : Type u_4} [inst : CommSemiring R] [inst_1 : AddCommMonoid M]
  [inst_2 : AddCommMonoid N] [inst_3 : Module R M] [inst_4 : Module R N] {n : ℕ} (r : R) (f : M [⋀^Fin n.succ]→ₗ[R] N),
  (r • f).curryLeft = r • f.curryLeft

def AlternatingMap.curryLeftLinearMap E1 #

{R : Type u_1} →
  {M : Type u_2} →
    {N : Type u_4} →
      [inst : CommSemiring R] →
        [inst_1 : AddCommMonoid M] →
          [inst_2 : AddCommMonoid N] →
            [inst_3 : Module R M] →
              [inst_4 : Module R N] → {n : ℕ} → M [⋀^Fin n.succ]→ₗ[R] N →ₗ[R] M →ₗ[R] M [⋀^Fin n]→ₗ[R] N

AlternatingMap.curryLeft as a LinearMap. This is a separate definition as dot notation does not work for this version.

theorem AlternatingMap.curryLeftLinearMap_apply E0 #

∀ {R : Type u_1} {M : Type u_2} {N : Type u_4} [inst : CommSemiring R] [inst_1 : AddCommMonoid M]
  [inst_2 : AddCommMonoid N] [inst_3 : Module R M] [inst_4 : Module R N] {n : ℕ} (f : M [⋀^Fin n.succ]→ₗ[R] N),
  AlternatingMap.curryLeftLinearMap f = f.curryLeft

theorem AlternatingMap.curryLeft_same E0 #

∀ {R : Type u_1} {M : Type u_2} {N : Type u_4} [inst : CommSemiring R] [inst_1 : AddCommMonoid M]
  [inst_2 : AddCommMonoid N] [inst_3 : Module R M] [inst_4 : Module R N] {n : ℕ} (f : M [⋀^Fin n.succ.succ]→ₗ[R] N)
  (m : M), (f.curryLeft m).curryLeft m = 0

Currying with the same element twice gives the zero map.

theorem AlternatingMap.curryLeft_compAlternatingMap E0 #

∀ {R : Type u_1} {M : Type u_2} {N : Type u_4} {N₂ : Type u_5} [inst : CommSemiring R] [inst_1 : AddCommMonoid M]
  [inst_2 : AddCommMonoid N] [inst_3 : AddCommMonoid N₂] [inst_4 : Module R M] [inst_5 : Module R N]
  [inst_6 : Module R N₂] {n : ℕ} (g : N →ₗ[R] N₂) (f : M [⋀^Fin n.succ]→ₗ[R] N) (m : M),
  (g.compAlternatingMap f).curryLeft m = g.compAlternatingMap (f.curryLeft m)

theorem AlternatingMap.curryLeft_compLinearMap E0 #

∀ {R : Type u_1} {M : Type u_2} {M₂ : Type u_3} {N : Type u_4} [inst : CommSemiring R] [inst_1 : AddCommMonoid M]
  [inst_2 : AddCommMonoid M₂] [inst_3 : AddCommMonoid N] [inst_4 : Module R M] [inst_5 : Module R M₂]
  [inst_6 : Module R N] {n : ℕ} (g : M₂ →ₗ[R] M) (f : M [⋀^Fin n.succ]→ₗ[R] N) (m : M₂),
  (f.compLinearMap g).curryLeft m = (f.curryLeft (g m)).compLinearMap g