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 coordinate path has the actual H¹ trace bound. -/ |
| 53 | theorem coordinateVelocityPath_norm (hTpos : 0 < T) : |
| 54 | ‖s.coordinateVelocityPath‖ ≤ |
| 55 | (T⁻¹*Real.sqrt T)*‖s.velocityLp‖+(2*Real.sqrt T)*‖s.acceleration‖ := by |
| 56 | have heq : s.coordinateVelocityPath = reconstruction T hT (s.velocityLp, s.acceleration) := by |
| 57 | apply ContinuousMap.ext |
| 58 | intro t |
| 59 | exact (reconstruction_eq_path T hTpos s.velocityLp s.acceleration s.velocity |
| 60 | s.velocity_ac s.velocity_ae s.velocity_derivative t).symm |
| 61 | exact (congrArg norm heq).trans_le (reconstruction_norm_le T hTpos s.velocityLp s.acceleration) |
| 62 | |
| 63 | /-- The already proved projected equation is the ordinary solenoidal Gram equation. -/ |
| 64 | theorem gram_equation_ae : |
| 65 | ∀ᵐ t ∂timeMeasure T, |
| 66 | gram (extendPath T hT (solenoidalFrame T F) t) (s.acceleration t) = |
| 67 | (solenoidalFrame T F (projIcc 0 T hT t)).adjoint |
| 68 | (f t-(2 : ℝ) • solenoidalFrame T F₁ (projIcc 0 T hT t) (s.velocityLp t)) := by |
| 69 | filter_upwards [s.equation, s.velocity_ae] with t ht hv |
| 70 | have hh := congrArg (fun v : solenoidalSpace => |
| 71 | solenoidalProjection ((F (projIcc 0 T hT t)).adjoint |
| 72 | (f t-(2 : ℝ) • F₁ (projIcc 0 T hT t) (v : L2)))) hv |
| 73 | exact gram_equation_of_ordinary (F (projIcc 0 T hT t)) (F₁ (projIcc 0 T hT t)) |
| 74 | (f t) (s.acceleration t) (s.velocityLp t) (ht.trans hh.symm) |
| 75 | |
| 76 | variable (c : ℝ) (hc : 0 < c) |
| 77 | (hLower : ∀ t v, c*‖v‖^2 ≤ ‖solenoidalFrame T F t v‖^2) |
| 78 | (fC : C(Icc (0 : ℝ) T, L2)) |
| 79 | |
| 80 | /-- Continuous coordinate acceleration constructed by the actual Gram inverse. -/ |
| 81 | def classicalAcceleration : C(Icc (0 : ℝ) T, solenoidalSpace) := |
| 82 | accelerationPath T (solenoidalFrame T F) (solenoidalFrame T F₁) c hc hLower |
| 83 | s.coordinateVelocityPath fC |
| 84 | |
| 85 | /-- Its norm is the source's ordinary inverse-Gram estimate for time suprema. -/ |
| 86 | theorem classicalAcceleration_norm : |
| 87 | ‖s.classicalAcceleration c hc hLower fC‖ ≤ |
| 88 | c⁻¹*‖F‖*(‖fC‖+2*‖F₁‖*‖s.coordinateVelocityPath‖) := by |
| 89 | apply (accelerationPath_norm T (solenoidalFrame T F) (solenoidalFrame T F₁) |
| 90 | c hc hLower s.coordinateVelocityPath fC).trans |
| 91 | have hF := mul_le_mul_of_nonneg_left (solenoidalFrame_norm_le T F) (inv_nonneg.mpr hc.le) |
| 92 | have hF₁ := mul_le_mul_of_nonneg_right |
| 93 | (mul_le_mul_of_nonneg_left (solenoidalFrame_norm_le T F₁) (by norm_num : (0 : ℝ) ≤ 2)) |
| 94 | (norm_nonneg s.coordinateVelocityPath) |
| 95 | exact mul_le_mul hF (add_le_add le_rfl hF₁) |
| 96 | (add_nonneg (norm_nonneg fC) |
| 97 | (mul_nonneg (mul_nonneg (by norm_num) (norm_nonneg (solenoidalFrame T F₁))) |
| 98 | (norm_nonneg s.coordinateVelocityPath))) |
| 99 | (mul_nonneg (inv_nonneg.mpr hc.le) (norm_nonneg F)) |
| 100 | |
| 101 | /-- The L² acceleration is genuinely represented by this continuous path. -/ |
| 102 | theorem classicalAcceleration_ae |
| 103 | (hf : (f : ℝ → L2) =ᵐ[timeMeasure T] extendPath T hT fC) : |
| 104 | (s.acceleration : ℝ → solenoidalSpace) =ᵐ[timeMeasure T] |
| 105 | extendPath T hT (s.classicalAcceleration c hc hLower fC) := |
| 106 | accelerationPath_ae T (solenoidalFrame T F) (solenoidalFrame T F₁) c hc hLower hT |
| 107 | s.velocityLp s.acceleration f s.coordinateVelocityPath fC s.coordinateVelocityPath_ae hf s.gram_equation_ae |
| 108 | |
| 109 | /-- Coordinate velocity has the classical acceleration at every time within the interval. -/ |
| 110 | theorem velocity_hasDerivWithinAt |
| 111 | (hf : (f : ℝ → L2) =ᵐ[timeMeasure T] extendPath T hT fC) |
| 112 | (t : Icc (0 : ℝ) T) : |
| 113 | HasDerivWithinAt s.velocity (s.classicalAcceleration c hc hLower fC t) (Icc (0 : ℝ) T) t := |
| 114 | hasDerivWithinAt_of_continuous_representative T hT s.acceleration |
| 115 | (s.classicalAcceleration c hc hLower fC) (s.classicalAcceleration_ae c hc hLower fC hf) |
| 116 | s.velocity s.velocity_ac s.velocity_derivative t |
| 117 | |
| 118 | /-- The physical derivative path is the actual continuous product-rule expression. -/ |
| 119 | def classicalPhysicalDerivative : C(Icc (0 : ℝ) T, L2) := |
| 120 | ⟨fun t => F₁ t (s.coordinateVelocityPath t : L2) + |
| 121 | F t (s.classicalAcceleration c hc hLower fC t : L2), |
| 122 | (F₁.continuous.clm_apply (solenoidalSpace.subtypeL.continuous.comp s.coordinateVelocityPath.continuous)).add |
| 123 | (F.continuous.clm_apply (solenoidalSpace.subtypeL.continuous.comp |
| 124 | (s.classicalAcceleration c hc hLower fC).continuous))⟩ |
| 125 | |
| 126 | /-- This continuous path is the already constructed physical derivative B_t. -/ |
| 127 | theorem classicalPhysicalDerivative_ae |
| 128 | (hf : (f : ℝ → L2) =ᵐ[timeMeasure T] extendPath T hT fC) : |
| 129 | (s.velocityDerivative : ℝ → L2) =ᵐ[timeMeasure T] |
| 130 | extendPath T hT (s.classicalPhysicalDerivative c hc hLower fC) := by |
| 131 | filter_upwards [fieldProductDerivative_ae T hT (solenoidalFrame T F) (solenoidalFrame T F₁) |
| 132 | s.velocityLp s.acceleration, s.coordinateVelocityPath_ae, |
| 133 | s.classicalAcceleration_ae c hc hLower fC hf] with t ht hv ha |
| 134 | exact ht.trans (congrArg₂ (fun v a : solenoidalSpace => |
| 135 | F₁ (projIcc 0 T hT t) (v : L2)+F (projIcc 0 T hT t) (a : L2)) hv ha) |
| 136 | |
| 137 | /-- The original physical mean velocity now has a classical time derivative |
| 138 | at every time, including the endpoint derivatives within the interval. -/ |
| 139 | theorem physical_hasDerivWithinAt |
| 140 | (hf : (f : ℝ → L2) =ᵐ[timeMeasure T] extendPath T hT fC) |
| 141 | (hF : ∀ t : Icc (0 : ℝ) T, |
| 142 | HasDerivWithinAt (extendPath T hT F) (F₁ t) (Icc (0 : ℝ) T) t) |
| 143 | (t : Icc (0 : ℝ) T) : |
| 144 | HasDerivWithinAt s.physicalPath (s.classicalPhysicalDerivative c hc hLower fC t) |
| 145 | (Icc (0 : ℝ) T) t := by |
| 146 | have hp := s.physical_h1 hF |
| 147 | exact hasDerivWithinAt_of_continuous_representative T hT s.velocityDerivative |
| 148 | (s.classicalPhysicalDerivative c hc hLower fC) (s.classicalPhysicalDerivative_ae c hc hLower fC hf) |
| 149 | s.physicalPath hp.1 hp.2.2 t |
| 150 | |
| 151 | /-- The physical time-derivative supremum pays only the two coefficient factors. -/ |
| 152 | theorem classicalPhysicalDerivative_norm : |
| 153 | ‖s.classicalPhysicalDerivative c hc hLower fC‖ ≤ |
| 154 | ‖F₁‖*‖s.coordinateVelocityPath‖+‖F‖*‖s.classicalAcceleration c hc hLower fC‖ := by |
| 155 | apply (ContinuousMap.norm_le _ (by positivity)).2 |
| 156 | intro t |
| 157 | apply (norm_add_le _ _).trans |
| 158 | exact add_le_add |
| 159 | (((F₁ t).le_opNorm _).trans (mul_le_mul (F₁.norm_coe_le_norm t) |
| 160 | (s.coordinateVelocityPath.norm_coe_le_norm t) (norm_nonneg _) (norm_nonneg F₁))) |
| 161 | (((F t).le_opNorm _).trans (mul_le_mul (F.norm_coe_le_norm t) |
| 162 | ((s.classicalAcceleration c hc hLower fC).norm_coe_le_norm t) (norm_nonneg _) (norm_nonneg F))) |
| 163 | |
| 164 | end EulerMeanVariationalInverse.StrongMeanEvolution |