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.BoundedFieldGramInverse |
| 2 | import Euler.BoundedInverseGevrey |
| 3 | import Euler.TimeLpGramGevrey |
| 4 | import Euler.GevreyFixedShift |
| 5 | |
| 6 | /-! Actual factorial estimates for the uniformly bounded space-time Gram inverse. -/ |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | namespace EulerBoundedFieldGramInverse |
| 11 | |
| 12 | open ContinuousLinearMap EulerBoundedFieldCalculus EulerTransverseGramInverse |
| 13 | EulerOperatorGevreyCalculus EulerGevrey EulerTimeLpGramGevrey |
| 14 | open scoped BoundedContinuousFunction ContDiff |
| 15 | |
| 16 | variable {α K P U E : Type*} [TopologicalSpace α] [TopologicalSpace K] [CompactSpace K] |
| 17 | [NormedAddCommGroup P] [NormedSpace ℝ P] |
| 18 | [NormedAddCommGroup U] [InnerProductSpace ℝ U] [CompleteSpace U] |
| 19 | [NormedAddCommGroup E] [InnerProductSpace ℝ E] [CompleteSpace E] |
| 20 | |
| 21 | private local instance : NormedAddCommGroup (U →L[ℝ] E) := inferInstance |
| 22 | private local instance : NormedSpace ℝ (U →L[ℝ] E) := inferInstance |
| 23 | private local instance : NormedAddCommGroup (E →L[ℝ] U) := inferInstance |
| 24 | private local instance : NormedSpace ℝ (E →L[ℝ] U) := inferInstance |
| 25 | private local instance : NormedAddCommGroup (U →L[ℝ] U) := inferInstance |
| 26 | private local instance : NormedSpace ℝ (U →L[ℝ] U) := inferInstance |
| 27 | private local instance : NormedAddCommGroup (α →ᵇ U →L[ℝ] E) := inferInstance |
| 28 | private local instance : NormedSpace ℝ (α →ᵇ U →L[ℝ] E) := inferInstance |
| 29 | private local instance : NormedAddCommGroup (α →ᵇ E →L[ℝ] U) := inferInstance |
| 30 | private local instance : NormedSpace ℝ (α →ᵇ E →L[ℝ] U) := inferInstance |
| 31 | private local instance : NormedAddCommGroup (α →ᵇ U →L[ℝ] U) := inferInstance |
| 32 | private local instance : NormedSpace ℝ (α →ᵇ U →L[ℝ] U) := inferInstance |
| 33 | private local instance : NormedAddCommGroup (C(K,α →ᵇ U →L[ℝ] E)) := inferInstance |
| 34 | private local instance : NormedSpace ℝ (C(K,α →ᵇ U →L[ℝ] E)) := inferInstance |
| 35 | private local instance : NormedAddCommGroup (C(K,α →ᵇ E →L[ℝ] U)) := inferInstance |
| 36 | private local instance : NormedSpace ℝ (C(K,α →ᵇ E →L[ℝ] U)) := inferInstance |
| 37 | private local instance : NormedAddCommGroup (C(K,α →ᵇ U →L[ℝ] U)) := inferInstance |
| 38 | private local instance : NormedSpace ℝ (C(K,α →ᵇ U →L[ℝ] U)) := inferInstance |
| 39 | |
| 40 | /-- The actual Gram field has the sharp fixed factorial product bound. -/ |
| 41 | theorem gramPath_bound (Q : P → C(K,α →ᵇ U →L[ℝ] E)) (hQ : ContDiff ℝ ∞ Q) |
| 42 | (R C : ℝ) (hR : 0 ≤ R) (hC : 0 ≤ C) |
| 43 | (hbQ : ∀ n x, ‖iteratedFDeriv ℝ n Q x‖ ≤ C*majorant R 0 n) (n : ℕ) (x : P) : |
| 44 | ‖iteratedFDeriv ℝ n (fun y => gramPath (Q y)) x‖ ≤ (3*C^2)*majorant R 0 n := by |
| 45 | have hAdj := (pathAdjointMap (α := α) (K := K) (U := U) (E := E)).contDiff.comp hQ |
| 46 | have hAdjBound := contraction_bound (pathAdjointMap (α := α) (K := K) (U := U) (E := E)) |
| 47 | pathAdjointMap_norm Q hQ R C hR hC 0 hbQ |
| 48 | have h := pathComposition_bound (fun y => pathAdjointMap (Q y)) Q hAdj hQ |
| 49 | R C C hR hC hC 0 0 hAdjBound hbQ n x |
| 50 | have he : 3*C*C = 3*C^2 := by ring |
| 51 | have hfun : (fun y => gramPath (Q y)) = (fun y => pathCompositionMap (pathAdjointMap (Q y)) (Q y)) := rfl |
| 52 | exact (congrArg (fun g : P → C(K,α →ᵇ U →L[ℝ] U) => ‖iteratedFDeriv ℝ n g x‖) hfun).trans_le |
| 53 | (by simpa only [Nat.add_zero,he] using h) |
| 54 | |
| 55 | private theorem cost_bounds (c C : ℝ) (hc : 0 < c) : |
| 56 | 1 ≤ gramCost c C 1 ∧ c⁻¹*(3*C^2) ≤ gramCost c C 1 ∧ c⁻¹ ≤ gramCost c C 1 := by |
| 57 | have hi : 0 ≤ c⁻¹ := inv_nonneg.mpr hc.le |
| 58 | unfold gramCost |
| 59 | constructor |
| 60 | · have h : 0 ≤ c⁻¹*(3*C^2+1+1) := by positivity |
| 61 | linarith |
| 62 | constructor <;> nlinarith [sq_nonneg C] |
| 63 | |
| 64 | private local instance : NormedAddCommGroup C(K,α →ᵇ U →L[ℝ] U) := inferInstance |
| 65 | private local instance : NormedSpace ℝ C(K,α →ᵇ U →L[ℝ] U) := inferInstance |
| 66 | private local instance : NormedAddCommGroup (C(K,α →ᵇ U →L[ℝ] U) →L[ℝ] C(K,α →ᵇ U →L[ℝ] U)) := inferInstance |
| 67 | private local instance : NormedSpace ℝ (C(K,α →ᵇ U →L[ℝ] U) →L[ℝ] C(K,α →ᵇ U →L[ℝ] U)) := inferInstance |
| 68 | |
| 69 | /-- The genuinely constructed inverse has one factorial shift in the uniform time-space norm. -/ |
| 70 | theorem inversePath_gevrey (Q : P → C(K,α →ᵇ U →L[ℝ] E)) |
| 71 | (c : ℝ) (hc : 0 < c) (hLower : ∀ y t x v, c*‖v‖^2 ≤ ‖Q y t x v‖^2) |
| 72 | (hQ : ContDiff ℝ ∞ Q) (Rc C : ℝ) (hRc : 0 ≤ Rc) (hC : 0 ≤ C) |
| 73 | (hbQ : ∀ n x, ‖iteratedFDeriv ℝ n Q x‖ ≤ C*majorant Rc 0 n) |
| 74 | (R : ℝ) (hR : 2*gramCost c C 1*(Rc+1) ≤ R) (n : ℕ) (x : P) : |
| 75 | ‖iteratedFDeriv ℝ n (fun y => inversePath c hc (Q y) (hLower y)) x‖ ≤ majorant R 1 n := by |
| 76 | let B := fun y => gramPath (Q y) |
| 77 | let V := fun y => inversePath c hc (Q y) (hLower y) |
| 78 | let M := pathCompositionMap (α := α) (K := K) (U := U) (E := U) (F := U) |
| 79 | let A := fun y => M (B y) |
| 80 | let I := fun y => M (V y) |
| 81 | let onePath : C(K,α →ᵇ U →L[ℝ] U) := |
| 82 | ⟨fun _ => BoundedContinuousFunction.const α (ContinuousLinearMap.id ℝ U),continuous_const⟩ |
| 83 | have hB : ContDiff ℝ ∞ B := gramPath_contDiff Q hQ |
| 84 | have hV : ContDiff ℝ ∞ V := inversePath_contDiff c hc Q hLower hQ |
| 85 | have hA : ContDiff ℝ ∞ A := M.contDiff.comp hB |
| 86 | have hsolve (y : P) : A y (V y) = onePath := by |
| 87 | apply ContinuousMap.ext |
| 88 | intro t |
| 89 | apply BoundedContinuousFunction.ext |
| 90 | intro z |
| 91 | apply ContinuousLinearMap.ext |
| 92 | intro v |
| 93 | exact gram_inverse_apply (Q y t z) c hc (hLower y t z) v |
| 94 | have hleft (y : P) (p : C(K,α →ᵇ U →L[ℝ] U)) : I y (A y p) = p := by |
| 95 | apply ContinuousMap.ext |
| 96 | intro t |
| 97 | apply BoundedContinuousFunction.ext |
| 98 | intro z |
| 99 | apply ContinuousLinearMap.ext |
| 100 | intro v |
| 101 | exact inverse_gram_apply (Q y t z) c hc (hLower y t z) (p t z v) |
| 102 | have hI (y : P) : ‖I y‖ ≤ c⁻¹ := by |
| 103 | have h := (M.le_opNorm (V y)).trans |
| 104 | (mul_le_mul_of_nonneg_right pathCompositionMap_norm (norm_nonneg (V y))) |
| 105 | exact (h.trans_eq (one_mul _)).trans (inversePath_norm c hc (Q y) (hLower y)) |
| 106 | have hAall := contraction_bound M pathCompositionMap_norm B hB Rc (3*C^2) hRc |
| 107 | (by positivity) 0 (gramPath_bound Q hQ Rc C hRc hC hbQ) |
| 108 | have hApos (j : ℕ) (y : P) : ‖iteratedFDeriv ℝ (j+1) A y‖ ≤ |
| 109 | (3*C^2)*(Rc^(j+1)*((j+1).factorial : ℝ)^2) := by |
| 110 | simpa only [majorant,Nat.add_zero] using hAall (j+1) y |
| 111 | obtain ⟨hM,hMC,hMD⟩ := cost_bounds c C hc |
| 112 | have hR0 : 0 ≤ R := by nlinarith |
| 113 | have hone : ‖onePath‖ ≤ 1 := by |
| 114 | apply (ContinuousMap.norm_le _ zero_le_one).2 |
| 115 | intro t |
| 116 | apply (BoundedContinuousFunction.norm_le zero_le_one).2 |
| 117 | intro z |
| 118 | exact norm_id_le |
| 119 | exact EulerBoundedInverseGevrey.solution_gevrey A V (fun _ : P => onePath) hA hV contDiff_const |
| 120 | hsolve I hleft c⁻¹ (3*C^2) 1 (gramCost c C 1) Rc R (by positivity) zero_le_one hM hMC |
| 121 | (by simpa only [mul_one] using hMD) hRc hR hI hApos 0 |
| 122 | (const_bound onePath R 1 hR0 hone) n x |
| 123 | |
| 124 | /-- A fixed coefficient radius absorbs the one inverse shift once, before recursive solves. -/ |
| 125 | theorem inversePath_coefficient_bound (Q : P → C(K,α →ᵇ U →L[ℝ] E)) |
| 126 | (c : ℝ) (hc : 0 < c) (hLower : ∀ y t x v, c*‖v‖^2 ≤ ‖Q y t x v‖^2) |
| 127 | (hQ : ContDiff ℝ ∞ Q) (Rc C : ℝ) (hRc : 0 ≤ Rc) (hC : 0 ≤ C) |
| 128 | (hbQ : ∀ n x, ‖iteratedFDeriv ℝ n Q x‖ ≤ C*majorant Rc 0 n) |
| 129 | (R : ℝ) (hR0 : 0 ≤ R) (hR : 2*gramCost c C 1*(Rc+1) ≤ R) (n : ℕ) (x : P) : |
| 130 | ‖iteratedFDeriv ℝ n (fun y => inversePath c hc (Q y) (hLower y)) x‖ ≤ R*majorant (4*R) 0 n := |
| 131 | (inversePath_gevrey Q c hc hLower hQ Rc C hRc hC hbQ R hR n x).trans |
| 132 | (majorant_one_le_radius_four R hR0 n) |
| 133 | |
| 134 | end EulerBoundedFieldGramInverse |