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 | theorem comp_jet_norm_le (A : SmoothCoefficientPath K V) (φ : C(L,K)) (n : ℕ) : |
| 48 | ‖(A.comp φ).jet n‖ ≤ ‖A.jet n‖ := by |
| 49 | apply (ContinuousMap.norm_le _ (norm_nonneg _)).2 |
| 50 | intro t |
| 51 | exact (A.jet n).norm_coe_le_norm (φ t) |
| 52 | |
| 53 | theorem comp_translation (A : SmoothCoefficientPath K V) (φ : C(L,K)) (a : Space) : |
| 54 | translateCoefficientPath (A.comp φ).field a = |
| 55 | (translateCoefficientPath A.field a).comp φ := rfl |
| 56 | |
| 57 | /-- A continuous change of time parameter preserves each literal spatial |
| 58 | derivative bound with exactly the same constant. -/ |
| 59 | theorem comp_derivative_bound (A : SmoothCoefficientPath K V) (φ : C(L,K)) |
| 60 | (n : ℕ) (C : ℝ) |
| 61 | (hb : ∀ t x, ‖iteratedFDeriv ℝ n (A.field t : Space → V) x‖ ≤ C) |
| 62 | (t : L) (x : Space) : |
| 63 | ‖iteratedFDeriv ℝ n ((A.comp φ).field t : Space → V) x‖ ≤ C := |
| 64 | hb (φ t) x |
| 65 | |
| 66 | theorem comp_translation_bound (A : SmoothCoefficientPath K V) (φ : C(L,K)) |
| 67 | (n : ℕ) (C : ℝ) (hC : 0 ≤ C) |
| 68 | (hb : ∀ t x, ‖iteratedFDeriv ℝ n (A.field t : Space → V) x‖ ≤ C) |
| 69 | (a : Space) : |
| 70 | ‖iteratedFDeriv ℝ n (translateCoefficientPath (A.comp φ).field) a‖ ≤ C := |
| 71 | (A.comp φ).norm_iteratedFDeriv_translation_le n C hC |
| 72 | (A.comp_derivative_bound φ n C hb) a |
| 73 | |
| 74 | end SmoothCoefficientPath |
| 75 | |
| 76 | end EulerMeanCoefficients |
| 77 | |
| 78 | namespace EulerTimeIntervalRestriction |
| 79 | |
| 80 | open Set EulerVolterraConvolution |
| 81 | |
| 82 | variable {V : Type*} [NormedAddCommGroup V] [NormedSpace ℝ V] |
| 83 | |
| 84 | def initialInclusion (S τ : ℝ) (hτS : τ ≤ S) : C(Icc (0 : ℝ) τ,Icc (0 : ℝ) S) := |
| 85 | ⟨fun t => ⟨t,t.property.1,t.property.2.trans hτS⟩, |
| 86 | continuous_subtype_val.subtype_mk _⟩ |
| 87 | |
| 88 | def tailInclusion (S τ : ℝ) (hτ : 0 ≤ τ) : C(Icc (0 : ℝ) (S-τ),Icc (0 : ℝ) S) := |
| 89 | ⟨fun t => ⟨τ+t,add_nonneg hτ t.property.1,by linarith [t.property.2]⟩, |
| 90 | (continuous_const.add continuous_subtype_val).subtype_mk _⟩ |
| 91 | |
| 92 | def initialPath (S τ : ℝ) (hτS : τ ≤ S) : C(Icc (0 : ℝ) S,V) →L[ℝ] C(Icc (0 : ℝ) τ,V) := |
| 93 | ContinuousMap.compCLM ℝ V (initialInclusion S τ hτS) |
| 94 | |
| 95 | def tailPath (S τ : ℝ) (hτ : 0 ≤ τ) : C(Icc (0 : ℝ) S,V) →L[ℝ] C(Icc (0 : ℝ) (S-τ),V) := |
| 96 | ContinuousMap.compCLM ℝ V (tailInclusion S τ hτ) |
| 97 | |
| 98 | theorem initialPath_norm (S τ : ℝ) (hτS : τ ≤ S) : ‖initialPath (V := V) S τ hτS‖ ≤ 1 := by |
| 99 | apply ContinuousLinearMap.opNorm_le_bound _ zero_le_one |
| 100 | intro A |
| 101 | rw [one_mul] |
| 102 | apply (ContinuousMap.norm_le _ (norm_nonneg A)).2 |
| 103 | intro t |
| 104 | exact A.norm_coe_le_norm _ |
| 105 | |
| 106 | theorem tailPath_norm (S τ : ℝ) (hτ : 0 ≤ τ) : ‖tailPath (V := V) S τ hτ‖ ≤ 1 := by |
| 107 | apply ContinuousLinearMap.opNorm_le_bound _ zero_le_one |
| 108 | intro A |
| 109 | rw [one_mul] |
| 110 | apply (ContinuousMap.norm_le _ (norm_nonneg A)).2 |
| 111 | intro t |
| 112 | exact A.norm_coe_le_norm _ |
| 113 | |
| 114 | theorem initial_extend (S τ : ℝ) (hS : 0 ≤ S) (hτ : 0 ≤ τ) (hτS : τ ≤ S) |
| 115 | (A : C(Icc (0 : ℝ) S,V)) (t : ℝ) (ht : t ∈ Icc (0 : ℝ) τ) : |
| 116 | extendPath τ hτ (initialPath S τ hτS A) t = extendPath S hS A t := by |
| 117 | simp only [extendPath, projIcc_of_mem hτ ht, initialPath, ContinuousMap.compCLM_apply, |
| 118 | ContinuousMap.comp_apply, initialInclusion] |
| 119 | rw [projIcc_of_mem hS ⟨ht.1,ht.2.trans hτS⟩] |
| 120 | rfl |
| 121 | |
| 122 | theorem tail_extend (S τ : ℝ) (hS : 0 ≤ S) (hτ : 0 ≤ τ) (hτS : τ ≤ S) |
| 123 | (A : C(Icc (0 : ℝ) S,V)) (t : ℝ) (ht : t ∈ Icc (0 : ℝ) (S-τ)) : |
| 124 | extendPath (S-τ) (sub_nonneg.mpr hτS) (tailPath S τ hτ A) t = extendPath S hS A (τ+t) := by |
| 125 | have hs : τ+t ∈ Icc (0 : ℝ) S := ⟨add_nonneg hτ ht.1,by linarith [ht.2]⟩ |
| 126 | simp only [extendPath, projIcc_of_mem (sub_nonneg.mpr hτS) ht, tailPath, ContinuousMap.compCLM_apply, |
| 127 | ContinuousMap.comp_apply, tailInclusion, projIcc_of_mem hS hs] |
| 128 | rfl |
| 129 | |
| 130 | /-- A true within-time derivative restricts to the closed history interval. -/ |
| 131 | theorem initialPath_hasDerivWithinAt (S τ : ℝ) (hS : 0 ≤ S) (hτ : 0 ≤ τ) (hτS : τ ≤ S) |
| 132 | (A A₁ : C(Icc (0 : ℝ) S,V)) |
| 133 | (hd : ∀ t ∈ Icc (0 : ℝ) S, HasDerivWithinAt (extendPath S hS A) |
| 134 | (extendPath S hS A₁ t) (Icc (0 : ℝ) S) t) |
| 135 | (t : ℝ) (ht : t ∈ Icc (0 : ℝ) τ) : |
| 136 | HasDerivWithinAt (extendPath τ hτ (initialPath S τ hτS A)) |
| 137 | (extendPath τ hτ (initialPath S τ hτS A₁) t) (Icc (0 : ℝ) τ) t := by |
| 138 | rw [initial_extend S τ hS hτ hτS A₁ t ht] |
| 139 | exact ((hd t ⟨ht.1,ht.2.trans hτS⟩).mono (Icc_subset_Icc le_rfl hτS)).congr_of_mem |
| 140 | (fun s hs => initial_extend S τ hS hτ hτS A s hs) ht |
| 141 | |
| 142 | /-- Translation of the time variable has derivative one, including the |
| 143 | within-derivatives at both ends of the forward interval. -/ |
| 144 | theorem tailPath_hasDerivWithinAt (S τ : ℝ) (hS : 0 ≤ S) (hτ : 0 ≤ τ) (hτS : τ ≤ S) |
| 145 | (A A₁ : C(Icc (0 : ℝ) S,V)) |
| 146 | (hd : ∀ t ∈ Icc (0 : ℝ) S, HasDerivWithinAt (extendPath S hS A) |
| 147 | (extendPath S hS A₁ t) (Icc (0 : ℝ) S) t) |
| 148 | (t : ℝ) (ht : t ∈ Icc (0 : ℝ) (S-τ)) : |
| 149 | HasDerivWithinAt (extendPath (S-τ) (sub_nonneg.mpr hτS) (tailPath S τ hτ A)) |
| 150 | (extendPath (S-τ) (sub_nonneg.mpr hτS) (tailPath S τ hτ A₁) t) (Icc (0 : ℝ) (S-τ)) t := by |
| 151 | have hm : MapsTo (fun s : ℝ => τ+s) (Icc (0 : ℝ) (S-τ)) (Icc (0 : ℝ) S) := by |
| 152 | intro s hs |
| 153 | exact ⟨add_nonneg hτ hs.1,by linarith [hs.2]⟩ |
| 154 | have hc := (hd (τ+t) (hm ht)).scomp t ((hasDerivAt_id t).const_add τ).hasDerivWithinAt hm |
| 155 | rw [tail_extend S τ hS hτ hτS A₁ t ht] |
| 156 | simpa only [one_smul] using hc.congr_of_mem |
| 157 | (fun s hs => tail_extend S τ hS hτ hτS A s hs) ht |
| 158 | |
| 159 | end EulerTimeIntervalRestriction |