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.PacketCylinderFieldSupport |
| 2 | import Euler.PacketCylinderKnownJets |
| 3 | |
| 4 | /-! Actual spatial jets outside a closed support and for angle-independent fields. -/ |
| 5 | |
| 6 | noncomputable section |
| 7 | |
| 8 | namespace EulerPacketCylinderField |
| 9 | |
| 10 | open Set Filter ContinuousLinearMap EulerSmoothLimit EulerPacketPointJets EulerPacketProfileRecursion |
| 11 | open scoped Topology ContDiff |
| 12 | |
| 13 | /-- Precisely the spatial parts of the jet that occur in the packet nonlinearities. -/ |
| 14 | structure AngleIndependentJet (J : ℝ → VectorJet) : Prop where |
| 15 | value : ∀ θ, (J θ).1 = (J 0).1 |
| 16 | spatial : ∀ θ v, (J θ).2 (spatialInjection v) = (J 0).2 (spatialInjection v) |
| 17 | angular : ∀ θ, (J θ).2 angleDirection = 0 |
| 18 | |
| 19 | namespace AngleIndependentJet |
| 20 | |
| 21 | theorem zero : AngleIndependentJet (fun _ => (0 : VectorJet)) where |
| 22 | value _ := rfl |
| 23 | spatial _ _ := rfl |
| 24 | angular _ := rfl |
| 25 | |
| 26 | theorem add {J K : ℝ → VectorJet} (hJ : AngleIndependentJet J) (hK : AngleIndependentJet K) : |
| 27 | AngleIndependentJet (fun θ => J θ+K θ) where |
| 28 | value θ := by |
| 29 | change (J θ).1+(K θ).1 = (J 0).1+(K 0).1 |
| 30 | rw [hJ.value,hK.value] |
| 31 | spatial θ v := by |
| 32 | change (J θ).2 (spatialInjection v)+(K θ).2 (spatialInjection v) = |
| 33 | (J 0).2 (spatialInjection v)+(K 0).2 (spatialInjection v) |
| 34 | rw [hJ.spatial,hK.spatial] |
| 35 | angular θ := by |
| 36 | change (J θ).2 angleDirection+(K θ).2 angleDirection = 0 |
| 37 | rw [hJ.angular,hK.angular,add_zero] |
| 38 | |
| 39 | end AngleIndependentJet |
| 40 | |
| 41 | variable {P T : ℝ} [Fact (0 < P)] {raw : VectorField} |
| 42 | |
| 43 | theorem raw_fderiv_zero_outside (S : Set Space) (hS : IsClosed S) |
| 44 | (h : ∀ (t : Icc (0 : ℝ) T) x, x ∉ S → ∀ θ : ℝ, raw (t,(x,θ)) = 0) |
| 45 | (t : Icc (0 : ℝ) T) (x : Space) (hx : x ∉ S) (θ : ℝ) : |
| 46 | fderiv ℝ (fun y : Space × ℝ => raw (t,y)) (x,θ) = 0 := by |
| 47 | have hn : {y : Space × ℝ | y.1 ∉ S} ∈ 𝓝 (x,θ) := |
| 48 | (hS.isOpen_compl.preimage continuous_fst).mem_nhds hx |
| 49 | have he : (fun y : Space × ℝ => raw (t,y)) =ᶠ[𝓝 (x,θ)] fun _ => (0 : Space) := by |
| 50 | filter_upwards [hn] with y hy |
| 51 | exact h t y.1 hy y.2 |
| 52 | simpa only [fderiv_const_apply] using he.fderiv_eq (𝕜 := ℝ) |
| 53 | |
| 54 | theorem slicedJet_angleIndependent_of_support (s : Set ℝ) (S : Set Space) (hS : IsClosed S) |
| 55 | (h : ∀ (t : Icc (0 : ℝ) T) x, x ∉ S → ∀ θ : ℝ, raw (t,(x,θ)) = 0) |
| 56 | (t : Icc (0 : ℝ) T) (x : Space) (hx : x ∉ S) : |
| 57 | AngleIndependentJet (fun θ => slicedJet s raw (t,(x,θ))) where |
| 58 | value θ := by |
| 59 | change raw (t,(x,θ)) = raw (t,(x,0)) |
| 60 | rw [h t x hx θ,h t x hx 0] |
| 61 | spatial θ v := by |
| 62 | rw [slicedJet_space,slicedJet_space,raw_fderiv_zero_outside S hS h t x hx θ, |
| 63 | raw_fderiv_zero_outside S hS h t x hx 0] |
| 64 | angular θ := by |
| 65 | rw [slicedJet_angle,raw_fderiv_zero_outside S hS h t x hx θ,zero_apply] |
| 66 | |
| 67 | theorem Field.raw_fderiv_of_angleIndependent (G : Field P T raw) |
| 68 | (h : ∀ (t : Icc (0 : ℝ) T) x θ, raw (t,(x,θ)) = raw (t,(x,0))) |
| 69 | (t : Icc (0 : ℝ) T) (x : Space) (θ : ℝ) : |
| 70 | fderiv ℝ (fun y : Space × ℝ => raw (t,y)) (x,θ) = |
| 71 | (fderiv ℝ (fun y : Space => raw (t,(y,0))) x).comp (ContinuousLinearMap.fst ℝ Space ℝ) := by |
| 72 | have hg : ContDiff ℝ ∞ (fun y : Space => raw (t,(y,0))) := |
| 73 | (G.raw_smooth t).comp (contDiff_id.prodMk contDiff_const) |
| 74 | have hd := (hg.differentiable (by simp) x).hasFDerivAt.comp (x,θ) |
| 75 | (ContinuousLinearMap.fst ℝ Space ℝ).hasFDerivAt |
| 76 | have he : (fun y : Space × ℝ => raw (t,y)) = fun y => raw (t,(y.1,0)) := |
| 77 | funext (fun y => h t y.1 y.2) |
| 78 | rw [he] |
| 79 | exact hd.fderiv |
| 80 | |
| 81 | theorem Field.slicedJet_angleIndependent (G : Field P T raw) (s : Set ℝ) |
| 82 | (h : ∀ (t : Icc (0 : ℝ) T) x θ, raw (t,(x,θ)) = raw (t,(x,0))) |
| 83 | (t : Icc (0 : ℝ) T) (x : Space) : |
| 84 | AngleIndependentJet (fun θ => slicedJet s raw (t,(x,θ))) where |
| 85 | value θ := h t x θ |
| 86 | spatial θ v := by |
| 87 | rw [slicedJet_space,slicedJet_space,G.raw_fderiv_of_angleIndependent h t x θ, |
| 88 | G.raw_fderiv_of_angleIndependent h t x 0] |
| 89 | angular θ := by |
| 90 | rw [slicedJet_angle,G.raw_fderiv_of_angleIndependent h t x θ] |
| 91 | change (fderiv ℝ (fun y : Space => raw (t,(y,0))) x) 0 = 0 |
| 92 | exact map_zero _ |
| 93 | |
| 94 | end EulerPacketCylinderField |