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.CylinderCoveringDerivative |
| 2 | import Euler.PacketProfileRecursion |
| 3 | |
| 4 | /-! |
| 5 | # Actual cylinder-path witnesses for raw packet fields |
| 6 | |
| 7 | These records contain a genuine continuous L² path, its true smooth mixed |
| 8 | translation orbit, and equality with the raw field on the time interval. |
| 9 | Time derivatives are an actual L² evolution identity, stated separately. |
| 10 | -/ |
| 11 | |
| 12 | noncomputable section |
| 13 | |
| 14 | namespace EulerPacketCylinderField |
| 15 | |
| 16 | open Set MeasureTheory ContinuousLinearMap EulerSmoothLimit EulerLiftedGradientSpace |
| 17 | EulerCylinderSmoothOrbit EulerLpCylinderTranslation EulerMetricTransport |
| 18 | EulerLiftedWeakDerivative EulerPacketPointJets EulerPacketProfileRecursion EulerVolterraConvolution |
| 19 | open scoped ContDiff |
| 20 | |
| 21 | structure Field (P T : ℝ) [Fact (0 < P)] (raw : VectorField) where |
| 22 | path : C(Icc (0 : ℝ) T,LiftL2 P) |
| 23 | orbit : ContDiff ℝ ∞ (fun a : LiftTangent => pathTranslate P a path) |
| 24 | raw_eq : ∀ (t : Icc (0 : ℝ) T) x θ, |
| 25 | raw (t,(x,θ)) = pointField P path orbit t (x,(θ : AddCircle P)) |
| 26 | |
| 27 | variable {P T : ℝ} [Fact (0 < P)] {raw raw_t : VectorField} |
| 28 | |
| 29 | /-- The derivative witness is an actual within-interval derivative in the Hilbert L² space. -/ |
| 30 | def TimeDerivative (hT : 0 ≤ T) (G : Field P T raw) (H : Field P T raw_t) : Prop := |
| 31 | ∀ t : Icc (0 : ℝ) T, HasDerivWithinAt (extendPath T hT G.path) |
| 32 | (H.path t) (Icc (0 : ℝ) T) t |
| 33 | |
| 34 | namespace Field |
| 35 | |
| 36 | variable (G : Field P T raw) |
| 37 | |
| 38 | include G in |
| 39 | theorem raw_smooth (t : Icc (0 : ℝ) T) : |
| 40 | ContDiff ℝ ∞ (fun y : Space × ℝ => raw (t,y)) := by |
| 41 | have he : (fun y : Space × ℝ => raw (t,y)) = |
| 42 | fun y : LiftTangent => pointField P G.path G.orbit t (y.1,(y.2 : AddCircle P)) := |
| 43 | funext (fun y => G.raw_eq t y.1 y.2) |
| 44 | rw [he] |
| 45 | exact coverField_contDiff P _ (pointField_smooth P G.path G.orbit t) |
| 46 | |
| 47 | theorem raw_fderiv (t : Icc (0 : ℝ) T) (x : Space) (θ : ℝ) : |
| 48 | fderiv ℝ (fun y : Space × ℝ => raw (t,y)) (x,θ) = |
| 49 | fieldFDeriv P (pointField P G.path G.orbit t) (x,(θ : AddCircle P)) := by |
| 50 | have he : (fun y : Space × ℝ => raw (t,y)) = |
| 51 | fun y : LiftTangent => pointField P G.path G.orbit t (y.1,(y.2 : AddCircle P)) := |
| 52 | funext (fun y => G.raw_eq t y.1 y.2) |
| 53 | rw [he,coverField_fderiv] |
| 54 | |
| 55 | theorem slicedJet_spatial (s : Set ℝ) (t : Icc (0 : ℝ) T) (x v : Space) (θ : ℝ) : |
| 56 | (slicedJet s raw (t,(x,θ))).2 (spatialInjection v) = |
| 57 | fieldFDeriv P (pointField P G.path G.orbit t) (x,(θ : AddCircle P)) (v,0) := by |
| 58 | rw [slicedJet_space,G.raw_fderiv] |
| 59 | |
| 60 | theorem slicedJet_angular (s : Set ℝ) (t : Icc (0 : ℝ) T) (x : Space) (θ : ℝ) : |
| 61 | (slicedJet s raw (t,(x,θ))).2 angleDirection = |
| 62 | fieldFDeriv P (pointField P G.path G.orbit t) (x,(θ : AddCircle P)) (0,1) := by |
| 63 | rw [slicedJet_angle,G.raw_fderiv] |
| 64 | |
| 65 | theorem raw_hasDerivWithinAt (hT : 0 ≤ T) (H : Field P T raw_t) |
| 66 | (h : TimeDerivative hT G H) (t : Icc (0 : ℝ) T) (x : Space) (θ : ℝ) : |
| 67 | HasDerivWithinAt (fun r => raw (r,(x,θ))) (raw_t (t,(x,θ))) (Icc (0 : ℝ) T) t := by |
| 68 | have hd := pointField_hasDerivWithinAt P T hT G.path H.path G.orbit H.orbit h t |
| 69 | (x,(θ : AddCircle P)) |
| 70 | rw [← H.raw_eq t x θ] at hd |
| 71 | apply hd.congr_of_mem _ t.property |
| 72 | intro r hr |
| 73 | simpa only [projIcc_of_mem hT hr] using G.raw_eq ⟨r,hr⟩ x θ |
| 74 | |
| 75 | theorem slicedJet_temporal (hT : 0 < T) (H : Field P T raw_t) |
| 76 | (h : TimeDerivative hT.le G H) (t : Icc (0 : ℝ) T) (x : Space) (θ : ℝ) : |
| 77 | (slicedJet (Icc (0 : ℝ) T) raw (t,(x,θ))).2 timeDirection = raw_t (t,(x,θ)) := |
| 78 | slicedJet_time_eq _ _ _ _ ((uniqueDiffOn_Icc hT) _ t.property) |
| 79 | (G.raw_hasDerivWithinAt hT.le H h t x θ) |
| 80 | |
| 81 | end Field |
| 82 | end EulerPacketCylinderField |