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.StateReindex |
| 2 | import NavierStokes.HarmonicWaveInteraction |
| 3 | |
| 4 | /-! |
| 5 | # Actual harmonic divergence under a change of product association |
| 6 | |
| 7 | The same complex single-mode field is pulled back along the cylinder |
| 8 | isometry. Its genuine cylindrical divergence is preserved, including the |
| 9 | transported radial and axial directions. No new divergence premise is |
| 10 | needed for the associated particular-solver coordinates. |
| 11 | -/ |
| 12 | |
| 13 | noncomputable section |
| 14 | |
| 15 | namespace NavierStokes.ModeSolenoidalReindex |
| 16 | |
| 17 | open HarmonicCalculus WeightedClasses |
| 18 | |
| 19 | variable {D E : Type} [NormedAddCommGroup D] [NormedSpace ℝ D] |
| 20 | [NormedAddCommGroup E] [NormedSpace ℝ E] |
| 21 | |
| 22 | theorem amplitude_pull (e : D ≃ₗᵢ[ℝ] E) (b : CorrectionState.HarmonicBlock E) |
| 23 | (j : ℤ) (n : ℕ) : |
| 24 | HarmonicWaveInteraction.amplitude (StateReindex.block e b) j n = |
| 25 | fun x => HarmonicWaveInteraction.amplitude b j n (e x) := by |
| 26 | funext x i |
| 27 | simp only [HarmonicWaveInteraction.amplitude, HarmonicMeanInteraction.blockAmplitude, |
| 28 | StateReindex.block, StateReindex.realCoefficients_pull, StateReindex.coefficients_apply] |
| 29 | |
| 30 | theorem singleMode_pull (e : D ≃ₗᵢ[ℝ] E) (b : CorrectionState.HarmonicBlock E) |
| 31 | (j : ℤ) (n : ℕ) : |
| 32 | HarmonicWaveInteraction.singleMode (StateReindex.block e b) j n = |
| 33 | fun x => HarmonicWaveInteraction.singleMode b j n (StateReindex.cylinder e x) := by |
| 34 | funext x i |
| 35 | simp only [HarmonicWaveInteraction.singleMode, HarmonicResidual.vectorField, |
| 36 | HarmonicFields.field, HarmonicFields.evaluate_single, |
| 37 | HarmonicWaveInteraction.amplitude, HarmonicMeanInteraction.blockAmplitude, |
| 38 | StateReindex.block, StateReindex.realCoefficients_pull, |
| 39 | StateReindex.coefficients_apply, StateReindex.cylinder_apply] |
| 40 | |
| 41 | theorem liftDirection_pull (e : D ≃ₗᵢ[ℝ] E) (V : E → E) : |
| 42 | HarmonicResidual.liftDirection (StateReindex.vector e V) = |
| 43 | StateReindex.vector (StateReindex.cylinder e) (HarmonicResidual.liftDirection V) := by |
| 44 | funext x |
| 45 | simp only [HarmonicResidual.liftDirection, StateReindex.vector, |
| 46 | ParticularWaveBounds.reindexVector, StateReindex.cylinder_apply, |
| 47 | StateReindex.cylinder_symm_apply] |
| 48 | |
| 49 | theorem angularDirection_pull (e : D ≃ₗᵢ[ℝ] E) : |
| 50 | StateReindex.vector (StateReindex.cylinder e) |
| 51 | (HarmonicResidual.angularDirection (D := E)) = HarmonicResidual.angularDirection := by |
| 52 | funext x |
| 53 | change (e.symm 0, (1 : ℝ)) = (0, 1) |
| 54 | rw [map_zero] |
| 55 | |
| 56 | theorem cylindricalDivergence_pull (e : D ≃ₗᵢ[ℝ] E) (R : E → ℝ) |
| 57 | (Vr Vθ Vz : E → E) (a : E → ComplexVector) (x : D) : |
| 58 | cylindricalDivergence (fun y => R (e y)) (StateReindex.vector e Vr) |
| 59 | (StateReindex.vector e Vθ) (StateReindex.vector e Vz) (fun y => a (e y)) x = |
| 60 | cylindricalDivergence R Vr Vθ Vz a (e x) := by |
| 61 | simp only [cylindricalDivergence, StateReindex.along_pull_component] |
| 62 | |
| 63 | theorem singleMode_divergence_pull (e : D ≃ₗᵢ[ℝ] E) |
| 64 | (c : CorrectionState.Context E) (b : CorrectionState.HarmonicBlock E) |
| 65 | (j : ℤ) (n : ℕ) (p : D × ℝ) : |
| 66 | cylindricalDivergence (fun q => (StateReindex.context e c).operators.radius q.1) |
| 67 | (HarmonicResidual.liftDirection |
| 68 | (HarmonicResidual.contextFrame (StateReindex.context e c) n).radial) |
| 69 | HarmonicResidual.angularDirection |
| 70 | (HarmonicResidual.liftDirection |
| 71 | (HarmonicResidual.contextFrame (StateReindex.context e c) n).axial) |
| 72 | (HarmonicWaveInteraction.singleMode (StateReindex.block e b) j n) p = |
| 73 | cylindricalDivergence (fun q => c.operators.radius q.1) |
| 74 | (HarmonicResidual.liftDirection (HarmonicResidual.contextFrame c n).radial) |
| 75 | HarmonicResidual.angularDirection |
| 76 | (HarmonicResidual.liftDirection (HarmonicResidual.contextFrame c n).axial) |
| 77 | (HarmonicWaveInteraction.singleMode b j n) (StateReindex.cylinder e p) := by |
| 78 | rw [StateReindex.contextFrame_pull, singleMode_pull] |
| 79 | change cylindricalDivergence (fun q => c.operators.radius (e q.1)) |
| 80 | (HarmonicResidual.liftDirection (StateReindex.vector e (HarmonicResidual.contextFrame c n).radial)) |
| 81 | HarmonicResidual.angularDirection |
| 82 | (HarmonicResidual.liftDirection (StateReindex.vector e (HarmonicResidual.contextFrame c n).axial)) |
| 83 | (fun q => HarmonicWaveInteraction.singleMode b j n (StateReindex.cylinder e q)) p = _ |
| 84 | rw [liftDirection_pull, liftDirection_pull, ← angularDirection_pull e] |
| 85 | exact cylindricalDivergence_pull (StateReindex.cylinder e) |
| 86 | (fun q : E × ℝ => c.operators.radius q.1) |
| 87 | (HarmonicResidual.liftDirection (HarmonicResidual.contextFrame c n).radial) |
| 88 | HarmonicResidual.angularDirection |
| 89 | (HarmonicResidual.liftDirection (HarmonicResidual.contextFrame c n).axial) |
| 90 | (HarmonicWaveInteraction.singleMode b j n) p |
| 91 | |
| 92 | theorem modeSolenoidal_pull (e : D ≃ₗᵢ[ℝ] E) {s : StripData E} |
| 93 | {c : CorrectionState.Context E} {b : CorrectionState.HarmonicBlock E} |
| 94 | (hb : HarmonicWaveInteraction.ModeSolenoidal s c b) : |
| 95 | HarmonicWaveInteraction.ModeSolenoidal (ParticularWaveBounds.reindexStrip e s) |
| 96 | (StateReindex.context e c) (StateReindex.block e b) := by |
| 97 | intro j hj n p hp |
| 98 | rw [singleMode_divergence_pull] |
| 99 | exact hb j hj n (StateReindex.cylinder e p) hp |
| 100 | |
| 101 | end NavierStokes.ModeSolenoidalReindex |