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.TransverseFixedClassical |
| 2 | import Euler.TransverseParameterRegularity |
| 3 | import Euler.TimeLpAccelerationForcing |
| 4 | import Euler.ContinuousAccelerationGevrey |
| 5 | import Euler.TimeLpLinearity |
| 6 | |
| 7 | /-! |
| 8 | # Smooth dependence of the actual fixed-coordinate history |
| 9 | |
| 10 | The coercive inverse, Gram inverse and fixed H¹ reconstruction are the actual |
| 11 | ones used in the history solution. Smooth coefficient and forcing parameters |
| 12 | therefore give smooth continuous-time coordinate and physical velocities. |
| 13 | -/ |
| 14 | |
| 15 | noncomputable section |
| 16 | |
| 17 | namespace EulerTransverseFixedEvolution |
| 18 | |
| 19 | open Set ContinuousLinearMap InnerProductSpace EulerTimeLp EulerVolterraConvolution |
| 20 | EulerTimeH1FrameTransport EulerTransverseParameterRegularity EulerTimeLpGramGevrey |
| 21 | EulerTimeLpGramInverse EulerTimeH1Reconstruction EulerContinuousPathCalculus |
| 22 | open scoped ContDiff |
| 23 | |
| 24 | variable {X U E : Type*} [NormedAddCommGroup X] [NormedSpace ℝ X] |
| 25 | [NormedAddCommGroup U] [InnerProductSpace ℝ U] [CompleteSpace U] |
| 26 | [NormedAddCommGroup E] [InnerProductSpace ℝ E] [CompleteSpace E] |
| 27 | (T : ℝ) (hT : 0 ≤ T) |
| 28 | (Q Q₁ : X → C(Icc (0 : ℝ) T,U →L[ℝ] E)) |
| 29 | (H : X → C(Icc (0 : ℝ) T,E →L[ℝ] E)) |
| 30 | (c : ℝ) (hc : 0 < c) (hLower : ∀ x t v, c*‖v‖^2 ≤ ‖Q x t v‖^2) |
| 31 | (hd : ∀ x (t : Icc (0 : ℝ) T), |
| 32 | HasDerivWithinAt (extendPath T hT (Q x)) (Q₁ x t) (Icc (0 : ℝ) T) t) |
| 33 | (K : ℝ) (hK : 0 ≤ K) (hPotential : ∀ x t v, ⟪H x t v,v⟫_ℝ ≤ K*‖v‖^2) |
| 34 | (hsmall : K*(T^2/2) ≤ 1/2) |
| 35 | {n : ℕ∞ω} (hQ : ContDiff ℝ n Q) (hQ₁ : ContDiff ℝ n Q₁) (hH : ContDiff ℝ n H) |
| 36 | |
| 37 | include hQ hQ₁ hH |
| 38 | |
| 39 | theorem velocityLp_contDiff (f : X → TimeLp T E) (hf : ContDiff ℝ n f) : |
| 40 | ContDiff ℝ n (fun x => velocityLp T hT (Q x) (Q₁ x) (H x) c hc (hLower x) (hd x) |
| 41 | K hK (hPotential x) hsmall (f x)) := |
| 42 | (zeroTraceDerivatives (U := U) T hT).subtypeL.contDiff.comp |
| 43 | (contDiff_fixedFrameSolution T hT Q Q₁ H c hc hLower hd K hK hPotential hsmall hQ hQ₁ hH f hf) |
| 44 | |
| 45 | theorem accelerationLp_contDiff (f : X → TimeLp T E) (hf : ContDiff ℝ n f) : |
| 46 | ContDiff ℝ n (fun x => accelerationLp T hT (Q x) (Q₁ x) (H x) c hc (hLower x) (hd x) |
| 47 | K hK (hPotential x) hsmall (f x)) := by |
| 48 | let v := fun x => velocityLp T hT (Q x) (Q₁ x) (H x) c hc (hLower x) (hd x) |
| 49 | K hK (hPotential x) hsmall (f x) |
| 50 | have hv : ContDiff ℝ n v := velocityLp_contDiff T hT Q Q₁ H c hc hLower hd |
| 51 | K hK hPotential hsmall hQ hQ₁ hH f hf |
| 52 | exact gramSolution_contDiff T hT Q c hc hLower |
| 53 | (EulerTimeLpAccelerationForcing.forcing T hT Q Q₁ f v) hQ |
| 54 | (EulerTimeLpAccelerationForcing.forcing_contDiff T hT Q Q₁ f v hQ hQ₁ hf hv) |
| 55 | |
| 56 | theorem velocityPath_contDiff (f : X → TimeLp T E) (hf : ContDiff ℝ n f) : |
| 57 | ContDiff ℝ n (fun x => velocityPath T hT (Q x) (Q₁ x) (H x) c hc (hLower x) (hd x) |
| 58 | K hK (hPotential x) hsmall (f x)) := |
| 59 | ((valuePart T hT).contDiff.comp |
| 60 | (velocityLp_contDiff T hT Q Q₁ H c hc hLower hd K hK hPotential hsmall hQ hQ₁ hH f hf)).add |
| 61 | ((derivativePart T hT).contDiff.comp |
| 62 | (accelerationLp_contDiff T hT Q Q₁ H c hc hLower hd K hK hPotential hsmall hQ hQ₁ hH f hf)) |
| 63 | |
| 64 | theorem continuousVelocity_contDiff (f : X → C(Icc (0 : ℝ) T,E)) (hf : ContDiff ℝ n f) : |
| 65 | ContDiff ℝ n (fun x => velocityPath T hT (Q x) (Q₁ x) (H x) c hc (hLower x) (hd x) |
| 66 | K hK (hPotential x) hsmall (pathLp T hT (f x))) := by |
| 67 | have hmap : ContDiff ℝ n (pathLpOperator (E := E) T hT) := |
| 68 | (pathLpOperator (E := E) T hT).contDiff |
| 69 | exact velocityPath_contDiff T hT Q Q₁ H c hc hLower hd K hK hPotential hsmall hQ hQ₁ hH |
| 70 | (fun x => pathLp T hT (f x)) (hmap.comp hf) |
| 71 | |
| 72 | theorem classicalAcceleration_contDiff (f : X → C(Icc (0 : ℝ) T,E)) (hf : ContDiff ℝ n f) : |
| 73 | ContDiff ℝ n (fun x => classicalAcceleration T hT (Q x) (Q₁ x) (H x) c hc (hLower x) (hd x) |
| 74 | K hK (hPotential x) hsmall (f x)) := |
| 75 | EulerContinuousAccelerationGevrey.acceleration_contDiff T Q Q₁ c hc hLower |
| 76 | (fun x => velocityPath T hT (Q x) (Q₁ x) (H x) c hc (hLower x) (hd x) |
| 77 | K hK (hPotential x) hsmall (pathLp T hT (f x))) f hQ hQ₁ |
| 78 | (continuousVelocity_contDiff T hT Q Q₁ H c hc hLower hd K hK hPotential hsmall hQ hQ₁ hH f hf) hf |
| 79 | |
| 80 | theorem physicalVelocity_contDiff (f : X → C(Icc (0 : ℝ) T,E)) (hf : ContDiff ℝ n f) : |
| 81 | ContDiff ℝ n (fun x => physicalVelocityPath T hT (Q x) (Q₁ x) (H x) c hc (hLower x) (hd x) |
| 82 | K hK (hPotential x) hsmall (f x)) := by |
| 83 | exact EulerContinuousPathCalculus.contDiff_apply Q _ hQ |
| 84 | (continuousVelocity_contDiff T hT Q Q₁ H c hc hLower hd K hK hPotential hsmall hQ hQ₁ hH f hf) |
| 85 | |
| 86 | theorem physicalDerivative_contDiff (f : X → C(Icc (0 : ℝ) T,E)) (hf : ContDiff ℝ n f) : |
| 87 | ContDiff ℝ n (fun x => physicalDerivativePath T hT (Q x) (Q₁ x) (H x) c hc (hLower x) (hd x) |
| 88 | K hK (hPotential x) hsmall (f x)) := |
| 89 | (EulerContinuousPathCalculus.contDiff_apply Q₁ _ hQ₁ |
| 90 | (continuousVelocity_contDiff T hT Q Q₁ H c hc hLower hd K hK hPotential hsmall hQ hQ₁ hH f hf)).add |
| 91 | (EulerContinuousPathCalculus.contDiff_apply Q _ hQ |
| 92 | (classicalAcceleration_contDiff T hT Q Q₁ H c hc hLower hd K hK hPotential hsmall hQ hQ₁ hH f hf)) |
| 93 | |
| 94 | end EulerTransverseFixedEvolution |