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.PacketCylinderFieldAlgebra |
| 2 | |
| 3 | /-! Genuine within-interval time derivatives commute with the finite packet algebra. -/ |
| 4 | |
| 5 | noncomputable section |
| 6 | |
| 7 | namespace EulerPacketCylinderField.TimeDerivative |
| 8 | |
| 9 | open Set Finset EulerPacketProfileRecursion EulerVolterraConvolution |
| 10 | |
| 11 | variable {P T : ℝ} [Fact (0 < P)] {hT : 0 ≤ T} |
| 12 | {raw raw' next next' : VectorField} |
| 13 | {G : Field P T raw} {G' : Field P T raw'} |
| 14 | {H : Field P T next} {H' : Field P T next'} |
| 15 | |
| 16 | theorem zero : TimeDerivative hT (Field.zero P T) (Field.zero P T) := by |
| 17 | intro t |
| 18 | exact hasDerivWithinAt_const (t : ℝ) (Icc (0 : ℝ) T) (0 : EulerLiftedGradientSpace.LiftL2 P) |
| 19 | |
| 20 | theorem add (hG : TimeDerivative hT G G') (hH : TimeDerivative hT H H') : |
| 21 | TimeDerivative hT (G.add H) (G'.add H') := by |
| 22 | intro t |
| 23 | exact (hG t).add (hH t) |
| 24 | |
| 25 | theorem smul (hG : TimeDerivative hT G G') (c : ℝ) : |
| 26 | TimeDerivative hT (G.smul c) (G'.smul c) := by |
| 27 | intro t |
| 28 | exact (hG t).const_smul c |
| 29 | |
| 30 | theorem finsetSum {ι : Type*} (s : Finset ι) (f f' : ι → VectorField) |
| 31 | (G : ∀ i, Field P T (f i)) (G' : ∀ i, Field P T (f' i)) |
| 32 | (hG : ∀ i ∈ s, TimeDerivative hT (G i) (G' i)) : |
| 33 | TimeDerivative hT (Field.finsetSum s f G) (Field.finsetSum s f' G') := by |
| 34 | intro t |
| 35 | have h := HasDerivWithinAt.fun_sum (u := s) (fun i hi => hG i hi t) |
| 36 | change HasDerivWithinAt (fun r => (∑ i ∈ s, (G i).path) (projIcc 0 T hT r)) |
| 37 | ((∑ i ∈ s, (G' i).path) t) (Icc (0 : ℝ) T) t |
| 38 | simp only [ContinuousMap.sum_apply] |
| 39 | exact h |
| 40 | |
| 41 | theorem of_path_eq (hG : TimeDerivative hT G G') |
| 42 | (h : H.path=G.path) (h' : H'.path=G'.path) : TimeDerivative hT H H' := by |
| 43 | unfold TimeDerivative |
| 44 | rw [h,h'] |
| 45 | exact hG |
| 46 | |
| 47 | end EulerPacketCylinderField.TimeDerivative |