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.StaticEulerCorrection |
| 2 | import Euler.ConstantEulerGraph |
| 3 | import Euler.PacketLiftedCoefficient |
| 4 | import Euler.SmoothTimeFieldPrecomp |
| 5 | import Euler.SmoothTimeAmplitudeScaling |
| 6 | import Euler.StaticEulerSolution |
| 7 | |
| 8 | /-! The actual local Euler velocity and pressure force agree with the |
| 9 | constructed smooth coefficient paths. In particular the local velocity |
| 10 | has a true one-sided time derivative at the initial and terminal times. -/ |
| 11 | |
| 12 | /-! ## From `Euler/StaticEulerTime.lean` |
| 13 | |
| 14 | The text of `Euler/StaticEulerTime.lean`, folded into this file, which was its only importer. -/ |
| 15 | |
| 16 | section |
| 17 | |
| 18 | /-! The constructed static-datum solution and its actual time derivative |
| 19 | have smooth bounded spatial jets continuous in time. This includes the |
| 20 | one-sided derivatives at both endpoints. -/ |
| 21 | |
| 22 | noncomputable section |
| 23 | |
| 24 | namespace EulerStaticEuler |
| 25 | |
| 26 | open Set ContinuousLinearMap EulerSmoothLimit EulerLpTranslation |
| 27 | EulerLiftedGradientSpace EulerPacketCylinderField EulerAllOrderDriftCorrection |
| 28 | EulerAllOrderCorrectionData EulerVolterraConvolution |
| 29 | open scoped ContDiff BoundedContinuousFunction |
| 30 | |
| 31 | variable (P : ℝ) [Fact (0 < P)] (u : SmoothL2Field Space) (C R : ℝ) |
| 32 | (hC : 0 ≤ C) (hR : 0 ≤ R) (hu : u.HasJetBound C R) (hdiv : ∀ x, divergence u.field x=0) |
| 33 | |
| 34 | def unitVelocityCoefficient : SmoothTimeField (Icc (0 : ℝ) 1) Space Space := |
| 35 | ((correctionBudget P u C R hC hR hu hdiv).packetCoefficient P |
| 36 | ((EulerStaticCylinder.field P 1 u).smul (amplitude P C R hC hR))).precompLinear |
| 37 | (ContinuousLinearMap.inl ℝ Space ℝ) |
| 38 | |
| 39 | def unitDerivativeCoefficient : SmoothTimeField (Icc (0 : ℝ) 1) Space Space := |
| 40 | ((correctionBudget P u C R hC hR hu hdiv).packetDerivativeCoefficient P |
| 41 | ((Field.zero P 1).smul (amplitude P C R hC hR))).precompLinear |
| 42 | (ContinuousLinearMap.inl ℝ Space ℝ) |
| 43 | |
| 44 | theorem unitCoefficient_time : |
| 45 | SmoothTimeField.TimeDerivative 1 zero_le_one |
| 46 | (unitVelocityCoefficient P u C R hC hR hu hdiv) |
| 47 | (unitDerivativeCoefficient P u C R hC hR hu hdiv) := |
| 48 | ((correctionBudget P u C R hC hR hu hdiv).packetCoefficient_timeDerivative P |
| 49 | ((EulerStaticCylinder.field P 1 u).smul (amplitude P C R hC hR)) |
| 50 | ((Field.zero P 1).smul (amplitude P C R hC hR)) |
| 51 | ((EulerStaticCylinder.field_time P 1 u zero_le_one).smul (amplitude P C R hC hR))).precompLinear |
| 52 | (ContinuousLinearMap.inl ℝ Space ℝ) |
| 53 | |
| 54 | theorem unitVelocityCoefficient_apply (t : Icc (0 : ℝ) 1) (x : Space) : |
| 55 | (unitVelocityCoefficient P u C R hC hR hu hdiv).field t x = |
| 56 | EulerConstantEuler.velocity (exactPacket P u C R hC hR hu hdiv) (t,x) := by |
| 57 | have h := (correctionBudget P u C R hC hR hu hdiv).packetCoefficient_eq_corrected P |
| 58 | ((EulerStaticCylinder.field P 1 u).smul (amplitude P C R hC hR)) rfl t (x,0) |
| 59 | change ((correctionBudget P u C R hC hR hu hdiv).packetCoefficient P |
| 60 | ((EulerStaticCylinder.field P 1 u).smul (amplitude P C R hC hR))).field t (x,0) = |
| 61 | ((correctionBudget P u C R hC hR hu hdiv).correctedFieldTower P).pointField |
| 62 | (projIcc 0 1 zero_le_one t) (coveringMap P (x,0)) |
| 63 | rw [projIcc_of_mem zero_le_one t.property] |
| 64 | exact h |
| 65 | |
| 66 | def velocityCoefficient : SmoothTimeField (Icc (0 : ℝ) (amplitude P C R hC hR)) Space Space := |
| 67 | EulerTimeRescaling.coefficient (amplitude P C R hC hR) (amplitude_pos P C R hC hR) |
| 68 | (unitVelocityCoefficient P u C R hC hR hu hdiv) |
| 69 | |
| 70 | def derivativeCoefficient : SmoothTimeField (Icc (0 : ℝ) (amplitude P C R hC hR)) Space Space := |
| 71 | EulerTimeRescaling.derivativeCoefficient (amplitude P C R hC hR) (amplitude_pos P C R hC hR) |
| 72 | (unitDerivativeCoefficient P u C R hC hR hu hdiv) |
| 73 | |
| 74 | theorem coefficient_time : |
| 75 | SmoothTimeField.TimeDerivative (amplitude P C R hC hR) (amplitude_pos P C R hC hR).le |
| 76 | (velocityCoefficient P u C R hC hR hu hdiv) (derivativeCoefficient P u C R hC hR hu hdiv) := |
| 77 | EulerTimeRescaling.coefficient_time (amplitude P C R hC hR) (amplitude_pos P C R hC hR) |
| 78 | _ _ (unitCoefficient_time P u C R hC hR hu hdiv) |
| 79 | |
| 80 | end EulerStaticEuler |
| 81 | end |
| 82 | |
| 83 | end |
| 84 | |
| 85 | noncomputable section |
| 86 | |
| 87 | namespace EulerStaticEuler |
| 88 | |
| 89 | open Set ContinuousLinearMap EulerSmoothLimit EulerLpTranslation EulerVolterraConvolution |
| 90 | open scoped ContDiff BoundedContinuousFunction |
| 91 | |
| 92 | variable (P : ℝ) [Fact (0 < P)] (u : SmoothL2Field Space) (C R : ℝ) |
| 93 | (hC : 0 ≤ C) (hR : 0 ≤ R) (hu : u.HasJetBound C R) (hdiv : ∀ x, divergence u.field x=0) |
| 94 | |
| 95 | theorem velocityCoefficient_apply (t : Icc (0 : ℝ) (amplitude P C R hC hR)) (x : Space) : |
| 96 | (velocityCoefficient P u C R hC hR hu hdiv).field t x = |
| 97 | localVelocity P u C R hC hR hu hdiv (t,x) := by |
| 98 | change (amplitude P C R hC hR)⁻¹ • |
| 99 | (unitVelocityCoefficient P u C R hC hR hu hdiv).field |
| 100 | (EulerTimeRescaling.timeMap (amplitude P C R hC hR) (amplitude_pos P C R hC hR) t) x = _ |
| 101 | rw [unitVelocityCoefficient_apply] |
| 102 | change (amplitude P C R hC hR)⁻¹ • EulerConstantEuler.velocity |
| 103 | (exactPacket P u C R hC hR hu hdiv) ((t : ℝ)/amplitude P C R hC hR,x) = |
| 104 | (amplitude P C R hC hR)⁻¹ • EulerConstantEuler.velocity |
| 105 | (exactPacket P u C R hC hR hu hdiv) ((amplitude P C R hC hR)⁻¹*(t : ℝ),x) |
| 106 | rw [div_eq_mul_inv,mul_comm (t : ℝ)] |
| 107 | |
| 108 | end EulerStaticEuler |