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 | |
| 4 | /-! Classical spatial slices and true within-time derivatives of the joined recursive family. -/ |
| 5 | |
| 6 | noncomputable section |
| 7 | |
| 8 | namespace EulerPacketCylinderField |
| 9 | |
| 10 | open Set EulerSmoothLimit EulerPacketPointJets EulerPacketProfileRecursion |
| 11 | open scoped ContDiff |
| 12 | |
| 13 | variable (P : ℝ) [Fact (0 < P)] (M : EulerMeanPacketProvider.Data) |
| 14 | {U : Type*} [NormedAddCommGroup U] [InnerProductSpace ℝ U] [CompleteSpace U] |
| 15 | (D : EulerTransversePacketProvider.Data U) (hT : M.T = D.T) |
| 16 | (τ : ℝ) (hτ : 0 < τ) (hτT : τ < D.T) |
| 17 | (B : EulerTransversePacketProvider.HistoryData (D.initial τ hτ hτT.le)) |
| 18 | (primary : Profile) (hprimary : ProfileRegularity P M.T M.T_pos.le D.support primary) |
| 19 | |
| 20 | include hT hprimary in |
| 21 | theorem joinedSource_high_slice (p : ℕ) (t : Icc (0 : ℝ) M.T) (x : Space) (θ : ℝ) : |
| 22 | SliceDifferentiable (Icc (0 : ℝ) M.T) |
| 23 | (joinedSourceProfiles P M D τ hτ hτT B primary p).high (t,(x,θ)) := by |
| 24 | let W := joinedSourceProfileWitness P M D hT τ hτ hτT B primary hprimary p |
| 25 | exact W.high.sliceDifferentiable W.highDerivative M.T_pos.le W.high_time t x θ |
| 26 | |
| 27 | include hT hprimary in |
| 28 | theorem joinedSource_mean_slice (p : ℕ) (t : Icc (0 : ℝ) M.T) (x : Space) (θ : ℝ) : |
| 29 | SliceDifferentiable (Icc (0 : ℝ) M.T) |
| 30 | (joinedSourceProfiles P M D τ hτ hτT B primary p).mean (t,(x,θ)) := by |
| 31 | let W := joinedSourceProfileWitness P M D hT τ hτ hτT B primary hprimary p |
| 32 | exact W.mean.sliceDifferentiable W.meanDerivative M.T_pos.le W.mean_time t x θ |
| 33 | |
| 34 | include hT hprimary in |
| 35 | theorem joinedSource_corrector_slice (p : ℕ) (t : Icc (0 : ℝ) M.T) (x : Space) (θ : ℝ) : |
| 36 | SliceDifferentiable (Icc (0 : ℝ) M.T) |
| 37 | (joinedSourceProfiles P M D τ hτ hτT B primary p).corrector (t,(x,θ)) := by |
| 38 | let W := joinedSourceProfileWitness P M D hT τ hτ hτT B primary hprimary p |
| 39 | exact W.corrector.sliceDifferentiable W.correctorDerivative M.T_pos.le W.corrector_time t x θ |
| 40 | |
| 41 | include hT hprimary in |
| 42 | theorem joinedSource_highPressure_smooth_all |
| 43 | (hπ : ∀ t : Icc (0 : ℝ) M.T, ContDiff ℝ ∞ (fun y : Space × ℝ => primary.highPressure (t,y))) |
| 44 | (p : ℕ) (t : Icc (0 : ℝ) M.T) : |
| 45 | ContDiff ℝ ∞ (fun y : Space × ℝ => |
| 46 | (joinedSourceProfiles P M D τ hτ hτT B primary p).highPressure (t,y)) := by |
| 47 | by_cases hp0 : p = 0 |
| 48 | · subst p |
| 49 | simp only [joinedSourceProfiles,profiles_zero] |
| 50 | change ContDiff ℝ ∞ (fun _ : Space × ℝ => (0 : ℝ)) |
| 51 | exact contDiff_const |
| 52 | by_cases hp1 : p = 1 |
| 53 | · subst p |
| 54 | simpa only [joinedSourceProfiles,profiles_one] using hπ t |
| 55 | exact joinedSource_highPressure_smooth P M D hT τ hτ hτT B primary hprimary p (by omega) t |
| 56 | |
| 57 | include hT hprimary in |
| 58 | theorem joinedSource_meanPressure_smooth_all (hm : primary.meanPressure = 0) |
| 59 | (p : ℕ) (t : Icc (0 : ℝ) M.T) : |
| 60 | ContDiff ℝ ∞ (fun y : Space × ℝ => |
| 61 | (joinedSourceProfiles P M D τ hτ hτT B primary p).meanPressure (t,y)) := by |
| 62 | by_cases hp0 : p = 0 |
| 63 | · subst p |
| 64 | simp only [joinedSourceProfiles,profiles_zero] |
| 65 | change ContDiff ℝ ∞ (fun _ : Space × ℝ => (0 : ℝ)) |
| 66 | exact contDiff_const |
| 67 | by_cases hp1 : p = 1 |
| 68 | · subst p |
| 69 | simp only [joinedSourceProfiles,profiles_one,hm,Pi.zero_apply] |
| 70 | exact contDiff_const |
| 71 | exact joinedSource_meanPressure_smooth P M D hT τ hτ hτT B primary hprimary p (by omega) t |
| 72 | |
| 73 | include hT hprimary in |
| 74 | theorem joinedSource_meanPressure_angle_all (hm : primary.meanPressure = 0) |
| 75 | (p : ℕ) (t : Icc (0 : ℝ) M.T) (x : Space) (θ : ℝ) : |
| 76 | (pressureJet (joinedSourceProfiles P M D τ hτ hτT B primary p).meanPressure (t,(x,θ))).2 |
| 77 | angleDirection = 0 := by |
| 78 | by_cases hp0 : p = 0 |
| 79 | · subst p |
| 80 | simp only [joinedSourceProfiles,profiles_zero] |
| 81 | change (pressureJet (0 : ScalarField) (t,(x,θ))).2 angleDirection = 0 |
| 82 | rw [pressureJet_zero] |
| 83 | rfl |
| 84 | by_cases hp1 : p = 1 |
| 85 | · subst p |
| 86 | simp only [joinedSourceProfiles,profiles_one,hm] |
| 87 | rw [pressureJet_zero] |
| 88 | rfl |
| 89 | exact joinedSource_meanPressure_angle P M D hT τ hτ hτT B primary hprimary p (by omega) t x θ |
| 90 | |
| 91 | end EulerPacketCylinderField |