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.PacketPhysicalFrameRenewal |
| 2 | import Euler.PacketScaledVelocitySystem |
| 3 | |
| 4 | /-! |
| 5 | The quantified source frame-renewal bounds concern the actual normalized |
| 6 | physical vectors. The third ratio is eliminated using actual tangency, |
| 7 | and the scalar estimate is transported through the checked exact formulas. |
| 8 | -/ |
| 9 | |
| 10 | noncomputable section |
| 11 | |
| 12 | |
| 13 | namespace EulerPacketMovingFrame |
| 14 | |
| 15 | open EulerSmoothLimit EulerPacketRay EulerPacketFrameStability |
| 16 | EulerPacketFrameQuantitative InnerProductSpace |
| 17 | |
| 18 | theorem thirdRatio_from_pairing (R V : Fin 3 → ℝ) (hN : R 2 ≠ 0) (hV : V 1 ≠ 0) |
| 19 | (hpair : R 0*V 0+R 1*V 1+R 2*V 2 = 0) : |
| 20 | V 2/V 1 = velocityThird (R 0) (R 1) (R 2) (V 0/V 1) 1 := by |
| 21 | unfold velocityThird |
| 22 | apply (eq_div_iff hN).mpr |
| 23 | field_simp |
| 24 | linarith only [hpair] |
| 25 | |
| 26 | theorem physical_frame_renewal_order40 (M : Space →L[ℝ] Space) (m v r w : ℝ → Space) |
| 27 | {s₀ t₀ a ε σ y Θ K e : ℝ} {Z Z₁ : ℝ → ℝ} |
| 28 | (ha : a ≠ 0) (hs₀ : 0 < s₀) (hε : 0 < ε) |
| 29 | (hm : m (physicalTime t₀ a ε (y⁻¹/σ)) ≠ 0) |
| 30 | (hv : v (physicalTime t₀ a ε (y⁻¹/σ)) ≠ 0) |
| 31 | (hmv : ⟪m (physicalTime t₀ a ε (y⁻¹/σ)),v (physicalTime t₀ a ε (y⁻¹/σ))⟫_ℝ = 0) |
| 32 | (hrw : ⟪r (physicalTime t₀ a ε (y⁻¹/σ)),w (physicalTime t₀ a ε (y⁻¹/σ))⟫_ℝ = 0) |
| 33 | (hV : 0 < scaledVelocity m v w t₀ a ε (y⁻¹/σ) 1) |
| 34 | (hσ : 0 < σ) (hσsmall : σ ≤ 1/4) (hy : 0 < y) (hysmall : y ≤ 1/2) |
| 35 | (hΘ : 1 ≤ Θ) (hK : 1 ≤ K) (he : 0 ≤ e) (hεe : ε ≤ e) |
| 36 | (htΘ : y⁻¹/σ ≤ Θ) (hsmall : 1000000*K*e*Θ^40 ≤ 1) |
| 37 | (hZ : ∀ t, 0 ≤ t → HasDerivAt Z (Z₁ t) t) |
| 38 | (hfluxZ : ∀ t, 0 ≤ t → HasDerivAt (fun s => (1+(σ^2*s^2)^2)*Z₁ s) |
| 39 | (2*(1-σ^2*(σ^2*t^2))*Z t) t) |
| 40 | (hZ0 : Z 0 = 1) (hZ₁0 : 0 ≤ Z₁ 0) |
| 41 | (hP : |scaledRay m v r s₀ t₀ a ε (y⁻¹/σ) 0-(y⁻¹)^2| ≤ 800*e*Θ^5) |
| 42 | (hQ : |scaledRay m v r s₀ t₀ a ε (y⁻¹/σ) 1+2*σ*y⁻¹| ≤ 800*e*Θ^5) |
| 43 | (hN : |scaledRay m v r s₀ t₀ a ε (y⁻¹/σ) 2-1| ≤ 800*e*Θ^5) |
| 44 | (hratio : |scaledVelocity m v w t₀ a ε (y⁻¹/σ) 0/scaledVelocity m v w t₀ a ε (y⁻¹/σ) 1+ |
| 45 | Z₁ (y⁻¹/σ)/Z (y⁻¹/σ)| ≤ 10*(K*e*Θ^29)) |
| 46 | (hA : ∀ i j, |scaledAction M m v a ε (physicalTime t₀ a ε (y⁻¹/σ)) i j- |
| 47 | idealVelocityEntry (σ^2) i j| ≤ 3*e) : |
| 48 | |normalizedCoupling M (r (physicalTime t₀ a ε (y⁻¹/σ))) (w (physicalTime t₀ a ε (y⁻¹/σ)))/a-1| ≤ |
| 49 | y^4+σ^2*y^2+8*σ*y^3+30000000*K*e*Θ^40 ∧ |
| 50 | |(y⁻¹)^2*normalizedTilt M (r (physicalTime t₀ a ε (y⁻¹/σ))) (w (physicalTime t₀ a ε (y⁻¹/σ)))-1| ≤ |
| 51 | 1500*σ+30000000*K*e*Θ^40 := by |
| 52 | let R := scaledRay m v r s₀ t₀ a ε (y⁻¹/σ) |
| 53 | let V := scaledVelocity m v w t₀ a ε (y⁻¹/σ) |
| 54 | have hp := scaled_power_le hΘ hK he (by decide : 5 ≤ 40) |
| 55 | have hρ : 800*e*Θ^5 ≤ 1/2 := by nlinarith only [hsmall, hp] |
| 56 | have hNne : R 2 ≠ 0 := by |
| 57 | have hh := (abs_le.mp hN).1 |
| 58 | change -(800*e*Θ^5) ≤ R 2-1 at hh |
| 59 | linarith only [hh, hρ] |
| 60 | have hr : r (physicalTime t₀ a ε (y⁻¹/σ)) ≠ 0 := by |
| 61 | intro hz |
| 62 | apply hNne |
| 63 | simp only [R, scaledRay, movingRay, hz, inner_zero_right, zero_div] |
| 64 | have hpair := scaled_pairing_zero m v r w (ne_of_gt hs₀) (ne_of_gt hε) hm hv hmv hrw |
| 65 | have hthird := thirdRatio_from_pairing R V hNne (ne_of_gt hV) hpair |
| 66 | have hform := physical_frame_formulas M m v r w ha hs₀ (ne_of_gt hε) hm hv hmv hr hV |
| 67 | have hbound := frame_renewal_order40 hσ hσsmall hy hysmall hΘ hK he hε.le hεe htΘ hsmall |
| 68 | hZ hfluxZ hZ0 hZ₁0 hP hQ hN hratio hA |
| 69 | dsimp only at hbound hform |
| 70 | rw [← hthird] at hbound |
| 71 | constructor |
| 72 | · rw [hform.1] |
| 73 | exact hbound.1 |
| 74 | · rw [hform.2] |
| 75 | simpa only [mul_div_assoc] using hbound.2 |
| 76 | |
| 77 | end EulerPacketMovingFrame |