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.MeanCoefficientMultipliers |
| 2 | import Euler.TimeH1OperatorProduct |
| 3 | |
| 4 | /-! |
| 5 | Pointwise time differentiation of actual matrix fields yields differentiation |
| 6 | of their L² multiplication operators. The bridge is proved by evaluating the |
| 7 | Bochner fundamental theorem of calculus, not by assuming operator derivatives. |
| 8 | -/ |
| 9 | |
| 10 | noncomputable section |
| 11 | |
| 12 | namespace EulerMeanCoefficients |
| 13 | |
| 14 | open MeasureTheory InnerProductSpace Set EulerSmoothLimit EulerMeanSolenoidal EulerVolterraConvolution |
| 15 | open scoped BoundedContinuousFunction |
| 16 | |
| 17 | private local instance : NormedAddCommGroup Field := inferInstance |
| 18 | private local instance : NormedSpace ℝ Field := inferInstance |
| 19 | private local instance : NormedAddCommGroup (L2 →L[ℝ] L2) := inferInstance |
| 20 | private local instance : NormedSpace ℝ (L2 →L[ℝ] L2) := inferInstance |
| 21 | |
| 22 | def operatorPath (T : ℝ) (A : C(Icc (0 : ℝ) T, Field)) : |
| 23 | C(Icc (0 : ℝ) T, L2 →L[ℝ] L2) := |
| 24 | ⟨fun t => multiplierMap (A t), multiplierMap.continuous.comp A.continuous⟩ |
| 25 | |
| 26 | theorem field_integral_eq_sub (T : ℝ) (hT : 0 ≤ T) |
| 27 | (A A' : C(Icc (0 : ℝ) T, Field)) |
| 28 | (hpoint : ∀ t ∈ Icc (0 : ℝ) T, ∀ x : Space, |
| 29 | HasDerivWithinAt (fun s => extendPath (Y := Field) T hT A s x) |
| 30 | (extendPath (Y := Field) T hT A' t x) (Icc (0 : ℝ) T) t) |
| 31 | (t : ℝ) (ht : t ∈ Icc (0 : ℝ) T) : |
| 32 | (∫ s in (0 : ℝ)..t, extendPath (Y := Field) T hT A' s) = |
| 33 | extendPath (Y := Field) T hT A t - extendPath (Y := Field) T hT A 0 := by |
| 34 | apply BoundedContinuousFunction.ext |
| 35 | intro x |
| 36 | let ev : Field →L[ℝ] (Space →L[ℝ] Space) := BoundedContinuousFunction.evalCLM ℝ x |
| 37 | have hcA := ev.continuous.comp (extendPath_continuous (Y := Field) T hT A) |
| 38 | have hcA' := ev.continuous.comp (extendPath_continuous (Y := Field) T hT A') |
| 39 | calc |
| 40 | (∫ s in (0 : ℝ)..t, extendPath (Y := Field) T hT A' s) x = |
| 41 | ∫ s in (0 : ℝ)..t, extendPath (Y := Field) T hT A' s x := by |
| 42 | change ev (∫ s in (0 : ℝ)..t, extendPath (Y := Field) T hT A' s) = |
| 43 | ∫ s in (0 : ℝ)..t, ev (extendPath (Y := Field) T hT A' s) |
| 44 | exact (ContinuousLinearMap.intervalIntegral_comp_comm (𝕜 := ℝ) (E := Field) |
| 45 | (F := Space →L[ℝ] Space) (μ := volume) ev |
| 46 | ((extendPath_continuous (Y := Field) T hT A').intervalIntegrable 0 t)).symm |
| 47 | _ = extendPath (Y := Field) T hT A t x - extendPath (Y := Field) T hT A 0 x := by |
| 48 | apply intervalIntegral.integral_eq_sub_of_hasDerivAt_of_le ht.1 hcA.continuousOn |
| 49 | ?_ (hcA'.intervalIntegrable 0 t) |
| 50 | intro s hs |
| 51 | have hsT : s < T := hs.2.trans_le ht.2 |
| 52 | exact (hpoint s ⟨hs.1.le, hsT.le⟩ x).hasDerivAt (Icc_mem_nhds hs.1 hsT) |
| 53 | |
| 54 | /-- Pointwise matrix derivatives and sup-norm continuity of the derivative are sufficient. -/ |
| 55 | theorem field_hasDerivWithinAt (T : ℝ) (hT : 0 ≤ T) |
| 56 | (A A' : C(Icc (0 : ℝ) T, Field)) |
| 57 | (hpoint : ∀ t ∈ Icc (0 : ℝ) T, ∀ x : Space, |
| 58 | HasDerivWithinAt (fun s => extendPath (Y := Field) T hT A s x) |
| 59 | (extendPath (Y := Field) T hT A' t x) (Icc (0 : ℝ) T) t) |
| 60 | (t : ℝ) (ht : t ∈ Icc (0 : ℝ) T) : |
| 61 | HasDerivWithinAt (extendPath (Y := Field) T hT A) (extendPath (Y := Field) T hT A' t) (Icc (0 : ℝ) T) t := by |
| 62 | have hc := extendPath_continuous (Y := Field) T hT A' |
| 63 | have hd := intervalIntegral.integral_hasDerivAt_right (hc.intervalIntegrable 0 t) |
| 64 | hc.aestronglyMeasurable.stronglyMeasurableAtFilter hc.continuousAt |
| 65 | apply (hd.const_add (extendPath (Y := Field) T hT A 0)).hasDerivWithinAt.congr_of_mem ?_ ht |
| 66 | intro s hs |
| 67 | rw [field_integral_eq_sub T hT A A' hpoint s hs] |
| 68 | abel |
| 69 | |
| 70 | /-- The operator-valued derivative used by the mean solver follows from the matrix-field derivative. -/ |
| 71 | theorem operatorPath_hasDerivWithinAt (T : ℝ) (hT : 0 ≤ T) |
| 72 | (A A' : C(Icc (0 : ℝ) T, Field)) |
| 73 | (hpoint : ∀ t ∈ Icc (0 : ℝ) T, ∀ x : Space, |
| 74 | HasDerivWithinAt (fun s => extendPath (Y := Field) T hT A s x) |
| 75 | (extendPath (Y := Field) T hT A' t x) (Icc (0 : ℝ) T) t) : |
| 76 | ∀ t : Icc (0 : ℝ) T, |
| 77 | HasDerivWithinAt (extendPath T hT (operatorPath T A)) (operatorPath T A' t) |
| 78 | (Icc (0 : ℝ) T) t := by |
| 79 | intro t |
| 80 | have hlinear : HasFDerivAt (fun A : Field => multiplierMap A) multiplierMap |
| 81 | (extendPath (Y := Field) T hT A t) := |
| 82 | ContinuousLinearMap.hasFDerivAt (𝕜 := ℝ) (E := Field) (F := L2 →L[ℝ] L2) multiplierMap |
| 83 | have hfield := field_hasDerivWithinAt T hT A A' hpoint t t.property |
| 84 | have hd : HasDerivWithinAt (fun s => multiplierMap (extendPath (Y := Field) T hT A s)) |
| 85 | (multiplierMap (extendPath (Y := Field) T hT A' t)) (Icc (0 : ℝ) T) t := |
| 86 | hlinear.comp_hasDerivWithinAt (t : ℝ) hfield |
| 87 | change HasDerivWithinAt (fun s => multiplierMap (A (projIcc 0 T hT s))) |
| 88 | (multiplierMap (A' t)) (Icc (0 : ℝ) T) t |
| 89 | change HasDerivWithinAt (fun s => multiplierMap (A (projIcc 0 T hT s))) |
| 90 | (multiplierMap (A' (projIcc 0 T hT t))) (Icc (0 : ℝ) T) t at hd |
| 91 | rwa [projIcc_of_mem hT t.property] at hd |
| 92 | |
| 93 | theorem operatorPath_inverse (T : ℝ) (A B : C(Icc (0 : ℝ) T, Field)) |
| 94 | (hAB : ∀ t x v, A t x (B t x v) = v) : |
| 95 | ∀ t (u : L2), operatorPath T A t (operatorPath T B t u) = u := by |
| 96 | intro t u |
| 97 | exact multiplier_inverse (A t) (B t) (hAB t) u |
| 98 | |
| 99 | theorem operatorPath_quadratic_upper (T : ℝ) (A : C(Icc (0 : ℝ) T, Field)) (K : ℝ) |
| 100 | (hA : ∀ t x v, ⟪A t x v, v⟫_ℝ ≤ K * ‖v‖^2) : |
| 101 | ∀ t (u : L2), ⟪operatorPath T A t u, u⟫_ℝ ≤ K * ‖u‖^2 := by |
| 102 | intro t u |
| 103 | exact multiplier_quadratic_upper (A t) K (hA t) u |
| 104 | |
| 105 | end EulerMeanCoefficients |