File size: 3,118 Bytes
4a56cd6 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 | import OAI.AlgebraicGeometry.CycleClass.Thom.TorAlgebra.ExternalTensorResolution
/-! # Diagonal Module -/
namespace OAI.AlgebraicGeometry.CycleClass.Thom.TorAlgebra.DiagonalModule
noncomputable section
/-! The diagonal is the actual module obtained from multiplication
on the tensor algebra. Restriction to the right factor gives the free
rank-one module, and tensoring along that factor gives the chosen module
with its original left action. -/
open _root_.CategoryTheory
open scoped TensorProduct
open OAI.AlgebraicGeometry.CycleClass.Thom.TorAlgebra.ExternalTensorProjectives OAI.AlgebraicGeometry.CycleClass.Thom.TorAlgebra.RightRestrictionProjectives
set_option backward.isDefEq.respectTransparency false
set_option backward.isDefEq.respectTransparency.types false
universe u
variable (k R : Type u) [Field k] [CommRing R] [Algebra k R]
def diagonalModule : ModuleCat.{u} (R β[k] R) :=
(ModuleCat.restrictScalars (Algebra.TensorProduct.lmul' k (S := R)).toRingHom).obj
(ModuleCat.of R R)
def rightDiagonalEquiv : (RightRestrictionProjectives.rightRestriction k R R).obj (diagonalModule k R) ββ[R] R where
__ := AddEquiv.refl R
map_smul' r x := by
change Algebra.TensorProduct.lmul' k (1 ββ[k] r) * (show R from x) = r * (show R from x)
rw [Algebra.TensorProduct.lmul'_apply_tmul, one_mul]
instance rightDiagonal_projective : Projective ((RightRestrictionProjectives.rightRestriction k R R).obj (diagonalModule k R)) := by
let : Module.Projective R ((RightRestrictionProjectives.rightRestriction k R R).obj (diagonalModule k R)) :=
Module.Projective.of_equiv' (rightDiagonalEquiv k R).symm
infer_instance
variable (N : ModuleCat.{u} R)
def diagonalTensorAddEquiv : (ExternalTensorProjectives.externalTensor k R R N).obj (diagonalModule k R) β+ N :=
((TensorProduct.congr (rightDiagonalEquiv k R) (LinearEquiv.refl R N)).trans
(TensorProduct.lid R N)).toAddEquiv
theorem diagonalTensor_smul (r : R) (t : (ExternalTensorProjectives.externalTensor k R R N).obj (diagonalModule k R)) :
diagonalTensorAddEquiv k R N (r β’ t) = r β’ diagonalTensorAddEquiv k R N t := by
induction t using TensorProduct.inductionOn with
| add x y hx hy => simp only [smul_add, map_add, hx, hy]
| tmul x n =>
change (Algebra.TensorProduct.lmul' k (r ββ[k] 1) * (show R from x)) β’ n =
r β’ ((show R from x) β’ n)
rw [Algebra.TensorProduct.lmul'_apply_tmul, mul_one, mul_smul]
def diagonalTensorEquiv : (ExternalTensorProjectives.externalTensor k R R N).obj (diagonalModule k R) ββ[R] N where
__ := diagonalTensorAddEquiv k R N
map_smul' := diagonalTensor_smul k R N
def diagonalTensorIso : (ExternalTensorProjectives.externalTensor k R R N).obj (diagonalModule k R) β
N :=
(diagonalTensorEquiv k R N).toModuleIso
def tensorResolution (P : ProjectiveResolution (diagonalModule k R)) :
ProjectiveResolution ((ExternalTensorProjectives.externalTensor k R R N).obj (diagonalModule k R)) :=
ExternalTensorResolution.resolution k R R N (diagonalModule k R) P
end
end OAI.AlgebraicGeometry.CycleClass.Thom.TorAlgebra.DiagonalModule
|