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.MildEquationBridge |
| 2 | import Euler.SobolevWordBlocks |
| 3 | |
| 4 | /-! Every available finite derivative word of the actual viscous mild solution satisfies its differentiated L² equation. -/ |
| 5 | |
| 6 | noncomputable section |
| 7 | |
| 8 | namespace EulerMildWordEquation |
| 9 | |
| 10 | open MeasureTheory Set EulerLiftedGradientSpace EulerCylinderSobolevSpace EulerSobolevHeat |
| 11 | EulerSobolevHeatGenerator EulerVolterraConvolution EulerDuhamelDifferentiation |
| 12 | EulerMildEquationBridge EulerSobolevWordBlocks |
| 13 | open scoped Topology NNReal |
| 14 | |
| 15 | variable (period : ℝ) [Fact (0 < period)] |
| 16 | |
| 17 | /-- Applying a bounded linear spatial map to an actual continuous Sobolev time path. -/ |
| 18 | def mapPath {p q : ℕ} (T : ℝ) (A : SobolevSpace period q →L[ℝ] SobolevSpace period p) |
| 19 | (u : C(Icc (0 : ℝ) T, SobolevSpace period q)) : C(Icc (0 : ℝ) T, SobolevSpace period p) := |
| 20 | ⟨fun t => A (u t), A.continuous.comp u.continuous⟩ |
| 21 | |
| 22 | /-- Every bounded heat-commuting spatial map commutes with the actual Duhamel integral. -/ |
| 23 | theorem map_duhamel {p q : ℕ} (A : SobolevSpace period q →L[ℝ] SobolevSpace period p) |
| 24 | (hA : ∀ v u, A (heatOperator period q v u) = heatOperator period p v (A u)) |
| 25 | (ν T : ℝ) (hT : 0 ≤ T) (f : C(Icc (0 : ℝ) T, SobolevSpace period q)) (t : ℝ) : |
| 26 | A (duhamel period ν T hT f t) = duhamel period ν T hT (mapPath period T A f) t := by |
| 27 | unfold duhamel |
| 28 | rw [← A.intervalIntegral_comp_comm ((shiftedHeat_continuous period ν T hT f t).intervalIntegrable 0 t)] |
| 29 | apply intervalIntegral.integral_congr |
| 30 | intro s _ |
| 31 | exact hA _ _ |
| 32 | |
| 33 | /-- The gained-kernel mild formula implies the ordinary Duhamel formula at the lower Sobolev order. -/ |
| 34 | theorem viscous_mild_truncated_formula {q : ℕ} (ν : ℝ) (hν : 0 < ν) (T : ℝ) (hT : 0 ≤ T) |
| 35 | (u₀ : SobolevSpace period (q + 1)) |
| 36 | (F : Icc (0 : ℝ) T → SobolevSpace period (q + 1) → SobolevSpace period q) |
| 37 | (hF : Continuous (fun p : Icc (0 : ℝ) T × SobolevSpace period (q + 1) => F p.1 p.2)) |
| 38 | (u : C(Icc (0 : ℝ) T, SobolevSpace period (q + 1))) |
| 39 | (hsol : ∀ t : Icc (0 : ℝ) T, |
| 40 | u t = heatOperator period (q + 1) (2 * ν * t.val).toNNReal u₀ + |
| 41 | ∫ r in (0 : ℝ)..t.val, heatKernel period q ν hν r |
| 42 | (F (projIcc 0 T hT (t.val - r)) (u (projIcc 0 T hT (t.val - r))))) |
| 43 | (t : Icc (0 : ℝ) T) : |
| 44 | truncateOperator period q (u t) = heatFlow period q ν t.val (truncateOperator period q u₀) + |
| 45 | duhamel period ν T hT (pathNonlinearity T F hF u) t.val := by |
| 46 | let f := pathNonlinearity T F hF u |
| 47 | have hc := truncate_heatConvolution period ν hν T hT f t |
| 48 | rw [convolution_eq_interval T hT (heatKernel period q ν hν) (parabolicKernelBound ν) |
| 49 | (heatKernel_joint_continuous period q ν hν) (parabolicKernelBound_integrable ν T hT) |
| 50 | (fun r hr => parabolicKernelBound_nonneg ν r hr.1) |
| 51 | (fun r hr y => heatKernel_bound period q ν hν r hr.1 y) f t] at hc |
| 52 | rw [hsol t, map_add, truncate_heatOperator] |
| 53 | change heatFlow period q ν t.val (truncateOperator period q u₀) + |
| 54 | truncateOperator period q (∫ r in (0 : ℝ)..t.val, |
| 55 | heatKernel period q ν hν r (extendPath T hT f (t.val-r))) = _ |
| 56 | rw [hc] |
| 57 | |
| 58 | /-- Any bounded heat-commuting derivative block of the constructed mild solution satisfies its actual L² evolution. -/ |
| 59 | theorem viscous_mild_block_hasDerivAt {p q : ℕ} (hp : 2 ≤ p) |
| 60 | (A : SobolevSpace period q →L[ℝ] SobolevSpace period p) |
| 61 | (hA : ∀ v u, A (heatOperator period q v u) = heatOperator period p v (A u)) |
| 62 | (ν : ℝ) (hν : 0 < ν) (T : ℝ) (hT : 0 ≤ T) (u₀ : SobolevSpace period (q + 1)) |
| 63 | (F : Icc (0 : ℝ) T → SobolevSpace period (q + 1) → SobolevSpace period q) |
| 64 | (hF : Continuous (fun p : Icc (0 : ℝ) T × SobolevSpace period (q + 1) => F p.1 p.2)) |
| 65 | (u : C(Icc (0 : ℝ) T, SobolevSpace period (q + 1))) |
| 66 | (hsol : ∀ t : Icc (0 : ℝ) T, |
| 67 | u t = heatOperator period (q + 1) (2 * ν * t.val).toNNReal u₀ + |
| 68 | ∫ r in (0 : ℝ)..t.val, heatKernel period q ν hν r |
| 69 | (F (projIcc 0 T hT (t.val - r)) (u (projIcc 0 T hT (t.val - r))))) |
| 70 | (t : ℝ) (ht : t ∈ Ioo 0 T) : |
| 71 | HasDerivAt (fun r => value period (A (truncateOperator period q (extendPath T hT u r)))) |
| 72 | (ν • laplacianEvaluation period p hp (A (truncateOperator period q (u ⟨t, ht.1.le, ht.2.le⟩))) + |
| 73 | value period (A (F ⟨t, ht.1.le, ht.2.le⟩ (u ⟨t, ht.1.le, ht.2.le⟩)))) t := by |
| 74 | let f := pathNonlinearity T F hF u |
| 75 | let v := mapPath period T (A.comp (truncateOperator period q)) u |
| 76 | have hv : ∀ s : Icc (0 : ℝ) T, v s = heatFlow period p ν s.val (A (truncateOperator period q u₀)) + |
| 77 | duhamel period ν T hT (mapPath period T A f) s.val := by |
| 78 | intro s |
| 79 | change A (truncateOperator period q (u s)) = _ |
| 80 | rw [viscous_mild_truncated_formula period ν hν T hT u₀ F hF u hsol s, map_add, map_duhamel period A hA] |
| 81 | congr 1 |
| 82 | exact hA _ _ |
| 83 | exact ordinary_mild_hasDerivAt period hp ν hν T hT (A (truncateOperator period q u₀)) |
| 84 | (mapPath period T A f) v hv t ht |
| 85 | |
| 86 | /-- The actual derivative block of a field with enough total Sobolev regularity. -/ |
| 87 | def availableWordBlock {q n : ℕ} (h : n + 2 ≤ q) (w : Fin n → Fin 4) : |
| 88 | SobolevSpace period q →L[ℝ] SobolevSpace period 2 := |
| 89 | (wordBlock period 2 n w).comp (restrictOperator period (by omega : 2+n ≤ q)) |
| 90 | |
| 91 | /-- This available block is exactly the chosen derivative word as an L² field. -/ |
| 92 | theorem availableWordBlock_value {q n : ℕ} (h : n + 2 ≤ q) (w : Fin n → Fin 4) |
| 93 | (u : SobolevSpace period q) : |
| 94 | value period (availableWordBlock period h w u) = word period u (by omega : n ≤ q) w := by |
| 95 | change value period (wordBlock period 2 n w (restrictOperator period (by omega : 2+n ≤ q) u)) = _ |
| 96 | rw [wordBlock_value] |
| 97 | rfl |
| 98 | |
| 99 | /-- Actual derivative-word blocks commute with heat, including the endpoint at zero variance. -/ |
| 100 | theorem availableWordBlock_heat {q n : ℕ} (h : n + 2 ≤ q) (w : Fin n → Fin 4) |
| 101 | (v : ℝ≥0) (u : SobolevSpace period q) : |
| 102 | availableWordBlock period h w (heatOperator period q v u) = |
| 103 | heatOperator period 2 v (availableWordBlock period h w u) := by |
| 104 | apply value_injective period |
| 105 | rw [availableWordBlock_value, heatOperator_value, availableWordBlock_value] |
| 106 | rfl |
| 107 | |
| 108 | /-- Truncation preserves every derivative coordinate still within its range. -/ |
| 109 | theorem word_truncate_coordinate {q n : ℕ} (hn : n ≤ q) (w : Fin n → Fin 4) |
| 110 | (u : SobolevSpace period (q+1)) : |
| 111 | word period (truncateOperator period q u) hn w = word period u (Nat.le_trans hn (Nat.le_succ q)) w := rfl |
| 112 | |
| 113 | /-- Every finite derivative word below the source's Sobolev margin obeys the differentiated L² equation. -/ |
| 114 | theorem viscous_mild_word_hasDerivAt {q n : ℕ} (h : n + 2 ≤ q) (w : Fin n → Fin 4) |
| 115 | (ν : ℝ) (hν : 0 < ν) (T : ℝ) (hT : 0 ≤ T) (u₀ : SobolevSpace period (q + 1)) |
| 116 | (F : Icc (0 : ℝ) T → SobolevSpace period (q + 1) → SobolevSpace period q) |
| 117 | (hF : Continuous (fun p : Icc (0 : ℝ) T × SobolevSpace period (q + 1) => F p.1 p.2)) |
| 118 | (u : C(Icc (0 : ℝ) T, SobolevSpace period (q + 1))) |
| 119 | (hsol : ∀ t : Icc (0 : ℝ) T, |
| 120 | u t = heatOperator period (q + 1) (2 * ν * t.val).toNNReal u₀ + |
| 121 | ∫ r in (0 : ℝ)..t.val, heatKernel period q ν hν r |
| 122 | (F (projIcc 0 T hT (t.val - r)) (u (projIcc 0 T hT (t.val - r))))) |
| 123 | (t : ℝ) (ht : t ∈ Ioo 0 T) : |
| 124 | HasDerivAt (fun r => word period (extendPath T hT u r) (by omega : n ≤ q+1) w) |
| 125 | (ν • laplacianEvaluation period 2 (by norm_num) |
| 126 | (availableWordBlock period h w (truncateOperator period q (u ⟨t, ht.1.le, ht.2.le⟩))) + |
| 127 | word period (F ⟨t, ht.1.le, ht.2.le⟩ (u ⟨t, ht.1.le, ht.2.le⟩)) (by omega : n ≤ q) w) t := by |
| 128 | have hd := viscous_mild_block_hasDerivAt period (by norm_num : 2 ≤ 2) |
| 129 | (availableWordBlock period h w) (availableWordBlock_heat period h w) |
| 130 | ν hν T hT u₀ F hF u hsol t ht |
| 131 | simpa only [availableWordBlock_value, word_truncate_coordinate] using hd |
| 132 | |
| 133 | end EulerMildWordEquation |