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.PacketExactSourceEquation |
| 2 | import Euler.ExactLiftedGraphPressure |
| 3 | import Euler.PacketParentFlowDifferentiation |
| 4 | |
| 5 | /-! The constructed exact lifted packet gives the actual momentum equation |
| 6 | after the genuine parent-flow change of coordinates. The scalar pressure |
| 7 | is the normalized radial potential of the constructed pressure tower. -/ |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | namespace EulerPacketPhysicalTransform |
| 12 | |
| 13 | open Set Filter InnerProductSpace ContinuousLinearMap EulerSmoothLimit EulerLiftedGradientSpace |
| 14 | EulerAllOrderCorrectionData EulerAllOrderDriftCorrection |
| 15 | EulerPacketCorrectionCoefficients EulerLagrangian |
| 16 | open scoped Topology ContDiff |
| 17 | |
| 18 | variable {U : Type*} [NormedAddCommGroup U] [InnerProductSpace ℝ U] |
| 19 | (D : EulerTransversePacketProvider.Data U) {P : ℝ} [Fact (0 < P)] |
| 20 | {κ : ℝ} {hκ : |κ| ≤ 1} {Z R : FieldTower P D.T} |
| 21 | {B : Budget P D.T_pos (correctionData D P κ hκ Z R)} |
| 22 | (S : ExactLiftedPacket P D.T_pos (correctionData D P κ hκ Z R) B) |
| 23 | |
| 24 | /-- All derivatives and the pressure of the perturbation are constructed |
| 25 | from the exact lifted solution. Only the actual parent flow and its inverse |
| 26 | enter as geometric data. -/ |
| 27 | theorem exact_source_momentum |
| 28 | (k : ℝ) (hk : k*κ=1) |
| 29 | (F : ℝ × Space → Space →L[ℝ] Space) |
| 30 | (u : ℝ × Space → Space) (p : ℝ × Space → ℝ) (X Y : ℝ × Space → Space) |
| 31 | (hmatch : ∀ s : Icc (0 : ℝ) D.T, ∀ y, F (s,y) = D.F.field s y) |
| 32 | (t : ℝ) (ht : t ∈ Ioo 0 D.T) (x : Space) |
| 33 | (hleft : ∀ s y, Y (s,X (s,y)) = y) |
| 34 | (hY : DifferentiableAt ℝ (inverseCoordinates Y) (t,X (t,x))) |
| 35 | (hX : ContDiffAt ℝ 2 X (t,x)) |
| 36 | (hframe : F =ᶠ[𝓝 (t,x)] fun r => (fderiv ℝ X r).comp (inr ℝ ℝ Space)) |
| 37 | (hflow : (fun r => fderiv ℝ X r (1,0)) =ᶠ[𝓝 (t,x)] fun r => u (r.1,X r)) |
| 38 | (hu : DifferentiableAt ℝ u (t,X (t,x))) |
| 39 | (hp : DifferentiableAt ℝ (fun y => p (t,y)) (X (t,x))) |
| 40 | (hparent : momentumResidual u p (t,X (t,x)) = 0) : |
| 41 | momentumResidual (fun q => u q+physicalVelocity κ k D.m₀ F S.rawVelocity Y q) |
| 42 | (fun q => p q+physicalPressure (S.rawGraphPotential k) Y q) (t,X (t,x)) = 0 := by |
| 43 | have hDF : DifferentiableAt ℝ (fun r => (fderiv ℝ X r).comp (inr ℝ ℝ Space)) (t,x) := |
| 44 | ((hX.fderiv_right (m := 1) le_rfl).differentiableAt one_ne_zero).clm_comp |
| 45 | (differentiableAt_const (inr ℝ ℝ Space)) |
| 46 | have hF : HasFDerivAt F (fderiv ℝ F (t,x)) (t,x) := |
| 47 | (hDF.congr_of_eventuallyEq hframe).hasFDerivAt |
| 48 | have hz : HasFDerivAt S.rawVelocity |
| 49 | (fderiv ℝ S.rawVelocity (spaceTimeGraph k D.m₀ (t,x))) |
| 50 | (spaceTimeGraph k D.m₀ (t,x)) := |
| 51 | (S.rawVelocity_hasFDerivAt t ht (x,k*⟪D.m₀,x⟫_ℝ)).differentiableAt.hasFDerivAt |
| 52 | have hA : F (t,x) = (D.deformationEquiv ⟨t,ht.1.le,ht.2.le⟩ x).toContinuousLinearMap := |
| 53 | hmatch ⟨t,ht.1.le,ht.2.le⟩ x |
| 54 | exact physical_euler_momentum_of_flow κ k hk D.m₀ F S.rawVelocity u p |
| 55 | (S.rawGraphPotential k) X Y t x (D.deformationEquiv ⟨t,ht.1.le,ht.2.le⟩ x) |
| 56 | (fderiv ℝ F (t,x)) (fderiv ℝ S.rawVelocity (spaceTimeGraph k D.m₀ (t,x))) |
| 57 | (fderiv ℝ u (t,X (t,x))) (S.rawPressure (spaceTimeGraph k D.m₀ (t,x))) |
| 58 | hleft hY hX hframe hflow hF hz hA hu.hasFDerivAt hp |
| 59 | ((S.rawGraphPotential_smooth k hk t).differentiable (by simp) x) |
| 60 | (S.rawGraphPotential_gradient k hk t x) hparent |
| 61 | (S.source_equation_of_frame D F hmatch t ht (x,k*⟪D.m₀,x⟫_ℝ) _ hF) |
| 62 | |
| 63 | end EulerPacketPhysicalTransform |