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

chore(NavierStokes/Joint): delete 11 declarations nothing uses #368
Merged
+0 −91 NavierStokes/JointResidualLimits.lean View file
| @@ -153,97 +153,6 @@ theorem boundaryLimits_locallyUniform {f : SpaceTime → V} (hzero : VanishingJo | ||
| 153 | 153 | intro x |
| 154 | 154 | simpa only [past_filter] using boundaryLimits_joint hzero hext n x |
| 155 | 155 | |
| 156 | -theorem boundaryLimits_uniformOn_compact {f : SpaceTime → V} (hzero : VanishingJointJets f) | |
| 157 | - (hext : AwayExtensions f) (n : ℕ) {K : Set Space} (hK : IsCompact K) : | |
| 158 | - TendstoUniformlyOn (fun t x => iteratedFDeriv ℝ n f (t, x)) | |
| 159 | - (fun x => boundaryLimits f hext x n) (𝓝[<] (1 : ℝ)) K := | |
| 160 | - (tendstoLocallyUniformly_iff_forall_isCompact.mp (boundaryLimits_locallyUniform hzero hext n)) K hK | |
| 161 | - | |
| 162 | -theorem past_filter_neBot (x : Space) : | |
| 163 | - (𝓝[SpacetimeEndpoint.openPast 1] ((1 : ℝ), x)).NeBot := by | |
| 164 | - rw [past_filter] | |
| 165 | - infer_instance | |
| 166 | - | |
| 167 | -theorem boundaryLimits_independent {f : SpaceTime → V} (hzero : VanishingJointJets f) | |
| 168 | - (h₁ h₂ : AwayExtensions f) : boundaryLimits f h₁ = boundaryLimits f h₂ := by | |
| 169 | - funext x n | |
| 170 | - let := past_filter_neBot x | |
| 171 | - exact tendsto_nhds_unique (boundaryLimits_joint hzero h₁ n x) (boundaryLimits_joint hzero h₂ n x) | |
| 172 | - | |
| 173 | -/-- Actual derivative recurrence on the open past; the jet family is not | |
| 174 | -independent input data. -/ | |
| 175 | -theorem actual_derivative_recurrence {f : SpaceTime → V} | |
| 176 | - (hf : ContDiffOn ℝ ∞ f (SpacetimeEndpoint.openPast 1)) (n : ℕ) (z : SpaceTime) | |
| 177 | - (hz : z.1 < 1) : | |
| 178 | - HasFDerivAt (iteratedFDeriv ℝ n f) | |
| 179 | - (iteratedFDeriv ℝ (n + 1) f z).curryLeft z := by | |
| 180 | - have hs : ContDiffAt ℝ ∞ f z := hf.contDiffAt | |
| 181 | - ((SpacetimeEndpoint.openPast_isOpen 1).mem_nhds ⟨hz, mem_univ z.2⟩) | |
| 182 | - have hi : ContDiffAt ℝ 1 (iteratedFDeriv ℝ n f) z := | |
| 183 | - hs.iteratedFDeriv_right (by exact_mod_cast (le_top : 1 + (n : ℕ∞) ≤ ⊤)) | |
| 184 | - have hd := (hi.differentiableAt (by simp)).hasFDerivAt | |
| 185 | - rw [fderiv_iteratedFDeriv] at hd | |
| 186 | - exact hd | |
| 187 | - | |
| 188 | -theorem boundaryLimits_smooth {f : SpaceTime → V} | |
| 189 | - (hf : ContDiffOn ℝ ∞ f (SpacetimeEndpoint.openPast 1)) | |
| 190 | - (hzero : VanishingJointJets f) (hext : AwayExtensions f) (n : ℕ) : | |
| 191 | - ContDiff ℝ ∞ (fun x => boundaryLimits f hext x n) := | |
| 192 | - SpacetimeEndpoint.boundary_tensors_contDiff (J := ftaylorSeries ℝ f) | |
| 193 | - (actual_derivative_recurrence hf) (boundaryLimits_locallyUniform hzero hext) n | |
| 194 | - | |
| 195 | -theorem extendedJets_compatible {f : SpaceTime → V} | |
| 196 | - (hf : ContDiffOn ℝ ∞ f (SpacetimeEndpoint.openPast 1)) | |
| 197 | - (hzero : VanishingJointJets f) (hext : AwayExtensions f) (n : ℕ) | |
| 198 | - (z : SpaceTime) (hz : z ∈ SpacetimeEndpoint.closedPast 1) : | |
| 199 | - HasFDerivWithinAt | |
| 200 | - (fun y => SpacetimeEndpoint.extendJets 1 (ftaylorSeries ℝ f) (boundaryLimits f hext) y n) | |
| 201 | - (SpacetimeEndpoint.extendJets 1 (ftaylorSeries ℝ f) (boundaryLimits f hext) z (n + 1)).curryLeft | |
| 202 | - (SpacetimeEndpoint.closedPast 1) z := | |
| 203 | - SpacetimeEndpoint.extendedJets_hasFDerivWithinAt (J := ftaylorSeries ℝ f) | |
| 204 | - (actual_derivative_recurrence hf) (boundaryLimits_locallyUniform hzero hext) n z hz | |
| 205 | - | |
| 206 | -/-- Spatial differentiation of a boundary tensor is restriction of the next | |
| 207 | -full spacetime tensor to a spatial first argument. -/ | |
| 208 | -theorem boundaryLimits_hasFDerivAt {f : SpaceTime → V} | |
| 209 | - (hf : ContDiffOn ℝ ∞ f (SpacetimeEndpoint.openPast 1)) | |
| 210 | - (hzero : VanishingJointJets f) (hext : AwayExtensions f) (n : ℕ) (x : Space) : | |
| 211 | - HasFDerivAt (fun y => boundaryLimits f hext y n) | |
| 212 | - ((boundaryLimits f hext x (n + 1)).curryLeft.comp (ContinuousLinearMap.inr ℝ ℝ Space)) x := by | |
| 213 | - have hd := extendedJets_compatible hf hzero hext n (1, x) ⟨le_refl (1 : ℝ), mem_univ x⟩ | |
| 214 | - have hi : HasFDerivAt (fun y : Space => ((1 : ℝ), y)) | |
| 215 | - (ContinuousLinearMap.inr ℝ ℝ Space) x := | |
| 216 | - (hasFDerivAt_const (1 : ℝ) x).prodMk (hasFDerivAt_id x) | |
| 217 | - have hc := hd.comp x (hi.hasFDerivWithinAt (s := univ)) | |
| 218 | - (fun y _ => show ((1 : ℝ), y) ∈ SpacetimeEndpoint.closedPast 1 from | |
| 219 | - ⟨le_refl (1 : ℝ), mem_univ y⟩) | |
| 220 | - simpa only [Function.comp_def, SpacetimeEndpoint.extendJets, SpacetimeEndpoint.extendTrace_at] | |
| 221 | - using hc.hasFDerivAt_of_univ | |
| 222 | - | |
| 223 | -/-- On `t < 1` this is the original function; on `t ≥ 1` this auxiliary | |
| 224 | -closed-side extension is constant in time with the constructed boundary trace. -/ | |
| 225 | -noncomputable def extendedResidual (f : SpaceTime → V) (hext : AwayExtensions f) : SpaceTime → V := | |
| 226 | - SpacetimeEndpoint.extendTrace 1 f (fun x => (boundaryLimits f hext x 0).curry0) | |
| 227 | - | |
| 228 | -theorem extendedResidual_agrees (f : SpaceTime → V) (hext : AwayExtensions f) : | |
| 229 | - EqOn (extendedResidual f hext) f (SpacetimeEndpoint.openPast 1) := | |
| 230 | - fun _ hz => SpacetimeEndpoint.extendTrace_of_lt hz.1 | |
| 231 | - | |
| 232 | -theorem extendedResidual_smooth {f : SpaceTime → V} | |
| 233 | - (hf : ContDiffOn ℝ ∞ f (SpacetimeEndpoint.openPast 1)) | |
| 234 | - (hzero : VanishingJointJets f) (hext : AwayExtensions f) : | |
| 235 | - ContDiffOn ℝ ∞ (extendedResidual f hext) (SpacetimeEndpoint.closedPast 1) := | |
| 236 | - SpacetimeEndpoint.contDiffOn_joint_extension (J := ftaylorSeries ℝ f) | |
| 237 | - (fun _ _ => rfl) (actual_derivative_recurrence hf) (boundaryLimits_locallyUniform hzero hext) | |
| 238 | - | |
| 239 | -theorem extendedResidual_boundary_jets {f : SpaceTime → V} | |
| 240 | - (hf : ContDiffOn ℝ ∞ f (SpacetimeEndpoint.openPast 1)) | |
| 241 | - (hzero : VanishingJointJets f) (hext : AwayExtensions f) (n : ℕ) (x : Space) : | |
| 242 | - iteratedFDerivWithin ℝ n (extendedResidual f hext) | |
| 243 | - (SpacetimeEndpoint.closedPast 1) (1, x) = boundaryLimits f hext x n := | |
| 244 | - SpacetimeEndpoint.boundary_jets_eq_limits (J := ftaylorSeries ℝ f) | |
| 245 | - (fun _ _ => rfl) (actual_derivative_recurrence hf) (boundaryLimits_locallyUniform hzero hext) n x | |
| 246 | - | |
| 247 | 156 | /-- The limit portion of the `CandidateFromLimits` input is constructed |
| 248 | 157 | solely from actual joint jet limits and one-sided local extensions. -/ |
| 249 | 158 | theorem exists_residual_limits {f : SpaceTime → V} |
+37 −0 routes/s1-ns-joint-2/README.md added View file
| @@ -0,0 +1,37 @@ | ||
| 1 | +--- | |
| 2 | +issue: 10 | |
| 3 | +status: working | |
| 4 | +--- | |
| 5 | +# s1-ns-joint-2 | |
| 6 | + | |
| 7 | +One unit of #10 (S-1, "Delete declarations that nothing uses"), family `NavierStokes/Joint*`: delete 11 | |
| 8 | +declarations from `NavierStokes/JointResidualLimits.lean`, 91 lines, and nothing else. | |
| 9 | + | |
| 10 | +- `NavierStokes.JointResidualLimits.boundaryLimits_uniformOn_compact` | |
| 11 | +- `NavierStokes.JointResidualLimits.past_filter_neBot` | |
| 12 | +- `NavierStokes.JointResidualLimits.boundaryLimits_independent` | |
| 13 | +- `NavierStokes.JointResidualLimits.actual_derivative_recurrence` | |
| 14 | +- `NavierStokes.JointResidualLimits.boundaryLimits_smooth` | |
| 15 | +- `NavierStokes.JointResidualLimits.extendedJets_compatible` | |
| 16 | +- `NavierStokes.JointResidualLimits.boundaryLimits_hasFDerivAt` | |
| 17 | +- `NavierStokes.JointResidualLimits.extendedResidual` | |
| 18 | +- `NavierStokes.JointResidualLimits.extendedResidual_agrees` | |
| 19 | +- `NavierStokes.JointResidualLimits.extendedResidual_smooth` | |
| 20 | +- `NavierStokes.JointResidualLimits.extendedResidual_boundary_jets` | |
| 21 | + | |
| 22 | +The diff is deletions only: no statement or proof that stays is changed. | |
| 23 | + | |
| 24 | +Nothing left in the tree names any of the eleven. `git grep -n -w <name> -- '*.lean'` for each of the | |
| 25 | +eleven finds no hit. None of the deleted docstrings cites the paper: the three removed are | |
| 26 | +`actual_derivative_recurrence`'s ("Actual derivative recurrence on the open past…"), | |
| 27 | +`boundaryLimits_hasFDerivAt`'s ("Spatial differentiation of a boundary tensor…") and | |
| 28 | +`extendedResidual`'s ("On `t < 1` this is the original function…"), and none names a numbered | |
| 29 | +Lemma, Theorem, Proposition, Corollary, Section or Equation; the other eight carry no docstring. | |
| 30 | + | |
| 31 | +`python3 checks/challenge.py .` ends with `ok: 4 challenge files and the build configuration as | |
| 32 | +approved; 2588 Lean files, 536303 lines, toolchain leanprover/lean4:v4.34.0-rc2`. | |
| 33 | + | |
| 34 | +## Next | |
| 35 | + | |
| 36 | +Push and open the pull request. The other files of the `NavierStokes/Joint*` family and the other | |
| 37 | +units of #10 are separate. | |