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.PacketJoinedSourceEquations |
| 2 | import Euler.PacketSourceRegularity |
| 3 | import Euler.PacketRecursiveResidual |
| 4 | |
| 5 | /-! |
| 6 | The actual finite packet built by the complete joined inverse has precisely |
| 7 | the uncancelled tail. The primary field and its homogeneous equation are |
| 8 | inputs; every nonprimary regularity and equation is discharged by construction. |
| 9 | -/ |
| 10 | |
| 11 | /-! ## From `Euler/PacketJoinedSourceRegularity.lean` |
| 12 | |
| 13 | The text of `Euler/PacketJoinedSourceRegularity.lean`, folded into this file, which was its only importer. -/ |
| 14 | |
| 15 | section |
| 16 | |
| 17 | /-! Classical spatial slices and true within-time derivatives of the joined recursive family. -/ |
| 18 | |
| 19 | noncomputable section |
| 20 | |
| 21 | namespace EulerPacketCylinderField |
| 22 | |
| 23 | open Set EulerSmoothLimit EulerPacketPointJets EulerPacketProfileRecursion |
| 24 | open scoped ContDiff |
| 25 | |
| 26 | variable (P : ℝ) [Fact (0 < P)] (M : EulerMeanPacketProvider.Data) |
| 27 | {U : Type*} [NormedAddCommGroup U] [InnerProductSpace ℝ U] [CompleteSpace U] |
| 28 | (D : EulerTransversePacketProvider.Data U) (hT : M.T = D.T) |
| 29 | (τ : ℝ) (hτ : 0 < τ) (hτT : τ < D.T) |
| 30 | (B : EulerTransversePacketProvider.HistoryData (D.initial τ hτ hτT.le)) |
| 31 | (primary : Profile) (hprimary : ProfileRegularity P M.T M.T_pos.le D.support primary) |
| 32 | |
| 33 | include hT hprimary in |
| 34 | theorem joinedSource_high_slice (p : ℕ) (t : Icc (0 : ℝ) M.T) (x : Space) (θ : ℝ) : |
| 35 | SliceDifferentiable (Icc (0 : ℝ) M.T) |
| 36 | (joinedSourceProfiles P M D τ hτ hτT B primary p).high (t,(x,θ)) := by |
| 37 | let W := joinedSourceProfileWitness P M D hT τ hτ hτT B primary hprimary p |
| 38 | exact W.high.sliceDifferentiable W.highDerivative M.T_pos.le W.high_time t x θ |
| 39 | |
| 40 | include hT hprimary in |
| 41 | theorem joinedSource_mean_slice (p : ℕ) (t : Icc (0 : ℝ) M.T) (x : Space) (θ : ℝ) : |
| 42 | SliceDifferentiable (Icc (0 : ℝ) M.T) |
| 43 | (joinedSourceProfiles P M D τ hτ hτT B primary p).mean (t,(x,θ)) := by |
| 44 | let W := joinedSourceProfileWitness P M D hT τ hτ hτT B primary hprimary p |
| 45 | exact W.mean.sliceDifferentiable W.meanDerivative M.T_pos.le W.mean_time t x θ |
| 46 | |
| 47 | include hT hprimary in |
| 48 | theorem joinedSource_corrector_slice (p : ℕ) (t : Icc (0 : ℝ) M.T) (x : Space) (θ : ℝ) : |
| 49 | SliceDifferentiable (Icc (0 : ℝ) M.T) |
| 50 | (joinedSourceProfiles P M D τ hτ hτT B primary p).corrector (t,(x,θ)) := by |
| 51 | let W := joinedSourceProfileWitness P M D hT τ hτ hτT B primary hprimary p |
| 52 | exact W.corrector.sliceDifferentiable W.correctorDerivative M.T_pos.le W.corrector_time t x θ |
| 53 | |
| 54 | include hT hprimary in |
| 55 | theorem joinedSource_highPressure_smooth_all |
| 56 | (hπ : ∀ t : Icc (0 : ℝ) M.T, ContDiff ℝ ∞ (fun y : Space × ℝ => primary.highPressure (t,y))) |
| 57 | (p : ℕ) (t : Icc (0 : ℝ) M.T) : |
| 58 | ContDiff ℝ ∞ (fun y : Space × ℝ => |
| 59 | (joinedSourceProfiles P M D τ hτ hτT B primary p).highPressure (t,y)) := by |
| 60 | by_cases hp0 : p = 0 |
| 61 | · subst p |
| 62 | simp only [joinedSourceProfiles,profiles_zero] |
| 63 | change ContDiff ℝ ∞ (fun _ : Space × ℝ => (0 : ℝ)) |
| 64 | exact contDiff_const |
| 65 | by_cases hp1 : p = 1 |
| 66 | · subst p |
| 67 | simpa only [joinedSourceProfiles,profiles_one] using hπ t |
| 68 | exact joinedSource_highPressure_smooth P M D hT τ hτ hτT B primary hprimary p (by omega) t |
| 69 | |
| 70 | include hT hprimary in |
| 71 | theorem joinedSource_meanPressure_smooth_all (hm : primary.meanPressure = 0) |
| 72 | (p : ℕ) (t : Icc (0 : ℝ) M.T) : |
| 73 | ContDiff ℝ ∞ (fun y : Space × ℝ => |
| 74 | (joinedSourceProfiles P M D τ hτ hτT B primary p).meanPressure (t,y)) := by |
| 75 | by_cases hp0 : p = 0 |
| 76 | · subst p |
| 77 | simp only [joinedSourceProfiles,profiles_zero] |
| 78 | change ContDiff ℝ ∞ (fun _ : Space × ℝ => (0 : ℝ)) |
| 79 | exact contDiff_const |
| 80 | by_cases hp1 : p = 1 |
| 81 | · subst p |
| 82 | simp only [joinedSourceProfiles,profiles_one,hm,Pi.zero_apply] |
| 83 | exact contDiff_const |
| 84 | exact joinedSource_meanPressure_smooth P M D hT τ hτ hτT B primary hprimary p (by omega) t |
| 85 | |
| 86 | include hT hprimary in |
| 87 | theorem joinedSource_meanPressure_angle_all (hm : primary.meanPressure = 0) |
| 88 | (p : ℕ) (t : Icc (0 : ℝ) M.T) (x : Space) (θ : ℝ) : |
| 89 | (pressureJet (joinedSourceProfiles P M D τ hτ hτT B primary p).meanPressure (t,(x,θ))).2 |
| 90 | angleDirection = 0 := by |
| 91 | by_cases hp0 : p = 0 |
| 92 | · subst p |
| 93 | simp only [joinedSourceProfiles,profiles_zero] |
| 94 | change (pressureJet (0 : ScalarField) (t,(x,θ))).2 angleDirection = 0 |
| 95 | rw [pressureJet_zero] |
| 96 | rfl |
| 97 | by_cases hp1 : p = 1 |
| 98 | · subst p |
| 99 | simp only [joinedSourceProfiles,profiles_one,hm] |
| 100 | rw [pressureJet_zero] |
| 101 | rfl |
| 102 | exact joinedSource_meanPressure_angle P M D hT τ hτ hτT B primary hprimary p (by omega) t x θ |
| 103 | |
| 104 | end EulerPacketCylinderField |
| 105 | end |
| 106 | |
| 107 | end |
| 108 | |
| 109 | noncomputable section |
| 110 | |
| 111 | namespace EulerPacketCylinderField |
| 112 | |
| 113 | open Set Finset EulerSmoothLimit EulerPacketPointJets EulerPacketProfileRecursion |
| 114 | open scoped ContDiff |
| 115 | |
| 116 | variable (P : ℝ) [Fact (0 < P)] (M : EulerMeanPacketProvider.Data) |
| 117 | {U : Type*} [NormedAddCommGroup U] [InnerProductSpace ℝ U] [CompleteSpace U] |
| 118 | (D : EulerTransversePacketProvider.Data U) (hT : M.T = D.T) |
| 119 | (τ : ℝ) (hτ : 0 < τ) (hτT : τ < D.T) |
| 120 | (B : EulerTransversePacketProvider.HistoryData (D.initial τ hτ hτT.le)) |
| 121 | (A : VectorField) (π : ScalarField) |
| 122 | |
| 123 | abbrev joinedPrimaryProfiles : ℕ → Profile := |
| 124 | joinedSourceProfiles P M D τ hτ hτT B |
| 125 | (primaryProfile (joinedSourceOperators P M D τ hτ hτT B) A π) |
| 126 | |
| 127 | include hT in |
| 128 | theorem joinedSource_residual_tail |
| 129 | (hprimary : ProfileRegularity P M.T M.T_pos.le D.support |
| 130 | (primaryProfile (joinedSourceOperators P M D τ hτ hτT B) A π)) |
| 131 | (hπ : ∀ t : Icc (0 : ℝ) M.T, ContDiff ℝ ∞ (fun y : Space × ℝ => π (t,y))) |
| 132 | (htan : ∀ (t : Icc (0 : ℝ) M.T) x θ, inner ℝ (D.normalField (t,(x,θ))) (A (t,(x,θ))) = 0) |
| 133 | (hprimaryEquation : ∀ (t : Icc (0 : ℝ) M.T) x θ, |
| 134 | linearPart (D.strain (t,(x,θ))) (slicedJet (Icc (0 : ℝ) M.T) A (t,(x,θ))) + |
| 135 | fastPressure (D.normalField (t,(x,θ))) (pressureJet π (t,(x,θ))) = 0) |
| 136 | (Cagree : SourceCoefficientAgreement M D) |
| 137 | (N : ℕ) (hN : 1 ≤ N) (κ : ℝ) (hκ : κ ≠ 0) |
| 138 | (t : Icc (0 : ℝ) M.T) (x : Space) (θ : ℝ) : |
| 139 | slicedMomentumResidual (Icc (0 : ℝ) M.T) κ |
| 140 | ((joinedSourceOperators P M D τ hτ hτT B).inverseFrame (t,(x,θ))) |
| 141 | ((joinedSourceOperators P M D τ hτ hτT B).strain (t,(x,θ))) |
| 142 | ((joinedSourceOperators P M D τ hτ hτT B).normal (t,(x,θ))) |
| 143 | (fieldSum (N+1) κ (assembledVelocity N (joinedPrimaryProfiles P M D τ hτ hτT B A π))) |
| 144 | (fieldSum (N+1) κ (assembledPressure N (joinedPrimaryProfiles P M D τ hτ hτT B A π))) (t,(x,θ)) = |
| 145 | ∑ n ∈ Ico (N+1) (2*N+3), κ^n • |
| 146 | recursiveGrade (joinedSourceOperators P M D τ hτ hτT B) N |
| 147 | (joinedPrimaryProfiles P M D τ hτ hτT B A π) (t,(x,θ)) n := by |
| 148 | apply recursive_residual_tail (joinedSourceOperators P M D τ hτ hτT B) A π N hN κ hκ (t,(x,θ)) |
| 149 | · exact (uniqueDiffOn_Icc M.T_pos) _ t.property |
| 150 | · intro p |
| 151 | exact joinedSource_high_slice P M D hT τ hτ hτT B _ hprimary p t x θ |
| 152 | · intro p |
| 153 | exact joinedSource_mean_slice P M D hT τ hτ hτT B _ hprimary p t x θ |
| 154 | · intro p |
| 155 | exact joinedSource_corrector_slice P M D hT τ hτ hτT B _ hprimary p t x θ |
| 156 | · intro p |
| 157 | exact (joinedSource_meanPressure_smooth_all P M D hT τ hτ hτT B _ hprimary rfl p t).differentiable |
| 158 | (by simp) (x,θ) |
| 159 | · intro p |
| 160 | exact (joinedSource_highPressure_smooth_all P M D hT τ hτ hτT B _ hprimary hπ p t).differentiable |
| 161 | (by simp) (x,θ) |
| 162 | · intro p _ |
| 163 | change (pressureJet (joinedPrimaryProfiles P M D τ hτ hτT B A π p).meanPressure (t,(x,θ))).2 |
| 164 | angleDirection • ((joinedSourceOperators P M D τ hτ hτT B).normal (t,(x,θ))) = (0 : Space) |
| 165 | rw [joinedSource_meanPressure_angle_all P M D hT τ hτ hτT B _ hprimary rfl p t x θ,zero_smul] |
| 166 | · exact htan t x θ |
| 167 | · exact hprimaryEquation t x θ |
| 168 | · intro p hp _ |
| 169 | exact joinedSource_high_tangent P M D hT τ hτ hτT B _ hprimary p hp t x θ |
| 170 | · intro p hp _ |
| 171 | exact joinedSource_mean_equation P M D hT τ hτ hτT B _ hprimary Cagree p hp t x θ |
| 172 | · intro p hp _ |
| 173 | exact joinedSource_high_equation P M D hT τ hτ hτT B _ hprimary p hp t x θ |
| 174 | |
| 175 | end EulerPacketCylinderField |