Download data/lean/OAI/Analysis/AllenCahn/Profiles.lean from introvoyz045/math: direct link, hf CLI and curl.
- Browser
- Download file 4.62 kB
-
https://huggingface.co/datasets/introvoyz045/math/resolve/main/data/lean/OAI/Analysis/AllenCahn/Profiles.lean
- Command line
-
hf download hf://datasets/introvoyz045/math/data/lean/OAI/Analysis/AllenCahn/Profiles.lean
-
curl -L -o Profiles.lean https://huggingface.co/datasets/introvoyz045/math/resolve/main/data/lean/OAI/Analysis/AllenCahn/Profiles.lean
4.62 kB
| import OAI.Analysis.AllenCahn.ZeroDefect | |
| namespace OAI | |
| noncomputable section | |
| namespace DeGiorgi | |
| open Filter Set Topology | |
| open scoped NNReal | |
| open scoped SchwartzMap Laplacian ContDiff | |
| open FourierTransform | |
| open Filter Topology | |
| open scoped ContDiff | |
| open scoped ENNReal | |
| open MeasureTheory Filter Topology | |
| lemma planar_profile_coordinate_derivative {n : β} | |
| (e : Space n) (c : β) (j : Fin n) (x : Space n) : | |
| fderiv β (fun y : Space n => profile (inner β e y - c)) x | |
| (EuclideanSpace.single j 1) = | |
| (profileWeight (inner β e x - c) / Real.sqrt 2) * e j := by | |
| have hi : HasFDerivAt (fun y : Space n => inner β e y - c) (innerSL β e) x := | |
| (innerSL β e).hasFDerivAt.sub_const c | |
| have hp := (profile_hasDerivAt (inner β e x - c)).comp_hasFDerivAt x hi | |
| simp only [Function.comp_def] at hp | |
| rw [hp.fderiv] | |
| simp [EuclideanSpace.inner_single_right] | |
| lemma oriented_profile_of_classified {n : β} {u : Space n β β} (j : Fin n) | |
| (hi : β x, u x β Set.Ioo (-1 : β) 1) | |
| (hmon : β x, 0 < fderiv β u x (EuclideanSpace.single j 1)) | |
| (hc : Classified u) : | |
| β (e : Space n) (c : β), βeβ = 1 β§ 0 < e j β§ | |
| β x, u x = profile (inner β e x - c) := by | |
| rcases hc with h | h | β¨e, c, he, hβ© | |
| Β· have hx := (hi 0).2 | |
| rw [h 0] at hx | |
| exact (lt_irrefl 1 hx).elim | |
| Β· have hx := (hi 0).1 | |
| rw [h 0] at hx | |
| exact (lt_irrefl (-1 : β) hx).elim | |
| Β· refine β¨e, c, he, ?_, hβ© | |
| have hp := hmon 0 | |
| rw [funext h, planar_profile_coordinate_derivative] at hp | |
| exact (mul_pos_iff_of_pos_left | |
| (div_pos (profileWeight_pos _) (Real.sqrt_pos.mpr (by norm_num)))).mp hp | |
| lemma monotone_profile_of_defect_zero {u : Space 8 β β} | |
| (hu : ContDiff β 2 u) (hi : β x, u x β Set.Ioo (-1 : β) 1) | |
| (hAC : AllenCahn u) | |
| (hmon : β x, 0 < fderiv β u x (EuclideanSpace.single (7 : Fin 8) 1)) | |
| {z : Space 8} (hz : diffuseDefect u z = 0) : | |
| β (e : Space 8) (c : β), βeβ = 1 β§ 0 < e 7 β§ | |
| β x, u x = profile (inner β e x - c) := by | |
| exact oriented_profile_of_classified 7 hi hmon | |
| (classified_of_defect_zero_at hu hi hAC hz) | |
| theorem monotone_profile_or_positive_defect {u : Space 8 β β} | |
| (hu : ContDiff β 2 u) (hi : β x, u x β Set.Ioo (-1 : β) 1) | |
| (hAC : AllenCahn u) | |
| (hmon : β x, 0 < fderiv β u x (EuclideanSpace.single (7 : Fin 8) 1)) : | |
| (β (e : Space 8) (c : β), βeβ = 1 β§ 0 < e 7 β§ | |
| β x, u x = profile (inner β e x - c)) β¨ | |
| (β x, 0 < diffuseDefect u x) := by | |
| rcases classified_or_positive_defect hu (fun x => β¨(hi x).1.le, (hi x).2.leβ©) | |
| hAC with hc | hp | |
| Β· exact Or.inl (oriented_profile_of_classified 7 hi hmon hc) | |
| Β· exact Or.inr hp.2 | |
| lemma strictMono_on_coordinate_lines {n : β} {u : Space n β β} | |
| (hu : ContDiff β 2 u) (j : Fin n) | |
| (hmon : β x, 0 < fderiv β u x (EuclideanSpace.single j 1)) | |
| (x : Space n) : | |
| StrictMono (fun t : β => u (x + t β’ EuclideanSpace.single j 1)) := by | |
| apply strictMono_of_deriv_pos | |
| intro t | |
| rw [deriv_line (hu.differentiable (by norm_num))] | |
| exact hmon _ | |
| theorem monotone_line_end_limits {u : Space 8 β β} | |
| (hu : ContDiff β 2 u) (hi : β x, u x β Set.Ioo (-1 : β) 1) | |
| (hmon : β x, 0 < fderiv β u x (EuclideanSpace.single (7 : Fin 8) 1)) | |
| (x : Space 8) : | |
| β a β Set.Icc (-1 : β) 1, β b β Set.Icc (-1 : β) 1, | |
| Tendsto (fun t : β => u (x + t β’ EuclideanSpace.single (7 : Fin 8) 1)) | |
| atBot (π a) β§ | |
| Tendsto (fun t : β => u (x + t β’ EuclideanSpace.single (7 : Fin 8) 1)) | |
| atTop (π b) β§ | |
| β t : β, a < u (x + t β’ EuclideanSpace.single (7 : Fin 8) 1) β§ | |
| u (x + t β’ EuclideanSpace.single (7 : Fin 8) 1) < b := by | |
| let f : β β β := fun t => u (x + t β’ EuclideanSpace.single (7 : Fin 8) 1) | |
| have hm : StrictMono f := strictMono_on_coordinate_lines hu 7 hmon x | |
| have hb : BddBelow (Set.range f) := β¨-1, by | |
| rintro _ β¨t, rflβ© | |
| exact (hi _).1.leβ© | |
| have ha : BddAbove (Set.range f) := β¨1, by | |
| rintro _ β¨t, rflβ© | |
| exact (hi _).2.leβ© | |
| refine β¨β¨ t, f t, β¨le_ciInf (fun t => (hi _).1.le), ?_β©, | |
| β¨ t, f t, β¨?_, ciSup_le (fun t => (hi _).2.le)β©, | |
| tendsto_atBot_ciInf hm.monotone hb, tendsto_atTop_ciSup hm.monotone ha, ?_β© | |
| Β· exact (ciInf_le hb (0 : β)).trans (hi _).2.le | |
| Β· exact (hi _).1.le.trans (le_ciSup ha (0 : β)) | |
| Β· intro t | |
| exact β¨(ciInf_le hb (t - 1)).trans_lt (hm (by linarith)), | |
| (hm (show t < t + 1 by linarith)).trans_le (le_ciSup ha (t + 1))β© | |
| end DeGiorgi | |
| end | |
| end OAI | |