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.ContinuousPathCalculus |
| 2 | import Euler.TransverseGramInverse |
| 3 | |
| 4 | /-! |
| 5 | # Actual composition and adjoint calculus on continuous paths |
| 6 | |
| 7 | The pointwise operator operations are built from bounded maps in the uniform |
| 8 | norm. Their regularity and factorial bounds are consequently genuine |
| 9 | derivative statements in that norm. |
| 10 | -/ |
| 11 | |
| 12 | noncomputable section |
| 13 | |
| 14 | namespace EulerContinuousPathComposition |
| 15 | |
| 16 | open ContinuousLinearMap EulerContinuousTimeIntegral EulerContinuousPathCalculus |
| 17 | EulerTransverseGramInverse EulerOperatorGevreyCalculus EulerGevrey |
| 18 | open scoped ContDiff |
| 19 | |
| 20 | variable {K : Type*} [TopologicalSpace K] [CompactSpace K] |
| 21 | |
| 22 | section Normed |
| 23 | |
| 24 | variable {U E F : Type*} |
| 25 | [NormedAddCommGroup U] [NormedSpace ℝ U] |
| 26 | [NormedAddCommGroup E] [NormedSpace ℝ E] |
| 27 | [NormedAddCommGroup F] [NormedSpace ℝ F] |
| 28 | |
| 29 | private local instance : NormedAddCommGroup (E →L[ℝ] F) := inferInstance |
| 30 | private local instance : NormedSpace ℝ (E →L[ℝ] F) := inferInstance |
| 31 | private local instance : NormedAddCommGroup (U →L[ℝ] E) := inferInstance |
| 32 | private local instance : NormedSpace ℝ (U →L[ℝ] E) := inferInstance |
| 33 | private local instance : NormedAddCommGroup (U →L[ℝ] F) := inferInstance |
| 34 | private local instance : NormedSpace ℝ (U →L[ℝ] F) := inferInstance |
| 35 | private local instance : NormedAddCommGroup ((U →L[ℝ] E) →L[ℝ] U →L[ℝ] F) := inferInstance |
| 36 | private local instance : NormedSpace ℝ ((U →L[ℝ] E) →L[ℝ] U →L[ℝ] F) := inferInstance |
| 37 | private local instance : NormedAddCommGroup C(K,E →L[ℝ] F) := inferInstance |
| 38 | private local instance : NormedSpace ℝ C(K,E →L[ℝ] F) := inferInstance |
| 39 | private local instance : NormedAddCommGroup C(K,U →L[ℝ] E) := inferInstance |
| 40 | private local instance : NormedSpace ℝ C(K,U →L[ℝ] E) := inferInstance |
| 41 | private local instance : NormedAddCommGroup C(K,U →L[ℝ] F) := inferInstance |
| 42 | private local instance : NormedSpace ℝ C(K,U →L[ℝ] F) := inferInstance |
| 43 | private local instance : NormedAddCommGroup C(K,(U →L[ℝ] E) →L[ℝ] U →L[ℝ] F) := inferInstance |
| 44 | private local instance : NormedSpace ℝ C(K,(U →L[ℝ] E) →L[ℝ] U →L[ℝ] F) := inferInstance |
| 45 | |
| 46 | /-- A fixed bounded map acts pointwise on continuous paths with the same norm bound. -/ |
| 47 | theorem postcomposition_norm (A : E →L[ℝ] F) : |
| 48 | ‖A.compLeftContinuous ℝ K‖ ≤ ‖A‖ := by |
| 49 | apply opNorm_le_bound _ (norm_nonneg A) |
| 50 | intro p |
| 51 | apply (ContinuousMap.norm_le _ (mul_nonneg (norm_nonneg A) (norm_nonneg p))).2 |
| 52 | intro t |
| 53 | exact (A.le_opNorm (p t)).trans |
| 54 | (mul_le_mul_of_nonneg_left (p.norm_coe_le_norm t) (norm_nonneg A)) |
| 55 | |
| 56 | /-- Lift the actual operator composition bilinear map to the coefficient path. -/ |
| 57 | def compositionLift : C(K,E →L[ℝ] F) →L[ℝ] C(K,(U →L[ℝ] E) →L[ℝ] U →L[ℝ] F) := |
| 58 | (compL ℝ U E F).compLeftContinuous ℝ K |
| 59 | |
| 60 | include U E F in |
| 61 | theorem compositionLift_norm : ‖compositionLift (K := K) (U := U) (E := E) (F := F)‖ ≤ 1 := |
| 62 | (postcomposition_norm (K := K) (compL ℝ U E F)).trans (norm_compL_le ℝ U E F) |
| 63 | |
| 64 | /-- Literal pointwise composition of two continuous coefficient paths. -/ |
| 65 | def compose (A : C(K,E →L[ℝ] F)) (B : C(K,U →L[ℝ] E)) : C(K,U →L[ℝ] F) := |
| 66 | multiplier (compositionLift A) B |
| 67 | |
| 68 | @[simp] theorem compose_apply (A : C(K,E →L[ℝ] F)) (B : C(K,U →L[ℝ] E)) (t : K) : |
| 69 | compose A B t = (A t).comp (B t) := rfl |
| 70 | |
| 71 | variable {P : Type*} [NormedAddCommGroup P] [NormedSpace ℝ P] |
| 72 | |
| 73 | /-- Actual uniform-norm smoothness of pointwise composition. -/ |
| 74 | theorem contDiff_compose (A : P → C(K,E →L[ℝ] F)) (B : P → C(K,U →L[ℝ] E)) |
| 75 | {n : ℕ∞ω} (hA : ContDiff ℝ n A) (hB : ContDiff ℝ n B) : |
| 76 | ContDiff ℝ n (fun x => compose (A x) (B x)) := by |
| 77 | have hLift : ContDiff ℝ n (fun x => compositionLift (U := U) (A x)) := |
| 78 | ContDiff.comp (g := compositionLift (K := K) (U := U) (E := E) (F := F)) (f := A) |
| 79 | (ContinuousLinearMap.contDiff (𝕜 := ℝ) (n := n) |
| 80 | (E := C(K,E →L[ℝ] F)) (F := C(K,(U →L[ℝ] E) →L[ℝ] U →L[ℝ] F)) |
| 81 | (compositionLift (K := K) (U := U) (E := E) (F := F))) hA |
| 82 | exact contDiff_apply (fun x => compositionLift (U := U) (A x)) B hLift hB |
| 83 | |
| 84 | /-- Pointwise composition has the same fixed factorial product constant. -/ |
| 85 | theorem compose_bound (A : P → C(K,E →L[ℝ] F)) (B : P → C(K,U →L[ℝ] E)) |
| 86 | (hA : ContDiff ℝ ∞ A) (hB : ContDiff ℝ ∞ B) |
| 87 | (R C D : ℝ) (hR : 0 ≤ R) (hC : 0 ≤ C) (hD : 0 ≤ D) (c d : ℕ) |
| 88 | (hbA : ∀ n x, ‖iteratedFDeriv ℝ n A x‖ ≤ C*majorant R c n) |
| 89 | (hbB : ∀ n x, ‖iteratedFDeriv ℝ n B x‖ ≤ D*majorant R d n) |
| 90 | (n : ℕ) (x : P) : |
| 91 | ‖iteratedFDeriv ℝ n (fun y => compose (A y) (B y)) x‖ ≤ |
| 92 | (3*C*D)*majorant R (c+d) n := by |
| 93 | have hLift : ContDiff ℝ ∞ (fun x => compositionLift (U := U) (A x)) := |
| 94 | ContDiff.comp (g := compositionLift (K := K) (U := U) (E := E) (F := F)) (f := A) |
| 95 | (ContinuousLinearMap.contDiff (𝕜 := ℝ) (n := ∞) |
| 96 | (E := C(K,E →L[ℝ] F)) (F := C(K,(U →L[ℝ] E) →L[ℝ] U →L[ℝ] F)) |
| 97 | (compositionLift (K := K) (U := U) (E := E) (F := F))) hA |
| 98 | have hbLift := contraction_bound (compositionLift (K := K) (U := U) (E := E) (F := F)) |
| 99 | compositionLift_norm A hA R C hR hC c hbA |
| 100 | exact apply_bound (fun y => compositionLift (U := U) (A y)) B hLift hB |
| 101 | R C D hR hC hD c d hbLift hbB n x |
| 102 | |
| 103 | end Normed |
| 104 | |
| 105 | section Hilbert |
| 106 | |
| 107 | variable {U E : Type*} |
| 108 | [NormedAddCommGroup U] [InnerProductSpace ℝ U] [CompleteSpace U] |
| 109 | [NormedAddCommGroup E] [InnerProductSpace ℝ E] [CompleteSpace E] |
| 110 | |
| 111 | private local instance : NormedAddCommGroup (U →L[ℝ] E) := inferInstance |
| 112 | private local instance : NormedSpace ℝ (U →L[ℝ] E) := inferInstance |
| 113 | private local instance : NormedAddCommGroup (E →L[ℝ] U) := inferInstance |
| 114 | private local instance : NormedSpace ℝ (E →L[ℝ] U) := inferInstance |
| 115 | private local instance : NormedAddCommGroup C(K,U →L[ℝ] E) := inferInstance |
| 116 | private local instance : NormedSpace ℝ C(K,U →L[ℝ] E) := inferInstance |
| 117 | private local instance : NormedAddCommGroup C(K,E →L[ℝ] U) := inferInstance |
| 118 | private local instance : NormedSpace ℝ C(K,E →L[ℝ] U) := inferInstance |
| 119 | |
| 120 | /-- Actual adjoint at every parameter in the compact path domain. -/ |
| 121 | def adjointMap : C(K,U →L[ℝ] E) →L[ℝ] C(K,E →L[ℝ] U) := |
| 122 | (realAdjoint (U := U) (E := E)).compLeftContinuous ℝ K |
| 123 | |
| 124 | omit [CompactSpace K] in |
| 125 | @[simp] theorem adjointMap_apply (A : C(K,U →L[ℝ] E)) (t : K) : |
| 126 | adjointMap A t = (A t).adjoint := rfl |
| 127 | |
| 128 | theorem adjointMap_norm : ‖adjointMap (K := K) (U := U) (E := E)‖ ≤ 1 := by |
| 129 | apply (postcomposition_norm (K := K) (realAdjoint (U := U) (E := E))).trans |
| 130 | apply opNorm_le_bound _ zero_le_one |
| 131 | intro A |
| 132 | change ‖A.adjoint‖ ≤ (1 : ℝ)*‖A‖ |
| 133 | simp only [LinearIsometryEquiv.norm_map, one_mul, le_refl] |
| 134 | |
| 135 | variable {P : Type*} [NormedAddCommGroup P] [NormedSpace ℝ P] |
| 136 | |
| 137 | theorem contDiff_adjoint (A : P → C(K,U →L[ℝ] E)) {n : ℕ∞ω} (hA : ContDiff ℝ n A) : |
| 138 | ContDiff ℝ n (fun x => adjointMap (A x)) := |
| 139 | ContDiff.comp (g := adjointMap (K := K) (U := U) (E := E)) (f := A) |
| 140 | (ContinuousLinearMap.contDiff (𝕜 := ℝ) (n := n) |
| 141 | (E := C(K,U →L[ℝ] E)) (F := C(K,E →L[ℝ] U)) |
| 142 | (adjointMap (K := K) (U := U) (E := E))) hA |
| 143 | |
| 144 | theorem adjoint_bound (A : P → C(K,U →L[ℝ] E)) (hA : ContDiff ℝ ∞ A) |
| 145 | (R C : ℝ) (hR : 0 ≤ R) (hC : 0 ≤ C) (d : ℕ) |
| 146 | (hb : ∀ n x, ‖iteratedFDeriv ℝ n A x‖ ≤ C*majorant R d n) (n : ℕ) (x : P) : |
| 147 | ‖iteratedFDeriv ℝ n (fun y => adjointMap (A y)) x‖ ≤ C*majorant R d n := |
| 148 | contraction_bound (adjointMap (K := K) (U := U) (E := E)) adjointMap_norm A hA R C hR hC d hb n x |
| 149 | |
| 150 | end Hilbert |
| 151 | |
| 152 | end EulerContinuousPathComposition |