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.DuhamelEquation |
| 2 | import Euler.SobolevHeatVolterra |
| 3 | |
| 4 | /-! The constructed gained-derivative heat fixed point satisfies the actual differential PDE in L². -/ |
| 5 | |
| 6 | noncomputable section |
| 7 | |
| 8 | namespace EulerMildEquationBridge |
| 9 | |
| 10 | open MeasureTheory Set EulerLiftedGradientSpace EulerCylinderSobolevSpace EulerSobolevHeat |
| 11 | EulerSobolevHeatGenerator EulerVolterraConvolution EulerDuhamelDifferentiation |
| 12 | open scoped Topology NNReal |
| 13 | |
| 14 | variable (period : ℝ) [Fact (0 < period)] |
| 15 | |
| 16 | /-- Ordinary Sobolev heat commutes with forgetting the highest derivative level. -/ |
| 17 | theorem truncate_heatOperator {q : ℕ} (v : ℝ≥0) (u : SobolevSpace period (q + 1)) : |
| 18 | truncateOperator period q (heatOperator period (q + 1) v u) = |
| 19 | heatOperator period q v (truncateOperator period q u) := by |
| 20 | apply value_injective period |
| 21 | simp only [value_truncateOperator, heatOperator_value] |
| 22 | |
| 23 | /-- The actual Laplacian agrees under Sobolev truncation whenever both sides have two derivatives. -/ |
| 24 | theorem laplacian_truncate {q : ℕ} (hq : 2 ≤ q) (u : SobolevSpace period (q + 1)) : |
| 25 | laplacianEvaluation period q hq (truncateOperator period q u) = |
| 26 | laplacianEvaluation period (q + 1) (Nat.le_trans hq (Nat.le_succ q)) u := by |
| 27 | rw [laplacianEvaluation_apply, laplacianEvaluation_apply] |
| 28 | rfl |
| 29 | |
| 30 | /-- Forgetting the gained derivative of the genuine positive-time heat kernel gives the ordinary heat flow. -/ |
| 31 | theorem truncate_heatKernel {q : ℕ} (ν : ℝ) (hν : 0 < ν) (r : ℝ) (hr : 0 < r) |
| 32 | (u : SobolevSpace period q) : |
| 33 | truncateOperator period q (heatKernel period q ν hν r u) = heatFlow period q ν r u := by |
| 34 | rw [heatKernel, dite_eq_left hr] |
| 35 | let v : ℝ≥0 := ⟨2 * ν * r, by positivity⟩ |
| 36 | have hv : 0 < v := by change (0 : ℝ) < 2 * ν * r; positivity |
| 37 | have he : v = (2 * ν * r).toNNReal := by |
| 38 | apply Subtype.ext |
| 39 | simp only [Real.toNNReal_of_nonneg (by positivity : 0 ≤ 2 * ν * r)] |
| 40 | rfl |
| 41 | exact (truncate_heatGain period v hv u).trans (congrArg (fun v => heatOperator period q v u) he) |
| 42 | |
| 43 | /-- The genuine singular gained-derivative convolution becomes the ordinary Duhamel integral after truncation. -/ |
| 44 | theorem truncate_heatConvolution {q : ℕ} (ν : ℝ) (hν : 0 < ν) (T : ℝ) (hT : 0 ≤ T) |
| 45 | (f : C(Icc (0 : ℝ) T, SobolevSpace period q)) (t : Icc (0 : ℝ) T) : |
| 46 | truncateOperator period q |
| 47 | (convolution T hT (heatKernel period q ν hν) (parabolicKernelBound ν) |
| 48 | (heatKernel_joint_continuous period q ν hν) (parabolicKernelBound_integrable ν T hT) |
| 49 | (fun r hr => parabolicKernelBound_nonneg ν r hr.1) |
| 50 | (fun r hr y => heatKernel_bound period q ν hν r hr.1 y) f t) = |
| 51 | duhamel period ν T hT f t.val := by |
| 52 | let L := truncateOperator period q |
| 53 | change L (∫ r in Ioc 0 T, causalIntegrand T hT (heatKernel period q ν hν) f t r) = _ |
| 54 | rw [← L.integral_comp_comm (causalIntegrand_integrable T hT (heatKernel period q ν hν) |
| 55 | (parabolicKernelBound ν) (heatKernel_joint_continuous period q ν hν) |
| 56 | (parabolicKernelBound_integrable ν T hT) (fun r hr => parabolicKernelBound_nonneg ν r hr.1) |
| 57 | (fun r hr y => heatKernel_bound period q ν hν r hr.1 y) f t)] |
| 58 | have he : (∫ r in Ioc 0 T, L (causalIntegrand T hT (heatKernel period q ν hν) f t r)) = |
| 59 | ∫ r in Ioc 0 T, (Iic t.val).indicator (fun r => heatFlow period q ν r (extendPath T hT f (t.val - r))) r := by |
| 60 | apply integral_congr_ae |
| 61 | filter_upwards [self_mem_ae_restrict measurableSet_Ioc] with r hr |
| 62 | by_cases hrt : r ≤ t.val |
| 63 | · simp only [causalIntegrand, indicator, mem_Iic, hrt, ite_true] |
| 64 | exact truncate_heatKernel period ν hν r hr.1 _ |
| 65 | · simp only [causalIntegrand, indicator, mem_Iic, hrt, ite_false, map_zero] |
| 66 | rw [he, ← intervalIntegral.integral_of_le hT] |
| 67 | calc |
| 68 | _ = ∫ r in (0 : ℝ)..t.val, heatFlow period q ν r (extendPath T hT f (t.val - r)) := |
| 69 | intervalIntegral.integral_indicator t.property |
| 70 | _ = duhamel period ν T hT f t.val := by |
| 71 | have hs := intervalIntegral.integral_comp_sub_left |
| 72 | (fun s => heatFlow period q ν (t.val - s) (extendPath T hT f s)) t.val (a := 0) (b := t.val) |
| 73 | simpa only [sub_sub_cancel, sub_self, sub_zero, duhamel] using hs |
| 74 | |
| 75 | /-- A continuous Sobolev path satisfying the actual ordinary Duhamel formula solves the inhomogeneous L² equation. -/ |
| 76 | theorem ordinary_mild_hasDerivAt {q : ℕ} (hq : 2 ≤ q) (ν : ℝ) (hν : 0 < ν) |
| 77 | (T : ℝ) (hT : 0 ≤ T) (u₀ : SobolevSpace period q) |
| 78 | (f u : C(Icc (0 : ℝ) T, SobolevSpace period q)) |
| 79 | (hsol : ∀ t : Icc (0 : ℝ) T, u t = heatFlow period q ν t.val u₀ + duhamel period ν T hT f t.val) |
| 80 | (t : ℝ) (ht : t ∈ Ioo 0 T) : |
| 81 | HasDerivAt (fun r => value period (extendPath T hT u r)) |
| 82 | (ν • laplacianEvaluation period q hq (u ⟨t, ht.1.le, ht.2.le⟩) + |
| 83 | value period (f ⟨t, ht.1.le, ht.2.le⟩)) t := by |
| 84 | have hd := inhomogeneous_heat_value_hasDerivAt period hq ν hν T hT f u₀ t ht |
| 85 | rw [← hsol ⟨t, ht.1.le, ht.2.le⟩] at hd |
| 86 | have hf : extendPath T hT f t = f ⟨t, ht.1.le, ht.2.le⟩ := by |
| 87 | exact congrArg f (projIcc_of_mem hT ⟨ht.1.le, ht.2.le⟩) |
| 88 | rw [hf] at hd |
| 89 | apply hd.congr_of_eventuallyEq |
| 90 | filter_upwards [Ioo_mem_nhds ht.1 ht.2] with r hr |
| 91 | have he : extendPath T hT u r = u ⟨r, hr.1.le, hr.2.le⟩ := |
| 92 | congrArg u (projIcc_of_mem hT ⟨hr.1.le, hr.2.le⟩) |
| 93 | rw [he, hsol] |
| 94 | |
| 95 | /-- Every actual gained-derivative viscous mild solution satisfies u′=νΔu+F(t,u) in L² at interior times. -/ |
| 96 | theorem viscous_mild_hasDerivAt {q : ℕ} (hq : 2 ≤ q) (ν : ℝ) (hν : 0 < ν) |
| 97 | (T : ℝ) (hT : 0 ≤ T) (u₀ : SobolevSpace period (q + 1)) |
| 98 | (F : Icc (0 : ℝ) T → SobolevSpace period (q + 1) → SobolevSpace period q) |
| 99 | (hF : Continuous (fun p : Icc (0 : ℝ) T × SobolevSpace period (q + 1) => F p.1 p.2)) |
| 100 | (u : C(Icc (0 : ℝ) T, SobolevSpace period (q + 1))) |
| 101 | (hsol : ∀ t : Icc (0 : ℝ) T, |
| 102 | u t = heatOperator period (q + 1) (2 * ν * t.val).toNNReal u₀ + |
| 103 | ∫ r in (0 : ℝ)..t.val, heatKernel period q ν hν r |
| 104 | (F (projIcc 0 T hT (t.val - r)) (u (projIcc 0 T hT (t.val - r))))) |
| 105 | (t : ℝ) (ht : t ∈ Ioo 0 T) : |
| 106 | HasDerivAt (fun r => value period (extendPath T hT u r)) |
| 107 | (ν • laplacianEvaluation period (q + 1) (Nat.le_trans hq (Nat.le_succ q)) |
| 108 | (u ⟨t, ht.1.le, ht.2.le⟩) + value period (F ⟨t, ht.1.le, ht.2.le⟩ (u ⟨t, ht.1.le, ht.2.le⟩))) t := by |
| 109 | let f := pathNonlinearity T F hF u |
| 110 | let v : C(Icc (0 : ℝ) T, SobolevSpace period q) := |
| 111 | ⟨fun s => truncateOperator period q (u s), (truncateOperator period q).continuous.comp u.continuous⟩ |
| 112 | have hv : ∀ s : Icc (0 : ℝ) T, v s = |
| 113 | heatFlow period q ν s.val (truncateOperator period q u₀) + duhamel period ν T hT f s.val := by |
| 114 | intro s |
| 115 | have hc := truncate_heatConvolution period ν hν T hT f s |
| 116 | rw [convolution_eq_interval T hT (heatKernel period q ν hν) (parabolicKernelBound ν) |
| 117 | (heatKernel_joint_continuous period q ν hν) (parabolicKernelBound_integrable ν T hT) |
| 118 | (fun r hr => parabolicKernelBound_nonneg ν r hr.1) |
| 119 | (fun r hr y => heatKernel_bound period q ν hν r hr.1 y) f s] at hc |
| 120 | change truncateOperator period q (u s) = _ |
| 121 | rw [hsol s, map_add, truncate_heatOperator] |
| 122 | change heatFlow period q ν s.val (truncateOperator period q u₀) + |
| 123 | truncateOperator period q (∫ r in (0 : ℝ)..s.val, |
| 124 | heatKernel period q ν hν r (extendPath T hT f (s.val - r))) = _ |
| 125 | rw [hc] |
| 126 | have hd := ordinary_mild_hasDerivAt period hq ν hν T hT (truncateOperator period q u₀) f v hv t ht |
| 127 | change HasDerivAt (fun r => value period (truncateOperator period q (extendPath T hT u r))) |
| 128 | (ν • laplacianEvaluation period q hq (truncateOperator period q (u ⟨t, ht.1.le, ht.2.le⟩)) + |
| 129 | value period (F ⟨t, ht.1.le, ht.2.le⟩ (u ⟨t, ht.1.le, ht.2.le⟩))) t at hd |
| 130 | simpa only [value_truncateOperator, laplacian_truncate] using hd |
| 131 | |
| 132 | end EulerMildEquationBridge |