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 NavierStokes.ActualSignedCoherence |
| 2 | |
| 3 | /-! |
| 4 | # Full-fiber coherence of the actual signed Gaussian error |
| 5 | |
| 6 | The differentiated native cutoff is transported before the copy sum is |
| 7 | taken. The source complement is retained, and the same copy index is |
| 8 | used throughout. The final field is the actual conjugate-pair Gaussian |
| 9 | block, with its full angular variable. |
| 10 | -/ |
| 11 | |
| 12 | noncomputable section |
| 13 | |
| 14 | namespace NavierStokes.ActualSignedGaussianCoherence |
| 15 | |
| 16 | open Set Function Filter HarmonicCalculus LinearWaveBounds |
| 17 | open CorrectionState CorrectionStep GaugeStateCoherence |
| 18 | open CorrectionInitialization CorrectionInitialization.ActualPrimary |
| 19 | open scoped Topology ContDiff |
| 20 | |
| 21 | |
| 22 | section EquivariantCutoff |
| 23 | |
| 24 | variable {D E I : Type} [NormedAddCommGroup D] [NormedSpace ℝ D] |
| 25 | [NormedAddCommGroup E] [NormedSpace ℝ E] |
| 26 | |
| 27 | /-- The invertible chart transports the actual directional derivative, |
| 28 | including the totalized derivative at a nonsmooth point. -/ |
| 29 | theorem fast_cutoff_equiv (e : D ≃L[ℝ] E) |
| 30 | (d : GraphDirections D) (dr : GraphDirections E) |
| 31 | (a : PeriodizedWaveBounds.CopyData D I) (b : PeriodizedWaveBounds.CopyData E I) |
| 32 | (n m : ℕ) (rate : ℝ) (i : I) (x : D) |
| 33 | (hcutoff : a.cutoff n i = fun y => b.cutoff m i (e y)) |
| 34 | (hfast : e (d.fastField n x) = rate • dr.fastField m (e x)) : |
| 35 | d.Dfast (fun j => a.cutoff j i) n x = |
| 36 | rate * dr.Dfast (fun j => b.cutoff j i) m (e x) := by |
| 37 | have he := PhysicalResidualNaturality.along_pull e 1 rate |
| 38 | (d.fastField n) (dr.fastField m) (b.cutoff m i) x hfast |
| 39 | simp only [one_mul, smul_eq_mul] at he |
| 40 | simpa only [GraphDirections.Dfast, hcutoff] using he |
| 41 | |
| 42 | /-- Exact transport of the computed Gaussian error. Only copies with a |
| 43 | nonzero differentiated reference cutoff require an amplitude comparison. -/ |
| 44 | theorem globalGaussian_equiv (e : D ≃L[ℝ] E) |
| 45 | (d : GraphDirections D) (dr : GraphDirections E) |
| 46 | (a : PeriodizedWaveBounds.CopyData D I) (b : PeriodizedWaveBounds.CopyData E I) |
| 47 | (n m : ℕ) (rate c : ℝ) (x : D) |
| 48 | (hcutoff : ∀ i, a.cutoff n i = fun y => b.cutoff m i (e y)) |
| 49 | (hfast : e (d.fastField n x) = rate • dr.fastField m (e x)) |
| 50 | (hamplitude : ∀ i, dr.Dfast (fun j => b.cutoff j i) m (e x) ≠ 0 → |
| 51 | a.amplitude n i x = c • b.amplitude m i (e x)) |
| 52 | (hsource : a.source n x = (rate * c) • b.source m (e x)) : |
| 53 | a.globalGaussian d n x = (rate * c) • b.globalGaussian dr m (e x) := by |
| 54 | have htail (i : I) : a.localTail d n i x = |
| 55 | (rate * c) • b.localTail dr m i (e x) := by |
| 56 | unfold PeriodizedWaveBounds.CopyData.localTail |
| 57 | rw [fast_cutoff_equiv e d dr a b n m rate i x (hcutoff i) hfast] |
| 58 | by_cases hz : dr.Dfast (fun j => b.cutoff j i) m (e x) = 0 |
| 59 | · simp only [hz, mul_zero, zero_smul, smul_zero] |
| 60 | · rw [hamplitude i hz, smul_smul, smul_smul] |
| 61 | congr 1 |
| 62 | ring |
| 63 | have hsum : a.globalTail d n x = (rate * c) • b.globalTail dr m (e x) := by |
| 64 | change (∑' i, a.localTail d n i x) = (rate * c) • ∑' i, b.localTail dr m i (e x) |
| 65 | calc |
| 66 | _ = ∑' i, (rate * c) • b.localTail dr m i (e x) := tsum_congr htail |
| 67 | _ = _ := tsum_const_smul'' (rate * c) |
| 68 | have hcut : a.cutoffSum n x = b.cutoffSum m (e x) := |
| 69 | tsum_congr (fun i => congrFun (hcutoff i) x) |
| 70 | rw [PeriodizedWaveBounds.CopyData.globalGaussian, hsum, hcut, hsource] |
| 71 | simp only [PeriodizedWaveBounds.CopyData.globalGaussian, smul_add, smul_smul] |
| 72 | congr 1 |
| 73 | congr 1 |
| 74 | ring |
| 75 | |
| 76 | end EquivariantCutoff |
| 77 | |
| 78 | /-- Exchanging the two bands inverts the physical Gaussian weight. -/ |
| 79 | theorem gaussianWeight_swap (exponent : ℝ) (n m : ℕ) : |
| 80 | (bandVelocityScale exponent n m * bandVelocityScale exponent n m * bandScale n m)⁻¹ = |
| 81 | bandVelocityScale exponent m n * bandVelocityScale exponent m n * bandScale m n := by |
| 82 | have hr : ChartScales.Q m / ChartScales.Q n = (ChartScales.Q n / ChartScales.Q m)⁻¹ := |
| 83 | (inv_div _ _).symm |
| 84 | unfold bandVelocityScale bandScale |
| 85 | simp only [hr, Real.inv_rpow (div_nonneg (ChartScales.Q_pos n).le (ChartScales.Q_pos m).le), |
| 86 | mul_inv_rev] |
| 87 | ring |
| 88 | |
| 89 | section ActualFourierField |
| 90 | |
| 91 | variable {B N0 : ℕ} |
| 92 | |
| 93 | /-- Expansion of the literal Gaussian block at an arbitrary angle. The |
| 94 | coefficient is the actual periodized error on the zero-angle section. -/ |
| 95 | theorem gaussianBlock_formula |
| 96 | (l : ActualSignedStageControls.SignedLabel B N0) |
| 97 | (s : WeightedClasses.StripData LocalSignedRequest.Point) |
| 98 | (request : ℕ → LocalSignedRequest.Point × ℝ → SignedWaveUpdate.Vec2) |
| 99 | (n : ℕ) (x : LocalSignedRequest.Point) (theta : ℝ) (i : Fin 3) : |
| 100 | ((ActualSignedStageControls.parameters l).gaussianBlock s request).oscillation n (x,theta) i = |
| 101 | (((ActualSignedStageControls.parameters l).copyData s request).globalGaussian |
| 102 | (ActualSignedStageControls.directions B) n (x,0) i * |
| 103 | HarmonicFields.character 1 |
| 104 | ((chartCoefficients l.2 l.1).frequency n * (chartCoefficients l.2 l.1).phase n (x,0) + |
| 105 | (((ActualSignedStageControls.parameters l).angularFrequency n : ℤ) : ℝ) * theta)).re := by |
| 106 | exact SignedWaveUpdate.coefficientBlock_velocity _ _ _ _ _ n (x,theta) i |
| 107 | |
| 108 | private theorem gaussianBlock_field_transport |
| 109 | (l : ActualSignedStageControls.SignedLabel B N0) |
| 110 | (s : WeightedClasses.StripData LocalSignedRequest.Point) |
| 111 | (request : ℕ → LocalSignedRequest.Point × ℝ → SignedWaveUpdate.Vec2) |
| 112 | (n m k : ℕ) (hi : CommonWindow.index h n + k = CommonWindow.index h m) |
| 113 | (x : LocalSignedRequest.Point) (theta a : ℝ) (i : Fin 3) |
| 114 | (hg : ((ActualSignedStageControls.parameters l).copyData s request).globalGaussian |
| 115 | (ActualSignedStageControls.directions B) n (x,0) = |
| 116 | a • ((ActualSignedStageControls.parameters l).copyData s request).globalGaussian |
| 117 | (ActualSignedStageControls.directions B) m (bandChartEquiv h n m k x,0)) : |
| 118 | ((ActualSignedStageControls.parameters l).gaussianBlock s request).oscillation n (x,theta) i = |
| 119 | a * ((ActualSignedStageControls.parameters l).gaussianBlock s request).oscillation |
| 120 | m (bandChartEquiv h n m k x,theta) i := by |
| 121 | rw [gaussianBlock_formula, gaussianBlock_formula, hg] |
| 122 | have hp := ActualInitialCoherence.block_phase_band l n m k hi x |
| 123 | change (chartCoefficients l.2 l.1).frequency n * (chartCoefficients l.2 l.1).phase n (x,0) = |
| 124 | (chartCoefficients l.2 l.1).frequency m * |
| 125 | (chartCoefficients l.2 l.1).phase m (bandChartEquiv h n m k x,0) at hp |
| 126 | rw [hp] |
| 127 | rw [show (ActualSignedStageControls.parameters l).angularFrequency n = |
| 128 | (ActualSignedStageControls.parameters l).angularFrequency m from rfl] |
| 129 | simp only [Pi.smul_apply, Complex.real_smul, Complex.mul_re, Complex.mul_im, |
| 130 | Complex.ofReal_re, Complex.ofReal_im, zero_mul, sub_zero] |
| 131 | ring |
| 132 | |
| 133 | end ActualFourierField |
| 134 | |
| 135 | section ActualTransport |
| 136 | |
| 137 | open ActualSignedCoherence |
| 138 | |
| 139 | variable {B N0 : ℕ} |
| 140 | |
| 141 | /-- The signed request is the only coefficient input to this comparison. |
| 142 | The same literal native copy and cutoff occur on both sides. -/ |
| 143 | theorem gaussian_transport_of_request (l : SignedLabel B N0) (u : State Point) |
| 144 | (n m k : ℕ) (hi : CommonWindow.index h n + k = CommonWindow.index h m) |
| 145 | (x : ActualSignedCoherence.FullPoint) |
| 146 | (hR : request B u n x = coefficientWeight n m ^ 2 • request B u m (chart n m k x)) : |
| 147 | (copies l u).globalGaussian (ActualSignedStageControls.directions B) n x = |
| 148 | (bandVelocityScale h n m * bandVelocityScale h n m * bandScale n m) • |
| 149 | (copies l u).globalGaussian (ActualSignedStageControls.directions B) m (chart n m k x) := by |
| 150 | have he := globalGaussian_equiv (chart n m k) |
| 151 | (ActualSignedStageControls.directions B) (ActualSignedStageControls.directions B) |
| 152 | (copies l u) (copies l u) n m (clockWeight n m) (bandVelocityScale h n m) x |
| 153 | (fun copy => funext (fun y => cutoff_transport l n m k hi copy y)) |
| 154 | (chart_fast n m k hi x) |
| 155 | (fun copy _ => raw_amplitude_of_request l u n m k hi copy x hR) |
| 156 | (by change (0 : ComplexVector) = _ • 0; simp only [smul_zero]) |
| 157 | have hw : clockWeight n m * bandVelocityScale h n m = |
| 158 | bandVelocityScale h n m * bandVelocityScale h n m * bandScale n m := by |
| 159 | rw [clockWeight_eq] |
| 160 | ring |
| 161 | simpa only [hw] using he |
| 162 | |
| 163 | /-- Full-fiber covariance derived from the actual incoming state and |
| 164 | primitive identities. No covariance of a signed output is assumed. -/ |
| 165 | theorem gaussian_transport (l : SignedLabel B N0) (u : State Point) |
| 166 | (H : MeanStateRegularity.PrimitiveData ActualInitialization.geometry.region |
| 167 | ActualInitialization.geometry.patch.a ActualInitialization.geometry.patch.b (commonContext B) u) |
| 168 | (hfixed : (VariableGaugeMean.reconstructState ActualInitialization.geometry.gauge |
| 169 | (commonContext B) u).pressure = u.pressure) |
| 170 | (n m k : ℕ) (hi : CommonWindow.index h n + k = CommonWindow.index h m) |
| 171 | (HS : PhysicalResidualNaturality.StateOn |
| 172 | (PhysicalMeanDomain.slowDomain (ActualInitialCoherence.overlap n m)) |
| 173 | (bandChartEquiv h n m k) (bandVelocityScale h n m) (bandScale n m) u u n m) |
| 174 | (x : ActualSignedCoherence.FullPoint) (hx : x.1.2.1 ∈ ActualInitialCoherence.overlap n m) : |
| 175 | (copies l u).globalGaussian (ActualSignedStageControls.directions B) n x = |
| 176 | (bandVelocityScale h n m * bandVelocityScale h n m * bandScale n m) • |
| 177 | (copies l u).globalGaussian (ActualSignedStageControls.directions B) m (chart n m k x) := |
| 178 | gaussian_transport_of_request l u n m k hi x |
| 179 | (fullRequest_transport u H hfixed n m k hi HS x hx) |
| 180 | |
| 181 | /-- Reverse transport of the actual complex Gaussian coefficient on the |
| 182 | image of the same overlap, with the reciprocal physical weight. -/ |
| 183 | theorem gaussian_transport_symm (l : SignedLabel B N0) (u : State Point) |
| 184 | (H : MeanStateRegularity.PrimitiveData ActualInitialization.geometry.region |
| 185 | ActualInitialization.geometry.patch.a ActualInitialization.geometry.patch.b (commonContext B) u) |
| 186 | (hfixed : (VariableGaugeMean.reconstructState ActualInitialization.geometry.gauge |
| 187 | (commonContext B) u).pressure = u.pressure) |
| 188 | (n m k : ℕ) (hi : CommonWindow.index h n + k = CommonWindow.index h m) |
| 189 | (HS : PhysicalResidualNaturality.StateOn |
| 190 | (PhysicalMeanDomain.slowDomain (ActualInitialCoherence.overlap n m)) |
| 191 | (bandChartEquiv h n m k) (bandVelocityScale h n m) (bandScale n m) u u n m) |
| 192 | (x : ActualSignedCoherence.FullPoint) |
| 193 | (hx : ((chart n m k).symm x).1.2.1 ∈ ActualInitialCoherence.overlap n m) : |
| 194 | (copies l u).globalGaussian (ActualSignedStageControls.directions B) m x = |
| 195 | (bandVelocityScale h m n * bandVelocityScale h m n * bandScale m n) • |
| 196 | (copies l u).globalGaussian (ActualSignedStageControls.directions B) n ((chart n m k).symm x) := by |
| 197 | have he := gaussian_transport l u H hfixed n m k hi HS ((chart n m k).symm x) hx |
| 198 | have hw : bandVelocityScale h n m * bandVelocityScale h n m * bandScale n m ≠ 0 := |
| 199 | mul_ne_zero (mul_ne_zero (velocity_pos n m).ne' (velocity_pos n m).ne') |
| 200 | (bandScale_pos n m).ne' |
| 201 | have he' := congrArg (fun z : ComplexVector => |
| 202 | (bandVelocityScale h n m * bandVelocityScale h n m * bandScale n m)⁻¹ • z) he |
| 203 | have he'' := he'.symm |
| 204 | simp only [ContinuousLinearEquiv.apply_symm_apply, smul_smul, |
| 205 | inv_mul_cancel₀ hw, one_smul] at he'' |
| 206 | simpa only [gaussianWeight_swap] using he'' |
| 207 | |
| 208 | /-- The Gaussian component of `WaveOn`, for the actual signed Fourier |
| 209 | block, on all radial and free auxiliary fibers and at every angle. -/ |
| 210 | theorem gaussianBlock_transport (l : SignedLabel B N0) (u : State Point) |
| 211 | (H : MeanStateRegularity.PrimitiveData ActualInitialization.geometry.region |
| 212 | ActualInitialization.geometry.patch.a ActualInitialization.geometry.patch.b (commonContext B) u) |
| 213 | (hfixed : (VariableGaugeMean.reconstructState ActualInitialization.geometry.gauge |
| 214 | (commonContext B) u).pressure = u.pressure) |
| 215 | (n m k : ℕ) (hi : CommonWindow.index h n + k = CommonWindow.index h m) |
| 216 | (HS : PhysicalResidualNaturality.StateOn |
| 217 | (PhysicalMeanDomain.slowDomain (ActualInitialCoherence.overlap n m)) |
| 218 | (bandChartEquiv h n m k) (bandVelocityScale h n m) (bandScale n m) u u n m) |
| 219 | (x : Point) (hx : x ∈ PhysicalMeanDomain.slowDomain (ActualInitialCoherence.overlap n m)) |
| 220 | (theta : ℝ) (i : Fin 3) : |
| 221 | ((ActualSignedStageControls.parameters l).gaussianBlock ActualInitialization.geometry.strip |
| 222 | (request B u)).oscillation n (x,theta) i = |
| 223 | (bandVelocityScale h n m * bandVelocityScale h n m * bandScale n m) * |
| 224 | ((ActualSignedStageControls.parameters l).gaussianBlock ActualInitialization.geometry.strip |
| 225 | (request B u)).oscillation m (bandChartEquiv h n m k x,theta) i := by |
| 226 | apply gaussianBlock_field_transport l ActualInitialization.geometry.strip (request B u) |
| 227 | n m k hi x theta _ i |
| 228 | exact gaussian_transport l u H hfixed n m k hi HS (x,0) hx |
| 229 | |
| 230 | /-- The same field comparison in the reverse common-chart direction. |
| 231 | Its domain is the exact image of the forward overlap. -/ |
| 232 | theorem gaussianBlock_transport_symm (l : SignedLabel B N0) (u : State Point) |
| 233 | (H : MeanStateRegularity.PrimitiveData ActualInitialization.geometry.region |
| 234 | ActualInitialization.geometry.patch.a ActualInitialization.geometry.patch.b (commonContext B) u) |
| 235 | (hfixed : (VariableGaugeMean.reconstructState ActualInitialization.geometry.gauge |
| 236 | (commonContext B) u).pressure = u.pressure) |
| 237 | (n m k : ℕ) (hi : CommonWindow.index h n + k = CommonWindow.index h m) |
| 238 | (HS : PhysicalResidualNaturality.StateOn |
| 239 | (PhysicalMeanDomain.slowDomain (ActualInitialCoherence.overlap n m)) |
| 240 | (bandChartEquiv h n m k) (bandVelocityScale h n m) (bandScale n m) u u n m) |
| 241 | (x : Point) |
| 242 | (hx : (bandChartEquiv h n m k).symm x ∈ |
| 243 | PhysicalMeanDomain.slowDomain (ActualInitialCoherence.overlap n m)) |
| 244 | (theta : ℝ) (i : Fin 3) : |
| 245 | ((ActualSignedStageControls.parameters l).gaussianBlock ActualInitialization.geometry.strip |
| 246 | (request B u)).oscillation m (x,theta) i = |
| 247 | (bandVelocityScale h m n * bandVelocityScale h m n * bandScale m n) * |
| 248 | ((ActualSignedStageControls.parameters l).gaussianBlock ActualInitialization.geometry.strip |
| 249 | (request B u)).oscillation n ((bandChartEquiv h n m k).symm x,theta) i := by |
| 250 | have he := gaussianBlock_transport l u H hfixed n m k hi HS |
| 251 | ((bandChartEquiv h n m k).symm x) hx theta i |
| 252 | have hw : bandVelocityScale h n m * bandVelocityScale h n m * bandScale n m ≠ 0 := |
| 253 | mul_ne_zero (mul_ne_zero (velocity_pos n m).ne' (velocity_pos n m).ne') |
| 254 | (bandScale_pos n m).ne' |
| 255 | have he' := congrArg (fun z : ℝ => |
| 256 | (bandVelocityScale h n m * bandVelocityScale h n m * bandScale n m)⁻¹ * z) he |
| 257 | have he'' := he'.symm |
| 258 | simp only [ContinuousLinearEquiv.apply_symm_apply, ← mul_assoc, |
| 259 | inv_mul_cancel₀ hw, one_mul] at he'' |
| 260 | simpa only [gaussianWeight_swap] using he'' |
| 261 | |
| 262 | end ActualTransport |
| 263 | |
| 264 | end NavierStokes.ActualSignedGaussianCoherence |