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.ContinuousTimeIntegral |
| 2 | |
| 3 | /-! A continuous Banach-valued path has its strong time derivative once |
| 4 | that derivative is continuous and is verified through a separating family |
| 5 | of bounded linear observations. The proof reconstructs the actual Bochner |
| 6 | primitive and does not infer strong convergence from pointwise convergence. -/ |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | namespace EulerSeparatingTimeDerivative |
| 11 | |
| 12 | open Set MeasureTheory EulerVolterraConvolution EulerContinuousTimeIntegral |
| 13 | open scoped Topology |
| 14 | |
| 15 | variable {E F I : Type*} [NormedAddCommGroup E] [NormedSpace ℝ E] [CompleteSpace E] |
| 16 | [NormedAddCommGroup F] [NormedSpace ℝ F] [CompleteSpace F] |
| 17 | (T : ℝ) (hT : 0 ≤ T) (f g : C(Icc (0 : ℝ) T,E)) |
| 18 | (L : I → E →L[ℝ] F) |
| 19 | (hsep : Function.Injective (fun u : E => fun i : I => L i u)) |
| 20 | (hd : ∀ i t (ht : t ∈ Ioo 0 T), |
| 21 | HasDerivAt (fun r => L i (extendPath T hT f r)) (L i (g ⟨t,ht.1.le,ht.2.le⟩)) t) |
| 22 | |
| 23 | include hsep hd in |
| 24 | theorem eq_initial_add_integral (t : Icc (0 : ℝ) T) : |
| 25 | f t = f ⟨0,le_rfl,hT⟩ + integral T hT g t := by |
| 26 | apply hsep |
| 27 | funext i |
| 28 | change L i (f t) = L i (f ⟨0,le_rfl,hT⟩ + integral T hT g t) |
| 29 | have hc : Continuous (fun r => L i (extendPath T hT f r)) := |
| 30 | (L i).continuous.comp (extendPath_continuous T hT f) |
| 31 | have hg : Continuous (fun r => L i (extendPath T hT g r)) := |
| 32 | (L i).continuous.comp (extendPath_continuous T hT g) |
| 33 | have hobs : L i (integral T hT g t) = L i (f t)-L i (f ⟨0,le_rfl,hT⟩) := by |
| 34 | rw [integral_apply, realIntegral, |
| 35 | ← (L i).intervalIntegral_comp_comm ((extendPath_continuous T hT g).intervalIntegrable 0 t)] |
| 36 | have he := intervalIntegral.integral_eq_sub_of_hasDerivAt_of_le t.property.1 |
| 37 | hc.continuousOn (f' := fun r => L i (extendPath T hT g r)) |
| 38 | (fun r hr => by |
| 39 | have hrT : r ∈ Ioo 0 T := ⟨hr.1,hr.2.trans_le t.property.2⟩ |
| 40 | simpa only [extendPath,projIcc_of_mem hT ⟨hrT.1.le,hrT.2.le⟩] |
| 41 | using hd i r hrT) |
| 42 | (hg.intervalIntegrable 0 t) |
| 43 | simpa only [extendPath,projIcc_of_mem hT t.property, |
| 44 | projIcc_of_mem hT (show (0 : ℝ) ∈ Icc 0 T from ⟨le_rfl,hT⟩)] using he |
| 45 | rw [map_add,hobs] |
| 46 | abel |
| 47 | |
| 48 | include hsep hd in |
| 49 | theorem hasDerivWithinAt (t : Icc (0 : ℝ) T) : |
| 50 | HasDerivWithinAt (extendPath T hT f) (g t) (Icc (0 : ℝ) T) t := by |
| 51 | have hp : HasDerivWithinAt |
| 52 | (fun r => f ⟨0,le_rfl,hT⟩+realIntegral T hT g r) (g t) (Icc (0 : ℝ) T) t := by |
| 53 | have hp := (realIntegral_hasDerivAt T hT g t).const_add (f ⟨0,le_rfl,hT⟩) |
| 54 | rw [show extendPath T hT g t = g t from by |
| 55 | simp only [extendPath,projIcc_of_mem hT t.property]] at hp |
| 56 | exact hp.hasDerivWithinAt |
| 57 | apply hp.congr_of_mem _ t.property |
| 58 | intro r hr |
| 59 | simpa only [extendPath,projIcc_of_mem hT hr,integral_apply] using |
| 60 | eq_initial_add_integral T hT f g L hsep hd ⟨r,hr⟩ |
| 61 | |
| 62 | include hsep hd in |
| 63 | theorem hasDerivAt (t : ℝ) (ht : t ∈ Ioo 0 T) : |
| 64 | HasDerivAt (extendPath T hT f) (g ⟨t,ht.1.le,ht.2.le⟩) t := |
| 65 | (hasDerivWithinAt T hT f g L hsep hd ⟨t,ht.1.le,ht.2.le⟩).hasDerivAt |
| 66 | (Icc_mem_nhds ht.1 ht.2) |
| 67 | |
| 68 | end EulerSeparatingTimeDerivative |