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

| 1 | import Euler.EulerProof |
| 2 | |
| 3 | /-! |
| 4 | Quantitative operator algebra for the actual fixed-space endpoint solve. |
| 5 | The input called `R` below is an inverse operator; the transverse specialization |
| 6 | constructs it by coercivity and discharges all of its norm bounds. |
| 7 | -/ |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | |
| 12 | namespace EulerCoerciveEndpointBounds |
| 13 | |
| 14 | open ContinuousLinearMap |
| 15 | |
| 16 | variable {S E V F G W : Type*} |
| 17 | [NormedAddCommGroup S] [InnerProductSpace ℝ S] [CompleteSpace S] |
| 18 | [NormedAddCommGroup E] [InnerProductSpace ℝ E] [CompleteSpace E] |
| 19 | [NormedAddCommGroup V] [NormedSpace ℝ V] |
| 20 | [NormedAddCommGroup F] [NormedSpace ℝ F] |
| 21 | [NormedAddCommGroup G] [NormedSpace ℝ G] |
| 22 | [NormedAddCommGroup W] [NormedSpace ℝ W] |
| 23 | |
| 24 | theorem norm_comp_sub_le (A B : F →L[ℝ] G) (C D : W →L[ℝ] F) : |
| 25 | ‖A.comp C - B.comp D‖ ≤ ‖A - B‖ * ‖C‖ + ‖B‖ * ‖C - D‖ := by |
| 26 | have he : A.comp C - B.comp D = (A - B).comp C + B.comp (C - D) := by |
| 27 | ext x |
| 28 | simp only [comp_apply, sub_apply, add_apply, map_sub] |
| 29 | abel |
| 30 | rw [he] |
| 31 | exact (norm_add_le _ _).trans (add_le_add (opNorm_comp_le _ _) (opNorm_comp_le _ _)) |
| 32 | |
| 33 | /-- The actual algebraic stationary correction in a fixed coordinate space. -/ |
| 34 | def correctionOperator (D : S →L[ℝ] E) (R : S →L[ℝ] S) (A : E →L[ℝ] E) : E →L[ℝ] E := |
| 35 | D.comp (R.comp (D.adjoint.comp A)) |
| 36 | |
| 37 | def endpointOperator (D : S →L[ℝ] E) (R : S →L[ℝ] S) (A : E →L[ℝ] E) |
| 38 | (L : V →L[ℝ] E) : V →L[ℝ] E := L - (correctionOperator D R A).comp L |
| 39 | |
| 40 | theorem correctionOperator_norm_le (D : S →L[ℝ] E) (R : S →L[ℝ] S) (A : E →L[ℝ] E) |
| 41 | (d r a : ℝ) (hd : ‖D‖ ≤ d) (hr : ‖R‖ ≤ r) (ha : ‖A‖ ≤ a) : |
| 42 | ‖correctionOperator D R A‖ ≤ d ^ 2 * r * a := by |
| 43 | have hd0 := (norm_nonneg D).trans hd |
| 44 | have hr0 := (norm_nonneg R).trans hr |
| 45 | have ha0 := (norm_nonneg A).trans ha |
| 46 | have hDA : ‖D.adjoint.comp A‖ ≤ d * a := by |
| 47 | apply (opNorm_comp_le _ _).trans |
| 48 | rw [LinearIsometryEquiv.norm_map] |
| 49 | exact mul_le_mul hd ha (norm_nonneg _) hd0 |
| 50 | have hRDA : ‖R.comp (D.adjoint.comp A)‖ ≤ r * (d * a) := |
| 51 | (opNorm_comp_le _ _).trans (mul_le_mul hr hDA (norm_nonneg _) hr0) |
| 52 | exact ((opNorm_comp_le _ _).trans |
| 53 | (mul_le_mul hd hRDA (norm_nonneg _) hd0)).trans_eq (by ring) |
| 54 | |
| 55 | theorem correctionOperator_sub_norm_le |
| 56 | (D D' : S →L[ℝ] E) (R R' : S →L[ℝ] S) (A A' : E →L[ℝ] E) |
| 57 | (d r a δd δr δa : ℝ) |
| 58 | (hd : ‖D‖ ≤ d) (hd' : ‖D'‖ ≤ d) (hr : ‖R‖ ≤ r) (hr' : ‖R'‖ ≤ r) |
| 59 | (ha : ‖A‖ ≤ a) (_ha' : ‖A'‖ ≤ a) |
| 60 | (hδd : ‖D - D'‖ ≤ δd) (hδr : ‖R - R'‖ ≤ δr) (hδa : ‖A - A'‖ ≤ δa) : |
| 61 | ‖correctionOperator D R A - correctionOperator D' R' A'‖ ≤ |
| 62 | 2 * d * r * a * δd + d ^ 2 * a * δr + d ^ 2 * r * δa := by |
| 63 | have hd0 := (norm_nonneg D).trans hd |
| 64 | have hr0 := (norm_nonneg R).trans hr |
| 65 | have ha0 := (norm_nonneg A).trans ha |
| 66 | have hδd0 := (norm_nonneg (D-D')).trans hδd |
| 67 | have hδr0 := (norm_nonneg (R-R')).trans hδr |
| 68 | have hδa0 := (norm_nonneg (A-A')).trans hδa |
| 69 | have hDA : ‖D.adjoint.comp A‖ ≤ d * a := by |
| 70 | apply (opNorm_comp_le _ _).trans |
| 71 | rw [LinearIsometryEquiv.norm_map] |
| 72 | exact mul_le_mul hd ha (norm_nonneg _) hd0 |
| 73 | have hDAδ : ‖D.adjoint.comp A - D'.adjoint.comp A'‖ ≤ δd * a + d * δa := by |
| 74 | apply (norm_comp_sub_le _ _ _ _).trans |
| 75 | have hh : ‖D.adjoint - D'.adjoint‖ = ‖D-D'‖ := by |
| 76 | rw [← map_sub, LinearIsometryEquiv.norm_map] |
| 77 | rw [hh, LinearIsometryEquiv.norm_map] |
| 78 | exact add_le_add (mul_le_mul hδd ha (norm_nonneg _) hδd0) |
| 79 | (mul_le_mul hd' hδa (norm_nonneg _) hd0) |
| 80 | have hRDA : ‖R.comp (D.adjoint.comp A)‖ ≤ r * (d * a) := |
| 81 | (opNorm_comp_le _ _).trans (mul_le_mul hr hDA (norm_nonneg _) hr0) |
| 82 | have hRDAδ : ‖R.comp (D.adjoint.comp A) - R'.comp (D'.adjoint.comp A')‖ ≤ |
| 83 | δr * (d * a) + r * (δd * a + d * δa) := by |
| 84 | apply (norm_comp_sub_le _ _ _ _).trans |
| 85 | exact add_le_add (mul_le_mul hδr hDA (norm_nonneg _) hδr0) |
| 86 | (mul_le_mul hr' hDAδ (norm_nonneg _) hr0) |
| 87 | apply ((norm_comp_sub_le _ _ _ _).trans |
| 88 | (add_le_add (mul_le_mul hδd hRDA (norm_nonneg _) hδd0) |
| 89 | (mul_le_mul hd' hRDAδ (norm_nonneg _) hd0))).trans_eq |
| 90 | ring |
| 91 | |
| 92 | theorem endpointOperator_norm_le (D : S →L[ℝ] E) (R : S →L[ℝ] S) (A : E →L[ℝ] E) |
| 93 | (L : V →L[ℝ] E) (d r a l : ℝ) |
| 94 | (hd : ‖D‖ ≤ d) (hr : ‖R‖ ≤ r) (ha : ‖A‖ ≤ a) (hl : ‖L‖ ≤ l) : |
| 95 | ‖endpointOperator D R A L‖ ≤ (1 + d ^ 2 * r * a) * l := by |
| 96 | have hs := correctionOperator_norm_le D R A d r a hd hr ha |
| 97 | have hs0 := (norm_nonneg _).trans hs |
| 98 | apply ((norm_sub_le _ _).trans (add_le_add hl ((opNorm_comp_le _ _).trans |
| 99 | (mul_le_mul hs hl (norm_nonneg _) hs0)))).trans_eq |
| 100 | ring |
| 101 | |
| 102 | theorem endpointOperator_sub_norm_le |
| 103 | (D D' : S →L[ℝ] E) (R R' : S →L[ℝ] S) (A A' : E →L[ℝ] E) |
| 104 | (L L' : V →L[ℝ] E) (d r a l δd δr δa δl : ℝ) |
| 105 | (hd : ‖D‖ ≤ d) (hd' : ‖D'‖ ≤ d) (hr : ‖R‖ ≤ r) (hr' : ‖R'‖ ≤ r) |
| 106 | (ha : ‖A‖ ≤ a) (ha' : ‖A'‖ ≤ a) (hl : ‖L‖ ≤ l) |
| 107 | (hδd : ‖D - D'‖ ≤ δd) (hδr : ‖R - R'‖ ≤ δr) |
| 108 | (hδa : ‖A - A'‖ ≤ δa) (hδl : ‖L - L'‖ ≤ δl) : |
| 109 | ‖endpointOperator D R A L - endpointOperator D' R' A' L'‖ ≤ |
| 110 | (1 + d ^ 2 * r * a) * δl + |
| 111 | (2 * d * r * a * δd + d ^ 2 * a * δr + d ^ 2 * r * δa) * l := by |
| 112 | have hs := correctionOperator_norm_le D' R' A' d r a hd' hr' ha' |
| 113 | have hs0 := (norm_nonneg _).trans hs |
| 114 | have hds := correctionOperator_sub_norm_le D D' R R' A A' d r a δd δr δa |
| 115 | hd hd' hr hr' ha ha' hδd hδr hδa |
| 116 | have hds0 := (norm_nonneg _).trans hds |
| 117 | have hprod := (norm_comp_sub_le (correctionOperator D R A) |
| 118 | (correctionOperator D' R' A') L L').trans |
| 119 | (add_le_add (mul_le_mul hds hl (norm_nonneg _) hds0) |
| 120 | (mul_le_mul hs hδl (norm_nonneg _) hs0)) |
| 121 | have he : endpointOperator D R A L - endpointOperator D' R' A' L' = |
| 122 | (L-L') - ((correctionOperator D R A).comp L - (correctionOperator D' R' A').comp L') := by |
| 123 | unfold endpointOperator |
| 124 | abel |
| 125 | rw [he] |
| 126 | exact ((norm_sub_le _ _).trans (add_le_add hδl hprod)).trans_eq (by ring) |
| 127 | |
| 128 | /-- The transported quadratic form used by the fixed-coordinate inverse. -/ |
| 129 | def formOperator (D : S →L[ℝ] E) (A : E →L[ℝ] E) : S →L[ℝ] S := |
| 130 | D.adjoint.comp (A.comp D) |
| 131 | |
| 132 | theorem formOperator_sub_norm_le |
| 133 | (D D' : S →L[ℝ] E) (A A' : E →L[ℝ] E) (d a δd δa : ℝ) |
| 134 | (hd : ‖D‖ ≤ d) (hd' : ‖D'‖ ≤ d) (ha : ‖A‖ ≤ a) (ha' : ‖A'‖ ≤ a) |
| 135 | (hδd : ‖D-D'‖ ≤ δd) (hδa : ‖A-A'‖ ≤ δa) : |
| 136 | ‖formOperator D A - formOperator D' A'‖ ≤ 2 * d * a * δd + d ^ 2 * δa := by |
| 137 | have had : ‖D.adjoint-D'.adjoint‖ ≤ δd := by |
| 138 | rw [← map_sub, LinearIsometryEquiv.norm_map] |
| 139 | exact hδd |
| 140 | have h := correctionOperator_sub_norm_le D.adjoint D'.adjoint A A' |
| 141 | (ContinuousLinearMap.id ℝ S) (ContinuousLinearMap.id ℝ S) d a 1 δd δa 0 |
| 142 | (by simpa only [LinearIsometryEquiv.norm_map] using hd) |
| 143 | (by simpa only [LinearIsometryEquiv.norm_map] using hd') ha ha' norm_id_le norm_id_le |
| 144 | had hδa (by simp) |
| 145 | simpa only [correctionOperator, adjoint_adjoint, comp_id, mul_one, mul_zero, add_zero, |
| 146 | formOperator] using h |
| 147 | |
| 148 | end EulerCoerciveEndpointBounds |