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.MildWordEquation |
| 2 | |
| 3 | /-! Actual highest derivative words preserve the gained-derivative heat mild formula. -/ |
| 4 | |
| 5 | noncomputable section |
| 6 | |
| 7 | namespace EulerMildTopWord |
| 8 | |
| 9 | open MeasureTheory Set EulerLiftedGradientSpace EulerCylinderSobolevSpace EulerSobolevHeat |
| 10 | EulerSobolevHeatGenerator EulerVolterraConvolution EulerDuhamelDifferentiation |
| 11 | EulerMildEquationBridge EulerMildWordEquation EulerSobolevWordBlocks |
| 12 | open scoped Topology NNReal |
| 13 | |
| 14 | variable (period : ℝ) [Fact (0 < period)] |
| 15 | |
| 16 | /-- The gained-kernel integral has exactly the ordinary Duhamel value after actual truncation. -/ |
| 17 | theorem truncate_mild_integral {q : ℕ} (ν : ℝ) (hν : 0 < ν) (T : ℝ) (hT : 0 ≤ T) |
| 18 | (f : C(Icc (0 : ℝ) T, SobolevSpace period q)) (t : Icc (0 : ℝ) T) : |
| 19 | truncateOperator period q |
| 20 | (∫ r in (0 : ℝ)..t.val, heatKernel period q ν hν r (extendPath T hT f (t.val-r))) = |
| 21 | duhamel period ν T hT f t.val := by |
| 22 | have h := truncate_heatConvolution period ν hν T hT f t |
| 23 | rw [convolution_eq_interval T hT (heatKernel period q ν hν) (parabolicKernelBound ν) |
| 24 | (heatKernel_joint_continuous period q ν hν) (parabolicKernelBound_integrable ν T hT) |
| 25 | (fun r hr => parabolicKernelBound_nonneg ν r hr.1) |
| 26 | (fun r hr y => heatKernel_bound period q ν hν r hr.1 y) f t] at h |
| 27 | exact h |
| 28 | |
| 29 | /-- An actual continuous H¹ path is the gained-kernel mild solution as soon as its genuine L² truncation obeys Duhamel. -/ |
| 30 | theorem mild_of_truncated_formula (ν : ℝ) (hν : 0 < ν) (T : ℝ) (hT : 0 ≤ T) |
| 31 | (u₀ : SobolevSpace period 1) (f : C(Icc (0 : ℝ) T, SobolevSpace period 0)) |
| 32 | (u : C(Icc (0 : ℝ) T, SobolevSpace period 1)) |
| 33 | (hsol : ∀ t : Icc (0 : ℝ) T, truncateOperator period 0 (u t) = |
| 34 | heatFlow period 0 ν t.val (truncateOperator period 0 u₀) + duhamel period ν T hT f t.val) : |
| 35 | ∀ t : Icc (0 : ℝ) T, |
| 36 | u t = heatOperator period 1 (2*ν*t.val).toNNReal u₀ + |
| 37 | ∫ r in (0 : ℝ)..t.val, heatKernel period 0 ν hν r (extendPath T hT f (t.val-r)) := by |
| 38 | intro t |
| 39 | apply value_injective period |
| 40 | have h := hsol t |
| 41 | change truncateOperator period 0 (u t) = heatOperator period 0 (2*ν*t.val).toNNReal (truncateOperator period 0 u₀) + _ at h |
| 42 | rw [← truncate_heatOperator, ← truncate_mild_integral period ν hν T hT f t, ← map_add] at h |
| 43 | exact congrArg (fun x : SobolevSpace period 0 => value period x) h |
| 44 | |
| 45 | /-- A genuine bounded derivative block with an arbitrary available Sobolev margin. -/ |
| 46 | def boundedWordBlock (p n : ℕ) {q : ℕ} (h : p+n ≤ q) (w : Fin n → Fin 4) : |
| 47 | SobolevSpace period q →L[ℝ] SobolevSpace period p := |
| 48 | (wordBlock period p n w).comp (restrictOperator period h) |
| 49 | |
| 50 | /-- A bounded block has the exact underlying derivative word. -/ |
| 51 | theorem boundedWordBlock_value (p n : ℕ) {q : ℕ} (h : p+n ≤ q) (w : Fin n → Fin 4) |
| 52 | (u : SobolevSpace period q) : |
| 53 | value period (boundedWordBlock period p n h w u) = word period u (by omega : n ≤ q) w := by |
| 54 | change value period (wordBlock period p n w (restrictOperator period h u)) = _ |
| 55 | rw [wordBlock_value] |
| 56 | rfl |
| 57 | |
| 58 | /-- Every bounded actual word block commutes with the genuine heat semigroup. -/ |
| 59 | theorem boundedWordBlock_heat (p n : ℕ) {q : ℕ} (h : p+n ≤ q) (w : Fin n → Fin 4) |
| 60 | (v : ℝ≥0) (u : SobolevSpace period q) : |
| 61 | boundedWordBlock period p n h w (heatOperator period q v u) = |
| 62 | heatOperator period p v (boundedWordBlock period p n h w u) := by |
| 63 | apply value_injective period |
| 64 | rw [boundedWordBlock_value, heatOperator_value, boundedWordBlock_value] |
| 65 | rfl |
| 66 | |
| 67 | /-- Forgetting the last output derivative of a word block agrees with restricting the input. -/ |
| 68 | theorem boundedWordBlock_truncate (q : ℕ) (w : Fin q → Fin 4) (u : SobolevSpace period (q+1)) : |
| 69 | truncateOperator period 0 (boundedWordBlock period 1 q (by omega) w u) = |
| 70 | boundedWordBlock period 0 q (by omega) w (truncateOperator period q u) := by |
| 71 | apply value_injective period |
| 72 | rw [value_truncateOperator, boundedWordBlock_value, boundedWordBlock_value] |
| 73 | rfl |
| 74 | |
| 75 | /-- The actual gained-derivative formula implies its ordinary lower-order form for a continuous source. -/ |
| 76 | theorem truncated_formula {q : ℕ} (ν : ℝ) (hν : 0 < ν) (T : ℝ) (hT : 0 ≤ T) |
| 77 | (u₀ : SobolevSpace period (q+1)) (f : C(Icc (0 : ℝ) T, SobolevSpace period q)) |
| 78 | (u : C(Icc (0 : ℝ) T, SobolevSpace period (q+1))) |
| 79 | (hsol : ∀ t : Icc (0 : ℝ) T, |
| 80 | u t = heatOperator period (q+1) (2*ν*t.val).toNNReal u₀ + |
| 81 | ∫ r in (0 : ℝ)..t.val, heatKernel period q ν hν r (extendPath T hT f (t.val-r))) |
| 82 | (t : Icc (0 : ℝ) T) : |
| 83 | truncateOperator period q (u t) = heatFlow period q ν t.val (truncateOperator period q u₀) + |
| 84 | duhamel period ν T hT f t.val := by |
| 85 | rw [hsol t, map_add, truncate_heatOperator, truncate_mild_integral] |
| 86 | rfl |
| 87 | |
| 88 | /-- Actual highest derivative blocks satisfy the lower-order Duhamel identity. -/ |
| 89 | theorem top_word_truncated {q : ℕ} (ν T : ℝ) (hT : 0 ≤ T) |
| 90 | (u₀ : SobolevSpace period (q+1)) (f : C(Icc (0 : ℝ) T, SobolevSpace period q)) |
| 91 | (u : C(Icc (0 : ℝ) T, SobolevSpace period (q+1))) |
| 92 | (hsol : ∀ t : Icc (0 : ℝ) T, truncateOperator period q (u t) = |
| 93 | heatFlow period q ν t.val (truncateOperator period q u₀) + duhamel period ν T hT f t.val) |
| 94 | (w : Fin q → Fin 4) (t : Icc (0 : ℝ) T) : |
| 95 | truncateOperator period 0 (boundedWordBlock period 1 q (by omega) w (u t)) = |
| 96 | heatFlow period 0 ν t.val (truncateOperator period 0 (boundedWordBlock period 1 q (by omega) w u₀)) + |
| 97 | duhamel period ν T hT (mapPath period T (boundedWordBlock period 0 q (by omega) w) f) t.val := by |
| 98 | let B : SobolevSpace period q →L[ℝ] SobolevSpace period 0 := boundedWordBlock period 0 q (by omega) w |
| 99 | have hh := congrArg B (hsol t) |
| 100 | have hadd := map_add B (heatFlow period q ν t.val (truncateOperator period q u₀)) (duhamel period ν T hT f t.val) |
| 101 | have hheat := boundedWordBlock_heat period 0 q (by omega) w (2*ν*t.val).toNNReal (truncateOperator period q u₀) |
| 102 | have hduh := map_duhamel period B (boundedWordBlock_heat period 0 q (by omega) w) ν T hT f t.val |
| 103 | rw [hadd, hduh] at hh |
| 104 | change B (truncateOperator period q (u t)) = B (heatOperator period q (2*ν*t.val).toNNReal (truncateOperator period q u₀)) + _ at hh |
| 105 | rw [hheat] at hh |
| 106 | rw [boundedWordBlock_truncate, boundedWordBlock_truncate] |
| 107 | exact hh |
| 108 | |
| 109 | /-- Every highest-order derivative word of an actual H^(q+1) mild solution is itself an actual H¹ mild solution with its differentiated L² source. -/ |
| 110 | theorem top_word_mild {q : ℕ} (ν : ℝ) (hν : 0 < ν) (T : ℝ) (hT : 0 ≤ T) |
| 111 | (u₀ : SobolevSpace period (q+1)) (f : C(Icc (0 : ℝ) T, SobolevSpace period q)) |
| 112 | (u : C(Icc (0 : ℝ) T, SobolevSpace period (q+1))) |
| 113 | (hsol : ∀ t : Icc (0 : ℝ) T, |
| 114 | u t = heatOperator period (q+1) (2*ν*t.val).toNNReal u₀ + |
| 115 | ∫ r in (0 : ℝ)..t.val, heatKernel period q ν hν r (extendPath T hT f (t.val-r))) |
| 116 | (w : Fin q → Fin 4) : |
| 117 | ∀ t : Icc (0 : ℝ) T, |
| 118 | boundedWordBlock period 1 q (by omega) w (u t) = |
| 119 | heatOperator period 1 (2*ν*t.val).toNNReal (boundedWordBlock period 1 q (by omega) w u₀) + |
| 120 | ∫ r in (0 : ℝ)..t.val, heatKernel period 0 ν hν r |
| 121 | (extendPath T hT (mapPath period T (boundedWordBlock period 0 q (by omega) w) f) (t.val-r)) := by |
| 122 | exact mild_of_truncated_formula period ν hν T hT |
| 123 | (boundedWordBlock period 1 q (by omega) w u₀) |
| 124 | (mapPath period T (boundedWordBlock period 0 q (by omega) w) f) |
| 125 | (mapPath period T (boundedWordBlock period 1 q (by omega) w) u) |
| 126 | (top_word_truncated period ν T hT u₀ f u (truncated_formula period ν hν T hT u₀ f u hsol) w) |
| 127 | |
| 128 | end EulerMildTopWord |