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.EulerProof |
| 2 | import Euler.PacketResidualGrades |
| 3 | |
| 4 | /-! The linear and bilinear packet operators on actual space-time value/derivative jets. -/ |
| 5 | |
| 6 | noncomputable section |
| 7 | |
| 8 | |
| 9 | namespace EulerPacketPointJets |
| 10 | |
| 11 | open EulerSmoothLimit InnerProductSpace EulerFiniteGrades |
| 12 | open scoped ContDiff |
| 13 | |
| 14 | abbrev Domain := ℝ × (Space × ℝ) |
| 15 | abbrev Jet (E : Type*) [NormedAddCommGroup E] [NormedSpace ℝ E] := E × (Domain →L[ℝ] E) |
| 16 | abbrev VectorJet := Jet Space |
| 17 | abbrev ScalarJet := Jet ℝ |
| 18 | |
| 19 | def timeDirection : Domain := (1, (0, 0)) |
| 20 | def angleDirection : Domain := (0, (0, 1)) |
| 21 | |
| 22 | def spatialInjection : Space →L[ℝ] Domain := |
| 23 | (0 : Space →L[ℝ] ℝ).prod ((ContinuousLinearMap.id ℝ Space).prod (0 : Space →L[ℝ] ℝ)) |
| 24 | |
| 25 | def jet {E : Type*} [NormedAddCommGroup E] [NormedSpace ℝ E] |
| 26 | (f : Domain → E) (z : Domain) : Jet E := (f z, fderiv ℝ f z) |
| 27 | |
| 28 | def linearPart (M : Space →L[ℝ] Space) : VectorJet →ₗ[ℝ] Space where |
| 29 | toFun J := J.2 timeDirection + M J.1 |
| 30 | map_add' J K := by simp [add_add_add_comm] |
| 31 | map_smul' c J := by simp [smul_add] |
| 32 | |
| 33 | def slowPressure (FInv : Space →L[ℝ] Space) : ScalarJet →ₗ[ℝ] Space where |
| 34 | toFun J := FInv.adjoint ((toDual ℝ Space).symm (J.2.comp spatialInjection)) |
| 35 | map_add' J K := by simp [ContinuousLinearMap.add_comp] |
| 36 | map_smul' c J := by simp [ContinuousLinearMap.smul_comp] |
| 37 | |
| 38 | def fastPressure (m : Space) : ScalarJet →ₗ[ℝ] Space where |
| 39 | toFun J := J.2 angleDirection • m |
| 40 | map_add' J K := by simp [add_smul] |
| 41 | map_smul' c J := by simp [smul_smul] |
| 42 | |
| 43 | def slowAdvection (FInv : Space →L[ℝ] Space) : VectorJet →ₗ[ℝ] VectorJet →ₗ[ℝ] Space where |
| 44 | toFun J := |
| 45 | { toFun := fun K => K.2 (spatialInjection (FInv J.1)) |
| 46 | map_add' K H := by simp |
| 47 | map_smul' c K := by simp } |
| 48 | map_add' J K := by |
| 49 | apply LinearMap.ext |
| 50 | intro H |
| 51 | simp |
| 52 | map_smul' c J := by |
| 53 | apply LinearMap.ext |
| 54 | intro K |
| 55 | simp |
| 56 | |
| 57 | def fastAdvection (m : Space) : VectorJet →ₗ[ℝ] VectorJet →ₗ[ℝ] Space where |
| 58 | toFun J := |
| 59 | { toFun := fun K => ⟪m, J.1⟫_ℝ • K.2 angleDirection |
| 60 | map_add' K H := by simp [smul_add] |
| 61 | map_smul' c K := by simp [smul_smul, mul_comm] } |
| 62 | map_add' J K := by |
| 63 | apply LinearMap.ext |
| 64 | intro H |
| 65 | simp [inner_add_right, add_smul] |
| 66 | map_smul' c J := by |
| 67 | apply LinearMap.ext |
| 68 | intro K |
| 69 | simp [inner_smul_right, smul_smul] |
| 70 | |
| 71 | def fieldSum {E : Type*} [NormedAddCommGroup E] [NormedSpace ℝ E] |
| 72 | (M : ℕ) (κ : ℝ) (u : ℕ → Domain → E) (z : Domain) : E := |
| 73 | evaluate M κ (fun n => u n z) |
| 74 | |
| 75 | end EulerPacketPointJets |