Buckets:
| import OAI.Analysis.Littlewood.Model | |
| namespace OAI | |
| namespace AsymptoticallyMinimalLittlewood | |
| noncomputable section | |
| open MeasureTheory Complex Real FourierTransform Filter Topology | |
| open scoped FourierTransform SchwartzMap ContDiff | |
| theorem integral_schwartz_mul_gaussian | |
| (f : π’(β, β)) {b : β} (hb : 0 < b.re) (c : β) : | |
| (β« x : β, f x * Complex.exp (-Real.pi * b * (x : β) ^ 2 + | |
| 2 * Real.pi * c * (x : β))) = | |
| 1 / b ^ (1 / 2 : β) * β« ΞΎ : β, (πβ» f : π’(β, β)) ΞΎ * | |
| Complex.exp (-Real.pi / b * ((ΞΎ : β) + Complex.I * c) ^ 2) := by | |
| have hG : Integrable (fun x : β β¦ | |
| Complex.exp (-Real.pi * b * (x : β) ^ 2 + 2 * Real.pi * c * (x : β))) := by | |
| have hp : 0 < ((Real.pi : β) * b).re := by | |
| simpa using mul_pos Real.pi_pos hb | |
| simpa only [neg_mul, add_zero] using | |
| integrable_cexp_quadratic hp (2 * Real.pi * c) 0 | |
| have h := VectorFourier.integral_fourierIntegral_smul_eq_flip | |
| (L := innerβ β) (ΞΌ := volume) (Ξ½ := volume) | |
| Real.continuous_fourierChar continuous_inner | |
| (πβ» f : π’(β, β)).integrable hG | |
| have heq : (β« x : β, (π (πβ» f : π’(β, β))) x * | |
| Complex.exp (-Real.pi * b * (x : β) ^ 2 + 2 * Real.pi * c * (x : β))) = | |
| β« ΞΎ : β, (πβ» f : π’(β, β)) ΞΎ * | |
| (π (fun x : β β¦ Complex.exp (-Real.pi * b * (x : β) ^ 2 + | |
| 2 * Real.pi * c * (x : β)))) ΞΎ := by | |
| simpa only [flip_innerβ, smul_eq_mul] using! h | |
| rw [FourierTransform.fourier_fourierInv_eq] at heq | |
| rw [heq, fourier_gaussian_pi' hb c] | |
| simp_rw [β mul_assoc, mul_comm ((πβ» f : π’(β, β)) _) (1 / b ^ (1 / 2 : β)), mul_assoc] | |
| exact integral_const_mul _ _ | |
| /-- The damping kernel has modulus at most one on the closed right half-plane. -/ | |
| theorem norm_damped_quadratic_le_one {b : β} (hb : 0 β€ b.re) (u x : β) : | |
| βComplex.exp (-Real.pi * b * (x : β) ^ 2 - | |
| 2 * Real.pi * Complex.I * u * x)β β€ 1 := by | |
| rw [Complex.norm_exp, Real.exp_le_one_iff] | |
| have hre : (-Real.pi * b * (x : β) ^ 2 - | |
| 2 * Real.pi * Complex.I * u * x).re = -Real.pi * b.re * x ^ 2 := by | |
| simp [Complex.mul_re, Complex.mul_im, pow_two] | |
| rw [hre] | |
| exact mul_nonpos_of_nonpos_of_nonneg | |
| (mul_nonpos_of_nonpos_of_nonneg (neg_nonpos.mpr Real.pi_pos.le) hb) (sq_nonneg _) | |
| /-- The Fourier-side Gaussian also has modulus at most one. -/ | |
| theorem norm_damped_fourier_le_one {b : β} (hb : 0 β€ b.re) (y : β) : | |
| βComplex.exp (-Real.pi / b * (y : β) ^ 2)β β€ 1 := by | |
| rw [Complex.norm_exp, Real.exp_le_one_iff] | |
| have hre : (-Real.pi / b * (y : β) ^ 2).re = | |
| -Real.pi * (b.re / Complex.normSq b) * y ^ 2 := by | |
| simp [div_eq_mul_inv, Complex.mul_re, Complex.mul_im, pow_two, | |
| Complex.inv_re] | |
| rw [hre] | |
| exact mul_nonpos_of_nonpos_of_nonneg | |
| (mul_nonpos_of_nonpos_of_nonneg (neg_nonpos.mpr Real.pi_pos.le) | |
| (div_nonneg hb (Complex.normSq_nonneg _))) (sq_nonneg _) | |
| theorem integral_schwartz_mul_gaussian_boundary | |
| (f : π’(β, β)) {b : β} (hb : 0 β€ b.re) (hb0 : b β 0) (u : β) : | |
| (β« x : β, f x * Complex.exp (-Real.pi * b * (x : β) ^ 2 - | |
| 2 * Real.pi * Complex.I * u * x)) = | |
| 1 / b ^ (1 / 2 : β) * β« ΞΎ : β, (πβ» f : π’(β, β)) ΞΎ * | |
| Complex.exp (-Real.pi / b * ((ΞΎ : β) + u) ^ 2) := by | |
| let bn : β β β := fun n β¦ b + ((1 / ((n : β) + 1) : β) : β) | |
| have hbn (n : β) : 0 < (bn n).re := by | |
| dsimp [bn] | |
| simpa using add_pos_of_nonneg_of_pos hb (by positivity : 0 < 1 / ((n : β) + 1)) | |
| have hbnlim : Filter.Tendsto bn Filter.atTop (π b) := by | |
| have hz := Complex.continuous_ofReal.tendsto 0 |>.comp | |
| (tendsto_one_div_add_atTop_nhds_zero_nat (π := β)) | |
| simpa [bn] using tendsto_const_nhds.add hz | |
| have hblim : b β Complex.slitPlane := by | |
| rw [Complex.mem_slitPlane_iff] | |
| by_cases h : b.im = 0 | |
| Β· left | |
| have hr : b.re β 0 := by | |
| intro hr | |
| exact hb0 (Complex.ext hr h) | |
| exact lt_of_le_of_ne hb (Ne.symm hr) | |
| Β· exact Or.inr h | |
| have hcpow : Filter.Tendsto (fun n β¦ 1 / (bn n) ^ (1 / 2 : β)) | |
| Filter.atTop (π (1 / b ^ (1 / 2 : β))) := by | |
| exact tendsto_const_nhds.div | |
| (continuousAt_cpow_const hblim |>.tendsto.comp hbnlim) | |
| (Complex.cpow_ne_zero_iff.mpr (Or.inl hb0)) | |
| have hl : Filter.Tendsto | |
| (fun n β¦ β« x : β, f x * Complex.exp (-Real.pi * bn n * (x : β) ^ 2 - | |
| 2 * Real.pi * Complex.I * u * x)) Filter.atTop | |
| (π (β« x : β, f x * Complex.exp (-Real.pi * b * (x : β) ^ 2 - | |
| 2 * Real.pi * Complex.I * u * x))) := by | |
| apply tendsto_integral_of_dominated_convergence (fun x β¦ βf xβ) | |
| Β· intro n | |
| apply Continuous.aestronglyMeasurable | |
| fun_prop | |
| Β· exact f.integrable.norm | |
| Β· intro n | |
| filter_upwards with x | |
| rw [norm_mul] | |
| exact mul_le_of_le_one_right (norm_nonneg _) (norm_damped_quadratic_le_one (hbn n).le u x) | |
| Β· filter_upwards with x | |
| exact tendsto_const_nhds.mul | |
| (Complex.continuous_exp.tendsto _ |>.comp | |
| (((tendsto_const_nhds.mul hbnlim).mul tendsto_const_nhds).sub | |
| tendsto_const_nhds)) | |
| have hr : Filter.Tendsto | |
| (fun n β¦ β« ΞΎ : β, (πβ» f : π’(β, β)) ΞΎ * | |
| Complex.exp (-Real.pi / bn n * ((ΞΎ : β) + u) ^ 2)) Filter.atTop | |
| (π (β« ΞΎ : β, (πβ» f : π’(β, β)) ΞΎ * | |
| Complex.exp (-Real.pi / b * ((ΞΎ : β) + u) ^ 2))) := by | |
| apply tendsto_integral_of_dominated_convergence (fun ΞΎ β¦ β(πβ» f : π’(β, β)) ΞΎβ) | |
| Β· intro n | |
| apply Continuous.aestronglyMeasurable | |
| fun_prop | |
| Β· exact (πβ» f : π’(β, β)).integrable.norm | |
| Β· intro n | |
| filter_upwards with ΞΎ | |
| rw [norm_mul] | |
| apply mul_le_of_le_one_right (norm_nonneg _) | |
| simpa only [Complex.ofReal_add] using norm_damped_fourier_le_one (hbn n).le (ΞΎ + u) | |
| Β· filter_upwards with ΞΎ | |
| exact tendsto_const_nhds.mul | |
| (Complex.continuous_exp.tendsto _ |>.comp | |
| ((tendsto_const_nhds.div hbnlim hb0).mul tendsto_const_nhds)) | |
| have heq (n : β) : | |
| (β« x : β, f x * Complex.exp (-Real.pi * bn n * (x : β) ^ 2 - | |
| 2 * Real.pi * Complex.I * u * x)) = | |
| 1 / (bn n) ^ (1 / 2 : β) * β« ΞΎ : β, (πβ» f : π’(β, β)) ΞΎ * | |
| Complex.exp (-Real.pi / bn n * ((ΞΎ : β) + u) ^ 2) := by | |
| convert integral_schwartz_mul_gaussian f (hbn n) (-Complex.I * u) using 1 <;> | |
| simp [β mul_assoc, sub_eq_add_neg] | |
| exact tendsto_nhds_unique hl ((hcpow.mul hr).congr' (Filter.Eventually.of_forall (fun n β¦ (heq n).symm))) | |
| def realPhase (x : β) : β := Complex.exp (Complex.I * (x : β)) | |
| @[simp] theorem norm_realPhase (x : β) : βrealPhase xβ = 1 := by | |
| simp [realPhase, Complex.norm_exp, Complex.mul_re] | |
| /-- Multiplication by a continuous real phase preserves integrability. -/ | |
| theorem integrable_schwartz_phase (f : π’(β, β)) (p : β β β) | |
| (hp : Continuous p) : Integrable (fun x β¦ f x * realPhase (p x)) := by | |
| apply f.integrable.norm.mono' | |
| Β· apply Continuous.aestronglyMeasurable | |
| unfold realPhase | |
| exact f.continuous.mul (Complex.continuous_exp.comp | |
| (continuous_const.mul (Complex.continuous_ofReal.comp hp))) | |
| Β· filter_upwards with x | |
| simp | |
| /-- Quadratic Fourier identity with an undamped, nonzero real curvature. -/ | |
| theorem integral_schwartz_quadratic_exact (f : π’(β, β)) | |
| {t : β} (ht : t β 0) (u : β) : | |
| (β« x : β, f x * realPhase (Real.pi * t * x ^ 2 - 2 * Real.pi * u * x)) = | |
| 1 / (-Complex.I * (t : β)) ^ (1 / 2 : β) * | |
| β« ΞΎ : β, (πβ» f : π’(β, β)) ΞΎ * realPhase (-Real.pi / t * (ΞΎ + u) ^ 2) := by | |
| have hb0 : -Complex.I * (t : β) β 0 := | |
| mul_ne_zero (neg_ne_zero.mpr Complex.I_ne_zero) (Complex.ofReal_ne_zero.mpr ht) | |
| have hb : 0 β€ (-Complex.I * (t : β)).re := by simp | |
| convert integral_schwartz_mul_gaussian_boundary f hb hb0 u using 1 | |
| Β· apply integral_congr_ae | |
| filter_upwards with x | |
| congr 1 | |
| unfold realPhase | |
| congr 1 | |
| push_cast | |
| ring | |
| Β· congr 1 | |
| apply integral_congr_ae | |
| filter_upwards with ΞΎ | |
| congr 1 | |
| unfold realPhase | |
| congr 1 | |
| push_cast | |
| field_simp | |
| simp [Complex.I_sq] | |
| ring | |
| /-- Fourier inversion specialized to the linear factor in the quadratic formula. -/ | |
| theorem integral_schwartz_inverse_linear (f : π’(β, β)) (x : β) : | |
| (β« ΞΎ : β, (πβ» f : π’(β, β)) ΞΎ * realPhase (-2 * Real.pi * ΞΎ * x)) = f x := by | |
| have h := congrArg (fun g : π’(β, β) β¦ g x) | |
| (show (π (πβ» f : π’(β, β)) : π’(β, β)) = f from | |
| FourierTransform.fourier_fourierInv_eq f) | |
| rw [SchwartzMap.fourier_coe, Real.fourier_real_eq_integral_exp_smul] at h | |
| convert h using 1 | |
| apply integral_congr_ae | |
| filter_upwards with ΞΎ | |
| simp only [smul_eq_mul, realPhase, mul_comm] | |
| /-- The remaining quadratic Fourier multiplier differs from one by at most | |
| Ο ΞΎΒ² / |t|, uniformly in the stationary point. -/ | |
| theorem norm_quadratic_multiplier_sub_one {t : β} (ΞΎ : β) : | |
| βrealPhase (-Real.pi / t * ΞΎ ^ 2) - 1β β€ Real.pi / |t| * ΞΎ ^ 2 := by | |
| calc | |
| _ β€ β-Real.pi / t * ΞΎ ^ 2β := Real.norm_exp_I_mul_ofReal_sub_one_le | |
| _ = _ := by | |
| simp only [Real.norm_eq_abs, abs_mul, abs_div, abs_neg, abs_of_pos Real.pi_pos, | |
| abs_of_nonneg (sq_nonneg ΞΎ)] | |
| @[simp] theorem realPhase_add (x y : β) : | |
| realPhase (x + y) = realPhase x * realPhase y := by | |
| simp [realPhase, Complex.ofReal_add, mul_add, Complex.exp_add] | |
| theorem uniform_quadratic_error (f : π’(β, β)) {t : β} (ht : t β 0) (u : β) : | |
| β E : β, | |
| βEβ β€ Real.pi / |t| * (β« ΞΎ : β, ΞΎ ^ 2 * β(πβ» f : π’(β, β)) ΞΎβ) β§ | |
| (β« x : β, f x * realPhase (Real.pi * t * x ^ 2 - 2 * Real.pi * u * x)) = | |
| (1 / (-Complex.I * (t : β)) ^ (1 / 2 : β) * | |
| realPhase (-Real.pi / t * u ^ 2)) * (f (u / t) + E) := by | |
| let p : β β β := fun ΞΎ β¦ -2 * Real.pi * ΞΎ * (u / t) | |
| let q : β β β := fun ΞΎ β¦ -Real.pi / t * ΞΎ ^ 2 | |
| let d : β β β := fun ΞΎ β¦ (πβ» f : π’(β, β)) ΞΎ * realPhase (p ΞΎ) * (realPhase (q ΞΎ) - 1) | |
| have hp : Continuous p := by unfold p; fun_prop | |
| have hq : Continuous q := by unfold q; fun_prop | |
| have hl := integrable_schwartz_phase (πβ» f : π’(β, β)) p hp | |
| have ht' := integrable_schwartz_phase (πβ» f : π’(β, β)) (fun ΞΎ β¦ p ΞΎ + q ΞΎ) (hp.add hq) | |
| have hd : Integrable d := by | |
| convert ht'.sub hl using 1 | |
| ext ΞΎ | |
| simp only [d, realPhase_add, Pi.sub_apply] | |
| ring | |
| refine β¨β« ΞΎ, d ΞΎ, ?_, ?_β© | |
| Β· have hm : Integrable (fun ΞΎ : β β¦ ΞΎ ^ 2 * β(πβ» f : π’(β, β)) ΞΎβ) := by | |
| have h : Integrable (fun ΞΎ : β β¦ βΞΎβ ^ 2 * β(πβ» f : π’(β, β)) ΞΎβ) := | |
| (πβ» f : π’(β, β)).integrable_pow_mul volume 2 | |
| simpa only [Real.norm_eq_abs, sq_abs] using h | |
| calc | |
| ββ« ΞΎ, d ΞΎβ β€ β« ΞΎ, βd ΞΎβ := norm_integral_le_integral_norm _ | |
| _ β€ β« ΞΎ : β, (Real.pi / |t|) * (ΞΎ ^ 2 * β(πβ» f : π’(β, β)) ΞΎβ) := by | |
| apply integral_mono hd.norm (hm.const_mul _) | |
| intro ΞΎ | |
| simp only [d, norm_mul, norm_realPhase, mul_one] | |
| calc | |
| _ β€ β(πβ» f : π’(β, β)) ΞΎβ * (Real.pi / |t| * ΞΎ ^ 2) := | |
| mul_le_mul_of_nonneg_left (norm_quadratic_multiplier_sub_one ΞΎ) (norm_nonneg _) | |
| _ = _ := by ring | |
| _ = _ := integral_const_mul _ _ | |
| Β· have hlin : (β« ΞΎ : β, (πβ» f : π’(β, β)) ΞΎ * realPhase (p ΞΎ)) = f (u / t) := | |
| integral_schwartz_inverse_linear f (u / t) | |
| have hsum : (β« ΞΎ : β, (πβ» f : π’(β, β)) ΞΎ * realPhase (p ΞΎ + q ΞΎ)) = | |
| f (u / t) + β« ΞΎ, d ΞΎ := by | |
| rw [β hlin, β integral_add hl hd] | |
| apply integral_congr_ae | |
| filter_upwards with ΞΎ | |
| simp only [d, realPhase_add] | |
| ring | |
| have hphase (ΞΎ : β) : | |
| realPhase (-Real.pi / t * (ΞΎ + u) ^ 2) = | |
| realPhase (-Real.pi / t * u ^ 2) * realPhase (p ΞΎ + q ΞΎ) := by | |
| rw [β realPhase_add] | |
| congr 1 | |
| dsimp [p, q] | |
| ring | |
| rw [integral_schwartz_quadratic_exact f ht u] | |
| simp_rw [hphase] | |
| have hi : (β« ΞΎ : β, (πβ» f : π’(β, β)) ΞΎ * | |
| (realPhase (-Real.pi / t * u ^ 2) * realPhase (p ΞΎ + q ΞΎ))) = | |
| realPhase (-Real.pi / t * u ^ 2) * | |
| (β« ΞΎ : β, (πβ» f : π’(β, β)) ΞΎ * realPhase (p ΞΎ + q ΞΎ)) := by | |
| rw [β integral_const_mul] | |
| apply integral_congr_ae | |
| filter_upwards with ΞΎ | |
| ring | |
| rw [hi, hsum] | |
| ring | |
| /-- The prefactor in uniform quadratic integration has precisely the required | |
| modulus. No pointwise lower estimate for a Littlewood polynomial is involved. -/ | |
| theorem norm_quadratic_prefactor (t u : β) : | |
| β1 / (-Complex.I * (t : β)) ^ (1 / 2 : β) * | |
| realPhase (-Real.pi / t * u ^ 2)β = 1 / Real.sqrt |t| := by | |
| rw [norm_mul, norm_realPhase, mul_one, norm_div, norm_one] | |
| congr 1 | |
| have hexp : (1 / 2 : β) = ((1 / 2 : β) : β) := by norm_num | |
| rw [hexp, Complex.norm_cpow_real] | |
| simp only [norm_mul, norm_neg, Complex.norm_I, one_mul, Complex.norm_real, | |
| Real.norm_eq_abs] | |
| exact (Real.sqrt_eq_rpow _).symm | |
| /-- The argument of the nonzero imaginary curvature, on the principal branch. -/ | |
| theorem arg_negative_imaginary {t : β} (ht : t β 0) : | |
| Complex.arg (-Complex.I * (t : β)) = -Real.sign t * Real.pi / 2 := by | |
| rcases lt_or_gt_of_ne ht with ht | ht | |
| Β· have heq : -Complex.I * (t : β) = Complex.I * ((-t : β) : β) := by | |
| push_cast | |
| ring | |
| rw [heq, Complex.arg_mul_real (neg_pos.mpr ht), Complex.arg_I, | |
| Real.sign_of_neg ht] | |
| ring | |
| Β· rw [Complex.arg_mul_real ht, Complex.arg_neg_I, Real.sign_of_pos ht] | |
| ring | |
| theorem quadratic_prefactor_eq {t : β} (ht : t β 0) (u : β) : | |
| (1 / (-Complex.I * (t : β)) ^ (1 / 2 : β)) * | |
| realPhase (-Real.pi / t * u ^ 2) = | |
| realPhase (Real.pi * Real.sign t / 4 - Real.pi * u ^ 2 / t) / | |
| (Real.sqrt |t| : β) := by | |
| have he : -(1 / 2 : β) = ((-(1 / 2) : β) : β) := by norm_num | |
| rw [one_div, β Complex.cpow_neg, he, Complex.cpow_ofReal] | |
| rw [norm_mul, norm_neg, Complex.norm_I, one_mul, Complex.norm_real, Real.norm_eq_abs, | |
| Real.rpow_neg (abs_nonneg t), β Real.sqrt_eq_rpow, arg_negative_imaginary ht] | |
| have harg : (-Real.sign t * Real.pi / 2) * (-(1 / 2)) = | |
| Real.pi * Real.sign t / 4 := by ring | |
| rw [harg] | |
| have hphase (x : β) : (Real.cos x : β) + (Real.sin x : β) * Complex.I = realPhase x := by | |
| unfold realPhase | |
| rw [mul_comm Complex.I, Complex.exp_mul_I, Complex.ofReal_cos, Complex.ofReal_sin] | |
| rw [hphase] | |
| rw [mul_assoc, β realPhase_add] | |
| have heq : Real.pi * Real.sign t / 4 + -Real.pi / t * u ^ 2 = | |
| Real.pi * Real.sign t / 4 - Real.pi * u ^ 2 / t := by ring | |
| rw [heq] | |
| push_cast | |
| ring | |
| theorem uniform_quadratic_integration (g : β β β) (hg : HasCompactSupport g) | |
| (hgs : ContDiff β β g) {Ξ² : β} (hΞ² : Ξ² β 0) {T : β} (hT : 0 < T) (u : β) : | |
| β E : β, | |
| βEβ β€ (Real.pi / |Ξ²| * (β« ΞΎ : β, ΞΎ ^ 2 * | |
| β(πβ» (hg.toSchwartzMap hgs) : π’(β, β)) ΞΎβ)) / T β§ | |
| (β« x : β, g x * realPhase (2 * Real.pi * (T * Ξ² * x ^ 2 / 2 - u * x))) = | |
| (realPhase (2 * Real.pi * (Real.sign Ξ² / 8 - u ^ 2 / (2 * T * Ξ²))) / | |
| (Real.sqrt (T * |Ξ²|) : β)) * (g (u / (T * Ξ²)) + E) := by | |
| obtain β¨E, hE, hEqβ© := uniform_quadratic_error (hg.toSchwartzMap hgs) | |
| (mul_ne_zero hT.ne' hΞ²) u | |
| refine β¨E, ?_, ?_β© | |
| Β· convert hE using 1 | |
| rw [abs_mul, abs_of_pos hT] | |
| ring | |
| Β· rw [quadratic_prefactor_eq (mul_ne_zero hT.ne' hΞ²)] at hEq | |
| have hs : Real.sign (T * Ξ²) = Real.sign Ξ² := by | |
| rcases lt_or_gt_of_ne hΞ² with hΞ² | hΞ² | |
| Β· rw [Real.sign_of_neg (mul_neg_of_pos_of_neg hT hΞ²), Real.sign_of_neg hΞ²] | |
| Β· rw [Real.sign_of_pos (mul_pos hT hΞ²), Real.sign_of_pos hΞ²] | |
| have hnorm : |T * Ξ²| = T * |Ξ²| := by rw [abs_mul, abs_of_pos hT] | |
| simp only [hs, hnorm, HasCompactSupport.toSchwartzMap] at hEq | |
| convert hEq using 1 | |
| Β· apply integral_congr_ae | |
| filter_upwards with x | |
| congr 2 | |
| ring | |
| Β· congr 2 | |
| congr 1 | |
| ring | |
| end | |
| end AsymptoticallyMinimalLittlewood | |
| end OAI | |
Xet Storage Details
- Size:
- 16.4 kB
- Xet hash:
- b1a83f746a1726b310476f68200c36e27d84feb57e6e3d9cc499180917bc4da5
Β·
Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.