import NavierStokes.R3.RieszSymbolRegularity import NavierStokes.R3.RieszL2Bounds import NavierStokes.R3.ComparisonCutoffs import Mathlib.Analysis.FunctionalSpaces.SobolevInequality import Mathlib.MeasureTheory.Function.LpSpace.Complete import NavierStokes.R3.LpNormTools import NavierStokes.R3.FourierTestDerivatives import NavierStokes.R3.RieszLinearityDecay /-! # Differential identities for the Riesz test operators The operators here are the actual inverse Fourier integrals from `ComparisonFourierSetup`. Differentiation uses their integrable Fourier moments. -/ /-! ## From `NavierStokes/R3/SmoothSobolevL6.lean` The text of `NavierStokes/R3/SmoothSobolevL6.lean`, folded into this file, which was its only importer. -/ section /-! # Homogeneous Sobolev bounds for smooth square-integrable functions Spatial cutoffs extend the compactly supported Sobolev inequality to a smooth function whose value and derivative belong to `L²`. The derivative of the cutoff contributes an error tending to zero; Fatou's lemma passes to the limit. -/ noncomputable section open MeasureTheory Filter open scoped ContDiff ENNReal Topology namespace NavierStokesR3.RieszTestOperators open ProblemStatement ComparisonCutoffs variable {E : Type*} [NormedAddCommGroup E] [InnerProductSpace ℝ E] /-- The product rule with a uniformly bounded spatial cutoff. -/ theorem norm_fderiv_cutoff_smul_le {f : Space → E} (hf : ContDiff ℝ 1 f) {R : ℝ} (hR : 0 < R) (x : Space) : ‖fderiv ℝ (fun y => cutoff R y • f y) x‖ ≤ ‖fderiv ℝ f x‖ + (derivativeConstant 1 / R) * ‖f x‖ := by change ‖fderiv ℝ (cutoff R • f) x‖ ≤ _ rw [fderiv_smul ((cutoff_smooth R).differentiable (by simp) x) (hf.differentiable (by simp) x)] calc ‖cutoff R x • fderiv ℝ f x + (fderiv ℝ (cutoff R) x).smulRight (f x)‖ ≤ ‖cutoff R x • fderiv ℝ f x‖ + ‖(fderiv ℝ (cutoff R) x).smulRight (f x)‖ := norm_add_le _ _ _ = cutoff R x * ‖fderiv ℝ f x‖ + ‖fderiv ℝ (cutoff R) x‖ * ‖f x‖ := by rw [_root_.norm_smul (cutoff R x) (fderiv ℝ f x), Real.norm_eq_abs, abs_of_nonneg (cutoff_nonneg R x), ContinuousLinearMap.norm_smulRight_apply] _ ≤ 1 * ‖fderiv ℝ f x‖ + (derivativeConstant 1 / R) * ‖f x‖ := by exact add_le_add (mul_le_mul_of_nonneg_right (cutoff_le_one R x) (norm_nonneg _)) (mul_le_mul_of_nonneg_right (cutoff_fderiv_le hR x) (norm_nonneg _)) _ = ‖fderiv ℝ f x‖ + (derivativeConstant 1 / R) * ‖f x‖ := by rw [one_mul] /-- The cutoff derivative has a vanishing `L²` error. -/ theorem eLpNorm_fderiv_cutoff_smul_le {f : Space → E} (hf : ContDiff ℝ 1 f) {R : ℝ} (hR : 0 < R) : eLpNorm (fderiv ℝ (fun y => cutoff R y • f y)) 2 volume ≤ eLpNorm (fderiv ℝ f) 2 volume + ENNReal.ofReal (derivativeConstant 1 / R) * eLpNorm f 2 volume := by calc eLpNorm (fderiv ℝ (fun y => cutoff R y • f y)) 2 volume ≤ eLpNorm (fun x => ‖fderiv ℝ f x‖ + (derivativeConstant 1 / R) * ‖f x‖) 2 volume := eLpNorm_mono_real (norm_fderiv_cutoff_smul_le hf hR) _ ≤ eLpNorm (fun x => ‖fderiv ℝ f x‖) 2 volume + eLpNorm (fun x => (derivativeConstant 1 / R) * ‖f x‖) 2 volume := eLpNorm_add_le (hf.continuous_fderiv (by simp)).norm.aestronglyMeasurable (continuous_const.mul hf.continuous.norm).aestronglyMeasurable (by norm_num) _ = eLpNorm (fderiv ℝ f) 2 volume + ENNReal.ofReal (derivativeConstant 1 / R) * eLpNorm f 2 volume := by rw [eLpNorm_norm] change _ + eLpNorm ((derivativeConstant 1 / R) • (fun x => ‖f x‖)) 2 volume = _ rw [eLpNorm_const_smul, eLpNorm_norm, Real.enorm_eq_ofReal (div_nonneg (derivativeConstant_pos 1).le hR.le)] /-- The homogeneous `H¹ → L⁶` inequality without a support assumption. Only the function itself must have finite `L²` norm for this extended-norm inequality; the right side may be infinite. -/ theorem smooth_eLpNorm_six_le {f : Space → E} (hf : ContDiff ℝ 1 f) (h2 : MemLp f 2 volume) : eLpNorm f 6 volume ≤ (eLpNormLESNormFDerivOfEqInnerConst (volume : Measure Space) 2 : ℝ≥0∞) * eLpNorm (fderiv ℝ f) 2 volume := by let C : ℝ≥0∞ := eLpNormLESNormFDerivOfEqInnerConst (volume : Measure Space) 2 let D : ℝ≥0∞ := eLpNorm (fderiv ℝ f) 2 volume let M : ℝ≥0∞ := eLpNorm f 2 volume let u : ℕ → Space → E := fun n x => cutoff (n : ℝ) x • f x have hu (n : ℕ) : ContDiff ℝ 1 (u n) := ((cutoff_smooth (n : ℝ)).of_le (by simp)).smul hf have hnat : Tendsto (fun n : ℕ => (n : ℝ)) atTop atTop := tendsto_natCast_atTop_atTop have hpointwise (x : Space) : Tendsto (fun n => u n x) atTop (𝓝 (f x)) := by apply tendsto_nhds_of_eventually_eq filter_upwards [hnat.eventually (eventually_cutoff_eq_one x)] with n hn simp only [u, hn, one_smul] have hfatou : eLpNorm f 6 volume ≤ atTop.liminf (fun n => eLpNorm (u n) 6 volume) := Lp.eLpNorm_lim_le_liminf_eLpNorm (fun n => (hu n).continuous.aestronglyMeasurable) f (Filter.Eventually.of_forall hpointwise) have hn_dim : Module.finrank ℝ Space = 3 := by simp [Space, NavierStokes.ProblemStatement.Space] have hbound : ∀ᶠ n : ℕ in atTop, eLpNorm (u n) 6 volume ≤ C * (D + ENNReal.ofReal (derivativeConstant 1 / (n : ℝ)) * M) := by filter_upwards [eventually_ge_atTop (1 : ℕ)] with n hn have hnR : 0 < (n : ℝ) := by exact_mod_cast (lt_of_lt_of_le Nat.zero_lt_one hn) have hcompact : HasCompactSupport (u n) := (cutoff_hasCompactSupport hnR).smul_right have hSob := eLpNorm_le_eLpNorm_fderiv_of_eq_inner (volume : Measure Space) (hu n) hcompact (p := 2) (p' := 6) (by norm_num) (by omega) (by rw [hn_dim]; norm_num) have hSob' : eLpNorm (u n) 6 volume ≤ C * eLpNorm (fderiv ℝ (u n)) 2 volume := by simpa [C] using hSob exact hSob'.trans (mul_le_mul_right (eLpNorm_fderiv_cutoff_smul_le hf hnR) C) have herr : Tendsto (fun n : ℕ => ENNReal.ofReal (derivativeConstant 1 / (n : ℝ)) * M) atTop (𝓝 0) := by simpa using ENNReal.Tendsto.mul_const (ENNReal.tendsto_ofReal (tendsto_const_div_atTop_nhds_zero_nat (derivativeConstant 1))) (Or.inr h2.eLpNorm_ne_top) have hsum : Tendsto (fun n : ℕ => D + ENNReal.ofReal (derivativeConstant 1 / (n : ℝ)) * M) atTop (𝓝 (D + 0)) := tendsto_const_nhds.add herr have hlimit : Tendsto (fun n : ℕ => C * (D + ENNReal.ofReal (derivativeConstant 1 / (n : ℝ)) * M)) atTop (𝓝 (C * D)) := by simpa only [add_zero] using ENNReal.Tendsto.const_mul hsum (Or.inr (show C ≠ (⊤ : ℝ≥0∞) from ENNReal.coe_ne_top)) exact hfatou.trans ((Filter.liminf_le_liminf hbound).trans_eq hlimit.liminf_eq) /-- A smooth function with square-integrable value and derivative belongs to `L⁶`, with no support hypothesis. -/ theorem smooth_memLp_six {f : Space → E} (hf : ContDiff ℝ 1 f) (h2 : MemLp f 2 volume) (hD2 : MemLp (fderiv ℝ f) 2 volume) : MemLp f 6 volume := by refine ⟨hf.continuous.aestronglyMeasurable, (smooth_eLpNorm_six_le hf h2).trans_lt ?_⟩ exact ENNReal.mul_lt_top ENNReal.coe_lt_top hD2.2 /-- The real-valued homogeneous Sobolev bound when both `L²` norms are finite. -/ theorem smooth_eLpNorm_six_toReal_le {f : Space → E} (hf : ContDiff ℝ 1 f) (h2 : MemLp f 2 volume) (hD2 : MemLp (fderiv ℝ f) 2 volume) : (eLpNorm f 6 volume).toReal ≤ (eLpNormLESNormFDerivOfEqInnerConst (volume : Measure Space) 2 : ℝ) * (eLpNorm (fderiv ℝ f) 2 volume).toReal := by have hfinite : (eLpNormLESNormFDerivOfEqInnerConst (volume : Measure Space) 2 : ℝ≥0∞) * eLpNorm (fderiv ℝ f) 2 volume ≠ (⊤ : ℝ≥0∞) := (ENNReal.mul_lt_top ENNReal.coe_lt_top hD2.2).ne simpa only [ENNReal.toReal_mul, ENNReal.coe_toReal] using ENNReal.toReal_mono hfinite (smooth_eLpNorm_six_le hf h2) end NavierStokesR3.RieszTestOperators end end noncomputable section open MeasureTheory open scoped ContDiff FourierTransform RealInnerProductSpace BigOperators ENNReal namespace NavierStokesR3.RieszTestOperators open ProblemStatement Comparison open HarmonicTestFunctionals /-- A coordinate derivative, retained as a Schwartz function. -/ abbrev partialTest (k : Fin 3) (ψ : ComplexTest) : ComplexTest := LineDeriv.lineDerivOpCLM ℂ ComplexTest (NavierStokes.ProblemStatement.coordinateVector k) ψ @[simp] theorem partialTest_apply (k : Fin 3) (ψ : ComplexTest) (x : Space) : partialTest k ψ x = Comparison.partialD k (fun y => ψ y) x := rfl /-- The Fourier transform of a directional derivative of a Schwartz function. -/ theorem fourier_pderivTest (ψ : ComplexTest) (d ξ : Space) : (FourierTransform.fourierCLE ℂ ComplexTest (LineDeriv.lineDerivOpCLM ℂ ComplexTest d ψ)) ξ = (2 * Real.pi * Complex.I) * (⟪ξ, d⟫ : ℂ) * (FourierTransform.fourierCLE ℂ ComplexTest ψ) ξ := by have hD : Integrable (fderiv ℝ (fun y => ψ y)) := (SchwartzMap.fderivCLM ℂ Space ℂ ψ).integrable change 𝓕 (fun x => fderiv ℝ (fun y => ψ y) x d) ξ = _ rw [← Real.fourier_continuousLinearMap_apply hD, Real.fourier_fderiv ψ.integrable ψ.differentiable hD] simp only [VectorFourier.fourierSMulRight_apply, _root_.neg_apply, Complex.real_smul, smul_eq_mul, Complex.ofReal_neg, FourierTransform.fourierCLE_apply, SchwartzMap.fourier_coe] erw [innerSL_apply_apply] ring /-- An integrable first Fourier moment permits differentiation of the inverse Fourier integral in every direction. -/ theorem fderiv_fourierInv_apply {f : Space → ℂ} (hf : Integrable f) (hf1 : Integrable (fun ξ : Space => ‖ξ‖ * ‖f ξ‖)) (x d : Space) : fderiv ℝ (𝓕⁻ f) x d = 𝓕⁻ (fun ξ : Space => (2 * Real.pi * Complex.I) * (⟪ξ, d⟫ : ℂ) * f ξ) x := by let L : Space →L[ℝ] Space →L[ℝ] ℝ := -(innerSL ℝ : Space →L[ℝ] Space →L[ℝ] ℝ) have hL : L.toLinearMap₁₂ = -innerₗ Space := rfl have hR : Integrable (VectorFourier.fourierSMulRight L f) := by refine (hf1.const_mul (2 * Real.pi * ‖L‖)).mono' hf.aestronglyMeasurable.fourierSMulRight ?_ filter_upwards with ξ exact (VectorFourier.norm_fourierSMulRight_le L f ξ).trans_eq (by ring) have hd : fderiv ℝ (𝓕⁻ f) x = 𝓕⁻ (VectorFourier.fourierSMulRight L f) x := by simpa only [FourierTransform.fourierInv, hL] using (VectorFourier.hasFDerivAt_fourierIntegral L hf hf1 x).fderiv rw [hd] have heval : (𝓕⁻ (VectorFourier.fourierSMulRight L f) x) d = 𝓕⁻ (fun ξ => VectorFourier.fourierSMulRight L f ξ d) x := by simpa only [FourierTransform.fourierInv, hL] using (Real.fourierIntegral_continuousLinearMap_apply' (L := L) (a := d) (w := x) hR) rw [heval] apply congrArg (fun g : Space → ℂ => 𝓕⁻ g x) funext ξ simp only [L, VectorFourier.fourierSMulRight_apply, _root_.neg_apply, Complex.real_smul, smul_eq_mul, Complex.ofReal_neg] erw [innerSL_apply_apply] ring /-- Riesz transforms commute with directional derivatives on Schwartz inputs. -/ theorem pderiv_rieszTest (i j : Fin 3) (ψ : ComplexTest) (d x : Space) : fderiv ℝ (rieszTest i j ψ) x d = rieszTest i j (LineDeriv.lineDerivOpCLM ℂ ComplexTest d ψ) x := by change fderiv ℝ (𝓕⁻ (fun ξ : Space => (rieszSymbol i j ξ : ℂ) * (FourierTransform.fourierCLE ℂ ComplexTest ψ) ξ)) x d = _ rw [fderiv_fourierInv_apply (integrable_rieszMultiplier i j ψ) (by simpa only [pow_one] using integrable_pow_mul_norm_rieszMultiplier i j ψ 1)] unfold rieszTest apply congrArg (fun g : Space → ℂ => 𝓕⁻ g x) funext ξ rw [fourier_pderivTest] ring theorem partial_rieszTest (i j : Fin 3) (ψ : ComplexTest) (k : Fin 3) (x : Space) : Comparison.partialD k (rieszTest i j ψ) x = rieszTest i j (partialTest k ψ) x := pderiv_rieszTest i j ψ (NavierStokes.ProblemStatement.coordinateVector k) x theorem partial_rieszTest_eq (i j : Fin 3) (ψ : ComplexTest) (k : Fin 3) : Comparison.partialD k (rieszTest i j ψ) = rieszTest i j (partialTest k ψ) := funext (partial_rieszTest i j ψ k) theorem memLp_partial_rieszTest (i j : Fin 3) (ψ : ComplexTest) (k : Fin 3) : MemLp (Comparison.partialD k (rieszTest i j ψ)) 2 volume := by rw [partial_rieszTest_eq] exact memLp_rieszTest i j (partialTest k ψ) theorem integral_norm_sq_partial_rieszTest_le (i j : Fin 3) (ψ : ComplexTest) (k : Fin 3) : (∫ x : Space, ‖Comparison.partialD k (rieszTest i j ψ) x‖ ^ 2) ≤ ∫ x : Space, ‖Comparison.partialD k (fun y => ψ y) x‖ ^ 2 := by rw [partial_rieszTest_eq] simpa only [partialTest_apply] using integral_norm_sq_rieszTest_le i j (partialTest k ψ) theorem lpNorm_two_partial_rieszTest_le (i j : Fin 3) (ψ : ComplexTest) (k : Fin 3) : comparisonLpNorm 2 (Comparison.partialD k (rieszTest i j ψ)) ≤ comparisonLpNorm 2 (Comparison.partialD k (fun y => ψ y)) := by have hψ : MemLp (Comparison.partialD k (fun y => ψ y)) 2 volume := (partialTest k ψ).memLp 2 volume have h := integral_norm_sq_partial_rieszTest_le i j ψ k change l2Sq (Comparison.partialD k (rieszTest i j ψ)) ≤ l2Sq (Comparison.partialD k (fun y => ψ y)) at h rw [← LpNormTools.lpNorm_two_sq_eq_l2Sq (memLp_partial_rieszTest i j ψ k), ← LpNormTools.lpNorm_two_sq_eq_l2Sq hψ] at h exact (sq_le_sq₀ (LpNormTools.lpNorm_nonneg _ _) (LpNormTools.lpNorm_nonneg _ _)).mp h /-- The three coordinate columns control the operator norm of a real-linear map. -/ theorem norm_clm_le_sum_coordinate_norms {E : Type*} [NormedAddCommGroup E] [NormedSpace ℝ E] (A : Space →L[ℝ] E) : ‖A‖ ≤ ∑ k : Fin 3, ‖A (NavierStokes.ProblemStatement.coordinateVector k)‖ := by apply A.opNorm_le_bound (Finset.sum_nonneg fun _ _ => norm_nonneg _) intro v have hsplit : A v = ∑ k : Fin 3, v k • A (NavierStokes.ProblemStatement.coordinateVector k) := by conv_lhs => rw [← NavierStokes.PeriodicUniqueness.sum_coordinates v] simp only [map_sum, map_smul] rw [hsplit] calc ‖∑ k : Fin 3, v k • A (NavierStokes.ProblemStatement.coordinateVector k)‖ ≤ ∑ k : Fin 3, ‖v k • A (NavierStokes.ProblemStatement.coordinateVector k)‖ := norm_sum_le _ _ _ ≤ ∑ k : Fin 3, ‖v‖ * ‖A (NavierStokes.ProblemStatement.coordinateVector k)‖ := by apply Finset.sum_le_sum intro k _ rw [norm_smul] exact mul_le_mul_of_nonneg_right (PiLp.norm_apply_le v k) (norm_nonneg _) _ = (∑ k : Fin 3, ‖A (NavierStokes.ProblemStatement.coordinateVector k)‖) * ‖v‖ := by rw [← Finset.mul_sum, mul_comm] private theorem memLp_partial_norm_sum (i j : Fin 3) (ψ : ComplexTest) : MemLp (fun x : Space => ∑ k : Fin 3, ‖Comparison.partialD k (rieszTest i j ψ) x‖) 2 volume := by exact MeasureTheory.memLp_finsetSum Finset.univ (fun k _ => (memLp_partial_rieszTest i j ψ k).norm) /-- The complete spatial derivative has a finite `L²` norm. -/ theorem memLp_fderiv_rieszTest (i j : Fin 3) (ψ : ComplexTest) : MemLp (fderiv ℝ (rieszTest i j ψ)) 2 volume := by have hC1 : ContDiff ℝ 1 (rieszTest i j ψ) := (contDiff_rieszTest i j ψ).of_le (by simp) refine (memLp_partial_norm_sum i j ψ).mono' (hC1.continuous_fderiv (by simp)).aestronglyMeasurable ?_ filter_upwards with x exact norm_clm_le_sum_coordinate_norms (fderiv ℝ (rieszTest i j ψ) x) private theorem lpNorm_two_fin3_sum_le {E : Type*} [NormedAddCommGroup E] (f : Fin 3 → Space → E) (hf : ∀ k, MemLp (f k) 2 volume) : comparisonLpNorm 2 (fun x => ∑ k : Fin 3, f k x) ≤ ∑ k : Fin 3, comparisonLpNorm 2 (f k) := by have h := (LpNormTools.lpNorm_add_le (by norm_num : (1 : ℝ≥0∞) ≤ 2) ((hf 0).add (hf 1)) (hf 2)).trans (add_le_add_left (LpNormTools.lpNorm_add_le (by norm_num : (1 : ℝ≥0∞) ≤ 2) (hf 0) (hf 1)) _) simpa only [Fin.sum_univ_three, Pi.add_apply, add_assoc] using h theorem lpNorm_two_fderiv_rieszTest_le (i j : Fin 3) (ψ : ComplexTest) : comparisonLpNorm 2 (fderiv ℝ (rieszTest i j ψ)) ≤ 3 * comparisonLpNorm 2 (fderiv ℝ (fun y => ψ y)) := by have hDψ : MemLp (fderiv ℝ (fun y => ψ y)) 2 volume := (SchwartzMap.fderivCLM ℂ Space ℂ ψ).memLp 2 volume have hcol (k : Fin 3) (x : Space) : ‖Comparison.partialD k (fun y => ψ y) x‖ ≤ ‖fderiv ℝ (fun y => ψ y) x‖ := by simpa only [Comparison.partialD, NavierStokes.PeriodicIntegration.spatialPartial, NavierStokes.ProblemStatement.coordinateVector, PiLp.norm_single, norm_one, mul_one] using (fderiv ℝ (fun y => ψ y) x).le_opNorm (NavierStokes.ProblemStatement.coordinateVector k) calc comparisonLpNorm 2 (fderiv ℝ (rieszTest i j ψ)) ≤ comparisonLpNorm 2 (fun x : Space => ∑ k : Fin 3, ‖Comparison.partialD k (rieszTest i j ψ) x‖) := by apply LpNormTools.lpNorm_mono_of_norm_le (memLp_partial_norm_sum i j ψ) intro x rw [Real.norm_of_nonneg (Finset.sum_nonneg fun _ _ => norm_nonneg _)] exact norm_clm_le_sum_coordinate_norms (fderiv ℝ (rieszTest i j ψ) x) _ ≤ ∑ k : Fin 3, comparisonLpNorm 2 (fun x : Space => ‖Comparison.partialD k (rieszTest i j ψ) x‖) := lpNorm_two_fin3_sum_le _ (fun k => (memLp_partial_rieszTest i j ψ k).norm) _ = ∑ k : Fin 3, comparisonLpNorm 2 (Comparison.partialD k (rieszTest i j ψ)) := by simp only [comparisonLpNorm, eLpNorm_norm] _ ≤ ∑ k : Fin 3, comparisonLpNorm 2 (Comparison.partialD k (fun y => ψ y)) := by exact Finset.sum_le_sum fun k _ => lpNorm_two_partial_rieszTest_le i j ψ k _ ≤ ∑ _k : Fin 3, comparisonLpNorm 2 (fderiv ℝ (fun y => ψ y)) := by exact Finset.sum_le_sum fun k _ => LpNormTools.lpNorm_mono_of_norm_le hDψ (hcol k) _ = 3 * comparisonLpNorm 2 (fderiv ℝ (fun y => ψ y)) := by simp theorem memLp_rieszTest_six (i j : Fin 3) (ψ : ComplexTest) : MemLp (rieszTest i j ψ) 6 volume := smooth_memLp_six ((contDiff_rieszTest i j ψ).of_le (by simp)) (memLp_rieszTest i j ψ) (memLp_fderiv_rieszTest i j ψ) /-- The homogeneous `L⁶` estimate needed in the pressure flux. Both the output and its derivative have genuine finite norms by the membership theorems above. -/ theorem lpNorm_six_rieszTest_le (i j : Fin 3) (ψ : ComplexTest) : comparisonLpNorm 6 (rieszTest i j ψ) ≤ 3 * (eLpNormLESNormFDerivOfEqInnerConst (volume : Measure Space) 2 : ℝ) * comparisonLpNorm 2 (fderiv ℝ (fun y => ψ y)) := by have h := smooth_eLpNorm_six_toReal_le ((contDiff_rieszTest i j ψ).of_le (by simp)) (memLp_rieszTest i j ψ) (memLp_fderiv_rieszTest i j ψ) change comparisonLpNorm 6 (rieszTest i j ψ) ≤ (eLpNormLESNormFDerivOfEqInnerConst (volume : Measure Space) 2 : ℝ) * comparisonLpNorm 2 (fderiv ℝ (rieszTest i j ψ)) at h calc _ ≤ (eLpNormLESNormFDerivOfEqInnerConst (volume : Measure Space) 2 : ℝ) * comparisonLpNorm 2 (fderiv ℝ (rieszTest i j ψ)) := h _ ≤ (eLpNormLESNormFDerivOfEqInnerConst (volume : Measure Space) 2 : ℝ) * (3 * comparisonLpNorm 2 (fderiv ℝ (fun y => ψ y))) := mul_le_mul_of_nonneg_left (lpNorm_two_fderiv_rieszTest_le i j ψ) (by positivity) _ = _ := by ring /-- Applying the test operator to the ordinary Laplacian recovers the negative mixed derivative. The multiplier identity is valid also at frequency zero. -/ theorem rieszTest_laplacianCLM (i j : Fin 3) (ψ : ComplexTest) (x : Space) : rieszTest i j (laplacianCLM ψ) x = -(partialCLM i (partialCLM j ψ)) x := by have hmult (ξ : Space) : (rieszSymbol i j ξ : ℂ) * (FourierTransform.fourierCLE ℂ ComplexTest (laplacianCLM ψ)) ξ = (FourierTransform.fourierCLE ℂ ComplexTest (-(partialCLM i (partialCLM j ψ)))) ξ := by rw [map_neg] change (rieszSymbol i j ξ : ℂ) * (FourierTransform.fourierCLE ℂ ComplexTest (laplacianCLM ψ)) ξ = -((FourierTransform.fourierCLE ℂ ComplexTest (partialCLM i (partialCLM j ψ))) ξ) rw [fourier_laplacianCLM_apply, fourier_partialCLM_apply, fourier_partialCLM_apply] have hsymbol : (rieszSymbol i j ξ : ℂ) * ((‖ξ‖ ^ 2 : ℝ) : ℂ) = -((ξ i : ℂ) * (ξ j : ℂ)) := by exact_mod_cast rieszSymbol_mul_norm_sq i j ξ calc _ = -(4 * (Real.pi : ℂ) ^ 2) * ((rieszSymbol i j ξ : ℂ) * ((‖ξ‖ ^ 2 : ℝ) : ℂ)) * (FourierTransform.fourierCLE ℂ ComplexTest ψ) ξ := by ring _ = _ := by rw [hsymbol] ring_nf simp [Complex.I_sq] have hfun : (fun ξ : Space => (rieszSymbol i j ξ : ℂ) * (FourierTransform.fourierCLE ℂ ComplexTest (laplacianCLM ψ)) ξ) = (FourierTransform.fourierCLE ℂ ComplexTest (-(partialCLM i (partialCLM j ψ))) : Space → ℂ) := funext hmult unfold rieszTest rw [hfun] have hinv := congrArg (fun φ : ComplexTest => φ x) ((FourierTransform.fourierCLE ℂ ComplexTest).symm_apply_apply (-(partialCLM i (partialCLM j ψ)))) simpa only [FourierTransform.fourierCLE_symm_apply, SchwartzMap.fourierInv_coe] using! hinv /-- The canonical pressure functional solves the test-function Poisson equation. -/ theorem pressurePair_laplacianCLM (i j : Fin 3) (g : Space → ℝ) (ψ : ComplexTest) : pressurePair i j g (laplacianCLM ψ) = -(∫ x : Space, (g x : ℂ) * (partialCLM i (partialCLM j ψ)) x) := by simp only [pressurePair, rieszTest_laplacianCLM, mul_neg, integral_neg] end NavierStokesR3.RieszTestOperators