import Euler.CylinderEndpointRegularity import Euler.CylinderDirichletPhysicalBounds import Euler.CylinderTerminalAmplitude /-! Actual fixed-Hq mixed-word estimates for unit terminal data. The spatial radius is unchanged; the coordinate/velocity use two shifts and the true time derivative uses three. Every inverse guard is source-only. -/ /-! ## From `Euler/CylinderEndpointBudget.lean` The text of `Euler/CylinderEndpointBudget.lean`, folded into this file, which was its only importer. -/ section /-! Source-only guards for the affine-terminal cylinder inverse. The affine forcing is bounded for unit terminal data; no terminal amplitude, derivative shift, or recursive grade occurs in the radius conditions. -/ noncomputable section namespace EulerCylinderDirichlet.Coefficients open Set ContinuousLinearMap EulerSmoothLimit EulerMeanCoefficients EulerGevrey EulerParameterWordGevrey EulerTransverseFixedSobolev EulerFixedEvolutionSobolev EulerTimeLpGramSobolev EulerTimeLpAccelerationSobolev open scoped ContDiff BoundedContinuousFunction def endpointForcingCost (ι : Type*) [Fintype ι] (q : ℕ) (T Rc C₁ : ℝ) : ℝ := 6*sobolevCoefficientAmplitude ι q Rc C₁*T⁻¹ variable {T : ℝ} {U E : Type*} [NormedAddCommGroup U] [InnerProductSpace ℝ U] [NormedAddCommGroup E] [InnerProductSpace ℝ E] structure EndpointBudget (D : Coefficients T U E) (ι : Type*) [Fintype ι] (q : ℕ) where Rc : ℝ C₀ : ℝ C₁ : ℝ CH : ℝ R : ℝ Rc_nonneg : 0 ≤ Rc C₀_nonneg : 0 ≤ C₀ C₁_nonneg : 0 ≤ C₁ CH_nonneg : 0 ≤ CH time_le_one : T ≤ 1 frame_smooth : ContDiff ℝ ∞ (translateCoefficientPath D.Q) frameDerivative_smooth : ContDiff ℝ ∞ (translateCoefficientPath D.Q₁) hessian_smooth : ContDiff ℝ ∞ (translateCoefficientPath D.H) frame_bound : ∀ n a, ‖iteratedFDeriv ℝ n (translateCoefficientPath D.Q) a‖ ≤ C₀*majorant Rc 0 n frameDerivative_bound : ∀ n a, ‖iteratedFDeriv ℝ n (translateCoefficientPath D.Q₁) a‖ ≤ C₁*majorant Rc 0 n hessian_bound : ∀ n a, ‖iteratedFDeriv ℝ n (translateCoefficientPath D.H) a‖ ≤ CH*majorant Rc 0 n weak_radius : 2*blockCost ι q T Rc C₀ C₁ CH D.lower (endpointForcingCost ι q T Rc C₁)* (sobolevCoefficientRadius ι Rc+1) ≤ R strong_radius : 2*gramBlockCost ι q D.lower Rc C₀ (accelerationBlockAmplitude ι q Rc C₀ C₁ (endpointForcingCost ι q T Rc C₁) 1)* (sobolevCoefficientRadius ι Rc+1) ≤ R uniform_radius : 2*gramBlockCost ι q D.lower Rc C₀ (accelerationBlockAmplitude ι q Rc C₀ C₁ (endpointForcingCost ι q T Rc C₁) (traceCost T))* (sobolevCoefficientRadius ι Rc+1) ≤ R namespace EndpointBudget variable {D : Coefficients T U E} {ι : Type*} [Fintype ι] {q : ℕ} (L : EndpointBudget D ι q) theorem forcingCost_nonneg : 0 ≤ endpointForcingCost ι q T L.Rc L.C₁ := mul_nonneg (mul_nonneg (by norm_num) (sobolevCoefficientAmplitude_nonneg q L.Rc L.C₁ L.Rc_nonneg L.C₁_nonneg)) (inv_nonneg.mpr D.time_pos.le) theorem radius_bounds : 1 ≤ L.R ∧ sobolevCoefficientRadius ι L.Rc ≤ L.R := weak_radius_bounds ι q T L.Rc L.C₀ L.C₁ L.CH D.lower (endpointForcingCost ι q T L.Rc L.C₁) L.R D.time_pos.le L.Rc_nonneg L.C₀_nonneg L.C₁_nonneg L.CH_nonneg L.forcingCost_nonneg L.weak_radius def coordinateCost (_L : EndpointBudget D ι q) : ℝ := T⁻¹+traceCost T def velocityCost : ℝ := 3*sobolevCoefficientAmplitude ι q L.Rc L.C₀*L.coordinateCost def derivativeCost : ℝ := 3*sobolevCoefficientAmplitude ι q L.Rc L.C₁*L.coordinateCost+ 3*sobolevCoefficientAmplitude ι q L.Rc L.C₀ theorem coordinateCost_nonneg : 0 ≤ L.coordinateCost := add_nonneg (inv_nonneg.mpr D.time_pos.le) (traceCost_nonneg T D.time_pos.le) end EndpointBudget end EulerCylinderDirichlet.Coefficients end end noncomputable section namespace EulerCylinderDirichlet.Coefficients.EndpointBudget open Set ContinuousLinearMap InnerProductSpace EulerSmoothLimit EulerLiftedGradientSpace EulerLpCylinderTranslation EulerLpCylinderRectangular EulerTimeLp EulerGevrey EulerParameterWordGevrey EulerFixedEvolutionSobolev open scoped ContDiff BoundedContinuousFunction variable (P : ℝ) [Fact (0 < P)] {T : ℝ} {U E : Type*} [NormedAddCommGroup U] [InnerProductSpace ℝ U] [CompleteSpace U] [NormedAddCommGroup E] [InnerProductSpace ℝ E] [CompleteSpace E] {D : Coefficients T U E} {ι : Type*} [Fintype ι] {q : ℕ} (L : EndpointBudget D ι q) (directions : ι → LiftTangent) (hdir : ∀ i, ‖directions i‖ ≤ 1) (Y : CylinderL2 P U) (hY : ContDiff ℝ ∞ (fun a : LiftTangent => translate P a Y)) (d : ℕ) (hYb : ∀ n, block directions q (fun a : LiftTangent => translate P a Y) n 0 ≤ majorant L.R d n) include hY hYb in omit [CompleteSpace U] [CompleteSpace E] in theorem constant_unit_bound (n : ℕ) : block directions q (fun a : LiftTangent => pathTranslate P a (ContinuousMap.const (Icc (0 : ℝ) T) (T⁻¹ • Y))) n 0 ≤ T⁻¹*majorant L.R d n := by have hs := block_smul_le directions q T⁻¹ (fun a : LiftTangent => pathTranslate P a (ContinuousMap.const (Icc (0 : ℝ) T) Y)) (constantPath_orbit_contDiff P Y hY) n 0 rw [abs_of_nonneg (inv_nonneg.mpr D.time_pos.le)] at hs have hb := (constantPath_block_le (K := Icc (0 : ℝ) T) P directions q Y hY n 0).trans (hYb n) have he : ContinuousMap.const (Icc (0 : ℝ) T) (T⁻¹ • Y) = T⁻¹ • ContinuousMap.const (Icc (0 : ℝ) T) Y := rfl rw [he] simp only [map_smul] exact hs.trans (mul_le_mul_of_nonneg_left hb (inv_nonneg.mpr D.time_pos.le)) include hdir hY hYb omit [CompleteSpace U] [CompleteSpace E] in theorem forcing_unit_bound (n : ℕ) : block directions q (fun a : LiftTangent => pathTranslate P a (D.endpointForcing P Y)) n 0 ≤ endpointForcingCost ι q T L.Rc L.C₁*majorant L.R d n := by let Z := ContinuousMap.const (Icc (0 : ℝ) T) (T⁻¹ • Y) have hz : ContDiff ℝ ∞ (fun a : LiftTangent => pathTranslate P a Z) := endpointConstant_orbit_contDiff P Y hY have hp := product_orbit_block_bound P D.Q₁ L.frameDerivative_smooth directions hdir q Z hz L.Rc L.C₁ L.R T⁻¹ L.Rc_nonneg L.C₁_nonneg (inv_nonneg.mpr D.time_pos.le) L.radius_bounds.2 L.frameDerivative_bound d (L.constant_unit_bound P directions Y hY d hYb) n have hs := block_smul_le directions q (2 : ℝ) (fun a : LiftTangent => pathTranslate P a (fullMultiplierMap P D.Q₁ Z)) (product_orbit_contDiff P D.Q₁ L.frameDerivative_smooth Z hz) n 0 have he : D.endpointForcing P Y = (2 : ℝ) • fullMultiplierMap P D.Q₁ Z := rfl rw [he] simp only [map_smul] apply (hs.trans (mul_le_mul_of_nonneg_left hp (abs_nonneg (2 : ℝ)))).trans_eq unfold endpointForcingCost norm_num ring theorem coordinate_unit_bound (n : ℕ) : block directions q (fun a : LiftTangent => pathTranslate P a (D.endpointCoordinate P Y)) n 0 ≤ L.coordinateCost*majorant L.R (d+2) n := by have hf := D.endpointForcing_orbit_contDiff P L.frameDerivative_smooth Y hY have hv := D.velocityPath_orbit_contDiff P L.frame_smooth L.frameDerivative_smooth L.hessian_smooth (D.endpointForcing P Y) hf have hb := D.continuousVelocity_block_bound P directions hdir q L.frame_smooth L.frameDerivative_smooth L.hessian_smooth L.Rc L.C₀ L.C₁ L.CH (endpointForcingCost ι q T L.Rc L.C₁) L.R L.Rc_nonneg L.C₀_nonneg L.C₁_nonneg L.CH_nonneg L.forcingCost_nonneg L.frame_bound L.frameDerivative_bound L.hessian_bound L.weak_radius L.strong_radius L.time_le_one (D.endpointForcing P Y) hf d (L.forcing_unit_bound P directions hdir Y hY d hYb) n 0 have hc := (L.constant_unit_bound P directions Y hY d hYb n).trans (mul_le_mul_of_nonneg_left (majorant_mono_shift L.R L.radius_bounds.1 d (d+2) n (by omega)) (inv_nonneg.mpr D.time_pos.le)) rw [D.endpointCoordinate_eq_forced P Y] simp only [map_sub] exact (block_sub_le directions q _ _ (endpointConstant_orbit_contDiff P Y hY) hv n 0).trans (by simpa only [coordinateCost,add_mul] using add_le_add hc hb) theorem acceleration_unit_bound (n : ℕ) : block directions q (fun a : LiftTangent => pathTranslate P a (D.endpointAcceleration P Y)) n 0 ≤ majorant L.R (d+3) n := by have hf := D.endpointForcing_orbit_contDiff P L.frameDerivative_smooth Y hY have ha := D.accelerationPath_orbit_contDiff P L.frame_smooth L.frameDerivative_smooth L.hessian_smooth (D.endpointForcing P Y) hf have hb := D.accelerationPath_block_bound P directions hdir q L.frame_smooth L.frameDerivative_smooth L.hessian_smooth L.Rc L.C₀ L.C₁ L.CH (endpointForcingCost ι q T L.Rc L.C₁) L.R L.Rc_nonneg L.C₀_nonneg L.C₁_nonneg L.CH_nonneg L.forcingCost_nonneg L.frame_bound L.frameDerivative_bound L.hessian_bound L.weak_radius L.strong_radius L.time_le_one L.uniform_radius (D.endpointForcing P Y) hf d (L.forcing_unit_bound P directions hdir Y hY d hYb) n 0 have hs := block_smul_le directions q (-1 : ℝ) (fun a : LiftTangent => pathTranslate P a (D.accelerationPath P (D.endpointForcing P Y))) ha n 0 rw [D.endpointAcceleration_eq_forced P Y] simp only [map_neg] have hn : block directions q (fun a : LiftTangent => -pathTranslate P a (D.accelerationPath P (D.endpointForcing P Y))) n 0 ≤ block directions q (fun a : LiftTangent => pathTranslate P a (D.accelerationPath P (D.endpointForcing P Y))) n 0 := by simpa only [neg_one_smul,abs_neg,abs_one,one_mul] using hs exact hn.trans hb theorem velocity_unit_bound (n : ℕ) : block directions q (fun a : LiftTangent => pathTranslate P a (D.endpointVelocity P Y)) n 0 ≤ L.velocityCost*majorant L.R (d+2) n := by change block directions q (fun a : LiftTangent => pathTranslate P a (fullMultiplierMap P D.Q (D.endpointCoordinate P Y))) n 0 ≤ _ exact product_orbit_block_bound P D.Q L.frame_smooth directions hdir q (D.endpointCoordinate P Y) (D.endpointCoordinate_orbit_contDiff P L.frame_smooth L.frameDerivative_smooth L.hessian_smooth Y hY) L.Rc L.C₀ L.R L.coordinateCost L.Rc_nonneg L.C₀_nonneg L.coordinateCost_nonneg L.radius_bounds.2 L.frame_bound (d+2) (L.coordinate_unit_bound P directions hdir Y hY d hYb) n theorem derivative_unit_bound (n : ℕ) : block directions q (fun a : LiftTangent => pathTranslate P a (D.endpointDerivative P Y)) n 0 ≤ L.derivativeCost*majorant L.R (d+3) n := by have hv := D.endpointCoordinate_orbit_contDiff P L.frame_smooth L.frameDerivative_smooth L.hessian_smooth Y hY have ha := D.endpointAcceleration_orbit_contDiff P L.frame_smooth L.frameDerivative_smooth L.hessian_smooth Y hY have hbv (k) : block directions q (fun a : LiftTangent => pathTranslate P a (D.endpointCoordinate P Y)) k 0 ≤ L.coordinateCost*majorant L.R (d+3) k := (L.coordinate_unit_bound P directions hdir Y hY d hYb k).trans (mul_le_mul_of_nonneg_left (majorant_mono_shift L.R L.radius_bounds.1 (d+2) (d+3) k (by omega)) L.coordinateCost_nonneg) have hba (k) : block directions q (fun a : LiftTangent => pathTranslate P a (D.endpointAcceleration P Y)) k 0 ≤ 1*majorant L.R (d+3) k := by simpa only [one_mul] using L.acceleration_unit_bound P directions hdir Y hY d hYb k have h₁ := product_orbit_block_bound P D.Q₁ L.frameDerivative_smooth directions hdir q (D.endpointCoordinate P Y) hv L.Rc L.C₁ L.R L.coordinateCost L.Rc_nonneg L.C₁_nonneg L.coordinateCost_nonneg L.radius_bounds.2 L.frameDerivative_bound (d+3) hbv n have h₂ := product_orbit_block_bound P D.Q L.frame_smooth directions hdir q (D.endpointAcceleration P Y) ha L.Rc L.C₀ L.R 1 L.Rc_nonneg L.C₀_nonneg zero_le_one L.radius_bounds.2 L.frame_bound (d+3) hba n have he : D.endpointDerivative P Y = fullMultiplierMap P D.Q₁ (D.endpointCoordinate P Y)+ fullMultiplierMap P D.Q (D.endpointAcceleration P Y) := rfl rw [he] simp only [map_add] exact (block_add_le directions q _ _ (product_orbit_contDiff P D.Q₁ L.frameDerivative_smooth _ hv) (product_orbit_contDiff P D.Q L.frame_smooth _ ha) n 0).trans (by simpa only [derivativeCost,mul_one,add_mul] using add_le_add h₁ h₂) end EulerCylinderDirichlet.Coefficients.EndpointBudget