Download data/lean/OAI/Geometry/BundleTests/Normalization.lean from introvoyz045/math: direct link, hf CLI and curl.
- Browser
- Download file 15.2 kB
-
https://huggingface.co/datasets/introvoyz045/math/resolve/main/data/lean/OAI/Geometry/BundleTests/Normalization.lean
- Command line
-
hf download hf://datasets/introvoyz045/math/data/lean/OAI/Geometry/BundleTests/Normalization.lean
-
curl -L -o Normalization.lean https://huggingface.co/datasets/introvoyz045/math/resolve/main/data/lean/OAI/Geometry/BundleTests/Normalization.lean
15.2 kB
| import OAI.AlgebraicTopology.IntegralHomology.FrameNormalization | |
| import OAI.Geometry.BundleTests.Twisted | |
| namespace OAI | |
| noncomputable section | |
| /-! Twisted bundle graph normalization and its naturality. -/ | |
| section | |
| open Bundle Topology CategoryTheory Limits Set | |
| namespace Kaplansky | |
| open ComplexGrassmann | |
| variable {ΞΉ A : Type} [Fintype ΞΉ] [TopologicalSpace A] (K : ΞΉ β β) (h : β) | |
| (U : Set (ProjectiveProduct (twistedProjectiveDimensions K h))) (e : U ββ A) | |
| theorem twistedCoordinateSpace_real_finrank : | |
| Module.finrank β (TwistedHyperplaneSlot K h β β) = 2*(h+β i, K i) := by | |
| rw [finrank_real_of_complex] | |
| simp [TwistedHyperplaneSlot, Fintype.card_sigma, Nat.mul_comm] | |
| def twistedGraphBundlePullbackRelativeIso (n : β) := | |
| relativeHomologyHomeomorphIso | |
| (lineSumChartPullbackHomeomorph (twistedHyperplaneLineCore K h) U e).symm | |
| (Subtype.val β»ΒΉ' nonzeroBundle) | |
| {z : TotalSpace (EuclideanSpace β (TwistedHyperplaneSlot K h)) | |
| (finiteLineSumCore (fun s => pullbackLineCore (twistedHyperplaneLineCore K h s) | |
| (chartBaseMap U e))).Fiber | z.2 β 0} | |
| (fun z => mem_nonzeroBundle z.1) n | |
| theorem twistedGraphBundleNormalization_pullback | |
| (F : β i, GraphFrame 1 (twistedProjectiveDimensions K h i)) | |
| (hF : U β (projectiveProductGraphChart (twistedProjectiveDimensions K h) F).source) (n : β) : | |
| twistedGraphBundleNormalization K h U e F hF n = | |
| (twistedGraphBundlePullbackRelativeIso K h U e n).hom β« | |
| finiteLineFrameNormalization | |
| (fun s => pullbackLineCore (twistedHyperplaneLineCore K h s) (chartBaseMap U e)) | |
| (twistedGraphLineUnit K h U e F hF) (twistedGraphLineUnit_ne_zero K h U e F hF) | |
| (continuous_twistedGraphLineUnit K h U e F hF) n := by | |
| have he := relativeHomologyHomeomorphIso_trans_hom | |
| (lineSumChartPullbackHomeomorph (twistedHyperplaneLineCore K h) U e).symm | |
| (finiteLineFrameHomeomorph | |
| (fun s => pullbackLineCore (twistedHyperplaneLineCore K h s) (chartBaseMap U e)) | |
| (twistedGraphLineUnit K h U e F hF) (twistedGraphLineUnit_ne_zero K h U e F hF) | |
| (continuous_twistedGraphLineUnit K h U e F hF)) | |
| (Subtype.val β»ΒΉ' nonzeroBundle) {z | z.2 β 0} {z | z.2 β 0} | |
| (fun z => mem_nonzeroBundle z.1) | |
| (fun z => (not_congr (finiteLineFrameHomeomorph_zero_iff _ _ _ _ z)).symm) n | |
| exact (congrArg (fun g => g β« | |
| productPairProjection (B := A) ({0}αΆ : Set (TwistedHyperplaneSlot K h β β)) n) | |
| he).trans (Category.assoc _ _ _) | |
| variable {E V J : Type} | |
| [NormedAddCommGroup E] [NormedSpace β E] | |
| [NormedAddCommGroup V] [NormedSpace β V] [FiniteDimensional β V] [Fintype J] | |
| theorem twistedGraphBundleNormalization_affine_eq | |
| (l : J β E βL[β] V) (c : J β V) (a : U ββ affineAvoidanceSet l c) | |
| (Fβ Fβ : β i, GraphFrame 1 (twistedProjectiveDimensions K h i)) | |
| (hβ : U β (projectiveProductGraphChart (twistedProjectiveDimensions K h) Fβ).source) | |
| (hβ : U β (projectiveProductGraphChart (twistedProjectiveDimensions K h) Fβ).source) | |
| (hp : 0 < h+β i, K i) : | |
| twistedGraphBundleNormalization K h U a Fβ hβ (2*(h+β i, K i)) = | |
| twistedGraphBundleNormalization K h U a Fβ hβ (2*(h+β i, K i)) := by | |
| rw [twistedGraphBundleNormalization_pullback,twistedGraphBundleNormalization_pullback] | |
| apply congrArg (fun f => (twistedGraphBundlePullbackRelativeIso K h U a (2*(h+β i, K i))).hom β« f) | |
| have hv : 2 β€ Module.finrank β (TwistedHyperplaneSlot K h β β) := by | |
| rw [twistedCoordinateSpace_real_finrank]; omega | |
| have he := affineAvoidance_finiteLineFrameNormalization_eq (S := TwistedHyperplaneSlot K h) l c | |
| (fun s => pullbackLineCore (twistedHyperplaneLineCore K h s) (chartBaseMap U a)) | |
| (twistedGraphLineUnit K h U a Fβ hβ) (twistedGraphLineUnit_ne_zero K h U a Fβ hβ) | |
| (continuous_twistedGraphLineUnit K h U a Fβ hβ) | |
| (twistedGraphLineUnit K h U a Fβ hβ) (twistedGraphLineUnit_ne_zero K h U a Fβ hβ) | |
| (continuous_twistedGraphLineUnit K h U a Fβ hβ) hv | |
| rwa [twistedCoordinateSpace_real_finrank] at he | |
| variable {L : Type} [Fintype L] | |
| theorem twistedGraphBundleIntersection_below_isZero | |
| (Fβ : β i, GraphFrame 1 (twistedProjectiveDimensions K h i)) | |
| (G : L β β i, GraphFrame 1 (twistedProjectiveDimensions K h i)) | |
| (hp : 0 < h+β i, K i) (q : β) (hq : q < 2*(h+β i, K i)) : | |
| IsZero (relativeSingularHomology (subspaceInclusion | |
| (Subtype.val β»ΒΉ' nonzeroBundle : Set (twistedGraphBundleDomain K h | |
| (projectiveProductGraphIntersection (twistedProjectiveDimensions K h) Fβ G)))) q) := by | |
| apply (affineAvoidance_product_below_isZero | |
| (productGraphDenominatorLinear (twistedProjectiveDimensions K h) Fβ G) | |
| (productGraphDenominatorConstant (twistedProjectiveDimensions K h) Fβ G) | |
| (V := TwistedHyperplaneSlot K h β β) ?_ q ?_).of_iso | |
| (twistedGraphBundleRelativeIso K h | |
| (projectiveProductGraphIntersection (twistedProjectiveDimensions K h) Fβ G) | |
| (projectiveProductGraphIntersectionHomeomorph (twistedProjectiveDimensions K h) Fβ G) | |
| Fβ inter_subset_left q) | |
| Β· rw [twistedCoordinateSpace_real_finrank]; omega | |
| Β· rwa [twistedCoordinateSpace_real_finrank] | |
| end Kaplansky | |
| end | |
| section | |
| open Bundle Topology CategoryTheory Set | |
| namespace Kaplansky | |
| open ComplexGrassmann | |
| variable {ΞΉ A B : Type} [Fintype ΞΉ] [TopologicalSpace A] [TopologicalSpace B] | |
| (K : ΞΉ β β) (r : β) {U V : Set (ProjectiveProduct (twistedProjectiveDimensions K r))} (h : U β V) | |
| (e : U ββ A) (f : V ββ B) (F : β i, GraphFrame 1 (twistedProjectiveDimensions K r i)) | |
| (hF : V β (projectiveProductGraphChart (twistedProjectiveDimensions K r) F).source) | |
| /-- The fiber coordinate depends only on the original base point, | |
| fiber vector and graph frame, and not on the chosen base coordinates. -/ | |
| theorem twistedGraphBundleCoordinates_restrict_fiber (z : twistedGraphBundleDomain K r U) : | |
| (twistedGraphBundleCoordinates K r V f F hF β¨z.1,h z.2β©).2 = | |
| (twistedGraphBundleCoordinates K r U e F (h.trans hF) z).2 := by | |
| funext s | |
| change (show EuclideanSpace β (TwistedHyperplaneSlot K r) from z.1.2) s / (show β from twistedGraphLineUnit K r V f F hF s (f β¨z.1.proj,h z.2β©)) = | |
| (show EuclideanSpace β (TwistedHyperplaneSlot K r) from z.1.2) s / (show β from twistedGraphLineUnit K r U e F (h.trans hF) s (e β¨z.1.proj,z.2β©)) | |
| congr 1 | |
| cases s with | |
| | inl j => | |
| simp only [twistedGraphLineUnit,tensorLinePair,twistedOldLabel,productGraphLineUnit] | |
| congr 1 | |
| simp only [productGraphLineEvaluation,pullbackEvaluationEquiv, | |
| productGraphLineProjection,productGraphLineVector,chartBaseMap, | |
| ContinuousMap.comp_apply,ContinuousMap.coe_mk,Homeomorph.symm_apply_apply] | |
| dsimp [hyperplaneEvaluationEquiv,projectionLineFiberEquiv] | |
| simp only [Homeomorph.symm_apply_apply] | |
| rfl | |
| | inr s => | |
| simp only [twistedGraphLineUnit,tensorLinePair,twistedOldLabel,productGraphLineUnit] | |
| congr 1 <;> | |
| simp only [productGraphLineEvaluation,pullbackEvaluationEquiv, | |
| productGraphLineProjection,productGraphLineVector,chartBaseMap, | |
| ContinuousMap.comp_apply,ContinuousMap.coe_mk,Homeomorph.symm_apply_apply] <;> | |
| dsimp [hyperplaneEvaluationEquiv,projectionLineFiberEquiv] <;> | |
| simp only [Homeomorph.symm_apply_apply] <;> rfl | |
| /-- Restriction of the normalization on a larger chart is exactly the | |
| normalization of the smaller actual bundle pair, in any base coordinates. -/ | |
| theorem twistedGraphBundleNormalization_restrict (n : β) : | |
| restrictedPairHomologyMap (fun _ hz => h hz : twistedGraphBundleDomain K r U β twistedGraphBundleDomain K r V) | |
| nonzeroBundle n β« twistedGraphBundleNormalization K r V f F hF n = | |
| twistedGraphBundleNormalization K r U e F (h.trans hF) n := by | |
| exact productPairNormalization_restrict | |
| (Subtype.val β»ΒΉ' nonzeroBundle) (Subtype.val β»ΒΉ' nonzeroBundle) | |
| (subspaceInclusionOfLE (fun _ hz => h hz : | |
| twistedGraphBundleDomain K r U β twistedGraphBundleDomain K r V)).hom | |
| (fun _ hz => hz) | |
| (twistedGraphBundleCoordinates K r U e F (h.trans hF)) | |
| (twistedGraphBundleCoordinates K r V f F hF) | |
| (fun z => (mem_nonzeroBundle z.1).trans | |
| (not_congr (twistedGraphBundleCoordinates_zero_iff K r U e F (h.trans hF) z)).symm) | |
| (fun z => (mem_nonzeroBundle z.1).trans | |
| (not_congr (twistedGraphBundleCoordinates_zero_iff K r V f F hF z)).symm) | |
| (twistedGraphBundleCoordinates_restrict_fiber K r h e f F hF) n | |
| end Kaplansky | |
| end | |
| open Bundle Topology CategoryTheory Limits Set | |
| namespace Kaplansky | |
| open ComplexGrassmann | |
| variable {ΞΉ : Type} [Fintype ΞΉ] (K : ΞΉ β β) (h : β) | |
| abbrev twistedGraphBundleChartDomain (F : β i, GraphFrame 1 (twistedProjectiveDimensions K h i)) := | |
| twistedGraphBundleDomain K h (projectiveProductGraphChart (twistedProjectiveDimensions K h) F).source | |
| def twistedGraphBundleChartNormalization (F : β i, GraphFrame 1 (twistedProjectiveDimensions K h i)) (n : β) := | |
| twistedGraphBundleNormalization K h (projectiveProductGraphChart (twistedProjectiveDimensions K h) F).source | |
| (projectiveProductGraphHomeomorph (twistedProjectiveDimensions K h) F) F subset_rfl n | |
| /-- The local integral fiber normalizations agree after the actual | |
| inclusions from a pairwise intersection of total-space charts. -/ | |
| theorem twistedGraphBundleChartNormalization_compatible | |
| (F G : β i, GraphFrame 1 (twistedProjectiveDimensions K h i)) (hp : 0 < h+β i, K i) : | |
| restrictedPairHomologyMap (inter_subset_left : | |
| twistedGraphBundleChartDomain K h F β© twistedGraphBundleChartDomain K h G β twistedGraphBundleChartDomain K h F) | |
| nonzeroBundle (2*(h+β i, K i)) β« twistedGraphBundleChartNormalization K h F (2*(h+β i, K i)) = | |
| restrictedPairHomologyMap (inter_subset_right : | |
| twistedGraphBundleChartDomain K h F β© twistedGraphBundleChartDomain K h G β twistedGraphBundleChartDomain K h G) | |
| nonzeroBundle (2*(h+β i, K i)) β« twistedGraphBundleChartNormalization K h G (2*(h+β i, K i)) := by | |
| let U := (projectiveProductGraphChart (twistedProjectiveDimensions K h) F).source β© (projectiveProductGraphChart (twistedProjectiveDimensions K h) G).source | |
| let H : Unit β β i, GraphFrame 1 (twistedProjectiveDimensions K h i) := fun _ => G | |
| have he : U = projectiveProductGraphIntersection (twistedProjectiveDimensions K h) F H := by | |
| ext P; simp [U, H, projectiveProductGraphIntersection] | |
| let e := (Homeomorph.setCongr he).trans (projectiveProductGraphIntersectionHomeomorph (twistedProjectiveDimensions K h) F H) | |
| change restrictedPairHomologyMap (fun z hz => hz.1 : | |
| twistedGraphBundleDomain K h U β twistedGraphBundleChartDomain K h F) nonzeroBundle _ β« | |
| twistedGraphBundleNormalization K h _ (projectiveProductGraphHomeomorph (twistedProjectiveDimensions K h) F) F subset_rfl _ = | |
| restrictedPairHomologyMap (fun z hz => hz.2 : | |
| twistedGraphBundleDomain K h U β twistedGraphBundleChartDomain K h G) nonzeroBundle _ β« | |
| twistedGraphBundleNormalization K h _ (projectiveProductGraphHomeomorph (twistedProjectiveDimensions K h) G) G subset_rfl _ | |
| rw [twistedGraphBundleNormalization_restrict K h inter_subset_left e | |
| (projectiveProductGraphHomeomorph (twistedProjectiveDimensions K h) F) F subset_rfl, | |
| twistedGraphBundleNormalization_restrict K h inter_subset_right e | |
| (projectiveProductGraphHomeomorph (twistedProjectiveDimensions K h) G) G subset_rfl] | |
| exact twistedGraphBundleNormalization_affine_eq K h U (productGraphDenominatorLinear (twistedProjectiveDimensions K h) F H) | |
| (productGraphDenominatorConstant (twistedProjectiveDimensions K h) F H) e F G inter_subset_left inter_subset_right hp | |
| /-- All finite nonempty intersections of the total-space graph charts | |
| have the required lower relative vanishing. -/ | |
| theorem twistedGraphBundleChartIntersection_below_isZero | |
| (T : Finset (β i, GraphFrame 1 (twistedProjectiveDimensions K h i))) (ht : T.Nonempty) | |
| (hp : 0 < h+β i, K i) (q : β) (hq : q < 2*(h+β i, K i)) : | |
| IsZero (relativeSingularHomology (subspaceInclusion | |
| (Subtype.val β»ΒΉ' nonzeroBundle : Set β₯(β F β T, twistedGraphBundleChartDomain K h F))) q) := by | |
| classical | |
| obtain β¨F,hFβ© := ht | |
| let G : T β β i, GraphFrame 1 (twistedProjectiveDimensions K h i) := fun t => t.val | |
| have he : (β H β T, twistedGraphBundleChartDomain K h H) = | |
| twistedGraphBundleDomain K h (projectiveProductGraphIntersection (twistedProjectiveDimensions K h) F G) := by | |
| ext z | |
| simp only [mem_iInter] | |
| change (β H, H β T β z.proj β (projectiveProductGraphChart (twistedProjectiveDimensions K h) H).source) β | |
| z.proj β (projectiveProductGraphChart (twistedProjectiveDimensions K h) F).source β§ | |
| z.proj β β t : T, (projectiveProductGraphChart (twistedProjectiveDimensions K h) (G t)).source | |
| rw [mem_iInter] | |
| exact β¨fun h => β¨h F hF,fun t => h t.val t.propertyβ©, | |
| fun h H hH => h.2 β¨H,hHβ©β© | |
| rw [he] | |
| exact twistedGraphBundleIntersection_below_isZero K h F G hp q hq | |
| /-- A genuine normalization on the WHOLE actual twisted bundle pair, | |
| agreeing with the normalization on any preselected graph chart. -/ | |
| theorem twistedHyperplaneBundle_exists_global_normalization | |
| (Fβ : β i, GraphFrame 1 (twistedProjectiveDimensions K h i)) (hp : 0 < h+β i, K i) : | |
| β f : relativeSingularHomology | |
| (subspaceInclusion (nonzeroBundle : Set (TotalSpace (EuclideanSpace β (TwistedHyperplaneSlot K h)) | |
| (twistedHyperplaneSumCore K h).Fiber))) (2*(h+β i, K i)) βΆ | |
| relativeSingularHomology (subspaceInclusion ({0}αΆ : Set (TwistedHyperplaneSlot K h β β))) | |
| (2*(h+β i, K i)), | |
| restrictedPairToAmbientHomologyMap (twistedGraphBundleChartDomain K h Fβ) nonzeroBundle | |
| (2*(h+β i, K i)) β« f = twistedGraphBundleChartNormalization K h Fβ (2*(h+β i, K i)) := by | |
| classical | |
| obtain β¨S,hFβ,hSβ© := projectiveProduct_finiteGraphCover (twistedProjectiveDimensions K h) Fβ | |
| have hopen : β F β S, IsOpen (twistedGraphBundleChartDomain K h F) := | |
| fun F _ => (projectiveProductGraphChart (twistedProjectiveDimensions K h) F).open_source.preimage (FiberBundle.continuous_proj _ _) | |
| have hcover : (β F β S, twistedGraphBundleChartDomain K h F) = univ := by | |
| ext z | |
| have hz : z.proj β β F β S, (projectiveProductGraphChart (twistedProjectiveDimensions K h) F).source := by | |
| rw [hS]; trivial | |
| simpa only [mem_iUnion, twistedGraphBundleChartDomain, twistedGraphBundleDomain, | |
| mem_ofPred_eq, mem_univ, iff_true] using hz | |
| let n := 2*(h+β i, K i)-1 | |
| have hn : n+1 = 2*(h+β i, K i) := by dsimp [n]; omega | |
| have hex := finiteRelativeOpenCover_exists_glue S (twistedGraphBundleChartDomain K h) | |
| nonzeroBundle hopen hcover n | |
| (fun T ht _ q hq => twistedGraphBundleChartIntersection_below_isZero K h T ht hp q (by omega)) | |
| (fun F => twistedGraphBundleChartNormalization K h F (n+1)) | |
| (fun F _ G _ => by rw [hn]; exact twistedGraphBundleChartNormalization_compatible K h F G hp) | |
| rw [hn] at hex | |
| obtain β¨f,hfβ© := hex | |
| exact β¨f,hf Fβ hFββ© | |
| end Kaplansky | |
| end | |
| end OAI | |