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.BoundedFieldPullback |
| 2 | import Euler.BoundedFieldMultilinear |
| 3 | import Mathlib.Analysis.Calculus.ContDiff.Comp |
| 4 | |
| 5 | /-! Composition with identity plus a bounded smooth displacement preserves |
| 6 | the actual continuous-time bounded spatial jets. The finite Faà di Bruno |
| 7 | formula is evaluated in the sup norm, with no extra time derivative. -/ |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | |
| 12 | open scoped ContDiff BoundedContinuousFunction BigOperators NNReal |
| 13 | |
| 14 | universe u |
| 15 | |
| 16 | namespace SmoothTimeField |
| 17 | |
| 18 | open EulerBoundedFieldPullback EulerBoundedFieldCalculus |
| 19 | |
| 20 | variable {K E V : Type u} [TopologicalSpace K] [CompactSpace K] |
| 21 | [NormedAddCommGroup E] [NormedSpace ℝ E] |
| 22 | [NormedAddCommGroup V] [NormedSpace ℝ V] |
| 23 | |
| 24 | private local instance (n : ℕ) : NormedAddCommGroup (E [×n]→L[ℝ] V) := inferInstance |
| 25 | private local instance (n : ℕ) : NormedSpace ℝ (E [×n]→L[ℝ] V) := inferInstance |
| 26 | private local instance (n : ℕ) : NormedAddCommGroup (E →ᵇ (E [×n]→L[ℝ] V)) := inferInstance |
| 27 | private local instance (n : ℕ) : NormedSpace ℝ (E →ᵇ (E [×n]→L[ℝ] V)) := inferInstance |
| 28 | |
| 29 | theorem field_lipschitz (A : SmoothTimeField K E V) (t : K) : |
| 30 | LipschitzWith ‖A.jet 1‖₊ (A.field t) := by |
| 31 | apply lipschitzWith_of_nnnorm_fderiv_le ((A.smooth t).differentiable (by simp)) |
| 32 | intro x |
| 33 | change ‖fderiv ℝ (A.field t : E → V) x‖ ≤ ‖A.jet 1‖ |
| 34 | rw [← norm_iteratedFDeriv_one, ← A.jet_eq] |
| 35 | exact ((A.jet 1 t).norm_coe_le_norm x).trans ((A.jet 1).norm_coe_le_norm t) |
| 36 | |
| 37 | omit [TopologicalSpace K] [CompactSpace K] [NormedAddCommGroup V] [NormedSpace ℝ V] in |
| 38 | theorem positive_identity_jet (n : ℕ) (hn : 0 < n) (x : E) : |
| 39 | iteratedFDeriv ℝ n (id : E → E) 0 = iteratedFDeriv ℝ n (id : E → E) x := by |
| 40 | have hid : fderiv ℝ (id : E → E) = fun _ : E => ContinuousLinearMap.id ℝ E := |
| 41 | funext (fun _ => fderiv_id) |
| 42 | cases n with |
| 43 | | zero => omega |
| 44 | | succ n => |
| 45 | simp only [Nat.succ_eq_add_one, iteratedFDeriv_succ_eq_comp_right, hid, Function.comp_apply] |
| 46 | cases n with |
| 47 | | zero => rfl |
| 48 | | succ n => simp only [iteratedFDeriv_succ_const, Pi.zero_apply] |
| 49 | |
| 50 | def displacedJet (D : SmoothTimeField K E E) (n : ℕ) : |
| 51 | C(K,E →ᵇ (E [×n]→L[ℝ] E)) := |
| 52 | ContinuousMap.const K (BoundedContinuousFunction.const E |
| 53 | (iteratedFDeriv ℝ n (id : E → E) 0)) + D.jet n |
| 54 | |
| 55 | theorem displacedJet_apply (D : SmoothTimeField K E E) (n : ℕ) (hn : 0 < n) |
| 56 | (t : K) (x : E) : |
| 57 | displacedJet D n t x = iteratedFDeriv ℝ n (fun y => y+D.field t y) x := by |
| 58 | change iteratedFDeriv ℝ n (id : E → E) 0 + D.jet n t x = _ |
| 59 | rw [positive_identity_jet n hn x, D.jet_eq] |
| 60 | exact (iteratedFDeriv_add_apply contDiffAt_id ((D.smooth t).contDiffAt.of_le (by simp))).symm |
| 61 | |
| 62 | def pulledJet (A : SmoothTimeField K E V) (D : SmoothTimeField K E E) (n : ℕ) : |
| 63 | C(K,E →ᵇ (E [×n]→L[ℝ] V)) := |
| 64 | pathPullback (A.jet n) D.field ‖A.jet (n+1)‖₊ (A.jet_lipschitz n) |
| 65 | |
| 66 | @[simp] theorem pulledJet_apply (A : SmoothTimeField K E V) (D : SmoothTimeField K E E) |
| 67 | (n : ℕ) (t : K) (x : E) : |
| 68 | pulledJet A D n t x = iteratedFDeriv ℝ n (A.field t : E → V) (x+D.field t x) := by |
| 69 | change A.jet n t (x+D.field t x) = _ |
| 70 | exact A.jet_eq n t _ |
| 71 | |
| 72 | def partitionJet (A : SmoothTimeField K E V) (D : SmoothTimeField K E E) |
| 73 | {n : ℕ} (c : OrderedFinpartition n) : C(K,E →ᵇ (E [×n]→L[ℝ] V)) := by |
| 74 | let L := (c.compAlongOrderedFinpartitionL ℝ E E V).flipMultilinear |
| 75 | let M := multilinearMap (α := E) L |
| 76 | let J : C(K,E →ᵇ ((E [×c.length]→L[ℝ] V) →L[ℝ] (E [×n]→L[ℝ] V))) := |
| 77 | ⟨fun t => M (fun i => displacedJet D (c.partSize i) t), |
| 78 | M.cont.comp (continuous_pi (fun i => (displacedJet D (c.partSize i)).continuous))⟩ |
| 79 | let O := pulledJet A D c.length |
| 80 | let B := bilinearMap (α := E) (ContinuousLinearMap.id ℝ |
| 81 | ((E [×c.length]→L[ℝ] V) →L[ℝ] (E [×n]→L[ℝ] V))) |
| 82 | exact ⟨fun t => B (J t) (O t), (B.continuous.comp J.continuous).clm_apply O.continuous⟩ |
| 83 | |
| 84 | theorem partitionJet_apply (A : SmoothTimeField K E V) (D : SmoothTimeField K E E) |
| 85 | {n : ℕ} (c : OrderedFinpartition n) (t : K) (x : E) : |
| 86 | partitionJet A D c t x = c.compAlongOrderedFinpartition |
| 87 | (iteratedFDeriv ℝ c.length (A.field t : E → V) (x+D.field t x)) |
| 88 | (fun i => iteratedFDeriv ℝ (c.partSize i) (fun y => y+D.field t y) x) := by |
| 89 | change c.compAlongOrderedFinpartition (pulledJet A D c.length t x) |
| 90 | (fun i => displacedJet D (c.partSize i) t x) = _ |
| 91 | rw [pulledJet_apply] |
| 92 | congr 1 |
| 93 | funext i |
| 94 | exact displacedJet_apply D (c.partSize i) (c.partSize_pos i) t x |
| 95 | |
| 96 | def compDisplacement (A : SmoothTimeField K E V) (D : SmoothTimeField K E E) : |
| 97 | SmoothTimeField K E V where |
| 98 | field := pathPullback A.field D.field ‖A.jet 1‖₊ A.field_lipschitz |
| 99 | smooth t := (A.smooth t).comp (contDiff_id.add (D.smooth t)) |
| 100 | jet n := ∑ c : OrderedFinpartition n, partitionJet A D c |
| 101 | jet_eq n t x := by |
| 102 | change (∑ c : OrderedFinpartition n, partitionJet A D c) t x = |
| 103 | iteratedFDeriv ℝ n ((A.field t : E → V) ∘ (fun y => y+D.field t y)) x |
| 104 | have hinner : ContDiff ℝ ∞ (fun y : E => y+D.field t y) := |
| 105 | contDiff_id.add (D.smooth t) |
| 106 | rw [iteratedFDeriv_comp (i := n) (f := fun y : E => y+D.field t y) |
| 107 | (g := (A.field t : E → V)) (A.smooth t).contDiffAt hinner.contDiffAt (by simp)] |
| 108 | simp only [ContinuousMap.sum_apply, BoundedContinuousFunction.sum_apply, |
| 109 | FormalMultilinearSeries.taylorComp, FormalMultilinearSeries.compAlongOrderedFinpartition] |
| 110 | apply Finset.sum_congr rfl |
| 111 | intro c _ |
| 112 | exact partitionJet_apply A D c t x |
| 113 | |
| 114 | @[simp] theorem compDisplacement_apply (A : SmoothTimeField K E V) (D : SmoothTimeField K E E) |
| 115 | (t : K) (x : E) : |
| 116 | (A.compDisplacement D).field t x = A.field t (x+D.field t x) := rfl |
| 117 | |
| 118 | end SmoothTimeField |