Download data/lean/OAI/AlgebraicGeometry/CycleClass/Geometric/ClosedBall.lean from introvoyz045/math: direct link, hf CLI and curl.
- Browser
- Download file 12.2 kB
-
https://huggingface.co/datasets/introvoyz045/math/resolve/main/data/lean/OAI/AlgebraicGeometry/CycleClass/Geometric/ClosedBall.lean
- Command line
-
hf download hf://datasets/introvoyz045/math/data/lean/OAI/AlgebraicGeometry/CycleClass/Geometric/ClosedBall.lean
-
curl -L -o ClosedBall.lean https://huggingface.co/datasets/introvoyz045/math/resolve/main/data/lean/OAI/AlgebraicGeometry/CycleClass/Geometric/ClosedBall.lean
12.2 kB
| import OAI.AlgebraicGeometry.CycleClass.Geometric.ClosedBallRadial | |
| import OAI.AlgebraicGeometry.CycleClass.Geometric.ComplexLocalTopHomology | |
| import OAI.AlgebraicGeometry.CycleClass.Geometric.ComplexLocalVanishing | |
| import OAI.AlgebraicGeometry.CycleClass.Geometric.LocalHomology | |
| import OAI.AlgebraicGeometry.CycleClass.Geometric.RelativeHomotopy | |
| /-! # Closed Ball -/ | |
| namespace OAI.AlgebraicGeometry.CycleClass.Geometric.ClosedBall.Cycles | |
| noncomputable section | |
| /-! | |
| The relative groups are the homology of the actual singular-chain quotient | |
| for `(E, E \ closedBall 0 r)`. The inclusion into the punctured pair is a | |
| quasi-isomorphism because the outside-ball inclusion is a genuine homotopy | |
| equivalence. Its inverse transports the existing coordinate-normalized local | |
| class. An explicit translation homotopy proves the normalization at every | |
| point of the closed ball. No invariance under nonlinear coordinate changes | |
| is assumed here. | |
| -/ | |
| open _root_.CategoryTheory _root_.CategoryTheory.Limits | |
| set_option backward.defeqAttrib.useBackward true | |
| set_option backward.isDefEq.respectTransparency false | |
| variable (E : Type) [NormedAddCommGroup E] | |
| /-- The identity map sends the outside of a closed ball into the complement | |
| of each point of that ball. -/ | |
| theorem closedBallOutside_mapsTo_point (r : β) (x : E) | |
| (hx : x β Metric.closedBall (0 : E) r) : | |
| Set.MapsTo (π (TopCat.of E)) (ClosedBallRadial.Cycles.OutsideClosedBall E r) ({x}αΆ : Set E) := by | |
| intro y hy | |
| change y β x | |
| rintro rfl | |
| exact hy hx | |
| /-- The genuine relative-chain restriction from a closed ball to one of its points. -/ | |
| def closedBallPointChainMap (r : β) (x : E) | |
| (hx : x β Metric.closedBall (0 : E) r) : | |
| LocalHomology.Cycles.relativeSingularChains (TopCat.of E) (ClosedBallRadial.Cycles.OutsideClosedBall E r) βΆ | |
| LocalHomology.Cycles.relativeSingularChains (TopCat.of E) ({x}αΆ : Set E) := | |
| LocalHomology.Cycles.relativeSingularChainsMap (π (TopCat.of E)) (closedBallOutside_mapsTo_point E r x hx) | |
| /-- The induced restriction from closed-ball relative homology to point-local homology. -/ | |
| abbrev closedBallPointHomologyMap (r : β) (x : E) | |
| (hx : x β Metric.closedBall (0 : E) r) (n : β) : | |
| LocalHomology.Cycles.relativeSingularHomology (TopCat.of E) (ClosedBallRadial.Cycles.OutsideClosedBall E r) n βΆ | |
| LocalHomology.Cycles.localSingularHomology (TopCat.of E) x n := | |
| HomologicalComplex.homologyMap (closedBallPointChainMap E r x hx) n | |
| variable [NormedSpace β E] | |
| /-- The restriction to the center is a quasi-isomorphism in every degree. | |
| This follows from the two actual short exact relative-chain sequences. -/ | |
| theorem closedBallOriginChainMap_quasiIso (r : β) (hr : 0 β€ r) : | |
| QuasiIso (closedBallPointChainMap E r 0 (Metric.mem_closedBall_self hr)) := by | |
| let Ο := RelativeHomologyExact.Cycles.relativeChainSequenceMap (π (TopCat.of E)) | |
| (closedBallOutside_mapsTo_point E r 0 (Metric.mem_closedBall_self hr)) | |
| apply HomologicalComplex.HomologySequence.quasiIso_Οβ Ο | |
| (LocalHomology.Cycles.relativeChainSequence_shortExact (TopCat.of E) (ClosedBallRadial.Cycles.OutsideClosedBall E r)) | |
| (LocalHomology.Cycles.relativeChainSequence_shortExact (TopCat.of E) ({0}αΆ : Set E)) | |
| Β· exact (ContractibleModel.Cycles.singularChainsHomotopyEquiv (ModuleCat.of β€ β€) | |
| (X := TopCat.of (ClosedBallRadial.Cycles.OutsideClosedBall E r)) (Y := TopCat.of (NormalSphere.Cycles.PuncturedNormal E)) | |
| (ClosedBallRadial.Cycles.outsideClosedBallHomotopyEquiv E r hr)).quasiIso_hom | |
| Β· change QuasiIso (LocalHomology.Cycles.integralSingularChainFunctor.map (π (TopCat.of E))) | |
| rw [CategoryTheory.Functor.map_id] | |
| infer_instance | |
| /-- Closed-ball relative homology agrees with local homology at the center, | |
| through the map induced by inclusion of the two actual subspaces. -/ | |
| def closedBallOriginHomologyIso (r : β) (hr : 0 β€ r) (n : β) : | |
| LocalHomology.Cycles.relativeSingularHomology (TopCat.of E) (ClosedBallRadial.Cycles.OutsideClosedBall E r) n β | |
| LocalHomology.Cycles.localSingularHomology (TopCat.of E) 0 n := by | |
| have := closedBallOriginChainMap_quasiIso E r hr | |
| exact isoOfQuasiIsoAt (closedBallPointChainMap E r 0 (Metric.mem_closedBall_self hr)) n | |
| @[simp] | |
| theorem closedBallOriginHomologyIso_hom (r : β) (hr : 0 β€ r) (n : β) : | |
| (closedBallOriginHomologyIso E r hr n).hom = | |
| closedBallPointHomologyMap E r 0 (Metric.mem_closedBall_self hr) n := rfl | |
| /-- Translation to the origin identifies the actual point-local homology groups. -/ | |
| def localTranslationHomologyIso (x : E) (n : β) : | |
| LocalHomology.Cycles.localSingularHomology (TopCat.of E) x n β | |
| LocalHomology.Cycles.localSingularHomology (TopCat.of E) 0 n := | |
| LocalHomology.Cycles.relativeSingularHomologyIso (Homeomorph.subRight x) | |
| (by | |
| intro y | |
| change y β x β y - x β (0 : E) | |
| exact β¨fun h hzero => h (sub_eq_zero.mp hzero), | |
| fun h heq => h (sub_eq_zero.mpr heq)β©) n | |
| /-- The straight translation homotopy from the identity to subtraction of `x`. -/ | |
| def coordinateTranslationHomotopy (x : E) : | |
| TopCat.Homotopy (π (TopCat.of E)) (TopCat.isoOfHomeo (X := TopCat.of E) (Y := TopCat.of E) (Homeomorph.subRight x)).hom where | |
| toFun z := z.2 - (z.1 : β) β’ x | |
| continuous_toFun := by fun_prop | |
| map_zero_left y := by simp | |
| map_one_left y := by simp | |
| /-- Translating by a fraction of a point in the ball cannot move an outside | |
| point to the origin. This includes points on the boundary of the closed ball. -/ | |
| theorem coordinateTranslationHomotopy_mapsTo (r : β) (x : E) | |
| (hx : x β Metric.closedBall (0 : E) r) (t : unitInterval) : | |
| Set.MapsTo (fun y => coordinateTranslationHomotopy E x (t, y)) | |
| (ClosedBallRadial.Cycles.OutsideClosedBall E r) ({0}αΆ : Set E) := by | |
| intro y hy | |
| change y - (t : β) β’ x β (0 : E) | |
| intro hz | |
| have he : y = (t : β) β’ x := sub_eq_zero.mp hz | |
| have hbound : β(t : β) β’ xβ β€ r := by | |
| rw [norm_smul, Real.norm_of_nonneg t.property.1] | |
| exact (mul_le_mul_of_nonneg_right t.property.2 (norm_nonneg x)).trans | |
| (by simpa only [one_mul] using mem_closedBall_zero_iff.mp hx) | |
| have hout := ClosedBallRadial.Cycles.outsideClosedBall_norm E r β¨y, hyβ© | |
| change r < βyβ at hout | |
| rw [he] at hout | |
| exact (not_lt_of_ge hbound) hout | |
| /-- Restriction to any point of the ball, followed by translation to the | |
| origin, equals restriction to the center. -/ | |
| @[reassoc] | |
| theorem closedBallPointHomologyMap_translation (r : β) (hr : 0 β€ r) | |
| (x : E) (hx : x β Metric.closedBall (0 : E) r) (n : β) : | |
| closedBallPointHomologyMap E r x hx n β« (localTranslationHomologyIso E x n).hom = | |
| closedBallPointHomologyMap E r 0 (Metric.mem_closedBall_self hr) n := by | |
| let htrans : Set.MapsTo (TopCat.isoOfHomeo (X := TopCat.of E) (Y := TopCat.of E) (Homeomorph.subRight x)).hom | |
| ({x}αΆ : Set E) ({0}αΆ : Set E) := by | |
| intro y hy | |
| change (y : E) - x β (0 : E) | |
| exact sub_ne_zero.mpr hy | |
| change LocalHomology.Cycles.relativeSingularHomologyMap (π (TopCat.of E)) | |
| (closedBallOutside_mapsTo_point E r x hx) n β« | |
| LocalHomology.Cycles.relativeSingularHomologyMap (TopCat.isoOfHomeo (X := TopCat.of E) (Y := TopCat.of E) (Homeomorph.subRight x)).hom htrans n = _ | |
| rw [LocalHomology.Cycles.relativeSingularHomologyMap_comp] | |
| exact (RelativeHomotopy.Cycles.relativeSingularHomologyMap_eq_of_homotopy | |
| (closedBallOutside_mapsTo_point E r 0 (Metric.mem_closedBall_self hr)) | |
| (fun _ hy => htrans (closedBallOutside_mapsTo_point E r x hx hy)) | |
| (coordinateTranslationHomotopy E x) | |
| (coordinateTranslationHomotopy_mapsTo E r x hx) n).symm | |
| /-- Relative top homology of a complex coordinate closed ball is `β€`, using | |
| the already specified point-local coordinate normalization. -/ | |
| def complexClosedBallTopHomologyIso (p : β) (r : β) (hr : 0 β€ r) : | |
| LocalHomology.Cycles.relativeSingularHomology (TopCat.of (Fin p β β)) (ClosedBallRadial.Cycles.OutsideClosedBall (Fin p β β) r) | |
| (2 * p) β ModuleCat.of β€ β€ := | |
| closedBallOriginHomologyIso (Fin p β β) r hr (2 * p) βͺβ« ComplexLocalTopHomology.Cycles.complexNormalTopLocalHomologyIso p | |
| /-- The actual closed-ball relative class normalized to one in the chosen | |
| complex coordinate local-homology isomorphism. -/ | |
| def complexClosedBallClass (p : β) (r : β) (hr : 0 β€ r) : | |
| LocalHomology.Cycles.relativeSingularHomology (TopCat.of (Fin p β β)) (ClosedBallRadial.Cycles.OutsideClosedBall (Fin p β β) r) | |
| (2 * p) := | |
| (complexClosedBallTopHomologyIso p r hr).inv 1 | |
| /-- Restricting the closed-ball class to its center gives precisely the | |
| existing normalized local generator. -/ | |
| theorem complexClosedBallClass_origin (p : β) (r : β) (hr : 0 β€ r) : | |
| closedBallPointHomologyMap (Fin p β β) r 0 (Metric.mem_closedBall_self hr) (2 * p) | |
| (complexClosedBallClass p r hr) = | |
| (ComplexLocalTopHomology.Cycles.complexNormalTopLocalHomologyIso p).inv 1 := by | |
| exact ConcreteCategory.congr_hom | |
| (closedBallOriginHomologyIso (Fin p β β) r hr (2 * p)).inv_hom_id | |
| ((ComplexLocalTopHomology.Cycles.complexNormalTopLocalHomologyIso p).inv 1) | |
| /-- Point-local coordinate normalization obtained by the actual translation | |
| to the origin. -/ | |
| def complexCoordinatePointHomologyIso (p : β) (x : Fin p β β) : | |
| LocalHomology.Cycles.localSingularHomology (TopCat.of (Fin p β β)) x (2 * p) β ModuleCat.of β€ β€ := | |
| localTranslationHomologyIso (Fin p β β) x (2 * p) βͺβ« ComplexLocalTopHomology.Cycles.complexNormalTopLocalHomologyIso p | |
| /-- The normalized coordinate local class at an arbitrary point. -/ | |
| def complexCoordinatePointClass (p : β) (x : Fin p β β) : | |
| LocalHomology.Cycles.localSingularHomology (TopCat.of (Fin p β β)) x (2 * p) := | |
| (complexCoordinatePointHomologyIso p x).inv 1 | |
| /-- The translated coordinate local class maps back to the specified origin class. -/ | |
| theorem complexCoordinatePointClass_to_origin (p : β) (x : Fin p β β) : | |
| (localTranslationHomologyIso (Fin p β β) x (2 * p)).hom | |
| (complexCoordinatePointClass p x) = | |
| (ComplexLocalTopHomology.Cycles.complexNormalTopLocalHomologyIso p).inv 1 := | |
| ConcreteCategory.congr_hom | |
| (localTranslationHomologyIso (Fin p β β) x (2 * p)).inv_hom_id | |
| ((ComplexLocalTopHomology.Cycles.complexNormalTopLocalHomologyIso p).inv 1) | |
| /-- The closed-ball class restricts to the normalized coordinate local class | |
| at every point of the closed ball, in particular at every interior point. -/ | |
| theorem complexClosedBallClass_atPoint (p : β) (r : β) (hr : 0 β€ r) | |
| (x : Fin p β β) (hx : x β Metric.closedBall 0 r) : | |
| closedBallPointHomologyMap (Fin p β β) r x hx (2 * p) | |
| (complexClosedBallClass p r hr) = complexCoordinatePointClass p x := by | |
| apply (ConcreteCategory.bijective_of_isIso | |
| (localTranslationHomologyIso (Fin p β β) x (2 * p)).hom).1 | |
| calc | |
| _ = closedBallPointHomologyMap (Fin p β β) r 0 (Metric.mem_closedBall_self hr) (2 * p) | |
| (complexClosedBallClass p r hr) := | |
| ConcreteCategory.congr_hom | |
| (closedBallPointHomologyMap_translation (Fin p β β) r hr x hx (2 * p)) _ | |
| _ = (ComplexLocalTopHomology.Cycles.complexNormalTopLocalHomologyIso p).inv 1 := complexClosedBallClass_origin p r hr | |
| _ = _ := (complexCoordinatePointClass_to_origin p x).symm | |
| /-- All other relative degrees vanish for a complex closed coordinate ball. -/ | |
| theorem complexClosedBallHomology_isZero (p n : β) (r : β) (hr : 0 β€ r) | |
| (hn : n β 2 * p) : | |
| IsZero (LocalHomology.Cycles.relativeSingularHomology (TopCat.of (Fin p β β)) | |
| (ClosedBallRadial.Cycles.OutsideClosedBall (Fin p β β) r) n) := | |
| (ComplexLocalVanishing.Cycles.complexNormalLocalHomology_isZero p n hn).of_iso | |
| (closedBallOriginHomologyIso (Fin p β β) r hr n) | |
| /-- The coordinate ball supporting the relative class is actually compact. -/ | |
| theorem complexClosedBall_isCompact (p : β) (r : β) : | |
| IsCompact (Metric.closedBall (0 : Fin p β β) r) := | |
| isCompact_closedBall 0 r | |
| end | |
| end OAI.AlgebraicGeometry.CycleClass.Geometric.ClosedBall.Cycles | |