import Euler.SourceCylinderForcing import Euler.LpCylinderTimeWeight import Euler.OperatorGevreyCalculus import Euler.SourceCylinderWeight import Euler.PacketMajorantShift /-! # Actual forward coordinate and time-derivative bounds at one radius The source propagator bound is used only on the support half-ball. The real physical time derivative, divided by g, obeys the same fixed-Hq external-word radius as the forcing and spends just the solve's one shift. -/ /-! ## From `Euler/SourceCylinderTimeBounds.lean` The text of `Euler/SourceCylinderTimeBounds.lean`, folded into this file, which was its only importer. -/ section /-! # Same-radius bounds for the actual forward time right side The coordinate and physical right sides are the literal bounded coefficient expressions in (12) and its physical reconstruction. They preserve the input external radius and shift. Scalar time weights commute with these expressions; in particular no derivative of the positive profile is used. -/ noncomputable section namespace EulerSourceCylinderTimeBounds open Set ContinuousLinearMap EulerSmoothLimit EulerMeanCoefficients EulerLiftedGradientSpace EulerLpCylinderTranslation EulerLpCylinderPaths EulerLpCylinderRectangular EulerSourceCylinderForcing EulerSourceForwardCoefficient EulerTransverseForwardCoefficientGevrey EulerOperatorGevreyCalculus EulerGevrey EulerParameterWordGevrey EulerTimeLpGramGevrey EulerContinuousTimeWeight open scoped ContDiff BoundedContinuousFunction variable (P : ℝ) [Fact (0 < P)] {K U E ι : Type*} [TopologicalSpace K] [CompactSpace K] [NormedAddCommGroup U] [InnerProductSpace ℝ U] [CompleteSpace U] [NormedAddCommGroup E] [InnerProductSpace ℝ E] [CompleteSpace E] [Fintype ι] (S : Set Space) (hS : MeasurableSet S) (Q Q₁ : SmoothCoefficientPath K (U →L[ℝ] E)) (c : ℝ) (hc : 0 < c) (hQ : ∀ t x v, c*‖v‖^2 ≤ ‖Q.field t x v‖^2) (f : C(K,Supported P E S hS)) (a : C(K,Supported P U S hS)) def coordinateRhs : C(K,Supported P U S hS) := supportedMultiplierMap P S hS (sourceGenerator Q Q₁ c hc hQ) a+ projectedForcing P S hS Q c hc hQ f def physicalRhs : C(K,Supported P E S hS) := supportedMultiplierMap P S hS Q₁.field a+ supportedMultiplierMap P S hS Q.field (coordinateRhs P S hS Q Q₁ c hc hQ f a) theorem coordinateRhs_contDiff (hf : ContDiff ℝ ∞ (fun b : LiftTangent => pathTranslate P b (includePath P S hS f))) (ha : ContDiff ℝ ∞ (fun b : LiftTangent => pathTranslate P b (includePath P S hS a))) : ContDiff ℝ ∞ (fun b : LiftTangent => pathTranslate P b (includePath P S hS (coordinateRhs P S hS Q Q₁ c hc hQ f a))) := by have h₁ := supported_product_orbit_contDiff P (sourceGenerator Q Q₁ c hc hQ) (sourceGenerator_translation_contDiff Q Q₁ c hc hQ) S hS a ha have h₂ := projectedForcing_contDiff P S hS Q c hc hQ f hf simpa only [coordinateRhs,map_add] using h₁.add h₂ def coordinateCost (ι : Type*) [Fintype ι] (q : ℕ) (Ri C₀ C₁ Df Da : ℝ) : ℝ := 3*sobolevCoefficientAmplitude ι q (4*Ri) (18*Ri*C₀*C₁)*Da+ 3*sobolevCoefficientAmplitude ι q (4*Ri) (3*Ri*C₀)*Df def physicalCost (ι : Type*) [Fintype ι] (q : ℕ) (Ri C₀ C₁ Df Da : ℝ) : ℝ := 3*sobolevCoefficientAmplitude ι q (4*Ri) C₁*Da+ 3*sobolevCoefficientAmplitude ι q (4*Ri) C₀*coordinateCost ι q Ri C₀ C₁ Df Da theorem coordinateRhs_block_bound (directions : ι → LiftTangent) (hd : ∀ i, ‖directions i‖ ≤ 1) (q : ℕ) (hf : ContDiff ℝ ∞ (fun b : LiftTangent => pathTranslate P b (includePath P S hS f))) (ha : ContDiff ℝ ∞ (fun b : LiftTangent => pathTranslate P b (includePath P S hS a))) (Rc C₀ C₁ Ri R Df Da : ℝ) (hRc : 0 ≤ Rc) (hC₀ : 0 ≤ C₀) (hC₁ : 0 ≤ C₁) (hDf : 0 ≤ Df) (hDa : 0 ≤ Da) (hRi : 2*gramCost c C₀ 1*(Rc+1) ≤ Ri) (hR : sobolevCoefficientRadius ι (4*Ri) ≤ R) (hbQ : ∀ n t x, ‖iteratedFDeriv ℝ n (Q.field t : Space → U →L[ℝ] E) x‖ ≤ C₀*majorant Rc 0 n) (hbQ₁ : ∀ n t x, ‖iteratedFDeriv ℝ n (Q₁.field t : Space → U →L[ℝ] E) x‖ ≤ C₁*majorant Rc 0 n) (d : ℕ) (hbf : ∀ n, block directions q (fun b : LiftTangent => pathTranslate P b (includePath P S hS f)) n 0 ≤ Df*majorant R d n) (hba : ∀ n, block directions q (fun b : LiftTangent => pathTranslate P b (includePath P S hS a)) n 0 ≤ Da*majorant R d n) (n : ℕ) : block directions q (fun b : LiftTangent => pathTranslate P b (includePath P S hS (coordinateRhs P S hS Q Q₁ c hc hQ f a))) n 0 ≤ coordinateCost ι q Ri C₀ C₁ Df Da*majorant R d n := by obtain ⟨hi,-⟩ := inverseRadius_bounds c C₀ Rc Ri hc hRc hRi let B := sourceGenerator Q Q₁ c hc hQ have hB := sourceGenerator_translation_contDiff Q Q₁ c hc hQ have hbB := sourceGenerator_translation_bound Q Q₁ c hc hQ Rc C₀ C₁ Ri hRc hC₀ hC₁ hRi hbQ hbQ₁ have hfirst := product_orbit_block_bound P B hB directions hd q (includePath P S hS a) ha (4*Ri) (18*Ri*C₀*C₁) R Da (by positivity) (by positivity) hDa hR hbB d hba n have hsecond := projectedForcing_block_bound P S hS Q c hc hQ directions hd q f hf Rc C₀ Ri R Df hRc hC₀ hDf hRi hR hbQ d hbf n have hsum := block_add_le directions q (fun b : LiftTangent => pathTranslate P b (includePath P S hS (supportedMultiplierMap P S hS B a))) (fun b : LiftTangent => pathTranslate P b (includePath P S hS (projectedForcing P S hS Q c hc hQ f))) (supported_product_orbit_contDiff P B hB S hS a ha) (projectedForcing_contDiff P S hS Q c hc hQ f hf) n 0 have hbound := hsum.trans (add_le_add hfirst hsecond) simpa only [coordinateRhs,coordinateCost,B,map_add,Pi.add_def,add_mul] using hbound theorem physicalRhs_block_bound (directions : ι → LiftTangent) (hd : ∀ i, ‖directions i‖ ≤ 1) (q : ℕ) (hf : ContDiff ℝ ∞ (fun b : LiftTangent => pathTranslate P b (includePath P S hS f))) (ha : ContDiff ℝ ∞ (fun b : LiftTangent => pathTranslate P b (includePath P S hS a))) (Rc C₀ C₁ Ri R Df Da : ℝ) (hRc : 0 ≤ Rc) (hC₀ : 0 ≤ C₀) (hC₁ : 0 ≤ C₁) (hDf : 0 ≤ Df) (hDa : 0 ≤ Da) (hRi : 2*gramCost c C₀ 1*(Rc+1) ≤ Ri) (hR : sobolevCoefficientRadius ι (4*Ri) ≤ R) (hbQ : ∀ n t x, ‖iteratedFDeriv ℝ n (Q.field t : Space → U →L[ℝ] E) x‖ ≤ C₀*majorant Rc 0 n) (hbQ₁ : ∀ n t x, ‖iteratedFDeriv ℝ n (Q₁.field t : Space → U →L[ℝ] E) x‖ ≤ C₁*majorant Rc 0 n) (d : ℕ) (hbf : ∀ n, block directions q (fun b : LiftTangent => pathTranslate P b (includePath P S hS f)) n 0 ≤ Df*majorant R d n) (hba : ∀ n, block directions q (fun b : LiftTangent => pathTranslate P b (includePath P S hS a)) n 0 ≤ Da*majorant R d n) (n : ℕ) : block directions q (fun b : LiftTangent => pathTranslate P b (includePath P S hS (physicalRhs P S hS Q Q₁ c hc hQ f a))) n 0 ≤ physicalCost ι q Ri C₀ C₁ Df Da*majorant R d n := by obtain ⟨hi,hbase⟩ := inverseRadius_bounds c C₀ Rc Ri hc hRc hRi have hq (j : ℕ) (b : Space) : ‖iteratedFDeriv ℝ j (translateCoefficientPath Q.field) b‖ ≤ C₀*majorant (4*Ri) 0 j := (Q.norm_iteratedFDeriv_translation_le j _ (mul_nonneg hC₀ (majorant_nonneg Rc hRc 0 j)) (hbQ j) b).trans (mul_le_mul_of_nonneg_left (majorant_radius_mono Rc (4*Ri) hRc hbase 0 j) hC₀) have hq₁ (j : ℕ) (b : Space) : ‖iteratedFDeriv ℝ j (translateCoefficientPath Q₁.field) b‖ ≤ C₁*majorant (4*Ri) 0 j := (Q₁.norm_iteratedFDeriv_translation_le j _ (mul_nonneg hC₁ (majorant_nonneg Rc hRc 0 j)) (hbQ₁ j) b).trans (mul_le_mul_of_nonneg_left (majorant_radius_mono Rc (4*Ri) hRc hbase 0 j) hC₁) have hcost : 0 ≤ coordinateCost ι q Ri C₀ C₁ Df Da := by unfold coordinateCost exact add_nonneg (mul_nonneg (mul_nonneg (by norm_num) (sobolevCoefficientAmplitude_nonneg q (4*Ri) (18*Ri*C₀*C₁) (by positivity) (by positivity))) hDa) (mul_nonneg (mul_nonneg (by norm_num) (sobolevCoefficientAmplitude_nonneg q (4*Ri) (3*Ri*C₀) (by positivity) (by positivity))) hDf) have hcoord := coordinateRhs_contDiff P S hS Q Q₁ c hc hQ f a hf ha have hbcoord := coordinateRhs_block_bound P S hS Q Q₁ c hc hQ f a directions hd q hf ha Rc C₀ C₁ Ri R Df Da hRc hC₀ hC₁ hDf hDa hRi hR hbQ hbQ₁ d hbf hba have hfirst := product_orbit_block_bound P Q₁.field Q₁.translation_contDiff directions hd q (includePath P S hS a) ha (4*Ri) C₁ R Da (by positivity) hC₁ hDa hR hq₁ d hba n have hsecond := product_orbit_block_bound P Q.field Q.translation_contDiff directions hd q (includePath P S hS (coordinateRhs P S hS Q Q₁ c hc hQ f a)) hcoord (4*Ri) C₀ R (coordinateCost ι q Ri C₀ C₁ Df Da) (by positivity) hC₀ hcost hR hq d hbcoord n have hsum := block_add_le directions q (fun b : LiftTangent => pathTranslate P b (includePath P S hS (supportedMultiplierMap P S hS Q₁.field a))) (fun b : LiftTangent => pathTranslate P b (includePath P S hS (supportedMultiplierMap P S hS Q.field (coordinateRhs P S hS Q Q₁ c hc hQ f a)))) (supported_product_orbit_contDiff P Q₁.field Q₁.translation_contDiff S hS a ha) (supported_product_orbit_contDiff P Q.field Q.translation_contDiff S hS _ hcoord) n 0 have hbound := hsum.trans (add_le_add hfirst hsecond) simpa only [physicalRhs,physicalCost,map_add,Pi.add_def,add_mul] using hbound theorem coordinateRhs_weight (g : C(K,ℝ)) : coordinateRhs P S hS Q Q₁ c hc hQ (weight g f) (weight g a) = weight g (coordinateRhs P S hS Q Q₁ c hc hQ f a) := by simp only [coordinateRhs,projectedForcing,supportedMultiplier_weight,map_add] theorem physicalRhs_weight (g : C(K,ℝ)) : physicalRhs P S hS Q Q₁ c hc hQ (weight g f) (weight g a) = weight g (physicalRhs P S hS Q Q₁ c hc hQ f a) := by simp only [physicalRhs,coordinateRhs_weight,supportedMultiplier_weight,map_add] end EulerSourceCylinderTimeBounds end end /-! ## From `Euler/SourceCylinderDerivativeWeight.lean` The text of `Euler/SourceCylinderDerivativeWeight.lean`, folded into this file, which was its only importer. -/ section /-! The bounded time-right-side estimate applies to the actual PDE time derivative divided by g. -/ noncomputable section namespace EulerSourceCylinderEquation open Set ContinuousLinearMap EulerSmoothLimit EulerMeanCoefficients EulerLpCylinderTranslation EulerLpCylinderPaths EulerLpCylinderRectangular EulerSourceCylinderTimeBounds EulerSourceCylinderForwardSobolev EulerContinuousTimeWeight open scoped BoundedContinuousFunction variable (P : ℝ) [Fact (0 < P)] {U E : Type*} [NormedAddCommGroup U] [InnerProductSpace ℝ U] [CompleteSpace U] [NormedAddCommGroup E] [InnerProductSpace ℝ E] [CompleteSpace E] (S : Set Space) (hS : MeasurableSet S) (T : ℝ) (hT : 0 ≤ T) (Q Q₁ : SmoothCoefficientPath (Icc (0 : ℝ) T) (U →L[ℝ] E)) (c : ℝ) (hc : 0 < c) (hQ : ∀ t x v, c*‖v‖^2 ≤ ‖Q.field t x v‖^2) (f : C(Icc (0 : ℝ) T,Supported P E S hS)) (a₀ : Supported P U S hS) theorem velocityDerivative_eq_physicalRhs : velocityDerivative P S hS T hT Q Q₁ c hc hQ f a₀ = physicalRhs P S hS Q Q₁ c hc hQ f (coordinates P S hS T hT Q Q₁ c hc hQ f a₀) := rfl variable (g : C(Icc (0 : ℝ) T,ℝ)) (hg : ∀ t, 0 < g t) /-- This is A_t/g, obtained from the actual equation rather than differentiating A/g. -/ def normalizedVelocityDerivative : C(Icc (0 : ℝ) T,Supported P E S hS) := physicalRhs P S hS Q Q₁ c hc hQ f (normalizedCoordinates P T hT S hS Q Q₁ c hc hQ g hg f a₀) theorem velocityDerivative_weight_eq : velocityDerivative P S hS T hT Q Q₁ c hc hQ (weight g f) a₀ = weight g (normalizedVelocityDerivative P S hS T hT Q Q₁ c hc hQ f a₀ g hg) := by rw [velocityDerivative_eq_physicalRhs,coordinates_weight_eq] exact physicalRhs_weight P S hS Q Q₁ c hc hQ f _ g theorem normalized_full_velocityDerivative_eq : normalize g hg (includePath P S hS (velocityDerivative P S hS T hT Q Q₁ c hc hQ (weight g f) a₀)) = includePath P S hS (normalizedVelocityDerivative P S hS T hT Q Q₁ c hc hQ f a₀ g hg) := by rw [velocityDerivative_weight_eq,include_weight,normalize_weight] end EulerSourceCylinderEquation end end noncomputable section namespace EulerSourceCylinderForwardSobolev open Set ContinuousLinearMap EulerSmoothLimit EulerLiftedGradientSpace EulerMeanCoefficients EulerLpCylinderTranslation EulerLpCylinderPaths EulerLpCylinderCoefficients EulerSourceCylinderForward EulerSourceCylinderForcing EulerSourceForwardCoefficient EulerSourceCylinderEquation EulerSourceCylinderTimeBounds EulerGevrey EulerParameterWordGevrey EulerLinearDuhamel EulerLinearFundamentalExistence EulerTimeLpGramGevrey open scoped ContDiff BoundedContinuousFunction variable (P : ℝ) [Fact (0 < P)] {U E ι : Type*} [NormedAddCommGroup U] [InnerProductSpace ℝ U] [CompleteSpace U] [NormedAddCommGroup E] [InnerProductSpace ℝ E] [CompleteSpace E] [Fintype ι] (T : ℝ) (hT : 0 ≤ T) (S : Set Space) (hS : MeasurableSet S) (Q Q₁ : SmoothCoefficientPath (Icc (0 : ℝ) T) (U →L[ℝ] E)) (c : ℝ) (hc : 0 < c) (hQ : ∀ t x v, c*‖v‖^2 ≤ ‖Q.field t x v‖^2) (g : C(Icc (0 : ℝ) T,ℝ)) (hg : ∀ t, 0 < g t) (f : C(Icc (0 : ℝ) T,Supported P E S hS)) (a₀ : Supported P U S hS) private local instance : NormedRing (U →L[ℝ] U) := inferInstance private local instance : NormedRing (Space →ᵇ U →L[ℝ] U) := inferInstance theorem normalizedCoordinates_contDiff (hSc : IsCompact S) (hf : ContDiff ℝ ∞ (fun a : LiftTangent => pathTranslate P a (includePath P S hS f))) (ha₀ : ContDiff ℝ ∞ (fun a : LiftTangent => translate P a (a₀ : CylinderL2 P U))) : ContDiff ℝ ∞ (fun a : LiftTangent => pathTranslate P a (includePath P S hS (normalizedCoordinates P T hT S hS Q Q₁ c hc hQ g hg f a₀))) := EulerLpCylinderRegularForward.source_solution_contDiff P T hT univ MeasurableSet.univ (sourceGenerator Q Q₁ c hc hQ) (sourceGenerator_translation_contDiff Q Q₁ c hc hQ) S hS hSc isOpen_univ (subset_univ _) g hg (projectedForcing P S hS Q c hc hQ f) a₀ (projectedForcing_contDiff P S hS Q c hc hQ f hf) ha₀ variable (directions : ι → LiftTangent) (hd : ∀ i, ‖directions i‖ ≤ 1) (q : ℕ) (Ω : Set Space) (hΩ : MeasurableSet Ω) (hSc : IsCompact S) (hΩo : IsOpen Ω) (hsub : S ⊆ Ω) (hΩball : ∀ x ∈ Ω, ‖x‖ ≤ (1/2 : ℝ)) (hg₀ : g ⟨0,le_rfl,hT⟩ = 1) (hf : ContDiff ℝ ∞ (fun a : LiftTangent => pathTranslate P a (includePath P S hS f))) (ha₀ : ContDiff ℝ ∞ (fun a : LiftTangent => translate P a (a₀ : CylinderL2 P U))) (C A D Rc C₀ C₁ Ri R : ℝ) (hC : 0 ≤ C) (hA : 0 ≤ A) (hD : 0 ≤ D) (hRc : 0 ≤ Rc) (hC₀ : 0 ≤ C₀) (hC₁ : 0 ≤ C₁) (hRi : 2*gramCost c C₀ 1*(Rc+1) ≤ Ri) (hbQ : ∀ n t x, ‖iteratedFDeriv ℝ n (Q.field t : Space → U →L[ℝ] E) x‖ ≤ C₀*majorant Rc 0 n) (hbQ₁ : ∀ n t x, ‖iteratedFDeriv ℝ n (Q₁.field t : Space → U →L[ℝ] E) x‖ ≤ C₁*majorant Rc 0 n) (hRforcing : sobolevCoefficientRadius ι (4*Ri) ≤ R) (hR : 2*forwardSobolevCost ι q T C A (forcingCost ι q Ri C₀*D) (18*Ri*C₀*C₁) (4*Ri)* (sobolevCoefficientRadius ι (4*Ri)+1) ≤ R) (hH3 : ∀ t s : Icc (0 : ℝ) T, s ≤ t → ∀ x : Space, ‖x‖ ≤ (1/2 : ℝ) → ‖((fundamentalPath T hT (sourceGenerator Q Q₁ c hc hQ)).forward t x).comp ((fundamentalPath T hT (sourceGenerator Q Q₁ c hc hQ)).backward s x)‖ ≤ C*g t/g s) (d : ℕ) (hforce : ∀ n, block directions q (fun a : LiftTangent => pathTranslate P a (includePath P S hS f)) n 0 ≤ D*majorant R d n) (hinitial : ∀ n, block directions q (fun a : LiftTangent => translate P a (a₀ : CylinderL2 P U)) n 0 ≤ A*majorant R d n) include hd hΩ hSc hΩo hsub hΩball hg₀ hf ha₀ hC hA hD hRc hC₀ hC₁ hRi hbQ hbQ₁ hRforcing hR hH3 hforce hinitial theorem coordinate_forward_block_bound (n : ℕ) : block directions q (fun a : LiftTangent => pathTranslate P a (includePath P S hS (normalizedCoordinates P T hT S hS Q Q₁ c hc hQ g hg f a₀))) n 0 ≤ majorant R (d+1) n := by obtain ⟨hi,-⟩ := EulerTransverseForwardCoefficientGevrey.inverseRadius_bounds c C₀ Rc Ri hc hRc hRi have hcost : 0 ≤ forcingCost ι q Ri C₀ := mul_nonneg (by norm_num) (sobolevCoefficientAmplitude_nonneg q (4*Ri) (3*Ri*C₀) (by positivity) (by positivity)) exact source_forward_block_bound P directions hd q T hT Q Q₁ c hc hQ Ω S hΩ hS hSc hΩo hsub hΩball g hg hg₀ (projectedForcing P S hS Q c hc hQ f) a₀ (projectedForcing_contDiff P S hS Q c hc hQ f hf) ha₀ C A (forcingCost ι q Ri C₀*D) Rc C₀ C₁ Ri R hC hA (mul_nonneg hcost hD) hRc hC₀ hC₁ hRi hbQ hbQ₁ hR hH3 d (projectedForcing_block_bound P S hS Q c hc hQ directions hd q f hf Rc C₀ Ri R D hRc hC₀ hD hRi hRforcing hbQ d hforce) hinitial n /-- The bounded field is the actual time derivative divided by g, by normalized_full_velocityDerivative_eq. No profile derivative appears. -/ theorem derivative_forward_block_bound (hRone : 1 ≤ R) (n : ℕ) : block directions q (fun a : LiftTangent => pathTranslate P a (includePath P S hS (normalizedVelocityDerivative P S hS T hT Q Q₁ c hc hQ f a₀ g hg))) n 0 ≤ physicalCost ι q Ri C₀ C₁ D 1*majorant R (d+1) n := by have hub := coordinate_forward_block_bound P T hT S hS Q Q₁ c hc hQ g hg f a₀ directions hd q Ω hΩ hSc hΩo hsub hΩball hg₀ hf ha₀ C A D Rc C₀ C₁ Ri R hC hA hD hRc hC₀ hC₁ hRi hbQ hbQ₁ hRforcing hR hH3 d hforce hinitial have hforce' (j : ℕ) : block directions q (fun a : LiftTangent => pathTranslate P a (includePath P S hS f)) j 0 ≤ D*majorant R (d+1) j := (hforce j).trans (mul_le_mul_of_nonneg_left (majorant_mono_shift R hRone d (d+1) j (by omega)) hD) exact physicalRhs_block_bound P S hS Q Q₁ c hc hQ f (normalizedCoordinates P T hT S hS Q Q₁ c hc hQ g hg f a₀) directions hd q hf (normalizedCoordinates_contDiff P T hT S hS Q Q₁ c hc hQ g hg f a₀ hSc hf ha₀) Rc C₀ C₁ Ri R D 1 hRc hC₀ hC₁ hD zero_le_one hRi hRforcing hbQ hbQ₁ (d+1) hforce' (fun j => by simpa only [one_mul] using hub j) n end EulerSourceCylinderForwardSobolev