import Euler.TransversePacketJoinedCorrector import Euler.CylinderSlowCurlWeight import Euler.CylinderPotentialTimeWeight /-! Same-radius estimates for the actual corrector, divided by the prescribed time profile. -/ noncomputable section namespace EulerTransversePacketJoin open Set EulerTransversePacketProvider EulerSmoothLimit EulerLiftedGradientSpace EulerMeanCoefficients EulerGevrey EulerPacketProfileRecursion EulerCylinderSobolev EulerParameterWordGevrey EulerCylinderSmoothOrbit EulerLpCylinderTranslation EulerContinuousTimeWeight open scoped ContDiff private theorem direction_norm_bound (i : Fin 4) : ‖standardDirection i‖ ≤ 1 := by cases i using Fin.cases <;> simp [Prod.norm_def] variable {P : ℝ} [Fact (0 < P)] {U : Type*} [NormedAddCommGroup U] [InnerProductSpace ℝ U] [CompleteSpace U] {D : Data U} (τ : ℝ) (hτ : 0 < τ) (hτT : τ < D.T) (B : HistoryData (D.initial τ hτ hτT.le)) {raw : VectorField} (G : Forcing P D raw) (g : C(Icc (0 : ℝ) D.T,ℝ)) (hg : ∀ t, 0 < g t) (q : ℕ) (Rc C R A : ℝ) (hRc : 0 ≤ Rc) (hC : 0 ≤ C) (hA : 0 ≤ A) (hR : sobolevCoefficientRadius (Fin 4) Rc ≤ R) (d : ℕ) (hbA : ∀ n, block standardDirection q (fun a : LiftTangent => pathTranslate P a (normalize g hg (velocityPath τ hτ hτT B G))) n 0 ≤ A*majorant R d n) (hbAt : ∀ n, block standardDirection q (fun a : LiftTangent => pathTranslate P a (normalize g hg (derivativePath τ hτ hτT B G))) n 0 ≤ A*majorant R d n) (hbK : ∀ n a, ‖iteratedFDeriv ℝ n (translateCoefficientPath D.potentialCoefficientPath) a‖ ≤ C*majorant Rc 0 n) (hbKt : ∀ n a, ‖iteratedFDeriv ℝ n (translateCoefficientPath D.potentialDerivative) a‖ ≤ C*majorant Rc 0 n) (hbI : ∀ n a, ‖iteratedFDeriv ℝ n (translateCoefficientPath D.FInv.field) a‖ ≤ C*majorant Rc 0 n) (hbIt : ∀ n a, ‖iteratedFDeriv ℝ n (translateCoefficientPath D.inverseDerivative) a‖ ≤ C*majorant Rc 0 n) include hRc hC hA hR hbA hbK in theorem potentialPath_normalized_bound (n : ℕ) : block standardDirection q (fun a : LiftTangent => pathTranslate P a (normalize g hg (potentialPath τ hτ hτT B G))) n 0 ≤ (3*sobolevCoefficientAmplitude (Fin 4) q Rc C*(P*A))*majorant R d n := EulerCylinderPotential.normalized_potentialPath_block_bound P g (velocityPath τ hτ hτT B G) D.potentialCoefficientPath hg D.potentialCoefficientPath_orbit (EulerCylinderPotential.weighted_orbit P (reciprocal g hg) (velocityPath τ hτ hτT B G) (velocityPath_orbit τ hτ hτT B G)) standardDirection direction_norm_bound q Rc C R A hRc hC hA hR hbK d hbA n include hRc hC hA hR hbA hbAt hbK hbKt in theorem potentialTimePath_normalized_bound (n : ℕ) : block standardDirection q (fun a : LiftTangent => pathTranslate P a (normalize g hg (potentialTimePath τ hτ hτT B G))) n 0 ≤ (6*sobolevCoefficientAmplitude (Fin 4) q Rc C*(P*A))*majorant R d n := EulerCylinderPotential.normalized_potentialDerivative_block_bound P D.T D.potentialCoefficientPath D.potentialDerivative D.potentialCoefficientPath_orbit D.potentialDerivative_orbit (velocityPath τ hτ hτT B G) (derivativePath τ hτ hτT B G) (velocityPath_orbit τ hτ hτT B G) (derivativePath_orbit τ hτ hτT B G) g hg standardDirection direction_norm_bound q Rc C R A hRc hC hA hR hbK hbKt d hbA hbAt n include hRc hC hA hR hbA hbK hbI in theorem correctorPath_normalized_bound (n : ℕ) : block standardDirection q (fun a : LiftTangent => pathTranslate P a (normalize g hg (correctorPath τ hτ hτT B G))) n 0 ≤ (27*(sobolevCoefficientAmplitude (Fin 4) q Rc C)^2*(P*A))*majorant R (d+1) n := by have hp : 0 ≤ P := (Fact.out : 0 < P).le have ha := sobolevCoefficientAmplitude_nonneg (ι := Fin 4) q Rc C hRc hC have h := EulerCylinderSlowCurl.normalized_path_block_bound P g D.FInv.field (potentialPath τ hτ hτT B G) (potentialPath_orbit τ hτ hτT B G) hg D.FInv.translation_contDiff q Rc C R (3*sobolevCoefficientAmplitude (Fin 4) q Rc C*(P*A)) hRc hC (by positivity) hR hbI d (potentialPath_normalized_bound τ hτ hτT B G g hg q Rc C R A hRc hC hA hR d hbA hbK) n exact h.trans_eq (by ring) include hRc hC hA hR hbA hbAt hbK hbKt hbI hbIt in theorem correctorTimePath_normalized_bound (n : ℕ) : block standardDirection q (fun a : LiftTangent => pathTranslate P a (normalize g hg (correctorTimePath τ hτ hτT B G))) n 0 ≤ (108*(sobolevCoefficientAmplitude (Fin 4) q Rc C)^2*(P*A))*majorant R (d+1) n := by have hp : 0 ≤ P := (Fact.out : 0 < P).le have ha := sobolevCoefficientAmplitude_nonneg (ι := Fin 4) q Rc C hRc hC have hRn : 0 ≤ R := (sobolevCoefficientRadius_nonneg (ι := Fin 4) Rc hRc).trans hR have hQ (j : ℕ) : block standardDirection q (fun a : LiftTangent => pathTranslate P a (normalize g hg (potentialPath τ hτ hτT B G))) j 0 ≤ (6*sobolevCoefficientAmplitude (Fin 4) q Rc C*(P*A))*majorant R d j := by apply (potentialPath_normalized_bound τ hτ hτT B G g hg q Rc C R A hRc hC hA hR d hbA hbK j).trans have hn := mul_nonneg (show 0 ≤ sobolevCoefficientAmplitude (Fin 4) q Rc C*(P*A) by positivity) (majorant_nonneg R hRn d j) nlinarith have h := EulerCylinderSlowCurl.normalized_derivative_block_bound P D.T g hg D.FInv.field D.inverseDerivative (potentialPath τ hτ hτT B G) (potentialTimePath τ hτ hτT B G) (potentialPath_orbit τ hτ hτT B G) (potentialTimePath_orbit τ hτ hτT B G) D.FInv.translation_contDiff D.inverseDerivative_orbit q Rc C R (6*sobolevCoefficientAmplitude (Fin 4) q Rc C*(P*A)) hRc hC (by positivity) hR hbI hbIt d hQ (potentialTimePath_normalized_bound τ hτ hτT B G g hg q Rc C R A hRc hC hA hR d hbA hbAt hbK hbKt) n exact h.trans_eq (by ring) end EulerTransversePacketJoin