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 zeroExtension_timeLift (T : ℝ) (A : E →L[ℝ] F) (u : TimeLp T E) : |
| 31 | zeroExtension T (timeLift T A u) =ᵐ[volume] fun t => A (zeroExtension T u t) := by |
| 32 | have h := (ae_eq_restrict_iff_indicator_ae_eq measurableSet_Icc).1 (timeLift_ae T A u) |
| 33 | filter_upwards [h] with t ht |
| 34 | by_cases hmem : t ∈ Icc (0 : ℝ) T |
| 35 | · simpa only [zeroExtension, indicator_of_mem hmem] using ht |
| 36 | · simp only [zeroExtension, indicator_of_notMem hmem, map_zero] |
| 37 | |
| 38 | /-- An isometric spatial map remains isometric on the actual time space. -/ |
| 39 | theorem timeLift_norm_map (T : ℝ) (A : E →L[ℝ] F) |
| 40 | (hA : ∀ x, ‖A x‖ = ‖x‖) (u : TimeLp T E) : ‖timeLift T A u‖ = ‖u‖ := by |
| 41 | have he : ∀ᵐ t ∂timeMeasure T, ‖timeLift T A u t‖ = ‖u t‖ := by |
| 42 | filter_upwards [timeLift_ae T A u] with t ht |
| 43 | exact (congrArg norm ht).trans (hA (u t)) |
| 44 | exact le_antisymm (Lp.norm_le_norm_of_ae_le (he.mono (fun _ h => h.le))) |
| 45 | (Lp.norm_le_norm_of_ae_le (he.mono (fun _ h => h.ge))) |
| 46 | |
| 47 | /-- The actual pointwise lift of a linear spatial isometry. -/ |
| 48 | def timeLiftIsometry (T : ℝ) (A : E →ₗᵢ[ℝ] F) : TimeLp T E →ₗᵢ[ℝ] TimeLp T F where |
| 49 | toLinearMap := (timeLift T A.toContinuousLinearMap).toLinearMap |
| 50 | norm_map' := timeLift_norm_map T A.toContinuousLinearMap A.norm_map |
| 51 | |
| 52 | /-- Bounded spatial maps commute with the genuine Bochner terminal primitive. -/ |
| 53 | theorem realPrimitive_timeLift [CompleteSpace E] [CompleteSpace F] (T : ℝ) (A : E →L[ℝ] F) |
| 54 | (u : TimeLp T E) (t : ℝ) : |
| 55 | realPrimitive T (timeLift T A u) t = A (realPrimitive T u t) := by |
| 56 | change (∫ r in T..t, zeroExtension T (timeLift T A u) r) = |
| 57 | A (∫ r in T..t, zeroExtension T u r) |
| 58 | have h : (∫ r in T..t, zeroExtension T (timeLift T A u) r) = |
| 59 | ∫ r in T..t, A (zeroExtension T u r) := by |
| 60 | apply intervalIntegral.integral_congr_ae |
| 61 | filter_upwards [zeroExtension_timeLift T A u] with r hr |
| 62 | exact fun _ => hr |
| 63 | exact h.trans (A.intervalIntegral_comp_comm (zeroExtension_integrable T u).intervalIntegrable) |
| 64 | |
| 65 | /-- The terminal-zero normalization is preserved by every bounded spatial map. -/ |
| 66 | theorem initialTrace_timeLift [CompleteSpace E] [CompleteSpace F] (T : ℝ) (hT : 0 ≤ T) |
| 67 | (A : E →L[ℝ] F) (u : TimeLp T E) : |
| 68 | initialTrace T hT (timeLift T A u) = A (initialTrace T hT u) := |
| 69 | realPrimitive_timeLift T A u 0 |
| 70 | |
| 71 | /-- Commutation also holds as an equality of actual Bochner L² fields. -/ |
| 72 | theorem primitiveTimeLp_timeLift [CompleteSpace E] [CompleteSpace F] (T : ℝ) (hT : 0 ≤ T) |
| 73 | (A : E →L[ℝ] F) (u : TimeLp T E) : |
| 74 | primitiveTimeLp T hT (timeLift T A u) = timeLift T A (primitiveTimeLp T hT u) := by |
| 75 | apply Lp.ext |
| 76 | filter_upwards [primitiveTimeLp_ae T hT (timeLift T A u), |
| 77 | primitiveTimeLp_ae T hT u, timeLift_ae T A (primitiveTimeLp T hT u)] with t hAu hu ha |
| 78 | exact hAu.trans ((realPrimitive_timeLift T A u t).trans ((congrArg A hu).symm.trans ha.symm)) |
| 79 | |
| 80 | section Adjoint |
| 81 | |
| 82 | variable {H K : Type*} |
| 83 | [NormedAddCommGroup H] [InnerProductSpace ℝ H] [CompleteSpace H] |
| 84 | [NormedAddCommGroup K] [InnerProductSpace ℝ K] [CompleteSpace K] |
| 85 | |
| 86 | /-- The genuine time-space adjoint acts by the spatial adjoint at each time. -/ |
| 87 | theorem timeLift_adjoint (T : ℝ) (A : H →L[ℝ] K) : |
| 88 | (timeLift T A).adjoint = timeLift T A.adjoint := by |
| 89 | apply ContinuousLinearMap.ext |
| 90 | intro u |
| 91 | apply ext_inner_right ℝ |
| 92 | intro v |
| 93 | rw [adjoint_inner_left, MeasureTheory.L2.inner_def, MeasureTheory.L2.inner_def] |
| 94 | apply integral_congr_ae |
| 95 | filter_upwards [timeLift_ae T A v, timeLift_ae T A.adjoint u] with t ha hadj |
| 96 | rw [ha, hadj, adjoint_inner_left] |
| 97 | |
| 98 | end Adjoint |
| 99 | |
| 100 | end EulerTimeLpBoundedMap |