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.PacketNormalTimeMap |
| 2 | import Mathlib.Analysis.Calculus.FDeriv.Mul |
| 3 | |
| 4 | /-! Genuine time derivatives of the inverse deformation and its transported normal. -/ |
| 5 | |
| 6 | noncomputable section |
| 7 | |
| 8 | namespace EulerDeformationTime |
| 9 | |
| 10 | open Set ContinuousLinearMap EulerSmoothLimit |
| 11 | |
| 12 | private local instance : NormedAddCommGroup (Space →L[ℝ] Space) := inferInstance |
| 13 | private local instance : NormedSpace ℝ (Space →L[ℝ] Space) := inferInstance |
| 14 | |
| 15 | def inverseUnit (F G : Space →L[ℝ] Space) |
| 16 | (hFG : F.comp G = ContinuousLinearMap.id ℝ Space) |
| 17 | (hGF : G.comp F = ContinuousLinearMap.id ℝ Space) : (Space →L[ℝ] Space)ˣ where |
| 18 | val := F |
| 19 | inv := G |
| 20 | val_inv := hFG |
| 21 | inv_val := hGF |
| 22 | |
| 23 | theorem inverse_hasDerivWithinAt (s : Set ℝ) (t : ℝ) (ht : t ∈ s) |
| 24 | (F G : ℝ → Space →L[ℝ] Space) (F₁ : Space →L[ℝ] Space) |
| 25 | (hFG : ∀ r ∈ s, (F r).comp (G r) = ContinuousLinearMap.id ℝ Space) |
| 26 | (hGF : ∀ r ∈ s, (G r).comp (F r) = ContinuousLinearMap.id ℝ Space) |
| 27 | (hF : HasDerivWithinAt F F₁ s t) : |
| 28 | HasDerivWithinAt G (-((G t).comp (F₁.comp (G t)))) s t := by |
| 29 | have h := (hasFDerivAt_ringInverse (𝕜 := ℝ) |
| 30 | (inverseUnit (F t) (G t) (hFG t ht) (hGF t ht))).comp_hasDerivWithinAt t hF |
| 31 | change HasDerivWithinAt (fun r => Ring.inverse (F r)) (-((G t).comp (F₁.comp (G t)))) s t at h |
| 32 | apply h.congr_of_mem _ ht |
| 33 | intro r hr |
| 34 | exact (Ring.inverse_unit (inverseUnit (F r) (G r) (hFG r hr) (hGF r hr))).symm |
| 35 | |
| 36 | /-- F_t=MF implies (F⁻¹)_t=−F⁻¹M on the same closed time set. -/ |
| 37 | theorem inverse_strain_hasDerivWithinAt (s : Set ℝ) (t : ℝ) (ht : t ∈ s) |
| 38 | (F G : ℝ → Space →L[ℝ] Space) (M : Space →L[ℝ] Space) |
| 39 | (hFG : ∀ r ∈ s, (F r).comp (G r) = ContinuousLinearMap.id ℝ Space) |
| 40 | (hGF : ∀ r ∈ s, (G r).comp (F r) = ContinuousLinearMap.id ℝ Space) |
| 41 | (hF : HasDerivWithinAt F (M.comp (F t)) s t) : |
| 42 | HasDerivWithinAt G (-((G t).comp M)) s t := by |
| 43 | have h := inverse_hasDerivWithinAt s t ht F G (M.comp (F t)) hFG hGF hF |
| 44 | rwa [ContinuousLinearMap.comp_assoc M (F t) (G t), hFG t ht, ContinuousLinearMap.comp_id] at h |
| 45 | |
| 46 | def adjointVector (m₀ : Space) : (Space →L[ℝ] Space) →L[ℝ] Space := |
| 47 | (ContinuousLinearMap.apply ℝ Space m₀).comp |
| 48 | (ContinuousLinearMap.adjoint.toContinuousLinearEquiv.toContinuousLinearMap |
| 49 | : (Space →L[ℝ] Space) →L[ℝ] (Space →L[ℝ] Space)) |
| 50 | |
| 51 | /-- The actual transported normal satisfies m_t=−M* m. -/ |
| 52 | theorem normal_hasDerivWithinAt (s : Set ℝ) (t : ℝ) (ht : t ∈ s) |
| 53 | (F G : ℝ → Space →L[ℝ] Space) (M : Space →L[ℝ] Space) (m₀ : Space) |
| 54 | (hFG : ∀ r ∈ s, (F r).comp (G r) = ContinuousLinearMap.id ℝ Space) |
| 55 | (hGF : ∀ r ∈ s, (G r).comp (F r) = ContinuousLinearMap.id ℝ Space) |
| 56 | (hF : HasDerivWithinAt F (M.comp (F t)) s t) : |
| 57 | HasDerivWithinAt (fun r => (G r).adjoint m₀) (-(M.adjoint ((G t).adjoint m₀))) s t := by |
| 58 | have h := (adjointVector m₀).hasFDerivAt.comp_hasDerivWithinAt t |
| 59 | (inverse_strain_hasDerivWithinAt s t ht F G M hFG hGF hF) |
| 60 | convert h using 1 <;> try rfl |
| 61 | change -(M.adjoint ((G t).adjoint m₀)) = (-((G t).comp M)).adjoint m₀ |
| 62 | simp only [map_neg, adjoint_comp, neg_apply, comp_apply] |
| 63 | |
| 64 | end EulerDeformationTime |