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.ActualParticularMeanGain |
| 2 | import NavierStokes.CorrectionAnalyticStep |
| 3 | |
| 4 | /-! |
| 5 | # Measured debt before the actual rank correction |
| 6 | |
| 7 | The first-wave debt, the signed covariance change, and the temporal mean |
| 8 | change are evaluated on the literal intermediate states. No estimate of |
| 9 | the post-temporal debt is supplied as a premise. |
| 10 | -/ |
| 11 | |
| 12 | noncomputable section |
| 13 | |
| 14 | namespace NavierStokes.ActualIntermediateDebtBounds |
| 15 | |
| 16 | open Set Function WeightedClasses MeanIncrementBounds CorrectionState CorrectionStep |
| 17 | open CorrectionInitialization VariableGaugeMean |
| 18 | open scoped ContDiff Topology BigOperators |
| 19 | |
| 20 | |
| 21 | abbrev Point := ActualInitialization.Point |
| 22 | abbrev Index (B N0 : ℕ) := ActualInitialization.Index B N0 |
| 23 | |
| 24 | noncomputable abbrev signedVelocity {B N0 : ℕ} (x : CycleState (Index B N0)) := |
| 25 | (ActualCycleParameters.fixedParameters B N0).signedVelocity x.coefficients |
| 26 | (ActualPrimary.commonContext B) x.state |
| 27 | |
| 28 | noncomputable abbrev signedPressure {B N0 : ℕ} (x : CycleState (Index B N0)) := |
| 29 | (ActualCycleParameters.fixedParameters B N0).signedPressure x.coefficients |
| 30 | (ActualPrimary.commonContext B) x.state |
| 31 | |
| 32 | noncomputable abbrev signedGaussian {B N0 : ℕ} (x : CycleState (Index B N0)) := |
| 33 | (ActualCycleParameters.fixedParameters B N0).signedGaussian x.coefficients |
| 34 | (ActualPrimary.commonContext B) x.state |
| 35 | |
| 36 | noncomputable abbrev postSigned {B N0 : ℕ} (x : CycleState (Index B N0)) := |
| 37 | (ActualCycleParameters.fixedParameters B N0).afterSigned x.coefficients |
| 38 | (ActualPrimary.commonContext B) x.state |
| 39 | |
| 40 | noncomputable abbrev temporalIncrement {B N0 : ℕ} (x : CycleState (Index B N0)) := |
| 41 | (ActualCycleParameters.fixedParameters B N0).temporalIncrement x.coefficients |
| 42 | (ActualPrimary.commonContext B) x.state |
| 43 | |
| 44 | noncomputable abbrev postTemporal {B N0 : ℕ} (x : CycleState (Index B N0)) := |
| 45 | (ActualCycleParameters.fixedParameters B N0).afterTemporal x.coefficients |
| 46 | (ActualPrimary.commonContext B) x.state |
| 47 | |
| 48 | section Core |
| 49 | |
| 50 | variable {B N0 : ℕ} {x : CycleState (Index B N0)} {σ : ℝ} |
| 51 | {S : Index B N0 → ℕ → Set Point} |
| 52 | (H : CycleAnalyticInvariant ActualInitialization.geometry (ActualPrimary.commonContext B) |
| 53 | ActualInitialization.tangentBlock ActualInitialization.envelope S σ x) |
| 54 | (hσ : 1/5 ≤ σ) |
| 55 | (first : ActualParticularMeanGain.Result x σ) |
| 56 | (hCov : SignedMeanGain.TensorClass ActualInitialization.strip (1+σ-ChartScales.kappa) |
| 57 | (SignedMeanGain.covarianceIncrement (ActualParticularMeanGain.postParticular x).oscillation |
| 58 | (signedVelocity x))) |
| 59 | (hX : ∀ i j, GaugeMomentBalances.MovingField ActualPrimary.standardRegion |
| 60 | ActualInitialization.patch.a ActualInitialization.patch.b |
| 61 | (SignedMeanGain.covarianceIncrement (ActualParticularMeanGain.postParticular x).oscillation |
| 62 | (signedVelocity x) i j)) |
| 63 | (hTemporal : IncrementBounds ActualInitialization.strip (1+σ-2*ChartScales.kappa) |
| 64 | (temporalIncrement x)) |
| 65 | |
| 66 | include H hσ first hCov hX hTemporal |
| 67 | |
| 68 | /-- Both intermediate debts are measured from the actual state. The |
| 69 | signed stage loses one operator exponent, while the temporal change |
| 70 | retains the exponent of its genuine mean increment. -/ |
| 71 | theorem stage_debt_bounds : |
| 72 | (∀ i : Fin 3, UnweightedClass ActualInitialization.slowStrip (1+σ-2*ChartScales.kappa) |
| 73 | (fun n z => debt (ActualPrimary.commonContext B) (postSigned x) n z i)) ∧ |
| 74 | (∀ i : Fin 3, UnweightedClass ActualInitialization.slowStrip (1+σ-2*ChartScales.kappa) |
| 75 | (fun n z => debt (ActualPrimary.commonContext B) (postTemporal x) n z i)) := by |
| 76 | let G := ActualInitialization.geometry |
| 77 | have hSigned := GaugeDebtIncrement.waveStage_debt_mem G.region G.patch.a_pos G.patch.a_lt_b |
| 78 | G.left_pos G.right_pos G.epsilon G.slow G.epsilon_pos G.epsilon_le_one G.slow_ge_one |
| 79 | G.gauge (ActualPrimary.commonContext B) (ActualParticularMeanGain.postParticular x) |
| 80 | (signedVelocity x) (signedPressure x) (signedGaussian x) |
| 81 | first.primitive.operators.regular first.primitive.base.smooth first.primitive.mean.regular |
| 82 | (fun i j => MeanStateRegularity.MovingField.regular (first.primitive.covariance i j)) |
| 83 | (fun i j => MeanStateRegularity.MovingField.regular (hX i j)) |
| 84 | (ActualInitialization.operators B) hCov |
| 85 | (show (1+σ-ChartScales.kappa)-ChartScales.kappa ≤ 1+(σ-ChartScales.kappa) by |
| 86 | norm_num [ChartScales.kappa]; linarith) first.debt |
| 87 | have hS : ∀ i : Fin 3, UnweightedClass ActualInitialization.slowStrip (1+σ-2*ChartScales.kappa) |
| 88 | (fun n z => debt (ActualPrimary.commonContext B) (postSigned x) n z i) := by |
| 89 | simp only [show (1+σ-ChartScales.kappa)-ChartScales.kappa = 1+σ-2*ChartScales.kappa by ring] at hSigned |
| 90 | exact hSigned |
| 91 | have HP : MeanStateRegularity.PrimitiveData G.region G.patch.a G.patch.b |
| 92 | (ActualPrimary.commonContext B) (postSigned x) := |
| 93 | first.primitive.waveStage G.gauge (signedVelocity x) (signedPressure x) (signedGaussian x) hX |
| 94 | have HPg : MeanStateRegularity.PrimitiveData G.region G.gauge.radial.inner G.gauge.radial.outer |
| 95 | (ActualPrimary.commonContext B) (postSigned x) := by |
| 96 | simpa only [G.inner_eq, G.outer_eq] using HP |
| 97 | have hMoving := MeanStageRegularity.temporalIncrement_moving HPg G.inner_pos G.exponent_pos |
| 98 | G.length_eq rfl ActualPrimary.h (CommonWindow.index ActualPrimary.h) ActualInitialization.axial |
| 99 | have hRegular : GaugeDebtIncrement.RegularTriple G.region G.patch.a G.patch.b (temporalIncrement x) := by |
| 100 | have hr := hMoving.regular |
| 101 | simp only [G.inner_eq, G.outer_eq] at hr ⊢ |
| 102 | exact hr |
| 103 | have hm : MeanIncrementBounds.CumulativeBounds G.strip (postSigned x).mean := by |
| 104 | rw [(ActualCycleParameters.fixedParameters B N0).afterSigned_mean] |
| 105 | exact H.cumulative.velocity |
| 106 | have hT := GaugeDebtIncrement.temporalStage_debt_mem G.region G.patch.a_pos G.patch.a_lt_b |
| 107 | G.left_pos G.right_pos G.epsilon G.slow G.epsilon_pos G.epsilon_le_one G.slow_ge_one |
| 108 | G.gauge ActualPrimary.h (CommonWindow.index ActualPrimary.h) ActualInitialization.axial |
| 109 | (ActualPrimary.commonContext B) (postSigned x) HP.operators.regular HP.base.smooth HP.mean.regular |
| 110 | hRegular (fun i j => MeanStateRegularity.MovingField.regular (HP.covariance i j)) |
| 111 | (ActualInitialization.operators B) (ActualInitialization.base_bounds B) hm hTemporal |
| 112 | (show 9/10 ≤ 1+σ-2*ChartScales.kappa by norm_num [ChartScales.kappa]; linarith) |
| 113 | (show 2*ChartScales.kappa ≤ 9/10 by norm_num [ChartScales.kappa]) le_rfl hS |
| 114 | exact ⟨hS, hT⟩ |
| 115 | |
| 116 | end Core |
| 117 | |
| 118 | section FromStepData |
| 119 | |
| 120 | variable {B N0 : ℕ} {x : CycleState (Index B N0)} {σ : ℝ} |
| 121 | {S : Index B N0 → ℕ → Set Point} |
| 122 | (D : CorrectionAnalyticStep.StaticData ActualInitialization.geometry ActualPrimary.h |
| 123 | (CommonWindow.index ActualPrimary.h) ActualInitialization.axial ActualPrimary.rankData |
| 124 | (ActualPrimary.commonContext B) ChartScales.kappa) |
| 125 | (H : CycleAnalyticInvariant ActualInitialization.geometry (ActualPrimary.commonContext B) |
| 126 | ActualInitialization.tangentBlock ActualInitialization.envelope S σ x) |
| 127 | (hσ : 1/5 ≤ σ) (particular : ActualParticularMeanGain.Inputs x σ) |
| 128 | (d : CorrectionAnalyticStep.StepData ActualInitialization.geometry ActualPrimary.h |
| 129 | (CommonWindow.index ActualPrimary.h) ActualInitialization.axial |
| 130 | (fun l => ActualParticularStageControls.canonicalParameters (ActualCycleParameters.swap B N0 l)) |
| 131 | ActualSignedStageControls.parameters ActualPrimary.rankData (ActualPrimary.commonContext B) |
| 132 | x ActualInitialization.tangentBlock ActualInitialization.envelope S D H hσ) |
| 133 | |
| 134 | include D H hσ particular d |
| 135 | |
| 136 | /-- Concrete factory-facing form. Both covariance and temporal estimates |
| 137 | are derived from the checked step data, and the initial intermediate debt |
| 138 | is derived from the particular inputs. -/ |
| 139 | theorem stage_debt_from_stepData : |
| 140 | (∀ i : Fin 3, UnweightedClass ActualInitialization.slowStrip (1+σ-2*ChartScales.kappa) |
| 141 | (fun n z => debt (ActualPrimary.commonContext B) (postSigned x) n z i)) ∧ |
| 142 | (∀ i : Fin 3, UnweightedClass ActualInitialization.slowStrip (1+σ-2*ChartScales.kappa) |
| 143 | (fun n z => debt (ActualPrimary.commonContext B) (postTemporal x) n z i)) := by |
| 144 | let p := ActualCycleParameters.fixedParameters B N0 |
| 145 | let c := ActualPrimary.commonContext B |
| 146 | let W := d.waves |
| 147 | let F := p.signedFamily x.coefficients c x.state ActualInitialization.tangentBlock |
| 148 | ActualInitialization.envelope hσ d.primaryBand d.primary_band H.bands H.carrier W.carrier |
| 149 | H.wave H.difference W.particular W.tangent W.curl d.envelope_nonneg d.envelope_le_one H.angular |
| 150 | let a : SignedMeanGain.Assembly F := d.assembly |
| 151 | have hlabels : a.labels = x.coefficients.labels := d.labels |
| 152 | have hOld : (ActualParticularMeanGain.postParticular x).oscillation = SignedMeanGain.oldField F a := by |
| 153 | simpa only [SignedMeanGain.oldField, F, CycleParameters.signedFamily, hlabels] using |
| 154 | p.beforeSignedBlock_represents x.coefficients c x.state H.representation |
| 155 | have hWave : SignedMeanGain.tangentField F a + SignedMeanGain.curlField F a = signedVelocity x := by |
| 156 | simpa only [SignedMeanGain.tangentField, SignedMeanGain.curlField, F, |
| 157 | CycleParameters.signedFamily, hlabels] using (p.signedVelocity_split x.coefficients c x.state).symm |
| 158 | have hCov : SignedMeanGain.TensorClass ActualInitialization.strip (1+σ-ChartScales.kappa) |
| 159 | (SignedMeanGain.covarianceIncrement (ActualParticularMeanGain.postParticular x).oscillation |
| 160 | (signedVelocity x)) := by |
| 161 | have hh := (SignedMeanGain.signed_tensor_bounds hσ (by rfl) F a).1 |
| 162 | rwa [SignedMeanGain.incrementTensor, ← hOld, hWave] at hh |
| 163 | have hX := (W.covariance_moving H.oscillationSmooth H.oscillationPeriodic).2 |
| 164 | have hStep := CorrectionAnalyticStep.step ActualInitialization.geometry ActualPrimary.h |
| 165 | (CommonWindow.index ActualPrimary.h) ActualInitialization.axial |
| 166 | (fun l => ActualParticularStageControls.canonicalParameters (ActualCycleParameters.swap B N0 l)) |
| 167 | ActualSignedStageControls.parameters ActualPrimary.rankData (ActualPrimary.commonContext B) |
| 168 | x ActualInitialization.tangentBlock ActualInitialization.envelope S D H hσ (by rfl) d |
| 169 | exact stage_debt_bounds H hσ (ActualParticularMeanGain.postParticular_gain H particular hσ) |
| 170 | hCov hX hStep.temporal |
| 171 | |
| 172 | /-- The full three-component slow source used by the actual rank repair. -/ |
| 173 | theorem afterTemporal_debt_from_stepData : |
| 174 | UnweightedClass ActualInitialization.slowStrip (1+σ-2*ChartScales.kappa) |
| 175 | (debt (ActualPrimary.commonContext B) (postTemporal x)) := |
| 176 | RankStateBounds.debtClass_of_components ActualInitialization.slowStrip |
| 177 | (stage_debt_from_stepData D H hσ particular d).2 |
| 178 | |
| 179 | end FromStepData |
| 180 | |
| 181 | end NavierStokes.ActualIntermediateDebtBounds |