import Euler.PacketForwardUniformBudget import Euler.PacketInitializedOutputCosts import Euler.PacketForwardGlobalShear import Euler.PacketForwardHessianError import Euler.PacketGraphFlowExplicitBounds import Euler.PacketForwardInitializedFlowAndShear /-! A single polynomial comparison gives the actual canonical correction, the physical shear and pressure errors, and the three flow fields. Only the displayed numerical frequency margins are independent extra guards. -/ /-! ## From `Euler/PacketForwardOutputCosts.lean` The text of `Euler/PacketForwardOutputCosts.lean`, folded into this file, which was its only importer. -/ section /-! The direct-forward physical output costs obey the same fixed polynomial envelope, with no bound on extrema of the growth profile. -/ noncomputable section namespace EulerPacketInitializedOutputCost open EulerPacketTerminalDatum EulerPacketProfileRecursion EulerPacketCylinderField EulerPacketCorrectionConstants EulerPacketCorrectionScalar EulerPacketCorrectionCoefficients EulerPacketPhysicalCost EulerPacketFiveCost EulerAllOrderDriftCorrection EulerPacketCorrectionOutput variable {U : Type*} [NormedAddCommGroup U] [InnerProductSpace ℝ U] [CompleteSpace U] {D : EulerTransversePacketProvider.Data U} {M : EulerMeanPacketProvider.Data} {Rm Tc : ℝ} {O : Operators} {C : CoefficientData period Tc O} (LM : EulerMeanPacketProvider.Budget M 6 Rm) (L : EulerTransversePacketForward.Budget D (Fin 4) 6) (NB : EulerTransversePacketJoin.NormalBudget D 6 L.R) (BC : CoefficientBudget C) (δ : ℝ) (ξ : U) theorem forward_output_costs (W H0 : ℝ) (hδ : 0 < δ) (H : EulerPacketForwardRadius.RadiusPrimitives L LM NB BC δ ξ W) (hH0 : 0 ≤ H0) (hHW : H0 ≤ W) : let R := forwardInitializedRadius LM L NB BC δ ξ let Kc := L.correctionCoefficients NB period let ρ := initialRadius R Kc.M Kc.Rc/4 let Z := EulerPacketInitializedCost.envelope W EulerPacketInitializedCost.weightSize W ≤ extraEnvelope Z ∧ physicalInputRadius (4*R) (4*R) ρ ≤ extraEnvelope Z ∧ liftedInputConstant period*(velocity R H0 BC.multiplierCost+normal R H0 BC.multiplierCost) ≤ extraEnvelope Z ∧ 2*liftedInputConstant period*EulerPacketInitializedCost.weightSize W ≤ extraEnvelope Z ∧ 2*liftedInputConstant period*(6*NB.blockAmplitude* (fixedVelocityGradeCost R H0 1+fixedVelocityGradeCost R H0 2+1)+ EulerPacketInitializedCost.weightSize W) ≤ extraEnvelope Z ∧ weightedPhysicalGradientCost D period L.Rc L.C₀ ρ (EulerPacketInitializedCost.weightSize W) ≤ extraEnvelope Z ∧ forwardInitializedGlobalShearCost R H0 NB.C ≤ extraEnvelope Z ∧ forwardInitializedPressureHessianCost NB R H0 L.Rc L.C₀ ≤ extraEnvelope Z := by let R := forwardInitializedRadius LM L NB BC δ ξ let Kc := L.correctionCoefficients NB period let ρ := initialRadius R Kc.M Kc.Rc/4 let Z := EulerPacketInitializedCost.envelope W obtain ⟨hZ1,hRZ,hHZ,hCZ,hK⟩ := EulerPacketInitializedCost.forward_actual_parameters LM L NB BC δ ξ W H0 hδ H hHW change R ≤ Z at hRZ change H0 ≤ Z at hHZ change BC.multiplierCost ≤ Z at hCZ have hZ : 0 ≤ Z := zero_le_one.trans hZ1 have hWZ := (EulerPacketInitializedCost.envelope_bounds W (zero_le_one.trans H.one)).2.1 have hR0 : 0 ≤ R := zero_le_one.trans (forwardInitializedLinearBudget LM L NB BC δ ξ).radius_one have hC0 := BC.multiplierCost_nonneg have hLR := H.forward_radius.trans hWZ have hLC := H.forward_frame.trans hWZ have hNR := H.normal_radius.trans hWZ have hNC := H.normal_amplitude.trans hWZ have hNI := H.normal_inverse.trans hWZ have hρ0 : 0 < ρ := div_pos (initialRadius_bounds R Kc.M Kc.Rc hR0 (zero_le_one.trans Kc.M_one_le) Kc.Rc_nonneg).1 (by norm_num) have hiR : (initialRadius R Kc.M Kc.Rc)⁻¹ ≤ inverseRadiusEnvelope Z := by simp only [initialRadius,one_div,inv_inv] unfold inverseRadiusEnvelope have hm : Kc.M ≤ Z := hK.pressure have hr : Kc.Rc ≤ Z := hK.radius have hp := mul_le_mul hm hr Kc.Rc_nonneg hZ linarith only [hp,hRZ,hr] have hρinv : ρ⁻¹ ≤ 4*inverseRadiusEnvelope Z := by change (initialRadius R Kc.M Kc.Rc/4)⁻¹ ≤ _ rw [inv_div,div_eq_mul_inv] gcongr have hiZ : 0 ≤ inverseRadiusEnvelope Z := by unfold inverseRadiusEnvelope; positivity have hrf : physicalInputRadius (4*R) (4*R) ρ ≤ radiusEnvelope Z := by simp only [physicalInputRadius,max_self] change 1+coordinateCost*(4*R+ρ⁻¹) ≤ 1+coordinateCost*(4*Z+4*inverseRadiusEnvelope Z) have hc : 0 ≤ coordinateCost := norm_nonneg _ gcongr have hv := velocity_mono hR0 hH0 hC0 hRZ hHZ hCZ have ha1 := gradeCost_mono R H0 Z hR0 hH0 hRZ hHZ 1 have ha2 := gradeCost_mono R H0 Z hR0 hH0 hRZ hHZ 2 have hg1 := fixedVelocityGradeCost_nonneg R H0 hR0 1 have hg2 := fixedVelocityGradeCost_nonneg R H0 hR0 2 have hg1Z := hg1.trans ha1 have hg2Z := hg2.trans ha2 have hn : normal R H0 BC.multiplierCost ≤ normal Z Z Z := by unfold normal; gcongr have hl := zero_le_one.trans (liftedInputConstant_one_le period) have hav : liftedInputConstant period*(velocity R H0 BC.multiplierCost+normal R H0 BC.multiplierCost) ≤ velocityInputEnvelope Z := by unfold velocityInputEnvelope; gcongr have hb := EulerPacketRadiusPolynomial.normal_block_le NB Z hZ hNR hNC hNI have hb0 := NB.blockAmplitude_nonneg have hbZ := hb0.trans hb have ht : 6*NB.blockAmplitude*(fixedVelocityGradeCost R H0 1+fixedVelocityGradeCost R H0 2+1) ≤ timeEnvelope Z := by unfold timeEnvelope; gcongr have hat : 2*liftedInputConstant period*(6*NB.blockAmplitude* (fixedVelocityGradeCost R H0 1+fixedVelocityGradeCost R H0 2+1)+ EulerPacketInitializedCost.weightSize W) ≤ timeInputEnvelope Z := by unfold timeInputEnvelope EulerPacketInitializedCost.weightSize gcongr have hphys := physicalFixedCost_one_le D L.Rc L.C₀ ρ⁻¹ Z (4*inverseRadiusEnvelope Z) L.Rc_nonneg L.C₀_nonneg (inv_nonneg.mpr hρ0.le) hLR hLC hρinv have hphys0 := EulerPacketPhysicalGevrey.physicalFixedCost_nonneg D L.Rc L.C₀ ρ⁻¹ 1 L.Rc_nonneg L.C₀_nonneg (inv_nonneg.mpr hρ0.le) have hphysZ := hphys0.trans hphys have he := EulerCylinderSobolevSpace.sobolevEmbeddingConstant_nonneg period 3 have ho := zero_le_one.trans (output_components period Z hZ).1 have herr : weightedPhysicalGradientCost D period L.Rc L.C₀ ρ (EulerPacketInitializedCost.weightSize W) ≤ weightedErrorEnvelope Z := by calc _ = ((1+9*L.C₀)*EulerPacketPhysicalGevrey.physicalFixedCost D L.Rc L.C₀ ρ⁻¹ 1* EulerCylinderSobolevSpace.sobolevEmbeddingConstant period 3)*outputEnvelope period Z := by unfold weightedPhysicalGradientCost EulerPacketInitializedCost.weightSize ring _ ≤ ((1+9*Z)*physicalEnvelope Z (4*inverseRadiusEnvelope Z)* EulerCylinderSobolevSpace.sobolevEmbeddingConstant period 3)*outputEnvelope period Z := by gcongr _ = _ := rfl have hshear := shearCost_le R H0 NB.C Z hR0 hH0 NB.C_nonneg hRZ hHZ hNC have hhess := hessianCost_le D NB R H0 L.Rc L.C₀ Z hR0 hH0 L.Rc_nonneg L.C₀_nonneg hRZ hHZ hLR hLC hNR hNC obtain ⟨hwe,hr,ha,hb,ht',he',hs,hp⟩ := extra_components Z hZ exact ⟨hwe,hrf.trans hr,hav.trans ha,hb,hat.trans ht',herr.trans he',hshear.trans hs,hhess.trans hp⟩ end EulerPacketInitializedOutputCost end end noncomputable section namespace EulerPacketTerminalDatum open Set InnerProductSpace EulerSmoothLimit EulerSpatialCutoffs EulerTransversePacketProvider EulerPacketCylinderField EulerPacketProfileRecursion EulerPacketTimeProfile EulerPacketCoarseMajorant EulerPacketCorrectionConstants EulerPacketCorrectionScalar EulerPacketSourceFrequency EulerAllOrderDriftCorrection EulerLiftedGradientSpace EulerGraphInvariantFlow EulerPhysicalGraphFlowBounds EulerPacketGraphFlowFrequency EulerPacketForwardFactorization EulerPacketInverseFlowGevrey EulerGevrey EulerGraphPressurePotential EulerPeriodicProfile EulerSobolevGevreyOperators EulerLpTranslation.SmoothL2Field open scoped ContDiff variable (M : EulerMeanPacketProvider.Data) {U : Type*} [NormedAddCommGroup U] [InnerProductSpace ℝ U] [CompleteSpace U] (D : Data U) (hTime : M.T=D.T) (δ : ℝ) (hδ : 0 < δ) (hδ1 : δ ≤ 1) (ξ : U) (hs : tsupport innerCutoff ⊆ D.support) (α : ℝ) (hα : 0 < α) (L : EulerTransversePacketForward.Budget D (Fin 4) 6) (NB : EulerTransversePacketJoin.NormalBudget D 6 L.R) {Rm : ℝ} (LM : EulerMeanPacketProvider.Budget M 6 Rm) (Cagree : SourceCoefficientAgreement M D) (W : ℝ) (hW : EulerPacketForwardRadius.RadiusPrimitives L LM NB (forwardCoefficientBudget period M D hTime NB) δ ξ W) (hprofile : ∀ t, α*L.g t ≤ W) (k : ℝ) (hk : 4 ≤ k) (hX : 64 ≤ expansion k) (hlog : 1 ≤ Real.log k) (hfrequency : EulerPacketInitializedOutputCost.uniformConstant* W^EulerPacketInitializedOutputCost.uniformPower ≤ smallPower k) (hdelta : delta (expansion k) ≤ k^(-(3 : ℝ))) (hroot : 16 ≤ k^(1/4 : ℝ)) (htrace : max 71 (Real.sqrt (2/period+2*period)) ≤ k^(1/24 : ℝ)) (X Y : Icc (0 : ℝ) D.T → Space → Space) (hXs : ∀ t, ContDiff ℝ ∞ (X t)) (hF : ∀ t x, fderiv ℝ (X t) x = D.F.field t x) (hXY : ∀ t x, X t (Y t x)=x) (hY : Continuous (Function.uncurry Y)) (hdet : ∀ t x, (EulerPacketPiola.operatorMatrix (D.F.field t x)).det=1) include hδ1 hα L NB LM hW hprofile hX hlog hfrequency hdelta hroot htrace hXs hF hXY hY hdet theorem forward_uniform_flow_and_shear : ∃ (hn : 1 ≤ truncation k) (Q : EulerAllOrderDriftCorrection.Budget period D.T_pos (forwardInitializedCorrectionData M D hTime δ hδ ξ hs α Cagree (truncation k) hn k hk)) (G : EulerPhysicalGraphFlowBounds.Data period D.T), Q.delta=delta (expansion k) ∧ Q.initialRadius=initialRadius (forwardInitializedRadius LM L NB (forwardCoefficientBudget period M D hTime NB) δ ξ) (L.correctionCoefficients NB period).M (L.correctionCoefficients NB period).Rc ∧ G.A = Q.liftedPacketCoefficient period (forwardInitializedNormalizedField M D hTime δ hδ ξ hs α (truncation k) k) ∧ G.A₁ = Q.liftedPacketDerivativeCoefficient period (forwardInitializedNormalizedDerivativeField M D hTime δ hδ ξ hs α (truncation k) k) ∧ (∀ t z, graphConstraint k D.m₀ (G.A.field t z)=0) ∧ (∀ (s n : ℕ), n+6 ≤ s → ∀ t : Icc (0 : ℝ) D.T, weightedNorm period 6 n (Q.initialRadius/4) ((Q.fieldTower period).realization s t) ≤ EulerPacketInitializedCost.weightSize W*delta (expansion k) ∧ weightedNorm period 6 n (Q.initialRadius/4) ((Q.pressureTower period).realization s t) ≤ EulerPacketInitializedCost.weightSize W*delta (expansion k) ∧ weightedNorm period 6 n (Q.initialRadius/4) ((Q.timeDerivativeTower period).realization s t) ≤ EulerPacketInitializedCost.weightSize W*delta (expansion k)) ∧ (∀ (t : Icc (0 : ℝ) D.T) (x : Space), ‖fderiv ℝ (forwardInitializedExactPhysicalVelocity M D hTime δ hδ ξ hs α Cagree (truncation k) hn k hk Q t (Y t)) x - (α*deriv (profile δ) (k*⟪D.m₀,Y t x⟫_ℝ)) • rankOne ℝ (canonicalVelocity D ξ t (Y t x)) (D.normal.field t (Y t x))‖ ≤ k^(-(1/4 : ℝ)) ∧ ‖fderiv ℝ (gradient (forwardInitializedExactPhysicalPressure M D hTime δ hδ ξ hs α Cagree (truncation k) hn k hk Q t (Y t))) x - (EulerPacketForwardShear.pressureCoefficient D ξ α t (Y t x) * deriv (profile δ) (k*⟪D.m₀,Y t x⟫_ℝ)) • rankOne ℝ (D.normal.field t (Y t x)) (D.normal.field t (Y t x))‖ ≤ k^(-(1/4 : ℝ))) ∧ (∀ (ell : ℝ) (hell : 0 < ell), ell ≤ 1 → ∀ t : Icc (0 : ℝ) D.T, (G.displacementField k D.m₀ ell hell t).HasJetBound (k^(-(1/4 : ℝ))) (ell⁻¹*k^(5/4 : ℝ)) ∧ (G.velocityField k D.m₀ ell hell t).HasJetBound (k^(-(1/4 : ℝ))) (ell⁻¹*k^(5/4 : ℝ)) ∧ (G.accelerationFieldL2 k D.m₀ ell hell t).HasJetBound (k^(1/4 : ℝ)) (ell⁻¹*k^(5/4 : ℝ)) ∧ HasSupBound (G.displacementField k D.m₀ ell hell t).field (k^(-(1/4 : ℝ))) (ell⁻¹*k^(5/4 : ℝ)) ∧ HasSupBound (G.velocityField k D.m₀ ell hell t).field (k^(-(1/4 : ℝ))) (ell⁻¹*k^(5/4 : ℝ))) := by classical let BC := forwardCoefficientBudget period M D hTime NB let L' := forwardInitializedLinearBudget LM L NB BC δ ξ let N' := forwardInitializedNormalBudget LM L NB BC δ ξ let M' := forwardInitializedMeanBudget LM L NB BC δ ξ have guards := forwardInitializedRadius_guards LM L NB BC δ ξ have wj := guards.1 have wm := guards.2.1 have wp := guards.2.2.1 have hterminal := guards.2.2.2.1 have hcost := guards.2.2.2.2.1 have hrc := guards.2.2.2.2.2 let S := Scales.ofTimeProfile L.g L.positive hTime.symm α hα have hgrowth : timeProfileChange S.growth hTime=α • L'.g := Scales.ofTimeProfile_growth L.g L.positive hTime.symm α hα have hH0 : S.H0 ≤ W := Scales.ofTimeProfile_H0_le L.g L.positive hTime.symm α hα W hW.one hprofile have hW0 := zero_le_one.trans hW.one have hcomparison := (EulerPacketInitializedOutputCost.envelope_bound W hW.one).trans hfrequency have hold := (EulerPacketInitializedOutputCost.envelope_components W hW0).1.trans hcomparison have hout := (EulerPacketInitializedOutputCost.envelope_components W hW0).2.trans hcomparison have costs := EulerPacketInitializedOutputCost.forward_output_costs LM L NB BC δ ξ W S.H0 hδ hW S.H0_pos.le hH0 have five := EulerPacketInitializedCost.forward_five_costs_bound LM L NB BC δ ξ W S.H0 hδ hW S.H0_pos.le hH0 let Q := forwardUniformBudget M D hTime δ hδ hδ1 ξ hs α hα L NB LM Cagree W hW hprofile k hk hX hlog hold X hXs hF hdet let Cw := EulerPacketInitializedCost.weightSize W let ρ0 := Q.initialRadius have hρ : 0 < ρ0 := Q.radius_pos have hCw : 0 < Cw := EulerPacketInitializedCost.weightSize_pos W hW0 have hweighted := forwardUniformBudget_weighted M D hTime δ hδ hδ1 ξ hs α hα L NB LM Cagree W hW hprofile k hk hX hlog hold X hXs hF hdet let C0 := velocity L'.R S.H0 BC.multiplierCost let Cn := normal L'.R S.H0 BC.multiplierCost let Ch := 6*N'.blockAmplitude* (fixedVelocityGradeCost L'.R S.H0 1+fixedVelocityGradeCost L'.R S.H0 2+1) let Rf := physicalInputRadius (4*L'.R) (4*L'.R) (ρ0/4) let Av := liftedInputConstant period*(C0+Cn) let Ev := 2*liftedInputConstant period*Cw let At := 2*liftedInputConstant period*(Ch+Cw) let Kerr := weightedPhysicalGradientCost D period L.Rc L.C₀ (ρ0/4) Cw let Kv := forwardInitializedGlobalShearCost L'.R S.H0 N'.C let Kp := forwardInitializedPressureHessianCost N' L'.R S.H0 L'.Rc L'.C₀ have hRf_k : Rf ≤ smallPower k := costs.2.1.trans hout have hAv_k : Av ≤ smallPower k := costs.2.2.1.trans hout have hEv_k : Ev ≤ smallPower k := costs.2.2.2.1.trans hout have hAt_k : At ≤ smallPower k := costs.2.2.2.2.1.trans hout have hKerr_k : Kerr ≤ smallPower k := costs.2.2.2.2.2.1.trans hout have hKv_k : Kv ≤ smallPower k := costs.2.2.2.2.2.2.1.trans hout have hKp_k : Kp ≤ smallPower k := costs.2.2.2.2.2.2.2.trans hout have hk0 : 0 < k := by linarith have hk1 : 1 ≤ k := by linarith have hn := (truncation_bounds k hk1).1 have hT_k : D.T ≤ smallPower k := hW.total_time.trans (Real.one_le_rpow hk1 (by norm_num [theta])) have hRv : 0 ≤ 4*L'.R := by have := L'.radius_one; linarith have hρ' : 0 < ρ0/4 := by positivity have hRf : 0 < Rf := (liftedInputRadius_pos (4*L'.R) (ρ0/4) hRv hρ').trans_le (le_max_left _ _) have hC0 : 0 ≤ C0 := velocity_nonneg L'.R S.H0 BC.multiplierCost (zero_le_one.trans L'.radius_one) BC.multiplierCost_nonneg have hCn : 0 ≤ Cn := normal_nonneg L'.R S.H0 BC.multiplierCost (zero_le_one.trans L'.radius_one) BC.multiplierCost_nonneg have hCh : 0 ≤ Ch := by have hN := N'.blockAmplitude_nonneg have h₁ := fixedVelocityGradeCost_nonneg L'.R S.H0 (zero_le_one.trans L'.radius_one) 1 have h₂ := fixedVelocityGradeCost_nonneg L'.R S.H0 (zero_le_one.trans L'.radius_one) 2 dsimp [Ch] positivity have hsmall := liftedAmplitude_small_of_costs Av Ev Rf D.T k hk1 hRf.le D.T_pos.le hAv_k hEv_k hRf_k hT_k hdelta hroot have hbase : tailBase L'.R S.H0 BC.termCost (truncation k) ≤ k^(1/100 : ℝ) := tailBase_frequency L'.R S.H0 BC.termCost k BC.termCost_nonneg hk1 (five.1.trans hold) let V := forwardInitializedNormalizedField M D hTime δ hδ ξ hs α (truncation k) k let Vt := forwardInitializedNormalizedDerivativeField M D hTime δ hδ ξ hs α (truncation k) k have hv := forwardInitializedNormalizedField_bound M D hTime δ hδ ξ hs α L' N' wj M' wm BC hrc hcost hδ1 hα hterminal wp S hgrowth (truncation k) hn k hk hbase have hnrm := forwardInitializedNormalizedField_normal_bound M D hTime δ hδ ξ hs α L' N' wj M' wm BC hrc hcost hδ1 hα hterminal wp S hgrowth (truncation k) hn k hk hbase have hvt := forwardInitializedNormalizedDerivativeField_bound M D hTime δ hδ ξ hs α L' N' wj M' wm BC hrc hcost hδ1 hα hterminal wp S hgrowth (truncation k) hn k hk hbase have he (n : ℕ) (t : Icc (0 : ℝ) D.T) : weightedNorm period 6 n (ρ0/4) ((Q.fieldTower period).realization (n+6) t) ≤ Cw*delta (expansion k) := (hweighted (n+6) n le_rfl t).1 have hp (n : ℕ) (t : Icc (0 : ℝ) D.T) : weightedNorm period 6 n (ρ0/4) ((Q.pressureTower period).realization (n+6) t) ≤ Cw*delta (expansion k) := (hweighted (n+6) n le_rfl t).2.1 have het (n : ℕ) (t : Icc (0 : ℝ) D.T) : weightedNorm period 6 n (ρ0/4) ((Q.timeDerivativeTower period).realization (n+6) t) ≤ Cw := ((hweighted (n+6) n le_rfl t).2.2).trans ((mul_le_mul_of_nonneg_left (delta_le_one _) hCw.le).trans_eq (mul_one _)) have hsize : physicalInputSize period k C0 Cn (Cw*delta (expansion k)) = liftedAmplitude Av Ev k := by dsimp [physicalInputSize,liftedAmplitude,Av,Ev] ring let G := Q.physicalFlowData period V Vt rfl (forwardInitializedNormalizedField_time M D hTime δ hδ ξ hs α (truncation k) k) k (4*L'.R) (4*L'.R) (ρ0/4) C0 Cn Ch (Cw*delta (expansion k)) Cw hk1 rfl D.m₀_unit.le hRv hRv hρ' hC0 hCn hCh (mul_nonneg hCw.le (delta_pos _).le) hCw.le hv hnrm hvt he het (by change physicalInputSize period k C0 Cn (Cw*delta (expansion k))*Rf*D.T ≤ 1/8 rw [hsize] exact hsmall.2) have hGB : G.B ≤ 2*k^(-(1/2 : ℝ)) := by change physicalInputSize period k C0 Cn (Cw*delta (expansion k)) ≤ _ rw [hsize] exact hsmall.1 have hflow := data_field_bounds_explicit period D.T G k rfl rfl rfl hk1 htrace hroot hGB hRf_k hAt_k hT_k D.m₀ D.m₀_unit have hsup := data_sup_bounds_explicit period D.T G k hk1 ((le_max_left _ _).trans htrace) hroot hGB hRf_k hT_k D.m₀ D.m₀_unit have hXd : ∀ t x, HasFDerivAt (X t) (D.F.field t x) x := by intro t x rw [← hF t x] exact ((hXs t).differentiable (by simp) x).hasFDerivAt have hYd := continuousInverse_hasFDerivAt D X Y hXd hXY hY have hcorrection (t : Icc (0 : ℝ) D.T) (x : Space) := Q.physical_gradient_hessian_of_weighted D period X Y hXd hXY hY hdet L.Rc L.C₀ L.Rc_nonneg L.C₀_nonneg L.frame_bound k (ρ0/4) Cw (delta (expansion k)) hk1 rfl rfl hρ' hCw.le (delta_pos _).le he hp t x have hroot2 : 2 ≤ k^(1/4 : ℝ) := by linarith have hvErr := physical_error_le_inverse_quarter Kv Kerr k hk1 hKv_k hKerr_k hdelta hroot2 have hpErr := physical_error_le_inverse_quarter Kp Kerr k hk1 hKp_k hKerr_k hdelta hroot2 refine ⟨hn,Q,G,rfl,rfl,rfl,rfl,?_,hweighted,?_,?_⟩ · intro t z change graphConstraint k D.m₀ (EulerMetricTransport.transportDirection k⁻¹ D.m₀ ((Q.packetCoefficient period V).field t z))=0 exact graphConstraint_transport k k⁻¹ (mul_inv_cancel₀ hk0.ne') D.m₀ _ · intro t x constructor · have h := forwardInitializedExactPhysicalVelocity_global_gradient_error M D hTime δ hδ ξ hs α L' N' wj M' wm BC hrc hcost hδ1 hα hterminal wp S hgrowth Cagree (truncation k) hn k hk Q hbase t (Y t) x (hYd t x) exact (h.trans (add_le_add le_rfl (hcorrection t x).1)).trans hvErr · have h := forwardInitializedExactPhysicalPressure_hessian_error M D hTime δ hδ ξ hs α Cagree (truncation k) hn k hk Q X Y hXd hXY hY L' N' wj M' wm BC hrc hcost hδ1 hα hterminal wp S hgrowth hbase hdet t x exact (h.trans (add_le_add le_rfl (hcorrection t x).2)).trans hpErr · intro ell hell hell1 t exact ⟨(hflow ell hell hell1 t).1,(hflow ell hell hell1 t).2.1, (hflow ell hell hell1 t).2.2,(hsup ell hell hell1 t).1,(hsup ell hell hell1 t).2⟩ end EulerPacketTerminalDatum