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.PacketMeanPressureGradient |
| 2 | import Euler.PacketInitializedProfiles |
| 3 | import Euler.PacketJoinedSourceResidual |
| 4 | import Euler.TransversePacketJoinedSupport |
| 5 | |
| 6 | /-! The literal initialized finite packet has a genuine pressure-gradient |
| 7 | Field in the closed lifted gradient space. Both the mean and oscillatory |
| 8 | pieces come from the actual source inverses. -/ |
| 9 | |
| 10 | noncomputable section |
| 11 | |
| 12 | namespace EulerTransversePacketPrimary |
| 13 | |
| 14 | open Set EulerSmoothLimit EulerTransversePacketProvider EulerPacketPressure |
| 15 | |
| 16 | variable {P : ℝ} [Fact (0 < P)] |
| 17 | {U : Type*} [NormedAddCommGroup U] [InnerProductSpace ℝ U] [CompleteSpace U] |
| 18 | {D : Data U} (τ : ℝ) (hτ : 0 < τ) (hτT : τ < D.T) |
| 19 | (B : HistoryData (D.initial τ hτ hτT.le)) (Y : InitialData P D) |
| 20 | |
| 21 | def pressureGradientWitness (κ : ℝ) (m : Space) : |
| 22 | GradientWitness P D.T κ m (scalar τ hτ hτT B Y) := |
| 23 | GradientWitness.compact (scalar τ hτ hτT B Y) |
| 24 | (pressurePath τ hτ hτT B Y) (pressurePath_orbit τ hτ hτT B Y) |
| 25 | (scalar_eq_pointField τ hτ hτT B Y) D.support D.support_compact |
| 26 | (fun t => scalar_zero_outside τ hτ hτT B Y t) |
| 27 | |
| 28 | end EulerTransversePacketPrimary |
| 29 | |
| 30 | namespace EulerTransversePacketJoin |
| 31 | |
| 32 | open Set EulerSmoothLimit EulerTransversePacketProvider EulerPacketPressure |
| 33 | EulerPacketProfileRecursion |
| 34 | |
| 35 | variable {P : ℝ} [Fact (0 < P)] |
| 36 | {U : Type*} [NormedAddCommGroup U] [InnerProductSpace ℝ U] [CompleteSpace U] |
| 37 | {D : Data U} (τ : ℝ) (hτ : 0 < τ) (hτT : τ < D.T) |
| 38 | (B : HistoryData (D.initial τ hτ hτT.le)) {raw : VectorField} (G : Forcing P D raw) |
| 39 | |
| 40 | def pressureGradientWitness (κ : ℝ) (m : Space) : |
| 41 | GradientWitness P D.T κ m (scalar τ hτ hτT B G) := |
| 42 | GradientWitness.compact (scalar τ hτ hτT B G) |
| 43 | (pressurePath τ hτ hτT B G) (pressurePath_orbit τ hτ hτT B G) |
| 44 | (scalar_eq_pointField τ hτ hτT B G) D.support D.support_compact |
| 45 | (scalar_zero_outside τ hτ hτT B G) |
| 46 | |
| 47 | end EulerTransversePacketJoin |
| 48 | |
| 49 | namespace EulerPacketCylinderField |
| 50 | |
| 51 | open Set EulerSmoothLimit EulerPacketPointJets EulerPacketProfileRecursion EulerPacketPressure |
| 52 | |
| 53 | variable (P : ℝ) [Fact (0 < P)] (M : EulerMeanPacketProvider.Data) |
| 54 | {U : Type*} [NormedAddCommGroup U] [InnerProductSpace ℝ U] [CompleteSpace U] |
| 55 | (D : EulerTransversePacketProvider.Data U) (hTime : M.T = D.T) |
| 56 | (τ : ℝ) (hτ : 0 < τ) (hτT : τ < D.T) |
| 57 | (B : EulerTransversePacketProvider.HistoryData (D.initial τ hτ hτT.le)) |
| 58 | (primary : Profile) (hprimary : ProfileRegularity P M.T M.T_pos.le D.support primary) |
| 59 | (κ : ℝ) (m : Space) |
| 60 | |
| 61 | def joinedSource_highPressureWitness_step (p : ℕ) (hp : 2 ≤ p) : |
| 62 | GradientWitness P M.T κ m |
| 63 | (joinedSourceProfiles P M D τ hτ hτT B primary p).highPressure := by |
| 64 | let h : Nonempty (EulerTransversePacketProvider.Forcing P D |
| 65 | (highForce (joinedSourceOperators P M D τ hτ hτT B) p |
| 66 | (joinedSourceProfiles P M D τ hτ hτT B primary))) := |
| 67 | ⟨joinedSource_highForcing P M D hTime τ hτ hτT B primary hprimary p hp⟩ |
| 68 | have he : joinedSourceProfiles P M D τ hτ hτT B primary p = |
| 69 | step (joinedSourceOperators P M D τ hτ hτT B) p |
| 70 | (joinedSourceProfiles P M D τ hτ hτT B primary) := profiles_step _ _ p hp |
| 71 | rw [he] |
| 72 | change GradientWitness P M.T κ m (EulerTransversePacketJoin.highSolve |
| 73 | (P := P) τ hτ hτT B _).2 |
| 74 | rw [EulerTransversePacketJoin.highSolve_of_admissible τ hτ hτT B h] |
| 75 | exact (EulerTransversePacketJoin.pressureGradientWitness τ hτ hτT B |
| 76 | (Classical.choice h) κ m).changeTime hTime.symm |
| 77 | |
| 78 | def joinedSource_meanPressureWitness_step (p : ℕ) (hp : 2 ≤ p) : |
| 79 | GradientWitness P M.T κ m |
| 80 | (joinedSourceProfiles P M D τ hτ hτT B primary p).meanPressure := by |
| 81 | let h : Nonempty (EulerMeanPacketProvider.Forcing M |
| 82 | (meanForce (joinedSourceOperators P M D τ hτ hτT B) p |
| 83 | (joinedSourceProfiles P M D τ hτ hτT B primary))) := |
| 84 | ⟨joinedSource_meanForcing P M D hTime τ hτ hτT B primary hprimary p hp⟩ |
| 85 | have he : joinedSourceProfiles P M D τ hτ hτT B primary p = |
| 86 | step (joinedSourceOperators P M D τ hτ hτT B) p |
| 87 | (joinedSourceProfiles P M D τ hτ hτT B primary) := profiles_step _ _ p hp |
| 88 | rw [he] |
| 89 | change GradientWitness P M.T κ m (EulerMeanPacketProvider.meanSolve M _).2 |
| 90 | rw [EulerMeanPacketProvider.meanSolve_of_admissible M _ h] |
| 91 | exact (Classical.choice h).pressureGradientWitness P κ m |
| 92 | |
| 93 | def joinedSource_highPressureWitness |
| 94 | (hπ : GradientWitness P M.T κ m primary.highPressure) (p : ℕ) : |
| 95 | GradientWitness P M.T κ m |
| 96 | (joinedSourceProfiles P M D τ hτ hτT B primary p).highPressure := by |
| 97 | by_cases hp0 : p = 0 |
| 98 | · subst p |
| 99 | simp only [joinedSourceProfiles,profiles_zero] |
| 100 | exact GradientWitness.zero P M.T κ m |
| 101 | by_cases hp1 : p = 1 |
| 102 | · subst p |
| 103 | simpa only [joinedSourceProfiles,profiles_one] using hπ |
| 104 | exact joinedSource_highPressureWitness_step P M D hTime τ hτ hτT B |
| 105 | primary hprimary κ m p (by omega) |
| 106 | |
| 107 | def joinedSource_meanPressureWitness |
| 108 | (hq : GradientWitness P M.T κ m primary.meanPressure) (p : ℕ) : |
| 109 | GradientWitness P M.T κ m |
| 110 | (joinedSourceProfiles P M D τ hτ hτT B primary p).meanPressure := by |
| 111 | by_cases hp0 : p = 0 |
| 112 | · subst p |
| 113 | simp only [joinedSourceProfiles,profiles_zero] |
| 114 | exact GradientWitness.zero P M.T κ m |
| 115 | by_cases hp1 : p = 1 |
| 116 | · subst p |
| 117 | simpa only [joinedSourceProfiles,profiles_one] using hq |
| 118 | exact joinedSource_meanPressureWitness_step P M D hTime τ hτ hτT B |
| 119 | primary hprimary κ m p (by omega) |
| 120 | |
| 121 | def joinedPressureWitness |
| 122 | (hq : GradientWitness P M.T κ m primary.meanPressure) |
| 123 | (hπ : GradientWitness P M.T κ m primary.highPressure) (N : ℕ) (r : ℝ) : |
| 124 | GradientWitness P M.T κ m (fieldSum (N+1) r (assembledPressure N |
| 125 | (joinedSourceProfiles P M D τ hτ hτT B primary))) := |
| 126 | GradientWitness.evaluateFamily (N+1) r _ (GradientWitness.assembleFamily N _ _ |
| 127 | (fun i _ => joinedSource_meanPressureWitness P M D hTime τ hτ hτT B |
| 128 | primary hprimary κ m hq i) |
| 129 | (fun i _ => joinedSource_highPressureWitness P M D hTime τ hτ hτT B |
| 130 | primary hprimary κ m hπ i)) |
| 131 | |
| 132 | end EulerPacketCylinderField |
| 133 | |
| 134 | namespace EulerPacketTerminalDatum |
| 135 | |
| 136 | open Set EulerSmoothLimit EulerSpatialCutoffs EulerTransversePacketProvider |
| 137 | EulerPacketCylinderField EulerPacketProfileRecursion EulerPacketPointJets |
| 138 | EulerPacketPressure EulerPacketCoordinates EulerLiftedGradientSpace |
| 139 | |
| 140 | variable (M : EulerMeanPacketProvider.Data) |
| 141 | {U : Type*} [NormedAddCommGroup U] [InnerProductSpace ℝ U] [CompleteSpace U] |
| 142 | (D : Data U) (hTime : M.T = D.T) (τ : ℝ) (hτ : 0 < τ) (hτT : τ < D.T) |
| 143 | (B : HistoryData (D.initial τ hτ hτT.le)) |
| 144 | (δ : ℝ) (hδ : 0 < δ) (ξ : U) (hs : tsupport innerCutoff ⊆ D.support) (α : ℝ) |
| 145 | |
| 146 | def initializedPressure (N : ℕ) (κ : ℝ) : ScalarField := |
| 147 | fieldSum (N+1) κ (assembledPressure N (initializedProfiles M D τ hτ hτT B δ hδ ξ hs α)) |
| 148 | |
| 149 | /-- Every pressure component is supplied by its actual inverse, including the |
| 150 | literal compact terminal primary at grade one. -/ |
| 151 | def initializedPressureWitness (N : ℕ) (κ : ℝ) : |
| 152 | GradientWitness period M.T κ D.m₀ (initializedPressure M D τ hτ hτT B δ hδ ξ hs α N κ) := |
| 153 | joinedPressureWitness period M D hTime τ hτ hτT B |
| 154 | (joinedTerminalPrimary period M D τ hτ hτT B (initialData D δ hδ (α • ξ) hs)) |
| 155 | (joinedTerminalPrimaryWitness period M D hTime τ hτ hτT B (initialData D δ hδ (α • ξ) hs)) |
| 156 | κ D.m₀ (GradientWitness.zero period M.T κ D.m₀) |
| 157 | ((EulerTransversePacketPrimary.pressureGradientWitness τ hτ hτT B |
| 158 | (initialData D δ hδ (α • ξ) hs) κ D.m₀).changeTime hTime.symm) N κ |
| 159 | |
| 160 | /-- The actual pressure-gradient input Pa for the normalized coordinate |
| 161 | equation. The factor k² is the same as in the literal residual identity. -/ |
| 162 | def initializedCoordinatePressureField (N : ℕ) (k : ℝ) (hk : k ≠ 0) : |
| 163 | Field period D.T (coordinatePressure D k |
| 164 | (initializedPressure M D τ hτ hτT B δ hδ ξ hs α N k⁻¹)) := |
| 165 | pressureField D k hk |
| 166 | ((initializedPressureWitness M D hTime τ hτ hτT B δ hδ ξ hs α N k⁻¹).changeTime hTime) |
| 167 | |
| 168 | theorem initializedCoordinatePressureField_mem (N : ℕ) (k : ℝ) (hk : k ≠ 0) |
| 169 | (t : Icc (0 : ℝ) D.T) : |
| 170 | (initializedCoordinatePressureField M D hTime τ hτ hτT B δ hδ ξ hs α N k hk).path t ∈ |
| 171 | gradientSpace period k⁻¹ D.m₀ := |
| 172 | pressureField_mem D k hk _ t |
| 173 | |
| 174 | end EulerPacketTerminalDatum |