cfahlgren1's picture
download
raw
16.4 kB
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.