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.MeanStrongEstimates |
| 2 | import Euler.ContinuousGramAcceleration |
| 3 | import Euler.TimeH1ContinuousDerivative |
| 4 | import Euler.TimeH1Reconstruction |
| 5 | |
| 6 | /-! |
| 7 | # Continuous acceleration and classical time derivatives for the mean inverse |
| 8 | |
| 9 | With a continuous representative of the prescribed forcing, the actual |
| 10 | strong equation constructs continuous coordinate acceleration and physical |
| 11 | time derivative. The original AC paths have these derivatives at every |
| 12 | interior time, and within the interval at both endpoints. |
| 13 | -/ |
| 14 | |
| 15 | noncomputable section |
| 16 | |
| 17 | namespace EulerMeanVariationalInverse.StrongMeanEvolution |
| 18 | |
| 19 | open Set MeasureTheory InnerProductSpace ContinuousLinearMap EulerTimeLp |
| 20 | EulerMeanSolenoidal EulerVolterraConvolution EulerTransverseGramInverse |
| 21 | EulerTimeH1FieldProduct EulerTimeH1ContinuousDerivative EulerTimeH1Reconstruction |
| 22 | EulerContinuousGramAcceleration |
| 23 | |
| 24 | -- Fix the Hilbert-space instances before forming continuous operator paths. |
| 25 | private local instance : NormedAddCommGroup solenoidalSpace := inferInstance |
| 26 | private local instance : InnerProductSpace ℝ solenoidalSpace := inferInstance |
| 27 | private local instance : NormedAddCommGroup (solenoidalSpace →L[ℝ] L2) := inferInstance |
| 28 | |
| 29 | variable {T : ℝ} {hT : 0 ≤ T} |
| 30 | {FInv F F₁ : C(Icc (0 : ℝ) T, L2 →L[ℝ] L2)} |
| 31 | {A : L2 →L[ℝ] L2} {L : ℝ} {u f : TimeLp T L2} |
| 32 | (s : StrongMeanEvolution T hT FInv F F₁ A L u f) |
| 33 | |
| 34 | /-- The original coordinate velocity is continuous on the closed time interval. -/ |
| 35 | def coordinateVelocityPath : C(Icc (0 : ℝ) T, solenoidalSpace) := |
| 36 | ⟨fun t => s.velocity t, by |
| 37 | have hc : ContinuousOn s.velocity (Icc (0 : ℝ) T) := by |
| 38 | simpa only [uIcc_of_le hT] using s.velocity_ac.continuousOn |
| 39 | exact hc.domRestrict⟩ |
| 40 | |
| 41 | @[simp] theorem coordinateVelocityPath_apply (t : Icc (0 : ℝ) T) : |
| 42 | s.coordinateVelocityPath t = s.velocity t := rfl |
| 43 | |
| 44 | /-- This is a continuous representative of the actual L² coordinate velocity. -/ |
| 45 | theorem coordinateVelocityPath_ae : |
| 46 | (s.velocityLp : ℝ → solenoidalSpace) =ᵐ[timeMeasure T] extendPath T hT s.coordinateVelocityPath := by |
| 47 | filter_upwards [s.velocity_ae, ae_restrict_mem measurableSet_Icc] with t hv ht |
| 48 | change s.velocityLp t = s.velocity (projIcc 0 T hT t) |
| 49 | rw [projIcc_of_mem hT ht] |
| 50 | exact hv |
| 51 | |
| 52 | /-- The already proved projected equation is the ordinary solenoidal Gram equation. -/ |
| 53 | theorem gram_equation_ae : |
| 54 | ∀ᵐ t ∂timeMeasure T, |
| 55 | gram (extendPath T hT (solenoidalFrame T F) t) (s.acceleration t) = |
| 56 | (solenoidalFrame T F (projIcc 0 T hT t)).adjoint |
| 57 | (f t-(2 : ℝ) • solenoidalFrame T F₁ (projIcc 0 T hT t) (s.velocityLp t)) := by |
| 58 | filter_upwards [s.equation, s.velocity_ae] with t ht hv |
| 59 | have hh := congrArg (fun v : solenoidalSpace => |
| 60 | solenoidalProjection ((F (projIcc 0 T hT t)).adjoint |
| 61 | (f t-(2 : ℝ) • F₁ (projIcc 0 T hT t) (v : L2)))) hv |
| 62 | exact gram_equation_of_ordinary (F (projIcc 0 T hT t)) (F₁ (projIcc 0 T hT t)) |
| 63 | (f t) (s.acceleration t) (s.velocityLp t) (ht.trans hh.symm) |
| 64 | |
| 65 | variable (c : ℝ) (hc : 0 < c) |
| 66 | (hLower : ∀ t v, c*‖v‖^2 ≤ ‖solenoidalFrame T F t v‖^2) |
| 67 | (fC : C(Icc (0 : ℝ) T, L2)) |
| 68 | |
| 69 | /-- Continuous coordinate acceleration constructed by the actual Gram inverse. -/ |
| 70 | def classicalAcceleration : C(Icc (0 : ℝ) T, solenoidalSpace) := |
| 71 | accelerationPath T (solenoidalFrame T F) (solenoidalFrame T F₁) c hc hLower |
| 72 | s.coordinateVelocityPath fC |
| 73 | |
| 74 | /-- The L² acceleration is genuinely represented by this continuous path. -/ |
| 75 | theorem classicalAcceleration_ae |
| 76 | (hf : (f : ℝ → L2) =ᵐ[timeMeasure T] extendPath T hT fC) : |
| 77 | (s.acceleration : ℝ → solenoidalSpace) =ᵐ[timeMeasure T] |
| 78 | extendPath T hT (s.classicalAcceleration c hc hLower fC) := |
| 79 | accelerationPath_ae T (solenoidalFrame T F) (solenoidalFrame T F₁) c hc hLower hT |
| 80 | s.velocityLp s.acceleration f s.coordinateVelocityPath fC s.coordinateVelocityPath_ae hf s.gram_equation_ae |
| 81 | |
| 82 | /-- Coordinate velocity has the classical acceleration at every time within the interval. -/ |
| 83 | theorem velocity_hasDerivWithinAt |
| 84 | (hf : (f : ℝ → L2) =ᵐ[timeMeasure T] extendPath T hT fC) |
| 85 | (t : Icc (0 : ℝ) T) : |
| 86 | HasDerivWithinAt s.velocity (s.classicalAcceleration c hc hLower fC t) (Icc (0 : ℝ) T) t := |
| 87 | hasDerivWithinAt_of_continuous_representative T hT s.acceleration |
| 88 | (s.classicalAcceleration c hc hLower fC) (s.classicalAcceleration_ae c hc hLower fC hf) |
| 89 | s.velocity s.velocity_ac s.velocity_derivative t |
| 90 | |
| 91 | /-- The physical derivative path is the actual continuous product-rule expression. -/ |
| 92 | def classicalPhysicalDerivative : C(Icc (0 : ℝ) T, L2) := |
| 93 | ⟨fun t => F₁ t (s.coordinateVelocityPath t : L2) + |
| 94 | F t (s.classicalAcceleration c hc hLower fC t : L2), |
| 95 | (F₁.continuous.clm_apply (solenoidalSpace.subtypeL.continuous.comp s.coordinateVelocityPath.continuous)).add |
| 96 | (F.continuous.clm_apply (solenoidalSpace.subtypeL.continuous.comp |
| 97 | (s.classicalAcceleration c hc hLower fC).continuous))⟩ |
| 98 | |
| 99 | /-- This continuous path is the already constructed physical derivative B_t. -/ |
| 100 | theorem classicalPhysicalDerivative_ae |
| 101 | (hf : (f : ℝ → L2) =ᵐ[timeMeasure T] extendPath T hT fC) : |
| 102 | (s.velocityDerivative : ℝ → L2) =ᵐ[timeMeasure T] |
| 103 | extendPath T hT (s.classicalPhysicalDerivative c hc hLower fC) := by |
| 104 | filter_upwards [fieldProductDerivative_ae T hT (solenoidalFrame T F) (solenoidalFrame T F₁) |
| 105 | s.velocityLp s.acceleration, s.coordinateVelocityPath_ae, |
| 106 | s.classicalAcceleration_ae c hc hLower fC hf] with t ht hv ha |
| 107 | exact ht.trans (congrArg₂ (fun v a : solenoidalSpace => |
| 108 | F₁ (projIcc 0 T hT t) (v : L2)+F (projIcc 0 T hT t) (a : L2)) hv ha) |
| 109 | |
| 110 | /-- The original physical mean velocity now has a classical time derivative |
| 111 | at every time, including the endpoint derivatives within the interval. -/ |
| 112 | theorem physical_hasDerivWithinAt |
| 113 | (hf : (f : ℝ → L2) =ᵐ[timeMeasure T] extendPath T hT fC) |
| 114 | (hF : ∀ t : Icc (0 : ℝ) T, |
| 115 | HasDerivWithinAt (extendPath T hT F) (F₁ t) (Icc (0 : ℝ) T) t) |
| 116 | (t : Icc (0 : ℝ) T) : |
| 117 | HasDerivWithinAt s.physicalPath (s.classicalPhysicalDerivative c hc hLower fC t) |
| 118 | (Icc (0 : ℝ) T) t := by |
| 119 | have hp := s.physical_h1 hF |
| 120 | exact hasDerivWithinAt_of_continuous_representative T hT s.velocityDerivative |
| 121 | (s.classicalPhysicalDerivative c hc hLower fC) (s.classicalPhysicalDerivative_ae c hc hLower fC hf) |
| 122 | s.physicalPath hp.1 hp.2.2 t |
| 123 | |
| 124 | end EulerMeanVariationalInverse.StrongMeanEvolution |