math / data /lean /OAI /MathematicalPhysics /DefocusingNLS /Profile /CompactifiedSlowContinuity.lean
Download data/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/CompactifiedSlowContinuity.lean from introvoyz045/math: direct link, hf CLI and curl.
- Browser
- Download file 4.14 kB
-
https://huggingface.co/datasets/introvoyz045/math/resolve/main/data/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/CompactifiedSlowContinuity.lean
- Command line
-
hf download hf://datasets/introvoyz045/math/data/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/CompactifiedSlowContinuity.lean
-
curl -L -o CompactifiedSlowContinuity.lean https://huggingface.co/datasets/introvoyz045/math/resolve/main/data/lean/OAI/MathematicalPhysics/DefocusingNLS/Profile/CompactifiedSlowContinuity.lean
4.14 kB
| import OAI.MathematicalPhysics.DefocusingNLS.Profile.NormalizedSlowDerivative | |
| namespace OAI | |
| /-! # Continuous extension of the normalized slow solution at inverse radius zero -/ | |
| open Filter Topology Set | |
| namespace DefocusingNLS | |
| noncomputable def compactifiedSlowSolution (q : β) (m : β) (x : β) (t : β) : β := | |
| if t = 0 then 1 else normalizedSlowSolution q m (x / (t : β)) | |
| @[simp] theorem compactifiedSlowSolution_zero (q : β) (m : β) (x : β) : | |
| compactifiedSlowSolution q m x 0 = 1 := by simp [compactifiedSlowSolution] | |
| theorem compactifiedSlowSolution_pos (q : β) (m : β) (x : β) {t : β} (ht : 0 < t) : | |
| compactifiedSlowSolution q m x t = normalizedSlowSolution q m (x / (t : β)) := by | |
| simp [compactifiedSlowSolution, ht.ne'] | |
| theorem slow_div_real_re_nonneg {x : β} {t : β} (hx : 0 β€ x.re) (ht : 0 < t) : | |
| 0 β€ (x / (t : β)).re := by | |
| simp only [Complex.div_re, Complex.ofReal_re, Complex.ofReal_im, mul_zero, zero_div, add_zero] | |
| exact div_nonneg (mul_nonneg hx ht.le) (Complex.normSq_nonneg _) | |
| theorem continuousWithinAt_compactifiedSlowSolution_zero (q : β) (m : β) (x : β) | |
| (hq : -1 < q.re) (hx : 0 β€ x.re) (hx0 : x β 0) : | |
| ContinuousWithinAt (compactifiedSlowSolution q m x) (Ioi 0) 0 := by | |
| obtain β¨A, hA, hbβ© := regularizedSlowSolution_first_remainder q m hq | |
| have hxn : 0 < βxβ := norm_pos_iff.mpr hx0 | |
| have hbound : βαΆ t : β in π[>] 0, | |
| βcompactifiedSlowSolution q m x t - 1β β€ (A / βxβ) * t := by | |
| filter_upwards [self_mem_nhdsWithin, | |
| (eventually_lt_nhds hxn).filter_mono nhdsWithin_le_nhds] with t ht htx | |
| rw [compactifiedSlowSolution_pos q m x ht] | |
| have hn : 1 β€ βx / (t : β)β := by | |
| rw [norm_div, Complex.norm_of_nonneg ht.le] | |
| exact (le_div_iffβ ht).mpr (by linarith) | |
| have hh := hb (x / (t : β)) (slow_div_real_re_nonneg hx ht) hn | |
| apply hh.trans_eq | |
| rw [norm_div, Complex.norm_of_nonneg ht.le] | |
| field_simp | |
| have hz : Tendsto (fun t : β => (A / βxβ) * t) (π[>] 0) (π 0) := by | |
| have hc : Continuous (fun t : β => (A / βxβ) * t) := continuous_const.mul continuous_id | |
| simpa only [mul_zero] using (hc.tendsto 0).mono_left nhdsWithin_le_nhds | |
| have hh := (squeeze_zero_norm' hbound hz).add_const (1 : β) | |
| rw [ContinuousWithinAt, compactifiedSlowSolution_zero] | |
| simpa only [sub_add_cancel, zero_add] using hh | |
| theorem continuousAt_compactifiedSlowSolution_pos (q : β) (m : β) (x : β) | |
| (hq : -1 < q.re) (hx : 0 β€ x.re) (hx0 : x β 0) {t : β} (ht : 0 < t) : | |
| ContinuousAt (compactifiedSlowSolution q m x) t := by | |
| have hy := slow_div_real_re_nonneg hx ht | |
| have hy0 : x / (t : β) β 0 := div_ne_zero hx0 (Complex.ofReal_ne_zero.mpr ht.ne') | |
| have hnorm := (hasDerivAt_normalizedSlowSolution q m (x / (t : β)) hq hy hy0).continuousAt | |
| have harg : ContinuousAt (fun u : β => x / (u : β)) t := | |
| continuousAt_const.div Complex.continuous_ofReal.continuousAt | |
| (Complex.ofReal_ne_zero.mpr ht.ne') | |
| have he : compactifiedSlowSolution q m x =αΆ [π t] | |
| (fun u : β => normalizedSlowSolution q m (x / (u : β))) := by | |
| filter_upwards [eventually_gt_nhds ht] with u hu | |
| exact compactifiedSlowSolution_pos q m x hu | |
| exact (ContinuousAt.comp (f := fun u : β => x / (u : β)) | |
| (g := normalizedSlowSolution q m) hnorm harg).congr | |
| (by simpa only [Function.comp_def] using he.symm) | |
| theorem continuousOn_compactifiedSlowSolution (q : β) (m : β) (x : β) | |
| (hq : -1 < q.re) (hx : 0 β€ x.re) (hx0 : x β 0) : | |
| ContinuousOn (compactifiedSlowSolution q m x) (Ici 0) := by | |
| intro t ht | |
| change 0 β€ t at ht | |
| rcases ht.eq_or_lt with he | ht | |
| Β· subst t | |
| rw [ContinuousWithinAt, β Ioi_union_left, nhdsWithin_union] | |
| have h0 := continuousWithinAt_compactifiedSlowSolution_zero q m x hq hx hx0 | |
| rw [ContinuousWithinAt] at h0 | |
| exact h0.sup (by simpa only [nhdsWithin_singleton] using | |
| tendsto_pure_nhds (compactifiedSlowSolution q m x) (0 : β)) | |
| Β· exact (continuousAt_compactifiedSlowSolution_pos q m x hq hx hx0 ht).continuousWithinAt | |
| end DefocusingNLS | |
| end OAI | |