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.CylinderAngleAverage |
| 2 | import Euler.LpCylinderCoefficientTime |
| 3 | import Euler.LinearDuhamelNaturality |
| 4 | import Euler.LinearDuhamelOperator |
| 5 | |
| 6 | /-! The actual supported Duhamel solution preserves zero angular mean. -/ |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | namespace EulerCylinderAngleAverage |
| 11 | |
| 12 | open Set MeasureTheory ContinuousLinearMap EulerSmoothLimit EulerLiftedGradientSpace |
| 13 | EulerLpCylinderTranslation EulerLpCylinderPaths EulerLpCylinderRectangular |
| 14 | EulerLpCylinderCoefficients EulerLinearDuhamel |
| 15 | open scoped BoundedContinuousFunction |
| 16 | |
| 17 | variable (P : ℝ) [Fact (0 < P)] |
| 18 | |
| 19 | section Coefficients |
| 20 | |
| 21 | variable {E F : Type*} [NormedAddCommGroup E] [InnerProductSpace ℝ E] [CompleteSpace E] |
| 22 | [NormedAddCommGroup F] [InnerProductSpace ℝ F] [CompleteSpace F] |
| 23 | (S : Set Space) (hS : MeasurableSet S) |
| 24 | |
| 25 | theorem supportedAverage_operator (A : Space →ᵇ E →L[ℝ] F) (u : Supported P E S hS) : |
| 26 | supportedAverage P S hS (supportedOperatorMap P S hS A u) = |
| 27 | supportedOperatorMap P S hS A (supportedAverage P S hS u) := by |
| 28 | apply Subtype.ext |
| 29 | exact average_fullOperator P A (u : CylinderL2 P E) |
| 30 | |
| 31 | end Coefficients |
| 32 | |
| 33 | section Paths |
| 34 | |
| 35 | variable {K V : Type*} [TopologicalSpace K] [CompactSpace K] |
| 36 | [NormedAddCommGroup V] [InnerProductSpace ℝ V] [CompleteSpace V] |
| 37 | (S : Set Space) (hS : MeasurableSet S) |
| 38 | |
| 39 | private local instance : NormedAddCommGroup (Supported P V S hS) := inferInstance |
| 40 | private local instance : NormedSpace ℝ (Supported P V S hS) := inferInstance |
| 41 | private local instance : NormedAddCommGroup C(K,Supported P V S hS) := inferInstance |
| 42 | private local instance : NormedSpace ℝ C(K,Supported P V S hS) := inferInstance |
| 43 | private local instance : NormedAddCommGroup (C(K,Supported P V S hS) →L[ℝ] C(K,Supported P V S hS)) := inferInstance |
| 44 | private local instance : NormedSpace ℝ (C(K,Supported P V S hS) →L[ℝ] C(K,Supported P V S hS)) := inferInstance |
| 45 | |
| 46 | def supportedPathAverage : C(K,Supported P V S hS) →L[ℝ] C(K,Supported P V S hS) := |
| 47 | (supportedAverage P S hS).compLeftContinuous ℝ K |
| 48 | |
| 49 | omit [CompactSpace K] in |
| 50 | @[simp] theorem supportedPathAverage_apply (p : C(K,Supported P V S hS)) (t : K) : |
| 51 | supportedPathAverage P S hS p t = supportedAverage P S hS (p t) := rfl |
| 52 | |
| 53 | omit [CompactSpace K] in |
| 54 | theorem include_supportedPathAverage (p : C(K,Supported P V S hS)) : |
| 55 | includePath P S hS (supportedPathAverage P S hS p) = pathAverage P (includePath P S hS p) := rfl |
| 56 | |
| 57 | theorem supportedPathAverage_norm : ‖supportedPathAverage (K := K) (V := V) P S hS‖ ≤ 1 := by |
| 58 | apply opNorm_le_bound _ zero_le_one |
| 59 | intro p |
| 60 | rw [one_mul] |
| 61 | apply (ContinuousMap.norm_le _ (norm_nonneg p)).mpr |
| 62 | intro t |
| 63 | exact (averageIntegral_norm P (p t : CylinderL2 P V)).trans (p.norm_coe_le_norm t) |
| 64 | |
| 65 | end Paths |
| 66 | |
| 67 | section Evolution |
| 68 | |
| 69 | variable {V : Type*} [NormedAddCommGroup V] [InnerProductSpace ℝ V] [CompleteSpace V] |
| 70 | (S : Set Space) (hS : MeasurableSet S) (T : ℝ) (hT : 0 ≤ T) |
| 71 | (B : C(Icc (0 : ℝ) T,Space →ᵇ V →L[ℝ] V)) |
| 72 | (U : Evolution T hT (liftedOperatorPath P S hS T B)) |
| 73 | |
| 74 | /-- Averaging the genuine forced solution equals solving with averaged data. -/ |
| 75 | theorem solution_average (f : C(Icc (0 : ℝ) T,Supported P V S hS)) (a₀ : Supported P V S hS) : |
| 76 | supportedPathAverage P S hS (U.solution f a₀) = |
| 77 | U.solution (supportedPathAverage P S hS f) (supportedAverage P S hS a₀) := by |
| 78 | apply (U.solution_map U (supportedAverage P S hS) _ f a₀).symm |
| 79 | intro t u |
| 80 | change liftedOperator P S hS (B t) (supportedAverage P S hS u) = |
| 81 | supportedAverage P S hS (liftedOperator P S hS (B t) u) |
| 82 | rw [← supportedOperator_eq_square] |
| 83 | exact (supportedAverage_operator P S hS (B t) u).symm |
| 84 | |
| 85 | /-- Zero mean of the data propagates by the proved uniqueness of the actual ODE. -/ |
| 86 | theorem solution_average_zero (f : C(Icc (0 : ℝ) T,Supported P V S hS)) |
| 87 | (a₀ : Supported P V S hS) |
| 88 | (hf : ∀ t, supportedAverage P S hS (f t) = 0) |
| 89 | (ha₀ : supportedAverage P S hS a₀ = 0) (t : Icc (0 : ℝ) T) : |
| 90 | supportedAverage P S hS (U.solution f a₀ t) = 0 := by |
| 91 | have hfp : supportedPathAverage P S hS f = 0 := by |
| 92 | apply ContinuousMap.ext |
| 93 | exact hf |
| 94 | have he := solution_average P S hS T hT B U f a₀ |
| 95 | have hz : U.solution 0 0 = 0 := by |
| 96 | rw [U.solution_eq_operators, map_zero, map_zero, add_zero] |
| 97 | rw [hfp, ha₀, hz] at he |
| 98 | exact congrArg (fun p : C(Icc (0 : ℝ) T,Supported P V S hS) => p t) he |
| 99 | |
| 100 | /-- The same theorem in the ordinary cylinder L² space used by the classical representatives. -/ |
| 101 | theorem solution_full_average_zero (f : C(Icc (0 : ℝ) T,Supported P V S hS)) |
| 102 | (a₀ : Supported P V S hS) |
| 103 | (hf : ∀ t, average P (f t : CylinderL2 P V) = 0) |
| 104 | (ha₀ : average P (a₀ : CylinderL2 P V) = 0) (t : Icc (0 : ℝ) T) : |
| 105 | average P (U.solution f a₀ t : CylinderL2 P V) = 0 := by |
| 106 | have hs := solution_average_zero P S hS T hT B U f a₀ |
| 107 | (fun s => Subtype.ext (hf s)) (Subtype.ext ha₀) t |
| 108 | exact congrArg (fun u : Supported P V S hS => (u : CylinderL2 P V)) hs |
| 109 | |
| 110 | end Evolution |
| 111 | end EulerCylinderAngleAverage |