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.SmoothFlowJets |
| 2 | import Euler.GevreyFlowFinite |
| 3 | |
| 4 | /-! Source-scale Gevrey bounds for the actual globally constructed Picard |
| 5 | flow. Only bounds on the given velocity jets and the small product BRT |
| 6 | are hypotheses; smoothness and all time-jet identities of the flow come |
| 7 | from its construction. -/ |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | open Set MeasureTheory |
| 12 | open scoped ContDiff BoundedContinuousFunction Interval |
| 13 | |
| 14 | namespace EulerSmoothFlowGevrey |
| 15 | |
| 16 | open EulerSmoothBanachFlow EulerGevreyFlowFinite EulerGevreyGeneratingDerivatives |
| 17 | EulerVolterraConvolution |
| 18 | |
| 19 | variable {E : Type} [NormedAddCommGroup E] [NormedSpace ℝ E] [FiniteDimensional ℝ E] |
| 20 | (T : ℝ) (hT : 0 ≤ T) (A : SmoothTimeField (Icc (0 : ℝ) T) E E) |
| 21 | |
| 22 | private local instance (n : ℕ) : NormedAddCommGroup (E [×n]→L[ℝ] E) := inferInstance |
| 23 | private local instance (n : ℕ) : NormedSpace ℝ (E [×n]→L[ℝ] E) := inferInstance |
| 24 | private local instance (n : ℕ) : NormedAddCommGroup (E →ᵇ (E [×n]→L[ℝ] E)) := inferInstance |
| 25 | private local instance (n : ℕ) : NormedSpace ℝ (E →ᵇ (E [×n]→L[ℝ] E)) := inferInstance |
| 26 | |
| 27 | def velocityExtension (t : ℝ) (x : E) : E := A.field (projIcc 0 T hT t) x |
| 28 | |
| 29 | omit [FiniteDimensional ℝ E] in |
| 30 | @[simp] theorem velocityExtension_apply (t : Icc (0 : ℝ) T) (x : E) : |
| 31 | velocityExtension T hT A t x = A.field t x := by |
| 32 | simp only [velocityExtension, projIcc_of_mem hT t.property] |
| 33 | |
| 34 | omit [FiniteDimensional ℝ E] in |
| 35 | theorem velocityExtension_contDiff (t : ℝ) : |
| 36 | ContDiff ℝ ∞ (velocityExtension T hT A t) := A.smooth _ |
| 37 | |
| 38 | omit [FiniteDimensional ℝ E] in |
| 39 | theorem velocityExtension_jet_bound (B R : ℝ) |
| 40 | (hb : ∀ n, ‖A.jet n‖ ≤ B*R^n*(n.factorial : ℝ)^2) |
| 41 | (n : ℕ) (t : ℝ) (x : E) : |
| 42 | ‖iteratedFDeriv ℝ n (velocityExtension T hT A t) x‖ ≤ B*R^n*(n.factorial : ℝ)^2 := by |
| 43 | change ‖iteratedFDeriv ℝ n (A.field (projIcc 0 T hT t) : E → E) x‖ ≤ _ |
| 44 | rw [← A.jet_eq] |
| 45 | exact ((A.jet n (projIcc 0 T hT t)).norm_coe_le_norm x).trans |
| 46 | (((A.jet n).norm_coe_le_norm _).trans (hb n)) |
| 47 | |
| 48 | theorem composition_jet_hasDerivWithinAt (n : ℕ) (x : E) (t : ℝ) (ht : t ∈ Icc 0 T) : |
| 49 | HasDerivWithinAt (fun s => iteratedFDeriv ℝ n (displacement T hT A s) x) |
| 50 | (iteratedFDeriv ℝ n (velocityExtension T hT A t ∘ (id+displacement T hT A t)) x) |
| 51 | (Icc 0 T) t := by |
| 52 | have he : velocityExtension T hT A t ∘ (id+displacement T hT A t) = |
| 53 | fun y => A.field ⟨t,ht⟩ (y+displacement T hT A t y) := by |
| 54 | funext y |
| 55 | exact velocityExtension_apply T hT A ⟨t,ht⟩ _ |
| 56 | rw [he] |
| 57 | exact displacement_jet_hasDerivWithinAt T hT A n x ⟨t,ht⟩ |
| 58 | |
| 59 | theorem composition_jet_continuous (n : ℕ) (x : E) : |
| 60 | ContinuousOn (fun t => iteratedFDeriv ℝ n |
| 61 | (velocityExtension T hT A t ∘ (id+displacement T hT A t)) x) (Icc 0 T) := by |
| 62 | rw [continuousOn_iff_continuous_domRestrict] |
| 63 | change Continuous (fun t : Icc (0 : ℝ) T => iteratedFDeriv ℝ n |
| 64 | (velocityExtension T hT A t ∘ (id+displacement T hT A t)) x) |
| 65 | have he : (fun t : Icc (0 : ℝ) T => iteratedFDeriv ℝ n |
| 66 | (velocityExtension T hT A t ∘ (id+displacement T hT A t)) x) = |
| 67 | fun t : Icc (0 : ℝ) T => iteratedFDeriv ℝ n |
| 68 | (fun y => A.field t (y+displacement T hT A t y)) x := by |
| 69 | funext t |
| 70 | congr 1 |
| 71 | funext y |
| 72 | exact velocityExtension_apply T hT A t _ |
| 73 | rw [he] |
| 74 | exact velocity_jet_continuous T hT A n x |
| 75 | |
| 76 | /-- A finite generating sum for the actual constructed flow, with a |
| 77 | cutoff-independent radius and coefficient. -/ |
| 78 | theorem constructed_generating_sum_bound (B R : ℝ) |
| 79 | (hB : 0 ≤ B) (hR : 0 < R) (hsmall : B*R*T ≤ 1/8) |
| 80 | (hb : ∀ n, ‖A.jet n‖ ≤ B*R^n*(n.factorial : ℝ)^2) |
| 81 | (N : ℕ) (t : ℝ) (ht : t ∈ Icc 0 T) (x : E) : |
| 82 | derivativeSum (displacement T hT A t) N ((4*R)⁻¹) x ≤ B*t := by |
| 83 | apply flow_generating_sum_bound_of_jet_derivative |
| 84 | (displacement T hT A) (velocityExtension T hT A) N T B R hT hB hR hsmall |
| 85 | (fun s _ => (displacement_contDiff T hT A s).of_le (by simp)) |
| 86 | (fun s _ => (velocityExtension_contDiff T hT A s).of_le (by simp)) |
| 87 | (displacement_zero T hT A) _ _ _ t ht x |
| 88 | · exact fun s _ y n _ => velocityExtension_jet_bound T hT A B R hb n s y |
| 89 | · exact fun n _ s hs y => composition_jet_hasDerivWithinAt T hT A n y s hs |
| 90 | · exact fun n _ y => composition_jet_continuous T hT A n y |
| 91 | |
| 92 | theorem displacement_positive_bound (B R : ℝ) |
| 93 | (hB : 0 ≤ B) (hR : 0 < R) (hsmall : B*R*T ≤ 1/8) |
| 94 | (hb : ∀ n, ‖A.jet n‖ ≤ B*R^n*(n.factorial : ℝ)^2) |
| 95 | (n : ℕ) (hn : 0 < n) (t : ℝ) (ht : t ∈ Icc 0 T) (x : E) : |
| 96 | ‖iteratedFDeriv ℝ n (displacement T hT A t) x‖ ≤ |
| 97 | B*t*(4*R)^n*(n.factorial : ℝ)^2 := by |
| 98 | exact derivative_bound_of_generating_sum (displacement T hT A t) n n R (B*t) x hR |
| 99 | (Finset.mem_Icc.mpr ⟨hn,le_rfl⟩) |
| 100 | (constructed_generating_sum_bound T hT A B R hB hR hsmall hb n t ht x) |
| 101 | |
| 102 | /-- Order zero uses direct integration of the actual velocity. -/ |
| 103 | theorem displacement_zero_bound (B R : ℝ) |
| 104 | (hb : ∀ n, ‖A.jet n‖ ≤ B*R^n*(n.factorial : ℝ)^2) |
| 105 | (t : ℝ) (ht : t ∈ Icc 0 T) (x : E) : |
| 106 | ‖iteratedFDeriv ℝ 0 (displacement T hT A t) x‖ ≤ B*t := by |
| 107 | let v := fun s => velocityExtension T hT A s ∘ (id+displacement T hT A s) |
| 108 | have he := jet_integral_of_hasDerivWithinAt (displacement T hT A) v 0 T |
| 109 | (displacement_zero T hT A) |
| 110 | (fun s hs y => composition_jet_hasDerivWithinAt T hT A 0 y s hs) |
| 111 | (composition_jet_continuous T hT A 0) t ht x |
| 112 | rw [he] |
| 113 | apply (intervalIntegral.norm_integral_le_integral_norm ht.1).trans |
| 114 | have hc := ((composition_jet_continuous T hT A 0 x).mono |
| 115 | (Icc_subset_Icc_right ht.2)).norm |
| 116 | have hi := intervalIntegral.integral_mono_on (μ := volume) ht.1 |
| 117 | (hc.intervalIntegrable_of_Icc ht.1) intervalIntegrable_const |
| 118 | (g := fun _ : ℝ => B) (fun s _ => by |
| 119 | change ‖iteratedFDeriv ℝ 0 (v s) x‖ ≤ B |
| 120 | rw [norm_iteratedFDeriv_zero] |
| 121 | change ‖velocityExtension T hT A s (x+displacement T hT A s x)‖ ≤ B |
| 122 | have hz := velocityExtension_jet_bound T hT A B R hb 0 s |
| 123 | (x+displacement T hT A s x) |
| 124 | simpa only [norm_iteratedFDeriv_zero, pow_zero, Nat.factorial_zero, Nat.cast_one, |
| 125 | one_pow, mul_one] using hz) |
| 126 | simpa only [intervalIntegral.integral_const, sub_zero, smul_eq_mul, mul_comm] using hi |
| 127 | |
| 128 | /-- Source-only all-order spatial estimate for the actual Picard flow |
| 129 | displacement. It includes order zero and is linear in B*t. -/ |
| 130 | theorem displacement_bound (B R : ℝ) |
| 131 | (hB : 0 ≤ B) (hR : 0 < R) (hsmall : B*R*T ≤ 1/8) |
| 132 | (hb : ∀ n, ‖A.jet n‖ ≤ B*R^n*(n.factorial : ℝ)^2) |
| 133 | (n : ℕ) (t : ℝ) (ht : t ∈ Icc 0 T) (x : E) : |
| 134 | ‖iteratedFDeriv ℝ n (displacement T hT A t) x‖ ≤ |
| 135 | B*t*(4*R)^n*(n.factorial : ℝ)^2 := by |
| 136 | by_cases hn : n = 0 |
| 137 | · subst n |
| 138 | simpa only [pow_zero, Nat.factorial_zero, Nat.cast_one, one_pow, mul_one] using |
| 139 | displacement_zero_bound T hT A B R hb t ht x |
| 140 | · exact displacement_positive_bound T hT A B R hB hR hsmall hb n (Nat.pos_of_ne_zero hn) t ht x |
| 141 | |
| 142 | end EulerSmoothFlowGevrey |