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.SmoothFlowCoefficientPaths |
| 2 | import Euler.SmoothTimeFieldComposition |
| 3 | import Euler.SmoothTimeFieldBilinear |
| 4 | import Euler.SmoothTimeFieldAlgebra |
| 5 | import Euler.SmoothTimeFieldTimeJets |
| 6 | import Euler.SmoothTimeFieldDerivativeBounds |
| 7 | |
| 8 | /-! Actual deformation, first time derivative, and second time derivative |
| 9 | as smooth bounded coefficient paths. Every spatial jet is continuous in |
| 10 | the sup norm; no third time derivative is used for the acceleration. -/ |
| 11 | |
| 12 | noncomputable section |
| 13 | |
| 14 | |
| 15 | open scoped ContDiff BoundedContinuousFunction |
| 16 | |
| 17 | namespace EulerSmoothBanachFlow |
| 18 | |
| 19 | open Set EulerVolterraConvolution EulerSmoothFlowGevrey |
| 20 | |
| 21 | variable {E : Type} [NormedAddCommGroup E] [NormedSpace ℝ E] [FiniteDimensional ℝ E] |
| 22 | (T : ℝ) (hT : 0 ≤ T) (A : SmoothTimeField (Icc (0 : ℝ) T) E E) |
| 23 | |
| 24 | private local instance (n : ℕ) : NormedAddCommGroup (E [×n]→L[ℝ] E) := inferInstance |
| 25 | private local instance (n : ℕ) : NormedSpace ℝ (E [×n]→L[ℝ] E) := inferInstance |
| 26 | private local instance (n : ℕ) : NormedAddCommGroup (E →ᵇ (E [×n]→L[ℝ] E)) := inferInstance |
| 27 | private local instance (n : ℕ) : NormedSpace ℝ (E →ᵇ (E [×n]→L[ℝ] E)) := inferInstance |
| 28 | private local instance : NormedAddCommGroup (E →L[ℝ] E) := inferInstance |
| 29 | private local instance : NormedSpace ℝ (E →L[ℝ] E) := inferInstance |
| 30 | private local instance (n : ℕ) : NormedAddCommGroup (E [×n]→L[ℝ] (E →L[ℝ] E)) := inferInstance |
| 31 | private local instance (n : ℕ) : NormedSpace ℝ (E [×n]→L[ℝ] (E →L[ℝ] E)) := inferInstance |
| 32 | private local instance (n : ℕ) : NormedAddCommGroup (E →ᵇ (E [×n]→L[ℝ] (E →L[ℝ] E))) := inferInstance |
| 33 | private local instance (n : ℕ) : NormedSpace ℝ (E →ᵇ (E [×n]→L[ℝ] (E →L[ℝ] E))) := inferInstance |
| 34 | |
| 35 | variable (B R : ℝ) (hB : 0 ≤ B) (hR : 0 < R) (hsmall : B*R*T ≤ 1/8) |
| 36 | (hb : ∀ n, ‖A.jet n‖ ≤ B*R^n*(n.factorial : ℝ)^2) |
| 37 | (A₁ : SmoothTimeField (Icc (0 : ℝ) T) E E) |
| 38 | |
| 39 | def accelerationCoefficient : SmoothTimeField (Icc (0 : ℝ) T) E E := |
| 40 | (A₁.add (SmoothTimeField.bilinear (ContinuousLinearMap.id ℝ (E →L[ℝ] E)) A.derivative A)).compDisplacement |
| 41 | (displacementCoefficient T hT A B R hB hR hsmall hb) |
| 42 | |
| 43 | @[simp] theorem accelerationCoefficient_apply (t : Icc (0 : ℝ) T) (x : E) : |
| 44 | (accelerationCoefficient T hT A B R hB hR hsmall hb A₁).field t x = |
| 45 | accelerationFamily T hT A A₁ x t := by |
| 46 | change A₁.field t (x+(displacementCoefficient T hT A B R hB hR hsmall hb).field t x) + |
| 47 | A.derivative.field t (x+(displacementCoefficient T hT A B R hB hR hsmall hb).field t x) |
| 48 | (A.field t (x+(displacementCoefficient T hT A B R hB hR hsmall hb).field t x)) = _ |
| 49 | rw [displacementCoefficient_apply] |
| 50 | have he : x+((flowData T hT A).forward t x-x) = (flowData T hT A).forward t x := by abel |
| 51 | rw [he] |
| 52 | change A₁.field t ((flowData T hT A).forward t x) + |
| 53 | A.derivativeField t ((flowData T hT A).forward t x) |
| 54 | (A.field t ((flowData T hT A).forward t x)) = _ |
| 55 | rw [A.derivativeField_eq] |
| 56 | exact (accelerationFamily_apply T hT A A₁ x t).symm |
| 57 | |
| 58 | def deformationCoefficient : SmoothTimeField (Icc (0 : ℝ) T) E (E →L[ℝ] E) := |
| 59 | (SmoothTimeField.constant (ContinuousLinearMap.id ℝ E)).add |
| 60 | (displacementCoefficient T hT A B R hB hR hsmall hb).derivative |
| 61 | |
| 62 | @[simp] theorem deformationCoefficient_apply (t : Icc (0 : ℝ) T) (x : E) : |
| 63 | (deformationCoefficient T hT A B R hB hR hsmall hb).field t x = |
| 64 | fderiv ℝ (fun y => (flowData T hT A).forward t y) x := by |
| 65 | change ContinuousLinearMap.id ℝ E+ |
| 66 | (displacementCoefficient T hT A B R hB hR hsmall hb).derivativeField t x = _ |
| 67 | rw [SmoothTimeField.derivativeField_eq] |
| 68 | have he : ((displacementCoefficient T hT A B R hB hR hsmall hb).field t : E → E) = |
| 69 | fun y => (flowData T hT A).forward t y-y := |
| 70 | funext (fun y => displacementCoefficient_apply T hT A B R hB hR hsmall hb t y) |
| 71 | rw [he] |
| 72 | have hd : fderiv ℝ (fun y => (flowData T hT A).forward t y-y) x = |
| 73 | fderiv ℝ (fun y => (flowData T hT A).forward t y) x - ContinuousLinearMap.id ℝ E := by |
| 74 | simpa only [Pi.sub_def, id_eq, fderiv_id] using |
| 75 | (fderiv_sub (𝕜 := ℝ) (f := fun y => (flowData T hT A).forward t y) (g := id) |
| 76 | ((forward_contDiff T hT A t).differentiable (by simp) x) differentiableAt_id) |
| 77 | rw [hd] |
| 78 | abel |
| 79 | |
| 80 | variable (htime : SmoothTimeField.TimeDerivative T hT A A₁) |
| 81 | (B₁ R₁ : ℝ) (hB₁ : 0 ≤ B₁) (hR₁ : 0 ≤ R₁) |
| 82 | (hb₁ : ∀ n, ‖A₁.jet n‖ ≤ B₁*R₁^n*(n.factorial : ℝ)^2) |
| 83 | |
| 84 | def deformationTimeCoefficient : SmoothTimeField (Icc (0 : ℝ) T) E (E →L[ℝ] E) := |
| 85 | (velocityCoefficient T hT A B R hB hR hsmall hb A₁ htime B₁ R₁ hB₁ hR₁ hb₁).derivative |
| 86 | |
| 87 | def deformationSecondCoefficient : SmoothTimeField (Icc (0 : ℝ) T) E (E →L[ℝ] E) := |
| 88 | (accelerationCoefficient T hT A B R hB hR hsmall hb A₁).derivative |
| 89 | |
| 90 | theorem displacementCoefficient_time : SmoothTimeField.TimeDerivative T hT |
| 91 | (displacementCoefficient T hT A B R hB hR hsmall hb) |
| 92 | (velocityCoefficient T hT A B R hB hR hsmall hb A₁ htime B₁ R₁ hB₁ hR₁ hb₁) := by |
| 93 | intro t x |
| 94 | exact displacementFamily_time_derivative T hT A x t |
| 95 | |
| 96 | theorem velocityCoefficient_time : SmoothTimeField.TimeDerivative T hT |
| 97 | (velocityCoefficient T hT A B R hB hR hsmall hb A₁ htime B₁ R₁ hB₁ hR₁ hb₁) |
| 98 | (accelerationCoefficient T hT A B R hB hR hsmall hb A₁) := by |
| 99 | intro t x |
| 100 | rw [accelerationCoefficient_apply] |
| 101 | exact velocityFamily_time_derivative T hT A A₁ htime x t |
| 102 | |
| 103 | theorem deformationCoefficient_time : SmoothTimeField.TimeDerivative T hT |
| 104 | (deformationCoefficient T hT A B R hB hR hsmall hb) |
| 105 | (deformationTimeCoefficient T hT A B R hB hR hsmall hb A₁ htime B₁ R₁ hB₁ hR₁ hb₁) := by |
| 106 | have hd := SmoothTimeField.TimeDerivative.derivative T hT _ _ |
| 107 | (displacementCoefficient_time T hT A B R hB hR hsmall hb A₁ htime B₁ R₁ hB₁ hR₁ hb₁) |
| 108 | intro t x |
| 109 | exact (hd t x).const_add (ContinuousLinearMap.id ℝ E) |
| 110 | |
| 111 | theorem deformationTimeCoefficient_time : SmoothTimeField.TimeDerivative T hT |
| 112 | (deformationTimeCoefficient T hT A B R hB hR hsmall hb A₁ htime B₁ R₁ hB₁ hR₁ hb₁) |
| 113 | (deformationSecondCoefficient T hT A B R hB hR hsmall hb A₁) := |
| 114 | SmoothTimeField.TimeDerivative.derivative T hT _ _ |
| 115 | (velocityCoefficient_time T hT A B R hB hR hsmall hb A₁ htime B₁ R₁ hB₁ hR₁ hb₁) |
| 116 | |
| 117 | end EulerSmoothBanachFlow |