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.PacketPhysicalNormBounds |
| 2 | import Euler.PacketPhysicalFamily |
| 3 | |
| 4 | /-! |
| 5 | Early physical amplitudes are exponentially small relative to the center |
| 6 | target amplitude. The initial scalar slope cancels, including for |
| 7 | neighboring initial data controlled by the common reference. |
| 8 | -/ |
| 9 | |
| 10 | noncomputable section |
| 11 | |
| 12 | |
| 13 | namespace EulerPacketMovingFrame |
| 14 | |
| 15 | open Set Real EulerSmoothLimit EulerPacketRay EulerPacketStage InnerProductSpace |
| 16 | |
| 17 | theorem early_neighbor_state_bound {α : Type*} (center : α) (U V : α → ℝ → ℝ) |
| 18 | {σ Θ T lam δ : ℝ} {F F₁ Z Z₁ : ℝ → ℝ} |
| 19 | (hσ : 0 < σ) (hσsmall : σ ≤ 1/4) (hΘ : 1 ≤ Θ) (hT : T ≤ Θ) |
| 20 | (hTtarget : 1/σ ≤ T) (hlam : 0 ≤ lam) (hδ : 0 ≤ δ) (hδsmall : 4*exp 6*δ ≤ 1) |
| 21 | (hF : ∀ t, HasDerivAt F (F₁ t) t) (hZ : ∀ t, HasDerivAt Z (Z₁ t) t) |
| 22 | (hfluxF : ∀ t, HasDerivAt (fun s => (1+(σ^2*s^2)^2)*F₁ s) |
| 23 | (2*(1-σ^2*(σ^2*t^2))*F t) t) |
| 24 | (hfluxZ : ∀ t, HasDerivAt (fun s => (1+(σ^2*s^2)^2)*Z₁ s) |
| 25 | (2*(1-σ^2*(σ^2*t^2))*Z t) t) |
| 26 | (hF0 : F 0 = 1) (hF₁0 : F₁ 0 = 0) (hZ0 : Z 0 = 1) (hZ₁0 : Z₁ 0 = lam) |
| 27 | (herror : ∀ ξ t, t ∈ Icc 0 T → |V ξ t-Z t|+|U ξ t+Z₁ t| ≤ δ*(1+lam)*F t) : |
| 28 | 0 < V center T ∧ ∀ ξ s, s ∈ Icc 0 1 → |
| 29 | (|U ξ s|+|V ξ s|)/V center T ≤ 84*exp 9*Θ*exp (-(1/(4*σ))) := by |
| 30 | have hcenter := early_forward_exponential_suppression hσ hσsmall hΘ hT hTtarget hlam hδ hδsmall |
| 31 | hF hZ hfluxF hfluxZ hF0 hF₁0 hZ0 hZ₁0 (herror center) |
| 32 | have hTpos : 0 < T := lt_of_lt_of_le (by positivity : 0 < 1/σ) hTtarget |
| 33 | have hTnot : ¬T ≤ 1 := by |
| 34 | have hh := (div_le_iff₀ hσ).mp hTtarget |
| 35 | nlinarith only [hh, hσ, hσsmall, hTpos] |
| 36 | refine ⟨hcenter.1, ?_⟩ |
| 37 | intro ξ s hs |
| 38 | let U' : ℝ → ℝ := fun t => if t ≤ 1 then U ξ t else U center t |
| 39 | let V' : ℝ → ℝ := fun t => if t ≤ 1 then V ξ t else V center t |
| 40 | have he : ∀ t ∈ Icc 0 T, |V' t-Z t|+|U' t+Z₁ t| ≤ δ*(1+lam)*F t := by |
| 41 | intro t ht |
| 42 | by_cases h : t ≤ 1 |
| 43 | · simpa only [U', V', ite_eq_left h] using herror ξ t ht |
| 44 | · simpa only [U', V', ite_eq_right h] using herror center t ht |
| 45 | have hh := early_forward_exponential_suppression hσ hσsmall hΘ hT hTtarget hlam hδ hδsmall |
| 46 | hF hZ hfluxF hfluxZ hF0 hF₁0 hZ0 hZ₁0 he |
| 47 | simpa only [U', V', ite_eq_left hs.2, ite_eq_right hTnot] using hh.2 s hs |
| 48 | |
| 49 | /-- The early part of source (36) for actual Euclidean norm products. |
| 50 | The estimate is uniform over neighboring labels and over the nonnegative |
| 51 | initial slope of the common scalar reference. -/ |
| 52 | theorem early_physical_size_suppression {α : Type*} (center : α) |
| 53 | (m v : ℝ → Space) (r w : α → ℝ → Space) |
| 54 | {s₀ t₀ a ε σ Θ T lam δ ρ : ℝ} {F F₁ Z Z₁ : ℝ → ℝ} |
| 55 | (hs₀ : 0 < s₀) (hε : 0 < ε) (hε1 : ε ≤ 1) |
| 56 | (hσ : 0 < σ) (hσsmall : σ ≤ 1/4) (hΘ : 1 ≤ Θ) (hT : T ≤ Θ) |
| 57 | (hTtarget : 1/σ ≤ T) (hlam : 0 ≤ lam) (hδ : 0 ≤ δ) (hδsmall : 4*exp 6*δ ≤ 1) |
| 58 | (hρ0 : 0 ≤ ρ) (hρ : ρ ≤ 1/2) |
| 59 | (hm : ∀ τ ∈ Icc 0 T, m (physicalTime t₀ a ε τ) ≠ 0) |
| 60 | (hv : ∀ τ ∈ Icc 0 T, v (physicalTime t₀ a ε τ) ≠ 0) |
| 61 | (hmv : ∀ τ ∈ Icc 0 T, ⟪m (physicalTime t₀ a ε τ),v (physicalTime t₀ a ε τ)⟫_ℝ = 0) |
| 62 | (hrw : ∀ ξ τ, τ ∈ Icc 0 T → ⟪r ξ (physicalTime t₀ a ε τ),w ξ (physicalTime t₀ a ε τ)⟫_ℝ = 0) |
| 63 | (hP : ∀ ξ τ, τ ∈ Icc 0 T → |scaledRay m v (r ξ) s₀ t₀ a ε τ 0-σ^2*τ^2| ≤ ρ) |
| 64 | (hQ : ∀ ξ τ, τ ∈ Icc 0 T → |scaledRay m v (r ξ) s₀ t₀ a ε τ 1-(-2*σ^2*τ)| ≤ ρ) |
| 65 | (hN : ∀ ξ τ, τ ∈ Icc 0 T → |scaledRay m v (r ξ) s₀ t₀ a ε τ 2-1| ≤ ρ) |
| 66 | (hF : ∀ t, HasDerivAt F (F₁ t) t) (hZ : ∀ t, HasDerivAt Z (Z₁ t) t) |
| 67 | (hfluxF : ∀ t, HasDerivAt (fun s => (1+(σ^2*s^2)^2)*F₁ s) |
| 68 | (2*(1-σ^2*(σ^2*t^2))*F t) t) |
| 69 | (hfluxZ : ∀ t, HasDerivAt (fun s => (1+(σ^2*s^2)^2)*Z₁ s) |
| 70 | (2*(1-σ^2*(σ^2*t^2))*Z t) t) |
| 71 | (hF0 : F 0 = 1) (hF₁0 : F₁ 0 = 0) (hZ0 : Z 0 = 1) (hZ₁0 : Z₁ 0 = lam) |
| 72 | (herror : ∀ ξ τ, τ ∈ Icc 0 T → |
| 73 | |scaledVelocity m v (w ξ) t₀ a ε τ 1-Z τ|+ |
| 74 | |scaledVelocity m v (w ξ) t₀ a ε τ 0+Z₁ τ| ≤ δ*(1+lam)*F τ) : |
| 75 | 0 < ‖r center (physicalTime t₀ a ε T)‖*‖w center (physicalTime t₀ a ε T)‖ ∧ |
| 76 | ∀ ξ τ, τ ∈ Icc 0 1 → |
| 77 | (‖r ξ (physicalTime t₀ a ε τ)‖*‖w ξ (physicalTime t₀ a ε τ)‖)/ |
| 78 | (‖r center (physicalTime t₀ a ε T)‖*‖w center (physicalTime t₀ a ε T)‖) ≤ |
| 79 | 8232*exp 9*Θ^5*exp (-(1/(4*σ))) := by |
| 80 | have hstate := early_neighbor_state_bound center |
| 81 | (fun ξ τ => scaledVelocity m v (w ξ) t₀ a ε τ 0) |
| 82 | (fun ξ τ => scaledVelocity m v (w ξ) t₀ a ε τ 1) |
| 83 | hσ hσsmall hΘ hT hTtarget hlam hδ hδsmall hF hZ hfluxF hfluxZ hF0 hF₁0 hZ0 hZ₁0 herror |
| 84 | have hTpos : 0 < T := lt_of_lt_of_le (by positivity : 0 < 1/σ) hTtarget |
| 85 | have hT1 : 1 ≤ T := by |
| 86 | have hh := (div_le_iff₀ hσ).mp hTtarget |
| 87 | nlinarith only [hh, hσ, hσsmall, hTpos] |
| 88 | have hTT : T ∈ Icc 0 T := ⟨hTpos.le, le_rfl⟩ |
| 89 | have hNt : 1/2 ≤ scaledRay m v (r center) s₀ t₀ a ε T 2 := by |
| 90 | have hh := (abs_le.mp (hN center T hTT)).1 |
| 91 | linarith only [hh, hρ] |
| 92 | have htarget := physical_size_ge_second m v (r center) (w center) hs₀ (ne_of_gt hε) |
| 93 | (hm T hTT) (hv T hTT) (hmv T hTT) hNt hstate.1.le |
| 94 | have htargetpos : 0 < ‖r center (physicalTime t₀ a ε T)‖*‖w center (physicalTime t₀ a ε T)‖ := |
| 95 | lt_of_lt_of_le (div_pos (mul_pos hs₀ hstate.1) (by norm_num)) htarget |
| 96 | refine ⟨htargetpos, ?_⟩ |
| 97 | intro ξ τ hτ |
| 98 | have hτT : τ ∈ Icc 0 T := ⟨hτ.1, hτ.2.trans hT1⟩ |
| 99 | have hΘ2 : 1 ≤ Θ^2 := one_le_pow₀ hΘ |
| 100 | have hσ2 : σ^2 ≤ 1 := by nlinarith only [hσ, hσsmall] |
| 101 | have hτ2 : τ^2 ≤ 1 := by nlinarith only [hτ.1, hτ.2] |
| 102 | have hP₀ : |σ^2*τ^2| ≤ Θ^2 := by |
| 103 | rw [abs_of_nonneg (by positivity : 0 ≤ σ^2*τ^2)] |
| 104 | have hh := mul_le_mul hσ2 hτ2 (sq_nonneg τ) (by norm_num : (0:ℝ) ≤ 1) |
| 105 | nlinarith only [hh, hΘ2] |
| 106 | have hQ₀ : |-2*σ^2*τ| ≤ 2*Θ^2 := by |
| 107 | rw [abs_mul, abs_mul, abs_of_nonneg (sq_nonneg σ), abs_of_nonneg hτ.1] |
| 108 | norm_num only [abs_neg, abs_of_nonneg (by norm_num : (0:ℝ) ≤ 2)] |
| 109 | have hh := mul_le_mul hσ2 hτ.2 hτ.1 (by norm_num : (0:ℝ) ≤ 1) |
| 110 | nlinarith only [hh, hΘ2] |
| 111 | have hupper := physical_size_le_scaled_state m v (r ξ) (w ξ) hs₀ hε hε1 |
| 112 | (hm τ hτT) (hv τ hτT) (hmv τ hτT) (hrw ξ τ hτT) hΘ hρ0 hρ hP₀ hQ₀ |
| 113 | (hP ξ τ hτT) (hQ ξ τ hτT) (hN ξ τ hτT) |
| 114 | have hstates := (div_le_iff₀ hstate.1).mp (hstate.2 ξ τ hτ) |
| 115 | have hs := mul_le_mul_of_nonneg_left hstates (show 0 ≤ 49*s₀*Θ^4 by positivity) |
| 116 | have ht := mul_le_mul_of_nonneg_left htarget |
| 117 | (show 0 ≤ 8232*exp 9*Θ^5*exp (-(1/(4*σ))) by positivity) |
| 118 | apply (div_le_iff₀ htargetpos).mpr |
| 119 | nlinarith only [hupper, hs, ht] |
| 120 | |
| 121 | end EulerPacketMovingFrame |