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.TerminalTimePrimitive |
| 2 | |
| 3 | /-! |
| 4 | # Spatial bounded maps on genuine Bochner time spaces |
| 5 | |
| 6 | A bounded spatial map acts on each time slice. The lift commutes with actual |
| 7 | terminal integration and initial trace. These identities let spatial |
| 8 | translations and their difference quotients act on a fixed time Hilbert space. |
| 9 | -/ |
| 10 | |
| 11 | noncomputable section |
| 12 | |
| 13 | namespace EulerTimeLpBoundedMap |
| 14 | |
| 15 | open MeasureTheory Set InnerProductSpace ContinuousLinearMap EulerTimeLp |
| 16 | EulerTerminalTimePrimitive |
| 17 | |
| 18 | variable {E F G : Type*} |
| 19 | [NormedAddCommGroup E] [NormedSpace ℝ E] |
| 20 | [NormedAddCommGroup F] [NormedSpace ℝ F] |
| 21 | [NormedAddCommGroup G] [NormedSpace ℝ G] |
| 22 | |
| 23 | /-- The actual pointwise lift of a bounded spatial map to Bochner L² time. -/ |
| 24 | def timeLift (T : ℝ) (A : E →L[ℝ] F) : TimeLp T E →L[ℝ] TimeLp T F := |
| 25 | A.compLpL 2 (timeMeasure T) |
| 26 | |
| 27 | theorem timeLift_ae (T : ℝ) (A : E →L[ℝ] F) (u : TimeLp T E) : |
| 28 | timeLift T A u =ᵐ[timeMeasure T] fun t => A (u t) := A.coeFn_compLpL u |
| 29 | |
| 30 | theorem timeLift_norm_le (T : ℝ) (A : E →L[ℝ] F) : ‖timeLift T A‖ ≤ ‖A‖ := |
| 31 | A.norm_compLpL_le |
| 32 | |
| 33 | theorem timeLift_apply_norm_le (T : ℝ) (A : E →L[ℝ] F) (u : TimeLp T E) : |
| 34 | ‖timeLift T A u‖ ≤ ‖A‖*‖u‖ := A.norm_compLp_le u |
| 35 | |
| 36 | theorem timeLift_add (T : ℝ) (A B : E →L[ℝ] F) : |
| 37 | timeLift T (A+B) = timeLift T A + timeLift T B := A.add_compLpL B |
| 38 | |
| 39 | theorem timeLift_smul (T : ℝ) (c : ℝ) (A : E →L[ℝ] F) : |
| 40 | timeLift T (c • A) = c • timeLift T A := A.smul_compLpL c |
| 41 | |
| 42 | theorem timeLift_comp (T : ℝ) (A : F →L[ℝ] G) (B : E →L[ℝ] F) : |
| 43 | timeLift T (A.comp B) = (timeLift T A).comp (timeLift T B) := by |
| 44 | apply ContinuousLinearMap.ext |
| 45 | intro u |
| 46 | apply Lp.ext |
| 47 | filter_upwards [timeLift_ae T (A.comp B) u, |
| 48 | timeLift_ae T A (timeLift T B u), timeLift_ae T B u] with t hab ha hb |
| 49 | exact hab.trans ((congrArg A hb).symm.trans ha.symm) |
| 50 | |
| 51 | theorem timeLift_id (T : ℝ) : timeLift T (ContinuousLinearMap.id ℝ E) = |
| 52 | ContinuousLinearMap.id ℝ (TimeLp T E) := by |
| 53 | apply ContinuousLinearMap.ext |
| 54 | intro u |
| 55 | exact Lp.ext (timeLift_ae T (ContinuousLinearMap.id ℝ E) u) |
| 56 | |
| 57 | theorem zeroExtension_timeLift (T : ℝ) (A : E →L[ℝ] F) (u : TimeLp T E) : |
| 58 | zeroExtension T (timeLift T A u) =ᵐ[volume] fun t => A (zeroExtension T u t) := by |
| 59 | have h := (ae_eq_restrict_iff_indicator_ae_eq measurableSet_Icc).1 (timeLift_ae T A u) |
| 60 | filter_upwards [h] with t ht |
| 61 | by_cases hmem : t ∈ Icc (0 : ℝ) T |
| 62 | · simpa only [zeroExtension, indicator_of_mem hmem] using ht |
| 63 | · simp only [zeroExtension, indicator_of_notMem hmem, map_zero] |
| 64 | |
| 65 | /-- An isometric spatial map remains isometric on the actual time space. -/ |
| 66 | theorem timeLift_norm_map (T : ℝ) (A : E →L[ℝ] F) |
| 67 | (hA : ∀ x, ‖A x‖ = ‖x‖) (u : TimeLp T E) : ‖timeLift T A u‖ = ‖u‖ := by |
| 68 | have he : ∀ᵐ t ∂timeMeasure T, ‖timeLift T A u t‖ = ‖u t‖ := by |
| 69 | filter_upwards [timeLift_ae T A u] with t ht |
| 70 | exact (congrArg norm ht).trans (hA (u t)) |
| 71 | exact le_antisymm (Lp.norm_le_norm_of_ae_le (he.mono (fun _ h => h.le))) |
| 72 | (Lp.norm_le_norm_of_ae_le (he.mono (fun _ h => h.ge))) |
| 73 | |
| 74 | /-- The actual pointwise lift of a linear spatial isometry. -/ |
| 75 | def timeLiftIsometry (T : ℝ) (A : E →ₗᵢ[ℝ] F) : TimeLp T E →ₗᵢ[ℝ] TimeLp T F where |
| 76 | toLinearMap := (timeLift T A.toContinuousLinearMap).toLinearMap |
| 77 | norm_map' := timeLift_norm_map T A.toContinuousLinearMap A.norm_map |
| 78 | |
| 79 | /-- Bounded spatial maps commute with the genuine Bochner terminal primitive. -/ |
| 80 | theorem realPrimitive_timeLift [CompleteSpace E] [CompleteSpace F] (T : ℝ) (A : E →L[ℝ] F) |
| 81 | (u : TimeLp T E) (t : ℝ) : |
| 82 | realPrimitive T (timeLift T A u) t = A (realPrimitive T u t) := by |
| 83 | change (∫ r in T..t, zeroExtension T (timeLift T A u) r) = |
| 84 | A (∫ r in T..t, zeroExtension T u r) |
| 85 | have h : (∫ r in T..t, zeroExtension T (timeLift T A u) r) = |
| 86 | ∫ r in T..t, A (zeroExtension T u r) := by |
| 87 | apply intervalIntegral.integral_congr_ae |
| 88 | filter_upwards [zeroExtension_timeLift T A u] with r hr |
| 89 | exact fun _ => hr |
| 90 | exact h.trans (A.intervalIntegral_comp_comm (zeroExtension_integrable T u).intervalIntegrable) |
| 91 | |
| 92 | /-- The terminal-zero normalization is preserved by every bounded spatial map. -/ |
| 93 | theorem initialTrace_timeLift [CompleteSpace E] [CompleteSpace F] (T : ℝ) (hT : 0 ≤ T) |
| 94 | (A : E →L[ℝ] F) (u : TimeLp T E) : |
| 95 | initialTrace T hT (timeLift T A u) = A (initialTrace T hT u) := |
| 96 | realPrimitive_timeLift T A u 0 |
| 97 | |
| 98 | /-- Commutation also holds as an equality of actual Bochner L² fields. -/ |
| 99 | theorem primitiveTimeLp_timeLift [CompleteSpace E] [CompleteSpace F] (T : ℝ) (hT : 0 ≤ T) |
| 100 | (A : E →L[ℝ] F) (u : TimeLp T E) : |
| 101 | primitiveTimeLp T hT (timeLift T A u) = timeLift T A (primitiveTimeLp T hT u) := by |
| 102 | apply Lp.ext |
| 103 | filter_upwards [primitiveTimeLp_ae T hT (timeLift T A u), |
| 104 | primitiveTimeLp_ae T hT u, timeLift_ae T A (primitiveTimeLp T hT u)] with t hAu hu ha |
| 105 | exact hAu.trans ((realPrimitive_timeLift T A u t).trans ((congrArg A hu).symm.trans ha.symm)) |
| 106 | |
| 107 | section Adjoint |
| 108 | |
| 109 | variable {H K : Type*} |
| 110 | [NormedAddCommGroup H] [InnerProductSpace ℝ H] [CompleteSpace H] |
| 111 | [NormedAddCommGroup K] [InnerProductSpace ℝ K] [CompleteSpace K] |
| 112 | |
| 113 | /-- The genuine time-space adjoint acts by the spatial adjoint at each time. -/ |
| 114 | theorem timeLift_adjoint (T : ℝ) (A : H →L[ℝ] K) : |
| 115 | (timeLift T A).adjoint = timeLift T A.adjoint := by |
| 116 | apply ContinuousLinearMap.ext |
| 117 | intro u |
| 118 | apply ext_inner_right ℝ |
| 119 | intro v |
| 120 | rw [adjoint_inner_left, MeasureTheory.L2.inner_def, MeasureTheory.L2.inner_def] |
| 121 | apply integral_congr_ae |
| 122 | filter_upwards [timeLift_ae T A v, timeLift_ae T A.adjoint u] with t ha hadj |
| 123 | rw [ha, hadj, adjoint_inner_left] |
| 124 | |
| 125 | end Adjoint |
| 126 | |
| 127 | end EulerTimeLpBoundedMap |