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.CylinderDirichletNaturality |
| 2 | import Euler.CylinderAngleAverage |
| 3 | import Euler.TimeLpLinearity |
| 4 | |
| 5 | /-! |
| 6 | # Actual zero angular mean of the history solution |
| 7 | |
| 8 | Angle-independent coefficients commute with the genuine cylinder average, |
| 9 | including the adjoint test maps. The constructed inverse and its continuous |
| 10 | velocity therefore preserve zero mean. No pointwise mean condition is assumed |
| 11 | on the solution. |
| 12 | -/ |
| 13 | |
| 14 | noncomputable section |
| 15 | |
| 16 | namespace EulerLpCylinderRectangular |
| 17 | |
| 18 | open Set MeasureTheory ContinuousLinearMap InnerProductSpace EulerSmoothLimit |
| 19 | EulerLiftedGradientSpace EulerLpCylinderTranslation EulerCylinderAngleAverage |
| 20 | EulerBoundedFieldCalculus |
| 21 | open scoped BoundedContinuousFunction |
| 22 | |
| 23 | variable (P : ℝ) [Fact (0 < P)] {U E : Type*} |
| 24 | [NormedAddCommGroup U] [InnerProductSpace ℝ U] [CompleteSpace U] |
| 25 | [NormedAddCommGroup E] [InnerProductSpace ℝ E] [CompleteSpace E] |
| 26 | |
| 27 | theorem fullOperatorMap_adjoint (Q : Space →ᵇ U →L[ℝ] E) : |
| 28 | (fullOperatorMap P Q).adjoint = fullOperatorMap P (adjointMap Q) := by |
| 29 | change (EulerLpOperatorField.full (liftMeasure P) (fieldLift P Q)).adjoint = _ |
| 30 | rw [EulerLpOperatorField.full_adjoint] |
| 31 | rfl |
| 32 | |
| 33 | theorem average_fullOperator_back (Q : Space →ᵇ U →L[ℝ] E) (u : CylinderL2 P U) : |
| 34 | fullOperatorMap P Q ((average P).adjoint u) = |
| 35 | (average P).adjoint (fullOperatorMap P Q u) := by |
| 36 | have hc (v : CylinderL2 P E) : |
| 37 | average P ((fullOperatorMap P Q).adjoint v) = |
| 38 | (fullOperatorMap P Q).adjoint (average P v) := by |
| 39 | rw [fullOperatorMap_adjoint] |
| 40 | exact average_fullOperator P (adjointMap Q) v |
| 41 | apply ext_inner_right ℝ |
| 42 | intro v |
| 43 | calc |
| 44 | ⟪fullOperatorMap P Q ((average P).adjoint u),v⟫_ℝ = |
| 45 | ⟪(average P).adjoint u,(fullOperatorMap P Q).adjoint v⟫_ℝ := |
| 46 | (adjoint_inner_right (fullOperatorMap P Q) _ _).symm |
| 47 | _ = ⟪u,average P ((fullOperatorMap P Q).adjoint v)⟫_ℝ := adjoint_inner_left _ _ _ |
| 48 | _ = ⟪u,(fullOperatorMap P Q).adjoint (average P v)⟫_ℝ := congrArg (inner ℝ u) (hc v) |
| 49 | _ = ⟪fullOperatorMap P Q u,average P v⟫_ℝ := adjoint_inner_right _ _ _ |
| 50 | _ = ⟪(average P).adjoint (fullOperatorMap P Q u),v⟫_ℝ := (adjoint_inner_left _ _ _).symm |
| 51 | |
| 52 | end EulerLpCylinderRectangular |
| 53 | |
| 54 | namespace EulerCylinderDirichlet.Coefficients |
| 55 | |
| 56 | open Set MeasureTheory ContinuousLinearMap InnerProductSpace EulerLpCylinderTranslation |
| 57 | EulerLpCylinderRectangular EulerCylinderAngleAverage EulerTimeLp EulerTimeLpBoundedMap |
| 58 | EulerTransverseGramInverse |
| 59 | |
| 60 | variable (P : ℝ) [Fact (0 < P)] {T : ℝ} {U E : Type*} |
| 61 | [NormedAddCommGroup U] [InnerProductSpace ℝ U] [CompleteSpace U] |
| 62 | [NormedAddCommGroup E] [InnerProductSpace ℝ E] [CompleteSpace E] |
| 63 | (D : Coefficients T U E) |
| 64 | |
| 65 | theorem velocityPath_average (f : TimeLp T (CylinderL2 P E)) (t : Icc (0 : ℝ) T) : |
| 66 | D.velocityPath P (timeLift T (average P) f) t = average P (D.velocityPath P f t) := |
| 67 | D.velocityPath_intertwines P D (average P) (average P) |
| 68 | (fun t u => (average_fullOperator P (D.Q t) u).symm) |
| 69 | (fun t u => (average_fullOperator P (D.Q₁ t) u).symm) |
| 70 | (fun t u => average_fullOperator_back P (D.Q t) u) |
| 71 | (fun t u => average_fullOperator_back P (D.Q₁ t) u) |
| 72 | (fun t u => (average_fullOperator P (D.H t) u).symm) f t |
| 73 | |
| 74 | theorem accelerationPath_average (f : C(Icc (0 : ℝ) T,CylinderL2 P E)) (t : Icc (0 : ℝ) T) : |
| 75 | D.accelerationPath P (pathAverage P f) t = average P (D.accelerationPath P f t) := |
| 76 | D.accelerationPath_intertwines P D (average P) (average P) |
| 77 | (fun t u => (average_fullOperator P (D.Q t) u).symm) |
| 78 | (fun t u => (average_fullOperator P (D.Q₁ t) u).symm) |
| 79 | (fun t u => average_fullOperator_back P (D.Q t) u) |
| 80 | (fun t u => average_fullOperator_back P (D.Q₁ t) u) |
| 81 | (fun t u => (average_fullOperator P (D.H t) u).symm) f t |
| 82 | |
| 83 | theorem physicalVelocity_average (f : C(Icc (0 : ℝ) T,CylinderL2 P E)) (t : Icc (0 : ℝ) T) : |
| 84 | D.physicalVelocity P (pathAverage P f) t = average P (D.physicalVelocity P f t) := |
| 85 | D.physicalVelocity_intertwines P D (average P) (average P) |
| 86 | (fun t u => (average_fullOperator P (D.Q t) u).symm) |
| 87 | (fun t u => (average_fullOperator P (D.Q₁ t) u).symm) |
| 88 | (fun t u => average_fullOperator_back P (D.Q t) u) |
| 89 | (fun t u => average_fullOperator_back P (D.Q₁ t) u) |
| 90 | (fun t u => (average_fullOperator P (D.H t) u).symm) f t |
| 91 | |
| 92 | theorem physicalDerivative_average (f : C(Icc (0 : ℝ) T,CylinderL2 P E)) (t : Icc (0 : ℝ) T) : |
| 93 | D.physicalDerivative P (pathAverage P f) t = average P (D.physicalDerivative P f t) := |
| 94 | D.physicalDerivative_intertwines P D (average P) (average P) |
| 95 | (fun t u => (average_fullOperator P (D.Q t) u).symm) |
| 96 | (fun t u => (average_fullOperator P (D.Q₁ t) u).symm) |
| 97 | (fun t u => average_fullOperator_back P (D.Q t) u) |
| 98 | (fun t u => average_fullOperator_back P (D.Q₁ t) u) |
| 99 | (fun t u => (average_fullOperator P (D.H t) u).symm) f t |
| 100 | |
| 101 | theorem accelerationPath_zero (t : Icc (0 : ℝ) T) : D.accelerationPath P 0 t = 0 := by |
| 102 | have hz : pathLp T D.time_pos.le (0 : C(Icc (0 : ℝ) T,CylinderL2 P E)) = 0 := |
| 103 | map_zero (pathLpOperator T D.time_pos.le) |
| 104 | change gramInverse (D.frame P t) D.lower D.lower_pos (D.frame_lower P t) |
| 105 | ((D.frame P t).adjoint (0-(2 : ℝ) • D.frameDerivative P t |
| 106 | (D.velocityPath P (pathLp T D.time_pos.le 0) t))) = 0 |
| 107 | rw [hz] |
| 108 | simp only [map_zero,ContinuousMap.zero_apply,smul_zero,sub_zero] |
| 109 | |
| 110 | theorem physicalVelocity_zero (t : Icc (0 : ℝ) T) : D.physicalVelocity P 0 t = 0 := by |
| 111 | have hz : pathLp T D.time_pos.le (0 : C(Icc (0 : ℝ) T,CylinderL2 P E)) = 0 := |
| 112 | map_zero (pathLpOperator T D.time_pos.le) |
| 113 | change D.frame P t (D.velocityPath P (pathLp T D.time_pos.le 0) t) = 0 |
| 114 | rw [hz] |
| 115 | simp only [map_zero,ContinuousMap.zero_apply] |
| 116 | |
| 117 | theorem physicalDerivative_zero (t : Icc (0 : ℝ) T) : D.physicalDerivative P 0 t = 0 := by |
| 118 | have hz : pathLp T D.time_pos.le (0 : C(Icc (0 : ℝ) T,CylinderL2 P E)) = 0 := |
| 119 | map_zero (pathLpOperator T D.time_pos.le) |
| 120 | change D.frameDerivative P t (D.velocityPath P (pathLp T D.time_pos.le 0) t)+ |
| 121 | D.frame P t (D.accelerationPath P 0 t) = 0 |
| 122 | rw [hz,D.accelerationPath_zero P t] |
| 123 | simp only [map_zero,ContinuousMap.zero_apply,add_zero] |
| 124 | |
| 125 | variable (f : C(Icc (0 : ℝ) T,CylinderL2 P E)) (hf : ∀ t, average P (f t) = 0) |
| 126 | |
| 127 | omit [CompleteSpace E] in |
| 128 | include hf in |
| 129 | private theorem averagedPath_zero : pathAverage P f = 0 := by |
| 130 | apply ContinuousMap.ext |
| 131 | intro t |
| 132 | exact hf t |
| 133 | |
| 134 | include hf in |
| 135 | theorem velocityPath_mean_zero (t : Icc (0 : ℝ) T) : |
| 136 | average P (D.velocityPath P (pathLp T D.time_pos.le f) t) = 0 := by |
| 137 | have hz : timeLift T (average P) (pathLp T D.time_pos.le f) = 0 := by |
| 138 | rw [← pathLp_timeLift] |
| 139 | change pathLp T D.time_pos.le (pathAverage P f) = 0 |
| 140 | rw [averagedPath_zero P f hf] |
| 141 | exact map_zero (pathLpOperator T D.time_pos.le) |
| 142 | have h := D.velocityPath_average P (pathLp T D.time_pos.le f) t |
| 143 | rw [hz,map_zero,ContinuousMap.zero_apply] at h |
| 144 | exact h.symm |
| 145 | |
| 146 | include hf in |
| 147 | theorem accelerationPath_mean_zero (t : Icc (0 : ℝ) T) : |
| 148 | average P (D.accelerationPath P f t) = 0 := by |
| 149 | rw [← D.accelerationPath_average P f t,averagedPath_zero P f hf,D.accelerationPath_zero P t] |
| 150 | |
| 151 | include hf in |
| 152 | theorem physicalVelocity_mean_zero (t : Icc (0 : ℝ) T) : |
| 153 | average P (D.physicalVelocity P f t) = 0 := by |
| 154 | rw [← D.physicalVelocity_average P f t,averagedPath_zero P f hf,D.physicalVelocity_zero P t] |
| 155 | |
| 156 | include hf in |
| 157 | theorem physicalDerivative_mean_zero (t : Icc (0 : ℝ) T) : |
| 158 | average P (D.physicalDerivative P f t) = 0 := by |
| 159 | rw [← D.physicalDerivative_average P f t,averagedPath_zero P f hf,D.physicalDerivative_zero P t] |
| 160 | |
| 161 | end EulerCylinderDirichlet.Coefficients |