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.OrdinaryEulerGradientControl |
| 2 | import Euler.OrdinaryHelmholtzField |
| 3 | |
| 4 | /-! Exact conservation of kinetic energy for the ordinary smooth Euler |
| 5 | class, using the genuine noncompact transport and pressure cancellations. -/ |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | namespace EulerOrdinarySobolev.Evolution |
| 10 | |
| 11 | open Set InnerProductSpace EulerSmoothLimit EulerLpTranslation |
| 12 | EulerLpTranslation.SmoothL2Field EulerMeanSolenoidal EulerMeanClassical |
| 13 | EulerContinuousTimeIntegral |
| 14 | |
| 15 | variable {T : ℝ} {hT : 0 ≤ T} (U : Evolution T hT) |
| 16 | |
| 17 | theorem velocity_derivative_inner_zero (t : Icc (0 : ℝ) T) : |
| 18 | ⟪(U.velocity t).toLp,(U.derivative t).toLp⟫_ℝ=0 := by |
| 19 | have hd := solenoidal_representative_divergence _ (U.solenoidal t) |
| 20 | (U.velocity t).field (U.velocity t).smooth (U.velocity t).toLp_ae |
| 21 | have ha := advection_inner_zero (U.velocity t) (U.velocity t) hd |
| 22 | have hp := pressure_pairing_zero (U.gradient t) (U.solenoidal t) |
| 23 | rw [real_inner_comm,U.derivative_eq_eulerRhs,eulerRhs,toLp_fieldNeg,toLp_addField, |
| 24 | inner_neg_left,inner_add_left,ha,hp,add_zero,neg_zero] |
| 25 | |
| 26 | theorem kineticEnergy_hasDerivWithinAt (t : Icc (0 : ℝ) T) : |
| 27 | HasDerivWithinAt (fun r => ‖(U.velocity (projIcc 0 T hT r)).toLp‖^2) |
| 28 | 0 (Icc (0 : ℝ) T) t := by |
| 29 | have h := (U.velocityPath_hasDerivWithinAt t).norm_sq |
| 30 | rw [U.velocityPath_extend] at h |
| 31 | simpa only [projIcc_of_mem hT t.property,U.velocity_derivative_inner_zero,mul_zero] using h |
| 32 | |
| 33 | theorem kineticEnergy_conserved (t : Icc (0 : ℝ) T) : |
| 34 | ‖(U.velocity t).toLp‖^2=‖(U.velocity ⟨0,le_rfl,hT⟩).toLp‖^2 := by |
| 35 | have h := eq_initial_add_integral T hT (0 : C(Icc (0 : ℝ) T,ℝ)) |
| 36 | (fun r => ‖(U.velocity (projIcc 0 T hT r)).toLp‖^2) |
| 37 | (fun s => U.kineticEnergy_hasDerivWithinAt s) t |
| 38 | simpa only [map_zero,ContinuousMap.zero_apply,add_zero, |
| 39 | projIcc_of_mem hT t.property,projIcc_of_mem hT (show (0 : ℝ) ∈ Icc 0 T from ⟨le_rfl,hT⟩)] using h |
| 40 | |
| 41 | theorem velocity_norm_conserved (t : Icc (0 : ℝ) T) : |
| 42 | ‖(U.velocity t).toLp‖=‖(U.velocity ⟨0,le_rfl,hT⟩).toLp‖ := by |
| 43 | have h := U.kineticEnergy_conserved t |
| 44 | nlinarith only [h,norm_nonneg (U.velocity t).toLp,norm_nonneg (U.velocity ⟨0,le_rfl,hT⟩).toLp] |
| 45 | |
| 46 | end EulerOrdinarySobolev.Evolution |