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 | end Paths |
| 54 | |
| 55 | section Evolution |
| 56 | |
| 57 | variable {V : Type*} [NormedAddCommGroup V] [InnerProductSpace ℝ V] [CompleteSpace V] |
| 58 | (S : Set Space) (hS : MeasurableSet S) (T : ℝ) (hT : 0 ≤ T) |
| 59 | (B : C(Icc (0 : ℝ) T,Space →ᵇ V →L[ℝ] V)) |
| 60 | (U : Evolution T hT (liftedOperatorPath P S hS T B)) |
| 61 | |
| 62 | /-- Averaging the genuine forced solution equals solving with averaged data. -/ |
| 63 | theorem solution_average (f : C(Icc (0 : ℝ) T,Supported P V S hS)) (a₀ : Supported P V S hS) : |
| 64 | supportedPathAverage P S hS (U.solution f a₀) = |
| 65 | U.solution (supportedPathAverage P S hS f) (supportedAverage P S hS a₀) := by |
| 66 | apply (U.solution_map U (supportedAverage P S hS) _ f a₀).symm |
| 67 | intro t u |
| 68 | change liftedOperator P S hS (B t) (supportedAverage P S hS u) = |
| 69 | supportedAverage P S hS (liftedOperator P S hS (B t) u) |
| 70 | rw [← supportedOperator_eq_square] |
| 71 | exact (supportedAverage_operator P S hS (B t) u).symm |
| 72 | |
| 73 | /-- Zero mean of the data propagates by the proved uniqueness of the actual ODE. -/ |
| 74 | theorem solution_average_zero (f : C(Icc (0 : ℝ) T,Supported P V S hS)) |
| 75 | (a₀ : Supported P V S hS) |
| 76 | (hf : ∀ t, supportedAverage P S hS (f t) = 0) |
| 77 | (ha₀ : supportedAverage P S hS a₀ = 0) (t : Icc (0 : ℝ) T) : |
| 78 | supportedAverage P S hS (U.solution f a₀ t) = 0 := by |
| 79 | have hfp : supportedPathAverage P S hS f = 0 := by |
| 80 | apply ContinuousMap.ext |
| 81 | exact hf |
| 82 | have he := solution_average P S hS T hT B U f a₀ |
| 83 | have hz : U.solution 0 0 = 0 := by |
| 84 | rw [U.solution_eq_operators, map_zero, map_zero, add_zero] |
| 85 | rw [hfp, ha₀, hz] at he |
| 86 | exact congrArg (fun p : C(Icc (0 : ℝ) T,Supported P V S hS) => p t) he |
| 87 | |
| 88 | /-- The same theorem in the ordinary cylinder L² space used by the classical representatives. -/ |
| 89 | theorem solution_full_average_zero (f : C(Icc (0 : ℝ) T,Supported P V S hS)) |
| 90 | (a₀ : Supported P V S hS) |
| 91 | (hf : ∀ t, average P (f t : CylinderL2 P V) = 0) |
| 92 | (ha₀ : average P (a₀ : CylinderL2 P V) = 0) (t : Icc (0 : ℝ) T) : |
| 93 | average P (U.solution f a₀ t : CylinderL2 P V) = 0 := by |
| 94 | have hs := solution_average_zero P S hS T hT B U f a₀ |
| 95 | (fun s => Subtype.ext (hf s)) (Subtype.ext ha₀) t |
| 96 | exact congrArg (fun u : Supported P V S hS => (u : CylinderL2 P V)) hs |
| 97 | |
| 98 | end Evolution |
| 99 | end EulerCylinderAngleAverage |