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 | /- |
| 2 | Copyright 2026 The Formal Conjectures Authors. |
| 3 | |
| 4 | This file has been modified from its original form in the Formal Conjectures |
| 5 | project. |
| 6 | |
| 7 | Licensed under the Apache License, Version 2.0 (the "License"); |
| 8 | you may not use this file except in compliance with the License. |
| 9 | You may obtain a copy of the License at |
| 10 | |
| 11 | https://www.apache.org/licenses/LICENSE-2.0 |
| 12 | |
| 13 | Unless required by applicable law or agreed to in writing, software |
| 14 | distributed under the License is distributed on an "AS IS" BASIS, |
| 15 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 16 | See the License for the specific language governing permissions and |
| 17 | limitations under the License. |
| 18 | -/ |
| 19 | |
| 20 | import Mathlib |
| 21 | |
| 22 | /-! |
| 23 | # Comparator challenge: unforced Euler breakdown on ℝ³ |
| 24 | |
| 25 | Adapted from `FormalConjectures/Millenium/NavierStokes.lean` at |
| 26 | https://github.com/google-deepmind/formal-conjectures/blob/main/FormalConjectures/Millenium/NavierStokes.lean |
| 27 | |
| 28 | This is the whole-space breakdown alternative specialized to zero viscosity |
| 29 | and zero external force. It retains the source's initial-data decay, joint |
| 30 | smoothness, square integrability, and uniform energy conditions. Velocity and |
| 31 | pressure take position before time. The time derivative at zero is taken |
| 32 | within `[0,∞)`. |
| 33 | |
| 34 | All problem-specific definitions are included here. The reference imports only |
| 35 | Mathlib, independently of the Euler proof development. The theorem proofs are |
| 36 | intentional Comparator challenge placeholders. |
| 37 | -/ |
| 38 | |
| 39 | |
| 40 | -- Inline the only needed notation from FormalConjecturesForMathlib.Geometry.3d. |
| 41 | local notation "ℝ³" => EuclideanSpace ℝ (Fin 3) |
| 42 | |
| 43 | open ContDiff Set InnerProductSpace MeasureTheory |
| 44 | |
| 45 | namespace Euler |
| 46 | |
| 47 | /-- The divergence of a vector field, computed as the trace of its derivative. -/ |
| 48 | noncomputable def divergence (v : ℝ³ → ℝ³) (x : ℝ³) : ℝ := |
| 49 | (fderiv ℝ v x).trace ℝ ℝ³ |
| 50 | |
| 51 | local notation "∇⬝" => divergence |
| 52 | |
| 53 | /-- Smooth, divergence-free initial velocity. -/ |
| 54 | structure InitialVelocityCondition (u₀ : ℝ³ → ℝ³) : Prop where |
| 55 | div_free : ∀ x, ∇⬝ u₀ x = 0 |
| 56 | smooth : ContDiff ℝ ∞ u₀ |
| 57 | |
| 58 | /-- Every spatial derivative of the initial velocity decays faster than any polynomial. -/ |
| 59 | structure InitialVelocityConditionDecay (u₀ : ℝ³ → ℝ³) : Prop extends |
| 60 | InitialVelocityCondition u₀ where |
| 61 | decay : ∀ m : ℕ, ∀ K : ℝ, ∃ C : ℝ, ∀ x, |
| 62 | ‖iteratedFDeriv ℝ m u₀ x‖ ≤ C / (1 + ‖x‖) ^ K |
| 63 | |
| 64 | /-- A global smooth solution of unforced incompressible Euler on ℝ³. -/ |
| 65 | structure EulerExistenceAndSmoothness |
| 66 | (u₀ : ℝ³ → ℝ³) (v : ℝ³ → ℝ → ℝ³) (p : ℝ³ → ℝ → ℝ) : Prop where |
| 67 | /-- `∂ₜv + (v · ∇)v = -∇p`: viscosity and external force are both zero. -/ |
| 68 | euler : ∀ x, ∀ t ≥ 0, |
| 69 | derivWithin (v x ·) (Set.Ici 0) t + fderiv ℝ (v · t) x (v x t) = |
| 70 | -gradient (p · t) x |
| 71 | div_free : ∀ x, ∀ t ≥ 0, ∇⬝ (v · t) x = 0 |
| 72 | initial_condition : ∀ x, v x 0 = u₀ x |
| 73 | velocity_smooth : ContDiffOn ℝ ∞ (Function.uncurry v) (Set.univ ×ˢ Set.Ici 0) |
| 74 | pressure_smooth : ContDiffOn ℝ ∞ (Function.uncurry p) (Set.univ ×ˢ Set.Ici 0) |
| 75 | |
| 76 | /-- The whole-space solution class, retaining the source's finite, uniformly bounded energy. -/ |
| 77 | structure EulerExistenceAndSmoothnessR3 |
| 78 | (u₀ : ℝ³ → ℝ³) (v : ℝ³ → ℝ → ℝ³) (p : ℝ³ → ℝ → ℝ) : Prop |
| 79 | extends EulerExistenceAndSmoothness u₀ v p where |
| 80 | integrable : ∀ t ≥ 0, MemLp (‖v · t‖) 2 |
| 81 | globally_bounded_energy : ∃ E : ℝ, ∀ t ≥ 0, (∫ x : ℝ³, ‖v x t‖ ^ 2) < E |
| 82 | |
| 83 | /-- Some admissible initial velocity has no global smooth unforced Euler solution |
| 84 | in the whole-space energy class above. This is the theorem to supply to Comparator. -/ |
| 85 | theorem euler_breakdown_R3 : |
| 86 | ∃ u₀ : ℝ³ → ℝ³, InitialVelocityConditionDecay u₀ ∧ |
| 87 | ¬ (∃ v p, EulerExistenceAndSmoothnessR3 u₀ v p) := by |
| 88 | sorry |
| 89 | |
| 90 | /-! |
| 91 | ## Finite lifespan and quantitative singularity |
| 92 | |
| 93 | The following version of `EulerPacketInduction.exists_compact_smooth_euler_singularity` |
| 94 | uses ordinary velocity and pressure functions, with position before time as above. |
| 95 | Its finite-interval solution class matches the original theorem: the velocity and |
| 96 | its strong time derivative have continuous L² spatial jets of every order. |
| 97 | Pressure is spatially differentiable at interior times; no time regularity or |
| 98 | normalization is imposed on it. |
| 99 | |
| 100 | This is a separate solution class from the global challenge. Maximality below is |
| 101 | asserted in this all-order Sobolev class. The last clause independently retains |
| 102 | nonexistence in the broader global class `EulerExistenceAndSmoothnessR3`. |
| 103 | |
| 104 | The spatial suprema take values in `ℝ≥0∞`, so an unbounded field has norm `⊤`. |
| 105 | The theorem separately requires bounded C¹ norms and a finite vorticity integral |
| 106 | on every shorter closed time interval, locating the singularity at the endpoint. |
| 107 | -/ |
| 108 | |
| 109 | open scoped ENNReal Topology |
| 110 | |
| 111 | /-- The L² equivalence class of a square-integrable function. The fallback makes |
| 112 | this a total function; the solution conditions require square integrability |
| 113 | wherever it is used. -/ |
| 114 | noncomputable def toL2 {V : Type*} [NormedAddCommGroup V] (f : ℝ³ → V) : |
| 115 | Lp V 2 (volume : Measure ℝ³) := by |
| 116 | classical |
| 117 | exact if h : MemLp f 2 volume then h.toLp f else 0 |
| 118 | |
| 119 | /-- A spatially smooth path whose actual spatial derivative tensors belong to L² |
| 120 | and depend continuously on time in L², at every finite order. -/ |
| 121 | structure SobolevSmoothOn (I : Set ℝ) (v : ℝ³ → ℝ → ℝ³) : Prop where |
| 122 | spatial_smooth : ∀ t ∈ I, ContDiff ℝ ∞ (v · t) |
| 123 | integrable : ∀ t ∈ I, MemLp (v · t) 2 |
| 124 | jets_integrable : ∀ m : ℕ, ∀ t ∈ I, MemLp (iteratedFDeriv ℝ m (v · t)) 2 |
| 125 | continuous : ContinuousOn (fun t => toL2 (v · t)) I |
| 126 | jets_continuous : ∀ m : ℕ, |
| 127 | ContinuousOn (fun t => toL2 (iteratedFDeriv ℝ m (v · t))) I |
| 128 | |
| 129 | /-- Scalar-pressure Euler on a time set `I` in the original theorem's smooth |
| 130 | Sobolev class. The velocity and its strong time derivative have continuous L² |
| 131 | spatial jets of every order. The Euler equation uses this derivative witness. |
| 132 | |
| 133 | As in `IsSmoothScalarEuler`, the time law and scalar-pressure equation are |
| 134 | required at interior times. There is no endpoint derivative condition. We use |
| 135 | `Ico 0 T` for a maximal lifespan and `Icc 0 T` for a closed interval. -/ |
| 136 | structure EulerSobolevExistenceAndSmoothnessR3On (I : Set ℝ) |
| 137 | (u₀ : ℝ³ → ℝ³) (v : ℝ³ → ℝ → ℝ³) (p : ℝ³ → ℝ → ℝ) : Prop where |
| 138 | div_free : ∀ x, ∀ t ∈ I, ∇⬝ (v · t) x = 0 |
| 139 | initial_condition : ∀ x, v x 0 = u₀ x |
| 140 | velocity_smooth : SobolevSmoothOn I v |
| 141 | pressure_differentiable : ∀ t ∈ interior I, Differentiable ℝ (p · t) |
| 142 | euler : ∃ w : ℝ³ → ℝ → ℝ³, |
| 143 | SobolevSmoothOn I w ∧ |
| 144 | (∀ t ∈ interior I, |
| 145 | HasDerivAt (fun s => toL2 (v · s)) (toL2 (w · t)) t) ∧ |
| 146 | (∀ x, ∀ t ∈ interior I, |
| 147 | w x t + fderiv ℝ (v · t) x (v x t) = -gradient (p · t) x) |
| 148 | |
| 149 | /-- The ordinary curl of a velocity field, expressed through its spatial derivative. |
| 150 | Indices in `Fin 3` are cyclic. -/ |
| 151 | noncomputable def vorticity (v : ℝ³ → ℝ³) (x : ℝ³) : ℝ³ := |
| 152 | WithLp.toLp 2 (fun i : Fin 3 => |
| 153 | (fderiv ℝ v x (EuclideanSpace.single (i + 1) 1)) (i + 2) - |
| 154 | (fderiv ℝ v x (EuclideanSpace.single (i + 2) 1)) (i + 1)) |
| 155 | |
| 156 | /-- The sum of the spatial suprema of the velocity norm and derivative operator norm. -/ |
| 157 | noncomputable def velocityC1Norm (v : ℝ³ → ℝ³) : ℝ≥0∞ := |
| 158 | (⨆ x, ENNReal.ofReal ‖v x‖) + (⨆ x, ENNReal.ofReal ‖fderiv ℝ v x‖) |
| 159 | |
| 160 | /-- The spatial supremum of the Euclidean norm of the actual vorticity. -/ |
| 161 | noncomputable def vorticityNorm (v : ℝ³ → ℝ³) : ℝ≥0∞ := |
| 162 | ⨆ x, ENNReal.ofReal ‖vorticity v x‖ |
| 163 | |
| 164 | /-- Nonzero, compactly supported, rapidly decaying initial data have one smooth |
| 165 | finite-energy Euler solution on a positive finite maximal lifespan `[0,T*)`. |
| 166 | Closed-interval solutions in the all-order Sobolev class exist exactly below `T*`. |
| 167 | The chosen solution has locally bounded C¹ norm and locally finite vorticity |
| 168 | integral, but its C¹ upper limit and full vorticity integral are infinite at `T*`. |
| 169 | The same datum also satisfies the global breakdown conclusion above. -/ |
| 170 | theorem exists_compact_smooth_euler_singularity : |
| 171 | ∃ (u₀ : ℝ³ → ℝ³) (Tstar : ℝ) (v : ℝ³ → ℝ → ℝ³) (p : ℝ³ → ℝ → ℝ), |
| 172 | InitialVelocityConditionDecay u₀ ∧ HasCompactSupport u₀ ∧ u₀ ≠ 0 ∧ |
| 173 | 0 < Tstar ∧ Tstar ≤ 1 ∧ |
| 174 | EulerSobolevExistenceAndSmoothnessR3On (Ico 0 Tstar) u₀ v p ∧ |
| 175 | (∃ E : ℝ, ∀ t ∈ Ico (0 : ℝ) Tstar, (∫ x : ℝ³, ‖v x t‖ ^ 2) < E) ∧ |
| 176 | (∀ T : ℝ, 0 < T → |
| 177 | ((∃ w q, EulerSobolevExistenceAndSmoothnessR3On (Icc 0 T) u₀ w q) ↔ T < Tstar)) ∧ |
| 178 | (∀ T ∈ Ioo 0 Tstar, |
| 179 | (⨆ t ∈ Icc (0 : ℝ) T, velocityC1Norm (v · t)) < ⊤ ∧ |
| 180 | (∫⁻ t in Ico (0 : ℝ) T, vorticityNorm (v · t)) < ⊤) ∧ |
| 181 | Filter.limsup (fun t : ℝ => velocityC1Norm (v · t)) (𝓝[<] Tstar) = ⊤ ∧ |
| 182 | (∫⁻ t in Ico (0 : ℝ) Tstar, vorticityNorm (v · t)) = ⊤ ∧ |
| 183 | ¬ (∃ w q, EulerExistenceAndSmoothnessR3 u₀ w q) := by |
| 184 | sorry |
| 185 | |
| 186 | end Euler |