import OAI.AlgebraicGeometry.CycleClass.Thom.Finite.SupportHomologySpanning import OAI.AlgebraicGeometry.CycleClass.Thom.CompactPointIntegration /-! # Point Cohomology -/ namespace OAI noncomputable section namespace AlgebraicGeometry.CycleClass.Thom.Finite.PointCohomology.Constructions /-! Canonical point classes form the dual basis on an actual finite support. -/ open _root_.CategoryTheory _root_.TopologicalSpace open scoped _root_.Manifold open OAI.AlgebraicGeometry.CycleClass.Thom.CanonicalLocalDual.Constructions OAI.AlgebraicGeometry.CycleClass.Thom.CompactPointIntegration.Constructions set_option backward.isDefEq.respectTransparency false set_option backward.isDefEq.respectTransparency.types false variable (d : โ„•) {M : Type} [TopologicalSpace M] [T2Space M] [ChartedSpace (Fin d โ†’ โ„‚) M] [IsManifold ๐“˜(โ„‚, Fin d โ†’ โ„‚) 1 M] theorem pointClass_insert_self (K : Set M) (U : Opens M) (x : U) (hx : x.val โˆˆ K) (hUK : โˆ€ y : U, y.val โˆˆ K โ†’ y = x) : AlgebraicTopology.Duality.Poincare.RelativeUniversalCoefficient.relativeRationalHomologyEvaluation (TopCat.of M) Kแถœ (2 * d) (CompactPointIntegration.Constructions.compactPointClass d K x.val hx) (ProperImage.FiniteFundamental.Constructions.Construction.finiteSupportLocalInsertion K U x hUK (2 * d) (Geometric.ComplexChartOrientation.Cycles.complexCanonicalLocalClass (p := d) (M := U) x)) = 1 := by rw [CompactPointIntegration.Constructions.compactPointClass, AlgebraicTopology.Duality.Poincare.RelativeUniversalCoefficient.relativeRationalHomologyEvaluation_naturality] exact (congrArg (AlgebraicTopology.Duality.Poincare.RelativeUniversalCoefficient.relativeRationalHomologyEvaluation (TopCat.of M) ({x.val}แถœ) (2 * d) (CanonicalLocalDual.Constructions.canonicalLocalDual d x.val)) (ProperImage.FiniteFundamental.Constructions.Construction.finiteSupportLocalInsertion_fundamental_self d K U x hx hUK)).trans (CanonicalLocalDual.Constructions.canonicalLocalDual_integralEvaluation d x.val) omit [T2Space M] [IsManifold ๐“˜(โ„‚, Fin d โ†’ โ„‚) 1 M] in theorem pointClass_insert_other (K : Set M) (U : Opens M) (x : U) (hUK : โˆ€ y : U, y.val โˆˆ K โ†’ y = x) (z : M) (hz : z โˆˆ K) (hzx : z โ‰  x.val) : AlgebraicTopology.Duality.Poincare.RelativeUniversalCoefficient.relativeRationalHomologyEvaluation (TopCat.of M) Kแถœ (2 * d) (CompactPointIntegration.Constructions.compactPointClass d K z hz) (ProperImage.FiniteFundamental.Constructions.Construction.finiteSupportLocalInsertion K U x hUK (2 * d) (Geometric.ComplexChartOrientation.Cycles.complexCanonicalLocalClass (p := d) (M := U) x)) = 0 := by rw [CompactPointIntegration.Constructions.compactPointClass, AlgebraicTopology.Duality.Poincare.RelativeUniversalCoefficient.relativeRationalHomologyEvaluation_naturality] have h := ConcreteCategory.congr_hom (ProperImage.FiniteFundamental.Constructions.Construction.finiteSupportLocalInsertion_to_other K U x hUK z hz hzx (2 * d)) (Geometric.ComplexChartOrientation.Cycles.complexCanonicalLocalClass (p := d) (M := U) x) exact (congrArg (AlgebraicTopology.Duality.Poincare.RelativeUniversalCoefficient.relativeRationalHomologyEvaluation (TopCat.of M) ({z}แถœ) (2 * d) (CanonicalLocalDual.Constructions.canonicalLocalDual d z)) h).trans (map_zero _) theorem cohomology_eq_point_sum (K : Set M) [Fintype K] (U : K โ†’ Opens M) (hxU : โˆ€ x : K, x.val โˆˆ U x) (hUK : โˆ€ (x : K) (y : U x), y.val โˆˆ K โ†’ y.val = x.val) (c : AlgebraicTopology.Cohomology.Singular.RelativeSequence.relativeSingularCohomology (ModuleCat.of โ„š โ„š) (TopCat.of M) Kแถœ (2 * d)) : c = โˆ‘ x : K, AlgebraicTopology.Duality.Poincare.RelativeUniversalCoefficient.relativeRationalHomologyEvaluation (TopCat.of M) Kแถœ (2 * d) c (ProperImage.FiniteFundamental.Constructions.Construction.finiteSupportLocalInsertion K (U x) โŸจx.val, hxU xโŸฉ (fun y hy => Subtype.ext (hUK x y hy)) (2 * d) (Geometric.ComplexChartOrientation.Cycles.complexCanonicalLocalClass (p := d) (M := U x) โŸจx.val, hxU xโŸฉ)) โ€ข CompactPointIntegration.Constructions.compactPointClass d K x.val x.property := by classical apply (AlgebraicTopology.Duality.Poincare.RelativeUniversalCoefficient.relativeRationalUniversalCoefficientEquiv (TopCat.of M) Kแถœ (2 * d)).injective apply SupportHomologySpanning.Constructions.functional_ext d K U hxU hUK intro x change AlgebraicTopology.Duality.Poincare.RelativeUniversalCoefficient.relativeRationalHomologyEvaluation (TopCat.of M) Kแถœ (2 * d) c _ = AlgebraicTopology.Duality.Poincare.RelativeUniversalCoefficient.relativeRationalHomologyEvaluation (TopCat.of M) Kแถœ (2 * d) _ _ simp only [map_sum, LinearMap.sum_apply, map_smul, LinearMap.smul_apply, smul_eq_mul] rw [Finset.sum_eq_single x] ยท rw [pointClass_insert_self d K (U x) โŸจx.val, hxU xโŸฉ x.property (fun y hy => Subtype.ext (hUK x y hy)), mul_one] ยท intro y _ hyx have hv : y.val โ‰  x.val := fun he => hyx (Subtype.ext he) rw [pointClass_insert_other d K (U x) โŸจx.val, hxU xโŸฉ (fun z hz => Subtype.ext (hUK x z hz)) y.val y.property hv, mul_zero] ยท simp end AlgebraicGeometry.CycleClass.Thom.Finite.PointCohomology.Constructions namespace AlgebraicGeometry.CycleClass.Thom.Finite.PointCohomology.Constructions.LocalCoefficients /-! Actual restrictions on isolating neighborhoods determine finite point coefficients. -/ open _root_.CategoryTheory _root_.TopologicalSpace open scoped _root_.Manifold open OAI.AlgebraicGeometry.CycleClass.Thom.CanonicalLocalDual.Constructions OAI.AlgebraicGeometry.CycleClass.Thom.CompactPointIntegration.Constructions OAI.AlgebraicGeometry.CycleClass.Thom.Finite.PointCohomology.Constructions set_option backward.isDefEq.respectTransparency false set_option backward.isDefEq.respectTransparency.types false theorem isolationMapsTo {M : Type} [TopologicalSpace M] (K : Set M) (U : Opens M) (x : U) (hUK : โˆ€ y : U, y.val โˆˆ K โ†’ y = x) : Set.MapsTo (Geometric.LocalHomology.Cycles.subspaceInclusion (TopCat.of M) (U : Set M)) ({x}แถœ) Kแถœ := fun y hy h => hy (hUK y h) variable (d : โ„•) {M : Type} [TopologicalSpace M] [T2Space M] [ChartedSpace (Fin d โ†’ โ„‚) M] [IsManifold ๐“˜(โ„‚, Fin d โ†’ โ„‚) 1 M] omit [T2Space M] [IsManifold ๐“˜(โ„‚, Fin d โ†’ โ„‚) 1 M] in theorem local_coefficient (K : Set M) (U : Opens M) (x : U) (hUK : โˆ€ y : U, y.val โˆˆ K โ†’ y = x) (c : AlgebraicTopology.Cohomology.Singular.RelativeSequence.relativeSingularCohomology (ModuleCat.of โ„š โ„š) (TopCat.of M) Kแถœ (2 * d)) (w : โ„š) (hc : AlgebraicTopology.Cohomology.Singular.RelativeSequence.relativeSingularCohomologyMap (ModuleCat.of โ„š โ„š) (Geometric.LocalHomology.Cycles.subspaceInclusion (TopCat.of M) (U : Set M)) (isolationMapsTo K U x hUK) (2 * d) c = w โ€ข CanonicalLocalDual.Constructions.canonicalLocalDual d x) : AlgebraicTopology.Duality.Poincare.RelativeUniversalCoefficient.relativeRationalHomologyEvaluation (TopCat.of M) Kแถœ (2 * d) c (ProperImage.FiniteFundamental.Constructions.Construction.finiteSupportLocalInsertion K U x hUK (2 * d) (Geometric.ComplexChartOrientation.Cycles.complexCanonicalLocalClass (p := d) (M := U) x)) = w := by have h := AlgebraicTopology.Duality.Poincare.RelativeUniversalCoefficient.relativeRationalHomologyEvaluation_naturality (Geometric.LocalHomology.Cycles.subspaceInclusion (TopCat.of M) (U : Set M)) (isolationMapsTo K U x hUK) (2 * d) c (Geometric.ComplexChartOrientation.Cycles.complexCanonicalLocalClass (p := d) (M := U) x) refine h.symm.trans ?_ rw [hc, map_smul, LinearMap.smul_apply, CanonicalLocalDual.Constructions.canonicalLocalDual_integralEvaluation, smul_eq_mul, mul_one] theorem cohomology_eq_sum_of_local (K : Set M) [Fintype K] (U : K โ†’ Opens M) (hxU : โˆ€ x : K, x.val โˆˆ U x) (hUK : โˆ€ (x : K) (y : U x), y.val โˆˆ K โ†’ y.val = x.val) (c : AlgebraicTopology.Cohomology.Singular.RelativeSequence.relativeSingularCohomology (ModuleCat.of โ„š โ„š) (TopCat.of M) Kแถœ (2 * d)) (w : K โ†’ โ„š) (hc : โˆ€ x : K, AlgebraicTopology.Cohomology.Singular.RelativeSequence.relativeSingularCohomologyMap (ModuleCat.of โ„š โ„š) (Geometric.LocalHomology.Cycles.subspaceInclusion (TopCat.of M) (U x : Set M)) (isolationMapsTo K (U x) โŸจx.val, hxU xโŸฉ (fun y hy => Subtype.ext (hUK x y hy))) (2 * d) c = w x โ€ข CanonicalLocalDual.Constructions.canonicalLocalDual d (โŸจx.val, hxU xโŸฉ : U x)) : c = โˆ‘ x : K, w x โ€ข CompactPointIntegration.Constructions.compactPointClass d K x.val x.property := by classical refine (cohomology_eq_point_sum d K U hxU hUK c).trans ?_ apply Finset.sum_congr rfl intro x _ rw [local_coefficient d K (U x) โŸจx.val, hxU xโŸฉ (fun y hy => Subtype.ext (hUK x y hy)) c (w x) (hc x)] end AlgebraicGeometry.CycleClass.Thom.Finite.PointCohomology.Constructions.LocalCoefficients end end OAI