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.PacketCofactorGevrey |
| 2 | import Euler.MeanCoefficientPathJets |
| 3 | import Euler.TransversePacketData |
| 4 | |
| 5 | /-! The actual parent deformation supplies inverse and strain bounds with |
| 6 | polynomial constants. Determinant one removes any inverse-derivative input. -/ |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | namespace EulerPacketCofactor |
| 11 | |
| 12 | open Set ContinuousLinearMap EulerSmoothLimit EulerMeanCoefficients EulerPacketPiola |
| 13 | EulerGevrey |
| 14 | open scoped ContDiff BoundedContinuousFunction |
| 15 | |
| 16 | variable {K : Type*} [TopologicalSpace K] [CompactSpace K] |
| 17 | |
| 18 | private local instance : NormedAddCommGroup EndSpace := inferInstance |
| 19 | private local instance : NormedSpace ℝ EndSpace := inferInstance |
| 20 | private local instance : NormedAddCommGroup (Space →ᵇ EndSpace) := inferInstance |
| 21 | private local instance : NormedSpace ℝ (Space →ᵇ EndSpace) := inferInstance |
| 22 | private local instance : NormedAddCommGroup C(K,Space →ᵇ EndSpace) := inferInstance |
| 23 | private local instance : NormedSpace ℝ C(K,Space →ᵇ EndSpace) := inferInstance |
| 24 | |
| 25 | theorem coefficientPath_norm_le (F : SmoothCoefficientPath K EndSpace) |
| 26 | (C : ℝ) (hC : 0 ≤ C) (hF : ∀ t x, ‖F.field t x‖ ≤ C) : ‖F.field‖ ≤ C := |
| 27 | (ContinuousMap.norm_le F.field hC).2 (fun t => (BoundedContinuousFunction.norm_le hC).2 (hF t)) |
| 28 | |
| 29 | theorem coefficientPath_norm_le_of_gevrey (F : SmoothCoefficientPath K EndSpace) |
| 30 | (R C : ℝ) (hC : 0 ≤ C) |
| 31 | (hF : ∀ n t x, ‖iteratedFDeriv ℝ n (F.field t : Space → EndSpace) x‖ ≤ C*majorant R 0 n) : |
| 32 | ‖F.field‖ ≤ C := by |
| 33 | apply coefficientPath_norm_le F C hC |
| 34 | intro t x |
| 35 | simpa only [norm_iteratedFDeriv_zero,majorant,Nat.zero_add,Nat.factorial_zero, |
| 36 | Nat.cast_one,pow_zero,mul_one,one_pow] using hF 0 t x |
| 37 | |
| 38 | theorem coefficientInverse_norm_le (F : SmoothCoefficientPath K EndSpace) |
| 39 | (I : C(K,Space →ᵇ EndSpace)) |
| 40 | (hdet : ∀ t x, (operatorMatrix (F.field t x)).det = 1) |
| 41 | (hI : ∀ t x v, I t x (F.field t x v) = v) |
| 42 | (C : ℝ) (_hC : 0 ≤ C) (hF : ∀ t x, ‖F.field t x‖ ≤ C) : |
| 43 | ‖I‖ ≤ 3*C^2 := by |
| 44 | apply (ContinuousMap.norm_le I (by positivity)).2 |
| 45 | intro t |
| 46 | apply (BoundedContinuousFunction.norm_le (by positivity)).2 |
| 47 | intro x |
| 48 | rw [inverse_eq_adjugate (F.field t x) (I t x) (hdet t x) (hI t x)] |
| 49 | exact (adjugate_norm _).trans |
| 50 | (mul_le_mul_of_nonneg_left (pow_le_pow_left₀ (norm_nonneg _) (hF t x) 2) (by norm_num)) |
| 51 | |
| 52 | theorem coefficientInverse_bound (F : SmoothCoefficientPath K EndSpace) |
| 53 | (I : C(K,Space →ᵇ EndSpace)) |
| 54 | (hdet : ∀ t x, (operatorMatrix (F.field t x)).det = 1) |
| 55 | (hI : ∀ t x v, I t x (F.field t x v) = v) |
| 56 | (R C : ℝ) (hR : 0 ≤ R) (hC : 0 ≤ C) |
| 57 | (hF : ∀ n t x, ‖iteratedFDeriv ℝ n (F.field t : Space → EndSpace) x‖ ≤ C*majorant R 0 n) |
| 58 | (n : ℕ) (t : K) (x : Space) : |
| 59 | ‖iteratedFDeriv ℝ n (I t : Space → EndSpace) x‖ ≤ (9*C^2)*majorant R 0 n := |
| 60 | inverse_bound (F.field t) (I t) (F.smooth t) (hdet t) (hI t) |
| 61 | R C hR hC (fun n x => hF n t x) n x |
| 62 | |
| 63 | theorem coefficientStrain_bound (F F₁ M : SmoothCoefficientPath K EndSpace) |
| 64 | (hdet : ∀ t x, (operatorMatrix (F.field t x)).det = 1) |
| 65 | (h₁ : ∀ t x v, F₁.field t x v = M.field t x (F.field t x v)) |
| 66 | (R C C₁ : ℝ) (hR : 0 ≤ R) (hC : 0 ≤ C) (hC₁ : 0 ≤ C₁) |
| 67 | (hF : ∀ n t x, ‖iteratedFDeriv ℝ n (F.field t : Space → EndSpace) x‖ ≤ C*majorant R 0 n) |
| 68 | (hF₁ : ∀ n t x, ‖iteratedFDeriv ℝ n (F₁.field t : Space → EndSpace) x‖ ≤ C₁*majorant R 0 n) |
| 69 | (n : ℕ) (t : K) (x : Space) : |
| 70 | ‖iteratedFDeriv ℝ n (M.field t : Space → EndSpace) x‖ ≤ (27*C^2*C₁)*majorant R 0 n := |
| 71 | strain_bound (F.field t) (F₁.field t) (M.field t) (F.smooth t) (F₁.smooth t) |
| 72 | (hdet t) (h₁ t) R C C₁ hR hC hC₁ (fun n x => hF n t x) (fun n x => hF₁ n t x) n x |
| 73 | |
| 74 | theorem coefficientCurvature_bound (F F₂ H : SmoothCoefficientPath K EndSpace) |
| 75 | (hdet : ∀ t x, (operatorMatrix (F.field t x)).det = 1) |
| 76 | (h₂ : ∀ t x v, F₂.field t x v = -(H.field t x (F.field t x v))) |
| 77 | (R C C₂ : ℝ) (hR : 0 ≤ R) (hC : 0 ≤ C) (hC₂ : 0 ≤ C₂) |
| 78 | (hF : ∀ n t x, ‖iteratedFDeriv ℝ n (F.field t : Space → EndSpace) x‖ ≤ C*majorant R 0 n) |
| 79 | (hF₂ : ∀ n t x, ‖iteratedFDeriv ℝ n (F₂.field t : Space → EndSpace) x‖ ≤ C₂*majorant R 0 n) |
| 80 | (n : ℕ) (t : K) (x : Space) : |
| 81 | ‖iteratedFDeriv ℝ n (H.field t : Space → EndSpace) x‖ ≤ (27*C^2*C₂)*majorant R 0 n := |
| 82 | curvature_bound (F.field t) (F₂.field t) (H.field t) (F.smooth t) (F₂.smooth t) |
| 83 | (hdet t) (h₂ t) R C C₂ hR hC hC₂ (fun n x => hF n t x) (fun n x => hF₂ n t x) n x |
| 84 | |
| 85 | end EulerPacketCofactor |
| 86 | |
| 87 | namespace EulerTransversePacketProvider.Data |
| 88 | |
| 89 | open Set EulerSmoothLimit EulerPacketCofactor EulerPacketPiola |
| 90 | open scoped BoundedContinuousFunction |
| 91 | |
| 92 | variable {U : Type*} [NormedAddCommGroup U] [InnerProductSpace ℝ U] (D : Data U) |
| 93 | |
| 94 | theorem inverseBound_le_of_frame (C : ℝ) (hC : 0 ≤ C) |
| 95 | (hdet : ∀ t x, (operatorMatrix (D.F.field t x)).det = 1) |
| 96 | (hF : ∀ t x, ‖D.F.field t x‖ ≤ C) : D.inverseBound ≤ 1+3*C^2 := by |
| 97 | change 1+‖D.FInv.field‖ ≤ 1+3*C^2 |
| 98 | exact add_le_add le_rfl (coefficientInverse_norm_le D.F D.FInv.field hdet D.inverse_left C hC hF) |
| 99 | |
| 100 | theorem frameBound_le_of_frame (C : ℝ) (hC : 0 ≤ C) |
| 101 | (hF : ∀ t x, ‖D.F.field t x‖ ≤ C) : D.frameBound ≤ 1+C := by |
| 102 | change 1+‖D.F.field‖ ≤ 1+C |
| 103 | exact add_le_add le_rfl (coefficientPath_norm_le D.F C hC hF) |
| 104 | |
| 105 | theorem frameLower_inv_le_of_frame (C : ℝ) (hC : 0 ≤ C) |
| 106 | (hdet : ∀ t x, (operatorMatrix (D.F.field t x)).det = 1) |
| 107 | (hF : ∀ t x, ‖D.F.field t x‖ ≤ C) : D.frameLower⁻¹ ≤ (1+3*C^2)^2 := by |
| 108 | change (D.inverseBound⁻¹^2)⁻¹ ≤ _ |
| 109 | rw [← inv_pow,inv_inv] |
| 110 | exact pow_le_pow_left₀ D.inverseBound_pos.le (D.inverseBound_le_of_frame C hC hdet hF) 2 |
| 111 | |
| 112 | theorem normalLower_inv_le_of_frame (C : ℝ) (hC : 0 ≤ C) |
| 113 | (hF : ∀ t x, ‖D.F.field t x‖ ≤ C) : D.normalLower⁻¹ ≤ (1+C)^2 := by |
| 114 | change (D.frameBound⁻¹^2)⁻¹ ≤ _ |
| 115 | rw [← inv_pow,inv_inv] |
| 116 | exact pow_le_pow_left₀ D.frameBound_pos.le (D.frameBound_le_of_frame C hC hF) 2 |
| 117 | |
| 118 | end EulerTransversePacketProvider.Data |