import Euler.PacketSourceCoefficientGevrey import Euler.PacketCoefficientTower import Euler.CoefficientPathPressureBounds /-! One quantitative coefficient budget for the actual source correction data. Every constant is independent of the jet order, truncation level and frequency. The assumptions are the original deformation and inverse-deformation derivative bounds; all stored coefficient and pressure estimates are derived from them. -/ /-! ## From `Euler/PacketCoefficientTowerBounds.lean` The text of `Euler/PacketCoefficientTowerBounds.lean`, folded into this file, which was its only importer. -/ section /-! Quantitative bounds for the actual packet coefficient towers. -/ noncomputable section namespace EulerPacketCylinderField.MatrixCoefficient open Set EulerSmoothLimit EulerLiftedGradientSpace EulerMeanCoefficients EulerCoefficientPath EulerJetProductBounds EulerParameterWordGevrey EulerGevrey EulerSobolevGevreyOperators EulerCoefficientJetPressureBounds open scoped ContDiff variable (P : ℝ) [Fact (0 < P)] {T : ℝ} {raw : EulerPacketPointJets.Domain → Space →L[ℝ] Space} (A : MatrixCoefficient T raw) (Rc C : ℝ) (hRc : 0 ≤ Rc) (hC : 0 ≤ C) (hb : ∀ n x, ‖iteratedFDeriv ℝ n (translateCoefficientPath A.path) x‖ ≤ C*majorant Rc 0 n) include hRc hC hb theorem toCoefficientTower_base_bound (s q r : ℕ) (hr : r ≤ q) (t : Icc (0 : ℝ) T) : boundLevel P ((A.toCoefficientTower P).jet s t) r ≤ sobolevCoefficientAmplitude (Fin 4) q Rc C := coefficientJet_base_bound P A.path A.orbit Rc C hRc hC hb s q r hr t theorem toCoefficientTower_normalized_block (s q : ℕ) (R : ℝ) (hR : normalizedCoefficientRadius q Rc C ≤ R) (n : ℕ) (hn : 1 ≤ n) (t : Icc (0 : ℝ) T) : EulerH6Pressure.coefficientBlock P ((A.toCoefficientTower P).jet s t) q n ≤ R^n*(n.factorial : ℝ)^2 := coefficientJet_block_normalized P A.path A.orbit s q Rc C hRc hC hb R hR n hn t theorem toCoefficientTower_weighted_bound (s q N : ℕ) (ρ : ℝ) (hρ : 0 < ρ) (hsmall : ρ*sobolevCoefficientRadius (Fin 4) Rc ≤ 1/2) (t : Icc (0 : ℝ) T) : weightedCoefficient P ((A.toCoefficientTower P).jet s t) q N ρ ≤ 2*sobolevCoefficientAmplitude (Fin 4) q Rc C := coefficientJet_weighted_bound P A.path A.orbit s q N Rc C hRc hC hb ρ hρ hsmall t theorem toCoefficientTower_pressure_bound (s q b : ℕ) (hq : q ≤ s) (hqb : q ≤ b) (c : ℝ) (hc : 0 < c) (t : Icc (0 : ℝ) T) : (EulerH6Pressure.CoefficientJet.restrict ((A.toCoefficientTower P).jet s t) q hq).pressureConstant c ≤ pressureCost c (sobolevCoefficientAmplitude (Fin 4) b Rc C) q := coefficientJet_restrictedPressure_bound P A.path A.orbit Rc C hRc hC hb s q b hq hqb c hc t end EulerPacketCylinderField.MatrixCoefficient end end noncomputable section namespace EulerPacketCorrectionCoefficients open Set Finset EulerSmoothLimit EulerMeanCoefficients EulerPacketCylinderField EulerCoefficientPath EulerParameterWordGevrey EulerCoefficientJetPressureBounds EulerGevrey EulerJetProductBounds EulerSobolevGevreyOperators open scoped ContDiff BoundedContinuousFunction variable {U : Type*} [NormedAddCommGroup U] [InnerProductSpace ℝ U] /-- The coefficient part of the correction energy budget, uniformly at all orders and all Fourier scales with absolute value at most one. -/ structure CorrectionCoefficientBudget (D : EulerTransversePacketProvider.Data U) (P : ℝ) [Fact (0 < P)] where Rc : ℝ M : ℝ B : ℝ A0 : ℝ A2 : ℝ Rc_nonneg : 0 ≤ Rc M_one_le : 1 ≤ M B_nonneg : 0 ≤ B A0_nonneg : 0 ≤ A0 A2_nonneg : 0 ≤ A2 inverse_five : ∀ s (hs : 6 ≤ s) t, (EulerH6Pressure.CoefficientJet.restrict ((metricTower D P).jet s t) 5 (by omega)).pressureConstant D.normalLower ≤ M inverse_six : ∀ s (hs : 6 ≤ s) t, (EulerH6Pressure.CoefficientJet.restrict ((metricTower D P).jet s t) 6 hs).pressureConstant D.normalLower ≤ M metric_derivatives : ∀ s t l, 1 ≤ l → EulerH6Pressure.coefficientBlock P ((metricTower D P).jet s t) 6 l ≤ Rc^l*(l.factorial : ℝ)^2 metric_base : ∀ s t r, r ≤ 6 → boundLevel P ((metricTower D P).jet s t) r ≤ B linear : ∀ s N ρ, 0 < ρ → 4*M*(ρ*Rc) ≤ 1 → ∀ t, weightedCoefficient P ((linearTower D P).jet s t) 6 N ρ ≤ A0 quadratic : ∀ κ, |κ| ≤ 1 → ∀ s N ρ, 0 < ρ → 4*M*(ρ*Rc) ≤ 1 → ∀ t, (∑ i : Fin 3, weightedCoefficient P ((quadraticTower D P κ i).jet s t) 6 N ρ) ≤ A2 def correctionMetricEnvelope (R CI : ℝ) : ℝ := sobolevCoefficientAmplitude (Fin 4) 6 (4*R) (3*CI*CI) def correctionLinearEnvelope (R C1 CI : ℝ) : ℝ := 2*sobolevCoefficientAmplitude (Fin 4) 6 (4*R) (6*CI*C1) def correctionQuadraticEnvelope (R C0 CI : ℝ) : ℝ := 6*sobolevCoefficientAmplitude (Fin 4) 6 (4*R) (3*CI*(C0*R)) def correctionCoefficientRadius (R CI : ℝ) : ℝ := max 1 (max (normalizedCoefficientRadius 6 (4*R) (3*CI*CI)) (sobolevCoefficientRadius (Fin 4) (4*R))) def correctionPressureEnvelope (c R CI : ℝ) : ℝ := max 1 (max (pressureCost c (correctionMetricEnvelope R CI) 5) (pressureCost c (correctionMetricEnvelope R CI) 6)) private theorem series_radius_small (ρ Rc M B : ℝ) (hρ : 0 ≤ ρ) (hB : 0 ≤ B) (hBR : B ≤ Rc) (hM : 1 ≤ M) (hg : 4*M*(ρ*Rc) ≤ 1) : ρ*B ≤ 1/2 := by have hR : 0 ≤ Rc := hB.trans hBR have hp : 0 ≤ ρ*Rc := mul_nonneg hρ hR have hm := mul_le_mul_of_nonneg_right hM hp have hb := mul_le_mul_of_nonneg_left hBR hρ linarith variable (D : EulerTransversePacketProvider.Data U) (P : ℝ) [Fact (0 < P)] (R C0 C1 CI : ℝ) (hR : 0 ≤ R) (hC0 : 0 ≤ C0) (hC1 : 0 ≤ C1) (hCI : 0 ≤ CI) (hF : ∀ n t x, ‖iteratedFDeriv ℝ n (D.F.field t : Space → Space →L[ℝ] Space) x‖ ≤ C0*majorant R 0 n) (hF1 : ∀ n t x, ‖iteratedFDeriv ℝ n (D.F₁.field t : Space → Space →L[ℝ] Space) x‖ ≤ C1*majorant R 0 n) (hFI : ∀ n t x, ‖iteratedFDeriv ℝ n (D.FInv.field t : Space → Space →L[ℝ] Space) x‖ ≤ CI*majorant R 0 n) include hR hC0 hC1 hCI hF hF1 hFI /-- All coefficient hypotheses of the correction energy estimate, derived from genuine source spatial jets. The radius condition is the same one used by the projected inverse, rather than a separate cutoff-dependent restriction. -/ def correctionCoefficientBudget : CorrectionCoefficientBudget D P where Rc := correctionCoefficientRadius R CI M := correctionPressureEnvelope D.normalLower R CI B := correctionMetricEnvelope R CI A0 := correctionLinearEnvelope R C1 CI A2 := correctionQuadraticEnvelope R C0 CI Rc_nonneg := zero_le_one.trans (le_max_left _ _) M_one_le := le_max_left _ _ B_nonneg := sobolevCoefficientAmplitude_nonneg 6 (4*R) (3*CI*CI) (by positivity) (by positivity) A0_nonneg := mul_nonneg (by norm_num) (sobolevCoefficientAmplitude_nonneg 6 (4*R) (6*CI*C1) (by positivity) (by positivity)) A2_nonneg := mul_nonneg (by norm_num) (sobolevCoefficientAmplitude_nonneg 6 (4*R) (3*CI*(C0*R)) (by positivity) (by positivity)) inverse_five s hs t := by have h := MatrixCoefficient.toCoefficientTower_pressure_bound P (metricCoefficient D) (4*R) (3*CI*CI) (by positivity) (by positivity) (metricCoefficient_bound D R CI hR hCI hFI) s 5 6 (by omega) (by omega) D.normalLower D.normalLower_pos t exact h.trans ((le_max_left _ _).trans (le_max_right _ _)) inverse_six s hs t := by have h := MatrixCoefficient.toCoefficientTower_pressure_bound P (metricCoefficient D) (4*R) (3*CI*CI) (by positivity) (by positivity) (metricCoefficient_bound D R CI hR hCI hFI) s 6 6 hs le_rfl D.normalLower D.normalLower_pos t exact h.trans ((le_max_right _ _).trans (le_max_right _ _)) metric_derivatives s t l hl := by exact MatrixCoefficient.toCoefficientTower_normalized_block P (metricCoefficient D) (4*R) (3*CI*CI) (by positivity) (by positivity) (metricCoefficient_bound D R CI hR hCI hFI) s 6 (correctionCoefficientRadius R CI) ((le_max_left _ _).trans (le_max_right _ _)) l hl t metric_base s t r hr := MatrixCoefficient.toCoefficientTower_base_bound P (metricCoefficient D) (4*R) (3*CI*CI) (by positivity) (by positivity) (metricCoefficient_bound D R CI hR hCI hFI) s 6 r hr t linear s N ρ hρ hg t := by have hsmall := series_radius_small ρ (correctionCoefficientRadius R CI) (correctionPressureEnvelope D.normalLower R CI) (sobolevCoefficientRadius (Fin 4) (4*R)) hρ.le (sobolevCoefficientRadius_nonneg (4*R) (by positivity)) ((le_max_right _ _).trans (le_max_right _ _)) (le_max_left _ _) hg exact MatrixCoefficient.toCoefficientTower_weighted_bound P (linearCoefficient D) (4*R) (6*CI*C1) (by positivity) (by positivity) (linearCoefficient_bound D R C1 CI hR hC1 hCI hF1 hFI) s 6 N ρ hρ hsmall t quadratic κ hκ s N ρ hρ hg t := by have hsmall := series_radius_small ρ (correctionCoefficientRadius R CI) (correctionPressureEnvelope D.normalLower R CI) (sobolevCoefficientRadius (Fin 4) (4*R)) hρ.le (sobolevCoefficientRadius_nonneg (4*R) (by positivity)) ((le_max_right _ _).trans (le_max_right _ _)) (le_max_left _ _) hg have h : ∀ i : Fin 3, weightedCoefficient P ((quadraticTower D P κ i).jet s t) 6 N ρ ≤ 2*sobolevCoefficientAmplitude (Fin 4) 6 (4*R) (3*CI*(C0*R)) := by intro i exact MatrixCoefficient.toCoefficientTower_weighted_bound P (quadraticCoefficient D κ i) (4*R) (3*CI*(C0*R)) (by positivity) (by positivity) (quadraticCoefficient_bound D R C0 CI hR hC0 hCI hF hFI κ hκ i) s 6 N ρ hρ hsmall t calc _ ≤ ∑ i : Fin 3, 2*sobolevCoefficientAmplitude (Fin 4) 6 (4*R) (3*CI*(C0*R)) := sum_le_sum (fun i _ => h i) _ = _ := by simp only [sum_const,Fintype.card_fin,card_univ,nsmul_eq_mul,correctionQuadraticEnvelope]; ring end EulerPacketCorrectionCoefficients