Download data/lean/OAI/Analysis/Calculus/Current/BoundaryGaussian.lean from introvoyz045/math: direct link, hf CLI and curl.
- Browser
- Download file 3.39 kB
-
https://huggingface.co/datasets/introvoyz045/math/resolve/main/data/lean/OAI/Analysis/Calculus/Current/BoundaryGaussian.lean
- Command line
-
hf download hf://datasets/introvoyz045/math/data/lean/OAI/Analysis/Calculus/Current/BoundaryGaussian.lean
-
curl -L -o BoundaryGaussian.lean https://huggingface.co/datasets/introvoyz045/math/resolve/main/data/lean/OAI/Analysis/Calculus/Current/BoundaryGaussian.lean
3.39 kB
| import OAI.Analysis.Calculus.Current.NormBounds | |
| /-! The source's lateral boundary is separated from all small-cap velocities. -/ | |
| noncomputable section | |
| namespace OAI.Analysis.Calculus.Current | |
| open scoped Matrix Matrix.Norms.Elementwise | |
| theorem fiberDefining_normalized {d : β} (w a : β) (z : Index d β β) : | |
| fiberDefining w a z = (β i, βratio z iβ ^ 2) / w ^ 2 + | |
| 100 * βphi z / (a : β)β ^ 2 - 1 := by | |
| rw [fiberDefining_formula] | |
| simp only [norm_div, Complex.norm_real, Real.norm_eq_abs, div_pow, sq_abs] | |
| ring | |
| theorem phaseCutoff_ne_zero_norm_lt (q : β) (hq : phaseCutoff q β 0) : | |
| βqβ < 1 / 20 := by | |
| by_contra hn | |
| exact hq (phaseCutoff_eq_zero q (le_of_not_gt hn)) | |
| theorem fiber_lateral_ratio_lower {d : β} (a : β) (z : Index d β β) | |
| (hr : fiberDefining (1 / 10) a z = 0) | |
| (hg : phaseCutoff (phi z / (a : β)) β 0) : | |
| (1 : β) / 400 β€ β i, βratio z iβ ^ 2 := by | |
| rw [fiberDefining_normalized] at hr | |
| have hq := phaseCutoff_ne_zero_norm_lt _ hg | |
| have hqs : βphi z / (a : β)β ^ 2 β€ (1 / 20 : β) ^ 2 := | |
| pow_le_pow_leftβ (norm_nonneg _) hq.le 2 | |
| norm_num at hr hqs | |
| nlinarith | |
| theorem ratio_sq_le_distance_velocity {d : β} (W : Fin d β β) (v : Fin d β β) : | |
| (β i, βW iβ ^ 2) β€ 2 * squaredDistance W v + 2 * β i, |v i| ^ 2 := by | |
| have hi (i : Fin d) : βW iβ ^ 2 β€ 2 * βW i - (v i : β)β ^ 2 + 2 * |v i| ^ 2 := by | |
| have hn : βW iβ β€ βW i - (v i : β)β + |v i| := by | |
| calc | |
| βW iβ = β(W i - (v i : β)) + (v i : β)β := by congr 1; ring | |
| _ β€ βW i - (v i : β)β + β(v i : β)β := norm_add_le _ _ | |
| _ = _ := by simp | |
| have hs := pow_le_pow_leftβ (norm_nonneg _) hn 2 | |
| nlinarith [sq_nonneg (βW i - (v i : β)β - |v i|)] | |
| have hh := Finset.sum_le_sum (fun i (_ : i β Finset.univ) => hi i) | |
| simpa only [squaredDistance, Finset.sum_add_distrib, β Finset.mul_sum] using hh | |
| theorem lateral_squaredDistance_lower {d : β} (a : β) (z : Index d β β) | |
| (hr : fiberDefining (1 / 10) a z = 0) | |
| (hg : phaseCutoff (phi z / (a : β)) β 0) (v : Fin d β β) | |
| (hv : (β i, |v i| ^ 2) β€ 1 / 1600) : | |
| (1 : β) / 1600 β€ squaredDistance (ratio z) v := by | |
| have hw := fiber_lateral_ratio_lower a z hr hg | |
| have hd := ratio_sq_le_distance_velocity (ratio z) v | |
| linarith | |
| theorem normalizedModeAmplitude_lateral_norm_le {d : β} | |
| (a ΞΊ cR cI : β) (hΞΊ : 0 < ΞΊ) (v : Fin d β β) | |
| (x : Index d β β) (z : Index d β β) (hY : z none β 0) | |
| (hr : fiberDefining (1 / 10) a z = 0) | |
| (hg : phaseCutoff (phi z / (a : β)) β 0) | |
| (hv : (β i, |v i| ^ 2) β€ 1 / 1600) : | |
| βnormalizedModeAmplitude ΞΊ cR cI v x zβ β€ | |
| ((ΞΊ / βz noneβ) ^ ((d : β) / 2) * | |
| Real.exp (-ΞΊ * βz noneβ / 3200)) * β(β¨cR, cIβ© : β)β := by | |
| rw [normalizedModeAmplitude_norm ΞΊ cR cI hΞΊ v x z hY] | |
| have hd := lateral_squaredDistance_lower a z hr hg v hv | |
| have hmul := mul_le_mul_of_nonneg_left hd (show 0 β€ ΞΊ * βz noneβ / 2 by positivity) | |
| have he : Real.exp (-ΞΊ * βz noneβ / 2 * squaredDistance (ratio z) v) β€ | |
| Real.exp (-ΞΊ * βz noneβ / 3200) := Real.exp_le_exp.mpr (by nlinarith) | |
| exact mul_le_mul_of_nonneg_right (mul_le_mul_of_nonneg_left he (by positivity)) (norm_nonneg _) | |
| end OAI.Analysis.Calculus.Current | |