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.ActualCycleParameters |
| 2 | |
| 3 | /-! |
| 4 | # The actual post-particular mean data |
| 5 | |
| 6 | Only the particular wave is needed to prepare the signed request. The |
| 7 | common assembly below is independent of a signed family or any signed |
| 8 | output estimate. |
| 9 | -/ |
| 10 | |
| 11 | noncomputable section |
| 12 | |
| 13 | namespace NavierStokes.ActualParticularMeanGain |
| 14 | |
| 15 | open Set Function Filter WeightedClasses MeanIncrementBounds CorrectionState CorrectionStep |
| 16 | open CorrectionInitialization VariableGaugeMean |
| 17 | open scoped ContDiff Topology BigOperators |
| 18 | |
| 19 | |
| 20 | abbrev Point := ActualInitialization.Point |
| 21 | abbrev Index (B N0 : ℕ) := ActualInitialization.Index B N0 |
| 22 | |
| 23 | noncomputable abbrev particularBlocks {B N0 : ℕ} (x : CycleState (Index B N0)) := |
| 24 | (ActualCycleParameters.fixedParameters B N0).particularBlock x.coefficients |
| 25 | (ActualPrimary.commonContext B) x.state |
| 26 | |
| 27 | noncomputable abbrev particularVelocity {B N0 : ℕ} (x : CycleState (Index B N0)) := |
| 28 | (ActualCycleParameters.fixedParameters B N0).particularVelocity x.coefficients |
| 29 | (ActualPrimary.commonContext B) x.state |
| 30 | |
| 31 | noncomputable abbrev particularPressure {B N0 : ℕ} (x : CycleState (Index B N0)) := |
| 32 | (ActualCycleParameters.fixedParameters B N0).particularPressure x.coefficients |
| 33 | (ActualPrimary.commonContext B) x.state |
| 34 | |
| 35 | noncomputable abbrev particularGaussian {B N0 : ℕ} (x : CycleState (Index B N0)) := |
| 36 | (ActualCycleParameters.fixedParameters B N0).particularGaussian x.coefficients |
| 37 | (ActualPrimary.commonContext B) x.state |
| 38 | |
| 39 | noncomputable abbrev postParticular {B N0 : ℕ} (x : CycleState (Index B N0)) := |
| 40 | (ActualCycleParameters.fixedParameters B N0).afterParticular x.coefficients |
| 41 | (ActualPrimary.commonContext B) x.state |
| 42 | |
| 43 | noncomputable abbrev signedRequest {B N0 : ℕ} (x : CycleState (Index B N0)) := |
| 44 | (ActualCycleParameters.fixedParameters B N0).signedRequest x.coefficients |
| 45 | (ActualPrimary.commonContext B) x.state |
| 46 | |
| 47 | noncomputable abbrev label {B N0 : ℕ} (_n : ℕ) (l : Index B N0) : SlotColoring.Label := |
| 48 | ActualPrimaryCovariance.signedLabelOf l |
| 49 | |
| 50 | /-- First-wave data only. These supports use the original selected slots |
| 51 | and physical window, independently of the signed output. -/ |
| 52 | structure Inputs {B N0 : ℕ} (x : CycleState (Index B N0)) (σ : ℝ) : Prop where |
| 53 | amplitude : ∀ i j, LabelSumBounds.UniformWaveClass ActualInitialization.strip |
| 54 | ActualInitialization.envelope (1/2+σ) |
| 55 | (fun l n z => (particularBlocks x l).velocity n i j z) |
| 56 | smooth : WaveStateRegularity.AngularSmooth ActualInitialization.geometry.domain (particularVelocity x) |
| 57 | periodic : OscillationPeriodic ActualPrimary.standardRegion.carrier (particularVelocity x) |
| 58 | supported : WaveStateRegularity.WaveSupport ActualPrimary.standardRegion |
| 59 | ActualInitialization.patch.a ActualInitialization.patch.b (particularVelocity x) |
| 60 | old_support : LabelSumBounds.SupportedOscillations ActualPrimary.slots label |
| 61 | ActualPrimaryCovariance.physicalWindow ActualPrimaryCovariance.absoluteAuxiliary |
| 62 | ActualInitialization.strip.domain (fun l => (x.coefficients.blocks l).oscillation) |
| 63 | particular_support : LabelSumBounds.SupportedOscillations ActualPrimary.slots label |
| 64 | ActualPrimaryCovariance.physicalWindow ActualPrimaryCovariance.absoluteAuxiliary |
| 65 | ActualInitialization.strip.domain (fun l => (particularBlocks x l).oscillation) |
| 66 | |
| 67 | /-- All data needed before constructing the signed wave. The covariance |
| 68 | and residual estimates are outputs of the actual first-wave update. -/ |
| 69 | structure Result {B N0 : ℕ} (x : CycleState (Index B N0)) (σ : ℝ) : Prop where |
| 70 | covariance : SignedMeanGain.TensorClass ActualInitialization.strip (1+σ) |
| 71 | (SignedMeanGain.covarianceIncrement x.state.oscillation (particularVelocity x)) |
| 72 | covariance_moving : ∀ i j, GaugeMomentBalances.MovingField ActualPrimary.standardRegion |
| 73 | ActualInitialization.patch.a ActualInitialization.patch.b |
| 74 | (SignedMeanGain.covarianceIncrement x.state.oscillation (particularVelocity x) i j) |
| 75 | primitive : MeanStateRegularity.PrimitiveData ActualPrimary.standardRegion |
| 76 | ActualInitialization.patch.a ActualInitialization.patch.b (ActualPrimary.commonContext B) |
| 77 | (postParticular x) |
| 78 | reconstructed : reconstructState ActualPrimary.commonGauge (ActualPrimary.commonContext B) |
| 79 | (postParticular x) = postParticular x |
| 80 | pressure : MeanClass ActualInitialization.strip (1+σ-ChartScales.kappa) |
| 81 | ((postParticular x).pressure - x.state.pressure) |
| 82 | cumulative : CorrectionState.CumulativeBounds ActualInitialization.strip (postParticular x) |
| 83 | theta : MeanClass ActualInitialization.strip (1+σ-ChartScales.kappa) |
| 84 | ((postParticular x).thetaResidual (ActualPrimary.commonContext B)) |
| 85 | axial : MeanClass ActualInitialization.strip (1+σ-ChartScales.kappa) |
| 86 | ((postParticular x).axialResidual (ActualPrimary.commonContext B)) |
| 87 | debt : DefectBounds ActualInitialization.slowStrip (σ-ChartScales.kappa) |
| 88 | (ActualPrimary.commonContext B) (postParticular x) |
| 89 | request : ∀ i, MeanClass (HarmonicWaveInteraction.productStrip ActualInitialization.strip) |
| 90 | (σ-ChartScales.kappa) (fun n z => signedRequest x n z i) |
| 91 | |
| 92 | section Gain |
| 93 | |
| 94 | variable {B N0 : ℕ} {x : CycleState (Index B N0)} {σ : ℝ} |
| 95 | {S : Index B N0 → ℕ → Set Point} |
| 96 | (H : CycleAnalyticInvariant ActualInitialization.geometry (ActualPrimary.commonContext B) |
| 97 | ActualInitialization.tangentBlock ActualInitialization.envelope S σ x) |
| 98 | (d : Inputs x σ) |
| 99 | |
| 100 | include H d |
| 101 | |
| 102 | /-- Quantitative covariance of the literal first update, with uniform |
| 103 | constants obtained from the fixed slot assembly. -/ |
| 104 | theorem covariance_class (hσ : 1/5 ≤ σ) : |
| 105 | SignedMeanGain.TensorClass ActualInitialization.strip (1+σ) |
| 106 | (SignedMeanGain.covarianceIncrement x.state.oscillation (particularVelocity x)) := by |
| 107 | have hinj n : Set.InjOn (label (B := B) (N0 := N0) n) (x.coefficients.labels n : Set (Index B N0)) := |
| 108 | ActualPrimaryCovariance.signedLabelOf_injective.injOn |
| 109 | have hlevel n (l : Index B N0) (_hl : l ∈ x.coefficients.labels n) : 1 ≤ (label n l).1 := |
| 110 | l.1.val.property.1 |
| 111 | have hrep : x.state.oscillation = LabelSumBounds.fieldSum x.coefficients.labels |
| 112 | (fun l => (x.coefficients.blocks l).oscillation) := by |
| 113 | funext n z i |
| 114 | exact H.representation.velocity n z i |
| 115 | have hcov := assembledCovarianceIncrement_mem (show (1:ℝ)/2 ≤ 1/2+σ by linarith) |
| 116 | x.coefficients.labels label hinj hlevel ActualPrimaryCovariance.physicalWindow |
| 117 | ActualPrimaryCovariance.physicalWindow_continuousOn ActualPrimaryCovariance.absoluteAuxiliary |
| 118 | x.coefficients.blocks (particularBlocks x) x.coefficients.residualBand H.bands.velocityPressure |
| 119 | ((ActualCycleParameters.fixedParameters B N0).particularBlock_band x.coefficients |
| 120 | (ActualPrimary.commonContext B) x.state) (fun _ => ⟨rfl,rfl,rfl⟩) |
| 121 | (fun i j _ => H.wave i j) (fun i j _ => d.amplitude i j) H.zeroVelocity |
| 122 | ((ActualCycleParameters.fixedParameters B N0).particularBlock_zero x.coefficients |
| 123 | (ActualPrimary.commonContext B) x.state) |
| 124 | (fun l n z _ => ActualInitialization.envelope_nonneg l n z) |
| 125 | (fun l n z _ => ActualInitialization.envelope_le_one l n z) |
| 126 | H.angular d.old_support d.particular_support x.state hrep |
| 127 | simp only [show (1:ℝ)/2+(1/2+σ) = 1+σ by ring] at hcov ⊢ |
| 128 | exact hcov |
| 129 | |
| 130 | theorem covariance_moving : ∀ i j, GaugeMomentBalances.MovingField ActualPrimary.standardRegion |
| 131 | ActualInitialization.patch.a ActualInitialization.patch.b |
| 132 | (SignedMeanGain.covarianceIncrement x.state.oscillation (particularVelocity x) i j) := |
| 133 | covarianceIncrement_moving ActualPrimary.standardRegion H.oscillationSmooth d.smooth d.supported |
| 134 | H.oscillationPeriodic d.periodic |
| 135 | |
| 136 | /-- Prepare the actual signed request without any signed-wave estimate |
| 137 | or complete four-stage input record. -/ |
| 138 | theorem postParticular_gain (hσ : 1/5 ≤ σ) : Result x σ := by |
| 139 | have hCov := covariance_class H d hσ |
| 140 | have hMove := covariance_moving H d |
| 141 | have hPr := H.primitives.waveStage ActualPrimary.commonGauge (particularVelocity x) |
| 142 | (particularPressure x) (particularGaussian x) hMove |
| 143 | have hRec : reconstructState ActualPrimary.commonGauge (ActualPrimary.commonContext B) |
| 144 | (postParticular x) = postParticular x := |
| 145 | GaugeMomentBalances.reconstructState_idempotent _ _ _ |
| 146 | have hFixed : (reconstructState ActualPrimary.commonGauge (ActualPrimary.commonContext B) |
| 147 | x.state).pressure = x.state.pressure := |
| 148 | congrArg (fun u : State Point => u.pressure) H.reconstructed |
| 149 | obtain ⟨hθ, hz⟩ := H.raw_mean_bounds |
| 150 | obtain ⟨hp, hcum, htheta, haxial, hdebt, hrequest⟩ := waveStage_mean_gain ActualInitialization.geometry |
| 151 | (ActualPrimary.commonContext B) x.state (particularVelocity x) (particularPressure x) |
| 152 | (particularGaussian x) hσ (ActualInitialization.operators B).kappa_nonneg |
| 153 | (show ChartScales.kappa ≤ 1/100000 by rfl) H.primitives (ActualInitialization.operators B) |
| 154 | (ActualInitialization.base_bounds B) H.cumulative hFixed hθ hz H.debt hMove hCov |
| 155 | exact ⟨hCov, hMove, hPr, hRec, hp, hcum, htheta, haxial, hdebt, hrequest⟩ |
| 156 | |
| 157 | end Gain |
| 158 | |
| 159 | end NavierStokes.ActualParticularMeanGain |