math / data /lean /OAI /AlgebraicGeometry /IntersectionTheory /ProjectionFormula /AnnihilatedParameterComplex.lean
introvoyz045's picture
Migrated from GitHub
4a56cd6 verified
Raw History Blame Contribute Delete
2.33 kB
import OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.Parameter.QuotientComplex
/-! # Annihilated Parameter Complex -/
namespace OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.AnnihilatedParameterComplex
noncomputable section
/-! Quotienting a complex by a scalar already annihilating every
term is an actual chain isomorphism, including its native homology. -/
set_option backward.isDefEq.respectTransparency false
open _root_.CategoryTheory _root_.CategoryTheory.Limits
open scoped Pointwise TensorProduct
universe u
variable (R : Type u) [CommRing R] (r : R)
theorem submodule_eq_bot (M : ModuleCat.{u} R) (hM : βˆ€ m : M, r β€’ m = 0) :
r β€’ (⊀ : Submodule R M) = βŠ₯ := by
apply le_antisymm _ bot_le
intro m hm
obtain ⟨n, _, rfl⟩ := (Submodule.mem_smul_pointwise_iff_exists m r (⊀ : Submodule R M)).mp hm
exact hM n
theorem tensor (M N : ModuleCat.{u} R) (hM : βˆ€ m : M, r β€’ m = 0) :
βˆ€ t : M βŠ—[R] N, r β€’ t = 0 := by
intro t
induction t using TensorProduct.inductionOn with
| tmul m n => rw [TensorProduct.smul_tmul', hM m, TensorProduct.zero_tmul]
| add a b ha hb => rw [smul_add, ha, hb, add_zero]
theorem projection_isIso (K : ChainComplex (ModuleCat.{u} R) β„•)
(hK : βˆ€ i, βˆ€ m : K.X i, r β€’ m = 0) :
IsIso (Parameter.QuotientComplex.projection R r K) := by
have h (i : β„•) : IsIso ((Parameter.QuotientComplex.projection R r K).f i) := by
apply (ConcreteCategory.isIso_iff_bijective _).mpr
refine ⟨?_, Submodule.mkQ_surjective _⟩
apply LinearMap.ker_eq_bot.mp
change (r β€’ (⊀ : Submodule R (K.X i))).mkQ.ker = βŠ₯
rw [Submodule.ker_mkQ]
exact submodule_eq_bot R r (K.X i) (hK i)
let := h
exact HomologicalComplex.Hom.isIso_of_components _
theorem homology_length (K : ChainComplex (ModuleCat.{u} R) β„•)
(hK : βˆ€ i, βˆ€ m : K.X i, r β€’ m = 0) (n : β„•) :
Module.length R ((Parameter.QuotientComplex.complex R r K).homology n) =
Module.length R (K.homology n) := by
let := projection_isIso R r K hK
exact ((HomologicalComplex.homologyFunctor (ModuleCat R) (ComplexShape.down β„•) n).mapIso
(asIso (Parameter.QuotientComplex.projection R r K))).toLinearEquiv.length_eq.symm
end
end OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.AnnihilatedParameterComplex