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.MeanPacketOrbitForcing |
| 2 | import Euler.MeanPacketReflection |
| 3 | |
| 4 | /-! |
| 5 | # Homogeneity of the genuine mean packet solution |
| 6 | |
| 7 | The selected strong representatives inherit the linearity of the actual |
| 8 | coercive inverse. Consequently scalar forcing envelopes remain outside the |
| 9 | velocity, time-derivative, and physical-pressure estimates. |
| 10 | -/ |
| 11 | |
| 12 | noncomputable section |
| 13 | |
| 14 | namespace EulerMeanPacketProvider.Forcing |
| 15 | |
| 16 | open Set MeasureTheory ContinuousLinearMap EulerSmoothLimit EulerMeanSolenoidal |
| 17 | EulerMeanVariationalInverse EulerMeanScalarPressure EulerTimeLp EulerVolterraConvolution |
| 18 | EulerMeanTimeContinuousTranslation EulerPacketPointJets EulerPacketProfileRecursion |
| 19 | open scoped ContDiff |
| 20 | |
| 21 | variable {D : Data} {raw raw' : VectorField} |
| 22 | |
| 23 | theorem path_ae_raw (G : Forcing D raw) (t : Icc (0 : ℝ) D.T) (θ : ℝ) : |
| 24 | (G.path t : Space → Space) =ᵐ[volume] fun x => raw (t,(x,θ)) := by |
| 25 | rw [G.path_eq] |
| 26 | exact (G.slices t).toLp_ae.trans (Filter.Eventually.of_forall fun x => (G.raw_eq t x θ).symm) |
| 27 | |
| 28 | section Scaling |
| 29 | |
| 30 | variable (G : Forcing D raw) (H : Forcing D raw') (a : ℝ) |
| 31 | (hraw : ∀ (t : Icc (0 : ℝ) D.T) x θ, raw' (t,(x,θ)) = a • raw (t,(x,θ))) |
| 32 | |
| 33 | include hraw |
| 34 | |
| 35 | theorem path_smul : H.path = a • G.path := by |
| 36 | apply ContinuousMap.ext |
| 37 | intro t |
| 38 | apply Lp.ext |
| 39 | filter_upwards [G.path_ae_raw t 0, H.path_ae_raw t 0, Lp.coeFn_smul a (G.path t)] with x hG hH ha |
| 40 | change H.path t x = (a • G.path t) x |
| 41 | rw [hH, ha, Pi.smul_apply, hG, hraw t x 0] |
| 42 | |
| 43 | theorem lp_smul : H.lp = a • G.lp := by |
| 44 | exact (congrArg (pathLp (E := L2) D.T D.T_pos.le) (path_smul G H a hraw)).trans |
| 45 | (pathLp_smul D.T D.T_pos.le a G.path) |
| 46 | |
| 47 | theorem velocityLp_smul : H.solution.velocityLp = a • G.solution.velocityLp := by |
| 48 | exact H.velocityLp_eq_coordinateSolver.trans |
| 49 | ((congrArg D.coordinateSolver (lp_smul G H a hraw)).trans |
| 50 | ((D.coordinateSolver.map_smul a G.lp).trans |
| 51 | (congrArg (fun v : TimeLp D.T solenoidalSpace => a • v) |
| 52 | G.velocityLp_eq_coordinateSolver).symm)) |
| 53 | |
| 54 | /-- Linearity of the L² solve fixes the continuous coordinate representative at every time. -/ |
| 55 | theorem coordinate_velocity_smul (t : Icc (0 : ℝ) D.T) : |
| 56 | H.solution.velocity t = a • G.solution.velocity t := by |
| 57 | have hae : (fun r => H.solution.velocity r) =ᵐ[timeMeasure D.T] |
| 58 | fun r => a • G.solution.velocity r := by |
| 59 | filter_upwards [H.solution.velocity_ae, G.solution.velocity_ae, |
| 60 | Lp.coeFn_smul a G.solution.velocityLp] with r hH hG ha |
| 61 | have he := congrArg (fun z : TimeLp D.T solenoidalSpace => z r) (velocityLp_smul G H a hraw) |
| 62 | exact hH.symm.trans (he.trans (ha.trans (congrArg (fun v : solenoidalSpace => a • v) hG))) |
| 63 | have hcG : ContinuousOn G.solution.velocity (Icc (0 : ℝ) D.T) := by |
| 64 | simpa only [uIcc_of_le D.T_pos.le] using G.solution.velocity_ac.continuousOn |
| 65 | have hcH : ContinuousOn H.solution.velocity (Icc (0 : ℝ) D.T) := by |
| 66 | simpa only [uIcc_of_le D.T_pos.le] using H.solution.velocity_ac.continuousOn |
| 67 | exact Measure.eqOn_Icc_of_ae_eq volume D.T_pos.ne hae hcH (hcG.const_smul a) t.property |
| 68 | |
| 69 | theorem coordinateVelocityPath_smul : |
| 70 | H.solution.coordinateVelocityPath = a • G.solution.coordinateVelocityPath := by |
| 71 | apply ContinuousMap.ext |
| 72 | intro t |
| 73 | exact coordinate_velocity_smul G H a hraw t |
| 74 | |
| 75 | theorem velocityPath_smul : H.velocityPath = a • G.velocityPath := by |
| 76 | let J := EulerContinuousTimeIntegral.multiplier (solenoidalFrame D.T D.opF) |
| 77 | exact (H.solution.continuousVelocity_eq_frame D.T_pos D.opF_time).trans |
| 78 | ((congrArg J (coordinateVelocityPath_smul G H a hraw)).trans |
| 79 | ((J.map_smul a G.solution.coordinateVelocityPath).trans |
| 80 | (congrArg (fun p : C(Icc (0 : ℝ) D.T,L2) => a • p) |
| 81 | (G.solution.continuousVelocity_eq_frame D.T_pos D.opF_time)).symm)) |
| 82 | |
| 83 | /-- The true within-time derivatives scale by uniqueness of the derivative. -/ |
| 84 | theorem derivativePath_smul : H.derivativePath = a • G.derivativePath := by |
| 85 | apply ContinuousMap.ext |
| 86 | intro t |
| 87 | have h₁ := H.velocityPath_time t |
| 88 | have h₂ := (G.velocityPath_time t).const_smul a |
| 89 | have he : extendPath D.T D.T_pos.le H.velocityPath = |
| 90 | fun r => a • extendPath D.T D.T_pos.le G.velocityPath r := by |
| 91 | funext r |
| 92 | exact congrArg (fun p : C(Icc (0 : ℝ) D.T,L2) => p (projIcc 0 D.T D.T_pos.le r)) |
| 93 | (velocityPath_smul G H a hraw) |
| 94 | rw [he] at h₁ |
| 95 | exact (h₁.derivWithin ((uniqueDiffOn_Icc D.T_pos) t t.property)).symm.trans |
| 96 | (h₂.derivWithin ((uniqueDiffOn_Icc D.T_pos) t t.property)) |
| 97 | |
| 98 | /-- The actual physical pressure residual scales, including at the time endpoints. -/ |
| 99 | theorem pressureForcePath_smul : H.pressureForcePath = a • G.pressureForcePath := by |
| 100 | apply ContinuousMap.ext |
| 101 | intro t |
| 102 | have hG := G.solution.pressurePath_equation D.frameLower D.frameLower_pos D.frame_lower |
| 103 | G.path D.T_pos D.opF_time D.opM D.opStrain_eq t |
| 104 | have hH := H.solution.pressurePath_equation D.frameLower D.frameLower_pos D.frame_lower |
| 105 | H.path D.T_pos D.opF_time D.opM D.opStrain_eq t |
| 106 | have hv : H.velocityPath t = a • G.velocityPath t := |
| 107 | congrArg (fun p : C(Icc (0 : ℝ) D.T,L2) => p t) (velocityPath_smul G H a hraw) |
| 108 | have hd : H.derivativePath t = a • G.derivativePath t := |
| 109 | congrArg (fun p : C(Icc (0 : ℝ) D.T,L2) => p t) (derivativePath_smul G H a hraw) |
| 110 | have hf : H.path t = a • G.path t := |
| 111 | congrArg (fun p : C(Icc (0 : ℝ) D.T,L2) => p t) (path_smul G H a hraw) |
| 112 | change H.derivativePath t+D.opM t (H.velocityPath t)+H.pressureForcePath t=H.path t at hH |
| 113 | change G.derivativePath t+D.opM t (G.velocityPath t)+G.pressureForcePath t=G.path t at hG |
| 114 | rw [hd, hv, hf, map_smul] at hH |
| 115 | have he := congrArg (fun z : L2 => a • z) hG |
| 116 | simp only [smul_add] at he |
| 117 | exact add_left_cancel (hH.trans he.symm) |
| 118 | |
| 119 | end Scaling |
| 120 | |
| 121 | end EulerMeanPacketProvider.Forcing |