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.PacketCylinderMeanStep |
| 2 | import Euler.PacketCylinderPrefixLocality |
| 3 | import Euler.PacketCylinderKnownForce |
| 4 | import Euler.PacketCylinderFieldSupport |
| 5 | import Euler.PacketCylinderHighMean |
| 6 | import Euler.TransversePacketForcing |
| 7 | |
| 8 | /-! The literal recursive high forcing is admissible for the constructed transverse inverse. -/ |
| 9 | |
| 10 | /-! ## From `Euler/PacketCylinderHighSupport.lean` |
| 11 | |
| 12 | The text of `Euler/PacketCylinderHighSupport.lean`, folded into this file, which was its only importer. -/ |
| 13 | |
| 14 | section |
| 15 | |
| 16 | /-! |
| 17 | # Support of the literal recursive high forcing |
| 18 | |
| 19 | Exterior pure-mean interactions are angle-independent and are removed by the |
| 20 | actual angular mean. The remaining terms use only the already supported |
| 21 | prefix high fields, correctors and physical pressure gradients. |
| 22 | -/ |
| 23 | |
| 24 | noncomputable section |
| 25 | |
| 26 | namespace EulerPacketCylinderField |
| 27 | |
| 28 | open Set MeasureTheory ContinuousLinearMap EulerSmoothLimit EulerPacketPointJets EulerPacketProfileRecursion |
| 29 | |
| 30 | variable {P T : ℝ} [Fact (0 < P)] |
| 31 | |
| 32 | theorem Field.timeDerivative_zero_outside {raw raw_t : VectorField} |
| 33 | (G : Field P T raw) (H : Field P T raw_t) (hT : 0 < T) |
| 34 | (hd : TimeDerivative hT.le G H) (S : Set Space) |
| 35 | (hs : ∀ (t : Icc (0 : ℝ) T) x, x ∉ S → ∀ θ : ℝ, raw (t,(x,θ)) = 0) |
| 36 | (t : Icc (0 : ℝ) T) (x : Space) (hx : x ∉ S) (θ : ℝ) : |
| 37 | raw_t (t,(x,θ)) = 0 := by |
| 38 | have h₁ := G.raw_hasDerivWithinAt hT.le H hd t x θ |
| 39 | have h₂ : HasDerivWithinAt (fun r => raw (r,(x,θ))) (0 : Space) (Icc (0 : ℝ) T) t := |
| 40 | (hasDerivWithinAt_const (t : ℝ) (Icc (0 : ℝ) T) (0 : Space)).congr_of_mem |
| 41 | (fun r hr => hs ⟨r,hr⟩ x hx θ) t.property |
| 42 | exact (h₁.derivWithin ((uniqueDiffOn_Icc hT) _ t.property)).symm.trans |
| 43 | (h₂.derivWithin ((uniqueDiffOn_Icc hT) _ t.property)) |
| 44 | |
| 45 | variable {O : Operators} {p : ℕ} {a : ℕ → Profile} |
| 46 | |
| 47 | theorem PrefixFields.knownForce_angleIndependent (F : PrefixFields P T p a) |
| 48 | (C : CoefficientData P T O) (hp : 1 ≤ p) (hT : 0 < T) |
| 49 | {corrector_t : VectorField} (Ct : Field P T corrector_t) |
| 50 | (hCt : TimeDerivative hT.le (F.corrector (p-1) (by omega)) Ct) |
| 51 | (S : Set Space) (hS : IsClosed S) (L : PrefixLocality T p a S) |
| 52 | (hpressure : ∀ (t : Icc (0 : ℝ) T) x, x ∉ S → ∀ θ : ℝ, |
| 53 | pressureGradient (a (p-1)).highPressure (t,(x,θ)) = 0) |
| 54 | (t : Icc (0 : ℝ) T) (x : Space) (hx : x ∉ S) (θ : ℝ) : |
| 55 | EulerPacketProfileRecursion.knownForce O p a (t,(x,θ)) = |
| 56 | EulerPacketProfileRecursion.knownForce O p a (t,(x,0)) := by |
| 57 | have hlin (s : ℝ) : linearPart (O.strain (t,(x,s))) |
| 58 | (slicedJet O.interval (a (p-1)).corrector (t,(x,s))) = 0 := by |
| 59 | change (slicedJet O.interval (a (p-1)).corrector (t,(x,s))).2 timeDirection + |
| 60 | O.strain (t,(x,s)) ((a (p-1)).corrector (t,(x,s))) = 0 |
| 61 | rw [C.interval_eq,(F.corrector (p-1) (by omega)).slicedJet_temporal hT Ct hCt] |
| 62 | rw [(F.corrector (p-1) (by omega)).timeDerivative_zero_outside Ct hT hCt S |
| 63 | (L.corrector_zero (p-1) (by omega)) t x hx s,L.corrector_zero (p-1) (by omega) t x hx s, |
| 64 | map_zero,add_zero] |
| 65 | have hpr (s : ℝ) : slowPressure (O.inverseFrame (t,(x,s))) |
| 66 | (pressureJet (a (p-1)).highPressure (t,(x,s))) = 0 := by |
| 67 | change (O.inverseFrame (t,(x,s))).adjoint |
| 68 | (pressureGradient (a (p-1)).highPressure (t,(x,s))) = 0 |
| 69 | rw [hpressure t x hx s,map_zero] |
| 70 | unfold EulerPacketProfileRecursion.knownForce |
| 71 | rw [hlin θ,hlin 0,hpr θ,hpr 0,F.nonlinear_angleIndependent C hp S hS L t x hx θ] |
| 72 | |
| 73 | theorem PrefixFields.highForce_zero_outside (F : PrefixFields P T p a) |
| 74 | (C : CoefficientData P T O) (hp : 2 ≤ p) (hT : 0 < T) |
| 75 | {corrector_t : VectorField} (Ct : Field P T corrector_t) |
| 76 | (hCt : TimeDerivative hT.le (F.corrector (p-1) (by omega)) Ct) |
| 77 | (S : Set Space) (hS : IsClosed S) (L : PrefixLocality T p a S) |
| 78 | (hpressure : ∀ (t : Icc (0 : ℝ) T) x, x ∉ S → ∀ θ : ℝ, |
| 79 | pressureGradient (a (p-1)).highPressure (t,(x,θ)) = 0) |
| 80 | (t : Icc (0 : ℝ) T) (x : Space) (hx : x ∉ S) (θ : ℝ) : |
| 81 | EulerPacketProfileRecursion.highForce O p a (t,(x,θ)) = 0 := by |
| 82 | have hknown := F.knownForce_angleIndependent C (by omega) hT Ct hCt S hS L hpressure t x hx |
| 83 | have hmean : EulerPacketProfileRecursion.meanForce O p a (t,(x,θ)) = |
| 84 | EulerPacketProfileRecursion.knownForce O p a (t,(x,θ)) := by |
| 85 | unfold EulerPacketProfileRecursion.meanForce EulerPacketProfileRecursion.angleMean |
| 86 | rw [C.period_eq] |
| 87 | have he : (fun s : ℝ => EulerPacketProfileRecursion.knownForce O p a (t,(x,s))) = |
| 88 | fun _ : ℝ => EulerPacketProfileRecursion.knownForce O p a (t,(x,0)) := funext hknown |
| 89 | rw [he,intervalIntegral.integral_const,sub_zero,smul_smul, |
| 90 | inv_mul_cancel₀ (ne_of_gt (Fact.out : 0 < P)),one_smul,hknown θ] |
| 91 | have hfast : fastAdvection (O.normal (t,(x,θ))) |
| 92 | (slicedJet O.interval (meanResult O p a).1 (t,(x,θ))) |
| 93 | (slicedJet O.interval (a 1).high (t,(x,θ))) = 0 := by |
| 94 | change inner ℝ (O.normal (t,(x,θ))) ((meanResult O p a).1 (t,(x,θ))) • |
| 95 | (slicedJet O.interval (a 1).high (t,(x,θ))).2 angleDirection = 0 |
| 96 | rw [slicedJet_angle,raw_fderiv_zero_outside S hS (L.high_zero 1 (by omega)) t x hx θ, |
| 97 | zero_apply,smul_zero] |
| 98 | change EulerPacketProfileRecursion.knownForce O p a (t,(x,θ)) - |
| 99 | EulerPacketProfileRecursion.meanForce O p a (t,(x,θ)) - _ = 0 |
| 100 | rw [hmean,hfast,sub_self,sub_zero] |
| 101 | |
| 102 | end EulerPacketCylinderField |
| 103 | end |
| 104 | |
| 105 | end |
| 106 | |
| 107 | /-! ## From `Euler/PacketCylinderHighForcing.lean` |
| 108 | |
| 109 | The text of `Euler/PacketCylinderHighForcing.lean`, folded into this file, which was its only importer. -/ |
| 110 | |
| 111 | section |
| 112 | |
| 113 | /-! Supported, zero-mean raw cylinder witnesses feed the actual high-mode solver. -/ |
| 114 | |
| 115 | noncomputable section |
| 116 | |
| 117 | namespace EulerPacketCylinderField.Field |
| 118 | |
| 119 | open Set MeasureTheory EulerSmoothLimit EulerLiftedGradientSpace EulerLpCylinderPaths |
| 120 | EulerCylinderPathProduct EulerCylinderSmoothOrbit EulerLpCylinderTranslation |
| 121 | EulerPacketProfileRecursion EulerCylinderAngleAverage |
| 122 | |
| 123 | variable {P : ℝ} [Fact (0 < P)] |
| 124 | {U : Type*} [NormedAddCommGroup U] [InnerProductSpace ℝ U] [CompleteSpace U] |
| 125 | |
| 126 | /-- Only actual support and literal mean zero are added to the existing field witness. -/ |
| 127 | def transverseForcing (D : EulerTransversePacketProvider.Data U) {raw : VectorField} |
| 128 | (G : Field P D.T raw) |
| 129 | (hs : ∀ t, G.path t ∈ Supported P Space D.support D.support_measurable) |
| 130 | (hm : ∀ (t : Icc (0 : ℝ) D.T) x, |
| 131 | (∫ θ in (0 : ℝ)..P, raw (t,(x,θ))) = 0) : |
| 132 | EulerTransversePacketProvider.Forcing P D raw where |
| 133 | path := supportedPath P D.support D.support_measurable G.path hs |
| 134 | path_orbit := by simpa only [include_supportedPath] using G.orbit |
| 135 | raw_eq t x θ := by simpa only [include_supportedPath] using G.raw_eq t x θ |
| 136 | mean_zero t := G.average_zero_of_raw_integral hm t |
| 137 | |
| 138 | /-- A literal compact-support proof may be used directly, without selecting a new representative. -/ |
| 139 | def transverseForcingOfRaw (D : EulerTransversePacketProvider.Data U) {raw : VectorField} |
| 140 | (G : Field P D.T raw) |
| 141 | (hs : ∀ (t : Icc (0 : ℝ) D.T) x, x ∉ D.support → ∀ θ : ℝ, raw (t,(x,θ)) = 0) |
| 142 | (hm : ∀ (t : Icc (0 : ℝ) D.T) x, |
| 143 | (∫ θ in (0 : ℝ)..P, raw (t,(x,θ))) = 0) : |
| 144 | EulerTransversePacketProvider.Forcing P D raw := |
| 145 | G.transverseForcing D (G.supported_of_raw_zero D.support D.support_measurable hs) hm |
| 146 | |
| 147 | end EulerPacketCylinderField.Field |
| 148 | end |
| 149 | |
| 150 | end |
| 151 | |
| 152 | noncomputable section |
| 153 | |
| 154 | namespace EulerPacketCylinderField |
| 155 | |
| 156 | open Set MeasureTheory EulerSmoothLimit EulerPacketPointJets EulerPacketProfileRecursion |
| 157 | |
| 158 | variable {P T : ℝ} [Fact (0 < P)] |
| 159 | |
| 160 | def Field.changeTime {raw : VectorField} {T' : ℝ} (G : Field P T raw) (h : T = T') : |
| 161 | Field P T' raw := h ▸ G |
| 162 | |
| 163 | theorem Field.changeTime_derivative {raw raw_t : VectorField} {T' : ℝ} |
| 164 | (G : Field P T raw) (H : Field P T raw_t) (h : T = T') (hT : 0 ≤ T) (hT' : 0 ≤ T') |
| 165 | (hd : TimeDerivative hT G H) : |
| 166 | TimeDerivative hT' (G.changeTime h) (H.changeTime h) := by |
| 167 | subst T' |
| 168 | exact hd |
| 169 | |
| 170 | def Field.transverseForcingOfRawTime |
| 171 | {U : Type*} [NormedAddCommGroup U] [InnerProductSpace ℝ U] [CompleteSpace U] |
| 172 | (D : EulerTransversePacketProvider.Data U) {raw : VectorField} (G : Field P T raw) |
| 173 | (hT : T = D.T) |
| 174 | (hs : ∀ (t : Icc (0 : ℝ) T) x, x ∉ D.support → ∀ θ : ℝ, raw (t,(x,θ)) = 0) |
| 175 | (hm : ∀ (t : Icc (0 : ℝ) T) x, (∫ θ in (0 : ℝ)..P, raw (t,(x,θ))) = 0) : |
| 176 | EulerTransversePacketProvider.Forcing P D raw := by |
| 177 | subst T |
| 178 | exact G.transverseForcingOfRaw D hs hm |
| 179 | |
| 180 | variable (M : EulerMeanPacketProvider.Data) |
| 181 | {U : Type*} [NormedAddCommGroup U] [InnerProductSpace ℝ U] [CompleteSpace U] |
| 182 | (D : EulerTransversePacketProvider.Data U) (hT : M.T = D.T) |
| 183 | {O : Operators} {p : ℕ} {a : ℕ → Profile} |
| 184 | |
| 185 | /-- Every hypothesis concerns already constructed prefix fields or the actual prescribed coefficients. -/ |
| 186 | def PrefixFields.highForcing (F : PrefixFields P M.T p a) (C : CoefficientData P M.T O) |
| 187 | (hp : 2 ≤ p) {corrector_t : VectorField} (Ct : Field P M.T corrector_t) |
| 188 | (hCt : TimeDerivative M.T_pos.le (F.corrector (p-1) (by omega)) Ct) |
| 189 | (pressure : Field P M.T (pressureGradient (a (p-1)).highPressure)) |
| 190 | (hmean : O.meanSolve = EulerMeanPacketProvider.meanSolve M) |
| 191 | (L : PrefixLocality M.T p a D.support) |
| 192 | (hpressure : ∀ (t : Icc (0 : ℝ) M.T) x, x ∉ D.support → ∀ θ : ℝ, |
| 193 | pressureGradient (a (p-1)).highPressure (t,(x,θ)) = 0) : |
| 194 | EulerTransversePacketProvider.Forcing P D (EulerPacketProfileRecursion.highForce O p a) := |
| 195 | (F.actualHighForce M C hp Ct hCt pressure hmean).transverseForcingOfRawTime D hT |
| 196 | (F.highForce_zero_outside C hp M.T_pos Ct hCt D.support D.support_compact.isClosed L hpressure) |
| 197 | (F.actualHighForce_mean_zero M C hp Ct hCt pressure hmean) |
| 198 | |
| 199 | end EulerPacketCylinderField |