Basics on bilinear maps #
This file provides basics on bilinear maps. The most general form considered are maps that are
semilinear in both arguments. They are of type M →ₛₗ[ρ₁₂] N →ₛₗ[σ₁₂] P, where M and N
are modules over R and S respectively, P is a module over both R₂ and S₂ with
commuting actions, and ρ₁₂ : R →+* R₂ and σ₁₂ : S →+* S₂.
Main declarations #
LinearMap.mk₂: a constructor for bilinear maps, taking an unbundled function together with proof witnesses of bilinearityLinearMap.flip: turns a bilinear mapM × N → PintoN × M → PLinearMap.lcompandLinearMap.llcomp: composition of linear maps as a bilinear mapLinearMap.compl₂: composition of a bilinear mapM × N → Pwith a linear mapQ → MLinearMap.compr₂: composition of a bilinear mapM × N → Pwith a linear mapQ → NLinearMap.lsmul: scalar multiplication as a bilinear mapR × M → M
Tags #
bilinear
Create a bilinear map from a function that is semilinear in each component.
See mk₂' and mk₂ for the linear case.
Equations
- LinearMap.mk₂'ₛₗ ρ₁₂ σ₁₂ f H1 H2 H3 H4 = { toFun := fun (m : M) => { toFun := f m, map_add' := ⋯, map_smul' := ⋯ }, map_add' := ⋯, map_smul' := ⋯ }
Instances For
Create a bilinear map from a function that is linear in each component.
See mk₂ for the special case where both arguments come from modules over the same ring.
Equations
- LinearMap.mk₂' R S f H1 H2 H3 H4 = LinearMap.mk₂'ₛₗ (RingHom.id R) (RingHom.id S) f H1 H2 H3 H4
Instances For
Given a linear map from M to linear maps from N to P, i.e., a bilinear map from M × N to
P, change the order of variables and get a linear map from N to linear maps from M to P.
Equations
- f.flip = LinearMap.mk₂'ₛₗ σ₁₂ ρ₁₂ (fun (n : N) (m : M) => (f m) n) ⋯ ⋯ ⋯ ⋯
Instances For
Restricting a bilinear map in the second entry
Equations
- f.domRestrict₂ q = { toFun := fun (m : M) => (f m).domRestrict q, map_add' := ⋯, map_smul' := ⋯ }
Instances For
Restricting a bilinear map in both components
Equations
- f.domRestrict₁₂ p q = (f.domRestrict p).domRestrict₂ q
Instances For
If B : M → N → Pₗ is R-S bilinear and R' and S' are compatible scalar multiplications,
then the restriction of scalars is a R'-S' bilinear map.
Equations
- LinearMap.restrictScalars₁₂ R' S' B = LinearMap.mk₂' R' S' (fun (x : M) (x_1 : N) => (B x) x_1) ⋯ ⋯ ⋯ ⋯
Instances For
Create a bilinear map from a function that is linear in each component.
This is a shorthand for mk₂' for the common case when R = S.
Equations
- LinearMap.mk₂ R f H1 H2 H3 H4 = LinearMap.mk₂' R R f H1 H2 H3 H4
Instances For
Given a linear map from M to linear maps from N to P, i.e., a bilinear map M → N → P,
change the order of variables and get a linear map from N to linear maps from M to P.
Equations
- LinearMap.lflip = { toFun := LinearMap.flip, map_add' := ⋯, map_smul' := ⋯ }
Instances For
Composing a linear map M → N and a linear map N → P to form a linear map M → P.
Equations
- LinearMap.lcomp R Pₗ f = (LinearMap.id.flip ∘ₗ f).flip
Instances For
Composing a semilinear map M → N and a semilinear map N → P to form a semilinear map
M → P is itself a linear map.
Equations
- LinearMap.lcompₛₗ P σ₂₃ f = (LinearMap.id.flip.comp f).flip
Instances For
Composing a linear map M → N and a linear map N → P to form a linear map M → P.
Equations
- LinearMap.llcomp R M Nₗ Pₗ = { toFun := LinearMap.lcomp R Pₗ, map_add' := ⋯, map_smul' := ⋯ }.flip
Instances For
Composing a linear map Q → N and a bilinear map M → N → P to
form a bilinear map M → Q → P.
Equations
- h.compl₂ g = { toFun := fun (a : M) => (LinearMap.lcompₛₗ P σ₂₃ g) (h a), map_add' := ⋯, map_smul' := ⋯ }
Instances For
Composing linear maps Q → M and Q' → N with a bilinear map M → N → P to
form a bilinear map Q → Q' → P.
Equations
- f.compl₁₂ g g' = (f ∘ₗ g).compl₂ g'
Instances For
Composing a linear map P → Q and a bilinear map M → N → P to
form a bilinear map M → N → Q.
Equations
- f.compr₂ g = (LinearMap.llcomp R Nₗ Pₗ Qₗ) g ∘ₗ f
Instances For
For convenience, a shorthand for the type of bilinear forms from M to R.
Instances For
Scalar multiplication as a bilinear map R → M → M.
Equations
- LinearMap.lsmul R M = LinearMap.mk₂ R (fun (x : R) (x_1 : M) => x • x_1) ⋯ ⋯ ⋯ ⋯