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.LpSmoothFieldJets |
| 2 | |
| 3 | /-! |
| 4 | # Algebra of literal smooth square-integrable spatial fields |
| 5 | |
| 6 | All jets below remain actual Fréchet derivatives. The operations preserve |
| 7 | their genuine L² classes and continuity in an external parameter. |
| 8 | -/ |
| 9 | |
| 10 | noncomputable section |
| 11 | |
| 12 | namespace EulerLpTranslation.SmoothL2Field |
| 13 | |
| 14 | open MeasureTheory ContinuousLinearMap EulerSmoothLimit Filter |
| 15 | open scoped ContDiff |
| 16 | |
| 17 | variable {V W : Type*} [NormedAddCommGroup V] [NormedSpace ℝ V] |
| 18 | [NormedAddCommGroup W] [NormedSpace ℝ W] |
| 19 | |
| 20 | def jetPostcompose (L : V →L[ℝ] W) (n : ℕ) : |
| 21 | (Space [×n]→L[ℝ] V) →L[ℝ] (Space [×n]→L[ℝ] W) := |
| 22 | compContinuousMultilinearMapL ℝ (fun _ : Fin n => Space) V W L |
| 23 | |
| 24 | def mapField (L : V →L[ℝ] W) (A : SmoothL2Field V) : SmoothL2Field W where |
| 25 | field := L ∘ A.field |
| 26 | smooth := L.contDiff.comp A.smooth |
| 27 | integrable n := (jetPostcompose L n).comp_memLp' (A.integrable n) |>.ae_eq |
| 28 | (Eventually.of_forall (fun x => (L.iteratedFDeriv_comp_left A.smooth.contDiffAt (by simp)).symm)) |
| 29 | |
| 30 | @[simp] theorem mapField_field (L : V →L[ℝ] W) (A : SmoothL2Field V) (x : Space) : |
| 31 | (mapField L A).field x = L (A.field x) := rfl |
| 32 | |
| 33 | theorem toLp_mapField (L : V →L[ℝ] W) (A : SmoothL2Field V) : |
| 34 | (mapField L A).toLp = L.compLpL 2 volume A.toLp := by |
| 35 | apply Lp.ext |
| 36 | filter_upwards [(mapField L A).toLp_ae, L.coeFn_compLpL A.toLp, A.toLp_ae] with x h₁ h₂ h₃ |
| 37 | exact h₁.trans ((congrArg L h₃).symm.trans h₂.symm) |
| 38 | |
| 39 | theorem jetLp_mapField (L : V →L[ℝ] W) (A : SmoothL2Field V) (n : ℕ) : |
| 40 | (mapField L A).jetLp n = (jetPostcompose L n).compLpL 2 volume (A.jetLp n) := by |
| 41 | apply Lp.ext |
| 42 | filter_upwards [(mapField L A).jetLp_ae n, (jetPostcompose L n).coeFn_compLpL (A.jetLp n), |
| 43 | A.jetLp_ae n] with x h₁ h₂ h₃ |
| 44 | exact h₁.trans ((L.iteratedFDeriv_comp_left (x := x) A.smooth.contDiffAt (by simp)).trans |
| 45 | ((congrArg (jetPostcompose L n) h₃).symm.trans h₂.symm)) |
| 46 | |
| 47 | def addField (A B : SmoothL2Field V) : SmoothL2Field V where |
| 48 | field := A.field+B.field |
| 49 | smooth := A.smooth.add B.smooth |
| 50 | integrable n := ((A.integrable n).add (B.integrable n)).ae_eq |
| 51 | (Eventually.of_forall (fun x => (iteratedFDeriv_add_apply (i := n) (x := x) |
| 52 | (A.smooth.contDiffAt.of_le (by simp)) (B.smooth.contDiffAt.of_le (by simp))).symm)) |
| 53 | |
| 54 | @[simp] theorem addField_field (A B : SmoothL2Field V) (x : Space) : |
| 55 | (addField A B).field x = A.field x+B.field x := rfl |
| 56 | |
| 57 | theorem toLp_addField (A B : SmoothL2Field V) : (addField A B).toLp = A.toLp+B.toLp := by |
| 58 | apply Lp.ext |
| 59 | filter_upwards [(addField A B).toLp_ae, A.toLp_ae, B.toLp_ae, |
| 60 | Lp.coeFn_add A.toLp B.toLp] with x h₁ h₂ h₃ h₄ |
| 61 | exact h₁.trans ((congrArg₂ (fun v w : V => v+w) h₂ h₃).symm.trans h₄.symm) |
| 62 | |
| 63 | theorem jetLp_addField (A B : SmoothL2Field V) (n : ℕ) : |
| 64 | (addField A B).jetLp n = A.jetLp n+B.jetLp n := by |
| 65 | apply Lp.ext |
| 66 | filter_upwards [(addField A B).jetLp_ae n, A.jetLp_ae n, B.jetLp_ae n, |
| 67 | Lp.coeFn_add (A.jetLp n) (B.jetLp n)] with x h₁ h₂ h₃ h₄ |
| 68 | have hd := iteratedFDeriv_add_apply (i := n) (x := x) |
| 69 | (A.smooth.contDiffAt.of_le (by simp)) (B.smooth.contDiffAt.of_le (by simp)) |
| 70 | exact h₁.trans (hd.trans ((congrArg₂ (fun u v : Space [×n]→L[ℝ] V => u+v) h₂ h₃).symm.trans h₄.symm)) |
| 71 | |
| 72 | def zeroField : SmoothL2Field V where |
| 73 | field := 0 |
| 74 | smooth := contDiff_const |
| 75 | integrable n := by |
| 76 | rw [iteratedFDeriv_zero] |
| 77 | exact MemLp.zero |
| 78 | |
| 79 | theorem jetLp_derivative (A : SmoothL2Field V) (n : ℕ) : |
| 80 | A.derivative.jetLp n = |
| 81 | (continuousMultilinearCurryRightEquiv' ℝ n Space V).toContinuousLinearEquiv.toContinuousLinearMap.compLpL |
| 82 | 2 volume (A.jetLp (n+1)) := by |
| 83 | let L : (Space [×(n+1)]→L[ℝ] V) →L[ℝ] (Space [×n]→L[ℝ] (Space →L[ℝ] V)) := |
| 84 | (continuousMultilinearCurryRightEquiv' ℝ n Space V).toContinuousLinearEquiv.toContinuousLinearMap |
| 85 | apply Lp.ext |
| 86 | filter_upwards [A.derivative.jetLp_ae n, |
| 87 | ContinuousLinearMap.coeFn_compLpL (𝕜 := ℝ) (𝕜' := ℝ) |
| 88 | (E := Space [×(n+1)]→L[ℝ] V) (F := Space [×n]→L[ℝ] (Space →L[ℝ] V)) |
| 89 | (σ := RingHom.id ℝ) L (A.jetLp (n+1)), |
| 90 | A.jetLp_ae (n+1)] with x h₁ h₂ h₃ |
| 91 | rw [h₁, h₂, h₃, iteratedFDeriv_succ_eq_comp_right] |
| 92 | exact ((continuousMultilinearCurryRightEquiv' ℝ n Space V).apply_symm_apply _).symm |
| 93 | |
| 94 | def directionalField (A : SmoothL2Field V) (v : Space) : SmoothL2Field V := |
| 95 | mapField (ContinuousLinearMap.apply ℝ V v) A.derivative |
| 96 | |
| 97 | @[simp] theorem directionalField_field (A : SmoothL2Field V) (v x : Space) : |
| 98 | (directionalField A v).field x = fderiv ℝ A.field x v := rfl |
| 99 | |
| 100 | theorem toLp_eq_jet_zero (A : SmoothL2Field V) : |
| 101 | A.toLp = (continuousMultilinearCurryFin0 ℝ Space V).toContinuousLinearEquiv.toContinuousLinearMap.compLpL |
| 102 | 2 volume (A.jetLp 0) := by |
| 103 | let L := (continuousMultilinearCurryFin0 ℝ Space V).toContinuousLinearEquiv.toContinuousLinearMap |
| 104 | apply Lp.ext |
| 105 | filter_upwards [A.toLp_ae, L.coeFn_compLpL (A.jetLp 0), A.jetLp_ae 0] with x h₁ h₂ h₃ |
| 106 | rw [h₁, h₂, h₃, iteratedFDeriv_zero_eq_comp] |
| 107 | exact ((continuousMultilinearCurryFin0 ℝ Space V).apply_symm_apply _).symm |
| 108 | |
| 109 | variable {K : Type*} [TopologicalSpace K] |
| 110 | |
| 111 | theorem continuous_toLp (A : K → SmoothL2Field V) |
| 112 | (hA : Continuous (fun t => (A t).jetLp 0)) : Continuous (fun t => (A t).toLp) := by |
| 113 | have he : (fun t => (A t).toLp) = |
| 114 | fun t => (continuousMultilinearCurryFin0 ℝ Space V).toContinuousLinearEquiv.toContinuousLinearMap.compLpL |
| 115 | 2 volume ((A t).jetLp 0) := funext (fun t => toLp_eq_jet_zero (A t)) |
| 116 | rw [he] |
| 117 | exact ContinuousLinearMap.continuous _ |>.comp hA |
| 118 | |
| 119 | theorem continuous_jetLp_mapField (L : V →L[ℝ] W) (A : K → SmoothL2Field V) |
| 120 | (hA : ∀ n, Continuous (fun t => (A t).jetLp n)) (n : ℕ) : |
| 121 | Continuous (fun t => (mapField L (A t)).jetLp n) := by |
| 122 | have he : (fun t => (mapField L (A t)).jetLp n) = |
| 123 | fun t => (jetPostcompose L n).compLpL 2 volume ((A t).jetLp n) := |
| 124 | funext (fun t => jetLp_mapField L (A t) n) |
| 125 | rw [he] |
| 126 | exact ContinuousLinearMap.continuous _ |>.comp (hA n) |
| 127 | |
| 128 | theorem continuous_jetLp_addField (A B : K → SmoothL2Field V) |
| 129 | (hA : ∀ n, Continuous (fun t => (A t).jetLp n)) |
| 130 | (hB : ∀ n, Continuous (fun t => (B t).jetLp n)) (n : ℕ) : |
| 131 | Continuous (fun t => (addField (A t) (B t)).jetLp n) := by |
| 132 | have he : (fun t => (addField (A t) (B t)).jetLp n) = |
| 133 | (fun t => (A t).jetLp n)+(fun t => (B t).jetLp n) := |
| 134 | funext (fun t => jetLp_addField (A t) (B t) n) |
| 135 | rw [he] |
| 136 | exact (hA n).add (hB n) |
| 137 | |
| 138 | theorem continuous_jetLp_derivative (A : K → SmoothL2Field V) |
| 139 | (hA : ∀ n, Continuous (fun t => (A t).jetLp n)) (n : ℕ) : |
| 140 | Continuous (fun t => (A t).derivative.jetLp n) := by |
| 141 | have he : (fun t => (A t).derivative.jetLp n) = |
| 142 | fun t => (continuousMultilinearCurryRightEquiv' ℝ n Space V).toContinuousLinearEquiv.toContinuousLinearMap.compLpL |
| 143 | 2 volume ((A t).jetLp (n+1)) := funext (fun t => jetLp_derivative (A t) n) |
| 144 | rw [he] |
| 145 | exact ContinuousLinearMap.continuous _ |>.comp (hA (n+1)) |
| 146 | |
| 147 | theorem continuous_jetLp_directionalField (A : K → SmoothL2Field V) |
| 148 | (hA : ∀ n, Continuous (fun t => (A t).jetLp n)) (v : Space) (n : ℕ) : |
| 149 | Continuous (fun t => (directionalField (A t) v).jetLp n) := |
| 150 | continuous_jetLp_mapField (ContinuousLinearMap.apply ℝ V v) (fun t => (A t).derivative) |
| 151 | (continuous_jetLp_derivative A hA) n |
| 152 | |
| 153 | end EulerLpTranslation.SmoothL2Field |