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.CyclePhysicalPrefixes |
| 3 | |
| 4 | /-! |
| 5 | # Cartesian realization of the actual reference particular update |
| 6 | |
| 7 | The source is the current state's literal harmonic residual. The common |
| 8 | solve, its transported cutoff, its curl correction, and its finite harmonic |
| 9 | assembly are retained in the realization. |
| 10 | -/ |
| 11 | |
| 12 | noncomputable section |
| 13 | |
| 14 | open Set Filter Function |
| 15 | open scoped Topology ContDiff BigOperators |
| 16 | |
| 17 | namespace NavierStokes.ActualParticularRealization |
| 18 | |
| 19 | open HarmonicCalculus ParticularWaveAssembly ParticularWaveBounds |
| 20 | open CurlClassBounds hiding ComplexVector |
| 21 | open CorrectionState |
| 22 | |
| 23 | abbrev Parameter := PhysicalParticularWave.Parameter |
| 24 | abbrev Plane := TorusInverse.Plane |
| 25 | abbrev Associated := Parameter × Plane |
| 26 | abbrev WaveSpace := PhysicalParticularWave.WaveSpace |
| 27 | |
| 28 | section Reindex |
| 29 | |
| 30 | variable {E F : Type} [NormedAddCommGroup E] [NormedSpace ℝ E] |
| 31 | [NormedAddCommGroup F] [NormedSpace ℝ F] |
| 32 | |
| 33 | theorem curl_pull (e : E ≃ₗᵢ[ℝ] F) (R : F → ℝ) (Vr Vθ Vz : F → F) |
| 34 | (a : F → ComplexVector) : |
| 35 | cylindricalCurl (fun x => R (e x)) (StateReindex.vector e Vr) (StateReindex.vector e Vθ) |
| 36 | (StateReindex.vector e Vz) (fun x => a (e x)) = fun x => cylindricalCurl R Vr Vθ Vz a (e x) := by |
| 37 | funext x |
| 38 | simp only [cylindricalCurl, StateReindex.along_pull_component] |
| 39 | |
| 40 | /-- Phase agreement on a neighborhood suffices for the complete curl |
| 41 | correction; no global continuation of the phase identity is required. -/ |
| 42 | theorem realizedCoefficient_phase_germ {Φ Ψ : E → ℝ} {x : E} (hΦ : Φ =ᶠ[𝓝 x] Ψ) |
| 43 | (K : ℝ) (R : E → ℝ) (Vr Vθ Vz : E → E) (a : E → ComplexVector) : |
| 44 | realizedCoefficient K R Vr Vθ Vz Φ a =ᶠ[𝓝 x] realizedCoefficient K R Vr Vθ Vz Ψ a := by |
| 45 | have hc : coefficient R Vr Vθ Vz Φ a =ᶠ[𝓝 x] coefficient R Vr Vθ Vz Ψ a := by |
| 46 | filter_upwards [hΦ.fderiv (𝕜 := ℝ)] with y hy |
| 47 | simp only [coefficient, phaseNormal, along, hy] |
| 48 | filter_upwards [ParticularWaveAssembly.curl_germ hc R Vr Vθ Vz] with y hy |
| 49 | simp only [realizedCoefficient, curlRemainder_eq, hy] |
| 50 | |
| 51 | end Reindex |
| 52 | |
| 53 | noncomputable def raw (D : AssemblyData Parameter) (h : ℝ) (gap : ℕ → ℕ) (j : ℤ) : |
| 54 | LinearWaveBounds.WaveCoefficients WaveSpace := |
| 55 | ((CorrectionStep.ParticularParameters.fromReference D h gap).copyData |
| 56 | D.context D.state D.carrierBlock D.gaussianInput D.aliasInput j).common |
| 57 | |
| 58 | noncomputable def corrected (D : AssemblyData Parameter) (s : WeightedClasses.StripData Associated) |
| 59 | (h : ℝ) (gap : ℕ → ℕ) (j : ℤ) : LinearWaveBounds.WaveCoefficients WaveSpace := |
| 60 | (CorrectionStep.ParticularParameters.fromReference D h gap).wave s |
| 61 | D.context D.state D.carrierBlock D.gaussianInput D.aliasInput j |
| 62 | |
| 63 | /-- Only the primitive radius and differential directions are matched. |
| 64 | No solved coefficient or output field occurs in this record. -/ |
| 65 | structure TargetChart (D : AssemblyData Parameter) (s : WeightedClasses.StripData Associated) |
| 66 | (h : ℝ) (n i : ℕ) : Prop where |
| 67 | radius : (fun x => D.background.radius n (PhysicalParticularWave.waveEquiv x)) = |
| 68 | PhysicalResidualBridge.ScaledGraph.radius |
| 69 | radial : StateReindex.vector PhysicalParticularWave.waveEquiv (D.directions.radialField n) = |
| 70 | (PhysicalResidualBridge.commonGraph (ChartScales.Q n) h i).radial |
| 71 | angular : StateReindex.vector PhysicalParticularWave.waveEquiv (fun _ => D.directions.angular) = |
| 72 | PhysicalResidualBridge.ScaledGraph.angular |
| 73 | axial : StateReindex.vector PhysicalParticularWave.waveEquiv |
| 74 | (D.directions.axialField (CorrectionStep.ParticularParameters.nativeStrip s) n) = |
| 75 | (PhysicalResidualBridge.commonGraph (ChartScales.Q n) h i).axial |
| 76 | |
| 77 | section Band |
| 78 | |
| 79 | variable (D : AssemblyData Parameter) (s : WeightedClasses.StripData Associated) |
| 80 | (h : ℝ) (gap : ℕ → ℕ) (n i : ℕ) |
| 81 | (H : PhysicalResidualNaturality.BandCoherence D h (ChartScales.Q_pos n) |
| 82 | (ChartScales.Q_pos D.reference.band) i (gap n) n) |
| 83 | (hn : PhysicalResidualNaturality.PositiveSupport D.carrierBlock D.gaussianInput D.aliasInput n) |
| 84 | (hr : PhysicalResidualNaturality.PositiveSupport D.carrierBlock D.gaussianInput D.aliasInput D.reference.band) |
| 85 | |
| 86 | end Band |
| 87 | |
| 88 | /-! ## The literal finite harmonic block -/ |
| 89 | |
| 90 | section Assembly |
| 91 | |
| 92 | variable (D : AssemblyData Parameter) (s : WeightedClasses.StripData Associated) |
| 93 | (h : ℝ) (gap : ℕ → ℕ) |
| 94 | |
| 95 | open CopyAngularInvariance |
| 96 | |
| 97 | variable (n i : ℕ) |
| 98 | (H : PhysicalResidualNaturality.BandCoherence D h (ChartScales.Q_pos n) |
| 99 | (ChartScales.Q_pos D.reference.band) i (gap n) n) |
| 100 | (hn : PhysicalResidualNaturality.PositiveSupport D.carrierBlock D.gaussianInput D.aliasInput n) |
| 101 | (hr : PhysicalResidualNaturality.PositiveSupport D.carrierBlock D.gaussianInput D.aliasInput D.reference.band) |
| 102 | |
| 103 | end Assembly |
| 104 | |
| 105 | /-! ## Primitive frame matching -/ |
| 106 | |
| 107 | /-! ## One fixed Cartesian reference label -/ |
| 108 | |
| 109 | section Physical |
| 110 | |
| 111 | open ProblemStatement PhysicalParticularWave |
| 112 | |
| 113 | variable (D : AssemblyData Parameter) (s : WeightedClasses.StripData Associated) |
| 114 | (h : ℝ) (gap : ℕ → ℕ) (n i : ℕ) |
| 115 | (H : PhysicalResidualNaturality.BandCoherence D h (ChartScales.Q_pos n) |
| 116 | (ChartScales.Q_pos D.reference.band) i (gap n) n) |
| 117 | (hn : PhysicalResidualNaturality.PositiveSupport D.carrierBlock D.gaussianInput D.aliasInput n) |
| 118 | (hr : PhysicalResidualNaturality.PositiveSupport D.carrierBlock D.gaussianInput D.aliasInput D.reference.band) |
| 119 | (T : TargetChart D s h n i) |
| 120 | {N : ℕ} {α κ : ℝ} (C : D.controls N α κ) |
| 121 | (hstrip : D.strip = CorrectionStep.ParticularParameters.nativeStrip s) |
| 122 | |
| 123 | end Physical |
| 124 | |
| 125 | /-! ## The cycle's actual coordinate layout -/ |
| 126 | |
| 127 | section CyclePhysical |
| 128 | |
| 129 | open ProblemStatement PhysicalParticularWave CyclePhysicalPrefixes |
| 130 | |
| 131 | variable (D : AssemblyData Parameter) (s : WeightedClasses.StripData Associated) |
| 132 | (h : ℝ) (gap : ℕ → ℕ) (n i : ℕ) |
| 133 | (H : PhysicalResidualNaturality.BandCoherence D h (ChartScales.Q_pos n) |
| 134 | (ChartScales.Q_pos D.reference.band) i (gap n) n) |
| 135 | (hn : PhysicalResidualNaturality.PositiveSupport D.carrierBlock D.gaussianInput D.aliasInput n) |
| 136 | (hr : PhysicalResidualNaturality.PositiveSupport D.carrierBlock D.gaussianInput D.aliasInput D.reference.band) |
| 137 | (T : TargetChart D s h n i) |
| 138 | {N : ℕ} {α κ : ℝ} (C : D.controls N α κ) |
| 139 | (hstrip : D.strip = CorrectionStep.ParticularParameters.nativeStrip s) |
| 140 | {I : ℕ} (hcover : i + gap n = I) |
| 141 | (Href : ReferenceChart D h (ChartScales.Q D.reference.band) I) |
| 142 | {U : Set Parameter} (hU : IsOpen U) (R : ∀ j ∈ modes N, ReferenceODE D j U) |
| 143 | {delta : ℝ} (hdelta : 0 < delta) (chart : PolarCharts.Index) |
| 144 | |
| 145 | end CyclePhysical |
| 146 | |
| 147 | /-! ## Binding to the current cycle inputs -/ |
| 148 | |
| 149 | /-- These are equalities of the current input fields and primitive solver |
| 150 | data. There is no equality of a solved field in the interface. -/ |
| 151 | structure CurrentInputs {ι : Type} (D : AssemblyData Parameter) |
| 152 | (p : CorrectionStep.CycleParameters ι) (v : CorrectionStep.CycleCoefficients ι) |
| 153 | (c : Context CorrectionStep.CyclePoint) (u : State CorrectionStep.CyclePoint) |
| 154 | (l : ι) (h : ℝ) (gap : ℕ → ℕ) : Prop where |
| 155 | context : D.context = StateReindex.context CorrectionStep.cycleAssoc.symm c |
| 156 | state : D.state = StateReindex.state CorrectionStep.cycleAssoc.symm u |
| 157 | carrier : D.carrierBlock = StateReindex.block CorrectionStep.cycleAssoc.symm (v.blocks l) |
| 158 | gaussian : D.gaussianInput = StateReindex.blockCoefficients CorrectionStep.cycleAssoc.symm (v.gaussian l) |
| 159 | aliasError : D.aliasInput = StateReindex.blockCoefficients CorrectionStep.cycleAssoc.symm (v.aliasCoefficients l) |
| 160 | parameters : p.particular l = CorrectionStep.ParticularParameters.fromReference D h gap |
| 161 | |
| 162 | /-! ## Full-variable transport of the curl correction -/ |
| 163 | |
| 164 | section FullVariable |
| 165 | |
| 166 | variable {E F : Type} [NormedAddCommGroup E] [NormedSpace ℝ E] |
| 167 | [NormedAddCommGroup F] [NormedSpace ℝ F] |
| 168 | |
| 169 | /-- Primitive spatial scaling on an open set. Angular differentiation has |
| 170 | unit scale and the two spatial directions have scale `l`. -/ |
| 171 | structure SpatialScaling (Γ : E → F) (r : E → ℝ) (R : F → ℝ) |
| 172 | (Sr Sθ Sz : E → E) (Vr Vθ Vz : F → F) (l : ℝ) (U : Set E) : Prop where |
| 173 | isOpen : IsOpen U |
| 174 | scale_ne : l ≠ 0 |
| 175 | radius_ne : ∀ x ∈ U, r x ≠ 0 |
| 176 | differentiable : ∀ x ∈ U, DifferentiableAt ℝ Γ x |
| 177 | radial : ∀ x ∈ U, fderiv ℝ Γ x (Sr x) = l • Vr (Γ x) |
| 178 | angular : ∀ x ∈ U, fderiv ℝ Γ x (Sθ x) = Vθ (Γ x) |
| 179 | axial : ∀ x ∈ U, fderiv ℝ Γ x (Sz x) = l • Vz (Γ x) |
| 180 | radius : ∀ x ∈ U, R (Γ x) = l * r x |
| 181 | |
| 182 | variable {Γ : E → F} {r : E → ℝ} {R : F → ℝ} |
| 183 | {Sr Sθ Sz : E → E} {Vr Vθ Vz : F → F} {l : ℝ} {U : Set E} |
| 184 | (G : SpatialScaling Γ r R Sr Sθ Sz Vr Vθ Vz l U) |
| 185 | {Φ : F → ℝ} {a : F → ComplexVector} {K L b : ℝ} (c : ℝ) |
| 186 | (hK : K ≠ 0) (hb : b ≠ 0) (hKL : K * b = L) |
| 187 | (hΦ : ∀ y ∈ U, DifferentiableAt ℝ Φ (Γ y)) |
| 188 | {x : E} (hx : x ∈ U) |
| 189 | (hB : ∀ k, DifferentiableAt ℝ (fun y => coefficient R Vr Vθ Vz Φ a y k) (Γ x)) |
| 190 | |
| 191 | include G hK hb hKL hΦ hx hB |
| 192 | |
| 193 | end FullVariable |
| 194 | |
| 195 | namespace SpatialScaling |
| 196 | |
| 197 | open PhysicalParticularWave |
| 198 | |
| 199 | end SpatialScaling |
| 200 | |
| 201 | section LiftedReference |
| 202 | |
| 203 | open ProblemStatement PhysicalParticularWave |
| 204 | |
| 205 | variable (D : AssemblyData Parameter) {h Qr : ℝ} {I : ℕ} |
| 206 | (H : ReferenceChart D h Qr I) {j : ℤ} {α κ : ℝ} |
| 207 | (C : LocalControl D.reference D.charts D.context D.state D.carrierBlock |
| 208 | D.gaussianInput D.aliasInput j D.background D.copy D.strip D.directions α κ) |
| 209 | |
| 210 | end LiftedReference |
| 211 | |
| 212 | section FullBand |
| 213 | |
| 214 | open ProblemStatement PhysicalParticularWave |
| 215 | |
| 216 | variable (D : AssemblyData Parameter) {h Q Qr : ℝ} (hQ : 0 < Q) (hQr : 0 < Qr) |
| 217 | (i gap : ℕ) (H : ReferenceChart D h Qr (i + gap)) {j : ℤ} {α κ : ℝ} |
| 218 | (C : LocalControl D.reference D.charts D.context D.state D.carrierBlock |
| 219 | D.gaussianInput D.aliasInput j D.background D.copy D.strip D.directions α κ) |
| 220 | {K : ℝ} (hK : K ≠ 0) {U : Set Parameter} (hU : IsOpen U) (R : ReferenceODE D j U) |
| 221 | |
| 222 | end FullBand |
| 223 | |
| 224 | section ActualReferenceFields |
| 225 | |
| 226 | open ProblemStatement PhysicalParticularWave |
| 227 | |
| 228 | variable (D : AssemblyData Parameter) (s : WeightedClasses.StripData Associated) |
| 229 | (h : ℝ) (gap : ℕ → ℕ) (n i : ℕ) |
| 230 | (H : PhysicalResidualNaturality.BandCoherence D h (ChartScales.Q_pos n) |
| 231 | (ChartScales.Q_pos D.reference.band) i (gap n) n) |
| 232 | (hn : PhysicalResidualNaturality.PositiveSupport D.carrierBlock D.gaussianInput D.aliasInput n) |
| 233 | (hr : PhysicalResidualNaturality.PositiveSupport D.carrierBlock D.gaussianInput D.aliasInput D.reference.band) |
| 234 | (T : TargetChart D s h n i) |
| 235 | (Href : ReferenceChart D h (ChartScales.Q D.reference.band) (i + gap n)) |
| 236 | {U : Set Parameter} (hU : IsOpen U) |
| 237 | |
| 238 | end ActualReferenceFields |
| 239 | |
| 240 | /-! ## Direct consumers for the current correction step -/ |
| 241 | |
| 242 | section CurrentCycle |
| 243 | |
| 244 | open ProblemStatement PhysicalParticularWave CyclePhysicalPrefixes |
| 245 | |
| 246 | variable {ι : Type} {D : AssemblyData Parameter} |
| 247 | {p : CorrectionStep.CycleParameters ι} {v : CorrectionStep.CycleCoefficients ι} |
| 248 | {c : Context CorrectionStep.CyclePoint} {u : State CorrectionStep.CyclePoint} |
| 249 | {label : ι} {h : ℝ} {gap : ℕ → ℕ} (J : CurrentInputs D p v c u label h gap) |
| 250 | (n i : ℕ) |
| 251 | (H : PhysicalResidualNaturality.BandCoherence D h (ChartScales.Q_pos n) |
| 252 | (ChartScales.Q_pos D.reference.band) i (gap n) n) |
| 253 | (hn : PhysicalResidualNaturality.PositiveSupport D.carrierBlock D.gaussianInput D.aliasInput n) |
| 254 | (hr : PhysicalResidualNaturality.PositiveSupport D.carrierBlock D.gaussianInput D.aliasInput D.reference.band) |
| 255 | {α κ : ℝ} (C : D.controls v.residualBand α κ) |
| 256 | |
| 257 | end CurrentCycle |
| 258 | |
| 259 | section LocalIdentity |
| 260 | |
| 261 | open ProblemStatement PhysicalParticularWave CyclePhysicalPrefixes |
| 262 | |
| 263 | variable (D : AssemblyData Parameter) (s : WeightedClasses.StripData Associated) |
| 264 | (h : ℝ) (gap : ℕ → ℕ) (n i : ℕ) |
| 265 | (H : PhysicalResidualNaturality.BandCoherence D h (ChartScales.Q_pos n) |
| 266 | (ChartScales.Q_pos D.reference.band) i (gap n) n) |
| 267 | (hn : PhysicalResidualNaturality.PositiveSupport D.carrierBlock D.gaussianInput D.aliasInput n) |
| 268 | (hr : PhysicalResidualNaturality.PositiveSupport D.carrierBlock D.gaussianInput D.aliasInput D.reference.band) |
| 269 | (T : TargetChart D s h n i) |
| 270 | {N : ℕ} {α κ : ℝ} (C : D.controls N α κ) |
| 271 | (hstrip : D.strip = CorrectionStep.ParticularParameters.nativeStrip s) |
| 272 | {I : ℕ} (hcover : i + gap n = I) |
| 273 | (Href : ReferenceChart D h (ChartScales.Q D.reference.band) I) |
| 274 | {U : Set Parameter} (hU : IsOpen U) (R : ∀ j ∈ modes N, ReferenceODE D j U) |
| 275 | {delta : ℝ} (hdelta : 0 < delta) (chart : PolarCharts.Index) |
| 276 | |
| 277 | end LocalIdentity |
| 278 | |
| 279 | end NavierStokes.ActualParticularRealization |