Download data/lean/OAI/AlgebraicGeometry/CycleClass/Geometric/ConvexSupportHomology.lean from introvoyz045/math: direct link, hf CLI and curl.
- Browser
- Download file 12 kB
-
https://huggingface.co/datasets/introvoyz045/math/resolve/main/data/lean/OAI/AlgebraicGeometry/CycleClass/Geometric/ConvexSupportHomology.lean
- Command line
-
hf download hf://datasets/introvoyz045/math/data/lean/OAI/AlgebraicGeometry/CycleClass/Geometric/ConvexSupportHomology.lean
-
curl -L -o ConvexSupportHomology.lean https://huggingface.co/datasets/introvoyz045/math/resolve/main/data/lean/OAI/AlgebraicGeometry/CycleClass/Geometric/ConvexSupportHomology.lean
12 kB
| import OAI.AlgebraicGeometry.CycleClass.Geometric.ClosedBall | |
| import OAI.AlgebraicGeometry.CycleClass.Geometric.ConvexComplement | |
| import OAI.AlgebraicGeometry.CycleClass.Geometric.HomologyWithSupports | |
| import OAI.AlgebraicGeometry.CycleClass.Geometric.LocalHomologyPresheaf | |
| /-! # Convex Support Homology -/ | |
| namespace OAI.AlgebraicGeometry.CycleClass.Geometric.ConvexSupportHomology.Cycles | |
| noncomputable section | |
| /-! | |
| # Relative homology and normalized classes with compact convex support | |
| All maps are induced by the identity between the actual complementary | |
| topological pairs. Restricting the class of a containing coordinate ball | |
| already gives a normalized class for any compact support. Convexity will | |
| identify its relative homology with point-local homology, giving uniqueness | |
| and concentration in the top degree. | |
| -/ | |
| open _root_.CategoryTheory _root_.CategoryTheory.Limits | |
| set_option backward.defeqAttrib.useBackward true | |
| set_option backward.isDefEq.respectTransparency false | |
| /-- Restriction of supports commutes with restriction to any point of the smaller support. -/ | |
| @[reassoc] | |
| theorem relativeComplementHomologyRestriction_toPoint (X : TopCat.{0}) | |
| {K L : Set X} (hKL : K β L) (x : X) (hx : x β K) (n : β) : | |
| HomologicalComplex.homologyMap (LocalHomologyPresheaf.Cycles.relativeComplementChainRestriction X hKL) n β« | |
| LocalHomologyPresheaf.Cycles.localHomologyToPoint X K x hx n = | |
| LocalHomologyPresheaf.Cycles.localHomologyToPoint X L x (hKL hx) n := by | |
| unfold LocalHomologyPresheaf.Cycles.localHomologyToPoint | |
| rw [β HomologicalComplex.homologyMap_comp, LocalHomologyPresheaf.Cycles.relativeComplementChainRestriction_toPoint] | |
| variable (E : Type) [NormedAddCommGroup E] | |
| /-- A compact support is contained in a positive-radius closed ball about the origin. -/ | |
| theorem compactSupport_exists_pos_radius (K : Set E) (hK : IsCompact K) : | |
| β r : β, 0 < r β§ K β Metric.closedBall (0 : E) r := | |
| hK.isBounded.subset_closedBall_lt 0 0 | |
| /-- A fixed containing radius for a compact support. -/ | |
| def compactSupportRadius (K : Set E) (hK : IsCompact K) : β := | |
| (compactSupport_exists_pos_radius E K hK).choose | |
| theorem compactSupportRadius_pos (K : Set E) (hK : IsCompact K) : | |
| 0 < compactSupportRadius E K hK := | |
| (compactSupport_exists_pos_radius E K hK).choose_spec.1 | |
| theorem compactSupport_subset_closedBall (K : Set E) (hK : IsCompact K) : | |
| K β Metric.closedBall (0 : E) (compactSupportRadius E K hK) := | |
| (compactSupport_exists_pos_radius E K hK).choose_spec.2 | |
| /-- On a closed ball, the existing support-to-point map is the closed-ball restriction. -/ | |
| theorem localHomologyToPoint_closedBall (r : β) (x : E) | |
| (hx : x β Metric.closedBall (0 : E) r) (n : β) : | |
| LocalHomologyPresheaf.Cycles.localHomologyToPoint (TopCat.of E) (Metric.closedBall (0 : E) r) x hx n = | |
| ClosedBall.Cycles.closedBallPointHomologyMap E r x hx n := rfl | |
| /-- Restricting a containing coordinate-ball class gives a class with any compact support. -/ | |
| def complexCompactSupportClass (p : β) (K : Set (Fin p β β)) (hK : IsCompact K) : | |
| HomologyWithSupports.Cycles.singularHomologyWithSupport (TopCat.of (Fin p β β)) K (2 * p) := | |
| HomologicalComplex.homologyMap | |
| (LocalHomologyPresheaf.Cycles.relativeComplementChainRestriction (TopCat.of (Fin p β β)) | |
| (compactSupport_subset_closedBall (Fin p β β) K hK)) (2 * p) | |
| (ClosedBall.Cycles.complexClosedBallClass p (compactSupportRadius (Fin p β β) K hK) | |
| (compactSupportRadius_pos (Fin p β β) K hK).le) | |
| /-- The compact-support class restricts to the specified coordinate orientation at every point. -/ | |
| theorem complexCompactSupportClass_atPoint (p : β) (K : Set (Fin p β β)) | |
| (hK : IsCompact K) (x : Fin p β β) (hx : x β K) : | |
| LocalHomologyPresheaf.Cycles.localHomologyToPoint (TopCat.of (Fin p β β)) K x hx (2 * p) | |
| (complexCompactSupportClass p K hK) = ClosedBall.Cycles.complexCoordinatePointClass p x := by | |
| let r := compactSupportRadius (Fin p β β) K hK | |
| have hr : 0 β€ r := (compactSupportRadius_pos (Fin p β β) K hK).le | |
| have hKR : K β Metric.closedBall (0 : Fin p β β) r := | |
| compactSupport_subset_closedBall (Fin p β β) K hK | |
| change LocalHomologyPresheaf.Cycles.localHomologyToPoint (TopCat.of (Fin p β β)) K x hx (2 * p) | |
| (HomologicalComplex.homologyMap | |
| (LocalHomologyPresheaf.Cycles.relativeComplementChainRestriction (TopCat.of (Fin p β β)) hKR) (2 * p) | |
| (ClosedBall.Cycles.complexClosedBallClass p r hr)) = _ | |
| calc | |
| _ = LocalHomologyPresheaf.Cycles.localHomologyToPoint (TopCat.of (Fin p β β)) | |
| (Metric.closedBall (0 : Fin p β β) r) x (hKR hx) (2 * p) | |
| (ClosedBall.Cycles.complexClosedBallClass p r hr) := | |
| ConcreteCategory.congr_hom | |
| (relativeComplementHomologyRestriction_toPoint | |
| (TopCat.of (Fin p β β)) hKR x hx (2 * p)) _ | |
| _ = _ := ClosedBall.Cycles.complexClosedBallClass_atPoint p r hr x (hKR hx) | |
| variable [NormedSpace β E] | |
| /-- For compact convex support, the actual restriction to any supported point is | |
| a quasi-isomorphism. This is the comparison of the two short exact sequences | |
| of actual singular chains, using the complement homotopy equivalence. -/ | |
| theorem convexSupportPointChainMap_quasiIso (K : Set E) (hK : IsCompact K) | |
| (hconv : Convex β K) (x : E) (hx : x β K) : | |
| QuasiIso (LocalHomologyPresheaf.Cycles.relativeComplementChainToPoint (TopCat.of E) K x hx) := by | |
| let hm : Set.MapsTo (π (TopCat.of E)) KαΆ ({x}αΆ : Set E) := by | |
| intro y hy | |
| change y β x | |
| intro hyx | |
| exact hy (hyx.symm βΈ hx) | |
| let Ο := RelativeHomologyExact.Cycles.relativeChainSequenceMap (π (TopCat.of E)) hm | |
| apply HomologicalComplex.HomologySequence.quasiIso_Οβ Ο | |
| (LocalHomology.Cycles.relativeChainSequence_shortExact (TopCat.of E) KαΆ) | |
| (LocalHomology.Cycles.relativeChainSequence_shortExact (TopCat.of E) ({x}αΆ : Set E)) | |
| Β· change QuasiIso (LocalHomology.Cycles.integralSingularChainFunctor.map (LocalHomology.Cycles.subspaceMap (π (TopCat.of E)) hm)) | |
| have hinc : LocalHomology.Cycles.subspaceMap (π (TopCat.of E)) hm = | |
| TopCat.ofHom (ConvexComplement.Cycles.convexComplementHomotopyEquiv K x hK hconv hx).toFun := by | |
| rw [ConvexComplement.Cycles.convexComplementHomotopyEquiv_toFun] | |
| rfl | |
| rw [hinc] | |
| exact (ContractibleModel.Cycles.singularChainsHomotopyEquiv (ModuleCat.of β€ β€) | |
| (X := TopCat.of (KαΆ : Set E)) (Y := TopCat.of ({x}αΆ : Set E)) | |
| (ConvexComplement.Cycles.convexComplementHomotopyEquiv K x hK hconv hx)).quasiIso_hom | |
| Β· change QuasiIso (LocalHomology.Cycles.integralSingularChainFunctor.map (π (TopCat.of E))) | |
| rw [CategoryTheory.Functor.map_id] | |
| infer_instance | |
| /-- Relative homology with compact convex support is the actual local homology | |
| at every point of that support. -/ | |
| def convexSupportPointHomologyIso (K : Set E) (hK : IsCompact K) | |
| (hconv : Convex β K) (x : E) (hx : x β K) (n : β) : | |
| HomologyWithSupports.Cycles.singularHomologyWithSupport (TopCat.of E) K n β | |
| LocalHomology.Cycles.localSingularHomology (TopCat.of E) x n := by | |
| have := convexSupportPointChainMap_quasiIso E K hK hconv x hx | |
| exact isoOfQuasiIsoAt (LocalHomologyPresheaf.Cycles.relativeComplementChainToPoint (TopCat.of E) K x hx) n | |
| @[simp] | |
| theorem convexSupportPointHomologyIso_hom (K : Set E) (hK : IsCompact K) | |
| (hconv : Convex β K) (x : E) (hx : x β K) (n : β) : | |
| (convexSupportPointHomologyIso E K hK hconv x hx n).hom = | |
| LocalHomologyPresheaf.Cycles.localHomologyToPoint (TopCat.of E) K x hx n := rfl | |
| /-- In particular, the existing point restriction map is bijective in every degree. -/ | |
| theorem convexSupportPointHomologyMap_bijective (K : Set E) (hK : IsCompact K) | |
| (hconv : Convex β K) (x : E) (hx : x β K) (n : β) : | |
| Function.Bijective (LocalHomologyPresheaf.Cycles.localHomologyToPoint (TopCat.of E) K x hx n) := | |
| ConcreteCategory.bijective_of_isIso (convexSupportPointHomologyIso E K hK hconv x hx n).hom | |
| /-- Top homology with nonempty compact convex support in a complex coordinate | |
| space is `β€`, with the prescribed coordinate normalization at a supported point. -/ | |
| def complexConvexSupportTopHomologyIso (p : β) (K : Set (Fin p β β)) | |
| (hK : IsCompact K) (hconv : Convex β K) (x : Fin p β β) (hx : x β K) : | |
| HomologyWithSupports.Cycles.singularHomologyWithSupport (TopCat.of (Fin p β β)) K (2 * p) β ModuleCat.of β€ β€ := | |
| convexSupportPointHomologyIso (Fin p β β) K hK hconv x hx (2 * p) βͺβ« | |
| ClosedBall.Cycles.complexCoordinatePointHomologyIso p x | |
| /-- The compact-support class maps to one under the actual normalized top-homology isomorphism. -/ | |
| theorem complexConvexSupportTopHomologyIso_class (p : β) (K : Set (Fin p β β)) | |
| (hK : IsCompact K) (hconv : Convex β K) (x : Fin p β β) (hx : x β K) : | |
| (complexConvexSupportTopHomologyIso p K hK hconv x hx).hom | |
| (complexCompactSupportClass p K hK) = 1 := by | |
| change (ClosedBall.Cycles.complexCoordinatePointHomologyIso p x).hom | |
| (LocalHomologyPresheaf.Cycles.localHomologyToPoint (TopCat.of (Fin p β β)) K x hx (2 * p) | |
| (complexCompactSupportClass p K hK)) = 1 | |
| rw [complexCompactSupportClass_atPoint] | |
| exact ConcreteCategory.congr_hom (ClosedBall.Cycles.complexCoordinatePointHomologyIso p x).inv_hom_id 1 | |
| /-- All-point normalization uniquely determines the class on nonempty compact convex support. -/ | |
| theorem complexConvexSupportClass_unique (p : β) (K : Set (Fin p β β)) | |
| (hK : IsCompact K) (hconv : Convex β K) (hne : K.Nonempty) | |
| (a : HomologyWithSupports.Cycles.singularHomologyWithSupport (TopCat.of (Fin p β β)) K (2 * p)) | |
| (ha : β x (hx : x β K), | |
| LocalHomologyPresheaf.Cycles.localHomologyToPoint (TopCat.of (Fin p β β)) K x hx (2 * p) a = | |
| ClosedBall.Cycles.complexCoordinatePointClass p x) : | |
| a = complexCompactSupportClass p K hK := by | |
| obtain β¨x, hxβ© := hne | |
| apply (convexSupportPointHomologyMap_bijective (Fin p β β) K hK hconv x hx (2 * p)).1 | |
| rw [ha x hx, complexCompactSupportClass_atPoint] | |
| /-- The normalized class is the restriction of every containing closed-ball | |
| class, so it is independent of the chosen containing radius. -/ | |
| theorem complexConvexSupportClass_eq_ballRestriction (p : β) (K : Set (Fin p β β)) | |
| (hK : IsCompact K) (hconv : Convex β K) (hne : K.Nonempty) | |
| (r : β) (hr : 0 β€ r) (hKR : K β Metric.closedBall (0 : Fin p β β) r) : | |
| complexCompactSupportClass p K hK = | |
| HomologicalComplex.homologyMap | |
| (LocalHomologyPresheaf.Cycles.relativeComplementChainRestriction (TopCat.of (Fin p β β)) hKR) (2 * p) | |
| (ClosedBall.Cycles.complexClosedBallClass p r hr) := by | |
| symm | |
| apply complexConvexSupportClass_unique p K hK hconv hne | |
| intro x hx | |
| calc | |
| _ = LocalHomologyPresheaf.Cycles.localHomologyToPoint (TopCat.of (Fin p β β)) | |
| (Metric.closedBall (0 : Fin p β β) r) x (hKR hx) (2 * p) | |
| (ClosedBall.Cycles.complexClosedBallClass p r hr) := | |
| ConcreteCategory.congr_hom | |
| (relativeComplementHomologyRestriction_toPoint | |
| (TopCat.of (Fin p β β)) hKR x hx (2 * p)) _ | |
| _ = _ := ClosedBall.Cycles.complexClosedBallClass_atPoint p r hr x (hKR hx) | |
| /-- Relative homology of nonempty compact convex support vanishes outside the real top degree. -/ | |
| theorem complexConvexSupportHomology_isZero (p : β) (K : Set (Fin p β β)) | |
| (hK : IsCompact K) (hconv : Convex β K) (hne : K.Nonempty) | |
| (n : β) (hn : n β 2 * p) : | |
| IsZero (HomologyWithSupports.Cycles.singularHomologyWithSupport (TopCat.of (Fin p β β)) K n) := by | |
| obtain β¨x, hxβ© := hne | |
| exact (ComplexLocalVanishing.Cycles.complexNormalLocalHomology_isZero p n hn).of_iso | |
| (convexSupportPointHomologyIso (Fin p β β) K hK hconv x hx n βͺβ« | |
| ClosedBall.Cycles.localTranslationHomologyIso (Fin p β β) x n) | |
| end | |
| end OAI.AlgebraicGeometry.CycleClass.Geometric.ConvexSupportHomology.Cycles | |