The areas / V07. Linear algebra
Mathlib.LinearAlgebra.Matrix.Dual
5 declarations. Mathlib docs · Source
theorem LinearMap.toMatrix_transpose E0 #
∀ {K : Type u_1} {V₁ : Type u_2} {V₂ : Type u_3} {ι₁ : Type u_4} {ι₂ : Type u_5} [inst : CommSemiring K]
[inst_1 : AddCommGroup V₁] [inst_2 : Module K V₁] [inst_3 : AddCommGroup V₂] [inst_4 : Module K V₂]
[inst_5 : Fintype ι₁] [inst_6 : Fintype ι₂] [inst_7 : DecidableEq ι₁] [inst_8 : DecidableEq ι₂]
{B₁ : Module.Basis ι₁ K V₁} {B₂ : Module.Basis ι₂ K V₂} (u : V₁ →ₗ[K] V₂),
(LinearMap.toMatrix B₂.dualBasis B₁.dualBasis) (Module.Dual.transpose u) = ((LinearMap.toMatrix B₁ B₂) u).transpose
theorem Matrix.toLin_transpose E0 #
∀ {K : Type u_1} {V₁ : Type u_2} {V₂ : Type u_3} {ι₁ : Type u_4} {ι₂ : Type u_5} [inst : CommSemiring K]
[inst_1 : AddCommGroup V₁] [inst_2 : Module K V₁] [inst_3 : AddCommGroup V₂] [inst_4 : Module K V₂]
[inst_5 : Fintype ι₁] [inst_6 : Fintype ι₂] [inst_7 : DecidableEq ι₁] [inst_8 : DecidableEq ι₂]
{B₁ : Module.Basis ι₁ K V₁} {B₂ : Module.Basis ι₂ K V₂} (M : Matrix ι₁ ι₂ K),
(Matrix.toLin B₁.dualBasis B₂.dualBasis) M.transpose = Module.Dual.transpose ((Matrix.toLin B₂ B₁) M)
def dotProductEquiv E1 #
(R : Type u_1) →
(n : Type u_2) → [inst : CommSemiring R] → [Fintype n] → [DecidableEq n] → (n → R) ≃ₗ[R] Module.Dual R (n → R)
The dot product as a linear equivalence to the dual.
theorem dotProductEquiv_symm_apply E0 #
∀ (R : Type u_1) (n : Type u_2) [inst : CommSemiring R] [inst_1 : Fintype n] [inst_2 : DecidableEq n]
(f : Module.Dual R (n → R)) (i : n), (dotProductEquiv R n).symm f i = f ((LinearMap.single R (fun a ↦ R) i) 1)
theorem dotProductEquiv_apply_apply E0 #
∀ (R : Type u_1) (n : Type u_2) [inst : CommSemiring R] [inst_1 : Fintype n] [inst_2 : DecidableEq n] (v w : n → R),
((dotProductEquiv R n) v) w = v ⬝ᵥ w