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.CorrectionStep |
| 2 | import NavierStokes.GaugeExcludedBounds |
| 3 | |
| 4 | /-! |
| 5 | # Every-power bounds for the literal cycle's axisymmetric alias |
| 6 | |
| 7 | The three newly evaluated aliases use one fixed similarity gauge, strip, |
| 8 | covering index, and fast operator. Their bounds are derived from primitive |
| 9 | state regularity and ordinary cumulative/covariance estimates. |
| 10 | -/ |
| 11 | |
| 12 | noncomputable section |
| 13 | |
| 14 | namespace NavierStokes.ActualCycleExcluded |
| 15 | |
| 16 | open Set Function Filter WeightedClasses MeanIncrementBounds CorrectionState |
| 17 | open CorrectionStep VariableGaugeMean LocalSignedRequest MeanStateRegularity |
| 18 | open scoped ContDiff Topology BigOperators |
| 19 | |
| 20 | abbrev Point := MeanStateRegularity.Point |
| 21 | |
| 22 | /-- Fixed numerical and geometric data for the actual similarity estimates. -/ |
| 23 | structure SimilarityData where |
| 24 | h : ℝ |
| 25 | h_pos : 0 < h |
| 26 | inner : ℝ |
| 27 | outer : ℝ |
| 28 | inner_pos : 0 < inner |
| 29 | inner_lt_outer : inner < outer |
| 30 | leftWeight : ℝ |
| 31 | rightWeight : ℝ |
| 32 | left_pos : 0 < leftWeight |
| 33 | right_pos : 0 < rightWeight |
| 34 | baseScale : ℝ |
| 35 | baseScale_ne : baseScale ≠ 0 |
| 36 | region : SlowRegion (2 * h) |
| 37 | index : ℕ → ℕ |
| 38 | gap : ℕ |
| 39 | index_lower : ∀ n, ChartScales.nativeIndex h n ≤ index n + gap |
| 40 | index_upper : ∀ n, index n ≤ ChartScales.nativeIndex h n + gap |
| 41 | slow : ℕ → ℝ |
| 42 | slow_one : ∀ n, 1 ≤ slow n |
| 43 | slow_scale : ∀ n, ChartScales.S n ≤ slow n |
| 44 | |
| 45 | noncomputable def SimilarityData.strip (d : SimilarityData) : StripData Point := |
| 46 | GaugeExcludedBounds.actualStrip (b := d.outer) d.region d.inner_pos d.left_pos d.right_pos |
| 47 | d.h_pos d.slow d.slow_one |
| 48 | |
| 49 | noncomputable def SimilarityData.gauge (d : SimilarityData) : GaugeData TorusInverse.Plane := |
| 50 | GaugeExcludedBounds.actualGauge d.h d.inner d.outer d.baseScale d.inner_lt_outer d.index |
| 51 | |
| 52 | /-- These are equalities of the actual data used by the cycle, not |
| 53 | hypotheses on any excluded output field. -/ |
| 54 | structure Compatible {ι : Type} (d : SimilarityData) (p : CycleParameters ι) |
| 55 | (c : Context Point) : Prop where |
| 56 | gauge : p.gauge = d.gauge |
| 57 | strip : p.strip = d.strip |
| 58 | time : p.timeExponent = d.h |
| 59 | index : p.commonIndex = d.index |
| 60 | fast : c.operators.fastCoefficient = |
| 61 | fun n => ChartScales.Tg ^ d.index n * ChartScales.Q n ^ (1 + d.h) |
| 62 | temporal : c.operators.vT = (0, (0, TorusInverse.vector .temporal)) |
| 63 | |
| 64 | section ExactStages |
| 65 | |
| 66 | variable {ι : Type} (p : CycleParameters ι) (v : CycleCoefficients ι) |
| 67 | (c : Context Point) (u : State Point) |
| 68 | |
| 69 | /-- Regularity of the two states at which the new aliases are evaluated. |
| 70 | The original rank geometry is reused after recomputing the actual debt. -/ |
| 71 | theorem stage_primitives {coord : ℝ} (U : SlowRegion coord) |
| 72 | (ha : 0 < p.gauge.radial.inner) (hd : 0 < p.gauge.radial.exponent) |
| 73 | (hell : ∀ n, p.gauge.length n = qLength coord) |
| 74 | (H : PrimitiveData U p.gauge.radial.inner p.gauge.radial.outer c u) |
| 75 | (hX₁ : ∀ i j, GaugeMomentBalances.MovingField U p.gauge.radial.inner p.gauge.radial.outer |
| 76 | (SignedMeanGain.covarianceIncrement u.oscillation (p.particularVelocity v c u) i j)) |
| 77 | (hX₂ : ∀ i j, GaugeMomentBalances.MovingField U p.gauge.radial.inner p.gauge.radial.outer |
| 78 | (SignedMeanGain.covarianceIncrement (p.afterParticular v c u).oscillation |
| 79 | (p.signedVelocity v c u) i j)) |
| 80 | (hrank : LocalRankDefect.RankGeometry p.gauge p.rank U.carrier c u) : |
| 81 | PrimitiveData U p.gauge.radial.inner p.gauge.radial.outer c (p.afterSigned v c u) ∧ |
| 82 | PrimitiveData U p.gauge.radial.inner p.gauge.radial.outer c (p.afterRank v c u) := by |
| 83 | have H₁ : PrimitiveData U p.gauge.radial.inner p.gauge.radial.outer c (p.afterParticular v c u) := |
| 84 | H.waveStage p.gauge (p.particularVelocity v c u) (p.particularPressure v c u) |
| 85 | (p.particularGaussian v c u) hX₁ |
| 86 | have H₂ : PrimitiveData U p.gauge.radial.inner p.gauge.radial.outer c (p.afterSigned v c u) := |
| 87 | H₁.waveStage p.gauge (p.signedVelocity v c u) (p.signedPressure v c u) |
| 88 | (p.signedGaussian v c u) hX₂ |
| 89 | have HT := MeanStageRegularity.temporalStage_primitive H₂ ha hd hell rfl |
| 90 | p.timeExponent p.commonIndex p.axial |
| 91 | have HG := MeanStageRegularity.rankGeometry_for_state HT ha p.gauge.radial.inner_lt_outer hrank |
| 92 | exact ⟨H₂, MeanStageRegularity.rankStage_primitive HT HG hell p.axial⟩ |
| 93 | |
| 94 | theorem afterRank_cumulative_of_next {s : StripData Point} |
| 95 | (hnext : CorrectionState.CumulativeBounds s (p.next v c u)) : |
| 96 | CorrectionState.CumulativeBounds s (p.afterRank v c u) := |
| 97 | ⟨hnext.velocity, hnext.pressure⟩ |
| 98 | |
| 99 | /-- The covariance is updated only by the two actual wave increments. |
| 100 | Temporal and rank mean changes leave this covariance unchanged. -/ |
| 101 | theorem afterRank_covariance_mem {s : StripData Point} {γ : ℝ} |
| 102 | (hW : ∀ i j, MeanClass s γ (u.covariance i j)) |
| 103 | (hX₁ : ∀ i j, MeanClass s γ |
| 104 | (SignedMeanGain.covarianceIncrement u.oscillation (p.particularVelocity v c u) i j)) |
| 105 | (hX₂ : ∀ i j, MeanClass s γ |
| 106 | (SignedMeanGain.covarianceIncrement (p.afterParticular v c u).oscillation |
| 107 | (p.signedVelocity v c u) i j)) : |
| 108 | ∀ i j, MeanClass s γ ((p.afterRank v c u).covariance i j) := by |
| 109 | have H₁ : ∀ i j, MeanClass s γ ((p.afterParticular v c u).covariance i j) := by |
| 110 | intro i j |
| 111 | change MeanClass s γ ((SignedMeanGain.waveStage p.gauge c u |
| 112 | (p.particularVelocity v c u) (p.particularPressure v c u) |
| 113 | (p.particularGaussian v c u)).covariance i j) |
| 114 | rw [SignedMeanGain.waveStage_covariance] |
| 115 | exact (hW i j).add (hX₁ i j) |
| 116 | have H₂ : ∀ i j, MeanClass s γ ((p.afterSigned v c u).covariance i j) := by |
| 117 | intro i j |
| 118 | change MeanClass s γ ((SignedMeanGain.waveStage p.gauge c (p.afterParticular v c u) |
| 119 | (p.signedVelocity v c u) (p.signedPressure v c u) |
| 120 | (p.signedGaussian v c u)).covariance i j) |
| 121 | rw [SignedMeanGain.waveStage_covariance] |
| 122 | exact (H₁ i j).add (hX₂ i j) |
| 123 | intro i j |
| 124 | change MeanClass s γ ((rankStageState p.gauge p.rank p.axial c |
| 125 | (temporalStageState p.gauge p.timeExponent p.commonIndex p.axial c |
| 126 | (p.afterSigned v c u))).covariance i j) |
| 127 | rw [LocalRankDefect.rankStage_covariance, GaugeDebtIncrement.temporalStage_covariance] |
| 128 | exact H₂ i j |
| 129 | |
| 130 | theorem nextAxisymmetricAlias_eq (axis : AxisymmetricAlias) : |
| 131 | p.nextAxisymmetricAlias v c u axis = axis + |
| 132 | (fun n x => temporalAliasState p.gauge p.timeExponent p.commonIndex c (p.afterSigned v c u) n (x, 0)) + |
| 133 | ((fun n x => pressureAliasState p.gauge c (p.afterRank v c u) n (x, 0)) - |
| 134 | (fun n x => pressureAliasState p.gauge c u n (x, 0))) := rfl |
| 135 | |
| 136 | end ExactStages |
| 137 | |
| 138 | private theorem meanClass_sub {E : Type*} [NormedAddCommGroup E] [NormedSpace ℝ E] |
| 139 | {s : StripData Point} {β : ℝ} {f g : ℕ → Point → E} |
| 140 | (hf : MeanClass s β f) (hg : MeanClass s β g) : MeanClass s β (f - g) := by |
| 141 | have hn := hg.map (-ContinuousLinearMap.id ℝ E) |
| 142 | have he := hf.add hn |
| 143 | simp only [sub_eq_add_neg, _root_.neg_apply, ContinuousLinearMap.id_apply] at he ⊢ |
| 144 | exact he |
| 145 | |
| 146 | section ActualBounds |
| 147 | |
| 148 | variable {ι : Type} (d : SimilarityData) (p : CycleParameters ι) (v : CycleCoefficients ι) |
| 149 | (c : Context Point) (u : State Point) (matchData : Compatible d p c) |
| 150 | |
| 151 | include matchData |
| 152 | |
| 153 | /-- The three new aliases are estimated by `GaugeExcludedBounds` for the |
| 154 | same concrete similarity data. The after-signed and after-rank primitive |
| 155 | certificates are derived, and the old pressure alias is subtracted. -/ |
| 156 | theorem nextAxisymmetricAlias_all_powers {κ α γ : ℝ} |
| 157 | (H : PrimitiveData d.region d.inner d.outer c u) |
| 158 | (hX₁ : ∀ i j, GaugeMomentBalances.MovingField d.region d.inner d.outer |
| 159 | (SignedMeanGain.covarianceIncrement u.oscillation (p.particularVelocity v c u) i j)) |
| 160 | (hX₂ : ∀ i j, GaugeMomentBalances.MovingField d.region d.inner d.outer |
| 161 | (SignedMeanGain.covarianceIncrement (p.afterParticular v c u).oscillation |
| 162 | (p.signedVelocity v c u) i j)) |
| 163 | (hrank : LocalRankDefect.RankGeometry p.gauge p.rank d.region.carrier c u) |
| 164 | (ho : OperatorBounds p.strip c.operators κ) (hb : BaseBounds p.strip c.base) |
| 165 | (hu : CorrectionState.CumulativeBounds p.strip u) |
| 166 | (hnext : CorrectionState.CumulativeBounds p.strip (p.next v c u)) |
| 167 | (hW : ∀ i j, MeanClass p.strip γ (u.covariance i j)) |
| 168 | (hCov₁ : ∀ i j, MeanClass p.strip γ |
| 169 | (SignedMeanGain.covarianceIncrement u.oscillation (p.particularVelocity v c u) i j)) |
| 170 | (hCov₂ : ∀ i j, MeanClass p.strip γ |
| 171 | (SignedMeanGain.covarianceIncrement (p.afterParticular v c u).oscillation |
| 172 | (p.signedVelocity v c u) i j)) |
| 173 | (hraw : MeanClass p.strip α ((p.afterSigned v c u).axialResidual c)) |
| 174 | (axis : AxisymmetricAlias) (haxis : ∀ β : ℝ, MeanClass p.strip β axis) : |
| 175 | ∀ β : ℝ, MeanClass p.strip β (p.nextAxisymmetricAlias v c u axis) := by |
| 176 | rw [matchData.strip] at ho hb hu hnext hW hCov₁ hCov₂ hraw haxis ⊢ |
| 177 | have hi : p.gauge.radial.inner = d.inner := by rw [matchData.gauge]; rfl |
| 178 | have ho' : p.gauge.radial.outer = d.outer := by rw [matchData.gauge]; rfl |
| 179 | have ha : 0 < p.gauge.radial.inner := by rw [hi]; exact d.inner_pos |
| 180 | have hd : 0 < p.gauge.radial.exponent := by |
| 181 | rw [matchData.gauge] |
| 182 | exact ChartScales.radialExponent_pos d.h d.h_pos.le |
| 183 | have hell : ∀ n, p.gauge.length n = qLength (2 * d.h) := by |
| 184 | intro n |
| 185 | rw [matchData.gauge] |
| 186 | rfl |
| 187 | have HP : PrimitiveData d.region p.gauge.radial.inner p.gauge.radial.outer c u := by |
| 188 | simpa only [hi, ho'] using H |
| 189 | have hXP₁ : ∀ i j, GaugeMomentBalances.MovingField d.region p.gauge.radial.inner p.gauge.radial.outer |
| 190 | (SignedMeanGain.covarianceIncrement u.oscillation (p.particularVelocity v c u) i j) := by |
| 191 | simpa only [hi, ho'] using hX₁ |
| 192 | have hXP₂ : ∀ i j, GaugeMomentBalances.MovingField d.region p.gauge.radial.inner p.gauge.radial.outer |
| 193 | (SignedMeanGain.covarianceIncrement (p.afterParticular v c u).oscillation |
| 194 | (p.signedVelocity v c u) i j) := by |
| 195 | simpa only [hi, ho'] using hX₂ |
| 196 | obtain ⟨HS, HR⟩ := stage_primitives p v c u d.region ha hd hell HP hXP₁ hXP₂ hrank |
| 197 | rw [hi, ho'] at HS HR |
| 198 | have hfixed : (reconstructState d.gauge c (p.afterSigned v c u)).pressure = |
| 199 | (p.afterSigned v c u).pressure := by |
| 200 | rw [← matchData.gauge] |
| 201 | rfl |
| 202 | have hcum := afterRank_cumulative_of_next p v c u hnext |
| 203 | have hcov := afterRank_covariance_mem p v c u hW hCov₁ hCov₂ |
| 204 | intro β |
| 205 | have htemporal : MeanClass d.strip β |
| 206 | (fun n x => temporalAliasState d.gauge d.h d.index c (p.afterSigned v c u) n (x, 0)) := |
| 207 | (GaugeExcludedBounds.temporalAliasState_mean_bounds d.region d.inner_pos d.inner_lt_outer |
| 208 | d.left_pos d.right_pos d.h_pos d.baseScale_ne d.index d.gap d.index_lower d.index_upper |
| 209 | d.slow d.slow_one d.slow_scale c (p.afterSigned v c u) HS hfixed |
| 210 | matchData.fast matchData.temporal hraw β).1 |
| 211 | have hpressureNew : MeanClass d.strip β |
| 212 | (fun n x => pressureAliasState d.gauge c (p.afterRank v c u) n (x, 0)) := |
| 213 | (GaugeExcludedBounds.pressureAliasState_mean_bounds d.region d.inner_pos d.inner_lt_outer |
| 214 | d.left_pos d.right_pos d.h_pos d.baseScale_ne d.index d.gap d.index_lower |
| 215 | d.slow d.slow_one d.slow_scale c (p.afterRank v c u) HR ho hb hcum hcov β).1 |
| 216 | have hpressureOld : MeanClass d.strip β |
| 217 | (fun n x => pressureAliasState d.gauge c u n (x, 0)) := |
| 218 | (GaugeExcludedBounds.pressureAliasState_mean_bounds d.region d.inner_pos d.inner_lt_outer |
| 219 | d.left_pos d.right_pos d.h_pos d.baseScale_ne d.index d.gap d.index_lower |
| 220 | d.slow d.slow_one d.slow_scale c u H ho hb hu hW β).1 |
| 221 | rw [nextAxisymmetricAlias_eq, matchData.gauge, matchData.time, matchData.index] |
| 222 | exact ((haxis β).add htemporal).add (meanClass_sub hpressureNew hpressureOld) |
| 223 | |
| 224 | end ActualBounds |
| 225 | |
| 226 | end NavierStokes.ActualCycleExcluded |