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.GevreyNonlinearEstimate |
| 2 | |
| 3 | /-! Actual metric Gevrey energies, fixed norm conversion, and nonlinear scalar growth bounds. -/ |
| 4 | |
| 5 | noncomputable section |
| 6 | |
| 7 | namespace EulerGevreyMetricEstimate |
| 8 | |
| 9 | open MeasureTheory InnerProductSpace EulerLiftedGradientSpace EulerCylinderSobolevSpace EulerCylinderSobolev |
| 10 | EulerSobolevGevreyOperators EulerSobolevTransportCommutator EulerGevreyMetricComparison |
| 11 | EulerWeightedCylinderEnergy EulerFiniteMetricEnergy EulerGevreyLowNorms EulerBaseWordMetric |
| 12 | EulerPacketWeights |
| 13 | |
| 14 | variable (period : ℝ) [Fact (0 < period)] |
| 15 | |
| 16 | /-- The actual fixed-base metric Gevrey energy of one complete Sobolev field. -/ |
| 17 | def energyNorm {s : ℕ} (N : ℕ) (hN : N+6 ≤ s) (ρ : ℝ) |
| 18 | (K : LiftL2 period →L[ℝ] LiftL2 period) (u : SobolevSpace period s) : ℝ := |
| 19 | weightedMetricSum ρ (fun I : ExternalWord N => I.1.val) K (energyValues period 6 N hN u) |
| 20 | |
| 21 | /-- The actual metric radius-loss quantity at the same cutoff. -/ |
| 22 | def energyLoss {s : ℕ} (N : ℕ) (hN : N+6 ≤ s) (ρ : ℝ) |
| 23 | (K : LiftL2 period →L[ℝ] LiftL2 period) (u : SobolevSpace period s) : ℝ := |
| 24 | weightedMetricLoss ρ (fun I : ExternalWord N => I.1.val) K (energyValues period 6 N hN u) |
| 25 | |
| 26 | /-- A fixed conversion factor, with no external derivative cutoff in its definition. -/ |
| 27 | def metricAmplification (c : ℝ) : ℝ := 1+Real.sqrt 5461/c |
| 28 | |
| 29 | theorem energyNorm_nonneg {s : ℕ} (N : ℕ) (hN : N+6 ≤ s) (ρ : ℝ) (hρ : 0 < ρ) |
| 30 | (K : LiftL2 period →L[ℝ] LiftL2 period) (u : SobolevSpace period s) : 0 ≤ energyNorm period N hN ρ K u := |
| 31 | Finset.sum_nonneg (fun I _ => mul_nonneg (weight_pos hρ I.1.val).le (Real.sqrt_nonneg _)) |
| 32 | |
| 33 | theorem energyLoss_nonneg {s : ℕ} (N : ℕ) (hN : N+6 ≤ s) (ρ : ℝ) (hρ : 0 < ρ) |
| 34 | (K : LiftL2 period →L[ℝ] LiftL2 period) (u : SobolevSpace period s) : 0 ≤ energyLoss period N hN ρ K u := |
| 35 | Finset.sum_nonneg (fun I _ => mul_nonneg (mul_nonneg (Nat.cast_nonneg I.1.val) (weight_pos hρ I.1.val).le) (Real.sqrt_nonneg _)) |
| 36 | |
| 37 | omit [Fact (0 < period)] in |
| 38 | theorem metricAmplification_one_le {c : ℝ} (hc : 0 < c) : 1 ≤ metricAmplification c := by |
| 39 | unfold metricAmplification |
| 40 | exact le_add_of_nonneg_right (div_nonneg (Real.sqrt_nonneg _) hc.le) |
| 41 | |
| 42 | /-- Every actual retained Sobolev block is bounded by the metric energy with the fixed factor. -/ |
| 43 | theorem weightedNorm_le_energy {s : ℕ} (N : ℕ) (hN : N+6 ≤ s) (ρ : ℝ) (hρ : 0 < ρ) |
| 44 | (K : LiftL2 period →L[ℝ] LiftL2 period) (u : SobolevSpace period s) (c : ℝ) (hc : 0 < c) |
| 45 | (hK : ∀ v, c^2*‖v‖^2 ≤ ⟪K v,v⟫_ℝ) : |
| 46 | weightedNorm period 6 N ρ u ≤ metricAmplification c*energyNorm period N hN ρ K u := by |
| 47 | have h := weightedNorm_metric_lower period 6 N hN ρ hρ K u c hc hK |
| 48 | rw [card_baseWord_six] at h |
| 49 | have he := energyNorm_nonneg period N hN ρ hρ K u |
| 50 | change weightedNorm period 6 N ρ u ≤ (Real.sqrt 5461/c)*energyNorm period N hN ρ K u at h |
| 51 | unfold metricAmplification |
| 52 | nlinarith only [h,he] |
| 53 | |
| 54 | /-- The actual radius-loss sum obeys the identical fixed metric conversion. -/ |
| 55 | theorem weightedLoss_le_energy {s : ℕ} (N : ℕ) (hN : N+6 ≤ s) (ρ : ℝ) (hρ : 0 < ρ) |
| 56 | (K : LiftL2 period →L[ℝ] LiftL2 period) (u : SobolevSpace period s) (c : ℝ) (hc : 0 < c) |
| 57 | (hK : ∀ v, c^2*‖v‖^2 ≤ ⟪K v,v⟫_ℝ) : |
| 58 | weightedLoss period 6 N ρ u ≤ metricAmplification c*energyLoss period N hN ρ K u := by |
| 59 | have h := weightedLoss_metric_lower period 6 N hN ρ hρ K u c hc hK |
| 60 | rw [card_baseWord_six] at h |
| 61 | have he := energyLoss_nonneg period N hN ρ hρ K u |
| 62 | change weightedLoss period 6 N ρ u ≤ (Real.sqrt 5461/c)*energyLoss period N hN ρ K u at h |
| 63 | unfold metricAmplification |
| 64 | nlinarith only [h,he] |
| 65 | |
| 66 | /-- Exact scalar conversion of a Sobolev forcing polynomial to metric energy and metric radius loss. -/ |
| 67 | theorem metric_polynomial_conversion (S0 S1 S2 D R B a E Y X Z H : ℝ) |
| 68 | (hS1 : 0 ≤ S1) (hS2 : 0 ≤ S2) (hD : 0 ≤ D) (hB : 0 ≤ B) (ha : 1 ≤ a) |
| 69 | (hE0 : 0 ≤ E) (hY0 : 0 ≤ Y) (hX0 : 0 ≤ X) |
| 70 | (hE : E ≤ a*X) (hY : Y ≤ a*Z) |
| 71 | (hH : H ≤ S0*R+S1*E+S2*E^2+D*(B+E)*Y) : |
| 72 | H ≤ S0*R+(S1*a)*X+(S2*a^2)*X^2+(D*a^2)*(B+X)*Z := by |
| 73 | have ha0 : 0 ≤ a := by linarith |
| 74 | have hsq : E^2 ≤ a^2*X^2 := by |
| 75 | simpa only [pow_two, mul_assoc, mul_left_comm, mul_comm] using mul_le_mul hE hE hE0 (mul_nonneg ha0 hX0) |
| 76 | have hBE : B+E ≤ a*(B+X) := by nlinarith only [hE, mul_le_mul_of_nonneg_right ha hB] |
| 77 | have hBY : (B+E)*Y ≤ a^2*(B+X)*Z := by |
| 78 | have h := mul_le_mul hBE hY hY0 (mul_nonneg ha0 (add_nonneg hB hX0)) |
| 79 | exact h.trans_eq (by ring) |
| 80 | have h := add_le_add (add_le_add (add_le_add (le_refl (S0*R)) |
| 81 | (mul_le_mul_of_nonneg_left hE hS1)) (mul_le_mul_of_nonneg_left hsq hS2)) |
| 82 | (mul_le_mul_of_nonneg_left hBY hD) |
| 83 | calc |
| 84 | H ≤ S0*R+S1*E+S2*E^2+D*(B+E)*Y := hH |
| 85 | _ = S0*R+S1*E+S2*E^2+D*((B+E)*Y) := by ring |
| 86 | _ ≤ S0*R+S1*(a*X)+S2*(a^2*X^2)+D*(a^2*(B+X)*Z) := h |
| 87 | _ = _ := by ring |
| 88 | |
| 89 | /-- A concrete pointwise velocity bound determined by the actual metric energy. -/ |
| 90 | def metricVelocityBound (c B X : ℝ) : NNReal := |
| 91 | (sobolevEmbeddingConstant period 6*(B+metricAmplification c*X)).toNNReal |
| 92 | |
| 93 | /-- The actual background-plus-error velocity satisfies the fixed-order bound used by the metric PDE estimate. -/ |
| 94 | theorem velocity_ae_metric {s : ℕ} (N : ℕ) (hN : N+6 ≤ s) (ρ : ℝ) (hρ : 0 < ρ) |
| 95 | (K : LiftL2 period →L[ℝ] LiftL2 period) (z e : SobolevSpace period s) (c B : ℝ) (hc : 0 < c) |
| 96 | (hK : ∀ v, c^2*‖v‖^2 ≤ ⟪K v,v⟫_ℝ) (hz : weightedNorm period 6 N ρ z ≤ B) : |
| 97 | ∀ᵐ x ∂liftMeasure period, ‖value period (z+e) x‖ ≤ metricVelocityBound period c B (energyNorm period N hN ρ K e) := by |
| 98 | have h := value_ae_weighted period N (by omega : 6 ≤ s) ρ hρ (z+e) |
| 99 | have hn := (weightedNorm_add_le period 6 N hN ρ hρ z e).trans |
| 100 | (add_le_add hz (weightedNorm_le_energy period N hN ρ hρ K e c hc hK)) |
| 101 | have hp := mul_le_mul_of_nonneg_left hn (sobolevEmbeddingConstant_nonneg period 6) |
| 102 | filter_upwards [h] with x hx |
| 103 | exact (hx.trans hp).trans (Real.le_coe_toNNReal _) |
| 104 | |
| 105 | end EulerGevreyMetricEstimate |