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

Comparing changes
Choose two branches to see what changed, then open a pull request to bring the work across.
Able to merge. These branches can be merged automatically.
A pull request is already open: #355 chore(NavierStokes/Constructed): delete 15 declarations nothing uses
1 commit
+0 −97 NavierStokes/ConstructedSlowBase.lean View file
| @@ -290,21 +290,6 @@ theorem modified_origin {a : ℕ → ℕ} (ha : StrictMono a) {t : ℝ} (ht : t | ||
| 290 | 290 | (fun _ hn => (modifiedCoefficients_axis W Q M hn (by norm_num : |(0 : ℝ)| ≤ 1)).2.1) ht, |
| 291 | 291 | modified_leading_origin] |
| 292 | 292 | |
| 293 | -theorem modified_axis_tendsto {a : ℕ → ℕ} (ha : StrictMono a) : | |
| 294 | - Tendsto (fun t : ℝ => | |
| 295 | - ‖baseVelocity a F.data.h W.axis.normalization (modifiedCoefficients W Q M) (t, 0)‖) | |
| 296 | - (𝓝[<] 1) atTop := by | |
| 297 | - apply BaseResidual.baseVelocity_axis_tendsto_atTop ha (height_pos W) (height_lt_half W) | |
| 298 | - (modifiedCoefficients_smooth W Q M) W.axis.normalization | |
| 299 | - (fun _ hn => (modifiedCoefficients_axis W Q M hn (by norm_num : |(0 : ℝ)| ≤ 1)).2.1) | |
| 300 | - rw [modified_leading_origin] | |
| 301 | - exact W.axis.small.j_pos | |
| 302 | - | |
| 303 | -theorem modified_speedUnbounded {a : ℕ → ℕ} (ha : StrictMono a) : | |
| 304 | - ProblemStatement.SpeedUnboundedAtOne | |
| 305 | - (baseVelocity a F.data.h W.axis.normalization (modifiedCoefficients W Q M)) := | |
| 306 | - NaturalCore.speedUnbounded_of_axis_tendsto (modified_axis_tendsto W Q M ha) | |
| 307 | - | |
| 308 | 293 | end Modified |
| 309 | 294 | |
| 310 | 295 | section CommonWeightedSchedule |
| @@ -364,13 +349,6 @@ theorem activeLeft_margin : Real.exp (activeLeft W) < nominalInner W / 8 := by | ||
| 364 | 349 | rw [exp_activeLeft] |
| 365 | 350 | linarith [nominalInner_pos W] |
| 366 | 351 | |
| 367 | -theorem core_before_outer : nominalInner W / 8 < nominalOuterX W := by | |
| 368 | - have hi := (nominalInner_lt_stop W).trans (nominalStop_lt_initial W) | |
| 369 | - have ho := (W.controls.Xi_lt_heatJoin W.separated).trans | |
| 370 | - (W.controls.heatJoin_lt_radius.trans (nominalOuterX_gt_radius W)) | |
| 371 | - have hxi := nominalInitial_le_Xi W | |
| 372 | - linarith [nominalInner_pos W] | |
| 373 | - | |
| 374 | 352 | theorem switch_before_collar : BaseExterior.nominalHeatSwitch W < Real.exp (terminalShift W + 2) := by |
| 375 | 353 | change BaseExterior.nominalHeatSwitch W < |
| 376 | 354 | Real.exp (Real.log (BaseExterior.nominalHeatSwitch W) - 1 / 5 + 2) |
| @@ -388,20 +366,6 @@ theorem collar_before_upper : Real.exp (terminalShift W + 2) < activeUpper W := | ||
| 388 | 366 | theorem outer_before_upper : nominalOuterX W < activeUpper W := |
| 389 | 367 | (outer_before_collar W).trans (collar_before_upper W) |
| 390 | 368 | |
| 391 | -theorem core_before_collar : nominalInner W / 8 ≤ Real.exp (terminalShift W + 3 - 1) := by | |
| 392 | - have hh := (core_before_outer W).trans (outer_before_collar W) | |
| 393 | - simpa only [show terminalShift W + 3 - 1 = terminalShift W + 2 by ring] using hh.le | |
| 394 | - | |
| 395 | -theorem activeLeft_before_collar : activeLeft W < terminalShift W + 2 := | |
| 396 | - Real.exp_lt_exp.mp ((activeLeft_margin W).trans | |
| 397 | - ((core_before_outer W).trans (outer_before_collar W))) | |
| 398 | - | |
| 399 | -theorem activeWindow_subset_box (upper : ℝ) : | |
| 400 | - BaseResidual.activeWindow (activeLeft W) (activeRight W) ⊆ innerBox 0 (scaleUpper W upper) := by | |
| 401 | - intro w hw | |
| 402 | - exact ⟨⟨(Real.exp_pos _).le.trans hw.1.1.le, | |
| 403 | - hw.1.2.le.trans (le_max_right upper (activeUpper W))⟩, hw.2⟩ | |
| 404 | - | |
| 405 | 369 | theorem nominal_higher_support : |
| 406 | 370 | BaseResidual.HigherInteriorSupport (nominalCoefficients W) (activeLeft W) (activeRight W) := |
| 407 | 371 | nominal_higherInteriorSupport W (activeLeft_margin W) (outer_before_upper W) |
| @@ -504,19 +468,6 @@ theorem modifiedScales_origin {t : ℝ} (ht : t < 1) : | ||
| 504 | 468 | ProblemStatement.coordinateVector 2 := |
| 505 | 469 | modified_origin W Q M (modifiedScales_strictMono W c hc upper B Q M) ht |
| 506 | 470 | |
| 507 | -theorem modifiedScales_speedUnbounded : | |
| 508 | - ProblemStatement.SpeedUnboundedAtOne | |
| 509 | - (baseVelocity (modifiedScales W c hc upper B Q M) F.data.h W.axis.normalization | |
| 510 | - (modifiedCoefficients W Q M)) := | |
| 511 | - modified_speedUnbounded W Q M (modifiedScales_strictMono W c hc upper B Q M) | |
| 512 | - | |
| 513 | -theorem modifiedScales_potential_smooth : | |
| 514 | - ContDiffOn ℝ ∞ | |
| 515 | - (potential (modifiedScales W c hc upper B Q M) F.data.h W.axis.normalization | |
| 516 | - (modifiedCoefficients W Q M)) past := | |
| 517 | - potential_smooth (modifiedScales_strictMono W c hc upper B Q M) (height_pos W) (height_lt_half W) | |
| 518 | - (modifiedCoefficients_smooth W Q M) W.axis.normalization | |
| 519 | - | |
| 520 | 471 | end SelectedSchedules |
| 521 | 472 | |
| 522 | 473 | section ActualWeightedStress |
| @@ -527,26 +478,6 @@ variable {F : OutgoingProfile.Profile} (W : NominalProfile.Witness F) | ||
| 527 | 478 | variable {D : ProfileHistories.RadialDomain} (Q : ProfileHistories.Profiles D) |
| 528 | 479 | {S : Set ℝ} {lo hi : ℝ} (M : FiniteModification W Q S lo hi) |
| 529 | 480 | |
| 530 | -/-- A finite modification additionally retains its literal angular history. | |
| 531 | -This fixes the first-order integration constant; the actual modulation | |
| 532 | -witness proves this equality from its five restored rows. -/ | |
| 533 | -theorem modifiedScales_weighted_bound | |
| 534 | - (hI : ∀ eta ∈ S, Q.I (nominalOuterX W, eta) = W.profiles.I (nominalOuterX W, eta)) : | |
| 535 | - WeightedStressBound (modifiedScales W c hc upper B Q M) F.data.h (modifiedCoefficients W Q M) | |
| 536 | - c (activeLeft W) (activeRight W) := by | |
| 537 | - refine weighted_on_actual_scales (height_pos W) (modifiedCoefficients_smooth W Q M) hc | |
| 538 | - (activeLeft_margin W) (core_before_collar W) ?_ (modified_higher_support W Q M) ?_ | |
| 539 | - (FirstOrderBaseEdge.modified_first_edgeJets W Q M hI hc (activeLeft_before_collar W)) | |
| 540 | - (innerBox_isCompact 0 (scaleUpper W upper)) (activeWindow_subset_box W upper) | |
| 541 | - (modifiedScales_spec W c hc upper B Q M).2 | |
| 542 | - · apply Real.exp_lt_exp.mpr | |
| 543 | - change terminalShift W + 3 - 1 < terminalShift W + 3 | |
| 544 | - linarith | |
| 545 | - · intro w hw | |
| 546 | - have hz := coefficients_stress_zero_left (modifiedLocalization W Q M) (modifiedBaseAgreement W Q M) | |
| 547 | - (modifiedZeroOrder W Q M) M.contains 1 hw.le | |
| 548 | - exact Prod.ext hz.1 hz.2 | |
| 549 | - | |
| 550 | 481 | end ActualWeightedStress |
| 551 | 482 | |
| 552 | 483 | namespace Modulated |
| @@ -589,10 +520,6 @@ noncomputable def pressure (c : ℝ) (hc : 0 < c) (upper : ℝ) (B : ℕ) : | ||
| 589 | 520 | ProblemStatement.PressureField := |
| 590 | 521 | basePressure (scales v c hc upper B) F.data.h W.axis.normalization (coefficients v) |
| 591 | 522 | |
| 592 | -noncomputable def stressForce (c : ℝ) (hc : 0 < c) (upper : ℝ) (B : ℕ) : | |
| 593 | - ProblemStatement.SpaceTime → ProblemStatement.Space := | |
| 594 | - BaseResidual.baseStressForce (scales v c hc upper B) F.data.h W.axis.normalization (coefficients v) | |
| 595 | - | |
| 596 | 523 | noncomputable def error (c : ℝ) (hc : 0 < c) (upper : ℝ) (B : ℕ) : |
| 597 | 524 | ProblemStatement.SpaceTime → ProblemStatement.Space := |
| 598 | 525 | BaseResidual.baseResidual (scales v c hc upper B) F.data.h W.axis.normalization (coefficients v) |
| @@ -601,46 +528,22 @@ noncomputable def vectorPotential (c : ℝ) (hc : 0 < c) (upper : ℝ) (B : ℕ) | ||
| 601 | 528 | ProblemStatement.VelocityField := |
| 602 | 529 | potential (scales v c hc upper B) F.data.h W.axis.normalization (coefficients v) |
| 603 | 530 | |
| 604 | -theorem velocity_eq_curl (c : ℝ) (hc : 0 < c) (upper : ℝ) (B : ℕ) : | |
| 605 | - velocity v c hc upper B = SpatialCurl.spatialCurl (vectorPotential v c hc upper B) := rfl | |
| 606 | - | |
| 607 | -theorem vectorPotential_smooth (c : ℝ) (hc : 0 < c) (upper : ℝ) (B : ℕ) : | |
| 608 | - ContDiffOn ℝ ∞ (vectorPotential v c hc upper B) BaseResidual.past := | |
| 609 | - modifiedScales_potential_smooth W c hc upper B v.profiles v.finiteModification | |
| 610 | - | |
| 611 | 531 | theorem origin (c : ℝ) (hc : 0 < c) (upper : ℝ) (B : ℕ) {t : ℝ} (ht : t < 1) : |
| 612 | 532 | velocity v c hc upper B (t, 0) = |
| 613 | 533 | ((1 - t) ^ (-CoordinateAlgebra.A F.data.h) * W.axis.j) • ProblemStatement.coordinateVector 2 := |
| 614 | 534 | modifiedScales_origin W c hc upper B v.profiles v.finiteModification ht |
| 615 | 535 | |
| 616 | -theorem speedUnbounded (c : ℝ) (hc : 0 < c) (upper : ℝ) (B : ℕ) : | |
| 617 | - ProblemStatement.SpeedUnboundedAtOne (velocity v c hc upper B) := | |
| 618 | - modifiedScales_speedUnbounded W c hc upper B v.profiles v.finiteModification | |
| 619 | - | |
| 620 | 536 | theorem finiteIdentities : |
| 621 | 537 | BaseResidual.FiniteIdentities F.data.h W.axis.normalization (coefficients v) |
| 622 | 538 | (asSlowProfiles (modifiedScheme W v.profiles v.finiteModification)) := |
| 623 | 539 | modified_finiteIdentities W v.profiles v.finiteModification |
| 624 | 540 | |
| 625 | -theorem residual_identity (c : ℝ) (hc : 0 < c) (upper : ℝ) (B : ℕ) (z : ProblemStatement.SpaceTime) : | |
| 626 | - ProblemStatement.navierStokesResidual (velocity v c hc upper B) (pressure v c hc upper B) z.1 z.2 = | |
| 627 | - stressForce v c hc upper B z + error v c hc upper B z := | |
| 628 | - BaseResidual.baseResidual_identity _ _ _ _ z | |
| 629 | - | |
| 630 | 541 | theorem error_allJetsFlat (c : ℝ) (hc : 0 < c) (upper : ℝ) (B : ℕ) |
| 631 | 542 | {l : Filter ProblemStatement.SpaceTime} {radius : ℝ} |
| 632 | 543 | (P : BaseResidual.PhysicalApproach l F.data.h 0 radius) (hr : radius ≤ scaleUpper W upper) : |
| 633 | 544 | ResidualStability.AllJetsFlat l (fun z => (cartesianChart F.data.h z).1) (error v c hc upper B) := |
| 634 | 545 | modifiedScales_allJetsFlat W c hc upper B v.profiles v.finiteModification P hr |
| 635 | 546 | |
| 636 | -/-- Every finite identity and support input of this weighted estimate is | |
| 637 | -proved for the same actual modulation witness. -/ | |
| 638 | -theorem weighted_bound (c : ℝ) (hc : 0 < c) (upper : ℝ) (B : ℕ) : | |
| 639 | - WeightedStressBound (scales v c hc upper B) F.data.h (coefficients v) | |
| 640 | - c (activeLeft W) (activeRight W) := | |
| 641 | - modifiedScales_weighted_bound W c hc upper B v.profiles v.finiteModification | |
| 642 | - (fun _ heta => v.slow_outer_angular heta) | |
| 643 | - | |
| 644 | 547 | end Modulated |
| 645 | 548 | |
| 646 | 549 | end NavierStokes.ConstructedSlowBase |
+23 −0 routes/s1-ns-constructed-2/README.md added View file
| @@ -0,0 +1,23 @@ | ||
| 1 | +--- | |
| 2 | +issue: 10 | |
| 3 | +status: working | |
| 4 | +--- | |
| 5 | +# s1-ns-constructed-2 | |
| 6 | + | |
| 7 | +The family `NavierStokes/Constructed*`, here its one file `NavierStokes/ConstructedSlowBase.lean`. | |
| 8 | +Unit `s1-ns-constructed-2` of S-1: delete the 15 declarations no declaration left in the tree | |
| 9 | +uses, 97 lines, all in that file. The unit was cut from Treant's run of 2026-12-03 and the | |
| 10 | +declaration graph of main under this project's rule: nothing the paper's results reach, and | |
| 11 | +nothing whose docstring cites the paper, is deleted. The diff is deletions only. This is the | |
| 12 | +second wave on this family; the 35 declarations of `s1-ns-constructed-1` are already gone. | |
| 13 | + | |
| 14 | +Checked before pushing: `git grep -n -w` finds none of the 15 short names anywhere in the tree | |
| 15 | +(the four hits for `stressForce`, `vectorPotential_smooth`, `residual_identity` and | |
| 16 | +`weighted_bound` are other declarations of those short names), and no deleted docstring names a | |
| 17 | +numbered result of the paper; `python3 checks/challenge.py .` ends `ok`. | |
| 18 | + | |
| 19 | +## Next | |
| 20 | + | |
| 21 | +The `build` check on this branch: it decides whether removing these theorems left the module | |
| 22 | +sound. If it fails, the failure names the declaration whose use was missed, and that declaration | |
| 23 | +comes back out of the unit rather than the deletion staying. | |