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.LinearDuhamelParameter |
| 2 | import Euler.LinearDuhamelWeighted |
| 3 | import Euler.FrozenEvolutionGevrey |
| 4 | |
| 5 | /-! |
| 6 | # Actual all-order profile estimates for the forward initial value problem |
| 7 | |
| 8 | Qualitative smoothness comes from the actual fixed-space Volterra inverse. |
| 9 | Quantitative differentiation instead freezes the evolution and uses its |
| 10 | profile-normalized Green operator, whose norm is bounded by `C*T` directly. |
| 11 | The profile's extrema never enter the factorial radius or amplitude. |
| 12 | -/ |
| 13 | |
| 14 | noncomputable section |
| 15 | |
| 16 | |
| 17 | namespace EulerLinearDuhamel |
| 18 | |
| 19 | open Set Finset ContinuousLinearMap EulerContinuousTimeIntegral EulerContinuousTimeWeight |
| 20 | EulerContinuousPathCalculus EulerGevrey |
| 21 | open scoped ContDiff |
| 22 | |
| 23 | variable {P E : Type*} [NormedAddCommGroup P] [NormedSpace ℝ P] |
| 24 | [NormedAddCommGroup E] [NormedSpace ℝ E] [CompleteSpace E] |
| 25 | variable (T : ℝ) (hT : 0 ≤ T) (B : P → C(Icc (0 : ℝ) T,E →L[ℝ] E)) |
| 26 | (U : ∀ x, Evolution T hT (B x)) |
| 27 | (g : C(Icc (0 : ℝ) T,ℝ)) (hg : ∀ t, 0 < g t) |
| 28 | (f : P → C(Icc (0 : ℝ) T,E)) (a₀ : P → E) |
| 29 | |
| 30 | private local instance : NormedAddCommGroup (E →L[ℝ] E) := inferInstance |
| 31 | private local instance : NormedSpace ℝ (E →L[ℝ] E) := inferInstance |
| 32 | private local instance : NormedAddCommGroup C(Icc (0 : ℝ) T,E) := inferInstance |
| 33 | private local instance : NormedSpace ℝ C(Icc (0 : ℝ) T,E) := inferInstance |
| 34 | private local instance : NormedAddCommGroup C(Icc (0 : ℝ) T,E →L[ℝ] E) := inferInstance |
| 35 | private local instance : NormedSpace ℝ C(Icc (0 : ℝ) T,E →L[ℝ] E) := inferInstance |
| 36 | private local instance : NormedAddCommGroup (C(Icc (0 : ℝ) T,E) →L[ℝ] C(Icc (0 : ℝ) T,E)) := inferInstance |
| 37 | private local instance : NormedSpace ℝ (C(Icc (0 : ℝ) T,E) →L[ℝ] C(Icc (0 : ℝ) T,E)) := inferInstance |
| 38 | |
| 39 | /-- Normalization by a fixed profile preserves actual parameter regularity. -/ |
| 40 | theorem weightedSolution_contDiff {n : ℕ∞ω} (hB : ContDiff ℝ n B) |
| 41 | (hf : ContDiff ℝ n f) (ha₀ : ContDiff ℝ n a₀) : |
| 42 | ContDiff ℝ n (fun x => (U x).weightedSolution g hg (f x) (a₀ x)) := by |
| 43 | have hw : ContDiff ℝ n (fun x => weight g (f x)) := by |
| 44 | change ContDiff ℝ n ((weight (E := E) g) ∘ f) |
| 45 | exact (ContinuousLinearMap.contDiff (𝕜 := ℝ) (n := n) |
| 46 | (E := C(Icc (0 : ℝ) T,E)) (F := C(Icc (0 : ℝ) T,E)) (weight g)).comp hf |
| 47 | have hs := solution_contDiff T hT B U (fun x => weight g (f x)) a₀ hB hw ha₀ |
| 48 | change ContDiff ℝ n ((normalize (E := E) g hg) ∘ |
| 49 | (fun x => (U x).solution (weight g (f x)) (a₀ x))) |
| 50 | exact (ContinuousLinearMap.contDiff (𝕜 := ℝ) (n := n) |
| 51 | (E := C(Icc (0 : ℝ) T,E)) (F := C(Icc (0 : ℝ) T,E)) (normalize g hg)).comp hs |
| 52 | |
| 53 | /-- The exact differentiated ODE yields a triangular estimate in the fixed |
| 54 | profile norm, with the same homogeneous and Green operators at every order. -/ |
| 55 | theorem weightedSolution_derivative_recurrence |
| 56 | (hB : ContDiff ℝ ∞ B) (hf : ContDiff ℝ ∞ f) (ha₀ : ContDiff ℝ ∞ a₀) |
| 57 | (hg₀ : g ⟨0,le_rfl,hT⟩ = 1) (C : ℝ) (hC : 0 ≤ C) |
| 58 | (hU : ∀ x (t s : Icc (0 : ℝ) T), s ≤ t → ‖(U x).propagator t s‖ ≤ C*g t/g s) |
| 59 | (x : P) (n : ℕ) : |
| 60 | ‖iteratedFDeriv ℝ n (fun y => (U y).weightedSolution g hg (f y) (a₀ y)) x‖ ≤ |
| 61 | C*‖iteratedFDeriv ℝ n a₀ x‖ + (C*T)* |
| 62 | (‖iteratedFDeriv ℝ n f x‖ + ∑ j ∈ range n, |
| 63 | (n.choose (j+1) : ℝ) * ‖iteratedFDeriv ℝ (j+1) (fun y => multiplier (B y)) x‖ * |
| 64 | ‖iteratedFDeriv ℝ (n-(j+1)) |
| 65 | (fun y => (U y).weightedSolution g hg (f y) (a₀ y)) x‖) := by |
| 66 | let u := fun y => (U y).weightedSolution g hg (f y) (a₀ y) |
| 67 | have hu := weightedSolution_contDiff T hT B U g hg f a₀ hB hf ha₀ |
| 68 | have hfreeze : ∀ y, u y = (U x).weightedInitial g hg (a₀ y) + |
| 69 | (U x).weightedForcing g hg (f y + (multiplier (B y)-multiplier (B x)) (u y)) := by |
| 70 | intro y |
| 71 | have hd : multiplier (B y-B x) = multiplier (B y)-multiplier (B x) := by |
| 72 | ext p t |
| 73 | rfl |
| 74 | simpa only [hd] using (U x).weighted_frozen_solution g hg (U y) (f y) (a₀ y) |
| 75 | have hr := EulerFrozenEvolutionGevrey.derivative_recurrence |
| 76 | (fun y => multiplier (B y)) u f a₀ (contDiff_multiplier B hB) hu hf ha₀ x |
| 77 | ((U x).weightedInitial g hg) ((U x).weightedForcing g hg) hfreeze n |
| 78 | exact hr.trans (add_le_add |
| 79 | (mul_le_mul_of_nonneg_right ((U x).weightedInitial_norm g hg hg₀ C hC (hU x)) (norm_nonneg _)) |
| 80 | (mul_le_mul_of_nonneg_right ((U x).weightedForcing_norm g hg hg₀ C hC (hU x)) (by positivity))) |
| 81 | |
| 82 | /-- The fixed polynomial amplitude controlling the differentiated forward solve. -/ |
| 83 | def forwardCost (T C A D CB : ℝ) : ℝ := 1 + C*A + C*T*(D+CB) |
| 84 | |
| 85 | /-- The actual forward solve loses one factorial shift. Its radius condition |
| 86 | contains only the propagator, coefficient and data amplitudes, and time length. -/ |
| 87 | theorem weightedSolution_gevrey |
| 88 | (hB : ContDiff ℝ ∞ B) (hf : ContDiff ℝ ∞ f) (ha₀ : ContDiff ℝ ∞ a₀) |
| 89 | (hg₀ : g ⟨0,le_rfl,hT⟩ = 1) |
| 90 | (C A D CB Rc R : ℝ) (hC : 0 ≤ C) (hA : 0 ≤ A) (hD : 0 ≤ D) (hCB : 0 ≤ CB) |
| 91 | (hRc : 0 ≤ Rc) (hR : 2*forwardCost T C A D CB*(Rc+1) ≤ R) |
| 92 | (hU : ∀ x (t s : Icc (0 : ℝ) T), s ≤ t → ‖(U x).propagator t s‖ ≤ C*g t/g s) |
| 93 | (hcoeff : ∀ j x, ‖iteratedFDeriv ℝ (j+1) B x‖ ≤ CB*(Rc^(j+1)*((j+1).factorial : ℝ)^2)) |
| 94 | (d : ℕ) (hforce : ∀ n x, ‖iteratedFDeriv ℝ n f x‖ ≤ D*majorant R d n) |
| 95 | (hinitial : ∀ n x, ‖iteratedFDeriv ℝ n a₀ x‖ ≤ A*majorant R d n) |
| 96 | (n : ℕ) (x : P) : |
| 97 | ‖iteratedFDeriv ℝ n (fun y => (U y).weightedSolution g hg (f y) (a₀ y)) x‖ ≤ |
| 98 | majorant R (d+1) n := by |
| 99 | let u := fun y => (U y).weightedSolution g hg (f y) (a₀ y) |
| 100 | let M := forwardCost T C A D CB |
| 101 | have hCT : 0 ≤ C*T := mul_nonneg hC hT |
| 102 | have hM : 1 ≤ M := by |
| 103 | dsimp [M,forwardCost] |
| 104 | nlinarith [mul_nonneg hC hA, mul_nonneg hCT (add_nonneg hD hCB)] |
| 105 | have hR0 : 0 ≤ R := le_trans |
| 106 | (mul_nonneg (mul_nonneg (by norm_num) (le_trans zero_le_one hM)) (by linarith)) hR |
| 107 | have htop : C*A + C*T*D ≤ M := by |
| 108 | dsimp [M,forwardCost] |
| 109 | nlinarith [mul_nonneg hCT hCB] |
| 110 | have hcoef : C*T*CB ≤ M := by |
| 111 | dsimp [M,forwardCost] |
| 112 | nlinarith [mul_nonneg hC hA, mul_nonneg hCT hD] |
| 113 | apply triangular_inverse_majorant M Rc R hM hRc hR d |
| 114 | (fun k => majorant R d k) (fun k => ‖iteratedFDeriv ℝ k u x‖) (fun _ => le_rfl) _ n |
| 115 | intro k |
| 116 | let S : ℝ := ∑ j ∈ range k, (k.choose (j+1) : ℝ) * Rc^(j+1) * |
| 117 | ((j+1).factorial : ℝ)^2 * ‖iteratedFDeriv ℝ (k-(j+1)) u x‖ |
| 118 | have hS : 0 ≤ S := by dsimp [S]; positivity |
| 119 | have hmajor : 0 ≤ majorant R d k := majorant_nonneg R hR0 d k |
| 120 | have hcoeffOp (j : ℕ) : |
| 121 | ‖iteratedFDeriv ℝ (j+1) (fun y => multiplier (B y)) x‖ ≤ |
| 122 | CB*(Rc^(j+1)*((j+1).factorial : ℝ)^2) := by |
| 123 | have hl := ContinuousLinearMap.norm_iteratedFDeriv_comp_left |
| 124 | (𝕜 := ℝ) (E := P) (F := C(Icc (0 : ℝ) T,E →L[ℝ] E)) |
| 125 | (G := C(Icc (0 : ℝ) T,E) →L[ℝ] C(Icc (0 : ℝ) T,E)) |
| 126 | (coefficientMap (K := Icc (0 : ℝ) T) (E := E) (F := E)) |
| 127 | (x := x) hB.contDiffAt (n := j+1) (by simp) |
| 128 | exact hl.trans ((mul_le_mul_of_nonneg_right coefficientMap_norm (norm_nonneg _)).trans |
| 129 | (by simpa only [one_mul] using hcoeff j x)) |
| 130 | have hsum : (∑ j ∈ range k, (k.choose (j+1) : ℝ) * |
| 131 | ‖iteratedFDeriv ℝ (j+1) (fun y => multiplier (B y)) x‖ * |
| 132 | ‖iteratedFDeriv ℝ (k-(j+1)) u x‖) ≤ CB*S := by |
| 133 | dsimp [S] |
| 134 | rw [mul_sum] |
| 135 | apply sum_le_sum |
| 136 | intro j _ |
| 137 | have hh := mul_le_mul_of_nonneg_right |
| 138 | (mul_le_mul_of_nonneg_left (hcoeffOp j) (by positivity : (0 : ℝ) ≤ k.choose (j+1))) |
| 139 | (norm_nonneg (iteratedFDeriv ℝ (k-(j+1)) u x)) |
| 140 | convert hh using 1 |
| 141 | ring |
| 142 | have hr := weightedSolution_derivative_recurrence T hT B U g hg f a₀ hB hf ha₀ hg₀ C hC hU x k |
| 143 | have hb : ‖iteratedFDeriv ℝ k u x‖ ≤ C*(A*majorant R d k) + (C*T)*(D*majorant R d k+CB*S) := |
| 144 | hr.trans (add_le_add (mul_le_mul_of_nonneg_left (hinitial k x) hC) |
| 145 | (mul_le_mul_of_nonneg_left (add_le_add (hforce k x) hsum) hCT)) |
| 146 | change ‖iteratedFDeriv ℝ k u x‖ ≤ M*(majorant R d k+S) |
| 147 | apply hb.trans |
| 148 | calc |
| 149 | _ = (C*A+C*T*D)*majorant R d k+(C*T*CB)*S := by ring |
| 150 | _ ≤ M*majorant R d k+M*S := add_le_add |
| 151 | (mul_le_mul_of_nonneg_right htop hmajor) (mul_le_mul_of_nonneg_right hcoef hS) |
| 152 | _ = _ := by ring |
| 153 | |
| 154 | end EulerLinearDuhamel |