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.StaticEulerGevrey |
| 2 | import Euler.StaticEulerParity |
| 3 | import Euler.BaseEulerLabelData |
| 4 | import Euler.BaseEulerParity |
| 5 | import Euler.ParentEulerState |
| 6 | |
| 7 | /-! The locally constructed ordinary Euler solution supplies a concrete |
| 8 | first parent, its label budget and its genuine particle inverse. All |
| 9 | constants and the positive common horizon depend only on the input |
| 10 | Gevrey envelope, not on the particular initial datum. -/ |
| 11 | |
| 12 | noncomputable section |
| 13 | |
| 14 | namespace EulerStaticEuler |
| 15 | |
| 16 | open Set EulerSmoothLimit EulerLpTranslation EulerParentPacketFrames |
| 17 | EulerTimeIntervalRestriction EulerParameterWordGevrey EulerSmoothFlowGevrey |
| 18 | open scoped ContDiff BoundedContinuousFunction |
| 19 | |
| 20 | variable (P : ℝ) [Fact (0 < P)] |
| 21 | |
| 22 | def baseTime (C R : ℝ) (hC : 0 ≤ C) (hR : 0 ≤ R) : ℝ := |
| 23 | EulerBaseEulerParent.horizon (amplitude P C R hC hR) |
| 24 | (outputVelocitySize P C R) (outputRadius R) |
| 25 | |
| 26 | theorem baseTime_pos (C R : ℝ) (hC : 0 ≤ C) (hR : 0 ≤ R) : |
| 27 | 0 < baseTime P C R hC hR := |
| 28 | EulerBaseEulerParent.horizon_pos _ _ _ (amplitude_pos P C R hC hR) |
| 29 | (outputVelocitySize_nonneg P C R hC hR) (outputRadius_pos R hR).le |
| 30 | |
| 31 | theorem baseTime_le (C R : ℝ) (hC : 0 ≤ C) (hR : 0 ≤ R) : |
| 32 | baseTime P C R hC hR ≤ amplitude P C R hC hR := |
| 33 | EulerBaseEulerParent.horizon_le _ _ _ |
| 34 | |
| 35 | def baseInclusion (C R : ℝ) (hC : 0 ≤ C) (hR : 0 ≤ R) : |
| 36 | C(Icc (0 : ℝ) (baseTime P C R hC hR), Icc (0 : ℝ) (amplitude P C R hC hR)) := |
| 37 | initialInclusion _ _ (baseTime_le P C R hC hR) |
| 38 | |
| 39 | def baseLabelConstant (C R : ℝ) (hC : 0 ≤ C) (hR : 0 ≤ R) : ℝ := |
| 40 | let T := baseTime P C R hC hR |
| 41 | let B := outputVelocitySize P C R |
| 42 | let S := outputRadius R |
| 43 | let C₁ := outputDerivativeSize P C R hC hR |
| 44 | let V := flowRadius B S T S |
| 45 | let M := C₁+3*(B*S)*B |
| 46 | let A := flowRadius B S T (4*S+S+S) |
| 47 | 1+sobolevCoefficientAmplitude (Fin 3) 6 V (T*B)+ |
| 48 | sobolevCoefficientAmplitude (Fin 3) 6 V B+ |
| 49 | sobolevCoefficientAmplitude (Fin 3) 6 A M+ |
| 50 | sobolevCoefficientRadius (Fin 3) V+sobolevCoefficientRadius (Fin 3) A |
| 51 | |
| 52 | variable (u : SmoothL2Field Space) (C R : ℝ) (hC : 0 ≤ C) (hR : 0 ≤ R) |
| 53 | (hu : u.HasJetBound C R) (hdiv : ∀ x, divergence u.field x=0) |
| 54 | |
| 55 | def baseInput : EulerBaseEulerParent.Input := |
| 56 | EulerBaseEulerParent.ofInterval (amplitude P C R hC hR) (amplitude_pos P C R hC hR) |
| 57 | (velocityCoefficient P u C R hC hR hu hdiv) |
| 58 | (derivativeCoefficient P u C R hC hR hu hdiv) |
| 59 | (coefficient_time P u C R hC hR hu hdiv) |
| 60 | (fun t x => by |
| 61 | have he : ((velocityCoefficient P u C R hC hR hu hdiv).field t : Space → Space)= |
| 62 | fun y => localVelocity P u C R hC hR hu hdiv (t,y) := |
| 63 | funext (velocityCoefficient_apply P u C R hC hR hu hdiv t) |
| 64 | rw [he] |
| 65 | exact localVelocity_divergence P u C R hC hR hu hdiv t x) |
| 66 | (outputVelocitySize P C R) (outputRadius R) |
| 67 | (outputVelocitySize_nonneg P C R hC hR) (outputRadius_pos R hR) |
| 68 | (velocityCoefficient_bound P u C R hC hR hu hdiv) |
| 69 | |
| 70 | theorem baseInput_field (t : Icc (0 : ℝ) (baseTime P C R hC hR)) (x : Space) : |
| 71 | (baseInput P u C R hC hR hu hdiv).field.field t x= |
| 72 | localVelocity P u C R hC hR hu hdiv (t,x) := |
| 73 | velocityCoefficient_apply P u C R hC hR hu hdiv (baseInclusion P C R hC hR t) x |
| 74 | |
| 75 | def baseL2Data : EulerBaseEulerParent.L2Data (baseInput P u C R hC hR hu hdiv) where |
| 76 | velocity t := localField P u C R hC hR hu hdiv (baseInclusion P C R hC hR t) |
| 77 | derivative t := localDerivativeField P u C R hC hR hu hdiv (baseInclusion P C R hC hR t) |
| 78 | velocity_match t x := |
| 79 | (localField_apply P u C R hC hR hu hdiv (baseInclusion P C R hC hR t) x).trans |
| 80 | (baseInput_field P u C R hC hR hu hdiv t x).symm |
| 81 | derivative_match t x := |
| 82 | localDerivativeField_apply P u C R hC hR hu hdiv (baseInclusion P C R hC hR t) x |
| 83 | C := outputVelocitySize P C R |
| 84 | S := outputRadius R |
| 85 | C₁ := outputDerivativeSize P C R hC hR |
| 86 | S₁ := outputRadius R |
| 87 | C_nonneg := outputVelocitySize_nonneg P C R hC hR |
| 88 | S_nonneg := (outputRadius_pos R hR).le |
| 89 | C₁_nonneg := outputDerivativeSize_nonneg P C R hC hR |
| 90 | S₁_nonneg := (outputRadius_pos R hR).le |
| 91 | velocity_bound t := localField_bound P u C R hC hR hu hdiv (baseInclusion P C R hC hR t) |
| 92 | derivative_bound t := localDerivativeField_bound P u C R hC hR hu hdiv |
| 93 | (baseInclusion P C R hC hR t) |
| 94 | |
| 95 | variable (ell : ℝ) (hell : 0 < ell) (hell1 : ell ≤ 1) |
| 96 | |
| 97 | def baseParent : Parent := (baseInput P u C R hC hR hu hdiv).parent ell hell hell1 |
| 98 | |
| 99 | def baseLabelData : LabelData (baseParent P u C R hC hR hu hdiv ell hell hell1) := |
| 100 | (baseL2Data P u C R hC hR hu hdiv).labelData ell hell hell1 |
| 101 | |
| 102 | theorem baseLabelData_constant : |
| 103 | (baseLabelData P u C R hC hR hu hdiv ell hell hell1).K=baseLabelConstant P C R hC hR := rfl |
| 104 | |
| 105 | include u hu hdiv ell hell hell1 in |
| 106 | theorem baseLabelConstant_one : 1 ≤ baseLabelConstant P C R hC hR := |
| 107 | (baseLabelData P u C R hC hR hu hdiv ell hell hell1).K_one |
| 108 | |
| 109 | def baseInverse : ParticleInverse (baseParent P u C R hC hR hu hdiv ell hell hell1) := |
| 110 | (baseInput P u C R hC hR hu hdiv).particleInverse ell hell hell1 |
| 111 | |
| 112 | theorem baseParent_velocity_match (t : Icc (0 : ℝ) (baseTime P C R hC hR)) (x : Space) : |
| 113 | (baseParent P u C R hC hR hu hdiv ell hell hell1).velocity.field t x= |
| 114 | localVelocity P u C R hC hR hu hdiv |
| 115 | (t,(baseParent P u C R hC hR hu hdiv ell hell hell1).position t x) := by |
| 116 | have h := (baseInput P u C R hC hR hu hdiv).parent_velocity ell hell hell1 t x |
| 117 | exact h.trans (baseInput_field P u C R hC hR hu hdiv t _) |
| 118 | |
| 119 | def baseEvolution : Evolution (baseParent P u C R hC hR hu hdiv ell hell hell1) where |
| 120 | inverse := baseInverse P u C R hC hR hu hdiv ell hell hell1 |
| 121 | velocity := localVelocity P u C R hC hR hu hdiv |
| 122 | pressure := localPressure P u C R hC hR hu hdiv |
| 123 | force t x := localForce P u C R hC hR hu hdiv (t,x) |
| 124 | force_continuous := by |
| 125 | have hc : Continuous (fun q : Icc (0 : ℝ) (baseTime P C R hC hR) × Space => |
| 126 | ((q.1 : ℝ),q.2)) := |
| 127 | (continuous_subtype_val.comp continuous_fst).prodMk continuous_snd |
| 128 | exact (localForce_joint_continuous P u C R hC hR hu hdiv).comp hc |
| 129 | velocity_match := baseParent_velocity_match P u C R hC hR hu hdiv ell hell hell1 |
| 130 | velocity_differentiable t ht x := localVelocity_differentiableAt P u C R hC hR hu hdiv t |
| 131 | ⟨ht.1,ht.2.trans_le (baseTime_le P C R hC hR)⟩ x |
| 132 | pressure_differentiable t x := |
| 133 | (localPressure_smooth P u C R hC hR hu hdiv t).differentiable (by simp) x |
| 134 | pressure_gradient t x := localPressure_gradient P u C R hC hR hu hdiv t x |
| 135 | momentum_zero t ht x := localMomentum P u C R hC hR hu hdiv t |
| 136 | ⟨ht.1,ht.2.trans_le (baseTime_le P C R hC hR)⟩ x |
| 137 | divergence_zero t _ x := localVelocity_divergence P u C R hC hR hu hdiv t x |
| 138 | |
| 139 | theorem baseParent_initial_velocity (x : Space) : |
| 140 | (baseParent P u C R hC hR hu hdiv ell hell hell1).velocity.field |
| 141 | ⟨0,le_rfl,(baseTime_pos P C R hC hR).le⟩ x=u.field x := by |
| 142 | have h := baseParent_velocity_match P u C R hC hR hu hdiv ell hell hell1 |
| 143 | ⟨0,le_rfl,(baseTime_pos P C R hC hR).le⟩ x |
| 144 | have hz : (baseParent P u C R hC hR hu hdiv ell hell hell1).position |
| 145 | ⟨0,le_rfl,(baseTime_pos P C R hC hR).le⟩ x=x := by |
| 146 | change x+(baseParent P u C R hC hR hu hdiv ell hell hell1).displacement.field _ x=x |
| 147 | rw [(baseParent P u C R hC hR hu hdiv ell hell hell1).initial,add_zero] |
| 148 | erw [hz,localVelocity_initial] at h |
| 149 | exact h |
| 150 | |
| 151 | theorem baseOddData (hodd : ∀ x, u.field (-x)= -u.field x) : |
| 152 | OddData (baseParent P u C R hC hR hu hdiv ell hell hell1) := by |
| 153 | apply (baseInput P u C R hC hR hu hdiv).oddData _ ell hell hell1 |
| 154 | intro t x |
| 155 | erw [baseInput_field,baseInput_field] |
| 156 | exact localVelocity_odd P u C R hC hR hu hdiv hodd t x |
| 157 | |
| 158 | end EulerStaticEuler |