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: #352 chore(NavierStokes/Common): delete 15 declarations nothing uses
1 commit
+0 −4 NavierStokes/CommonBaseContext.lean View file
| @@ -19,7 +19,6 @@ open scoped ContDiff Topology BigOperators | ||
| 19 | 19 | |
| 20 | 20 | abbrev Plane := BaseContextAssembly.Plane |
| 21 | 21 | abbrev Point := BaseContextAssembly.Point |
| 22 | -abbrev Slow := BaseContextAssembly.Slow | |
| 23 | 22 | |
| 24 | 23 | /-- Scalar hypotheses on the chosen common index, including every low band. -/ |
| 25 | 24 | structure IndexBounds (h : ℝ) (index : ℕ → ℕ) (K : ℕ) : Prop where |
| @@ -123,9 +122,6 @@ theorem coverPower_temporal (k : ℕ) : | ||
| 123 | 122 | rw [CommonCoverSolve.coverPower_apply] |
| 124 | 123 | exact PhysicalGraphBounds.cover_pow_timeDirection k |
| 125 | 124 | |
| 126 | -noncomputable def pull {E : Type*} (gap : ℕ → ℕ) (f : ℕ → Point → E) (n : ℕ) (x : Point) : E := | |
| 127 | - f n (coverLift (gap n) x) | |
| 128 | - | |
| 129 | 125 | end Cover |
| 130 | 126 | |
| 131 | 127 | section CoverClass |
+0 −30 NavierStokes/CommonCoverClass.lean View file
| @@ -97,11 +97,6 @@ noncomputable def sourceLinear (P : Type) [NormedAddCommGroup P] [NormedSpace | ||
| 97 | 97 | sourceLinear P g w = |
| 98 | 98 | (w.1.1, g.pointLinear ((g.coordinateLinear w.1.2).1, w.2)) := rfl |
| 99 | 99 | |
| 100 | -theorem nativeArgument_affine (g : CCS) (k : Frequency) (w : Joint P) : | |
| 101 | - nativeArgument g k w = nativeArgument g k 0 + nativeLinear P g w := by | |
| 102 | - simp only [nativeArgument, g.coordinates_eq_affine k w.1.2, nativeLinear_apply] | |
| 103 | - ext <;> simp | |
| 104 | - | |
| 105 | 100 | theorem sourceArgument_affine (g : CCS) (k : Frequency) (w : Joint P) : |
| 106 | 101 | sourceArgument g k w = sourceArgument g k 0 + sourceLinear P g w := by |
| 107 | 102 | have ha : ((g.coordinates k w.1.2).1, w.2) = |
| @@ -113,14 +108,6 @@ theorem sourceArgument_affine (g : CCS) (k : Frequency) (w : Joint P) : | ||
| 113 | 108 | ContinuousLinearMap.comp_apply, ContinuousLinearEquiv.coe_coe] |
| 114 | 109 | ext <;> simp |
| 115 | 110 | |
| 116 | -theorem nativeArgument_smooth (g : CCS) (k : Frequency) : | |
| 117 | - ContDiff ℝ ∞ (nativeArgument (P := P) g k) := by | |
| 118 | - have he : nativeArgument (P := P) g k = | |
| 119 | - fun w => nativeArgument g k 0 + nativeLinear P g w := | |
| 120 | - funext (nativeArgument_affine g k) | |
| 121 | - rw [he] | |
| 122 | - exact contDiff_const.add (nativeLinear P g).contDiff | |
| 123 | - | |
| 124 | 111 | theorem sourceArgument_smooth (g : CCS) (k : Frequency) : |
| 125 | 112 | ContDiff ℝ ∞ (sourceArgument (P := P) g k) := by |
| 126 | 113 | have he : sourceArgument (P := P) g k = |
| @@ -139,23 +126,6 @@ theorem one_le_argumentCost (g : CCS) : 1 ≤ argumentCost g := by | ||
| 139 | 126 | have h : 0 ≤ ‖g.pointLinear‖ * (1 + ‖g.coordinateLinear‖) := by positivity |
| 140 | 127 | linarith [norm_nonneg g.coordinateLinear] |
| 141 | 128 | |
| 142 | -theorem norm_nativeLinear_le (g : CCS) : ‖nativeLinear P g‖ ≤ argumentCost g := by | |
| 143 | - apply ContinuousLinearMap.opNorm_le_bound _ (zero_le_one.trans (one_le_argumentCost g)) | |
| 144 | - intro w | |
| 145 | - rw [nativeLinear_apply, Prod.norm_def, Prod.norm_def] | |
| 146 | - have hcoord : ‖(g.coordinateLinear w.1.2).1‖ ≤ ‖g.coordinateLinear‖ * ‖w‖ := | |
| 147 | - (norm_fst_le _).trans ((g.coordinateLinear.le_opNorm _).trans | |
| 148 | - (mul_le_mul_of_nonneg_left ((norm_snd_le w.1).trans (norm_fst_le w)) (norm_nonneg _))) | |
| 149 | - have hc : ‖g.coordinateLinear‖ ≤ argumentCost g := by | |
| 150 | - unfold argumentCost | |
| 151 | - have h : 0 ≤ ‖g.pointLinear‖ * (1 + ‖g.coordinateLinear‖) := by positivity | |
| 152 | - linarith | |
| 153 | - have h1 : ‖w‖ ≤ argumentCost g * ‖w‖ := | |
| 154 | - le_mul_of_one_le_left (norm_nonneg _) (one_le_argumentCost g) | |
| 155 | - exact max_le ((norm_fst_le w.1).trans ((norm_fst_le w).trans h1)) | |
| 156 | - (max_le (hcoord.trans (mul_le_mul_of_nonneg_right hc (norm_nonneg _))) | |
| 157 | - ((norm_snd_le w).trans h1)) | |
| 158 | - | |
| 159 | 129 | theorem norm_sourceLinear_le (g : CCS) : ‖sourceLinear P g‖ ≤ argumentCost g := by |
| 160 | 130 | apply ContinuousLinearMap.opNorm_le_bound _ (zero_le_one.trans (one_le_argumentCost g)) |
| 161 | 131 | intro w |
+0 −61 NavierStokes/CommonCoverSolve.lean View file
| @@ -518,31 +518,6 @@ copies are evaluated at their own absolute-lift points. -/ | ||
| 518 | 518 | noncomputable def commonSolve (κ : Plane → ℝ) (p : P × Plane) : E := |
| 519 | 519 | ∑' k : Frequency, d.localizedCopy g hab κ k p |
| 520 | 520 | |
| 521 | -theorem localizedCopy_deck (κ : Plane → ℝ) (k n : Frequency) | |
| 522 | - (p : P) (hp : PeriodicAt d.source p) (Y : Plane) : | |
| 523 | - d.localizedCopy g hab κ (k + coverIndex g.gap n) (p, Y + TorusAverages.latticePoint n) = | |
| 524 | - d.localizedCopy g hab κ k (p, Y) := by | |
| 525 | - unfold localizedCopy | |
| 526 | - rw [g.coordinates_deck, d.copySolve_deck g hab k n p hp] | |
| 527 | - | |
| 528 | -/-- Common-torus periodicity follows by reindexing the actual copy sum. | |
| 529 | -The source is required to be periodic only in the common variable. -/ | |
| 530 | -theorem commonSolve_periodic (κ : Plane → ℝ) (p : P) (hp : PeriodicAt d.source p) | |
| 531 | - (Y : Plane) (n : Frequency) : | |
| 532 | - d.commonSolve g hab κ (p, Y + TorusAverages.latticePoint n) = | |
| 533 | - d.commonSolve g hab κ (p, Y) := by | |
| 534 | - unfold commonSolve | |
| 535 | - calc | |
| 536 | - (∑' k : Frequency, d.localizedCopy g hab κ k (p, Y + TorusAverages.latticePoint n)) = | |
| 537 | - ∑' k : Frequency, d.localizedCopy g hab κ (k + coverIndex g.gap n) | |
| 538 | - (p, Y + TorusAverages.latticePoint n) := | |
| 539 | - ((Equiv.addRight (coverIndex g.gap n)).tsum_eq | |
| 540 | - (fun k => d.localizedCopy g hab κ k (p, Y + TorusAverages.latticePoint n))).symm | |
| 541 | - _ = ∑' k : Frequency, d.localizedCopy g hab κ k (p, Y) := by | |
| 542 | - apply tsum_congr | |
| 543 | - intro k | |
| 544 | - exact d.localizedCopy_deck g hab κ k n p hp Y | |
| 545 | - | |
| 546 | 521 | omit [NormedSpace ℝ P] in |
| 547 | 522 | theorem commonSolve_eventually_eq_sum {κ : Plane → ℝ} (hκ : HasCompactSupport κ) |
| 548 | 523 | (p : P × Plane) : |
| @@ -575,32 +550,6 @@ end Paths | ||
| 575 | 550 | |
| 576 | 551 | /-! ## A function on the quotient torus, not merely a periodic lift -/ |
| 577 | 552 | |
| 578 | -def LatticePeriodic {W : Type} (f : Plane → W) : Prop := | |
| 579 | - ∀ Y : Plane, ∀ k : Frequency, f (Y + TorusAverages.latticePoint k) = f Y | |
| 580 | - | |
| 581 | -theorem latticePeriodic_first {W : Type} {f : Plane → W} (hf : LatticePeriodic f) (y : ℝ) : | |
| 582 | - Function.Periodic (fun x => f (x, y)) 1 := by | |
| 583 | - intro x | |
| 584 | - simpa [TorusAverages.latticePoint] using hf (x, y) (1, 0) | |
| 585 | - | |
| 586 | -theorem latticePeriodic_second {W : Type} {f : Plane → W} (hf : LatticePeriodic f) (x : ℝ) : | |
| 587 | - Function.Periodic (fun y => f (x, y)) 1 := by | |
| 588 | - intro y | |
| 589 | - simpa [TorusAverages.latticePoint] using hf (x, y) (0, 1) | |
| 590 | - | |
| 591 | -noncomputable def firstDescent {W : Type} (f : Plane → W) (hf : LatticePeriodic f) | |
| 592 | - (z : UnitAddCircle) (y : ℝ) : W := (latticePeriodic_first hf y).lift z | |
| 593 | - | |
| 594 | -theorem firstDescent_periodic {W : Type} (f : Plane → W) (hf : LatticePeriodic f) | |
| 595 | - (z : UnitAddCircle) : Function.Periodic (firstDescent f hf z) 1 := by | |
| 596 | - intro y | |
| 597 | - refine Quotient.inductionOn' z (fun x => ?_) | |
| 598 | - change f (x, y + 1) = f (x, y) | |
| 599 | - exact latticePeriodic_second hf x y | |
| 600 | - | |
| 601 | -noncomputable def torusDescent {W : Type} (f : Plane → W) (hf : LatticePeriodic f) | |
| 602 | - (z : Torus) : W := (firstDescent_periodic f hf z.1).lift z.2 | |
| 603 | - | |
| 604 | 553 | namespace LinearData |
| 605 | 554 | |
| 606 | 555 | variable {P V E : Type} [NormedAddCommGroup P] [NormedSpace ℝ P] |
| @@ -608,16 +557,6 @@ variable {P V E : Type} [NormedAddCommGroup P] [NormedSpace ℝ P] | ||
| 608 | 557 | [NormedAddCommGroup E] [NormedSpace ℝ E] [CompleteSpace E] |
| 609 | 558 | {a b : ℝ} (d : LinearData P V E) (g : Geometry) (hab : a ≤ b) |
| 610 | 559 | |
| 611 | -/-- The constructed common-torus solution is obtained by a genuine quotient | |
| 612 | -lift of the reindexed copy sum. -/ | |
| 613 | -noncomputable def commonOnTorus (κ : Plane → ℝ) (p : P) (hp : PeriodicAt d.source p) : | |
| 614 | - Torus → E := torusDescent (fun Y => d.commonSolve g hab κ (p, Y)) | |
| 615 | - (d.commonSolve_periodic g hab κ p hp) | |
| 616 | - | |
| 617 | -theorem commonOnTorus_coe (κ : Plane → ℝ) (p : P) (hp : PeriodicAt d.source p) (Y : Plane) : | |
| 618 | - d.commonOnTorus g hab κ p hp (TorusAverages.quotientPoint Y) = | |
| 619 | - d.commonSolve g hab κ (p, Y) := rfl | |
| 620 | - | |
| 621 | 560 | /-! Joint regularity is derived from the actual ODE construction. -/ |
| 622 | 561 | |
| 623 | 562 | theorem anchoredSolve_contDiffOn {U : Set P} (hU : IsOpen U) (k : Frequency) |
+27 −0 routes/s1-ns-common-2/README.md added View file
| @@ -0,0 +1,27 @@ | ||
| 1 | +--- | |
| 2 | +issue: 10 | |
| 3 | +status: working | |
| 4 | +--- | |
| 5 | +# s1-ns-common-2 | |
| 6 | + | |
| 7 | +S-1, the family `NavierStokes/Common*`: the second unit on it, after the first | |
| 8 | +(`s1-ns-common-1`, merged) took 129 declarations. This unit deletes the 15 declarations of | |
| 9 | +`NavierStokes/CommonBaseContext.lean`, `NavierStokes/CommonCoverClass.lean` and | |
| 10 | +`NavierStokes/CommonCoverSolve.lean` that nothing left in the tree uses: 95 lines, deletions | |
| 11 | +only; every statement and proof that stays is unchanged. | |
| 12 | + | |
| 13 | +Checked in this branch's tree with `git grep -n -w`: no hit at all for the short names | |
| 14 | +`nativeArgument_affine`, `nativeArgument_smooth`, `norm_nativeLinear_le`, `localizedCopy_deck`, | |
| 15 | +`commonSolve_periodic`, `LatticePeriodic`, `latticePeriodic_first`, `latticePeriodic_second`, | |
| 16 | +`firstDescent`, `firstDescent_periodic`, `torusDescent`, `commonOnTorus`, `commonOnTorus_coe`. | |
| 17 | +The hits for `Slow` and `pull` are other declarations of those short names (`PhaseCalculus.Slow`, | |
| 18 | +`ActualCarrierGeometry.Slow`, local `pull`s and `…pull` methods); nothing names | |
| 19 | +`CommonBaseContext.Slow` or `CommonBaseContext.pull`, and no file opens | |
| 20 | +`NavierStokes.CommonBaseContext`. The two deleted docstrings (`commonSolve_periodic`, | |
| 21 | +`commonOnTorus`) cite no numbered result of the paper. `python3 checks/challenge.py .` ends with | |
| 22 | +`ok: …`. | |
| 23 | + | |
| 24 | +## Next | |
| 25 | + | |
| 26 | +Push, open the pull request, and leave the rest of #10 to the other units. Then the | |
| 27 | +maintainer's review after `challenge` and `build`. | |