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.FieldTowerVolumeSobolev |
| 2 | import Euler.PacketInverseFlowSobolevBound |
| 3 | import Euler.PacketContinuousInverse |
| 4 | import Euler.PacketVolumeDivergence |
| 5 | |
| 6 | /-! Spatial Sobolev paths for the actual inverse parent flow. Its |
| 7 | measure preservation, smoothness, derivative bounds and jet continuity |
| 8 | are all derived from the source deformation and inverse identities. -/ |
| 9 | |
| 10 | noncomputable section |
| 11 | |
| 12 | namespace EulerPacketSourceVolumeSobolev |
| 13 | |
| 14 | open Set MeasureTheory EulerSmoothLimit EulerAllOrderCorrectionData |
| 15 | EulerFlowL2Transport EulerPacketInverseFlowGevrey EulerPacketPiola |
| 16 | EulerCylinderPhysicalTensor EulerGraphPressurePotential EulerGevrey |
| 17 | open scoped ContDiff |
| 18 | |
| 19 | variable {U : Type*} [NormedAddCommGroup U] [InnerProductSpace ℝ U] |
| 20 | (D : EulerTransversePacketProvider.Data U) {P : ℝ} [Fact (0 < P)] |
| 21 | (Z : FieldTower P D.T) (k : ℝ) (m : Space) |
| 22 | (X Y : Icc (0 : ℝ) D.T → Space → Space) |
| 23 | (hX : ∀ t x, HasFDerivAt (X t) (D.F.field t x) x) |
| 24 | (hYX : ∀ t, Function.LeftInverse (Y t) (X t)) |
| 25 | (hXY : ∀ t, Function.RightInverse (Y t) (X t)) |
| 26 | (hYjoint : Continuous (Function.uncurry Y)) |
| 27 | (R C : ℝ) (hR : 0 ≤ R) (hC : 0 ≤ C) |
| 28 | (hdet : ∀ t x, (operatorMatrix (D.F.field t x)).det = 1) |
| 29 | (hF : ∀ n t x, |
| 30 | ‖iteratedFDeriv ℝ n (D.F.field t : Space → (Space →L[ℝ] Space)) x‖ ≤ C*majorant R 0 n) |
| 31 | |
| 32 | include hX hYX hXY hYjoint hdet in |
| 33 | theorem inversePath_volume (t : Icc (0 : ℝ) D.T) : |
| 34 | MeasurePreserving (inversePath Y hYjoint t) volume volume := by |
| 35 | apply inversePath_measurePreserving X Y (fun s x => D.F.field s x) hX hYX hXY hYjoint |
| 36 | intro s x |
| 37 | rw [← EulerPacketVolumeDivergence.operatorMatrix_det] |
| 38 | exact hdet s x |
| 39 | |
| 40 | def tensorPath (n : ℕ) : |
| 41 | C(Icc (0 : ℝ) D.T,Lp (Space [×n]→L[ℝ] Space) 2 (volume : Measure Space)) := |
| 42 | Z.volumeTensorPath k m (inversePath Y hYjoint) |
| 43 | (inversePath_volume D X Y hX hYX hXY hYjoint hdet) n |
| 44 | (finiteOrderConstant C R n) (zero_le_one.trans (finiteOrderConstant_one_le C R hR n)) |
| 45 | (fun i _ _ => continuousInverse_jet_continuous D X Y hX hXY hYjoint i) |
| 46 | (fun i hi hin => inverseFlow_finiteOrderBound D X Y hX |
| 47 | (continuousInverse_differentiable D X Y hX hXY hYjoint) hXY R C hR hC hdet hF n i hi hin) |
| 48 | |
| 49 | theorem tensorPath_ae (n : ℕ) (t : Icc (0 : ℝ) D.T) : |
| 50 | (tensorPath D Z k m X Y hX hYX hXY hYjoint R C hR hC hdet hF n t : |
| 51 | Space → (Space [×n]→L[ℝ] Space)) =ᵐ[volume] |
| 52 | iteratedFDeriv ℝ n (fun x => Z.pointField t (cylinderGraph P k m (Y t x))) := |
| 53 | Z.volumeTensorPath_ae k m (inversePath Y hYjoint) |
| 54 | (inversePath_volume D X Y hX hYX hXY hYjoint hdet) n |
| 55 | (finiteOrderConstant C R n) (zero_le_one.trans (finiteOrderConstant_one_le C R hR n)) |
| 56 | (fun i _ _ => continuousInverse_jet_continuous D X Y hX hXY hYjoint i) |
| 57 | (fun i hi hin => inverseFlow_finiteOrderBound D X Y hX |
| 58 | (continuousInverse_differentiable D X Y hX hXY hYjoint) hXY R C hR hC hdet hF n i hi hin) |
| 59 | (continuousInverse_contDiff D X Y hX hXY hYjoint) t |
| 60 | |
| 61 | theorem tensorPath_norm_le (n : ℕ) (t : Icc (0 : ℝ) D.T) : |
| 62 | ‖tensorPath D Z k m X Y hX hYX hXY hYjoint R C hR hC hdet hF n t‖ ≤ |
| 63 | ((n.factorial : ℝ)*(finiteOrderConstant C R n)^n)*∑ i : Fin (n+1), |
| 64 | frequencyFactor k m^i.val*(4 : ℝ)^i.val*Real.sqrt (2/P+2*P)*‖Z.realization (i.val+1) t‖ := |
| 65 | Z.volumeTensorPath_norm_le k m (inversePath Y hYjoint) |
| 66 | (inversePath_volume D X Y hX hYX hXY hYjoint hdet) n |
| 67 | (finiteOrderConstant C R n) (zero_le_one.trans (finiteOrderConstant_one_le C R hR n)) |
| 68 | (fun i _ _ => continuousInverse_jet_continuous D X Y hX hXY hYjoint i) |
| 69 | (fun i hi hin => inverseFlow_finiteOrderBound D X Y hX |
| 70 | (continuousInverse_differentiable D X Y hX hXY hYjoint) hXY R C hR hC hdet hF n i hi hin) |
| 71 | (continuousInverse_contDiff D X Y hX hXY hYjoint) t |
| 72 | |
| 73 | end EulerPacketSourceVolumeSobolev |