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(Euler/Euler): delete 4 declarations nothing uses #318
Merged
+0 −92 Euler/EulerProof.lean View file
| @@ -14908,92 +14908,6 @@ namespace EulerPacketStage | ||
| 14908 | 14908 | open Real EulerPacketGrowth EulerPacketRay EulerPacketBridge EulerPacketFrameStability |
| 14909 | 14909 | EulerPacketFrameRenewal EulerPacketFrameQuantitative EulerPacketExistence |
| 14910 | 14910 | |
| 14911 | -/-- Absolute relative-stability constant obtained from the propagator | |
| 14912 | -bound and the primary-solution lower comparison. -/ | |
| 14913 | -noncomputable def stabilityConstant : ℝ := 320000000 * exp 6 | |
| 14914 | - | |
| 14915 | -theorem stabilityConstant_ge : 320000000 ≤ stabilityConstant := by | |
| 14916 | - have hh : (1 : ℝ) ≤ exp 6 := one_le_exp_iff.mpr (by norm_num) | |
| 14917 | - unfold stabilityConstant | |
| 14918 | - nlinarith only [hh] | |
| 14919 | - | |
| 14920 | -/-- The controlled velocity system has an exact scalar comparison | |
| 14921 | -solution, constructed from the axioms rather than supplied as a hypothesis. -/ | |
| 14922 | -theorem controlled_stage_references | |
| 14923 | - {σ Θ T e ε lam : ℝ} {U V P Q N : ℝ → ℝ} {R A C : ℝ → Fin 3 → Fin 3 → ℝ} | |
| 14924 | - (hσ : 0 < σ) (hσsmall : σ ≤ 1 / 4) (hΘ : 1 ≤ Θ) | |
| 14925 | - (hT0 : 0 ≤ T) (hT : T ≤ Θ) (he : 0 ≤ e) (hε : 0 ≤ ε) (hεe : ε ≤ e) | |
| 14926 | - (hlam : 0 ≤ lam) (hsmall : 1000000 * stabilityConstant * e * Θ ^ 40 ≤ 1) | |
| 14927 | - (hRc : ∀ i j, ContinuousOn (fun t => R t i j) (Icc 0 T)) | |
| 14928 | - (hAc : ∀ i j, ContinuousOn (fun t => A t i j) (Icc 0 T)) | |
| 14929 | - (hCc : ∀ i j, ContinuousOn (fun t => C t i j) (Icc 0 T)) | |
| 14930 | - (hP : ∀ t ∈ Icc 0 T, HasDerivAt P | |
| 14931 | - (R t 0 0 * P t + R t 0 1 * Q t + R t 0 2 * N t) t) | |
| 14932 | - (hQ : ∀ t ∈ Icc 0 T, HasDerivAt Q | |
| 14933 | - (R t 1 0 * P t + R t 1 1 * Q t + R t 1 2 * N t) t) | |
| 14934 | - (hN : ∀ t ∈ Icc 0 T, HasDerivAt N | |
| 14935 | - (R t 2 0 * P t + R t 2 1 * Q t + R t 2 2 * N t) t) | |
| 14936 | - (hU : ∀ t ∈ Icc 0 T, HasDerivAt U | |
| 14937 | - (velocityFirstRhs (A t) (C t) ε (P t) (Q t) (N t) (U t) (V t)) t) | |
| 14938 | - (hV : ∀ t ∈ Icc 0 T, HasDerivAt V | |
| 14939 | - (velocitySecondRhs (A t) (C t) ε (P t) (Q t) (N t) (U t) (V t)) t) | |
| 14940 | - (hRclose : ∀ t ∈ Icc 0 T, ∀ i j, |R t i j - idealRayEntry (σ ^ 2) i j| ≤ 4 * e) | |
| 14941 | - (hAclose : ∀ t ∈ Icc 0 T, ∀ i j, |A t i j - idealVelocityEntry (σ ^ 2) i j| ≤ 3 * e) | |
| 14942 | - (hCclose : ∀ t ∈ Icc 0 T, ∀ i j, |C t i j - idealUnprojectedEntry i j| ≤ 5 * e) | |
| 14943 | - (hrayInitial : norm3 (P 0) (Q 0) (N 0 - 1) ≤ e) | |
| 14944 | - (hU0 : U 0 = -lam) (hV0 : V 0 = 1) : | |
| 14945 | - ∃ F F₁ Z Z₁ : ℝ → ℝ, | |
| 14946 | - F 0 = 1 ∧ F₁ 0 = 0 ∧ Z 0 = 1 ∧ Z₁ 0 = lam ∧ | |
| 14947 | - (∀ t, HasDerivAt F (F₁ t) t) ∧ (∀ t, HasDerivAt Z (Z₁ t) t) ∧ | |
| 14948 | - (∀ t, HasDerivAt (fun s => (1 + (σ ^ 2 * s ^ 2) ^ 2) * F₁ s) | |
| 14949 | - (2 * (1 - σ ^ 2 * (σ ^ 2 * t ^ 2)) * F t) t) ∧ | |
| 14950 | - (∀ t, HasDerivAt (fun s => (1 + (σ ^ 2 * s ^ 2) ^ 2) * Z₁ s) | |
| 14951 | - (2 * (1 - σ ^ 2 * (σ ^ 2 * t ^ 2)) * Z t) t) ∧ | |
| 14952 | - (∀ t ∈ Icc 0 T, |V t - Z t| + |U t + Z₁ t| ≤ | |
| 14953 | - 160000000 * e * Θ ^ 29 * (1 + lam) * F t) ∧ | |
| 14954 | - (∀ t ∈ Icc 1 T, 0 < V t ∧ | |
| 14955 | - |V t / Z t - 1| ≤ stabilityConstant * e * Θ ^ 29 ∧ | |
| 14956 | - |U t / V t + Z₁ t / Z t| ≤ 10 * (stabilityConstant * e * Θ ^ 29)) := by | |
| 14957 | - have hσ2 : σ ^ 2 ≤ 1 := by nlinarith only [hσ, hσsmall] | |
| 14958 | - obtain ⟨F, F₁, G, G₁, hF0, hF₁0, _, hG₁0, hF, hG, hfluxF, hfluxG⟩ := | |
| 14959 | - equation30_exists_fundamental_system (sq_nonneg σ) hσ2 | |
| 14960 | - obtain ⟨Z, Z₁, hZ0, hZ₁0, hZ, hfluxZ⟩ := equation30_exists_global (sq_nonneg σ) hσ2 1 lam | |
| 14961 | - have hK := stabilityConstant_ge | |
| 14962 | - have hΘ0 : 0 ≤ Θ := by linarith | |
| 14963 | - have hpow21 : Θ ^ 21 ≤ Θ ^ 40 := pow_le_pow_right₀ hΘ (by decide) | |
| 14964 | - have hpow29 : Θ ^ 29 ≤ Θ ^ 40 := pow_le_pow_right₀ hΘ (by decide) | |
| 14965 | - have hsmallODE : 8000000 * e * Θ ^ 21 ≤ 1 := by | |
| 14966 | - have hm := mul_le_mul_of_nonneg_left hpow21 he | |
| 14967 | - have hKmul := mul_nonneg (show 0 ≤ stabilityConstant - 8 by linarith) | |
| 14968 | - (mul_nonneg he (pow_nonneg hΘ0 40)) | |
| 14969 | - nlinarith only [hsmall, hm, hKmul] | |
| 14970 | - have herror := controlled_velocity_relative_error hσ hσsmall hΘ hT0 hT he hε hεe hlam hsmallODE | |
| 14971 | - (fun t _ => hF t) (fun t _ => hG t) (fun t _ => hfluxF t) (fun t _ => hfluxG t) | |
| 14972 | - hF0 hF₁0 hG₁0 hRc hAc hCc hP hQ hN hU hV hRclose hAclose hCclose | |
| 14973 | - (fun t _ => hZ t) (fun t _ => hfluxZ t) hrayInitial hU0 hV0 hZ0 hZ₁0 | |
| 14974 | - refine ⟨F, F₁, Z, Z₁, hF0, hF₁0, hZ0, hZ₁0, hF, hZ, hfluxF, hfluxZ, herror, ?_⟩ | |
| 14975 | - intro t ht | |
| 14976 | - let δ := 160000000 * e * Θ ^ 29 | |
| 14977 | - have hδ : 0 ≤ δ := by dsimp [δ]; positivity | |
| 14978 | - have hrelSmall : 4 * exp 6 * δ ≤ 1 := by | |
| 14979 | - have hm := mul_le_mul_of_nonneg_left hpow29 (by positivity : 0 ≤ stabilityConstant * e) | |
| 14980 | - have hn : 0 ≤ stabilityConstant * e * Θ ^ 40 := by positivity | |
| 14981 | - dsimp [δ] | |
| 14982 | - unfold stabilityConstant at hm hn hsmall | |
| 14983 | - nlinarith only [hm, hn, hsmall] | |
| 14984 | - have herror' : |V t - Z t| + |U t + Z₁ t| ≤ δ * (1 + lam) * F t := | |
| 14985 | - herror t ⟨by linarith [ht.1], ht.2⟩ | |
| 14986 | - have hc := equation30_relative_state_consequences hσ hσsmall hlam ht.1 hδ hrelSmall | |
| 14987 | - (fun t _ => hF t) (fun t _ => hZ t) (fun t _ => hfluxF t) (fun t _ => hfluxZ t) | |
| 14988 | - hF0 hF₁0 hZ0 hZ₁0 herror' | |
| 14989 | - refine ⟨hc.1, ?_, ?_⟩ | |
| 14990 | - · dsimp [δ] at hc | |
| 14991 | - unfold stabilityConstant | |
| 14992 | - nlinarith only [hc.2.1] | |
| 14993 | - · dsimp [δ] at hc | |
| 14994 | - unfold stabilityConstant | |
| 14995 | - nlinarith only [hc.2.2] | |
| 14996 | - | |
| 14997 | 14911 | /-- Early forward amplitudes are exponentially small relative to target |
| 14998 | 14912 | amplitude, with the initial slope cancelling from the estimate. This is |
| 14999 | 14913 | the finite-ODE amplification mechanism underlying equation (36). -/ |
| @@ -15871,12 +15785,6 @@ theorem activation_time_bounds | ||
| 15871 | 15785 | have hh := mul_le_mul_of_nonneg_left hlo hX |
| 15872 | 15786 | nlinarith only [hh] |
| 15873 | 15787 | |
| 15874 | -/-- A sufficiently small next time width makes the packet horizons nest. -/ | |
| 15875 | -theorem nested_horizon_of_width_ratio | |
| 15876 | - {t Δ W Wnext : ℝ} (hW : 0 ≤ W) | |
| 15877 | - (hΔ : Δ ≤ 2 * W / 3) (hnext : Wnext ≤ W / 2) : | |
| 15878 | - t + Δ + 2 * Wnext ≤ t + 2 * W := by linarith | |
| 15879 | - | |
| 15880 | 15788 | /-- The ratio of a stage to any fixed predecessor tends to one. -/ |
| 15881 | 15789 | theorem stage_div_shifted_tendsto_one (J d : ℕ) (hJ : d < J) : |
| 15882 | 15790 | Tendsto (fun n : ℕ => ((J + n : ℕ) : ℝ) / |
+43 −0 routes/s1-euler-euler-2/README.md added View file
| @@ -0,0 +1,43 @@ | ||
| 1 | +--- | |
| 2 | +issue: 10 | |
| 3 | +status: working | |
| 4 | +--- | |
| 5 | +# s1-euler-euler-2 | |
| 6 | + | |
| 7 | +One unit of S-1 (#10): the `Euler/Euler*` family. I delete 4 declarations that nothing uses, 92 lines, all from | |
| 8 | +`Euler/EulerProof.lean` — `EulerPacketStage.stabilityConstant`, `EulerPacketStage.stabilityConstant_ge`, | |
| 9 | +`EulerPacketStage.controlled_stage_references`, `EulerPacketScaleGeometry.nested_horizon_of_width_ratio`. They come | |
| 10 | +from Treant's run of 2026-12-03 (TitiSkywalker/NavierStokesAndEuler, upstream `f9e8bc5`), re-read against this main's | |
| 11 | +declaration graph. Deletions only; no statement or proof that stays is touched, and none of these four has a docstring | |
| 12 | +that cites the paper. | |
| 13 | + | |
| 14 | +Four more names from the first cut stay: `EulerPacketPerturbation.equation30_relative_error_order29`, | |
| 15 | +`EulerPacketBridge.velocity_relative_error_order29`, `EulerPacketBridge.ray_controlled_velocity_error` and | |
| 16 | +`EulerPacketBridge.controlled_velocity_relative_error`. A first version of this pull request deleted them and the | |
| 17 | +maintainer refused it; they are restored here. | |
| 18 | + | |
| 19 | +## The keep rule, as I apply it | |
| 20 | + | |
| 21 | +A declaration stays when any of these holds: | |
| 22 | + | |
| 23 | +- the paper's results reach it; | |
| 24 | +- its docstring cites the paper — in prose ("the source's normalization", "the manuscript") as much as by a numbered | |
| 25 | + Lemma, Theorem, Proposition, Corollary, Section or Equation. A prose citation counts on its own: the quantitative | |
| 26 | + estimate `equation30_relative_error_order29` says its bound is "the source's normalization", and `AGENTS.md` under | |
| 27 | + "Changes we don't want" bars deleting a result because only the paper states it and no Lean theorem uses it. A filter | |
| 28 | + that only looks for numbered references reads such a declaration as internal, which is what happened in the first | |
| 29 | + version of this pull request and, earlier, to six declarations of #246; | |
| 30 | +- it is an existence result with a docstring; | |
| 31 | +- it sits in a file that states results or must match the challenge word for word; | |
| 32 | +- a pull request of an earlier wave was made to keep it; | |
| 33 | +- a declaration that stays refers to it or names it. | |
| 34 | + | |
| 35 | +The three `EulerPacketBridge` lemmas that stand or fall with `equation30_relative_error_order29` are | |
| 36 | +`velocity_relative_error_order29` and `ray_controlled_velocity_error` on the way to `controlled_velocity_relative_error`: | |
| 37 | +they carry the estimate into the velocity and tensor setting, so they stay with it. That the top of the chain is then | |
| 38 | +left with no Lean user is expected and is not a reason to delete it. | |
| 39 | + | |
| 40 | +## Next | |
| 41 | + | |
| 42 | +If a later unit touches `Euler/EulerProof.lean`, the four deleted names are listed above and in the pull request | |
| 43 | +description; the four restored names are not to be cut again on the ground that only the paper states them. | |