import OAI.AlgebraicGeometry.HodgeConjecture.DegreeTwo.GoodShiftCohomology import Mathlib.Algebra.Homology.SingleHomology /-! # Thom Good Shift Flasque -/ namespace OAI.AlgebraicGeometry.HodgeConjecture.DegreeTwo.ThomGoodShiftFlasque.Constructions noncomputable section section /-! The canonical augmentation of the actual shifted supported Thom complex. -/ open _root_.CategoryTheory _root_.CategoryTheory.Limits set_option backward.isDefEq.respectTransparency false variable {C : Type*} [Category C] [Abelian C] def cochainZeroHomologyAugmentation (K : CochainComplex C ℕ) : (CochainComplex.single₀ C).obj (K.homology 0) ⟶ K := (CochainComplex.fromSingle₀Equiv K (K.homology 0)).symm ⟨K.isoHomologyπ₀.inv ≫ K.iCycles 0, by rw [Category.assoc, K.iCycles_d, comp_zero]⟩ theorem cochainZeroHomologyAugmentation_f_zero (K : CochainComplex C ℕ) : (cochainZeroHomologyAugmentation K).f 0 = K.isoHomologyπ₀.inv ≫ K.iCycles 0 := CochainComplex.fromSingle₀Equiv_symm_apply_f_zero _ _ theorem cochainZeroHomologyAugmentation_cycles (K : CochainComplex C ℕ) : HomologicalComplex.cyclesMap (cochainZeroHomologyAugmentation K) 0 = (HomologicalComplex.singleObjCyclesSelfIso (ComplexShape.up ℕ) 0 (K.homology 0)).hom ≫ K.isoHomologyπ₀.inv := by apply (cancel_mono (K.iCycles 0)).mp rw [HomologicalComplex.cyclesMap_i, cochainZeroHomologyAugmentation_f_zero] rw [HomologicalComplex.singleObjCyclesSelfIso_hom] change _ = ((_ ≫ 𝟙 _) ≫ _) ≫ _ simp only [Category.comp_id, Category.assoc] theorem cochainZeroHomologyAugmentation_homology (K : CochainComplex C ℕ) : HomologicalComplex.homologyMap (cochainZeroHomologyAugmentation K) 0 = (HomologicalComplex.singleObjHomologySelfIso (ComplexShape.up ℕ) 0 (K.homology 0)).hom := by apply (cancel_epi (((CochainComplex.single₀ C).obj (K.homology 0)).homologyπ 0)).mp rw [HomologicalComplex.homologyπ_naturality, cochainZeroHomologyAugmentation_cycles, Category.assoc, HomologicalComplex.isoHomologyπ_inv_hom_id, Category.comp_id, HomologicalComplex.homologyπ_singleObjHomologySelfIso_hom] theorem cochainZeroHomologyAugmentation_quasiIso (K : CochainComplex C ℕ) (hK : ∀ n, 0 rfl | succ n => exact False.elim ((RelativeCupHomotopy.Constructions.cochainDegreeShiftEmbedding k).not_boundaryGE_next (show (ComplexShape.up ℕ).Rel n (n+1) from rfl) hn) subst n have := rationalFlasque_opcycles_of_exact_below K hK k he k le_rfl exact rationalSheafFlasque_of_iso (K.truncGE'XIsoOpcycles (RelativeCupHomotopy.Constructions.cochainDegreeShiftEmbedding k) (i' := k) rfl hn).symm · have := hK (k+n) exact rationalSheafFlasque_of_iso (K.truncGE'XIso (RelativeCupHomotopy.Constructions.cochainDegreeShiftEmbedding k) rfl hn).symm variable {V : Foundations.Scheme.IntegralProjective.IntegralProjectiveVariety} {p : ℕ} (Z : CycleClass.Geometric.DimensionCycles.DimensionCycleSupport V p) theorem regularThomGoodShift_isFlasque (n : ℕ) : TopCat.Sheaf.IsFlasque ((GoodShiftCohomology.Constructions.regularThomGoodShiftSheafComplex Z).X n) := rationalGoodShift_isFlasque Z.regularThomSheafComplex (CycleClass.Geometric.GlobalSupportPurity.Cycles.supportedSingularSheaf_isFlasque_of_metrizable (ModuleCat.of ℚ ℚ) (TopCat.of Z.regularAmbientSpace) Z.regularThomComplementOpen) (2*p) (fun i hi => RegularThomSheafPurity.Constructions.regularThomSheaf_exactAt_except Z i (by omega)) n end end OAI.AlgebraicGeometry.HodgeConjecture.DegreeTwo.ThomGoodShiftFlasque.Constructions