Navier–Stokes: the Lean blow-up proof, cleaned up together
OpenAI's 2026 Lean proofs of blowup for forced Navier–Stokes and Euler, rerun by others, not refereed, no ruling from Clay; cleaned up together: more readable, faster to build

| 1 | import NavierStokes.ActualPhysicalStageBounds |
| 2 | import NavierStokes.ActualCycleResidualBounds |
| 3 | import NavierStokes.ActualCyclePreservation |
| 4 | import NavierStokes.ActualIntermediateDebtBounds |
| 5 | import NavierStokes.MixedCandidateAssembly |
| 6 | |
| 7 | /-! |
| 8 | # Stage estimates for the fixed actual iteration |
| 9 | |
| 10 | The native step data and the actual physical field representations are |
| 11 | assembled into the finite-stage obligations of the mixed diagonal theorem. |
| 12 | No estimate of the output physical residual is an input. |
| 13 | -/ |
| 14 | |
| 15 | noncomputable section |
| 16 | |
| 17 | namespace NavierStokes.ActualStageEstimates |
| 18 | |
| 19 | open Set Function Filter ProblemStatement CorrectionState CorrectionStep |
| 20 | open CorrectionInitialization CorrectionInitialization.ActualPrimary |
| 21 | open ActualPhysicalStageBounds |
| 22 | open scoped ContDiff Topology BigOperators |
| 23 | |
| 24 | |
| 25 | /-! ## Source indices do not change physical copy fields -/ |
| 26 | |
| 27 | /-- Add an unused tag to native source indices. The actual copies, their |
| 28 | carriers, and their physical fields are unchanged. -/ |
| 29 | noncomputable def taggedSource {h : ℝ} {D : Type} [NormedAddCommGroup D] [NormedSpace ℝ D] |
| 30 | {I K J T : Type*} (tag : T) (W : PhysicalStageBounds.WaveData h D I K J) : |
| 31 | PhysicalStageBounds.WaveData h D (T × I) K J where |
| 32 | lowerRadius := W.lowerRadius |
| 33 | upperRadius := W.upperRadius |
| 34 | nativeWidth := W.nativeWidth |
| 35 | slowBound := W.slowBound |
| 36 | frequencyBound := W.frequencyBound |
| 37 | alpha := W.alpha |
| 38 | shift := W.shift |
| 39 | harmonics := W.harmonics |
| 40 | gapBound := W.gapBound |
| 41 | lower_pos := W.lower_pos |
| 42 | width_nonneg := W.width_nonneg |
| 43 | slow_nonneg := W.slow_nonneg |
| 44 | frequency_one_le := W.frequency_one_le |
| 45 | strip := W.strip |
| 46 | weight i := W.weight i.2 |
| 47 | source i := W.source i.2 |
| 48 | source_bounds := { |
| 49 | uniform := W.source_bounds.uniform.reindex Prod.snd |
| 50 | flat_geometry := W.source_bounds.flat_geometry |
| 51 | weight_le := by |
| 52 | obtain ⟨c, hc, hb⟩ := W.source_bounds.weight_le |
| 53 | exact ⟨c, hc, fun i => hb i.2⟩ |
| 54 | epsilon_eq := W.source_bounds.epsilon_eq |
| 55 | slow_le := W.source_bounds.slow_le } |
| 56 | copies := W.copies |
| 57 | cells := W.cells |
| 58 | chart i := { |
| 59 | sourceIndex k L := (tag, (W.chart i).sourceIndex k L) |
| 60 | map := (W.chart i).map |
| 61 | domain := (W.chart i).domain |
| 62 | open_domain := (W.chart i).open_domain |
| 63 | smooth := (W.chart i).smooth |
| 64 | positive_jets := (W.chart i).positive_jets |
| 65 | amplitude_eq := (W.chart i).amplitude_eq |
| 66 | contains := (W.chart i).contains } |
| 67 | chart_maps := W.chart_maps |
| 68 | carrier := W.carrier |
| 69 | support := W.support |
| 70 | smooth := W.smooth |
| 71 | frequencies := W.frequencies |
| 72 | |
| 73 | @[simp] theorem taggedSource_vector {h : ℝ} {D : Type} [NormedAddCommGroup D] [NormedSpace ℝ D] |
| 74 | {I K T : Type*} (tag : T) (W : PhysicalStageBounds.WaveData h D I K (Fin 3)) : |
| 75 | (taggedSource tag W).vector = W.vector := rfl |
| 76 | |
| 77 | @[simp] theorem taggedSource_pressure {h : ℝ} {D : Type} [NormedAddCommGroup D] [NormedSpace ℝ D] |
| 78 | {I K T : Type*} (tag : T) (W : PhysicalStageBounds.WaveData h D I K Unit) : |
| 79 | (taggedSource tag W).pressure = W.pressure := rfl |
| 80 | |
| 81 | /-! ## One fixed native iteration -/ |
| 82 | |
| 83 | noncomputable def StepData (B N0 j : ℕ) |
| 84 | (H : ActualCyclePreservation.Invariant (ActualIterationLedger.sigma j) |
| 85 | (ActualCyclePreservation.state B N0 j)) : Type := |
| 86 | CorrectionAnalyticStep.StepData ActualInitialization.geometry h (CommonWindow.index h) |
| 87 | ActualInitialization.axial |
| 88 | (fun l => ActualParticularStageControls.canonicalParameters (ActualCycleParameters.swap B N0 l)) |
| 89 | ActualSignedStageControls.parameters rankData (commonContext B) |
| 90 | (ActualCyclePreservation.state B N0 j) ActualInitialization.tangentBlock |
| 91 | ActualInitialization.envelope ActualCoreSupport.refinedCarrier |
| 92 | (ActualCyclePreservation.staticData B) H (ActualIterationLedger.sigma_admissible j) |
| 93 | |
| 94 | /-- All data refer to the same fixed parameters and actual initial state. |
| 95 | The step record contains native wave constructions; it is not a physical |
| 96 | stage-bound or residual-bound oracle. -/ |
| 97 | structure RunData (B N0 : ℕ) where |
| 98 | invariant : ∀ j, ActualCyclePreservation.Invariant (ActualIterationLedger.sigma j) |
| 99 | (ActualCyclePreservation.state B N0 j) |
| 100 | step : ∀ j, StepData B N0 j (invariant j) |
| 101 | particular : ∀ j, ActualParticularMeanGain.Inputs (ActualCyclePreservation.state B N0 j) |
| 102 | (ActualIterationLedger.sigma j) |
| 103 | |
| 104 | theorem RunData.result {B N0 : ℕ} (R : RunData B N0) (j : ℕ) : |
| 105 | CorrectionAnalyticStep.StepResult ActualInitialization.geometry h (CommonWindow.index h) |
| 106 | ActualInitialization.axial |
| 107 | (fun l => ActualParticularStageControls.canonicalParameters (ActualCycleParameters.swap B N0 l)) |
| 108 | ActualSignedStageControls.parameters rankData (commonContext B) |
| 109 | (ActualCyclePreservation.state B N0 j) ActualInitialization.tangentBlock |
| 110 | ActualInitialization.envelope ActualCoreSupport.refinedCarrier |
| 111 | (σ := ActualIterationLedger.sigma j) (κ := ChartScales.kappa) := |
| 112 | CorrectionAnalyticStep.step _ _ _ _ _ _ _ _ _ _ _ _ |
| 113 | (ActualCyclePreservation.staticData B) (R.invariant j) (ActualIterationLedger.sigma_admissible j) |
| 114 | ActualCyclePreservation.kappa_small (R.step j) |
| 115 | |
| 116 | theorem RunData.rank_class {B N0 : ℕ} (R : RunData B N0) (j : ℕ) : |
| 117 | WeightedClasses.UnweightedClass ActualInitialization.slowStrip |
| 118 | (1 + ActualIterationLedger.sigma j - 2 * ChartScales.kappa) |
| 119 | (CorrectionState.debt (commonContext B) |
| 120 | (ActualIntermediateDebtBounds.postTemporal (ActualCyclePreservation.state B N0 j))) := |
| 121 | ActualIntermediateDebtBounds.afterTemporal_debt_from_stepData |
| 122 | (ActualCyclePreservation.staticData B) (R.invariant j) (ActualIterationLedger.sigma_admissible j) |
| 123 | (R.particular j) (R.step j) |
| 124 | |
| 125 | theorem nativeMean_eq_ledger (j : ℕ) : |
| 126 | 1 + ActualIterationLedger.sigma j - 2 * ChartScales.kappa = |
| 127 | ActualIterationLedger.meanNative ChartScales.kappa (j + 1) := by |
| 128 | simp only [ActualIterationLedger.meanNative, ActualIterationLedger.inputSigma_succ, |
| 129 | ExponentLedger.meanUpdateExponent, ExponentLedger.meanExponent] |
| 130 | |
| 131 | theorem nativePotential_eq_ledger (j : ℕ) : |
| 132 | 1 / 2 + ActualIterationLedger.sigma j - ChartScales.kappa = |
| 133 | ActualIterationLedger.waveNative ChartScales.kappa (j + 1) := by |
| 134 | simp only [ActualIterationLedger.waveNative, ActualIterationLedger.inputSigma_succ, |
| 135 | ExponentLedger.waveExponent] |
| 136 | |
| 137 | theorem nativePressure_eq_ledger (j : ℕ) : |
| 138 | 1 + ActualIterationLedger.sigma j - ChartScales.kappa = |
| 139 | ActualIterationLedger.wavePressureNative ChartScales.kappa (j + 1) := by |
| 140 | simp only [ActualIterationLedger.wavePressureNative, ← nativePotential_eq_ledger] |
| 141 | ring |
| 142 | |
| 143 | variable {B N0 N : ℕ} |
| 144 | |
| 145 | noncomputable def temporalInput (R : RunData B N0) |
| 146 | (M : ActualMeanPhysicalData.InitialCycleInput B N0 N |
| 147 | (fun _ => ActualCycleParameters.fixedParameters B N0)) |
| 148 | (hN : 4 ≤ N) (j : ℕ) : MeanInput h (CoordinateAlgebra.A h - 1 / 2) := |
| 149 | actualCycleTemporalInput M j hN (R.result j).afterSignedAxial |
| 150 | |
| 151 | noncomputable def rankInput (R : RunData B N0) |
| 152 | (M : ActualMeanPhysicalData.InitialCycleInput B N0 N |
| 153 | (fun _ => ActualCycleParameters.fixedParameters B N0)) |
| 154 | (hN : 4 ≤ N) (j : ℕ) : MeanInput h (CoordinateAlgebra.A h - 1 / 2) := |
| 155 | actualCycleRankInput M j hN (R.rank_class j) |
| 156 | |
| 157 | noncomputable def angularInput (R : RunData B N0) |
| 158 | (M : ActualMeanPhysicalData.InitialCycleInput B N0 N |
| 159 | (fun _ => ActualCycleParameters.fixedParameters B N0)) |
| 160 | (hN : 4 ≤ N) (j : ℕ) : MeanInput h (CoordinateAlgebra.A h) := |
| 161 | actualCycleAngularInput M j hN (R.result j).temporal (R.result j).rank |
| 162 | |
| 163 | noncomputable def pressureInput (R : RunData B N0) |
| 164 | (M : ActualMeanPhysicalData.InitialCycleInput B N0 N |
| 165 | (fun _ => ActualCycleParameters.fixedParameters B N0)) |
| 166 | (hN : 4 ≤ N) (j : ℕ) : MeanInput h (2 * CoordinateAlgebra.A h) := |
| 167 | actualCyclePressureInput M j hN (R.result j).pressure |
| 168 | |
| 169 | /-! ## Actual wave records and their native exponents -/ |
| 170 | |
| 171 | structure WaveInputs (DP : Type) [NormedAddCommGroup DP] [NormedSpace ℝ DP] |
| 172 | (IP KP : Type*) (DS : Type) [NormedAddCommGroup DS] [NormedSpace ℝ DS] (IS KS : Type*) where |
| 173 | particularPotential : ℕ → PhysicalStageBounds.WaveData h DP (Fin 3 × IP) KP (Fin 3) |
| 174 | signedPotential : ℕ → PhysicalStageBounds.WaveData h DS (Fin 3 × IS) KS (Fin 3) |
| 175 | particularPressure : ℕ → PhysicalStageBounds.WaveData h DP IP KP Unit |
| 176 | signedPressure : ℕ → PhysicalStageBounds.WaveData h DS IS KS Unit |
| 177 | particularPotential_exponent : ∀ j, 1/2 + ActualIterationLedger.sigma j - ChartScales.kappa ≤ |
| 178 | (particularPotential j).alpha |
| 179 | signedPotential_exponent : ∀ j, 1/2 + ActualIterationLedger.sigma j - ChartScales.kappa ≤ |
| 180 | (signedPotential j).alpha |
| 181 | particularPressure_exponent : ∀ j, 1 + ActualIterationLedger.sigma j - ChartScales.kappa ≤ |
| 182 | (particularPressure j).alpha |
| 183 | signedPressure_exponent : ∀ j, 1 + ActualIterationLedger.sigma j - ChartScales.kappa ≤ |
| 184 | (signedPressure j).alpha |
| 185 | particularPotential_shift : ∀ j, (particularPotential j).shift = -h |
| 186 | signedPotential_shift : ∀ j, (signedPotential j).shift = -h |
| 187 | particularPressure_shift : ∀ j, (particularPressure j).shift = -(2 * CoordinateAlgebra.A h) |
| 188 | signedPressure_shift : ∀ j, (signedPressure j).shift = -(2 * CoordinateAlgebra.A h) |
| 189 | |
| 190 | section CycleInputs |
| 191 | |
| 192 | variable {DP DS : Type} [NormedAddCommGroup DP] [NormedSpace ℝ DP] |
| 193 | [NormedAddCommGroup DS] [NormedSpace ℝ DS] {IP KP IS KS : Type*} |
| 194 | (R : RunData B N0) |
| 195 | (M : ActualMeanPhysicalData.InitialCycleInput B N0 N |
| 196 | (fun _ => ActualCycleParameters.fixedParameters B N0)) |
| 197 | (hN : 4 ≤ N) (W : WaveInputs DP IP KP DS IS KS) |
| 198 | |
| 199 | noncomputable def cycleInputs : CycleInputs h DP (Fin 3 × IP) KP DS (Fin 3 × IS) KS where |
| 200 | particularPotential := W.particularPotential |
| 201 | signedPotential := W.signedPotential |
| 202 | particularPressure j := taggedSource (0 : Fin 3) (W.particularPressure j) |
| 203 | signedPressure j := taggedSource (0 : Fin 3) (W.signedPressure j) |
| 204 | temporal := temporalInput R M hN |
| 205 | rank := rankInput R M hN |
| 206 | angular := angularInput R M hN |
| 207 | pressure := pressureInput R M hN |
| 208 | |
| 209 | theorem cycleInputs_potential (j : ℕ) : |
| 210 | (cycleInputs R M hN W).potential j = fun w => |
| 211 | (W.particularPotential j).vector w + (W.signedPotential j).vector w + |
| 212 | ((ActualMeanPhysicalData.initialCycleData M).temporalFamily j).angularField w + |
| 213 | ((ActualMeanPhysicalData.initialCycleData M).rankFamily j).angularField w := rfl |
| 214 | |
| 215 | theorem cycleInputs_direct (j : ℕ) : |
| 216 | (cycleInputs R M hN W).direct j = |
| 217 | ((ActualMeanPhysicalData.initialCycleData M).angularIncrementFamily j).angularField := rfl |
| 218 | |
| 219 | theorem cycleInputs_pressure (j : ℕ) : |
| 220 | (cycleInputs R M hN W).pressureField j = fun w => |
| 221 | (W.particularPressure j).pressure w + (W.signedPressure j).pressure w + |
| 222 | ((ActualMeanPhysicalData.initialCycleData M).pressureIncrementFamily j).field w := rfl |
| 223 | |
| 224 | theorem cycleInputs_metadata : (cycleInputs R M hN W).Metadata ChartScales.kappa := by |
| 225 | constructor |
| 226 | · intro j |
| 227 | exact (nativePotential_eq_ledger j).symm.le.trans (W.particularPotential_exponent j) |
| 228 | · intro j |
| 229 | exact (W.particularPotential_shift j).ge |
| 230 | · intro j |
| 231 | exact (nativePotential_eq_ledger j).symm.le.trans (W.signedPotential_exponent j) |
| 232 | · intro j |
| 233 | exact (W.signedPotential_shift j).ge |
| 234 | · intro j |
| 235 | exact (nativeMean_eq_ledger j).ge |
| 236 | · intro j |
| 237 | exact (nativeMean_eq_ledger j).ge |
| 238 | · intro j |
| 239 | exact (nativeMean_eq_ledger j).ge |
| 240 | · intro j |
| 241 | exact (nativePressure_eq_ledger j).symm.le.trans (W.particularPressure_exponent j) |
| 242 | · intro j |
| 243 | exact (W.particularPressure_shift j).ge |
| 244 | · intro j |
| 245 | exact (nativePressure_eq_ledger j).symm.le.trans (W.signedPressure_exponent j) |
| 246 | · intro j |
| 247 | exact (W.signedPressure_shift j).ge |
| 248 | · intro j |
| 249 | exact (nativeMean_eq_ledger j).ge |
| 250 | |
| 251 | theorem cycleInputs_validScale {qbig : ℝ} (hq : qbig ≤ ChartScales.Q N) : |
| 252 | (cycleInputs R M hN W).ValidScale qbig := |
| 253 | ⟨fun _ => hq, fun _ => hq, fun _ => hq, fun _ => hq⟩ |
| 254 | |
| 255 | end CycleInputs |
| 256 | |
| 257 | /-! ## The actual finite-stage estimate record -/ |
| 258 | |
| 259 | /-- The initialized background loss is fixed before the number of |
| 260 | correction stages is chosen. -/ |
| 261 | noncomputable def backgroundLoss (waveAlpha waveShift : ℝ) : ℕ → ℝ := |
| 262 | MixedFiniteBackground.initialBackgroundLoss |
| 263 | (InitializedPhysicalBackground.initialLoss h waveAlpha waveShift |
| 264 | (1 - ChartScales.kappa) (9 / 10)) |
| 265 | (PhysicalStageBounds.potentialLoss h h 0) (PhysicalStageBounds.directLoss h 0) |
| 266 | |
| 267 | section StageEstimates |
| 268 | |
| 269 | variable {DP DS DA0 DP0 : Type} |
| 270 | [NormedAddCommGroup DP] [NormedSpace ℝ DP] [NormedAddCommGroup DS] [NormedSpace ℝ DS] |
| 271 | [NormedAddCommGroup DA0] [NormedSpace ℝ DA0] [NormedAddCommGroup DP0] [NormedSpace ℝ DP0] |
| 272 | {IP KP IS KS IA0 KA0 IP0 KP0 : Type*} |
| 273 | (R : RunData B N0) |
| 274 | (M : ActualMeanPhysicalData.InitialCycleInput B N0 N |
| 275 | (fun _ => ActualCycleParameters.fixedParameters B N0)) |
| 276 | (hN : 4 ≤ N) (W : WaveInputs DP IP KP DS IS KS) |
| 277 | (qbig : ℝ) |
| 278 | (WA : PhysicalStageBounds.WaveData h DA0 IA0 KA0 (Fin 3)) |
| 279 | (WP : PhysicalStageBounds.WaveData h DP0 IP0 KP0 Unit) |
| 280 | (A Bdirect : ℕ → VelocityField) (P : ℕ → PressureField) |
| 281 | |
| 282 | /-- Literal component identities supplied by the physical sequence |
| 283 | construction. These are equalities of fields on a fixed open sublevel, |
| 284 | and contain no bounds for physical derivatives. -/ |
| 285 | structure Representations : Prop where |
| 286 | potential_zero : EqOn (A 0) |
| 287 | (initialPotential certificate modulation upper B WA |
| 288 | (actualInitialTemporalInput B N0 N hN) (actualInitialRankInput B N0 N hN)) |
| 289 | (CutStageEstimates.physicalSublevel h qbig) |
| 290 | direct_zero : EqOn (Bdirect 0) (ActualMeanPhysicalData.initialAngularFamily B N0 N).angularField |
| 291 | (CutStageEstimates.physicalSublevel h qbig) |
| 292 | pressure_zero : EqOn (P 0) |
| 293 | (fun w => FinalSlowBase.pressure certificate modulation upper B w + |
| 294 | initialPressureIncrement WP (actualInitialPressureInput B N0 N hN) w) |
| 295 | (CutStageEstimates.physicalSublevel h qbig) |
| 296 | potential_succ : ∀ j, EqOn ((cycleInputs R M hN W).potential j) (A (j + 1)) |
| 297 | (CutStageEstimates.physicalSublevel h qbig) |
| 298 | direct_succ : ∀ j, EqOn ((cycleInputs R M hN W).direct j) (Bdirect (j + 1)) |
| 299 | (CutStageEstimates.physicalSublevel h qbig) |
| 300 | pressure_succ : ∀ j, EqOn ((cycleInputs R M hN W).pressureField j) (P (j + 1)) |
| 301 | (CutStageEstimates.physicalSublevel h qbig) |
| 302 | |
| 303 | variable {qbig A Bdirect P} |
| 304 | (e : Representations R M hN W qbig WA WP A Bdirect P) |
| 305 | (hq : qbig ≤ ChartScales.Q N) |
| 306 | |
| 307 | include e hq |
| 308 | |
| 309 | theorem Representations.potential_smooth (j : ℕ) : |
| 310 | ContDiffOn ℝ ∞ (A j) (CutStageEstimates.physicalSublevel h qbig) := by |
| 311 | cases j with |
| 312 | | zero => |
| 313 | exact (initialPotential_smooth certificate modulation upper B WA |
| 314 | (actualInitialTemporalInput B N0 N hN) (actualInitialRankInput B N0 N hN) hq hq).congr |
| 315 | (fun _ hw => e.potential_zero hw) |
| 316 | | succ j => |
| 317 | exact ((cycleInputs R M hN W).potential_smooth (cycleInputs_validScale R M hN W hq) |
| 318 | outgoing.data.h_pos outgoing.data.h_lt_half j).congr (fun _ hw => (e.potential_succ j hw).symm) |
| 319 | |
| 320 | theorem Representations.direct_smooth (j : ℕ) : |
| 321 | ContDiffOn ℝ ∞ (Bdirect j) (CutStageEstimates.physicalSublevel h qbig) := by |
| 322 | cases j with |
| 323 | | zero => |
| 324 | exact ((actualInitialAngularInput B N0 N hN).angular_smooth |
| 325 | outgoing.data.h_pos outgoing.data.h_lt_half hq).congr (fun _ hw => e.direct_zero hw) |
| 326 | | succ j => |
| 327 | exact ((cycleInputs R M hN W).direct_smooth (cycleInputs_validScale R M hN W hq) |
| 328 | outgoing.data.h_pos outgoing.data.h_lt_half j).congr (fun _ hw => (e.direct_succ j hw).symm) |
| 329 | |
| 330 | theorem Representations.pressure_smooth (j : ℕ) : |
| 331 | ContDiffOn ℝ ∞ (P j) (CutStageEstimates.physicalSublevel h qbig) := by |
| 332 | cases j with |
| 333 | | zero => |
| 334 | have hb : ContDiffOn ℝ ∞ (FinalSlowBase.pressure certificate modulation upper B) |
| 335 | (CutStageEstimates.physicalSublevel h qbig) := |
| 336 | (FinalSlowBase.pressure_smooth certificate modulation upper B).mono |
| 337 | (fun _ hw => ⟨hw.1, mem_univ _⟩) |
| 338 | exact (hb.add (initialPressureIncrement_smooth WP (actualInitialPressureInput B N0 N hN) |
| 339 | outgoing.data.h_pos outgoing.data.h_lt_half hq)).congr (fun _ hw => e.pressure_zero hw) |
| 340 | | succ j => |
| 341 | exact ((cycleInputs R M hN W).pressure_smooth (cycleInputs_validScale R M hN W hq) |
| 342 | outgoing.data.h_pos outgoing.data.h_lt_half j).congr (fun _ hw => (e.pressure_succ j hw).symm) |
| 343 | |
| 344 | /-- The complete estimate record is constructed from native data and |
| 345 | exact physical realizations. The residual comparison floor is separate |
| 346 | from the mean-family floor, so it can be chosen one band larger. -/ |
| 347 | noncomputable def stageEstimates_of_representations |
| 348 | (hqbig : 0 < qbig) {Nres : ℕ} (hNres : 4 ≤ Nres) |
| 349 | (hGeom : ActualCarrierGeometry.geometricThreshold ≤ N0) |
| 350 | (d : ∀ J, ActualCycleResidualBounds.PhysicalData B Nres |
| 351 | (ActualCyclePreservation.state B N0 J).state |
| 352 | (MixedDiagonalResidual.uncutVelocity A Bdirect J) |
| 353 | (DiagonalJetBounds.uncutPrefix P (J + 1))) : |
| 354 | MixedCandidateAssembly.StageEstimates h qbig A Bdirect P := by |
| 355 | let Cyc := cycleInputs R M hN W |
| 356 | have hmeta := cycleInputs_metadata R M hN W |
| 357 | have hscale := cycleInputs_validScale R M hN W hq |
| 358 | have hraw := Cyc.represented_raw_bounds hmeta hscale outgoing.data.h_pos |
| 359 | outgoing.data.h_lt_half ActualCyclePreservation.kappa_small A Bdirect P |
| 360 | e.potential_succ e.direct_succ e.pressure_succ |
| 361 | let CA := hraw.choose |
| 362 | let CB := hraw.choose_spec.choose |
| 363 | let CP := hraw.choose_spec.choose_spec.choose |
| 364 | have hc := hraw.choose_spec.choose_spec.choose_spec |
| 365 | refine { |
| 366 | potential_smooth := e.potential_smooth R M hN W WA WP hq |
| 367 | direct_smooth := e.direct_smooth R M hN W WA WP hq |
| 368 | pressure_smooth := e.pressure_smooth R M hN W WA WP hq |
| 369 | gain := ActualIterationLedger.gain h |
| 370 | gain_zero := ActualIterationLedger.gain_nonneg outgoing.data.h_pos.le 0 |
| 371 | gain_pos := fun _ hj => ActualIterationLedger.gain_pos outgoing.data.h_pos hj |
| 372 | gain_mono := ActualIterationLedger.gain_monotone outgoing.data.h_pos.le |
| 373 | gain_top := ActualIterationLedger.gain_tendsto_atTop outgoing.data.h_pos |
| 374 | potentialLoss := PhysicalStageBounds.potentialLoss h h 0 |
| 375 | directLoss := PhysicalStageBounds.directLoss h 0 |
| 376 | pressureLoss := PhysicalStageBounds.pressureLoss h (2 * CoordinateAlgebra.A h) 0 |
| 377 | potentialConstant := CA |
| 378 | directConstant := CB |
| 379 | pressureConstant := CP |
| 380 | potentialLog := fun _ _ => 0 |
| 381 | directLog := fun _ _ => 0 |
| 382 | pressureLog := fun _ _ => 0 |
| 383 | potential_bound := hc.2.1 |
| 384 | direct_bound := hc.2.2.1 |
| 385 | pressure_bound := hc.2.2.2 |
| 386 | backgroundLoss := backgroundLoss WA.alpha WA.shift |
| 387 | residualLoss := ActualCycleResidualBounds.fixedLoss |
| 388 | finite_background := ?_ |
| 389 | finite_residual := ?_ } |
| 390 | · intro J m |
| 391 | have hb := background_from_representations certificate modulation Cyc hmeta hscale |
| 392 | ActualCyclePreservation.kappa_small hqbig upper B WA |
| 393 | (actualInitialTemporalInput B N0 N hN) (actualInitialRankInput B N0 N hN) |
| 394 | (actualInitialAngularInput B N0 N hN) hq hq hq A Bdirect |
| 395 | e.potential_zero e.direct_zero e.potential_succ e.direct_succ J m |
| 396 | simp only [backgroundLoss, actualInitialTemporalInput, actualInitialRankInput, |
| 397 | actualInitialAngularInput, MeanInput.ofMoving, min_self] at hb ⊢ |
| 398 | exact hb |
| 399 | · exact ActualCycleResidualBounds.finite_residual_rates hGeom hNres |
| 400 | (fun _ => ActualCycleParameters.fixedParameters B N0) |
| 401 | (fun J => MixedDiagonalResidual.uncutVelocity A Bdirect J) |
| 402 | (fun J => DiagonalJetBounds.uncutPrefix P (J + 1)) |
| 403 | (fun J => ActualCyclePreservation.broad_invariant (R.invariant J)) d |
| 404 | |
| 405 | theorem stageEstimates_ledger |
| 406 | (hqbig : 0 < qbig) {Nres : ℕ} (hNres : 4 ≤ Nres) |
| 407 | (hGeom : ActualCarrierGeometry.geometricThreshold ≤ N0) |
| 408 | (d : ∀ J, ActualCycleResidualBounds.PhysicalData B Nres |
| 409 | (ActualCyclePreservation.state B N0 J).state |
| 410 | (MixedDiagonalResidual.uncutVelocity A Bdirect J) |
| 411 | (DiagonalJetBounds.uncutPrefix P (J + 1))) : |
| 412 | let E := stageEstimates_of_representations R M hN W WA WP e hq hqbig hNres hGeom d |
| 413 | E.gain = ActualIterationLedger.gain h ∧ |
| 414 | E.potentialLoss = PhysicalStageBounds.potentialLoss h h 0 ∧ |
| 415 | E.directLoss = PhysicalStageBounds.directLoss h 0 ∧ |
| 416 | E.pressureLoss = PhysicalStageBounds.pressureLoss h (2 * CoordinateAlgebra.A h) 0 ∧ |
| 417 | E.backgroundLoss = backgroundLoss WA.alpha WA.shift ∧ |
| 418 | E.residualLoss = ActualCycleResidualBounds.fixedLoss := |
| 419 | ⟨rfl, rfl, rfl, rfl, rfl, rfl⟩ |
| 420 | |
| 421 | end StageEstimates |
| 422 | |
| 423 | end NavierStokes.ActualStageEstimates |