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.BasePacketSetup |
| 2 | import Euler.ParentHomogeneousPacketLowBounds |
| 3 | import Euler.ParentInitializedState |
| 4 | import Euler.ParentFirstPacketLowGuards |
| 5 | import Euler.ParentForwardInitialSupport |
| 6 | import Euler.BasePacketUniformCosts |
| 7 | import Euler.ParentUniformForwardChild |
| 8 | |
| 9 | /-! One actual first-packet correction, its physical flow, labels and |
| 10 | source errors. The uniform scalar frequency guard constructs the record. -/ |
| 11 | |
| 12 | /-! ## From `Euler/BasePacketLowBounds.lean` |
| 13 | |
| 14 | The text of `Euler/BasePacketLowBounds.lean`, folded into this file, which was its only importer. -/ |
| 15 | |
| 16 | section |
| 17 | |
| 18 | /-! The first packet's size and sign hypotheses are proved for the |
| 19 | concrete base solution on its actual restricted horizon. -/ |
| 20 | |
| 21 | noncomputable section |
| 22 | |
| 23 | namespace EulerBaseDatum |
| 24 | |
| 25 | open Set InnerProductSpace EulerSmoothLimit EulerParentPacketFrames |
| 26 | EulerBaseEulerGuards EulerPacketSupport EulerPacketFirstLowBounds |
| 27 | |
| 28 | variable (β : ℝ) (hβ : |β| ≤ 1) (ell : ℝ) (hell : 0 < ell) (hell1 : ell ≤ 1) |
| 29 | (T : ℝ) (hT : 0 < T) (hTB : T ≤ initialTime) |
| 30 | |
| 31 | def firstPacketData : EulerTransversePacketProvider.Data FirstPlane := |
| 32 | (packetBaseParent β hβ ell hell hell1 T hT hTB).transverseData |
| 33 | firstNormal firstNormal_unit firstFrame support compact |
| 34 | |
| 35 | theorem firstPacket_primary_size (t : Icc (0 : ℝ) T) (x : Space) : |
| 36 | ‖(firstPacketData β hβ ell hell hell1 T hT hTB).normal.field t x‖* |
| 37 | ‖EulerPacketForwardFactorization.canonicalVelocity |
| 38 | (firstPacketData β hβ ell hell hell1 T hT hTB) firstCoordinate t x‖ ≤ firstRatio := by |
| 39 | apply primary_size_le (firstPacketData β hβ ell hell hell1 T hT hTB) |
| 40 | initialCoefficientCost initialCoefficientCost_nonneg x |
| 41 | (fun s => packetBase_strain_bound β hβ ell hell hell1 T hT hTB s x) |
| 42 | (packetBase_short T hTB) firstCoordinate |
| 43 | · change ‖((packetBaseParent β hβ ell hell hell1 T hT hTB).transverseData |
| 44 | firstNormal firstNormal_unit firstFrame support compact).normal.field |
| 45 | (packetBaseParent β hβ ell hell hell1 T hT hTB).zeroTime x‖=1 |
| 46 | rw [source_normal_initial] |
| 47 | exact firstNormal_unit |
| 48 | · change ‖((packetBaseParent β hβ ell hell hell1 T hT hTB).transverseData |
| 49 | firstNormal firstNormal_unit firstFrame support compact).frame.field |
| 50 | (packetBaseParent β hβ ell hell hell1 T hT hTB).zeroTime x firstCoordinate‖=1 |
| 51 | rw [source_frame_initial,firstCoordinate_map] |
| 52 | simp |
| 53 | |
| 54 | theorem firstPacket_primary_flux (t : Icc (0 : ℝ) T) (x : Space) : |
| 55 | 0 ≤ ⟪(firstPacketData β hβ ell hell hell1 T hT hTB).normal.field t x, |
| 56 | (firstPacketData β hβ ell hell hell1 T hT hTB).M.field t x |
| 57 | (EulerPacketForwardFactorization.canonicalVelocity |
| 58 | (firstPacketData β hβ ell hell hell1 T hT hTB) firstCoordinate t x)⟫_ℝ := by |
| 59 | apply primary_flux_nonneg (firstPacketData β hβ ell hell hell1 T hT hTB) x firstCoordinate t |
| 60 | intro hx |
| 61 | exact (by norm_num : (0 : ℝ) ≤ 1/2).trans |
| 62 | (firstPacket_pressure_numerator β hβ ell hell hell1 T hT hTB t x hx) |
| 63 | |
| 64 | theorem packetBase_physical_strain (t : Icc (0 : ℝ) T) (x : Space) : |
| 65 | ‖fderiv ℝ (fun y => (packetBaseState β hβ ell hell hell1 T hT hTB).evolution.velocity (t,y)) x‖ ≤ |
| 66 | initialCoefficientCost := by |
| 67 | rw [← (packetBaseState β hβ ell hell hell1 T hT hTB).evolution.strain_at_normalized_inverse t x] |
| 68 | exact packetBase_strain_bound β hβ ell hell hell1 T hT hTB t _ |
| 69 | |
| 70 | theorem packetBase_physical_force (t : Icc (0 : ℝ) T) (x : Space) : |
| 71 | ‖fderiv ℝ ((packetBaseState β hβ ell hell hell1 T hT hTB).evolution.force t) x‖ ≤ |
| 72 | initialCoefficientCost := by |
| 73 | let E := (packetBaseState β hβ ell hell hell1 T hT hTB).evolution |
| 74 | have h := packetBase_curvature_bound β hβ ell hell hell1 T hT hTB t |
| 75 | (ell⁻¹ • E.inverse.field t x) |
| 76 | erw [E.curvature_eq] at h |
| 77 | change ‖fderiv ℝ (E.force t) |
| 78 | ((packetBaseParent β hβ ell hell hell1 T hT hTB).position t (ell • (ell⁻¹ • E.inverse.field t x)))‖ ≤ _ at h |
| 79 | simp only [smul_smul,mul_inv_cancel₀ hell.ne',one_smul] at h |
| 80 | erw [E.inverse.right_inverse] at h |
| 81 | exact h |
| 82 | |
| 83 | end EulerBaseDatum |
| 84 | end |
| 85 | |
| 86 | end |
| 87 | |
| 88 | /-! ## From `Euler/BaseFirstPacket.lean` |
| 89 | |
| 90 | The text of `Euler/BaseFirstPacket.lean`, folded into this file, which was its only importer. -/ |
| 91 | |
| 92 | section |
| 93 | |
| 94 | /-! The first packet over the concrete base solution produces an actual |
| 95 | smooth Euler state and its localized source bounds. All analytic input |
| 96 | comes from the same initialized correction, graph flow, and error bounds. -/ |
| 97 | |
| 98 | noncomputable section |
| 99 | |
| 100 | namespace EulerBaseDatum |
| 101 | |
| 102 | open Set EulerSmoothLimit EulerParentPacketFrames EulerPacketSupport |
| 103 | EulerAllOrderDriftCorrection EulerGraphInvariantFlow EulerPacketTerminalDatum |
| 104 | EulerPacketFirstLowBounds EulerMeanHarmonic |
| 105 | |
| 106 | variable (β : ℝ) (hβ : |β| ≤ 1) (ell : ℝ) (hell : 0 < ell) (hell1 : ell ≤ 1) |
| 107 | (T : ℝ) (hT : 0 < T) (hTB : T ≤ initialTime) |
| 108 | |
| 109 | def firstPacketMeanData : EulerMeanPacketProvider.Data := |
| 110 | (packetBaseParent β hβ ell hell hell1 T hT hTB).meanData |
| 111 | (packetBaseLowBounds β hβ ell hell hell1 T hT hTB) |
| 112 | |
| 113 | theorem firstPacketAgreement : EulerPacketCylinderField.SourceCoefficientAgreement |
| 114 | (firstPacketMeanData β hβ ell hell hell1 T hT hTB) |
| 115 | (firstPacketData β hβ ell hell hell1 T hT hTB) := |
| 116 | (packetBaseParent β hβ ell hell hell1 T hT hTB).sourceAgreement |
| 117 | firstNormal firstNormal_unit firstFrame support compact |
| 118 | (packetBaseLowBounds β hβ ell hell hell1 T hT hTB) |
| 119 | |
| 120 | variable (δ : ℝ) (hδ : 0 < δ) (hchild : ℝ) |
| 121 | (N : ℕ) (hN : 1 ≤ N) (k : ℝ) (hk : 4 ≤ k) |
| 122 | (Q : Budget period hT |
| 123 | (forwardInitializedCorrectionData (firstPacketMeanData β hβ ell hell hell1 T hT hTB) |
| 124 | (firstPacketData β hβ ell hell hell1 T hT hTB) rfl δ hδ firstCoordinate |
| 125 | (subset_refl _) (δ*hchild) (firstPacketAgreement β hβ ell hell hell1 T hT hTB) N hN k hk)) |
| 126 | (G : EulerPhysicalGraphFlowBounds.Data period T) |
| 127 | (hG : G.A=Q.liftedPacketCoefficient period |
| 128 | (forwardInitializedNormalizedField (firstPacketMeanData β hβ ell hell hell1 T hT hTB) |
| 129 | (firstPacketData β hβ ell hell hell1 T hT hTB) rfl δ hδ firstCoordinate (subset_refl _) (δ*hchild) N k)) |
| 130 | (hgraph : ∀ t q, graphConstraint k firstNormal (G.A.field t q)=0) |
| 131 | (nextEll : ℝ) (hnext : 0 < nextEll) (hnext1 : nextEll ≤ 1) |
| 132 | |
| 133 | def firstPacketState |
| 134 | (labels : LabelData ((packetBaseParent β hβ ell hell hell1 T hT hTB).child |
| 135 | G k firstNormal hgraph nextEll hnext hnext1)) : |
| 136 | SmoothState ((packetBaseParent β hβ ell hell hell1 T hT hTB).child |
| 137 | G k firstNormal hgraph nextEll hnext hnext1) := |
| 138 | (packetBaseState β hβ ell hell hell1 T hT hTB).forwardChild |
| 139 | (packetBaseLowBounds β hβ ell hell hell1 T hT hTB) |
| 140 | firstNormal firstNormal_unit firstFrame support compact symmetric |
| 141 | δ hδ firstCoordinate (subset_refl _) (δ*hchild) N hN k hk Q G hG hgraph nextEll hnext hnext1 labels |
| 142 | |
| 143 | def firstPacketLowBounds (hquarter : ell ≤ 1/4) (hδ1 : δ ≤ 1) (hhchild : 0 ≤ hchild) |
| 144 | (ev ep : ℝ) |
| 145 | (herr : (packetBaseState β hβ ell hell hell1 T hT hTB).evolution.HomogeneousSourceErrors |
| 146 | firstNormal firstNormal_unit firstFrame support compact Q |
| 147 | (forwardInitializedApproximationResidual (firstPacketMeanData β hβ ell hell hell1 T hT hTB) |
| 148 | (firstPacketData β hβ ell hell hell1 T hT hTB) rfl δ hδ firstCoordinate (subset_refl _) (δ*hchild) |
| 149 | (firstPacketAgreement β hβ ell hell hell1 T hT hTB) N hN k hk) |
| 150 | k δ hchild firstCoordinate ev ep) |
| 151 | (hsmall : (initialCoefficientCost+2*initialCoefficientCost*δ*(hchild*firstRatio)+ep)*(T^2/2)+ |
| 152 | initialCoefficientCost*T+ |
| 153 | boundaryLocalizationC2*(initialCoefficientCost+hchild*firstRatio+ev)*ell^3*T ≤ 1/2) : |
| 154 | LowBounds ((packetBaseParent β hβ ell hell hell1 T hT hTB).child |
| 155 | G k firstNormal hgraph nextEll hnext hnext1) := |
| 156 | (packetBaseState β hβ ell hell hell1 T hT hTB).evolution.firstChildLowBounds |
| 157 | (packetBaseLowBounds β hβ ell hell hell1 T hT hTB) |
| 158 | firstNormal firstNormal_unit firstFrame support compact δ hδ hδ1 hchild hhchild |
| 159 | firstCoordinate (subset_refl _) N hN k hk Q G hG hgraph nextEll hnext hnext1 |
| 160 | rfl hquarter (subset_halfBall.trans Metric.ball_subset_closedBall) |
| 161 | ev ep initialCoefficientCost initialCoefficientCost herr |
| 162 | (firstPacket_primary_size β hβ ell hell hell1 T hT hTB) |
| 163 | (firstPacket_primary_flux β hβ ell hell hell1 T hT hTB) |
| 164 | (packetBase_physical_strain β hβ ell hell hell1 T hT hTB) |
| 165 | (packetBase_physical_force β hβ ell hell hell1 T hT hTB) hsmall |
| 166 | |
| 167 | end EulerBaseDatum |
| 168 | end |
| 169 | |
| 170 | end |
| 171 | |
| 172 | noncomputable section |
| 173 | |
| 174 | namespace EulerBaseDatum |
| 175 | |
| 176 | open Set EulerSmoothLimit EulerParentPacketFrames EulerPacketSupport |
| 177 | EulerAllOrderDriftCorrection EulerGraphInvariantFlow EulerPacketTerminalDatum |
| 178 | EulerPacketSourceFrequency EulerPacketUniformSource EulerPacketPhysicalLowBounds |
| 179 | EulerPacketFirstLowBounds EulerMeanHarmonic |
| 180 | |
| 181 | variable (β : ℝ) (hβ : |β| ≤ 1) (ell : ℝ) (hell : 0 < ell) (hell1 : ell ≤ 1) |
| 182 | (T : ℝ) (hT : 0 < T) (hTB : T ≤ initialTime) |
| 183 | (δ : ℝ) (hδ : 0 < δ) (hchild k : ℝ) (hk : UniversalFrequency k) |
| 184 | (nextEll : ℝ) (hnext : 0 < nextEll) (hnext1 : nextEll ≤ 1) |
| 185 | |
| 186 | section ConstructorInjectivity |
| 187 | |
| 188 | attribute [local irreducible] Parent.child initialParent |
| 189 | |
| 190 | structure FirstPacketChoice where |
| 191 | hn : 1 ≤ truncation k |
| 192 | Q : Budget period hT |
| 193 | (forwardInitializedCorrectionData (firstPacketMeanData β hβ ell hell hell1 T hT hTB) |
| 194 | (firstPacketData β hβ ell hell hell1 T hT hTB) rfl δ hδ firstCoordinate |
| 195 | (subset_refl _) (δ*hchild) (firstPacketAgreement β hβ ell hell hell1 T hT hTB) |
| 196 | (truncation k) hn k hk.four) |
| 197 | G : EulerPhysicalGraphFlowBounds.Data period T |
| 198 | graph : ∀ t q, graphConstraint k firstNormal (G.A.field t q)=0 |
| 199 | coefficient : G.A=Q.liftedPacketCoefficient period |
| 200 | (forwardInitializedNormalizedField (firstPacketMeanData β hβ ell hell hell1 T hT hTB) |
| 201 | (firstPacketData β hβ ell hell hell1 T hT hTB) rfl δ hδ firstCoordinate (subset_refl _) |
| 202 | (δ*hchild) (truncation k) k) |
| 203 | labels : LabelData ((packetBaseParent β hβ ell hell hell1 T hT hTB).child |
| 204 | G k firstNormal graph nextEll hnext hnext1) |
| 205 | label_constant : labels.K=k^80 |
| 206 | displacement_bound : ∀ (t : Icc (0 : ℝ) T) (x : Space), |
| 207 | ‖(G.displacementField k firstNormal ell hell t).field x‖ ≤ k^(-(1/4 : ℝ)) |
| 208 | errors : (packetBaseState β hβ ell hell hell1 T hT hTB).evolution.HomogeneousSourceErrors |
| 209 | firstNormal firstNormal_unit firstFrame support compact Q |
| 210 | (forwardInitializedApproximationResidual (firstPacketMeanData β hβ ell hell hell1 T hT hTB) |
| 211 | (firstPacketData β hβ ell hell hell1 T hT hTB) rfl δ hδ firstCoordinate (subset_refl _) |
| 212 | (δ*hchild) (firstPacketAgreement β hβ ell hell hell1 T hT hTB) (truncation k) hn k hk.four) |
| 213 | k δ hchild firstCoordinate (k^(-(1/4 : ℝ))) (k^(-(1/4 : ℝ))) |
| 214 | |
| 215 | end ConstructorInjectivity |
| 216 | |
| 217 | theorem exists_firstPacketChoice (hδ1 : δ ≤ 1) (hh : 0 < hchild) |
| 218 | (hfrequency : EulerPacketInitializedOutputCost.uniformConstant* |
| 219 | (profileEnvelope (firstParameterSize T δ hchild))^EulerPacketInitializedOutputCost.uniformPower ≤ |
| 220 | smallPower k) |
| 221 | (hKk : solutionLabelConstant ≤ k) (hinv : ell⁻¹ ≤ k^(3/4 : ℝ)) : |
| 222 | Nonempty (FirstPacketChoice β hβ ell hell hell1 T hT hTB δ hδ hchild k hk nextEll hnext hnext1) := by |
| 223 | let A := packetBaseParent β hβ ell hell hell1 T hT hTB |
| 224 | let S := packetBaseState β hβ ell hell hell1 T hT hTB |
| 225 | let H := packetBaseLowBounds β hβ ell hell hell1 T hT hTB |
| 226 | let J := firstPacketInputs β hβ ell hell hell1 T hT hTB |
| 227 | have hp := firstPacket_uniform_primitives β hβ ell hell hell1 T hT hTB δ hδ hδ1 hchild hh.le |
| 228 | obtain ⟨hn,Q,G,hgraph,hG,herror,hdisplacement,LC,hLC⟩ := S.labels.forward_uniform_child S.evolution.inverse H |
| 229 | firstNormal firstNormal_unit firstFrame support compact J δ hδ hδ1 firstCoordinate (subset_refl _) |
| 230 | (δ*hchild) (mul_pos hδ hh) (profileEnvelope (firstParameterSize T δ hchild)) hp.1 hp.2.1 |
| 231 | k hk hfrequency hKk hinv nextEll hnext hnext1 |
| 232 | refine ⟨⟨hn,Q,G,hgraph,hG,LC,hLC,hdisplacement,?_⟩⟩ |
| 233 | intro t x |
| 234 | constructor |
| 235 | · erw [A.normalizedPacketVelocity_forwardInitialized H firstNormal firstNormal_unit |
| 236 | firstFrame support compact δ hδ firstCoordinate (subset_refl _) (δ*hchild) |
| 237 | (truncation k) hn k hk.four Q S.evolution.inverse t] |
| 238 | exact (herror t x).1 |
| 239 | · erw [A.normalizedPacketPressure_forwardInitialized H firstNormal firstNormal_unit |
| 240 | firstFrame support compact δ hδ firstCoordinate (subset_refl _) (δ*hchild) |
| 241 | (truncation k) hn k hk.four Q S.evolution.inverse t] |
| 242 | conv_lhs => |
| 243 | enter [1, 2] |
| 244 | erw [forwardPressureTerm_eq_coefficient |
| 245 | (D := A.transverseData firstNormal firstNormal_unit firstFrame support compact) |
| 246 | firstCoordinate] |
| 247 | exact (herror t x).2 |
| 248 | |
| 249 | namespace FirstPacketChoice |
| 250 | |
| 251 | variable (F : FirstPacketChoice β hβ ell hell hell1 T hT hTB δ hδ hchild k hk nextEll hnext hnext1) |
| 252 | |
| 253 | def parent : Parent := (packetBaseParent β hβ ell hell hell1 T hT hTB).child |
| 254 | F.G k firstNormal F.graph nextEll hnext hnext1 |
| 255 | |
| 256 | def state : SmoothState F.parent := |
| 257 | firstPacketState β hβ ell hell hell1 T hT hTB δ hδ hchild (truncation k) F.hn k hk.four |
| 258 | F.Q F.G F.coefficient F.graph nextEll hnext hnext1 F.labels |
| 259 | |
| 260 | theorem state_label_constant : F.state.labels.K=k^80 := F.label_constant |
| 261 | |
| 262 | def lowBounds (hquarter : ell ≤ 1/4) (hδ1 : δ ≤ 1) (hh : 0 ≤ hchild) |
| 263 | (hsmall : (initialCoefficientCost+2*initialCoefficientCost*δ*(hchild*firstRatio)+k^(-(1/4 : ℝ)))*(T^2/2)+ |
| 264 | initialCoefficientCost*T+ |
| 265 | boundaryLocalizationC2*(initialCoefficientCost+hchild*firstRatio+k^(-(1/4 : ℝ)))*ell^3*T ≤ 1/2) : |
| 266 | LowBounds F.parent := |
| 267 | firstPacketLowBounds β hβ ell hell hell1 T hT hTB δ hδ hchild (truncation k) F.hn k hk.four |
| 268 | F.Q F.G F.coefficient F.graph nextEll hnext hnext1 hquarter hδ1 hh |
| 269 | (k^(-(1/4 : ℝ))) (k^(-(1/4 : ℝ))) F.errors hsmall |
| 270 | |
| 271 | end FirstPacketChoice |
| 272 | end EulerBaseDatum |