Download data/lean/OAI/Geometry/Kahler/BaseDensityThreshold.lean from introvoyz045/math: direct link, hf CLI and curl.
- Browser
- Download file 3.48 kB
-
https://huggingface.co/datasets/introvoyz045/math/resolve/main/data/lean/OAI/Geometry/Kahler/BaseDensityThreshold.lean
- Command line
-
hf download hf://datasets/introvoyz045/math/data/lean/OAI/Geometry/Kahler/BaseDensityThreshold.lean
-
curl -L -o BaseDensityThreshold.lean https://huggingface.co/datasets/introvoyz045/math/resolve/main/data/lean/OAI/Geometry/Kahler/BaseDensityThreshold.lean
3.48 kB
| import OAI.Geometry.Kahler.BaseProfileBounds | |
| 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 | |
| namespace PinchedHartogs.BaseConstruction | |
| lemma density_conditions_eventually {F B D K c Cβ Cβ R : β} | |
| (hgap : F < 1-2*c) (hder : Cβ < K*c) : | |
| βαΆ q : β in atTop, | |
| Real.exp (K*D/Real.sqrt q+2*R/q) β€ 2 β§ | |
| Real.exp (K*D/Real.sqrt q+2*R/q)*(F+B*(K/q)) β€ 1-2*c β§ | |
| K/q β€ 1 β§ Cβ/q^2 β€ 1 β§ Cβ+K/Real.sqrt q β€ K*c β§ Cβ+K/q β€ K*c := by | |
| have hq : Tendsto (fun q : β => K/q) atTop (π 0) := tendsto_const_nhds.div_atTop tendsto_id | |
| have hqs : Tendsto (fun q : β => K/Real.sqrt q) atTop (π 0) := tendsto_const_nhds.div_atTop Real.tendsto_sqrt_atTop | |
| have hqd : Tendsto (fun q : β => K*D/Real.sqrt q) atTop (π 0) := tendsto_const_nhds.div_atTop Real.tendsto_sqrt_atTop | |
| have hqr : Tendsto (fun q : β => 2*R/q) atTop (π 0) := tendsto_const_nhds.div_atTop tendsto_id | |
| have hqβ : Tendsto (fun q : β => Cβ/q^2) atTop (π 0) := tendsto_const_nhds.div_atTop (tendsto_pow_atTop (by norm_num : 2 β 0)) | |
| have hH : Tendsto (fun q : β => Real.exp (K*D/Real.sqrt q+2*R/q)) atTop (π 1) := by | |
| have hadd : Tendsto (fun q : β => K*D/Real.sqrt q+2*R/q) atTop (π 0) := by simpa using hqd.add hqr | |
| simpa only [Function.comp_def, Real.exp_zero] using (Real.continuous_exp.tendsto 0).comp hadd | |
| have hprod : Tendsto (fun q : β => Real.exp (K*D/Real.sqrt q+2*R/q)*(F+B*(K/q))) atTop (π F) := by | |
| simpa using hH.mul (tendsto_const_nhds.add (tendsto_const_nhds.mul hq)) | |
| have hdH : Tendsto (fun q : β => Cβ+K/Real.sqrt q) atTop (π Cβ) := by simpa using tendsto_const_nhds.add hqs | |
| have hdT : Tendsto (fun q : β => Cβ+K/q) atTop (π Cβ) := by simpa using tendsto_const_nhds.add hq | |
| filter_upwards [hH.eventually (gt_mem_nhds (by norm_num : (1:β)<2)),hprod.eventually (gt_mem_nhds hgap), | |
| hq.eventually (gt_mem_nhds zero_lt_one),hqβ.eventually (gt_mem_nhds zero_lt_one), | |
| hdH.eventually (gt_mem_nhds hder),hdT.eventually (gt_mem_nhds hder)] with q h1 h2 h3 h4 h5 h6 | |
| exact β¨h1.le,h2.le,h3.le,h4.le,h5.le,h6.leβ© | |
| lemma exists_density_constants {a : β} (p : RadialProfiles a) {B Fβ Bβ : β} | |
| (hB : 0 β€ B) (hFβ : 0 β€ Fβ) (hBβ : 0 β€ Bβ) : | |
| β c K : β, β N : β, 0 < c β§ 2*c β€ 1 β§ 0 < K β§ 2/c β€ (2:β)^N β§ | |
| p.F<1-2*c β§ 2*(1+2*Real.sqrt (2*p.R))*(4*(p.F+B)+Fβ+Bβ) < K*c := by | |
| let c := (1-p.F)/4 | |
| have hc : 0 < c := by dsimp [c]; linarith [p.F_lt] | |
| let Cβ := 2*(1+2*Real.sqrt (2*p.R))*(4*(p.F+B)+Fβ+Bβ) | |
| have hC : 0 β€ Cβ := by dsimp [Cβ]; have hF := p.F_nonneg; positivity | |
| let K := Cβ/c+1 | |
| have hK : 0 < K := by dsimp [K]; positivity | |
| have hc2 : c β€ 2 := by dsimp [c]; linarith [p.F_nonneg] | |
| obtain β¨N,hNβ© := exists_nat_pow_near ((one_le_div hc).mpr hc2) (by norm_num : (1:β)<2) | |
| refine β¨c,K,N+1,hc,?_,hK,?_,?_,?_β© | |
| Β· dsimp [c]; linarith [p.F_nonneg] | |
| Β· exact hN.2.le | |
| Β· dsimp [c]; linarith [p.F_lt] | |
| Β· dsimp [K] | |
| have he : (Cβ/c+1)*c=Cβ+c := by field_simp | |
| rw [he] | |
| linarith | |
| end PinchedHartogs.BaseConstruction | |
| end | |
| end OAI | |