/-
Copyright (c) 2024 Joël Riou. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Joël Riou
-/
module
public import Mathlib.LinearAlgebra.TensorPower.Basic
/-!
# The pairing between the tensor power of the dual and the tensor power
We construct the pairing
`TensorPower.pairingDual : ⨂[R]^n (Module.Dual R M) →ₗ[R] (Module.Dual R (⨂[R]^n M))`.
-/
@[expose] public section
open TensorProduct PiTensorProduct
namespace TensorPower
variable (R : Type*) (M : Type*) [CommSemiring R] [AddCommMonoid M] [Module R M]
(n : ℕ)
/-- The canonical multilinear map from `n` copies of the dual of the module `M`
to the dual of `⨂[R]^n M`. -/
noncomputable def multilinearMapToDual :
(Fin n → Module.Dual R M) →ₘₗ[R] Module.Dual R (⨂[R]^n M) :=
have : ∀ (_ : DecidableEq (Fin n)) (f : Fin n → Module.Dual R M)
(φ : Module.Dual R M) (i j : Fin n) (v : Fin n → M),
(Function.update f i φ) j (v j) =
Function.update (fun j ↦ f j (v j)) i (φ (v i)) j := fun _ f φ i j v ↦ by
by_cases h : j = i
· subst h
simp only [Function.update_self]
· simp only [Function.update_of_ne h]
{ toFun := fun f ↦ PiTensorProduct.lift
(MultilinearMap.compLinearMap (MultilinearMap.mkPiRing R (Fin n) 1) f)
map_update_add' := fun f i φ₁ φ₂ ↦ by
ext v
simp [this]
map_update_smul' := fun f i a φ ↦ by
ext v
simp [this, Finset.prod_update_of_mem, Semigroup.mul_assoc] }
variable {R M n} in
@[simp]
theorem multilinearMapToDual_apply_tprod (f : (_ : Fin n) → Module.Dual R M) (v : Fin n → M) :
multilinearMapToDual R M n f (tprod _ v) = ∏ i, (f i (v i)) := by
simp [multilinearMapToDual]
/-- The linear map from the tensor power of the dual to the dual of the tensor power. -/
noncomputable def pairingDual :
⨂[R]^n (Module.Dual R M) →ₗ[R] (Module.Dual R (⨂[R]^n M)) :=
PiTensorProduct.lift (multilinearMapToDual R M n)
variable {R M n} in
@[simp]
lemma pairingDual_tprod_tprod (f : (_ : Fin n) → Module.Dual R M) (v : Fin n → M) :
pairingDual R M n (tprod _ f) (tprod _ v) = ∏ i, (f i (v i)) := by
simp [pairingDual]
end TensorPower
¤ Dauer der Verarbeitung: 0.2 Sekunden
¤
*© Formatika GbR, Deutschland