Download data/lean/OAI/Geometry/BundleTests/Smooth.lean from introvoyz045/math: direct link, hf CLI and curl.
- Browser
- Download file 7.79 kB
-
https://huggingface.co/datasets/introvoyz045/math/resolve/main/data/lean/OAI/Geometry/BundleTests/Smooth.lean
- Command line
-
hf download hf://datasets/introvoyz045/math/data/lean/OAI/Geometry/BundleTests/Smooth.lean
-
curl -L -o Smooth.lean https://huggingface.co/datasets/introvoyz045/math/resolve/main/data/lean/OAI/Geometry/BundleTests/Smooth.lean
7.79 kB
| import OAI.Geometry.ComplexBundle.Replacement | |
| import OAI.Geometry.ComplexBundle.SmoothLine | |
| namespace OAI | |
| noncomputable section | |
| /-! Smooth bases and test bundles with replacement maps. -/ | |
| section | |
| open Topology | |
| open scoped Manifold ContDiff BigOperators | |
| namespace Kaplansky | |
| open ComplexGrassmann | |
| abbrev SmoothTestBase (m R : β) := ProjectiveProduct (testProjectiveDimension m R) | |
| abbrev SmoothTestModel (m R : β) := ProjectiveProductModel (testProjectiveDimension m R) | |
| def testFactorProjectiveHomeomorph (m R : β) (i : Fin R) : | |
| projectionSpace (testProjectiveDimension m R i+1) 1 ββ | |
| Grassmann 1 (testProjectiveDimension m R i) := by | |
| let P : β β Type := fun d => projectionSpace d 1 ββ Grassmann 1 (testProjectiveDimension m R i) | |
| exact Eq.mp (congrArg P (Nat.add_comm 1 (testProjectiveDimension m R i))) | |
| (projectiveProjectionHomeomorph (testProjectiveDimension m R i)) | |
| def testBaseProjectiveHomeomorph (m R : β) : BundleTestBase m R ββ SmoothTestBase m R := | |
| Homeomorph.piCongrRight (testFactorProjectiveHomeomorph m R) | |
| instance (m R : β) : IsManifold π(β,SmoothTestModel m R) β (SmoothTestBase m R) := inferInstance | |
| instance (m R : β) : CompactSpace (SmoothTestBase m R) := inferInstance | |
| instance (m R : β) : T2Space (SmoothTestBase m R) := inferInstance | |
| abbrev SmoothPrefixBase (m R j : β) (hj : j<R) := | |
| ProjectiveProduct (fun i : Fin (j+1) => testProjectiveDimension m R (i.castLE hj)) | |
| abbrev SmoothPrefixModel (m R j : β) (hj : j<R) := | |
| ProjectiveProductModel (fun i : Fin (j+1) => testProjectiveDimension m R (i.castLE hj)) | |
| theorem smoothPrefix_incidence_margin {m R j : β} (hm : 0<m) (hj : j<R) : | |
| 3*Module.finrank β (SmoothPrefixModel m R j hj) < 40*m*testRank m R j := by | |
| rw [projectiveProduct_real_finrank] | |
| have h := testPrefixDimension_margin hm hj | |
| change 3*testPrefixDimension m R j hj < _ at h | |
| change 3*(2*testPrefixDimension m R j hj)<_ | |
| nlinarith | |
| end Kaplansky | |
| end | |
| section | |
| open Bundle Topology | |
| open scoped Manifold ContDiff | |
| namespace Kaplansky | |
| open ComplexGrassmann | |
| abbrev stageProjectiveDimensions (m R b : β) (hb : bβ€R) : Fin b β β := | |
| fun i => testProjectiveDimension m R (i.castLE hb) | |
| /-- E_n on the first b projective factors, retaining the full-R K_i. -/ | |
| def smoothTestBundleCore (m R b n : β) (hb : bβ€R) (hn : nβ€b) := | |
| smoothLineSumCore (stageProjectiveDimensions m R b hb) | |
| (fun s : TestBundleSlot m R n => testSummandLineIndex hn s.1) | |
| abbrev SmoothTestBundle (m R b n : β) (hb : bβ€R) (hn : nβ€b) := | |
| (smoothTestBundleCore m R b n hb hn).Fiber | |
| instance smoothTestBundle_norm (m R b n : β) (hb : bβ€R) (hn : nβ€b) | |
| (P : ProjectiveProduct (stageProjectiveDimensions m R b hb)) : | |
| NormedAddCommGroup (SmoothTestBundle m R b n hb hn P) := smoothLineSum_norm _ _ P | |
| instance smoothTestBundle_inner (m R b n : β) (hb : bβ€R) (hn : nβ€b) | |
| (P : ProjectiveProduct (stageProjectiveDimensions m R b hb)) : | |
| InnerProductSpace β (SmoothTestBundle m R b n hb hn P) := smoothLineSum_inner _ _ P | |
| instance smoothTestBundle_smooth (m R b n : β) (hb : bβ€R) (hn : nβ€b) : | |
| ContMDiffVectorBundle β (EuclideanSpace β (TestBundleSlot m R n)) | |
| (SmoothTestBundle m R b n hb hn) | |
| π(β,ProjectiveProductModel (stageProjectiveDimensions m R b hb)) := | |
| smoothLineSum_contMDiffVectorBundle _ _ | |
| theorem smoothTestBundle_finrank (m R b n : β) (hb : bβ€R) (hn : nβ€b) | |
| (P : ProjectiveProduct (stageProjectiveDimensions m R b hb)) : | |
| Module.finrank β (SmoothTestBundle m R b n hb hn P) = testRank m R n := by | |
| change Module.finrank β (EuclideanSpace β (TestBundleSlot m R n)) = _ | |
| simpa [TestBundleSlot] using (sum_testMultiplicity (m := m) (hn.trans hb)) | |
| /-- The fresh block on Y_{j+1}, consisting of exactly a_{j+1,j+1} | |
| occurrences of the hyperplane line of its last factor. -/ | |
| def smoothFreshCore (m R j : β) (hj : j<R) := | |
| smoothLineSumCore (stageProjectiveDimensions m R (j+1) hj) | |
| (fun _ : Fin (testMultiplicity m R (j+1) (Fin.last (j+1))) => some (Fin.last j)) | |
| end Kaplansky | |
| end | |
| section | |
| open Bundle Topology | |
| namespace Kaplansky | |
| def testReplacementMultiplicity (m R j : β) (i : Fin (j+1)) : β := | |
| testMultiplicity m R (j+1) i.castSucc | |
| def testReplacementCore (m R j : β) (hj : jβ€R) := | |
| repeatedLineCore (fun i : Fin (j+1) => testLineCore m R (testSummandLineIndex hj i)) | |
| (testReplacementMultiplicity m R j) | |
| abbrev TestReplacementModel (m R j : β) := RepeatedLineModel (testReplacementMultiplicity m R j) | |
| theorem exists_testBundle_replacements {m R j : β} (hm : 0<m) (hj : j<R) : | |
| β A : β y, Fin 16 β TestBundle m R j hj.le y ββ[β] | |
| (testReplacementCore m R j hj.le).Fiber y, | |
| (β i, Continuous (fun z : TotalSpace (EuclideanSpace β (TestBundleSlot m R j)) | |
| (TestBundle m R j hj.le) => | |
| TotalSpace.mk' (TestReplacementModel m R j) z.proj (A z.proj i z.2))) β§ | |
| β y, ExpandingThrough m (A y) := by | |
| let C := fun i : Fin (j+1) => testLineCore m R (testSummandLineIndex hj.le i) | |
| let r := testReplacementMultiplicity m R j | |
| have hr : β i,16*mβ€r i := by | |
| intro i | |
| have hq := testMultiplicity_quarter (m := m) hj i | |
| have hl := testMultiplicity_lower_bound (m := m) hj i | |
| change 16*mβ€testMultiplicity m R (j+1) i.castSucc | |
| omega | |
| have he : (fun i : Fin (j+1) => 4*r i) = testMultiplicity m R j := by | |
| funext i | |
| exact testMultiplicity_quarter hj i | |
| let P : (Fin (j+1) β β) β Prop := fun D => | |
| β A : β y, Fin 16 β (repeatedLineCore C D).Fiber y ββ[β] (repeatedLineCore C r).Fiber y, | |
| (β i, Continuous (fun z : TotalSpace (RepeatedLineModel D) (repeatedLineCore C D).Fiber => | |
| TotalSpace.mk' (RepeatedLineModel r) z.proj (A z.proj i z.2))) β§ | |
| β y, ExpandingThrough m (A y) | |
| have h : P (fun i => 4*r i) := exists_continuous_repeatedLine_replacements C m hm r hr | |
| exact Eq.mp (congrArg P he) h | |
| end Kaplansky | |
| end | |
| open Bundle Topology | |
| namespace Kaplansky | |
| open ComplexGrassmann | |
| def smoothReplacementCore (m R j : β) (hj : j<R) := | |
| repeatedLineCore (fun i : Fin (j+1) => | |
| productLineCore (stageProjectiveDimensions m R (j+1) hj) | |
| (testSummandLineIndex (Nat.le_succ j) i)) (testReplacementMultiplicity m R j) | |
| theorem exists_smoothTest_replacements {m R j : β} (hm : 0<m) (hj : j<R) : | |
| β A : β y, Fin 16 β SmoothTestBundle m R (j+1) j hj (Nat.le_succ j) y ββ[β] | |
| (smoothReplacementCore m R j hj).Fiber y, | |
| (β i, Continuous (fun z : TotalSpace (EuclideanSpace β (TestBundleSlot m R j)) | |
| (SmoothTestBundle m R (j+1) j hj (Nat.le_succ j)) => | |
| TotalSpace.mk' (TestReplacementModel m R j) z.proj (A z.proj i z.2))) β§ | |
| β y, ExpandingThrough m (A y) := by | |
| let C := fun i : Fin (j+1) => productLineCore (stageProjectiveDimensions m R (j+1) hj) | |
| (testSummandLineIndex (Nat.le_succ j) i) | |
| let r := testReplacementMultiplicity m R j | |
| have hr : β i,16*mβ€r i := by | |
| intro i | |
| have hq := testMultiplicity_quarter (m := m) hj i | |
| have hl := testMultiplicity_lower_bound (m := m) hj i | |
| change 16*mβ€testMultiplicity m R (j+1) i.castSucc | |
| omega | |
| have he : (fun i : Fin (j+1) => 4*r i) = testMultiplicity m R j := by | |
| funext i | |
| exact testMultiplicity_quarter hj i | |
| let P : (Fin (j+1) β β) β Prop := fun D => | |
| β A : β y, Fin 16 β (repeatedLineCore C D).Fiber y ββ[β] (repeatedLineCore C r).Fiber y, | |
| (β i, Continuous (fun z : TotalSpace (RepeatedLineModel D) (repeatedLineCore C D).Fiber => | |
| TotalSpace.mk' (RepeatedLineModel r) z.proj (A z.proj i z.2))) β§ | |
| β y, ExpandingThrough m (A y) | |
| have h : P (fun i => 4*r i) := exists_continuous_repeatedLine_replacements C m hm r hr | |
| exact Eq.mp (congrArg P he) h | |
| end Kaplansky | |
| end | |
| end OAI | |