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: #95 chore(Euler/Linear): delete 8 declarations nothing uses
1 commit
+0 −101 Euler/LinearDuhamelGevrey.lean View file
| @@ -50,105 +50,4 @@ theorem weightedSolution_contDiff {n : ℕ∞ω} (hB : ContDiff ℝ n B) | ||
| 50 | 50 | exact (ContinuousLinearMap.contDiff (𝕜 := ℝ) (n := n) |
| 51 | 51 | (E := C(Icc (0 : ℝ) T,E)) (F := C(Icc (0 : ℝ) T,E)) (normalize g hg)).comp hs |
| 52 | 52 | |
| 53 | -/-- The exact differentiated ODE yields a triangular estimate in the fixed | |
| 54 | -profile norm, with the same homogeneous and Green operators at every order. -/ | |
| 55 | -theorem weightedSolution_derivative_recurrence | |
| 56 | - (hB : ContDiff ℝ ∞ B) (hf : ContDiff ℝ ∞ f) (ha₀ : ContDiff ℝ ∞ a₀) | |
| 57 | - (hg₀ : g ⟨0,le_rfl,hT⟩ = 1) (C : ℝ) (hC : 0 ≤ C) | |
| 58 | - (hU : ∀ x (t s : Icc (0 : ℝ) T), s ≤ t → ‖(U x).propagator t s‖ ≤ C*g t/g s) | |
| 59 | - (x : P) (n : ℕ) : | |
| 60 | - ‖iteratedFDeriv ℝ n (fun y => (U y).weightedSolution g hg (f y) (a₀ y)) x‖ ≤ | |
| 61 | - C*‖iteratedFDeriv ℝ n a₀ x‖ + (C*T)* | |
| 62 | - (‖iteratedFDeriv ℝ n f x‖ + ∑ j ∈ range n, | |
| 63 | - (n.choose (j+1) : ℝ) * ‖iteratedFDeriv ℝ (j+1) (fun y => multiplier (B y)) x‖ * | |
| 64 | - ‖iteratedFDeriv ℝ (n-(j+1)) | |
| 65 | - (fun y => (U y).weightedSolution g hg (f y) (a₀ y)) x‖) := by | |
| 66 | - let u := fun y => (U y).weightedSolution g hg (f y) (a₀ y) | |
| 67 | - have hu := weightedSolution_contDiff T hT B U g hg f a₀ hB hf ha₀ | |
| 68 | - have hfreeze : ∀ y, u y = (U x).weightedInitial g hg (a₀ y) + | |
| 69 | - (U x).weightedForcing g hg (f y + (multiplier (B y)-multiplier (B x)) (u y)) := by | |
| 70 | - intro y | |
| 71 | - have hd : multiplier (B y-B x) = multiplier (B y)-multiplier (B x) := by | |
| 72 | - ext p t | |
| 73 | - rfl | |
| 74 | - simpa only [hd] using (U x).weighted_frozen_solution g hg (U y) (f y) (a₀ y) | |
| 75 | - have hr := EulerFrozenEvolutionGevrey.derivative_recurrence | |
| 76 | - (fun y => multiplier (B y)) u f a₀ (contDiff_multiplier B hB) hu hf ha₀ x | |
| 77 | - ((U x).weightedInitial g hg) ((U x).weightedForcing g hg) hfreeze n | |
| 78 | - exact hr.trans (add_le_add | |
| 79 | - (mul_le_mul_of_nonneg_right ((U x).weightedInitial_norm g hg hg₀ C hC (hU x)) (norm_nonneg _)) | |
| 80 | - (mul_le_mul_of_nonneg_right ((U x).weightedForcing_norm g hg hg₀ C hC (hU x)) (by positivity))) | |
| 81 | - | |
| 82 | -/-- The fixed polynomial amplitude controlling the differentiated forward solve. -/ | |
| 83 | -def forwardCost (T C A D CB : ℝ) : ℝ := 1 + C*A + C*T*(D+CB) | |
| 84 | - | |
| 85 | -/-- The actual forward solve loses one factorial shift. Its radius condition | |
| 86 | -contains only the propagator, coefficient and data amplitudes, and time length. -/ | |
| 87 | -theorem weightedSolution_gevrey | |
| 88 | - (hB : ContDiff ℝ ∞ B) (hf : ContDiff ℝ ∞ f) (ha₀ : ContDiff ℝ ∞ a₀) | |
| 89 | - (hg₀ : g ⟨0,le_rfl,hT⟩ = 1) | |
| 90 | - (C A D CB Rc R : ℝ) (hC : 0 ≤ C) (hA : 0 ≤ A) (hD : 0 ≤ D) (hCB : 0 ≤ CB) | |
| 91 | - (hRc : 0 ≤ Rc) (hR : 2*forwardCost T C A D CB*(Rc+1) ≤ R) | |
| 92 | - (hU : ∀ x (t s : Icc (0 : ℝ) T), s ≤ t → ‖(U x).propagator t s‖ ≤ C*g t/g s) | |
| 93 | - (hcoeff : ∀ j x, ‖iteratedFDeriv ℝ (j+1) B x‖ ≤ CB*(Rc^(j+1)*((j+1).factorial : ℝ)^2)) | |
| 94 | - (d : ℕ) (hforce : ∀ n x, ‖iteratedFDeriv ℝ n f x‖ ≤ D*majorant R d n) | |
| 95 | - (hinitial : ∀ n x, ‖iteratedFDeriv ℝ n a₀ x‖ ≤ A*majorant R d n) | |
| 96 | - (n : ℕ) (x : P) : | |
| 97 | - ‖iteratedFDeriv ℝ n (fun y => (U y).weightedSolution g hg (f y) (a₀ y)) x‖ ≤ | |
| 98 | - majorant R (d+1) n := by | |
| 99 | - let u := fun y => (U y).weightedSolution g hg (f y) (a₀ y) | |
| 100 | - let M := forwardCost T C A D CB | |
| 101 | - have hCT : 0 ≤ C*T := mul_nonneg hC hT | |
| 102 | - have hM : 1 ≤ M := by | |
| 103 | - dsimp [M,forwardCost] | |
| 104 | - nlinarith [mul_nonneg hC hA, mul_nonneg hCT (add_nonneg hD hCB)] | |
| 105 | - have hR0 : 0 ≤ R := le_trans | |
| 106 | - (mul_nonneg (mul_nonneg (by norm_num) (le_trans zero_le_one hM)) (by linarith)) hR | |
| 107 | - have htop : C*A + C*T*D ≤ M := by | |
| 108 | - dsimp [M,forwardCost] | |
| 109 | - nlinarith [mul_nonneg hCT hCB] | |
| 110 | - have hcoef : C*T*CB ≤ M := by | |
| 111 | - dsimp [M,forwardCost] | |
| 112 | - nlinarith [mul_nonneg hC hA, mul_nonneg hCT hD] | |
| 113 | - apply triangular_inverse_majorant M Rc R hM hRc hR d | |
| 114 | - (fun k => majorant R d k) (fun k => ‖iteratedFDeriv ℝ k u x‖) (fun _ => le_rfl) _ n | |
| 115 | - intro k | |
| 116 | - let S : ℝ := ∑ j ∈ range k, (k.choose (j+1) : ℝ) * Rc^(j+1) * | |
| 117 | - ((j+1).factorial : ℝ)^2 * ‖iteratedFDeriv ℝ (k-(j+1)) u x‖ | |
| 118 | - have hS : 0 ≤ S := by dsimp [S]; positivity | |
| 119 | - have hmajor : 0 ≤ majorant R d k := majorant_nonneg R hR0 d k | |
| 120 | - have hcoeffOp (j : ℕ) : | |
| 121 | - ‖iteratedFDeriv ℝ (j+1) (fun y => multiplier (B y)) x‖ ≤ | |
| 122 | - CB*(Rc^(j+1)*((j+1).factorial : ℝ)^2) := by | |
| 123 | - have hl := ContinuousLinearMap.norm_iteratedFDeriv_comp_left | |
| 124 | - (𝕜 := ℝ) (E := P) (F := C(Icc (0 : ℝ) T,E →L[ℝ] E)) | |
| 125 | - (G := C(Icc (0 : ℝ) T,E) →L[ℝ] C(Icc (0 : ℝ) T,E)) | |
| 126 | - (coefficientMap (K := Icc (0 : ℝ) T) (E := E) (F := E)) | |
| 127 | - (x := x) hB.contDiffAt (n := j+1) (by simp) | |
| 128 | - exact hl.trans ((mul_le_mul_of_nonneg_right coefficientMap_norm (norm_nonneg _)).trans | |
| 129 | - (by simpa only [one_mul] using hcoeff j x)) | |
| 130 | - have hsum : (∑ j ∈ range k, (k.choose (j+1) : ℝ) * | |
| 131 | - ‖iteratedFDeriv ℝ (j+1) (fun y => multiplier (B y)) x‖ * | |
| 132 | - ‖iteratedFDeriv ℝ (k-(j+1)) u x‖) ≤ CB*S := by | |
| 133 | - dsimp [S] | |
| 134 | - rw [mul_sum] | |
| 135 | - apply sum_le_sum | |
| 136 | - intro j _ | |
| 137 | - have hh := mul_le_mul_of_nonneg_right | |
| 138 | - (mul_le_mul_of_nonneg_left (hcoeffOp j) (by positivity : (0 : ℝ) ≤ k.choose (j+1))) | |
| 139 | - (norm_nonneg (iteratedFDeriv ℝ (k-(j+1)) u x)) | |
| 140 | - convert hh using 1 | |
| 141 | - ring | |
| 142 | - have hr := weightedSolution_derivative_recurrence T hT B U g hg f a₀ hB hf ha₀ hg₀ C hC hU x k | |
| 143 | - have hb : ‖iteratedFDeriv ℝ k u x‖ ≤ C*(A*majorant R d k) + (C*T)*(D*majorant R d k+CB*S) := | |
| 144 | - hr.trans (add_le_add (mul_le_mul_of_nonneg_left (hinitial k x) hC) | |
| 145 | - (mul_le_mul_of_nonneg_left (add_le_add (hforce k x) hsum) hCT)) | |
| 146 | - change ‖iteratedFDeriv ℝ k u x‖ ≤ M*(majorant R d k+S) | |
| 147 | - apply hb.trans | |
| 148 | - calc | |
| 149 | - _ = (C*A+C*T*D)*majorant R d k+(C*T*CB)*S := by ring | |
| 150 | - _ ≤ M*majorant R d k+M*S := add_le_add | |
| 151 | - (mul_le_mul_of_nonneg_right htop hmajor) (mul_le_mul_of_nonneg_right hcoef hS) | |
| 152 | - _ = _ := by ring | |
| 153 | - | |
| 154 | 53 | end EulerLinearDuhamel |
+0 −7 Euler/LinearDuhamelNaturality.lean View file
| @@ -48,11 +48,4 @@ theorem solution_map (f : C(Icc (0 : ℝ) T,E)) (a₀ : E) : | ||
| 48 | 48 | · change L (U.solution f a₀ ⟨0,le_rfl,hT⟩) = L a₀ |
| 49 | 49 | rw [U.solution_initial] |
| 50 | 50 | |
| 51 | -/-- Pointwise form of the same identity, including both endpoints. -/ | |
| 52 | -theorem solution_map_apply (f : C(Icc (0 : ℝ) T,E)) (a₀ : E) | |
| 53 | - (t : Icc (0 : ℝ) T) : | |
| 54 | - V.solution (L.compLeftContinuous ℝ (Icc (0 : ℝ) T) f) (L a₀) t = | |
| 55 | - L (U.solution f a₀ t) := by | |
| 56 | - exact congrArg (fun p : C(Icc (0 : ℝ) T,F) => p t) (U.solution_map V L hL f a₀) | |
| 57 | - | |
| 58 | 51 | end EulerLinearDuhamel.Evolution |
+0 −38 Euler/LinearDuhamelSymmetry.lean View file
| @@ -19,13 +19,6 @@ variable {T : ℝ} {hT : 0 ≤ T} {B : C(Icc (0 : ℝ) T,E →L[ℝ] E)} | ||
| 19 | 19 | |
| 20 | 20 | namespace Evolution |
| 21 | 21 | |
| 22 | -/-- The true forced path is independent of the fundamental evolution chosen to represent it. -/ | |
| 23 | -theorem solution_independent (U V : Evolution T hT B) (f : C(Icc (0 : ℝ) T,E)) (a₀ : E) : | |
| 24 | - U.solution f a₀ = V.solution f a₀ := by | |
| 25 | - ext t | |
| 26 | - exact V.solution_unique f a₀ (U.solutionReal f a₀) (U.solution_derivative f a₀) | |
| 27 | - (U.solution_initial f a₀) t | |
| 28 | - | |
| 29 | 22 | /-- Sign reversal of both data reverses the actual solution. -/ |
| 30 | 23 | theorem solution_neg (U : Evolution T hT B) (f : C(Icc (0 : ℝ) T,E)) (a₀ : E) : |
| 31 | 24 | U.solution (-f) (-a₀) = -U.solution f a₀ := by |
| @@ -41,35 +34,4 @@ end Evolution | ||
| 41 | 34 | variable {P : Type*} (T : ℝ) (hT : 0 ≤ T) |
| 42 | 35 | (B : P → C(Icc (0 : ℝ) T,E →L[ℝ] E)) (U : ∀ x, Evolution T hT (B x)) |
| 43 | 36 | |
| 44 | -/-- Reflection or any other parameter symmetry is inherited from coefficients | |
| 45 | -and data; no regularity or symmetry of the chosen propagators is required. -/ | |
| 46 | -theorem solution_odd_under (σ : P → P) (hB : ∀ x, B (σ x) = B x) | |
| 47 | - (f : P → C(Icc (0 : ℝ) T,E)) (a₀ : P → E) | |
| 48 | - (hf : ∀ x, f (σ x) = -f x) (ha₀ : ∀ x, a₀ (σ x) = -a₀ x) (x : P) : | |
| 49 | - (U (σ x)).solution (f (σ x)) (a₀ (σ x)) = -(U x).solution (f x) (a₀ x) := by | |
| 50 | - have he := (U x).frozen_solution (U (σ x)) (f (σ x)) (a₀ (σ x)) | |
| 51 | - have hm : multiplier (0 : C(Icc (0 : ℝ) T,E →L[ℝ] E)) = 0 := by | |
| 52 | - ext p t | |
| 53 | - rfl | |
| 54 | - have hcoeff : B (σ x)-B x = 0 := by rw [hB x, sub_self] | |
| 55 | - rw [hcoeff, hm, zero_apply, add_zero] at he | |
| 56 | - calc | |
| 57 | - (U (σ x)).solution (f (σ x)) (a₀ (σ x)) = | |
| 58 | - (U x).initialOperator (a₀ (σ x)) + (U x).forcingOperator (f (σ x)) := he | |
| 59 | - _ = -((U x).initialOperator (a₀ x) + (U x).forcingOperator (f x)) := by | |
| 60 | - rw [hf x, ha₀ x, map_neg, map_neg, neg_add] | |
| 61 | - _ = -(U x).solution (f x) (a₀ x) := by rw [(U x).solution_eq_operators] | |
| 62 | - | |
| 63 | -/-- The actual forward solution stays in the union of the supports of its data. -/ | |
| 64 | -theorem solution_support_subset (f : P → C(Icc (0 : ℝ) T,E)) (a₀ : P → E) : | |
| 65 | - Function.support (fun x => (U x).solution (f x) (a₀ x)) ⊆ | |
| 66 | - Function.support f ∪ Function.support a₀ := by | |
| 67 | - intro x hx | |
| 68 | - by_cases hf : f x = 0 | |
| 69 | - · by_cases ha : a₀ x = 0 | |
| 70 | - · have hz : (U x).solution (f x) (a₀ x) = 0 := by rw [hf, ha, Evolution.solution_zero] | |
| 71 | - exact (hx hz).elim | |
| 72 | - · exact Or.inr ha | |
| 73 | - · exact Or.inl hf | |
| 74 | - | |
| 75 | 37 | end EulerLinearDuhamel |
+0 −7 Euler/LinearDuhamelWeighted.lean View file
| @@ -64,13 +64,6 @@ theorem weightedForcing_norm (hg₀ : g ⟨0,le_rfl,hT⟩ = 1) (C : ℝ) (hC : 0 | ||
| 64 | 64 | def weightedSolution (f : C(Icc (0 : ℝ) T,E)) (a₀ : E) : C(Icc (0 : ℝ) T,E) := |
| 65 | 65 | normalize g hg (U.solution (weight g f) a₀) |
| 66 | 66 | |
| 67 | -/-- The normalized solution is still exactly the two actual data maps. -/ | |
| 68 | -theorem weightedSolution_eq (f : C(Icc (0 : ℝ) T,E)) (a₀ : E) : | |
| 69 | - U.weightedSolution g hg f a₀ = U.weightedInitial g hg a₀ + U.weightedForcing g hg f := by | |
| 70 | - unfold weightedSolution | |
| 71 | - rw [U.solution_eq_operators, map_add] | |
| 72 | - rfl | |
| 73 | - | |
| 74 | 67 | variable {D : C(Icc (0 : ℝ) T,E →L[ℝ] E)} (V : Evolution T hT D) |
| 75 | 68 | |
| 76 | 69 | /-- Freezing the coefficient is an actual identity of constructed solutions. -/ |
+30 −0 routes/s1-euler-linear-1/README.md added View file
| @@ -0,0 +1,30 @@ | ||
| 1 | +--- | |
| 2 | +issue: 10 | |
| 3 | +status: working | |
| 4 | +--- | |
| 5 | +# s1-euler-linear-1 | |
| 6 | + | |
| 7 | +One unit of issue #10 (S-1, delete declarations that nothing uses): the family `Euler/Linear*` | |
| 8 | +(`Euler/LinearDuhamelGevrey.lean`, `Euler/LinearDuhamelNaturality.lean`, | |
| 9 | +`Euler/LinearDuhamelSymmetry.lean`, `Euler/LinearDuhamelWeighted.lean`). It deletes 8 | |
| 10 | +declarations that nothing uses, 153 lines in 4 files, deletions only: | |
| 11 | + | |
| 12 | +- `EulerLinearDuhamel.weightedSolution_derivative_recurrence` | |
| 13 | +- `EulerLinearDuhamel.forwardCost` | |
| 14 | +- `EulerLinearDuhamel.weightedSolution_gevrey` | |
| 15 | +- `EulerLinearDuhamel.Evolution.solution_map_apply` | |
| 16 | +- `EulerLinearDuhamel.Evolution.solution_independent` | |
| 17 | +- `EulerLinearDuhamel.solution_odd_under` | |
| 18 | +- `EulerLinearDuhamel.solution_support_subset` | |
| 19 | +- `EulerLinearDuhamel.Evolution.weightedSolution_eq` | |
| 20 | + | |
| 21 | +The list was cut from Treant's run of 2026-12-03 and kept after the declaration graph of main was | |
| 22 | +read under this project's rule: a declaration that Treant deleted stays when a paper result reaches | |
| 23 | +it, when its docstring cites the paper, or when a declaration that stays names it. None of these | |
| 24 | +eight is reached by `NavierStokes/PaperResults.lean`, `NavierStokes/R3/Theorem.lean` or | |
| 25 | +`NavierStokes/LocalPaperTheorem.lean`, none has its docstring citing the paper, and no remaining | |
| 26 | +declaration names any of them. | |
| 27 | + | |
| 28 | +## Next | |
| 29 | + | |
| 30 | +Nothing for this unit. `build` judges the change; do not wait for it. | |