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

Merge pull request #274 from s1-ns-transport-1
Browse fileschore(NavierStokes/Transport): delete 11 declarations nothing uses
main s1-euler-all-2 s1-euler-base-2 s1-euler-bounded-2 s1-euler-child-2 s1-euler-common-2 s1-euler-constant-2 s1-euler-continuous-2 s1-euler-correction-2 s1-euler-cylinder-2 s1-euler-euler-1 s1-euler-euler-2 s1-euler-field-2 s1-euler-flow-2 s1-euler-frozen-2 s1-euler-general-2 s1-euler-heat-2 s1-euler-isometric-2 s1-euler-lp-2 s1-euler-mean-2 s1-euler-packet-2 s1-euler-parent-2 s1-euler-quadratic-2 s1-euler-resolvent-2 s1-euler-separating-2 s1-euler-smooth-2 s1-euler-sobolev-2 s1-euler-time-2 s1-euler-transverse-2 s1-euler-vorticity-2 s1-euler-weighted-2 s1-ns-activation-2 s1-ns-active-2 s1-ns-actual-2 s1-ns-aligned-2 s1-ns-angular-2 s1-ns-assembled-2 s1-ns-axis-2 s1-ns-axisymmetric-2 s1-ns-band-2 s1-ns-base-1 s1-ns-base-2 s1-ns-borel-2 s1-ns-boundary-2 s1-ns-cauchy-2 s1-ns-closed-2 s1-ns-common-2 s1-ns-compact-2 s1-ns-constructed-2 s1-ns-correction-2 s1-ns-curl-2 s1-ns-cycle-2 s1-ns-defect-2 s1-ns-direct-2 s1-ns-entrance-2 s1-ns-error-2 s1-ns-even-2 s1-ns-exponent-2 s1-ns-final-2 s1-ns-first-2 s1-ns-flat-2 s1-ns-flatness-2 s1-ns-fourier-2 s1-ns-future-2 s1-ns-gauge-2 s1-ns-gaussian-2 s1-ns-global-2 s1-ns-heat-2 s1-ns-initialized-2 s1-ns-joint-2 s1-ns-linear-2 s1-ns-local-2 s1-ns-localized-2 s1-ns-maximal-2 s1-ns-mean-2 s1-ns-mixed-2 s1-ns-native-2 s1-ns-natural-2 s1-ns-nilpotent-2 s1-ns-offplane-1 s1-ns-offplane-2 s1-ns-oscillatory-2 s1-ns-parametric-2 s1-ns-particular-2 s1-ns-past-2 s1-ns-periodic-2 s1-ns-periodized-2 s1-ns-phase-2 s1-ns-physical-2 s1-ns-positive-2 s1-ns-pressure-2 s1-ns-primary-2 s1-ns-pulse-2 s1-ns-r3-2 s1-ns-radial-2 s1-ns-reference-2 s1-ns-regular-2 s1-ns-renormalized-2 s1-ns-residual-2 s1-ns-scaling-2 s1-ns-schedule-2 s1-ns-sharp-2 s1-ns-signed-2 s1-ns-similarity-2 s1-ns-slot-2 s1-ns-slow-2 s1-ns-smooth-2 s1-ns-solenoidal-2 s1-ns-spatial-2 s1-ns-squared-2 s1-ns-state-2 s1-ns-subcover-2 s1-ns-tail-2 s1-ns-temporal-2 s1-ns-terminal-1 s1-ns-time-2 s1-ns-torus-2 s1-ns-transition-2 s1-ns-transport-2 s1-ns-true-1 s1-ns-uniform-2 s1-ns-variable-2 s1-ns-volterra-2 s1-ns-wave-2 s1-ns-weighted-2 s1-ns-within-2
Checks
build Program · lake build and Comparator
Details
challenge Program · challenge files and build config
Details
+0 −137 NavierStokes/TransportPrimitive.lean View file
| @@ -358,13 +358,6 @@ theorem transport_totalIntegral [CompleteSpace F] {a b M : ℝ} {v : E} | ||
| 358 | 358 | radial_zero_of_lt (z := shift M v z (a - z.1 - 1)) hs |
| 359 | 359 | (by simp only [shift_fst]; linarith), sub_self] |
| 360 | 360 | |
| 361 | -/-- This derivative is exactly `∂U + M v·∂Y`. -/ | |
| 362 | -theorem transport_eq_partials (M : ℝ) (v : E) (f : ℝ × E → F) (z : ℝ × E) : | |
| 363 | - fixedDeriv (1, M • v) f z = fixedDeriv (1, 0) f z + M • fixedDeriv (0, v) f z := by | |
| 364 | - have hv : ((1 : ℝ), M • v) = (1, (0 : E)) + M • ((0 : ℝ), v) := by | |
| 365 | - ext <;> simp | |
| 366 | - simp only [fixedDeriv, hv, map_add, map_smul] | |
| 367 | - | |
| 368 | 361 | /-- The cutoff product rule retains the actual ordinary radial derivative. -/ |
| 369 | 362 | theorem fixedDeriv_compactIntegral [CompleteSpace F] {a b M : ℝ} {v : E} |
| 370 | 363 | {f : ℝ × E → F} {χ : ℝ → ℝ} (hχ : ContDiff ℝ ∞ χ) |
| @@ -404,14 +397,6 @@ theorem transport_compactIntegral [CompleteSpace F] {a b M : ℝ} {v : E} | ||
| 404 | 397 | transport_pastIntegral hf hs, transport_totalIntegral hf hs] |
| 405 | 398 | simp |
| 406 | 399 | |
| 407 | -theorem auxiliaryDeriv_compactIntegral [CompleteSpace F] {a b M : ℝ} {v : E} | |
| 408 | - {f : ℝ × E → F} {χ : ℝ → ℝ} (hχ : ContDiff ℝ ∞ χ) | |
| 409 | - (hf : ContDiff ℝ ∞ f) (hs : RadialAlias.RadiallySupported a b f) | |
| 410 | - (w : E) (z : ℝ × E) : | |
| 411 | - fixedDeriv (0, w) (compactIntegral χ M v f) z = | |
| 412 | - compactIntegral χ M v (fixedDeriv (0, w) f) z := by | |
| 413 | - simpa only [mul_zero, zero_smul, sub_zero] using fixedDeriv_compactIntegral hχ hf hs (0, w) z | |
| 414 | - | |
| 415 | 400 | omit [NormedSpace ℝ E] [NormedSpace ℝ F] in |
| 416 | 401 | theorem radial_zero_of_le {a b : ℝ} {f : ℝ × E → F} |
| 417 | 402 | (hf : Continuous f) (hs : RadialAlias.RadiallySupported a b f) |
| @@ -599,46 +584,6 @@ theorem pastIntegral_norm_le {a b M C : ℝ} {v : E} {f : ℝ × E → F} | ||
| 599 | 584 | _ ≤ C * (b - a) := totalIntegral_norm_le (f := fun x => ‖f x‖) hab hf.norm hnorm |
| 600 | 585 | (fun s hs Y => by simpa only [norm_norm] using hbound s hs Y) z |
| 601 | 586 | |
| 602 | -theorem compactIntegral_norm_le {a b M C K : ℝ} {v : E} {f : ℝ × E → F} {χ : ℝ → ℝ} | |
| 603 | - (hab : a ≤ b) (hf : Continuous f) (hs : RadialAlias.RadiallySupported a b f) | |
| 604 | - (hbound : ∀ s ∈ Icc a b, ∀ Y : E, ‖f (s, Y)‖ ≤ C) | |
| 605 | - (hK : 0 ≤ K) (hχ : ∀ u, |χ u| ≤ K) (z : ℝ × E) : | |
| 606 | - ‖compactIntegral χ M v f z‖ ≤ (1 + K) * C * (b - a) := by | |
| 607 | - have hC : 0 ≤ C := (norm_nonneg (f (a, 0))).trans (hbound a ⟨le_rfl, hab⟩ 0) | |
| 608 | - calc | |
| 609 | - ‖compactIntegral χ M v f z‖ ≤ ‖pastIntegral M v f z‖ + | |
| 610 | - |χ z.1| * ‖totalIntegral M v f z‖ := by | |
| 611 | - simpa only [compactIntegral, norm_smul, Real.norm_eq_abs] using | |
| 612 | - norm_sub_le (pastIntegral M v f z) (χ z.1 • totalIntegral M v f z) | |
| 613 | - _ ≤ C * (b - a) + K * (C * (b - a)) := by | |
| 614 | - exact add_le_add (pastIntegral_norm_le hab hf hs hbound z) | |
| 615 | - (mul_le_mul (hχ _) (totalIntegral_norm_le hab hf hs hbound z) (norm_nonneg _) hK) | |
| 616 | - _ = (1 + K) * C * (b - a) := by ring | |
| 617 | - | |
| 618 | -theorem pastIntegral_add {a b M : ℝ} {v : E} {f g : ℝ × E → F} | |
| 619 | - (hf : Continuous f) (hg : Continuous g) | |
| 620 | - (hsf : RadialAlias.RadiallySupported a b f) (hsg : RadialAlias.RadiallySupported a b g) | |
| 621 | - (z : ℝ × E) : | |
| 622 | - pastIntegral M v (fun x => f x + g x) z = pastIntegral M v f z + pastIntegral M v g z := | |
| 623 | - integral_add (shifted_integrable hf hsf z).integrableOn (shifted_integrable hg hsg z).integrableOn | |
| 624 | - | |
| 625 | -theorem totalIntegral_add {a b M : ℝ} {v : E} {f g : ℝ × E → F} | |
| 626 | - (hf : Continuous f) (hg : Continuous g) | |
| 627 | - (hsf : RadialAlias.RadiallySupported a b f) (hsg : RadialAlias.RadiallySupported a b g) | |
| 628 | - (z : ℝ × E) : | |
| 629 | - totalIntegral M v (fun x => f x + g x) z = totalIntegral M v f z + totalIntegral M v g z := | |
| 630 | - integral_add (shifted_integrable hf hsf z) (shifted_integrable hg hsg z) | |
| 631 | - | |
| 632 | -theorem compactIntegral_add {a b M : ℝ} {v : E} {f g : ℝ × E → F} | |
| 633 | - (hf : Continuous f) (hg : Continuous g) | |
| 634 | - (hsf : RadialAlias.RadiallySupported a b f) (hsg : RadialAlias.RadiallySupported a b g) | |
| 635 | - (χ : ℝ → ℝ) (z : ℝ × E) : | |
| 636 | - compactIntegral χ M v (fun x => f x + g x) z = | |
| 637 | - compactIntegral χ M v f z + compactIntegral χ M v g z := by | |
| 638 | - simp only [compactIntegral, pastIntegral_add hf hg hsf hsg, | |
| 639 | - totalIntegral_add hf hg hsf hsg, smul_add] | |
| 640 | - abel | |
| 641 | - | |
| 642 | 587 | theorem pastIntegral_smul (M c : ℝ) (v : E) (f : ℝ × E → F) (z : ℝ × E) : |
| 643 | 588 | pastIntegral M v (fun x => c • f x) z = c • pastIntegral M v f z := integral_smul c _ |
| 644 | 589 | |
| @@ -708,15 +653,6 @@ theorem iteratedFDeriv_totalIntegral [CompleteSpace F] {a b M : ℝ} {v : E} | ||
| 708 | 653 | (F := ContinuousMultilinearMap ℝ (fun _ : Fin (n + 1) => ℝ × E) F) (𝕜 := ℝ) (μ := volume) |
| 709 | 654 | (fun u : ℝ => fderiv ℝ (iteratedFDeriv ℝ n f) (shift M v z u))).symm |
| 710 | 655 | |
| 711 | -theorem iteratedFDeriv_pastIntegral_norm_le [CompleteSpace F] {a b M C : ℝ} {v : E} | |
| 712 | - {f : ℝ × E → F} (hab : a ≤ b) (hf : ContDiff ℝ ∞ f) | |
| 713 | - (hs : RadialAlias.RadiallySupported a b f) (n : ℕ) | |
| 714 | - (hbound : ∀ s ∈ Icc a b, ∀ Y : E, ‖iteratedFDeriv ℝ n f (s, Y)‖ ≤ C) (z : ℝ × E) : | |
| 715 | - ‖iteratedFDeriv ℝ n (pastIntegral M v f) z‖ ≤ C * (b - a) := by | |
| 716 | - rw [iteratedFDeriv_pastIntegral hf hs] | |
| 717 | - exact pastIntegral_norm_le hab (iteratedFDeriv_contDiff hf n).continuous | |
| 718 | - (iteratedFDeriv_supported hs n) hbound z | |
| 719 | - | |
| 720 | 656 | theorem iteratedFDeriv_totalIntegral_norm_le [CompleteSpace F] {a b M C : ℝ} {v : E} |
| 721 | 657 | {f : ℝ × E → F} (hab : a ≤ b) (hf : ContDiff ℝ ∞ f) |
| 722 | 658 | (hs : RadialAlias.RadiallySupported a b f) (n : ℕ) |
| @@ -765,59 +701,12 @@ theorem iteratedFDeriv_compactIntegral_norm_le [CompleteSpace F] {a b M : ℝ} { | ||
| 765 | 701 | rw [iteratedFDeriv_compactIntegral_eq hχ hf hs, iteratedFDeriv_pastIntegral hf hs] |
| 766 | 702 | exact (norm_sub_le _ _).trans (add_le_add_right hb _) |
| 767 | 703 | |
| 768 | -/-- Uniform all-order operator-norm estimate from a finite list of genuine source | |
| 769 | -and cutoff derivative bounds. The constant contains no translation parameter. -/ | |
| 770 | -theorem iteratedFDeriv_compactIntegral_uniform [CompleteSpace F] {a b M : ℝ} {v : E} | |
| 771 | - {f : ℝ × E → F} {χ : ℝ → ℝ} (hab : a ≤ b) (hχ : ContDiff ℝ ∞ χ) | |
| 772 | - (hf : ContDiff ℝ ∞ f) (hs : RadialAlias.RadiallySupported a b f) (n : ℕ) | |
| 773 | - (A B : ℕ → ℝ) (hB : ∀ i ≤ n, 0 ≤ B i) | |
| 774 | - (hsource : ∀ j ≤ n, ∀ s ∈ Icc a b, ∀ Y : E, ‖iteratedFDeriv ℝ j f (s, Y)‖ ≤ A j) | |
| 775 | - (hcutoff : ∀ i ≤ n, ∀ z : ℝ × E, ‖iteratedFDeriv ℝ i (fun y : ℝ × E => χ y.1) z‖ ≤ B i) | |
| 776 | - (z : ℝ × E) : | |
| 777 | - ‖iteratedFDeriv ℝ n (compactIntegral χ M v f) z‖ ≤ | |
| 778 | - (A n + ∑ i ∈ Finset.range (n + 1), (n.choose i : ℝ) * B i * A (n - i)) * (b - a) := by | |
| 779 | - have hp : ‖pastIntegral M v (iteratedFDeriv ℝ n f) z‖ ≤ A n * (b - a) := | |
| 780 | - pastIntegral_norm_le hab (iteratedFDeriv_contDiff hf n).continuous | |
| 781 | - (iteratedFDeriv_supported hs n) (hsource n le_rfl) z | |
| 782 | - have ht : ∀ i ∈ Finset.range (n + 1), | |
| 783 | - (n.choose i : ℝ) * ‖iteratedFDeriv ℝ i (fun y : ℝ × E => χ y.1) z‖ * | |
| 784 | - ‖totalIntegral M v (iteratedFDeriv ℝ (n - i) f) z‖ ≤ | |
| 785 | - ((n.choose i : ℝ) * B i * A (n - i)) * (b - a) := by | |
| 786 | - intro i hi | |
| 787 | - have hin : i ≤ n := Nat.le_of_lt_succ (Finset.mem_range.mp hi) | |
| 788 | - have hj := totalIntegral_norm_le (M := M) (v := v) hab | |
| 789 | - (iteratedFDeriv_contDiff hf (n - i)).continuous | |
| 790 | - (iteratedFDeriv_supported hs (n - i)) (hsource (n - i) (Nat.sub_le _ _)) z | |
| 791 | - calc | |
| 792 | - _ ≤ ((n.choose i : ℝ) * B i) * (A (n - i) * (b - a)) := | |
| 793 | - mul_le_mul (mul_le_mul_of_nonneg_left (hcutoff i hin z) (Nat.cast_nonneg _)) hj | |
| 794 | - (norm_nonneg _) (mul_nonneg (Nat.cast_nonneg _) (hB i hin)) | |
| 795 | - _ = _ := by ring | |
| 796 | - calc | |
| 797 | - _ ≤ ‖pastIntegral M v (iteratedFDeriv ℝ n f) z‖ + | |
| 798 | - ∑ i ∈ Finset.range (n + 1), (n.choose i : ℝ) * | |
| 799 | - ‖iteratedFDeriv ℝ i (fun y : ℝ × E => χ y.1) z‖ * | |
| 800 | - ‖totalIntegral M v (iteratedFDeriv ℝ (n - i) f) z‖ := | |
| 801 | - iteratedFDeriv_compactIntegral_norm_le hχ hf hs n z | |
| 802 | - _ ≤ A n * (b - a) + ∑ i ∈ Finset.range (n + 1), | |
| 803 | - ((n.choose i : ℝ) * B i * A (n - i)) * (b - a) := | |
| 804 | - add_le_add hp (Finset.sum_le_sum ht) | |
| 805 | - _ = _ := by rw [add_mul, Finset.sum_mul] | |
| 806 | - | |
| 807 | 704 | theorem futureIntegral_eq_total_sub_past {a b M : ℝ} {v : E} {f : ℝ × E → F} |
| 808 | 705 | (hf : Continuous f) (hs : RadialAlias.RadiallySupported a b f) (z : ℝ × E) : |
| 809 | 706 | futureIntegral M v f z = totalIntegral M v f z - pastIntegral M v f z := by |
| 810 | 707 | have h := past_add_future (M := M) (v := v) hf hs z |
| 811 | 708 | exact eq_sub_iff_add_eq.mpr (by simpa only [add_comm] using h) |
| 812 | 709 | |
| 813 | -theorem futureIntegral_contDiff [CompleteSpace F] {a b M : ℝ} {v : E} {f : ℝ × E → F} | |
| 814 | - (hf : ContDiff ℝ ∞ f) (hs : RadialAlias.RadiallySupported a b f) : | |
| 815 | - ContDiff ℝ ∞ (futureIntegral M v f) := by | |
| 816 | - have heq : futureIntegral M v f = fun z => totalIntegral M v f z - pastIntegral M v f z := | |
| 817 | - funext (futureIntegral_eq_total_sub_past hf.continuous hs) | |
| 818 | - rw [heq] | |
| 819 | - exact (totalIntegral_contDiff hf hs).sub (pastIntegral_contDiff hf hs) | |
| 820 | - | |
| 821 | 710 | theorem iteratedFDeriv_sub_of_smooth {f g : ℝ × E → F} |
| 822 | 711 | (hf : ContDiff ℝ ∞ f) (hg : ContDiff ℝ ∞ g) (n : ℕ) (z : ℝ × E) : |
| 823 | 712 | iteratedFDeriv ℝ n (fun y => f y - g y) z = |
| @@ -847,32 +736,6 @@ theorem iteratedFDeriv_futureIntegral [CompleteSpace F] {a b M : ℝ} {v : E} | ||
| 847 | 736 | exact (futureIntegral_eq_total_sub_past (iteratedFDeriv_contDiff hf n).continuous |
| 848 | 737 | (iteratedFDeriv_supported hs n) z).symm |
| 849 | 738 | |
| 850 | -theorem futureIntegral_norm_le {a b M C : ℝ} {v : E} {f : ℝ × E → F} | |
| 851 | - (hab : a ≤ b) (hf : Continuous f) (hs : RadialAlias.RadiallySupported a b f) | |
| 852 | - (hbound : ∀ s ∈ Icc a b, ∀ Y : E, ‖f (s, Y)‖ ≤ C) (z : ℝ × E) : | |
| 853 | - ‖futureIntegral M v f z‖ ≤ C * (b - a) := by | |
| 854 | - have hnorm : RadialAlias.RadiallySupported a b (fun x => ‖f x‖) := by | |
| 855 | - intro x hx | |
| 856 | - exact hs (norm_ne_zero_iff.mp hx) | |
| 857 | - calc | |
| 858 | - ‖futureIntegral M v f z‖ ≤ ∫ u in Ioi (0 : ℝ), ‖f (shift M v z u)‖ := | |
| 859 | - norm_integral_le_integral_norm _ | |
| 860 | - _ ≤ ∫ u : ℝ, ‖f (shift M v z u)‖ := | |
| 861 | - setIntegral_le_integral (shifted_integrable hf hs z).norm | |
| 862 | - (Eventually.of_forall fun _ => norm_nonneg _) | |
| 863 | - _ ≤ ‖totalIntegral M v (fun x => ‖f x‖) z‖ := Real.le_norm_self _ | |
| 864 | - _ ≤ C * (b - a) := totalIntegral_norm_le (f := fun x => ‖f x‖) hab hf.norm hnorm | |
| 865 | - (fun s hs Y => by simpa only [norm_norm] using hbound s hs Y) z | |
| 866 | - | |
| 867 | -theorem iteratedFDeriv_futureIntegral_norm_le [CompleteSpace F] {a b M C : ℝ} {v : E} | |
| 868 | - {f : ℝ × E → F} (hab : a ≤ b) (hf : ContDiff ℝ ∞ f) | |
| 869 | - (hs : RadialAlias.RadiallySupported a b f) (n : ℕ) | |
| 870 | - (hbound : ∀ s ∈ Icc a b, ∀ Y : E, ‖iteratedFDeriv ℝ n f (s, Y)‖ ≤ C) (z : ℝ × E) : | |
| 871 | - ‖iteratedFDeriv ℝ n (futureIntegral M v f) z‖ ≤ C * (b - a) := by | |
| 872 | - rw [iteratedFDeriv_futureIntegral hf hs] | |
| 873 | - exact futureIntegral_norm_le hab (iteratedFDeriv_contDiff hf n).continuous | |
| 874 | - (iteratedFDeriv_supported hs n) hbound z | |
| 875 | - | |
| 876 | 739 | /-- The total integral agrees with the separately formalized radial alias. -/ |
| 877 | 740 | theorem totalIntegral_eq_wholeAlias {a b M : ℝ} {v : E} {f : ℝ × E → F} |
| 878 | 741 | (hf : Continuous f) (hs : RadialAlias.RadiallySupported a b f) (z : ℝ × E) : |
+25 −0 routes/s1-ns-transport-1/README.md added View file
| @@ -0,0 +1,25 @@ | ||
| 1 | +--- | |
| 2 | +issue: 10 | |
| 3 | +status: working | |
| 4 | +--- | |
| 5 | +# s1-ns-transport-1 | |
| 6 | + | |
| 7 | +One unit of #10 (S-1, "Delete declarations that nothing uses"), family `NavierStokes/Transport*`: | |
| 8 | +delete eleven declarations of `NavierStokes/TransportPrimitive.lean` — `transport_eq_partials`, | |
| 9 | +`auxiliaryDeriv_compactIntegral`, `compactIntegral_norm_le`, `pastIntegral_add`, `totalIntegral_add`, | |
| 10 | +`compactIntegral_add`, `iteratedFDeriv_pastIntegral_norm_le`, `iteratedFDeriv_compactIntegral_uniform`, | |
| 11 | +`futureIntegral_contDiff`, `futureIntegral_norm_le` and `iteratedFDeriv_futureIntegral_norm_le` — 137 lines. | |
| 12 | + | |
| 13 | +They came from Treant's run (TitiSkywalker/NavierStokesAndEuler, 2026-12-03, upstream `f9e8bc5`) as | |
| 14 | +unreachable from the four Comparator theorems, and were read again on this project's main (`af5b347`) | |
| 15 | +under its rule that the paper's results stay: nothing left in the tree names any of the eleven | |
| 16 | +(`git grep -n -w`, all eleven, no hits), no declaration that stays uses them, and none of the deleted | |
| 17 | +docstrings cites a numbered result of the paper. The diff is deletions only; no statement or proof that | |
| 18 | +stays is changed. `python3 checks/challenge.py .` ends with `ok: 4 challenge files and the build | |
| 19 | +configuration as approved; …`. | |
| 20 | + | |
| 21 | +## Next | |
| 22 | + | |
| 23 | +Nothing left in this unit: the deletion is the whole change. `build` on the pull request decides the | |
| 24 | +rest. A later wave that deletes more from `NavierStokes/Transport*` should start from what remains in | |
| 25 | +`NavierStokes/TransportPrimitive.lean`. | |