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.SmoothTimeFieldTimeJets |
| 2 | |
| 3 | /-! Two actual time-derivative pairs give genuine joint C² regularity |
| 4 | for a smooth spatial coefficient path on interior times. -/ |
| 5 | |
| 6 | noncomputable section |
| 7 | |
| 8 | open scoped ContDiff Topology |
| 9 | |
| 10 | namespace SmoothTimeField |
| 11 | |
| 12 | open Set Filter |
| 13 | |
| 14 | variable {E V : Type} [NormedAddCommGroup E] [NormedSpace ℝ E] [FiniteDimensional ℝ E] |
| 15 | [NormedAddCommGroup V] [NormedSpace ℝ V] [FiniteDimensional ℝ V] |
| 16 | (T : ℝ) (hT : 0 ≤ T) (A A₁ A₂ : SmoothTimeField (Icc (0 : ℝ) T) E V) |
| 17 | |
| 18 | theorem jointDerivative_contDiffAt_one |
| 19 | (hA : TimeDerivative T hT A A₁) (hA₁ : TimeDerivative T hT A₁ A₂) |
| 20 | (t : ℝ) (ht : t ∈ Ioo 0 T) (x : E) : |
| 21 | ContDiffAt ℝ 1 (Function.uncurry (jointDerivative T hT A A₁)) (t,x) := by |
| 22 | have hq := realField_contDiffAt_one T hT A₁ A₂ hA₁ t ht x |
| 23 | have hJ := realField_contDiffAt_one T hT A.derivative A₁.derivative |
| 24 | (TimeDerivative.derivative T hT A A₁ hA) t ht x |
| 25 | have hs := (ContinuousLinearMap.toSpanSingletonLIE ℝ V).toContinuousLinearEquiv.contDiff.contDiffAt.comp |
| 26 | (t,x) hq |
| 27 | let L : ((ℝ →L[ℝ] V) × (E →L[ℝ] V)) →L[ℝ] ((ℝ × E) →L[ℝ] V) := |
| 28 | (ContinuousLinearMap.coprodEquivL (𝕜 := ℝ) (E := ℝ) (F := E) (G := V) ℝ).toContinuousLinearMap |
| 29 | exact (ContinuousLinearMap.contDiff (𝕜 := ℝ) (n := 1) |
| 30 | (E := (ℝ →L[ℝ] V) × (E →L[ℝ] V)) (F := (ℝ × E) →L[ℝ] V) L).contDiffAt.comp |
| 31 | (t,x) (hs.prodMk hJ) |
| 32 | |
| 33 | theorem realField_contDiffAt_two |
| 34 | (hA : TimeDerivative T hT A A₁) (hA₁ : TimeDerivative T hT A₁ A₂) |
| 35 | (t : ℝ) (ht : t ∈ Ioo 0 T) (x : E) : |
| 36 | ContDiffAt ℝ 2 (Function.uncurry (A.realField T hT)) (t,x) := by |
| 37 | rw [show (2 : ℕ∞ω) = ((1 : ℕ)+1) from rfl,contDiffAt_succ_iff_hasFDerivAt] |
| 38 | refine ⟨Function.uncurry (jointDerivative T hT A A₁), |
| 39 | ⟨{p : ℝ × E | p.1 ∈ Ioo 0 T},?_,?_⟩, |
| 40 | jointDerivative_contDiffAt_one T hT A A₁ A₂ hA hA₁ t ht x⟩ |
| 41 | · exact (continuous_fst.tendsto (t,x)).eventually (Ioo_mem_nhds ht.1 ht.2) |
| 42 | · intro p hp |
| 43 | exact realField_hasFDerivAt T hT A A₁ hA p.1 hp p.2 |
| 44 | |
| 45 | end SmoothTimeField |