import Euler.StaticEulerRegularity import Euler.StaticEulerCorrection import Euler.AllOrderDriftPressureBounds import Euler.AllOrderDriftFieldDecomposition import Euler.FieldTowerGraphGevrey import Euler.SmoothTimeAmplitudeBounds /-! Uniform source-only Gevrey bounds for the actual local Euler solution and its genuine time derivative. The same spatial radius works for sup and ordinary L² norms. All constants depend only on P,C,R, not on the particular solenoidal datum realizing the input bounds. -/ /-! ## From `Euler/StaticEulerWeightedBounds.lean` The text of `Euler/StaticEulerWeightedBounds.lean`, folded into this file, which was its only importer. -/ section /-! Explicit bounds for the constructed small-data solution. All constants are functions of the datum's supplied Gevrey bounds and the fixed period; none depends on which datum realizes those bounds. -/ noncomputable section namespace EulerStaticEuler open Set EulerSmoothLimit EulerLiftedGradientSpace EulerLpTranslation EulerAllOrderDriftCorrection EulerAllOrderCorrectionData EulerSobolevGevreyOperators EulerGevreyCorrectionSourceBounds EulerGevreyMetricEstimate EulerConstantCorrection /-- A fixed positive radius retained by the actual correction. -/ def retainedRadius (R : ℝ) : ℝ := EulerSmallCorrection.initialRadius (mixedRadius R)/4 def baseErrorFactor : ℝ := metricAmplification 1/2 theorem retainedRadius_pos (R : ℝ) (hR : 0 ≤ R) : 0 < retainedRadius R := div_pos (EulerSmallCorrection.initialRadius_pos _ (mixedRadius_nonneg R hR)) (by norm_num) theorem retainedRadius_small (R : ℝ) (hR : 0 ≤ R) : retainedRadius R*mixedRadius R ≤ 1/2 := by have h := EulerSmallCorrection.initialRadius_mul _ (mixedRadius_nonneg R hR) have hn := mul_nonneg (EulerSmallCorrection.initialRadius_pos _ (mixedRadius_nonneg R hR)).le (mixedRadius_nonneg R hR) dsimp [retainedRadius] linarith theorem baseErrorFactor_nonneg : 0 ≤ baseErrorFactor := div_nonneg (zero_le_one.trans (metricAmplification_one_le (by norm_num : (0 : ℝ) < 1))) (by norm_num) variable (P : ℝ) [Fact (0 < P)] def staticSourceCost (R : ℝ) : ℝ := sourceBound P 1 1 0 0 1 baseErrorFactor ((8/EulerSmallCorrection.initialRadius (mixedRadius R))*baseErrorFactor) def staticTimeCost (R : ℝ) : ℝ := (1+2*pressureBound*(448*1+1))*staticSourceCost P R theorem staticSourceCost_nonneg (R : ℝ) (hR : 0 ≤ R) : 0 ≤ staticSourceCost P R := sourceBound_nonneg P zero_le_one zero_le_one le_rfl le_rfl zero_le_one baseErrorFactor_nonneg (mul_nonneg (div_nonneg (by norm_num) (EulerSmallCorrection.initialRadius_pos _ (mixedRadius_nonneg R hR)).le) baseErrorFactor_nonneg) theorem staticTimeCost_nonneg (R : ℝ) (hR : 0 ≤ R) : 0 ≤ staticTimeCost P R := by have hS := staticSourceCost_nonneg P R hR have hP := zero_le_one.trans pressureBound_one_le unfold staticTimeCost positivity variable (u : SmoothL2Field Space) (C R : ℝ) (hC : 0 ≤ C) (hR : 0 ≤ R) (hu : u.HasJetBound C R) (hdiv : ∀ x, divergence u.field x=0) theorem budget_retainedRadius : (correctionBudget P u C R hC hR hu hdiv).reducedRadius P=retainedRadius R := rfl theorem budget_staticTimeCost (q : ℕ) (hq : 6 ≤ q) : (correctionBudget P u C R hC hR hu hdiv).timeDerivativeCost P q hq=staticTimeCost P R := rfl theorem correction_weighted (n : ℕ) (t : Icc (0 : ℝ) 1) : weightedNorm P 6 n (retainedRadius R) (((correctionBudget P u C R hC hR hu hdiv).fieldTower P).realization (n+6) t) ≤ amplitude P C R hC hR*baseErrorFactor := by have h := (correctionBudget P u C R hC hR hu hdiv).fieldTower_reducedNorm P (n+6) n le_rfl t change _ ≤ metricAmplification 1*(amplitude P C R hC hR/2) at h exact h.trans_eq (by unfold baseErrorFactor; ring) theorem exact_weighted (n : ℕ) (t : Icc (0 : ℝ) 1) : weightedNorm P 6 n (retainedRadius R) ((exactPacket P u C R hC hR hu hdiv).velocity.realization (n+6) t) ≤ amplitude P C R hC hR*(2*mixedAmplitude P C R+baseErrorFactor) := by have hw := EulerSmallCorrection.scaled_word (EulerStaticCylinder.field P 1 u) (EulerStaticCylinder.field_wordBound P 1 u 6 C R hC hR hu) (amplitude P C R hC hR) (amplitude_pos P C R hC hR).le have hb := hw.toFieldTower_weightedNorm_le_two (mixedRadius_nonneg R hR) (mul_nonneg (amplitude_pos P C R hC hR).le (mixedAmplitude_nonneg P C R hC hR)) (n+6) n le_rfl (retainedRadius R) (retainedRadius_pos R hR) (retainedRadius_small R hR) t change weightedNorm P 6 n (retainedRadius R) (((EulerStaticCylinder.field P 1 u).smul (amplitude P C R hC hR)).toFieldTower.realization (n+6) t+ ((correctionBudget P u C R hC hR hu hdiv).fieldTower P).realization (n+6) t) ≤ _ apply (weightedNorm_add_le P 6 n le_rfl (retainedRadius R) (retainedRadius_pos R hR) _ _).trans exact (add_le_add hb (correction_weighted P u C R hC hR hu hdiv n t)).trans_eq (by unfold mixedAmplitude; ring) theorem time_weighted (n : ℕ) (t : Icc (0 : ℝ) 1) : weightedNorm P 6 n (retainedRadius R) (((correctionBudget P u C R hC hR hu hdiv).timeDerivativeTower P).realization (n+6) t) ≤ amplitude P C R hC hR*staticTimeCost P R := by have h := (correctionBudget P u C R hC hR hu hdiv).timeDerivativeTower_reducedNorm_delta P (n+6) (by omega) n (by omega) (n+6) le_rfl t rw [budget_retainedRadius,budget_staticTimeCost] at h exact h.trans_eq (mul_comm _ _) end EulerStaticEuler end end noncomputable section namespace EulerStaticEuler open Set MeasureTheory ContinuousLinearMap EulerSmoothLimit EulerLpTranslation EulerLiftedGradientSpace EulerAllOrderCorrectionData EulerAllOrderDriftCorrection EulerCylinderCoordinates EulerCylinderSobolevSpace EulerPacketCylinderField open scoped ContDiff BoundedContinuousFunction private local instance : NormedAddCommGroup Space := inferInstance private local instance : NormedSpace ℝ Space := inferInstance private local instance (n : ℕ) : NormedAddCommGroup (Space [×n]→L[ℝ] Space) := inferInstance private local instance (n : ℕ) : NormedSpace ℝ (Space [×n]→L[ℝ] Space) := inferInstance private local instance (n : ℕ) : NormedAddCommGroup (Space →ᵇ (Space [×n]→L[ℝ] Space)) := inferInstance private local instance (n : ℕ) : NormedSpace ℝ (Space →ᵇ (Space [×n]→L[ℝ] Space)) := inferInstance def coverRadius (R : ℝ) : ℝ := ‖coordinateEquiv.symm.toContinuousLinearMap‖*(retainedRadius R)⁻¹ def outputRadius (R : ℝ) : ℝ := 1+4*coverRadius R theorem coverRadius_nonneg (R : ℝ) (hR : 0 ≤ R) : 0 ≤ coverRadius R := mul_nonneg (norm_nonneg _) (inv_nonneg.mpr (retainedRadius_pos R hR).le) theorem outputRadius_pos (R : ℝ) (hR : 0 ≤ R) : 0 < outputRadius R := by have h := coverRadius_nonneg R hR unfold outputRadius positivity variable (P : ℝ) [Fact (0 < P)] def graphCost (R : ℝ) : ℝ := 1+sobolevEmbeddingConstant P 3+Real.sqrt (2/P+2*P)*(1+coverRadius R) def outputVelocitySize (C R : ℝ) : ℝ := graphCost P R*(2*mixedAmplitude P C R+baseErrorFactor) def outputDerivativeSize (C R : ℝ) (hC : 0 ≤ C) (hR : 0 ≤ R) : ℝ := (amplitude P C R hC hR)⁻¹*graphCost P R*staticTimeCost P R theorem graphCost_nonneg (R : ℝ) (hR : 0 ≤ R) : 0 ≤ graphCost P R := by have h₁ := sobolevEmbeddingConstant_nonneg P 3 have h₂ := coverRadius_nonneg R hR unfold graphCost positivity theorem outputVelocitySize_nonneg (C R : ℝ) (hC : 0 ≤ C) (hR : 0 ≤ R) : 0 ≤ outputVelocitySize P C R := mul_nonneg (graphCost_nonneg P R hR) (add_nonneg (mul_nonneg (by norm_num) (mixedAmplitude_nonneg P C R hC hR)) baseErrorFactor_nonneg) theorem outputDerivativeSize_nonneg (C R : ℝ) (hC : 0 ≤ C) (hR : 0 ≤ R) : 0 ≤ outputDerivativeSize P C R hC hR := by exact mul_nonneg (mul_nonneg (inv_nonneg.mpr (amplitude_pos P C R hC hR).le) (graphCost_nonneg P R hR)) (staticTimeCost_nonneg P R hR) private theorem graphCost_embedding (R : ℝ) (hR : 0 ≤ R) : sobolevEmbeddingConstant P 3 ≤ graphCost P R := by have h := mul_nonneg (Real.sqrt_nonneg (2/P+2*P)) (add_nonneg zero_le_one (coverRadius_nonneg R hR)) unfold graphCost linarith private theorem graphCost_trace (R : ℝ) : Real.sqrt (2/P+2*P)*(1+coverRadius R) ≤ graphCost P R := by have h := sobolevEmbeddingConstant_nonneg P 3 unfold graphCost linarith private theorem jet_mono {a b r s : ℝ} (hb : 0 ≤ b) (hr : 0 ≤ r) (hab : a ≤ b) (hrs : r ≤ s) (n : ℕ) : a*r^n*(n.factorial : ℝ)^2 ≤ b*s^n*(n.factorial : ℝ)^2 := mul_le_mul_of_nonneg_right (mul_le_mul hab (pow_le_pow_left₀ hr hrs n) (pow_nonneg hr n) hb) (sq_nonneg _) variable (u : SmoothL2Field Space) (C R : ℝ) (hC : 0 ≤ C) (hR : 0 ≤ R) (hu : u.HasJetBound C R) (hdiv : ∀ x, divergence u.field x=0) theorem unitVelocityCoefficient_graph (t : Icc (0 : ℝ) 1) (x : Space) : (unitVelocityCoefficient P u C R hC hR hu hdiv).field t x = (exactPacket P u C R hC hR hu hdiv).velocity.zeroGraphCoefficient.field t x := by rw [unitVelocityCoefficient_apply,FieldTower.zeroGraphCoefficient_apply,FieldTower.zeroGraphField_apply] simp only [EulerConstantEuler.velocity,ExactLiftedPacket.rawVelocity,FieldTower.rawField, projIcc_of_mem zero_le_one t.property] theorem unitDerivativeCoefficient_graph (t : Icc (0 : ℝ) 1) (x : Space) : (unitDerivativeCoefficient P u C R hC hR hu hdiv).field t x = ((correctionBudget P u C R hC hR hu hdiv).timeDerivativeTower P).zeroGraphCoefficient.field t x := by change ((Field.zero P 1).smul (amplitude P C R hC hR)).toSmoothTimeField.field t (x,0)+_=_ rw [Field.toSmoothTimeField_apply] change amplitude P C R hC hR • (0 : Space)+_=_ rw [smul_zero,zero_add] rfl def localDerivativeField (t : Icc (0 : ℝ) (amplitude P C R hC hR)) : SmoothL2Field Space := SmoothL2Field.mapField (((amplitude P C R hC hR)⁻¹)^2 • ContinuousLinearMap.id ℝ Space) (((correctionBudget P u C R hC hR hu hdiv).timeDerivativeTower P).zeroGraphField (EulerTimeRescaling.timeMap (amplitude P C R hC hR) (amplitude_pos P C R hC hR) t)) theorem localDerivativeField_apply (t : Icc (0 : ℝ) (amplitude P C R hC hR)) (x : Space) : (localDerivativeField P u C R hC hR hu hdiv t).field x = (derivativeCoefficient P u C R hC hR hu hdiv).field t x := by let st := EulerTimeRescaling.timeMap (amplitude P C R hC hR) (amplitude_pos P C R hC hR) t change ((amplitude P C R hC hR)⁻¹)^2 • (((correctionBudget P u C R hC hR hu hdiv).timeDerivativeTower P).zeroGraphField st).field x = ((amplitude P C R hC hR)⁻¹)^2 • (unitDerivativeCoefficient P u C R hC hR hu hdiv).field st x have he := unitDerivativeCoefficient_graph P u C R hC hR hu hdiv st x rw [FieldTower.zeroGraphCoefficient_apply] at he exact congrArg (fun v : Space => ((amplitude P C R hC hR)⁻¹)^2 • v) he.symm theorem velocityCoefficient_bound (n : ℕ) : ‖(velocityCoefficient P u C R hC hR hu hdiv).jet n‖ ≤ outputVelocitySize P C R*(outputRadius R)^n*(n.factorial : ℝ)^2 := by have hV : 0 ≤ 2*mixedAmplitude P C R+baseErrorFactor := add_nonneg (mul_nonneg (by norm_num) (mixedAmplitude_nonneg P C R hC hR)) baseErrorFactor_nonneg have he := (amplitude_pos P C R hC hR).le have hunit := (exactPacket P u C R hC hR hu hdiv).velocity.zeroGraphCoefficient_bound (retainedRadius R) (amplitude P C R hC hR*(2*mixedAmplitude P C R+baseErrorFactor)) (retainedRadius_pos R hR) (mul_nonneg he hV) (exact_weighted P u C R hC hR hu hdiv) n rw [← SmoothTimeField.jet_eq_of_field_eq _ _ (unitVelocityCoefficient_graph P u C R hC hR hu hdiv) n] at hunit have h := (EulerTimeRescaling.coefficient_jet_norm (amplitude P C R hC hR) (amplitude_pos P C R hC hR) (unitVelocityCoefficient P u C R hC hR hu hdiv) n).trans (mul_le_mul_of_nonneg_left hunit (inv_nonneg.mpr he)) have hi : (amplitude P C R hC hR)⁻¹*amplitude P C R hC hR=1 := inv_mul_cancel₀ (amplitude_pos P C R hC hR).ne' apply h.trans calc _ = (sobolevEmbeddingConstant P 3*(2*mixedAmplitude P C R+baseErrorFactor))* (coverRadius R)^n*(n.factorial : ℝ)^2 := by unfold coverRadius calc _ = ((amplitude P C R hC hR)⁻¹*amplitude P C R hC hR)* ((sobolevEmbeddingConstant P 3*(2*mixedAmplitude P C R+baseErrorFactor))* (‖coordinateEquiv.symm.toContinuousLinearMap‖*(retainedRadius R)⁻¹)^n*(n.factorial : ℝ)^2) := by ring _ = _ := by rw [hi,one_mul] _ ≤ _ := jet_mono (outputVelocitySize_nonneg P C R hC hR) (coverRadius_nonneg R hR) (mul_le_mul_of_nonneg_right (graphCost_embedding P R hR) hV) (by have hc := coverRadius_nonneg R hR; unfold outputRadius; linarith) n theorem localField_bound (t : Icc (0 : ℝ) (amplitude P C R hC hR)) : (localField P u C R hC hR hu hdiv t).HasJetBound (outputVelocitySize P C R) (outputRadius R) := by have hV : 0 ≤ 2*mixedAmplitude P C R+baseErrorFactor := add_nonneg (mul_nonneg (by norm_num) (mixedAmplitude_nonneg P C R hC hR)) baseErrorFactor_nonneg have he := (amplitude_pos P C R hC hR).le have hunit := (exactPacket P u C R hC hR hu hdiv).velocity.zeroGraphField_bound (retainedRadius R) (amplitude P C R hC hR*(2*mixedAmplitude P C R+baseErrorFactor)) (retainedRadius_pos R hR) (mul_nonneg he hV) (exact_weighted P u C R hC hR hu hdiv) (EulerTimeRescaling.timeMap (amplitude P C R hC hR) (amplitude_pos P C R hC hR) t) have h := EulerTimeRescaling.mapField_hasJetBound (amplitude P C R hC hR)⁻¹ (inv_nonneg.mpr he) _ _ _ hunit have hi : (amplitude P C R hC hR)⁻¹*amplitude P C R hC hR=1 := inv_mul_cancel₀ (amplitude_pos P C R hC hR).ne' have ha : (amplitude P C R hC hR)⁻¹* (Real.sqrt (2/P+2*P)*(amplitude P C R hC hR*(2*mixedAmplitude P C R+baseErrorFactor))*(1+coverRadius R)) = (Real.sqrt (2/P+2*P)*(1+coverRadius R))*(2*mixedAmplitude P C R+baseErrorFactor) := by calc _ = ((amplitude P C R hC hR)⁻¹*amplitude P C R hC hR)* ((Real.sqrt (2/P+2*P)*(1+coverRadius R))*(2*mixedAmplitude P C R+baseErrorFactor)) := by ring _ = _ := by rw [hi,one_mul] change (localField P u C R hC hR hu hdiv t).HasJetBound ((amplitude P C R hC hR)⁻¹*(Real.sqrt (2/P+2*P)* (amplitude P C R hC hR*(2*mixedAmplitude P C R+baseErrorFactor))*(1+coverRadius R))) (4*coverRadius R) at h rw [ha] at h exact h.mono (by have hc := coverRadius_nonneg R hR; positivity) (mul_nonneg (by norm_num) (coverRadius_nonneg R hR)) (mul_le_mul_of_nonneg_right (graphCost_trace P R) hV) (by unfold outputRadius; linarith) theorem localDerivativeField_bound (t : Icc (0 : ℝ) (amplitude P C R hC hR)) : (localDerivativeField P u C R hC hR hu hdiv t).HasJetBound (outputDerivativeSize P C R hC hR) (outputRadius R) := by have he := (amplitude_pos P C R hC hR).le have hT := staticTimeCost_nonneg P R hR have hunit := ((correctionBudget P u C R hC hR hu hdiv).timeDerivativeTower P).zeroGraphField_bound (retainedRadius R) (amplitude P C R hC hR*staticTimeCost P R) (retainedRadius_pos R hR) (mul_nonneg he hT) (time_weighted P u C R hC hR hu hdiv) (EulerTimeRescaling.timeMap (amplitude P C R hC hR) (amplitude_pos P C R hC hR) t) have h := EulerTimeRescaling.mapField_hasJetBound (((amplitude P C R hC hR)⁻¹)^2) (sq_nonneg _) _ _ _ hunit have hi : (amplitude P C R hC hR)⁻¹*amplitude P C R hC hR=1 := inv_mul_cancel₀ (amplitude_pos P C R hC hR).ne' have ha : ((amplitude P C R hC hR)⁻¹)^2* (Real.sqrt (2/P+2*P)*(amplitude P C R hC hR*staticTimeCost P R)*(1+coverRadius R)) = (amplitude P C R hC hR)⁻¹*(Real.sqrt (2/P+2*P)*(1+coverRadius R))*staticTimeCost P R := by calc _ = ((amplitude P C R hC hR)⁻¹*amplitude P C R hC hR)* ((amplitude P C R hC hR)⁻¹*(Real.sqrt (2/P+2*P)*(1+coverRadius R))*staticTimeCost P R) := by ring _ = _ := by rw [hi,one_mul] change (localDerivativeField P u C R hC hR hu hdiv t).HasJetBound (((amplitude P C R hC hR)⁻¹)^2*(Real.sqrt (2/P+2*P)* (amplitude P C R hC hR*staticTimeCost P R)*(1+coverRadius R))) (4*coverRadius R) at h rw [ha] at h exact h.mono (by have hc := coverRadius_nonneg R hR; positivity) (mul_nonneg (by norm_num) (coverRadius_nonneg R hR)) (mul_le_mul_of_nonneg_right (mul_le_mul_of_nonneg_left (graphCost_trace P R) (inv_nonneg.mpr he)) hT) (by unfold outputRadius; linarith) end EulerStaticEuler