import NavierStokes.SharpParticularGluing import NavierStokes.SharpCurrentParticularBounds import NavierStokes.SharpActualStageBounds noncomputable section namespace NavierStokes.SharpParticularStageBounds open Set Function Filter ProblemStatement PhysicalWaveSum SharpGluedStageBounds open CorrectionInitialization.ActualPrimary ActualCandidateAssembly open scoped Topology ContDiff BigOperators private theorem common_loss (j m k : ℕ) {degree : ℝ} (hd : degree ≤ 2*CoordinateAlgebra.A h) (hk : k ≤ m+1) : ActualIterationLedger.gain h (j+1)-SharpPhysicalCarrier.physicalLoss h m ≤ h*(ActualIterationLedger.sigma j+1)-degree-(k:ℝ)*SharpPhysicalCarrier.derivativeCost h := by have hg := GluedStageEstimates.gain_le_current_exponent j have hk' : (k:ℝ) ≤ (m:ℝ)+1 := by exact_mod_cast hk have hc : 0 ≤ SharpPhysicalCarrier.derivativeCost h := by unfold SharpPhysicalCarrier.derivativeCost linarith [outgoing.data.h_pos] unfold SharpPhysicalCarrier.physicalLoss nlinarith end NavierStokes.SharpParticularStageBounds