import NavierStokes.R3.SchwartzParseval import NavierStokes.R3.FourierTestDerivatives import NavierStokes.R3.FourierSobolevWeights import NavierStokes.R3.RieszSymbolRegularity import Mathlib.Analysis.SpecialFunctions.JapaneseBracket /-! # Fourier bounds for pressure test functionals -/ noncomputable section open MeasureTheory open scoped FourierTransform namespace NavierStokesR3.PressureTestBounds open ProblemStatement Comparison HarmonicTestFunctionals /-- The dimension-three integrable weight used in the Fourier Cauchy--Schwarz bound. -/ theorem integrable_inverse_weight_sq : Integrable (fun ξ : Space => (1 + ‖ξ‖ ^ 2)⁻¹ ^ 2) := by have h := integrable_rpow_neg_one_add_norm_sq (μ := (volume : Measure Space)) (r := 4) (by norm_num [Space, NavierStokes.ProblemStatement.Space]) convert! h using 1 ext ξ norm_num /-- A finite numerical constant depending only on three-dimensional Lebesgue measure. -/ def fourierMomentConstant : ℝ := Real.sqrt (∫ ξ : Space, (1 + ‖ξ‖ ^ 2)⁻¹ ^ 2) theorem fourierMomentConstant_nonneg : 0 ≤ fourierMomentConstant := Real.sqrt_nonneg _ /-- The elementary weighted Cauchy--Schwarz estimate behind the `H³` bounds. -/ theorem integral_first_moment_le {f : Space → ℂ} (hf : AEStronglyMeasurable f) (hw : Integrable (fun ξ : Space => (1 + ‖ξ‖ ^ 2) ^ 3 * ‖f ξ‖ ^ 2)) : (∫ ξ : Space, ‖ξ‖ * ‖f ξ‖) ≤ fourierMomentConstant * Real.sqrt (∫ ξ : Space, (1 + ‖ξ‖ ^ 2) ^ 3 * ‖f ξ‖ ^ 2) := by let a : Space → ℝ := fun ξ => (1 + ‖ξ‖ ^ 2)⁻¹ let b : Space → ℝ := fun ξ => (1 + ‖ξ‖ ^ 2) * ‖ξ‖ * ‖f ξ‖ have ha : AEStronglyMeasurable a := by exact ((continuous_const.add (continuous_norm.pow 2)).inv₀ (fun ξ : Space => ne_of_gt (by positivity : (0 : ℝ) < 1 + ‖ξ‖ ^ 2))).aestronglyMeasurable have hb : AEStronglyMeasurable b := by exact (by fun_prop : Continuous (fun ξ : Space => (1 + ‖ξ‖ ^ 2) * ‖ξ‖)).aestronglyMeasurable.mul hf.norm have hb_le (ξ : Space) : b ξ ^ 2 ≤ (1 + ‖ξ‖ ^ 2) ^ 3 * ‖f ξ‖ ^ 2 := by dsimp [b] calc ((1 + ‖ξ‖ ^ 2) * ‖ξ‖ * ‖f ξ‖) ^ 2 = (1 + ‖ξ‖ ^ 2) ^ 2 * ‖ξ‖ ^ 2 * ‖f ξ‖ ^ 2 := by ring _ ≤ (1 + ‖ξ‖ ^ 2) ^ 2 * (1 + ‖ξ‖ ^ 2) * ‖f ξ‖ ^ 2 := by gcongr linarith _ = (1 + ‖ξ‖ ^ 2) ^ 3 * ‖f ξ‖ ^ 2 := by ring have hb_int : Integrable (fun ξ => b ξ ^ 2) := hw.mono' (hb.pow 2) (Filter.Eventually.of_forall fun ξ => by rw [Real.norm_of_nonneg (sq_nonneg _)] exact hb_le ξ) have ha_lp : MemLp a 2 := (memLp_two_iff_integrable_sq ha).mpr integrable_inverse_weight_sq have hb_lp : MemLp b 2 := (memLp_two_iff_integrable_sq hb).mpr hb_int have hcs := integral_mul_le_Lp_mul_Lq_of_nonneg (μ := (volume : Measure Space)) (f := a) (g := b) Real.HolderConjugate.two_two (Filter.Eventually.of_forall (fun ξ => by dsimp [a]; positivity)) (Filter.Eventually.of_forall (fun ξ => by dsimp [b]; positivity)) (by simpa using ha_lp) (by simpa using hb_lp) simp only [Real.rpow_two, ← Real.sqrt_eq_rpow] at hcs have hprod : (fun ξ : Space => a ξ * b ξ) = fun ξ => ‖ξ‖ * ‖f ξ‖ := by funext ξ dsimp [a, b] have hq : (1 + ‖ξ‖ ^ 2 : ℝ) ≠ 0 := by positivity simp [← mul_assoc, hq] rw [hprod] at hcs exact hcs.trans (mul_le_mul_of_nonneg_left (Real.sqrt_le_sqrt (integral_mono hb_int hw hb_le)) fourierMomentConstant_nonneg) theorem fourierHNormSq_nonneg (s : ℕ) (ψ : ComplexTest) : 0 ≤ fourierHNormSq s ψ := integral_nonneg fun _ => by positivity /-- A Fourier multiplier of order at most two has the required `H³` control. -/ theorem sqrt_l2Sq_le_of_fourier_bound (ψ φ : ComplexTest) {C : ℝ} (hC : 0 ≤ C) (hw : Integrable (fun ξ : Space => (1 + ‖ξ‖ ^ 2) ^ 3 * ‖FourierTransform.fourierCLE ℂ ComplexTest ψ ξ‖ ^ 2)) (hφ : ∀ ξ : Space, ‖FourierTransform.fourierCLE ℂ ComplexTest φ ξ‖ ≤ C * (1 + ‖ξ‖ ^ 2) * ‖FourierTransform.fourierCLE ℂ ComplexTest ψ ξ‖) : Real.sqrt (l2Sq (φ : Space → ℂ)) ≤ C * Real.sqrt (fourierHNormSq 3 ψ) := by have hsq : (∫ ξ : Space, ‖FourierTransform.fourierCLE ℂ ComplexTest φ ξ‖ ^ 2) ≤ C ^ 2 * fourierHNormSq 3 ψ := by rw [fourierHNormSq, ← integral_const_mul] apply integral_mono (SchwartzParseval.integrable_norm_sq_fourier φ) (hw.const_mul (C ^ 2)) intro ξ calc ‖FourierTransform.fourierCLE ℂ ComplexTest φ ξ‖ ^ 2 ≤ (C * (1 + ‖ξ‖ ^ 2) * ‖FourierTransform.fourierCLE ℂ ComplexTest ψ ξ‖) ^ 2 := pow_le_pow_left₀ (norm_nonneg _) (hφ ξ) 2 _ = C ^ 2 * ((1 + ‖ξ‖ ^ 2) ^ 2 * ‖FourierTransform.fourierCLE ℂ ComplexTest ψ ξ‖ ^ 2) := by ring _ ≤ C ^ 2 * ((1 + ‖ξ‖ ^ 2) ^ 3 * ‖FourierTransform.fourierCLE ℂ ComplexTest ψ ξ‖ ^ 2) := by apply mul_le_mul_of_nonneg_left _ (sq_nonneg C) apply mul_le_mul_of_nonneg_right _ (sq_nonneg _) exact pow_le_pow_right₀ (le_add_of_nonneg_right (sq_nonneg ‖ξ‖)) (by norm_num) simp only [FourierTransform.fourierCLE_apply] at hsq rw [SchwartzParseval.integral_norm_sq_fourier] at hsq calc Real.sqrt (l2Sq (φ : Space → ℂ)) ≤ Real.sqrt (C ^ 2 * fourierHNormSq 3 ψ) := Real.sqrt_le_sqrt hsq _ = C * Real.sqrt (fourierHNormSq 3 ψ) := by rw [Real.sqrt_mul (sq_nonneg C), Real.sqrt_sq hC] /-- Exact magnitude of the coordinate-derivative Fourier multiplier. -/ theorem norm_fourier_partialCLM (i : Fin 3) (ψ : ComplexTest) (ξ : Space) : ‖FourierTransform.fourierCLE ℂ ComplexTest (partialCLM i ψ) ξ‖ = (2 * Real.pi) * ‖ξ i‖ * ‖FourierTransform.fourierCLE ℂ ComplexTest ψ ξ‖ := by rw [fourier_partialCLM_apply] simp only [norm_mul, Complex.norm_real, Complex.norm_I, mul_one, Real.norm_of_nonneg Real.pi_pos.le] norm_num theorem norm_fourier_partialCLM_le (i : Fin 3) (ψ : ComplexTest) (ξ : Space) : ‖FourierTransform.fourierCLE ℂ ComplexTest (partialCLM i ψ) ξ‖ ≤ (2 * Real.pi) * ‖ξ‖ * ‖FourierTransform.fourierCLE ℂ ComplexTest ψ ξ‖ := by rw [norm_fourier_partialCLM] exact mul_le_mul_of_nonneg_right (mul_le_mul_of_nonneg_left (PiLp.norm_apply_le ξ i) (by positivity)) (norm_nonneg _) theorem norm_test_le_integral_fourier (ψ : ComplexTest) (x : Space) : ‖ψ x‖ ≤ ∫ ξ : Space, ‖FourierTransform.fourierCLE ℂ ComplexTest ψ ξ‖ := by calc ‖ψ x‖ = ‖(𝓕⁻ (𝓕 ψ)) x‖ := by rw [FourierTransform.fourierInv_fourier_eq] _ ≤ _ := VectorFourier.norm_fourierIntegral_le_integral_norm _ _ _ _ _ theorem integral_norm_fourier_partialCLM_le_of_integrable (i : Fin 3) (ψ : ComplexTest) (hw : Integrable (fun ξ : Space => (1 + ‖ξ‖ ^ 2) ^ 3 * ‖FourierTransform.fourierCLE ℂ ComplexTest ψ ξ‖ ^ 2)) : (∫ ξ : Space, ‖FourierTransform.fourierCLE ℂ ComplexTest (partialCLM i ψ) ξ‖) ≤ (2 * Real.pi * fourierMomentConstant) * Real.sqrt (fourierHNormSq 3 ψ) := by have hm : Integrable (fun ξ : Space => ‖ξ‖ * ‖FourierTransform.fourierCLE ℂ ComplexTest ψ ξ‖) := by simpa only [pow_one] using (FourierTransform.fourierCLE ℂ ComplexTest ψ).integrable_pow_mul volume 1 calc (∫ ξ : Space, ‖FourierTransform.fourierCLE ℂ ComplexTest (partialCLM i ψ) ξ‖) ≤ ∫ ξ : Space, (2 * Real.pi) * (‖ξ‖ * ‖FourierTransform.fourierCLE ℂ ComplexTest ψ ξ‖) := by apply integral_mono (FourierTransform.fourierCLE ℂ ComplexTest (partialCLM i ψ)).integrable.norm (hm.const_mul (2 * Real.pi)) intro ξ simpa only [mul_assoc] using norm_fourier_partialCLM_le i ψ ξ _ = (2 * Real.pi) * (∫ ξ : Space, ‖ξ‖ * ‖FourierTransform.fourierCLE ℂ ComplexTest ψ ξ‖) := integral_const_mul _ _ _ ≤ (2 * Real.pi) * (fourierMomentConstant * Real.sqrt (fourierHNormSq 3 ψ)) := mul_le_mul_of_nonneg_left (integral_first_moment_le (FourierTransform.fourierCLE ℂ ComplexTest ψ).continuous.aestronglyMeasurable hw) (by positivity) _ = _ := by ring theorem sqrt_l2Sq_test_le_of_integrable (ψ : ComplexTest) (hw : Integrable (fun ξ : Space => (1 + ‖ξ‖ ^ 2) ^ 3 * ‖FourierTransform.fourierCLE ℂ ComplexTest ψ ξ‖ ^ 2)) : Real.sqrt (l2Sq (ψ : Space → ℂ)) ≤ Real.sqrt (fourierHNormSq 3 ψ) := by simpa only [one_mul] using sqrt_l2Sq_le_of_fourier_bound ψ ψ (C := 1) (by positivity) hw (fun ξ => by rw [one_mul] exact le_mul_of_one_le_left (norm_nonneg _) (le_add_of_nonneg_right (sq_nonneg ‖ξ‖))) theorem sqrt_l2Sq_partial_partial_le_of_integrable (i : Fin 3) (ψ : ComplexTest) (hw : Integrable (fun ξ : Space => (1 + ‖ξ‖ ^ 2) ^ 3 * ‖FourierTransform.fourierCLE ℂ ComplexTest ψ ξ‖ ^ 2)) : Real.sqrt (l2Sq (partialCLM i (partialCLM i ψ) : Space → ℂ)) ≤ (2 * Real.pi) ^ 2 * Real.sqrt (fourierHNormSq 3 ψ) := by apply sqrt_l2Sq_le_of_fourier_bound ψ (partialCLM i (partialCLM i ψ)) (sq_nonneg _) hw intro ξ calc ‖FourierTransform.fourierCLE ℂ ComplexTest (partialCLM i (partialCLM i ψ)) ξ‖ ≤ (2 * Real.pi) * ‖ξ‖ * ‖FourierTransform.fourierCLE ℂ ComplexTest (partialCLM i ψ) ξ‖ := norm_fourier_partialCLM_le i (partialCLM i ψ) ξ _ ≤ (2 * Real.pi) * ‖ξ‖ * ((2 * Real.pi) * ‖ξ‖ * ‖FourierTransform.fourierCLE ℂ ComplexTest ψ ξ‖) := mul_le_mul_of_nonneg_left (norm_fourier_partialCLM_le i ψ ξ) (by positivity) _ = (2 * Real.pi) ^ 2 * ‖ξ‖ ^ 2 * ‖FourierTransform.fourierCLE ℂ ComplexTest ψ ξ‖ := by ring _ ≤ (2 * Real.pi) ^ 2 * (1 + ‖ξ‖ ^ 2) * ‖FourierTransform.fourierCLE ℂ ComplexTest ψ ξ‖ := by gcongr; linarith theorem norm_partialCLM_le_of_integrable (i : Fin 3) (ψ : ComplexTest) (hw : Integrable (fun ξ : Space => (1 + ‖ξ‖ ^ 2) ^ 3 * ‖FourierTransform.fourierCLE ℂ ComplexTest ψ ξ‖ ^ 2)) (x : Space) : ‖partialCLM i ψ x‖ ≤ (2 * Real.pi * fourierMomentConstant) * Real.sqrt (fourierHNormSq 3 ψ) := (norm_test_le_integral_fourier (partialCLM i ψ) x).trans (integral_norm_fourier_partialCLM_le_of_integrable i ψ hw) theorem norm_rieszTest_partialCLM_le_of_integrable (i j k : Fin 3) (ψ : ComplexTest) (hw : Integrable (fun ξ : Space => (1 + ‖ξ‖ ^ 2) ^ 3 * ‖FourierTransform.fourierCLE ℂ ComplexTest ψ ξ‖ ^ 2)) (x : Space) : ‖rieszTest i j (partialCLM k ψ) x‖ ≤ (2 * Real.pi * fourierMomentConstant) * Real.sqrt (fourierHNormSq 3 ψ) := (RieszTestOperators.norm_rieszTest_le_integral i j (partialCLM k ψ) x).trans (integral_norm_fourier_partialCLM_le_of_integrable k ψ hw) /-- The first moment of a Schwartz Fourier transform is controlled uniformly by `H³`. -/ theorem fourier_first_moment_le (ψ : ComplexTest) : (∫ ξ : Space, ‖ξ‖ * ‖FourierTransform.fourierCLE ℂ ComplexTest ψ ξ‖) ≤ fourierMomentConstant * Real.sqrt (fourierHNormSq 3 ψ) := integral_first_moment_le (FourierTransform.fourierCLE ℂ ComplexTest ψ).continuous.aestronglyMeasurable (FourierSobolevWeights.integrable_fourierHNormSq_three ψ) theorem integral_norm_fourier_partialCLM_le (i : Fin 3) (ψ : ComplexTest) : (∫ ξ : Space, ‖FourierTransform.fourierCLE ℂ ComplexTest (partialCLM i ψ) ξ‖) ≤ (2 * Real.pi * fourierMomentConstant) * Real.sqrt (fourierHNormSq 3 ψ) := integral_norm_fourier_partialCLM_le_of_integrable i ψ (FourierSobolevWeights.integrable_fourierHNormSq_three ψ) /-- The spatial `L²` norm of a test is at most its Fourier `H³` norm. -/ theorem sqrt_l2Sq_test_le (ψ : ComplexTest) : Real.sqrt (l2Sq (ψ : Space → ℂ)) ≤ Real.sqrt (fourierHNormSq 3 ψ) := sqrt_l2Sq_test_le_of_integrable ψ (FourierSobolevWeights.integrable_fourierHNormSq_three ψ) /-- Coordinate second derivatives have a common `H³` bound. -/ theorem sqrt_l2Sq_partial_partial_le (i : Fin 3) (ψ : ComplexTest) : Real.sqrt (l2Sq (partialCLM i (partialCLM i ψ) : Space → ℂ)) ≤ (2 * Real.pi) ^ 2 * Real.sqrt (fourierHNormSq 3 ψ) := sqrt_l2Sq_partial_partial_le_of_integrable i ψ (FourierSobolevWeights.integrable_fourierHNormSq_three ψ) /-- The first derivative is bounded pointwise by one constant times the Fourier `H³` norm. -/ theorem norm_partialCLM_le (i : Fin 3) (ψ : ComplexTest) (x : Space) : ‖partialCLM i ψ x‖ ≤ (2 * Real.pi * fourierMomentConstant) * Real.sqrt (fourierHNormSq 3 ψ) := norm_partialCLM_le_of_integrable i ψ (FourierSobolevWeights.integrable_fourierHNormSq_three ψ) x /-- Applying the bounded Riesz symbol preserves the same pointwise test bound. -/ theorem norm_rieszTest_partialCLM_le (i j k : Fin 3) (ψ : ComplexTest) (x : Space) : ‖rieszTest i j (partialCLM k ψ) x‖ ≤ (2 * Real.pi * fourierMomentConstant) * Real.sqrt (fourierHNormSq 3 ψ) := norm_rieszTest_partialCLM_le_of_integrable i j k ψ (FourierSobolevWeights.integrable_fourierHNormSq_three ψ) x /-- One constant controls all test expressions appearing in pressure recovery. -/ theorem exists_uniform_test_bound : ∃ C : ℝ, 0 ≤ C ∧ ∀ ψ : ComplexTest, Real.sqrt (l2Sq (ψ : Space → ℂ)) ≤ C * Real.sqrt (fourierHNormSq 3 ψ) ∧ (∀ i : Fin 3, Real.sqrt (l2Sq (partialCLM i (partialCLM i ψ) : Space → ℂ)) ≤ C * Real.sqrt (fourierHNormSq 3 ψ)) ∧ (∀ (i : Fin 3) (x : Space), ‖partialCLM i ψ x‖ ≤ C * Real.sqrt (fourierHNormSq 3 ψ)) ∧ (∀ (i j k : Fin 3) (x : Space), ‖rieszTest i j (partialCLM k ψ) x‖ ≤ C * Real.sqrt (fourierHNormSq 3 ψ)) := by let C := max 1 (max ((2 * Real.pi) ^ 2) (2 * Real.pi * fourierMomentConstant)) have h₁ : 1 ≤ C := le_max_left _ _ have h₂ : (2 * Real.pi) ^ 2 ≤ C := (le_max_left _ _).trans (le_max_right _ _) have h₃ : 2 * Real.pi * fourierMomentConstant ≤ C := (le_max_right _ _).trans (le_max_right _ _) refine ⟨C, zero_le_one.trans h₁, fun ψ => ⟨?_, ?_, ?_, ?_⟩⟩ · exact (sqrt_l2Sq_test_le ψ).trans ((one_mul (Real.sqrt (fourierHNormSq 3 ψ))).symm.trans_le (mul_le_mul_of_nonneg_right h₁ (Real.sqrt_nonneg _))) · intro i exact (sqrt_l2Sq_partial_partial_le i ψ).trans (mul_le_mul_of_nonneg_right h₂ (Real.sqrt_nonneg _)) · intro i x exact (norm_partialCLM_le i ψ x).trans (mul_le_mul_of_nonneg_right h₃ (Real.sqrt_nonneg _)) · intro i j k x exact (norm_rieszTest_partialCLM_le i j k ψ x).trans (mul_le_mul_of_nonneg_right h₃ (Real.sqrt_nonneg _)) end NavierStokesR3.PressureTestBounds