Native Tensor Sum Legs — coordinate chain dependencies
DefinitionLPCA_Solutions_LPCA_NativeTensorSumLegs_SixOne20261024_Defscommutative-algebralocal-cohomologylocalized-persistent-commutative-algebralpca-coordinate-chain-20261024stanley-reisner
This bundle supplies the selected constructions and proved compatibility results for native tensor sum legs used in the coordinate Čech chain comparison. Each construction retains the rings, categories, grading indices and hypotheses in its formal declaration.
Definition code
import Mathlib.Algebra.Category.ModuleCat.Basic
import Mathlib.Algebra.Category.ModuleCat.ChangeOfRings
import Mathlib.Algebra.DirectSum.Module
import Mathlib.Algebra.Module.LinearMap.Defs
import Mathlib.Algebra.MvPolynomial.Basic
import Mathlib.LinearAlgebra.TensorProduct.Tower
import Definitions.Def_LPCA_Solutions_LPCA_ModuleSquareEvaluation_SixOne20261024_Defs
import Definitions.Def_LPCA_Solutions_LPCA_NativePolynomialTensor_SixOne20261024_Defs
import Definitions.Def_LPCA_Solutions_LPCA_NativeTensorSumOperators_SixOne20261024_Defs
import Definitions.Def_LPCA_Solutions_LPCA_PolynomialFieldIsoUpgrade_SixOne20261024_Defs
import Definitions.Def_LPCA_Solutions_LPCA_PolynomialLinearity_SixOne20261024_Defs
set_option autoImplicit false
set_option backward.isDefEq.respectTransparency.types false
set_option backward.isDefEq.respectTransparency false
namespace LPCA
open CategoryTheory TensorProduct
universe u
variable (k W : Type u) [CommRing k]
variable {I : Type u} [DecidableEq I]
variable (B C : I → ModuleCat.{u} (MvPolynomial W k)) (P : I → ModuleCat.{u} k)
noncomputable def nativeTensorSumLeg (i : I) (A : ModuleCat.{u} k)
(f : A ⟶ nativePolynomialField k W (B i)) (m : P i) : A ⟶ nativeTensorSumField k W B P :=
ModuleCat.ofHom (R := k) (X := A) (Y := nativeTensorSumField k W B P)
((DirectSum.lof k I (fun j => nativePolynomialField k W (B j) ⊗[k] P j) i).comp
(((TensorProduct.mk k (nativePolynomialField k W (B i)) (P i)).flip m).comp f.hom))
theorem nativeTensorSumLeg_map (f : ∀ i, B i ⟶ C i) (i : I)
(A H : ModuleCat.{u} k) (a : A ⟶ nativePolynomialField k W (B i))
(b : H ⟶ nativePolynomialField k W (C i)) (v : A ⟶ H) (m : P i)
(h : a ≫ (ModuleCat.restrictScalars (MvPolynomial.C : k →+* MvPolynomial W k)).map (f i) = v ≫ b) :
nativeTensorSumLeg k W B P i A a m ≫ nativeTensorSumFieldMap k W B C P f =
v ≫ nativeTensorSumLeg k W C P i H b m := by
apply ModuleCat.hom_ext
apply LinearMap.ext
intro x
change nativeTensorSumFieldMap k W B C P f
(DirectSum.lof k I (fun j => nativePolynomialField k W (B j) ⊗[k] P j) i (a x ⊗ₜ[k] m)) = _
rw [nativeTensorSumFieldMap_lof_tmul]
exact congrArg (fun y : nativePolynomialField k W (C i) =>
DirectSum.lof k I (fun j => nativePolynomialField k W (C j) ⊗[k] P j) i (y ⊗ₜ[k] m))
(moduleSquare_apply k _ _ _ _ _ _ _ _ h x)
theorem nativeTensorSumLeg_variable (i : I) (j : W)
(A H : ModuleCat.{u} k) (a : A ⟶ nativePolynomialField k W (B i))
(b : H ⟶ nativePolynomialField k W (B i)) (v : A ⟶ H) (m : P i)
(h : a ≫ polynomialVariableFieldHom k W (B i) j = v ≫ b) :
nativeTensorSumLeg k W B P i A a m ≫ nativeTensorSumFieldScalar k W B P (MvPolynomial.X j) =
v ≫ nativeTensorSumLeg k W B P i H b m := by
apply ModuleCat.hom_ext
apply LinearMap.ext
intro x
change nativeTensorSumFieldScalar k W B P (MvPolynomial.X j)
(DirectSum.lof k I (fun j => nativePolynomialField k W (B j) ⊗[k] P j) i (a x ⊗ₜ[k] m)) = _
rw [nativeTensorSumFieldScalar_lof_tmul]
exact congrArg (fun y : nativePolynomialField k W (B i) =>
DirectSum.lof k I (fun j => nativePolynomialField k W (B j) ⊗[k] P j) i (y ⊗ₜ[k] m))
(moduleSquare_apply k _ _ _ _ _ _ _ _ h x)
end LPCA
Source