Download data/lean/OAI/Geometry/Kahler/BaseChartLow.lean from introvoyz045/math: direct link, hf CLI and curl.
- Browser
- Download file 5.67 kB
-
https://huggingface.co/datasets/introvoyz045/math/resolve/main/data/lean/OAI/Geometry/Kahler/BaseChartLow.lean
- Command line
-
hf download hf://datasets/introvoyz045/math/data/lean/OAI/Geometry/Kahler/BaseChartLow.lean
-
curl -L -o BaseChartLow.lean https://huggingface.co/datasets/introvoyz045/math/resolve/main/data/lean/OAI/Geometry/Kahler/BaseChartLow.lean
5.67 kB
| import OAI.Geometry.Kahler.BaseAnisotropic | |
| namespace OAI | |
| open Complex | |
| open scoped ContDiff Matrix Matrix.Norms.Elementwise | |
| open scoped ContDiff Matrix Matrix.Norms.Elementwise ComplexOrder | |
| open scoped ContDiff ComplexOrder | |
| open scoped ContDiff ENNReal | |
| open Set Filter Topology MeasureTheory | |
| open scoped ContDiff ENNReal Pointwise | |
| open Set Filter Topology | |
| open scoped ContDiff | |
| noncomputable section | |
| open Set Filter Topology | |
| open scoped ContDiff | |
| namespace PinchedHartogs.BaseConstruction | |
| def anisotropicChart (k : β) (r : β) (z : Base) : Base := | |
| WithLp.toLp 2 ![(k:β)*(((r:β)+z 0)/(1+(r:β)*z 0)-(r:β)), | |
| (Real.sqrt (k:β):β)*(Real.sqrt (1-r^2):β)*z 1/(1+(r:β)*z 0)] | |
| lemma anisotropicChart_identity {k : β} (hk : 1 β€ k) (r : β) | |
| (U : Base ββα΅’[β] Base) (z : Base) : | |
| U (anisotropicMap k r (anisotropicChart k r z))=centeredChart r U z := by | |
| have hk0 : (k:β) β 0 := by exact_mod_cast (show k β 0 by omega) | |
| have hs0 : (Real.sqrt (k:β):β) β 0 := by | |
| exact_mod_cast (Real.sqrt_pos.mpr (by exact_mod_cast (show 0 < k by omega))).ne' | |
| congr 1 | |
| ext i | |
| fin_cases i <;> dsimp [anisotropicMap,anisotropicChart,centeredChart] | |
| all_goals | |
| by_cases hd : 1+(r:β)*z 0=0 | |
| Β· simp [hd] | |
| <;> field_simp [hk0,hs0] | |
| <;> ring | |
| Β· field_simp [hk0,hs0,hd] | |
| <;> ring | |
| lemma anisotropicChart_norm {k : β} (hk : 1 β€ k) {r : β} (hr : 0 β€ r) (hr1 : r < 1) | |
| (hkr : (k:β)*(1-r) β€ 1) {z : Base} (hz : βzβ < (1/32:β)) : | |
| βanisotropicChart k r zβ β€ Real.sqrt ((k:β)*(1-r))/4 := by | |
| have hkpos : 0 < (k:β) := by exact_mod_cast (show 0 < k by omega) | |
| have hΞ΄ : 0 < 1-r := by linarith | |
| have hs : 0 < Real.sqrt ((k:β)*(1-r)) := Real.sqrt_pos.mpr (mul_pos hkpos hΞ΄) | |
| have hs2 := Real.sq_sqrt (mul_nonneg hkpos.le hΞ΄.le) | |
| have hs1 : Real.sqrt ((k:β)*(1-r)) β€ 1 := (Real.sqrt_le_one).2 hkr | |
| have hkst : (k:β)*(1-r) β€ Real.sqrt ((k:β)*(1-r)) := by nlinarith | |
| have hden := chart_small_ball hr hr1 hz | |
| have hdenpos : 0 < β1+(r:β)*z 0β := by linarith | |
| have hd : 1+(r:β)*z 0 β 0 := norm_ne_zero_iff.mp hdenpos.ne' | |
| have hz0 := PiLp.norm_apply_le (p := (2:ENNReal)) z 0 | |
| have hz1 := PiLp.norm_apply_le (p := (2:ENNReal)) z 1 | |
| have hrr : 0 β€ 1-r^2 := by nlinarith | |
| have hid : ((r:β)+z 0)/(1+(r:β)*z 0)-(r:β) = ((1-r^2:β):β)*z 0/(1+(r:β)*z 0) := by | |
| push_cast | |
| field_simp | |
| ring | |
| have hfirst : β(k:β)*(((r:β)+z 0)/(1+(r:β)*z 0)-(r:β))β β€ Real.sqrt ((k:β)*(1-r))/8 := by | |
| rw [hid,norm_mul,norm_div,norm_mul,Complex.norm_natCast,Complex.norm_real,Real.norm_eq_abs,abs_of_nonneg hrr] | |
| rw [β mul_div_assoc] | |
| apply (div_le_iffβ hdenpos).2 | |
| have hn : (k:β)*(1-r^2) β€ 2*((k:β)*(1-r)) := by nlinarith | |
| have hmul : (k:β)*(1-r^2)*βz 0β β€ 2*Real.sqrt ((k:β)*(1-r))*(1/32) := by | |
| calc _ β€ (2*((k:β)*(1-r)))*βz 0β := mul_le_mul_of_nonneg_right hn (norm_nonneg _) | |
| _ β€ (2*Real.sqrt ((k:β)*(1-r)))*(1/32) := | |
| mul_le_mul (by nlinarith) (by linarith) (norm_nonneg _) (by positivity) | |
| nlinarith | |
| have hsprod : Real.sqrt (k:β)*Real.sqrt (1-r^2) β€ 2*Real.sqrt ((k:β)*(1-r)) := by | |
| have h1 := Real.sq_sqrt hkpos.le | |
| have h2 := Real.sq_sqrt hrr | |
| have he : (Real.sqrt (k:β)*Real.sqrt (1-r^2))^2=(k:β)*(1-r^2) := by rw [mul_pow,h1,h2] | |
| have hn : (k:β)*(1-r^2) β€ 4*((k:β)*(1-r)) := by nlinarith | |
| nlinarith [mul_nonneg (Real.sqrt_nonneg (k:β)) (Real.sqrt_nonneg (1-r^2))] | |
| have hsecond : β(Real.sqrt (k:β):β)*(Real.sqrt (1-r^2):β)*z 1/(1+(r:β)*z 0)β β€ Real.sqrt ((k:β)*(1-r))/8 := by | |
| rw [norm_div,norm_mul,norm_mul,Complex.norm_real,Complex.norm_real,Real.norm_eq_abs,Real.norm_eq_abs, | |
| abs_of_nonneg (Real.sqrt_nonneg _),abs_of_nonneg (Real.sqrt_nonneg _)] | |
| apply (div_le_iffβ hdenpos).2 | |
| have hm : Real.sqrt (k:β)*Real.sqrt (1-r^2)*βz 1β β€ 2*Real.sqrt ((k:β)*(1-r))*(1/32) := | |
| mul_le_mul hsprod (by linarith) (norm_nonneg _) (by positivity) | |
| nlinarith | |
| have hnorm : βanisotropicChart k r zβ^2 = | |
| β(k:β)*(((r:β)+z 0)/(1+(r:β)*z 0)-(r:β))β^2+ | |
| β(Real.sqrt (k:β):β)*(Real.sqrt (1-r^2):β)*z 1/(1+(r:β)*z 0)β^2 := by | |
| simp [anisotropicChart,EuclideanSpace.norm_sq_eq,Fin.sum_univ_two] | |
| have hn0 := norm_nonneg ((k:β)*(((r:β)+z 0)/(1+(r:β)*z 0)-(r:β))) | |
| have hn1 := norm_nonneg ((Real.sqrt (k:β):β)*(Real.sqrt (1-r^2):β)*z 1/(1+(r:β)*z 0)) | |
| nlinarith [norm_nonneg (anisotropicChart k r z)] | |
| lemma peak_chart_low : β B : β, 0 β€ B β§ β {D : β}, 1 β€ D β β {k : β}, 1 β€ k β | |
| β {P : Finset Sphere}, ProjectivelySeparated (D/Real.sqrt k) P β β {r : β}, 0 β€ r β r < 1 β | |
| (k:β)*(1-r) β€ 1 β β U : Base ββα΅’[β] Base, β z : Base, βzβ < 1/32 β | |
| βpeakPolynomial P k (centeredChart r U z)-peakPolynomial P k (centeredChart r U 0)β β€ B*Real.sqrt ((k:β)*(1-r)) := by | |
| obtain β¨B,hB,hBbβ© := peak_anisotropic_lipschitz | |
| refine β¨B,hB,?_β© | |
| intro D hD k hk P hP r hr hr1 hkr U z hz | |
| have hn := anisotropicChart_norm hk hr hr1 hkr hz | |
| have hs1 : Real.sqrt ((k:β)*(1-r)) β€ 1 := Real.sqrt_le_one.mpr hkr | |
| have hn1 : βanisotropicChart k r zβ β€ 1/2 := by linarith | |
| have hh := hBb hD hk hP hr hr1.le U _ hn1 | |
| rw [anisotropicChart_identity hk] at hh | |
| have hzero : U (anisotropicMap k r 0)=centeredChart r U 0 := by | |
| unfold anisotropicMap centeredChart | |
| simp | |
| rw [hzero] at hh | |
| exact hh.trans ((mul_le_mul_of_nonneg_left hn hB).trans (by nlinarith [Real.sqrt_nonneg ((k:β)*(1-r))])) | |
| end PinchedHartogs.BaseConstruction | |
| end | |
| end OAI | |