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.MeanCoefficientPathJets |
| 2 | import Euler.ParameterSobolevLinear |
| 3 | |
| 4 | /-! |
| 5 | # Restricting the time parameter of genuine smooth coefficient fields |
| 6 | |
| 7 | Continuous precomposition keeps the actual spatial jets and has norm at |
| 8 | most one. In particular it does not enlarge the spatial factorial radius |
| 9 | when a source field is restricted to a history interval or shifted to a |
| 10 | forward interval. |
| 11 | -/ |
| 12 | |
| 13 | noncomputable section |
| 14 | |
| 15 | namespace EulerMeanCoefficients |
| 16 | |
| 17 | open EulerSmoothLimit |
| 18 | open scoped ContDiff BoundedContinuousFunction |
| 19 | |
| 20 | variable {K L V : Type*} [TopologicalSpace K] [CompactSpace K] |
| 21 | [TopologicalSpace L] [CompactSpace L] |
| 22 | [NormedAddCommGroup V] [NormedSpace ℝ V] |
| 23 | |
| 24 | private local instance : NormedAddCommGroup (Space →ᵇ V) := inferInstance |
| 25 | private local instance : NormedSpace ℝ (Space →ᵇ V) := inferInstance |
| 26 | private local instance (n : ℕ) : NormedAddCommGroup (Space →ᵇ (Space [×n]→L[ℝ] V)) := inferInstance |
| 27 | private local instance (n : ℕ) : NormedSpace ℝ (Space →ᵇ (Space [×n]→L[ℝ] V)) := inferInstance |
| 28 | |
| 29 | namespace SmoothCoefficientPath |
| 30 | |
| 31 | /-- Actual time precomposition, including every spatial jet. -/ |
| 32 | def comp (A : SmoothCoefficientPath K V) (φ : C(L,K)) : SmoothCoefficientPath L V where |
| 33 | field := A.field.comp φ |
| 34 | smooth t := A.smooth (φ t) |
| 35 | jet n := (A.jet n).comp φ |
| 36 | jet_eq n t x := A.jet_eq n (φ t) x |
| 37 | |
| 38 | @[simp] theorem comp_apply (A : SmoothCoefficientPath K V) (φ : C(L,K)) (t : L) (x : Space) : |
| 39 | (A.comp φ).field t x = A.field (φ t) x := rfl |
| 40 | |
| 41 | theorem comp_norm_le (A : SmoothCoefficientPath K V) (φ : C(L,K)) : |
| 42 | ‖(A.comp φ).field‖ ≤ ‖A.field‖ := by |
| 43 | apply (ContinuousMap.norm_le _ (norm_nonneg _)).2 |
| 44 | intro t |
| 45 | exact A.field.norm_coe_le_norm (φ t) |
| 46 | |
| 47 | end SmoothCoefficientPath |
| 48 | |
| 49 | end EulerMeanCoefficients |
| 50 | |
| 51 | namespace EulerTimeIntervalRestriction |
| 52 | |
| 53 | open Set EulerVolterraConvolution |
| 54 | |
| 55 | variable {V : Type*} [NormedAddCommGroup V] [NormedSpace ℝ V] |
| 56 | |
| 57 | def initialInclusion (S τ : ℝ) (hτS : τ ≤ S) : C(Icc (0 : ℝ) τ,Icc (0 : ℝ) S) := |
| 58 | ⟨fun t => ⟨t,t.property.1,t.property.2.trans hτS⟩, |
| 59 | continuous_subtype_val.subtype_mk _⟩ |
| 60 | |
| 61 | def tailInclusion (S τ : ℝ) (hτ : 0 ≤ τ) : C(Icc (0 : ℝ) (S-τ),Icc (0 : ℝ) S) := |
| 62 | ⟨fun t => ⟨τ+t,add_nonneg hτ t.property.1,by linarith [t.property.2]⟩, |
| 63 | (continuous_const.add continuous_subtype_val).subtype_mk _⟩ |
| 64 | |
| 65 | def initialPath (S τ : ℝ) (hτS : τ ≤ S) : C(Icc (0 : ℝ) S,V) →L[ℝ] C(Icc (0 : ℝ) τ,V) := |
| 66 | ContinuousMap.compCLM ℝ V (initialInclusion S τ hτS) |
| 67 | |
| 68 | def tailPath (S τ : ℝ) (hτ : 0 ≤ τ) : C(Icc (0 : ℝ) S,V) →L[ℝ] C(Icc (0 : ℝ) (S-τ),V) := |
| 69 | ContinuousMap.compCLM ℝ V (tailInclusion S τ hτ) |
| 70 | |
| 71 | theorem initial_extend (S τ : ℝ) (hS : 0 ≤ S) (hτ : 0 ≤ τ) (hτS : τ ≤ S) |
| 72 | (A : C(Icc (0 : ℝ) S,V)) (t : ℝ) (ht : t ∈ Icc (0 : ℝ) τ) : |
| 73 | extendPath τ hτ (initialPath S τ hτS A) t = extendPath S hS A t := by |
| 74 | simp only [extendPath, projIcc_of_mem hτ ht, initialPath, ContinuousMap.compCLM_apply, |
| 75 | ContinuousMap.comp_apply, initialInclusion] |
| 76 | rw [projIcc_of_mem hS ⟨ht.1,ht.2.trans hτS⟩] |
| 77 | rfl |
| 78 | |
| 79 | theorem tail_extend (S τ : ℝ) (hS : 0 ≤ S) (hτ : 0 ≤ τ) (hτS : τ ≤ S) |
| 80 | (A : C(Icc (0 : ℝ) S,V)) (t : ℝ) (ht : t ∈ Icc (0 : ℝ) (S-τ)) : |
| 81 | extendPath (S-τ) (sub_nonneg.mpr hτS) (tailPath S τ hτ A) t = extendPath S hS A (τ+t) := by |
| 82 | have hs : τ+t ∈ Icc (0 : ℝ) S := ⟨add_nonneg hτ ht.1,by linarith [ht.2]⟩ |
| 83 | simp only [extendPath, projIcc_of_mem (sub_nonneg.mpr hτS) ht, tailPath, ContinuousMap.compCLM_apply, |
| 84 | ContinuousMap.comp_apply, tailInclusion, projIcc_of_mem hS hs] |
| 85 | rfl |
| 86 | |
| 87 | /-- A true within-time derivative restricts to the closed history interval. -/ |
| 88 | theorem initialPath_hasDerivWithinAt (S τ : ℝ) (hS : 0 ≤ S) (hτ : 0 ≤ τ) (hτS : τ ≤ S) |
| 89 | (A A₁ : C(Icc (0 : ℝ) S,V)) |
| 90 | (hd : ∀ t ∈ Icc (0 : ℝ) S, HasDerivWithinAt (extendPath S hS A) |
| 91 | (extendPath S hS A₁ t) (Icc (0 : ℝ) S) t) |
| 92 | (t : ℝ) (ht : t ∈ Icc (0 : ℝ) τ) : |
| 93 | HasDerivWithinAt (extendPath τ hτ (initialPath S τ hτS A)) |
| 94 | (extendPath τ hτ (initialPath S τ hτS A₁) t) (Icc (0 : ℝ) τ) t := by |
| 95 | rw [initial_extend S τ hS hτ hτS A₁ t ht] |
| 96 | exact ((hd t ⟨ht.1,ht.2.trans hτS⟩).mono (Icc_subset_Icc le_rfl hτS)).congr_of_mem |
| 97 | (fun s hs => initial_extend S τ hS hτ hτS A s hs) ht |
| 98 | |
| 99 | /-- Translation of the time variable has derivative one, including the |
| 100 | within-derivatives at both ends of the forward interval. -/ |
| 101 | theorem tailPath_hasDerivWithinAt (S τ : ℝ) (hS : 0 ≤ S) (hτ : 0 ≤ τ) (hτS : τ ≤ S) |
| 102 | (A A₁ : C(Icc (0 : ℝ) S,V)) |
| 103 | (hd : ∀ t ∈ Icc (0 : ℝ) S, HasDerivWithinAt (extendPath S hS A) |
| 104 | (extendPath S hS A₁ t) (Icc (0 : ℝ) S) t) |
| 105 | (t : ℝ) (ht : t ∈ Icc (0 : ℝ) (S-τ)) : |
| 106 | HasDerivWithinAt (extendPath (S-τ) (sub_nonneg.mpr hτS) (tailPath S τ hτ A)) |
| 107 | (extendPath (S-τ) (sub_nonneg.mpr hτS) (tailPath S τ hτ A₁) t) (Icc (0 : ℝ) (S-τ)) t := by |
| 108 | have hm : MapsTo (fun s : ℝ => τ+s) (Icc (0 : ℝ) (S-τ)) (Icc (0 : ℝ) S) := by |
| 109 | intro s hs |
| 110 | exact ⟨add_nonneg hτ hs.1,by linarith [hs.2]⟩ |
| 111 | have hc := (hd (τ+t) (hm ht)).scomp t ((hasDerivAt_id t).const_add τ).hasDerivWithinAt hm |
| 112 | rw [tail_extend S τ hS hτ hτS A₁ t ht] |
| 113 | simpa only [one_smul] using hc.congr_of_mem |
| 114 | (fun s hs => tail_extend S τ hS hτ hτS A s hs) ht |
| 115 | |
| 116 | end EulerTimeIntervalRestriction |