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.TimeH1OperatorProduct |
| 2 | |
| 3 | /-! |
| 4 | # Operator products of genuine H¹ fields with arbitrary terminal trace |
| 5 | |
| 6 | Unlike a terminal primitive, a momentum field need not vanish at the final time. |
| 7 | This file constructs the derivative of a C¹ coefficient times any actual AC |
| 8 | representative with Bochner L² value and derivative classes. |
| 9 | -/ |
| 10 | |
| 11 | noncomputable section |
| 12 | |
| 13 | namespace EulerTimeH1FieldProduct |
| 14 | |
| 15 | open MeasureTheory Set Filter EulerTimeLp EulerTerminalTimePrimitive |
| 16 | EulerVolterraConvolution EulerTimeH1OperatorProduct |
| 17 | |
| 18 | variable {E F : Type*} [NormedAddCommGroup E] [NormedSpace ℝ E] |
| 19 | [NormedAddCommGroup F] [NormedSpace ℝ F] |
| 20 | |
| 21 | variable (T : ℝ) (hT : 0 ≤ T) |
| 22 | (A A' : C(Icc (0 : ℝ) T, E →L[ℝ] F)) |
| 23 | |
| 24 | /-- The product derivative is constructed in the actual L² space. -/ |
| 25 | def fieldProductDerivative (p q : TimeLp T E) : TimeLp T F := |
| 26 | timeMultiplier T hT A' p + timeMultiplier T hT A q |
| 27 | |
| 28 | /-- The constructed derivative is the pointwise Leibniz expression a.e. -/ |
| 29 | theorem fieldProductDerivative_ae (p q : TimeLp T E) : |
| 30 | (fieldProductDerivative T hT A A' p q : ℝ → F) =ᵐ[timeMeasure T] |
| 31 | fun t => extendPath T hT A' t (p t) + extendPath T hT A t (q t) := by |
| 32 | filter_upwards [Lp.coeFn_add (timeMultiplier T hT A' p) (timeMultiplier T hT A q), |
| 33 | timeMultiplier_ae T hT A' p, timeMultiplier_ae T hT A q] with t hadd hp hq |
| 34 | simp only [Pi.add_apply] at hadd |
| 35 | change (timeMultiplier T hT A' p + timeMultiplier T hT A q) t = _ |
| 36 | rw [hadd, hp, hq] |
| 37 | |
| 38 | /-- The actual Bochner product has the given continuous product representative. -/ |
| 39 | theorem fieldProduct_ae (p : TimeLp T E) (η : ℝ → E) |
| 40 | (hp : (p : ℝ → E) =ᵐ[timeMeasure T] η) : |
| 41 | (timeMultiplier T hT A p : ℝ → F) =ᵐ[timeMeasure T] |
| 42 | fun t => extendPath T hT A t (η t) := by |
| 43 | filter_upwards [timeMultiplier_ae T hT A p, hp] with t hmul hp' |
| 44 | exact hmul.trans (congrArg (fun z : E => extendPath T hT A t z) hp') |
| 45 | |
| 46 | variable (hA : ∀ t : Icc (0 : ℝ) T, |
| 47 | HasDerivWithinAt (extendPath T hT A) (A' t) (Icc (0 : ℝ) T) t) |
| 48 | |
| 49 | include hA in |
| 50 | /-- Within-interval coefficient derivatives give genuine derivatives almost |
| 51 | everywhere; endpoints have zero time measure. -/ |
| 52 | theorem operatorPath_hasDerivAt_ae : |
| 53 | ∀ᵐ t ∂timeMeasure T, |
| 54 | HasDerivAt (extendPath T hT A) (extendPath T hT A' t) t := by |
| 55 | have hmem : ∀ᵐ t ∂timeMeasure T, t ∈ Ioo (0 : ℝ) T := by |
| 56 | change ∀ᵐ t ∂volume.restrict (Icc (0 : ℝ) T), t ∈ Ioo (0 : ℝ) T |
| 57 | rw [← restrict_Ioo_eq_restrict_Icc] |
| 58 | exact ae_restrict_mem measurableSet_Ioo |
| 59 | filter_upwards [hmem] with t ht |
| 60 | have hAt := (hA ⟨t, ht.1.le, ht.2.le⟩).hasDerivAt (Icc_mem_nhds ht.1 ht.2) |
| 61 | simpa only [extendPath, projIcc_of_mem hT ⟨ht.1.le, ht.2.le⟩] using hAt |
| 62 | |
| 63 | include hA in |
| 64 | /-- C¹ operator application preserves actual absolute continuity. -/ |
| 65 | theorem fieldProduct_absolutelyContinuous (η : ℝ → E) |
| 66 | (hη : AbsolutelyContinuousOnInterval η 0 T) : |
| 67 | AbsolutelyContinuousOnInterval (fun t => extendPath T hT A t (η t)) 0 T := |
| 68 | clm_apply_absolutelyContinuous (operatorPath_absolutelyContinuous T hT A A' hA) hη |
| 69 | |
| 70 | include hA in |
| 71 | /-- The L² product derivative is the derivative of the actual product representative. |
| 72 | No vanishing terminal trace is assumed. -/ |
| 73 | theorem fieldProduct_hasDerivAt_ae (p q : TimeLp T E) (η : ℝ → E) |
| 74 | (hp : (p : ℝ → E) =ᵐ[timeMeasure T] η) |
| 75 | (hηder : ∀ᵐ t ∂timeMeasure T, HasDerivAt η (q t) t) : |
| 76 | ∀ᵐ t ∂timeMeasure T, |
| 77 | HasDerivAt (fun r => extendPath T hT A r (η r)) |
| 78 | (fieldProductDerivative T hT A A' p q t) t := by |
| 79 | filter_upwards [operatorPath_hasDerivAt_ae T hT A A' hA, hp, hηder, |
| 80 | fieldProductDerivative_ae T hT A A' p q] with t hAt hp' hη' hprod |
| 81 | rw [hprod, hp'] |
| 82 | exact hAt.clm_apply hη' |
| 83 | |
| 84 | include hA in |
| 85 | /-- A complete H¹ product conclusion, with actual value and derivative classes. -/ |
| 86 | theorem fieldProduct_h1 (p q : TimeLp T E) (η : ℝ → E) |
| 87 | (hη : AbsolutelyContinuousOnInterval η 0 T) |
| 88 | (hp : (p : ℝ → E) =ᵐ[timeMeasure T] η) |
| 89 | (hηder : ∀ᵐ t ∂timeMeasure T, HasDerivAt η (q t) t) : |
| 90 | AbsolutelyContinuousOnInterval (fun t => extendPath T hT A t (η t)) 0 T ∧ |
| 91 | (timeMultiplier T hT A p : ℝ → F) =ᵐ[timeMeasure T] |
| 92 | (fun t => extendPath T hT A t (η t)) ∧ |
| 93 | ∀ᵐ t ∂timeMeasure T, |
| 94 | HasDerivAt (fun r => extendPath T hT A r (η r)) |
| 95 | (fieldProductDerivative T hT A A' p q t) t := |
| 96 | ⟨fieldProduct_absolutelyContinuous T hT A A' hA η hη, |
| 97 | fieldProduct_ae T hT A p η hp, |
| 98 | fieldProduct_hasDerivAt_ae T hT A A' hA p q η hp hηder⟩ |
| 99 | |
| 100 | /-- The constructed derivative has the expected operator-norm bound. -/ |
| 101 | theorem fieldProductDerivative_norm_le (p q : TimeLp T E) : |
| 102 | ‖fieldProductDerivative T hT A A' p q‖ ≤ ‖A'‖*‖p‖+‖A‖*‖q‖ := |
| 103 | (norm_add_le _ _).trans (add_le_add (timeApply_bound T hT A' p) (timeApply_bound T hT A q)) |
| 104 | |
| 105 | end EulerTimeH1FieldProduct |