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 Euler.GevreyCorrectionForcing |
| 2 | import Euler.SobolevNonlinearCompatibility |
| 3 | |
| 4 | /-! Exact spatial differentiation of the actual nonlinear correction equation. -/ |
| 5 | |
| 6 | noncomputable section |
| 7 | |
| 8 | namespace EulerGevreyDifferentiatedEquation |
| 9 | |
| 10 | open EulerLiftedGradientSpace EulerCylinderSobolevSpace EulerCylinderSobolev |
| 11 | EulerSpatialSobolevInverse EulerH6Pressure EulerBaseWordMetric EulerGevreyMetricComparison |
| 12 | EulerSobolevWordLevel EulerSobolevTransport EulerSobolevTransportCommutator |
| 13 | EulerSobolevBaseCommutator EulerTransportL2Bilinear EulerGevreyBaseTransport |
| 14 | EulerGevreyForcingComponents EulerGevreyCorrectionForcing EulerSobolevCoefficientPressure |
| 15 | |
| 16 | variable (period : ℝ) [Fact (0 < period)] |
| 17 | |
| 18 | local instance diffEqGroup (q : ℕ) : NormedAddCommGroup (SobolevSpace period q) := inferInstance |
| 19 | local instance diffEqSpace (q : ℕ) : NormedSpace ℝ (SobolevSpace period q) := inferInstance |
| 20 | |
| 21 | /-- The actual continuous linear map taking one external and one base derivative word. -/ |
| 22 | def energyWordOperator {s : ℕ} (q N : ℕ) (hN : N+q ≤ s) (I : ExternalWord N) (a : BaseWord q) : |
| 23 | SobolevSpace period s →L[ℝ] LiftL2 period := |
| 24 | ((valueOperator period 0).comp |
| 25 | (wordAtLevel period (s := q) 0 a.1.val a.2 (by have := a.1.isLt; omega))).comp |
| 26 | (wordAtLevel period (s := s) q I.1.val I.2 (by have := I.1.isLt; omega)) |
| 27 | |
| 28 | /-- This continuous operator is exactly the genuine jet word in the metric energy. -/ |
| 29 | theorem energyWordOperator_apply {s : ℕ} (q N : ℕ) (hN : N+q ≤ s) (I : ExternalWord N) (a : BaseWord q) |
| 30 | (u : SobolevSpace period s) : |
| 31 | energyWordOperator period q N hN I a u = energyValues period q N hN u I a := by |
| 32 | change value period (wordAtLevel period 0 a.1.val a.2 (by have := a.1.isLt; omega) |
| 33 | (wordAtLevel period q I.1.val I.2 (by have := I.1.isLt; omega) u)) = _ |
| 34 | rw [wordAtLevel_value] |
| 35 | exact EulerPressureJetIdentities.SpatialJet.word_unique |
| 36 | (toJet period (wordAtLevel period q I.1.val I.2 (by have := I.1.isLt; omega) u)) |
| 37 | (EulerH6Pressure.SpatialJet.derivativeJet (q := q) (toJet period u) I.2 (by have := I.1.isLt; omega)) |
| 38 | (wordAtLevel_value period q I.1.val I.2 (by have := I.1.isLt; omega) u) |
| 39 | (by have := a.1.isLt; omega) (by have := a.1.isLt; omega) a.2 |
| 40 | |
| 41 | /-- Genuine energy words are linear in the differentiated field. -/ |
| 42 | theorem energyValues_add {s : ℕ} (q N : ℕ) (hN : N+q ≤ s) (u v : SobolevSpace period s) : |
| 43 | energyValues period q N hN (u+v) = energyValues period q N hN u + energyValues period q N hN v := by |
| 44 | funext I a |
| 45 | simp only [← energyWordOperator_apply, map_add, Pi.add_apply] |
| 46 | |
| 47 | /-- Genuine energy words commute with subtraction. -/ |
| 48 | theorem energyValues_sub {s : ℕ} (q N : ℕ) (hN : N+q ≤ s) (u v : SobolevSpace period s) : |
| 49 | energyValues period q N hN (u-v) = energyValues period q N hN u - energyValues period q N hN v := by |
| 50 | funext I a |
| 51 | simp only [← energyWordOperator_apply, map_sub, Pi.sub_apply] |
| 52 | |
| 53 | /-- The literal undifferentiated transport acting on the final external/base derivative. -/ |
| 54 | def topTransport {s : ℕ} (N : ℕ) (hN : N+6 ≤ s) |
| 55 | (L : Fin 4 → Vector3 →L[ℝ] ℝ) (u v : SobolevSpace period (s+1)) : |
| 56 | ExternalWord N → BaseWord 6 → LiftL2 period := fun I a => |
| 57 | transportL2Bilinear period (by norm_num : 3 ≤ 7) L |
| 58 | (restrictOperator period (by omega : 7 ≤ s+1) u) |
| 59 | (wordAtLevel period 1 a.1.val a.2 (by have := a.1.isLt; omega) |
| 60 | (wordAtLevel period 7 I.1.val I.2 (by have := I.1.isLt; omega) v)) |
| 61 | |
| 62 | /-- External and base transport commutators telescope to the exact differentiated transport. -/ |
| 63 | theorem transport_telescope {s : ℕ} (hs : 6 ≤ s) (N : ℕ) (hN : N+6 ≤ s) |
| 64 | (L : Fin 4 → Vector3 →L[ℝ] ℝ) (hL : ∀ i, ‖L i‖ ≤ 1) |
| 65 | (u v : SobolevSpace period (s+1)) : |
| 66 | externalTransportForcing period hs N hN L hL u v + baseTransportForcing period N hN L hL u v = |
| 67 | energyValues period 6 N hN (transportBilinear period hs L hL u v) - topTransport period N hN L u v := by |
| 68 | funext I a |
| 69 | let D := (valueOperator period 0).comp |
| 70 | (wordAtLevel period 0 a.1.val a.2 (by have := a.1.isLt; omega : a.1.val+0 ≤ 6)) |
| 71 | let X := wordAtLevel period 6 I.1.val I.2 (by have := I.1.isLt; omega) (transportBilinear period hs L hL u v) |
| 72 | let Y := transportBilinear period (by norm_num : 6 ≤ 6) L hL |
| 73 | (restrictOperator period (by omega : 7 ≤ s+1) u) |
| 74 | (wordAtLevel period 7 I.1.val I.2 (by have := I.1.isLt; omega) v) |
| 75 | let Z := topTransport period N hN L u v I a |
| 76 | have he : externalTransportForcing period hs N hN L hL u v I a = |
| 77 | D (externalCommutator period hs I.1.val I.2 (by have := I.1.isLt; omega) L hL u v) := by |
| 78 | symm |
| 79 | exact wordAtLevel_value period 0 a.1.val a.2 (by have := a.1.isLt; omega) _ |
| 80 | have hext : externalCommutator period hs I.1.val I.2 (by have := I.1.isLt; omega) L hL u v = X-Y := |
| 81 | externalCommutator_apply period hs I.1.val I.2 (by have := I.1.isLt; omega) L hL u v |
| 82 | have he' : externalTransportForcing period hs N hN L hL u v I a = D X-D Y := |
| 83 | he.trans ((congrArg D hext).trans (map_sub D X Y)) |
| 84 | have hb : baseTransportForcing period N hN L hL u v I a = D Y-Z := |
| 85 | baseCommutator_apply period a.1.val (by have := a.1.isLt; omega) a.2 L hL |
| 86 | (restrictOperator period (by omega : 7 ≤ s+1) u) |
| 87 | (wordAtLevel period 7 I.1.val I.2 (by have := I.1.isLt; omega) v) |
| 88 | have hx : energyValues period 6 N hN (transportBilinear period hs L hL u v) I a = D X := |
| 89 | (energyWordOperator_apply period 6 N hN I a (transportBilinear period hs L hL u v)).symm |
| 90 | change externalTransportForcing period hs N hN L hL u v I a + |
| 91 | baseTransportForcing period N hN L hL u v I a = |
| 92 | energyValues period 6 N hN (transportBilinear period hs L hL u v) I a-Z |
| 93 | calc |
| 94 | _ = (D X-D Y)+(D Y-Z) := congrArg₂ (fun x y : LiftL2 period => x+y) he' hb |
| 95 | _ = D X-Z := by abel |
| 96 | _ = _ := congrArg (fun x : LiftL2 period => x-Z) hx.symm |
| 97 | |
| 98 | /-- Taking a word of the actual coefficient operator gives the word of its genuine product jet. -/ |
| 99 | theorem coefficient_word {s n : ℕ} {A : SmoothCoefficient period} |
| 100 | (K : EulerSpatialSobolevInverse.CoefficientJet period standardDirection s A) |
| 101 | (p : SobolevSpace period s) (hn : n ≤ s) (w : Fin n → Fin 4) : |
| 102 | (toJet period (coefficientSobolevOperator period K p)).word w = |
| 103 | (EulerSpatialSobolevInverse.SpatialJet.multiply K (toJet period p)).word w := |
| 104 | EulerPressureJetIdentities.SpatialJet.word_unique _ _ (coefficientSobolevOperator_value period K p) hn hn w |
| 105 | |
| 106 | /-- The external pressure commutator is the actual difference of two Sobolev coefficient products. -/ |
| 107 | theorem externalPressure_as_difference {s : ℕ} {A : SmoothCoefficient period} |
| 108 | (K : EulerSpatialSobolevInverse.CoefficientJet period standardDirection s A) |
| 109 | (K0 : EulerSpatialSobolevInverse.CoefficientJet period standardDirection 6 A) |
| 110 | (N : ℕ) (hN : N+6 ≤ s) (p : SobolevSpace period s) (I : ExternalWord N) (a : BaseWord 6) : |
| 111 | externalPressureForcing period K N hN p I a = |
| 112 | value period (wordAtLevel period 0 a.1.val a.2 (by have := a.1.isLt; omega) |
| 113 | (wordAtLevel period 6 I.1.val I.2 (by have := I.1.isLt; omega) (coefficientSobolevOperator period K p) - |
| 114 | coefficientSobolevOperator period K0 (wordAtLevel period 6 I.1.val I.2 (by have := I.1.isLt; omega) p))) := by |
| 115 | rw [wordAtLevel_value] |
| 116 | apply EulerPressureJetIdentities.SpatialJet.word_unique _ _ _ (by have := a.1.isLt; omega) |
| 117 | (by have := a.1.isLt; omega) a.2 |
| 118 | change _ = valueOperator period 6 (_ - _) |
| 119 | rw [map_sub] |
| 120 | change _ = value period (wordAtLevel period 6 I.1.val I.2 (by have := I.1.isLt; omega) |
| 121 | (coefficientSobolevOperator period K p)) - value period |
| 122 | (coefficientSobolevOperator period K0 (wordAtLevel period 6 I.1.val I.2 (by have := I.1.isLt; omega) p)) |
| 123 | apply congrArg₂ (fun x y : LiftL2 period => x-y) |
| 124 | · symm |
| 125 | exact (wordAtLevel_value period 6 I.1.val I.2 (by have := I.1.isLt; omega) |
| 126 | (coefficientSobolevOperator period K p)).trans (coefficient_word period K p (by have := I.1.isLt; omega) I.2) |
| 127 | · symm |
| 128 | exact (coefficientSobolevOperator_value period K0 |
| 129 | (wordAtLevel period 6 I.1.val I.2 (by have := I.1.isLt; omega) p)).trans |
| 130 | (congrArg A.operator (wordAtLevel_value period 6 I.1.val I.2 (by have := I.1.isLt; omega) p)) |
| 131 | |
| 132 | /-- The base pressure commutator is the actual differentiated product minus its top coefficient action. -/ |
| 133 | theorem basePressure_as_difference {s : ℕ} {A : SmoothCoefficient period} |
| 134 | (K0 : EulerSpatialSobolevInverse.CoefficientJet period standardDirection 6 A) |
| 135 | (N : ℕ) (hN : N+6 ≤ s) (p : SobolevSpace period s) (I : ExternalWord N) (a : BaseWord 6) : |
| 136 | basePressureForcing period K0 N hN p I a = |
| 137 | value period (wordAtLevel period 0 a.1.val a.2 (by have := a.1.isLt; omega) |
| 138 | (coefficientSobolevOperator period K0 (wordAtLevel period 6 I.1.val I.2 (by have := I.1.isLt; omega) p))) - |
| 139 | A.operator (energyValues period 6 N hN p I a) := by |
| 140 | rw [wordAtLevel_value] |
| 141 | apply congrArg (fun z => z - A.operator (energyValues period 6 N hN p I a)) |
| 142 | apply EulerPressureJetIdentities.SpatialJet.word_unique _ _ _ (by have := a.1.isLt; omega) |
| 143 | (by have := a.1.isLt; omega) a.2 |
| 144 | rw [coefficientSobolevOperator_value, wordAtLevel_value] |
| 145 | |
| 146 | /-- External and base coefficient commutators telescope to the exact differentiated pressure term. -/ |
| 147 | theorem pressure_telescope {s : ℕ} {A : SmoothCoefficient period} |
| 148 | (K : EulerSpatialSobolevInverse.CoefficientJet period standardDirection s A) |
| 149 | (K0 : EulerSpatialSobolevInverse.CoefficientJet period standardDirection 6 A) |
| 150 | (N : ℕ) (hN : N+6 ≤ s) (p : SobolevSpace period s) : |
| 151 | externalPressureForcing period K N hN p + basePressureForcing period K0 N hN p = |
| 152 | energyValues period 6 N hN (coefficientSobolevOperator period K p) - |
| 153 | (fun I a => A.operator (energyValues period 6 N hN p I a)) := by |
| 154 | funext I a |
| 155 | change externalPressureForcing period K N hN p I a + basePressureForcing period K0 N hN p I a = |
| 156 | energyValues period 6 N hN (coefficientSobolevOperator period K p) I a - A.operator (energyValues period 6 N hN p I a) |
| 157 | rw [externalPressure_as_difference period K K0 N hN p I a, |
| 158 | basePressure_as_difference period K0 N hN p I a] |
| 159 | rw [← energyWordOperator_apply period 6 N hN I a (coefficientSobolevOperator period K p)] |
| 160 | let D := (valueOperator period 0).comp |
| 161 | (wordAtLevel period 0 a.1.val a.2 (by have := a.1.isLt; omega : a.1.val+0 ≤ 6)) |
| 162 | let X := wordAtLevel period 6 I.1.val I.2 (by have := I.1.isLt; omega) (coefficientSobolevOperator period K p) |
| 163 | let Y := coefficientSobolevOperator period K0 (wordAtLevel period 6 I.1.val I.2 (by have := I.1.isLt; omega) p) |
| 164 | let Z := A.operator (energyValues period 6 N hN p I a) |
| 165 | change D (X-Y) + (D Y-Z) = D X-Z |
| 166 | rw [map_sub] |
| 167 | abel |
| 168 | |
| 169 | /-- The seven bounded forcing terms are exactly the remainder in the differentiated actual correction equation. -/ |
| 170 | theorem correction_differentiated_identity {s : ℕ} (hs : 6 ≤ s) {A : SmoothCoefficient period} |
| 171 | (K : EulerSpatialSobolevInverse.CoefficientJet period standardDirection s A) |
| 172 | (K0 : EulerSpatialSobolevInverse.CoefficientJet period standardDirection 6 A) |
| 173 | (N : ℕ) (hN : N+6 ≤ s) (L : Fin 4 → Vector3 →L[ℝ] ℝ) (hL : ∀ i, ‖L i‖ ≤ 1) |
| 174 | (u v : SobolevSpace period (s+1)) (f p0 p1 : SobolevSpace period s) : |
| 175 | energyValues period 6 N hN (transportBilinear period hs L hL u v + f - |
| 176 | coefficientSobolevOperator period K p0 - coefficientSobolevOperator period K p1) = |
| 177 | topTransport period N hN L u v - (fun I a => A.operator (energyValues period 6 N hN (p0+p1) I a)) - |
| 178 | correctionForcing period hs K K0 N hN L hL u v f p0 p1 := by |
| 179 | have ht := transport_telescope period hs N hN L hL u v |
| 180 | have hp0 := pressure_telescope period K K0 N hN p0 |
| 181 | have hp1 := pressure_telescope period K K0 N hN p1 |
| 182 | simp only [energyValues_sub, energyValues_add] |
| 183 | funext I a |
| 184 | have ht' := congrFun (congrFun ht I) a |
| 185 | have hp0' := congrFun (congrFun hp0 I) a |
| 186 | have hp1' := congrFun (congrFun hp1 I) a |
| 187 | simp only [Pi.add_apply, Pi.sub_apply] at ht' hp0' hp1' |
| 188 | simp only [correctionForcing, Pi.add_apply, Pi.sub_apply, Pi.neg_apply, map_add] |
| 189 | rw [eq_sub_iff_add_eq] at ht' hp0' hp1' |
| 190 | rw [← ht', ← hp0', ← hp1'] |
| 191 | abel |
| 192 | |
| 193 | end EulerGevreyDifferentiatedEquation |