Download data/lean/OAI/Geometry/Anticanonical/CompactSections.lean from introvoyz045/math: direct link, hf CLI and curl.
- Browser
- Download file 13.6 kB
-
https://huggingface.co/datasets/introvoyz045/math/resolve/main/data/lean/OAI/Geometry/Anticanonical/CompactSections.lean
- Command line
-
hf download hf://datasets/introvoyz045/math/data/lean/OAI/Geometry/Anticanonical/CompactSections.lean
-
curl -L -o CompactSections.lean https://huggingface.co/datasets/introvoyz045/math/resolve/main/data/lean/OAI/Geometry/Anticanonical/CompactSections.lean
13.6 kB
| import Mathlib | |
| namespace OAI | |
| /-! Equicontinuity and finite-dimensionality of holomorphic sections on compact manifolds. -/ | |
| noncomputable section | |
| open Bundle Set Filter | |
| open scoped Manifold Bundle Topology BoundedContinuousFunction | |
| namespace CompactSections | |
| variable {E F : Type*} [NormedAddCommGroup E] [NormedSpace β E] | |
| [NormedAddCommGroup F] [NormedSpace β F] | |
| theorem equicontinuousAt_of_ball_bound {ΞΉ : Type*} (f : ΞΉ β E β F) | |
| (x : E) {r C : β} (hr : 0 < r) | |
| (hd : β i, DifferentiableOn β (f i) (Metric.ball x r)) | |
| (hb : β i y, y β Metric.ball x r β βf i yβ β€ C) : | |
| EquicontinuousAt f x := by | |
| apply Metric.equicontinuousAt_iff.mpr | |
| intro Ξ΅ hΞ΅ | |
| let D := 2 * max C 0 / r | |
| have hD : 0 β€ D := div_nonneg (mul_nonneg (by norm_num) (le_max_right _ _)) hr.le | |
| refine β¨min r (Ξ΅ / (D + 1)), lt_min hr (div_pos hΞ΅ (by positivity)), ?_β© | |
| intro y hy i | |
| have hyr : y β Metric.ball x r := hy.trans_le (min_le_left _ _) | |
| have hmap : MapsTo (f i) (Metric.ball x r) (Metric.closedBall (f i x) (2 * max C 0)) := by | |
| intro z hz | |
| change dist (f i z) (f i x) β€ _ | |
| calc | |
| dist (f i z) (f i x) β€ βf i zβ + βf i xβ := dist_le_norm_add_norm _ _ | |
| _ β€ C + C := add_le_add (hb i z hz) (hb i x (Metric.mem_ball_self hr)) | |
| _ β€ 2 * max C 0 := by linarith [le_max_left C 0] | |
| have hSchwarz := Complex.dist_le_div_mul_dist_of_mapsTo_ball (hd i) hmap hyr | |
| rw [dist_comm] at hSchwarz | |
| apply hSchwarz.trans_lt | |
| have hyΞ΅ : dist y x < Ξ΅ / (D + 1) := hy.trans_le (min_le_right _ _) | |
| have hstrict : (D + 1) * dist y x < Ξ΅ := by | |
| nlinarith [(lt_div_iffβ (show 0 < D + 1 by positivity)).mp hyΞ΅] | |
| change D * dist y x < Ξ΅ | |
| nlinarith [dist_nonneg (Ξ± := E) (x := y) (y := x)] | |
| theorem equicontinuousAt_clm_apply {X ΞΉ : Type*} [TopologicalSpace X] | |
| (f : ΞΉ β X β F) (A : X β F βL[β] F) (x : X) | |
| (hf : EquicontinuousAt f x) (hA : ContinuousAt A x) | |
| {C : β} (hb : β i, βf i xβ β€ C) : | |
| EquicontinuousAt (fun i y => A y (f i y)) x := by | |
| apply Metric.equicontinuousAt_iff_right.mpr | |
| intro Ξ΅ hΞ΅ | |
| let K := βA xβ + 1 | |
| let L := max C 0 + 1 | |
| have hK : 0 < K := by dsimp [K]; positivity | |
| have hL : 0 < L := by dsimp [L]; positivity | |
| have hsmall := (Metric.equicontinuousAt_iff_right.mp hf) | |
| (Ξ΅ / 2 / K) (div_pos (half_pos hΞ΅) hK) | |
| have hopen : βαΆ y in π x, βA y - A xβ < min 1 (Ξ΅ / 2 / L) := by | |
| simpa only [dist_eq_norm] using | |
| (Metric.tendsto_nhds.mp hA _ (lt_min zero_lt_one (div_pos (half_pos hΞ΅) hL))) | |
| filter_upwards [hsmall, hopen] with y hy hAy | |
| intro i | |
| have hnorm : βA yβ β€ K := by | |
| have := norm_le_norm_add_norm_sub (A x) (A y) | |
| rw [norm_sub_rev] at this | |
| dsimp [K] | |
| linarith [lt_of_lt_of_le hAy (min_le_left _ _)] | |
| have hβ : dist (A y (f i y)) (A y (f i x)) < Ξ΅ / 2 := by | |
| calc | |
| dist (A y (f i y)) (A y (f i x)) β€ βA yβ * dist (f i y) (f i x) := | |
| (A y).dist_le_opNorm _ _ | |
| _ β€ K * dist (f i x) (f i y) := by rw [dist_comm]; gcongr | |
| _ < Ξ΅ / 2 := by | |
| have := (lt_div_iffβ hK).mp (hy i) | |
| nlinarith | |
| have hβ : dist (A y (f i x)) (A x (f i x)) < Ξ΅ / 2 := by | |
| calc | |
| dist (A y (f i x)) (A x (f i x)) = β(A y - A x) (f i x)β := by | |
| rw [dist_eq_norm]; rfl | |
| _ β€ βA y - A xβ * βf i xβ := (A y - A x).le_opNorm _ | |
| _ β€ βA y - A xβ * L := by | |
| gcongr | |
| exact (hb i).trans (by dsimp [L]; linarith [le_max_left C 0]) | |
| _ < Ξ΅ / 2 := by | |
| have := (lt_div_iffβ hL).mp (lt_of_lt_of_le hAy (min_le_right _ _)) | |
| exact this | |
| rw [dist_comm] | |
| exact (dist_triangle _ (A y (f i x)) _).trans_lt (by linarith) | |
| section ManifoldLocal | |
| variable {M : Type*} [TopologicalSpace M] [ChartedSpace E M] | |
| [IsManifold π(β, E) (β€ : WithTop ββ) M] | |
| theorem equicontinuousAt_of_local_holomorphic_bound {ΞΉ : Type*} (f : ΞΉ β M β F) | |
| {U : Set M} (hU : IsOpen U) {x : M} (hx : x β U) {C : β} | |
| (hd : β i, MDifferentiableOn π(β, E) π(β, F) (f i) U) | |
| (hb : β i y, y β U β βf i yβ β€ C) : | |
| EquicontinuousAt f x := by | |
| let e := extChartAt π(β, E) x | |
| have het : IsOpen e.target := isOpen_extChartAt_target x | |
| have hex : e x β e.target := mem_extChartAt_target x | |
| have hec : ContinuousAt e.symm (e x) := | |
| (contMDiffOn_extChartAt_symm (I := π(β, E)) (n := (β€ : WithTop ββ)) x).continuousOn.continuousAt | |
| (het.mem_nhds hex) | |
| have hpre : e.symm β»ΒΉ' U β π (e x) := by | |
| apply hec.preimage_mem_nhds | |
| simpa only [e, extChartAt_to_inv] using hU.mem_nhds hx | |
| obtain β¨r, hr, hballβ© := Metric.mem_nhds_iff.mp (inter_mem (het.mem_nhds hex) hpre) | |
| have heq : EquicontinuousAt (fun i => f i β e.symm) (e x) := by | |
| refine equicontinuousAt_of_ball_bound (C := C) _ _ hr ?_ ?_ | |
| Β· intro i y hy | |
| have hyt := (hball hy).1 | |
| have hyU := (hball hy).2 | |
| have hemd : MDifferentiableAt π(β, E) π(β, E) e.symm y := | |
| ((contMDiffOn_extChartAt_symm (I := π(β, E)) | |
| (n := (β€ : WithTop ββ)) x y hyt).contMDiffAt (het.mem_nhds hyt)).mdifferentiableAt (by simp) | |
| exact (mdifferentiableAt_iff_differentiableAt.mp | |
| (((hd i _ hyU).mdifferentiableAt (hU.mem_nhds hyU)).comp y hemd)).differentiableWithinAt | |
| Β· intro i y hy | |
| exact hb i _ (hball hy).2 | |
| apply Metric.equicontinuousAt_iff_right.mpr | |
| intro Ξ΅ hΞ΅ | |
| have hΞ΅' := (Metric.equicontinuousAt_iff_right.mp heq Ξ΅ hΞ΅) | |
| have hecont : ContinuousAt e x := | |
| (contMDiffAt_extChartAt (I := π(β, E)) (n := (β€ : WithTop ββ))).continuousAt | |
| filter_upwards [hecont hΞ΅', extChartAt_source_mem_nhds (I := π(β, E)) x] with y hy hys | |
| intro i | |
| simpa only [Function.comp_apply, e.left_inv hys, e, extChartAt_to_inv] using hy i | |
| end ManifoldLocal | |
| section CompactCover | |
| variable [FiniteDimensional β E] [FiniteDimensional β F] | |
| {M : Type*} [TopologicalSpace M] [T2Space M] | |
| [ChartedSpace E M] [IsManifold π(β, E) (β€ : WithTop ββ) M] | |
| (V : M β Type*) [TopologicalSpace (TotalSpace F V)] | |
| [β x, TopologicalSpace (V x)] [β x, AddCommGroup (V x)] [β x, Module β (V x)] | |
| [FiberBundle F V] [VectorBundle β F V] | |
| [ContMDiffVectorBundle (β€ : WithTop ββ) F V π(β, E)] | |
| {ΞΉ : Type*} [Fintype ΞΉ] | |
| (e : ΞΉ β Trivialization F (TotalSpace.proj : TotalSpace F V β M)) | |
| [β i, MemTrivializationAtlas (e i)] | |
| (K : ΞΉ β Set M) (hK : β i, IsCompact (K i)) (hsub : β i, K i β (e i).baseSet) | |
| abbrev HolSections := ContMDiffSection π(β, E) F (β€ : WithTop ββ) V | |
| def sectionProfile : HolSections (E := E) (F := F) V ββ[β] (β i, K i βα΅ F) where | |
| toFun s i := by | |
| letI : CompactSpace (K i) := (isCompact_iff_compactSpace.mp (hK i)) | |
| exact BoundedContinuousFunction.mkOfCompact | |
| β¨(fun x => (e i β¨x.1, s x.1β©).2), | |
| (((e i).contMDiffOn_section_baseSet_iff.mp s.contMDiff.contMDiffOn).continuousOn.mono | |
| (hsub i)).domRestrictβ© | |
| map_add' s t := by | |
| funext i | |
| apply BoundedContinuousFunction.ext | |
| intro x | |
| exact ((e i).linearEquivAt β x.1 (hsub i x.2)).map_add (s x.1) (t x.1) | |
| map_smul' c s := by | |
| funext i | |
| apply BoundedContinuousFunction.ext | |
| intro x | |
| exact ((e i).linearEquivAt β x.1 (hsub i x.2)).map_smul c (s x.1) | |
| omit [FiniteDimensional β E] [FiniteDimensional β F] [T2Space M] | |
| [IsManifold π(β, E) β€ M] [Fintype ΞΉ] in | |
| theorem sectionProfile_injective (hcover : β x, β i, x β interior (K i)) : | |
| Function.Injective (sectionProfile (E := E) V e K hK hsub) := by | |
| intro s t h | |
| ext x | |
| obtain β¨i, hiβ© := hcover x | |
| have hxK := interior_subset hi | |
| apply ((e i).linearEquivAt β x (hsub i hxK)).injective | |
| exact congrArg (fun f : β i, K i βα΅ F => f i β¨x, hxKβ©) h | |
| include hsub in | |
| omit [FiniteDimensional β E] [FiniteDimensional β F] [T2Space M] [Fintype ΞΉ] in | |
| theorem sectionProfiles_equicontinuous {S : Type*} | |
| (s : S β HolSections (E := E) (F := F) V) | |
| (hcover : β x, β i, x β interior (K i)) {C : β} | |
| (hb : β t i x, x β K i β β(e i β¨x, s t xβ©).2β β€ C) (i : ΞΉ) : | |
| Equicontinuous (fun t (x : K i) => (e i β¨x.1, s t x.1β©).2) := by | |
| intro x | |
| obtain β¨j, hjβ© := hcover x.1 | |
| have hlocal : EquicontinuousAt (fun t y => (e j β¨y, s t yβ©).2) x.1 := by | |
| refine equicontinuousAt_of_local_holomorphic_bound (E := E) (C := C) _ isOpen_interior hj ?_ ?_ | |
| Β· intro t | |
| exact (((e j).contMDiffOn_section_baseSet_iff.mp | |
| (s t).contMDiff.contMDiffOn).mdifferentiableOn (by simp)).mono | |
| (interior_subset.trans (hsub j)) | |
| Β· intro t y hy | |
| exact hb t j y (interior_subset hy) | |
| let A : M β F βL[β] F := fun y => (e j).coordChangeL β (e i) y | |
| have hxbase : x.1 β (e j).baseSet β© (e i).baseSet := | |
| β¨hsub j (interior_subset hj), hsub i x.2β© | |
| have hopen : IsOpen ((e j).baseSet β© (e i).baseSet) := | |
| (e j).open_baseSet.inter (e i).open_baseSet | |
| have hA : ContinuousAt A x.1 := | |
| (continuousOn_coordChange β (e j) (e i)).continuousAt (hopen.mem_nhds hxbase) | |
| have heqc := equicontinuousAt_clm_apply _ A x.1 hlocal hA | |
| (fun t => hb t j x.1 (interior_subset hj)) | |
| have hid (t : S) (y : M) (hy : y β (e j).baseSet β© (e i).baseSet) : | |
| A y ((e j β¨y, s t yβ©).2) = (e i β¨y, s t yβ©).2 := by | |
| dsimp [A] | |
| rw [(e j).coordChangeL_apply (e i) hy, (e j).symm_apply_apply_mk hy.1] | |
| apply Metric.equicontinuousAt_iff_right.mpr | |
| intro Ξ΅ hΞ΅ | |
| have hev := (Metric.equicontinuousAt_iff_right.mp heqc Ξ΅ hΞ΅).and | |
| (hopen.mem_nhds hxbase) | |
| have hev' := (continuous_subtype_val.continuousAt (x := x)) hev | |
| filter_upwards [hev'] with y hy | |
| intro t | |
| simpa only [hid t x.1 hxbase, hid t y.1 hy.2] using hy.1 t | |
| include e hK hsub in | |
| omit [FiniteDimensional β E] [T2Space M] in | |
| theorem finiteDimensional_of_compact_cover | |
| (hcover : β x, β i, x β interior (K i)) : | |
| FiniteDimensional β (HolSections (E := E) (F := F) V) := by | |
| classical | |
| let H := HolSections (E := E) (F := F) V | |
| let P := β i, K i βα΅ F | |
| let p : H ββ[β] P := sectionProfile (E := E) V e K hK hsub | |
| have hp : Function.Injective p := sectionProfile_injective V e K hK hsub hcover | |
| let : NormedAddCommGroup H := NormedAddCommGroup.induced H P p hp | |
| let : NormedSpace β H := NormedSpace.induced β H P p | |
| have hiso : Isometry p := AddMonoidHomClass.isometry_of_norm p (fun _ => rfl) | |
| let B : Set H := Metric.closedBall 0 1 | |
| have hb (s : B) (i : ΞΉ) (x : M) (hx : x β K i) : β(e i β¨x, s.1 xβ©).2β β€ 1 := by | |
| calc | |
| β(e i β¨x, s.1 xβ©).2β = βp s.1 i β¨x, hxβ©β := rfl | |
| _ β€ βp s.1 iβ := (p s.1 i).norm_coe_le_norm _ | |
| _ β€ βp s.1β := norm_le_pi_norm _ i | |
| _ β€ 1 := by | |
| change βs.1β β€ 1 | |
| simpa only [B, Metric.mem_closedBall, dist_zero_right] using s.2 | |
| let A : β i, Set (K i βα΅ F) := fun i => (fun s : H => p s i) '' B | |
| have hcompact (i : ΞΉ) : IsCompact (closure (A i)) := by | |
| let : CompactSpace (K i) := isCompact_iff_compactSpace.mp (hK i) | |
| refine BoundedContinuousFunction.arzela_ascoli (Metric.closedBall 0 1) | |
| (isCompact_closedBall _ _) (A i) ?_ ?_ | |
| Β· intro f x hf | |
| obtain β¨s, hs, rflβ© := hf | |
| rw [Metric.mem_closedBall, dist_zero_right] | |
| exact hb β¨s, hsβ© i x.1 x.2 | |
| Β· have heq := sectionProfiles_equicontinuous V e K hsub | |
| (fun s : B => s.1) hcover hb i | |
| intro x | |
| apply Metric.equicontinuousAt_iff_right.mpr | |
| intro Ξ΅ hΞ΅ | |
| filter_upwards [Metric.equicontinuousAt_iff_right.mp (heq x) Ξ΅ hΞ΅] with y hy | |
| intro f | |
| obtain β¨s, hs, hsfβ© := f.2 | |
| change dist (f.1 x) (f.1 y) < Ξ΅ | |
| rw [β hsf] | |
| exact hy β¨s, hsβ© | |
| have htotal : TotallyBounded (p '' B) := by | |
| apply (isCompact_pi_infinite hcompact).totallyBounded.subset | |
| rintro _ β¨s, hs, rflβ© i | |
| exact subset_closure β¨s, hs, rflβ© | |
| exact FiniteDimensional.of_totallyBounded_nhds_zero β | |
| (Metric.closedBall_mem_nhds (0 : H) (by norm_num : (0 : β) < 1)) | |
| ((totallyBounded_image_iff hiso.isUniformInducing).mp htotal) | |
| end CompactCover | |
| variable [FiniteDimensional β E] [FiniteDimensional β F] | |
| {M : Type*} [TopologicalSpace M] [T2Space M] [CompactSpace M] | |
| [ChartedSpace E M] [IsManifold π(β, E) (β€ : WithTop ββ) M] | |
| (V : M β Type*) [TopologicalSpace (TotalSpace F V)] | |
| [β x, TopologicalSpace (V x)] [β x, AddCommGroup (V x)] [β x, Module β (V x)] | |
| [FiberBundle F V] [VectorBundle β F V] | |
| [ContMDiffVectorBundle (β€ : WithTop ββ) F V π(β, E)] | |
| omit [FiniteDimensional β E] in | |
| theorem finiteDimensional_holomorphic_sections : | |
| FiniteDimensional β (ContMDiffSection π(β, E) F (β€ : WithTop ββ) V) := by | |
| classical | |
| have hex (x : M) : β K : Set M, IsCompact K β§ x β interior K β§ | |
| K β (trivializationAt F V x).baseSet := | |
| exists_compact_subset (trivializationAt F V x).open_baseSet | |
| (mem_baseSet_trivializationAt F V x) | |
| choose K hK hxK hsub using hex | |
| obtain β¨I, hIβ© := isCompact_univ.elim_finite_subcover (fun x => interior (K x)) | |
| (fun _ => isOpen_interior) (fun x _ => mem_iUnion.mpr β¨x, hxK xβ©) | |
| let e (i : I) := trivializationAt F V i.1 | |
| let (i : I) : MemTrivializationAtlas (e i) := inferInstanceAs | |
| (MemTrivializationAtlas (trivializationAt F V i.1)) | |
| apply finiteDimensional_of_compact_cover (E := E) V e (fun i => K i.1) | |
| (fun i => hK i.1) (fun i => hsub i.1) | |
| intro x | |
| obtain β¨i, hi, hxβ© := mem_iUnionβ.mp (hI (mem_univ x)) | |
| exact β¨β¨i, hiβ©, hxβ© | |
| end CompactSections | |
| end | |
| end OAI | |