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 | section ActualFourierField |
| 79 | |
| 80 | variable {B N0 : ℕ} |
| 81 | |
| 82 | /-- Expansion of the literal Gaussian block at an arbitrary angle. The |
| 83 | coefficient is the actual periodized error on the zero-angle section. -/ |
| 84 | theorem gaussianBlock_formula |
| 85 | (l : ActualSignedStageControls.SignedLabel B N0) |
| 86 | (s : WeightedClasses.StripData LocalSignedRequest.Point) |
| 87 | (request : ℕ → LocalSignedRequest.Point × ℝ → SignedWaveUpdate.Vec2) |
| 88 | (n : ℕ) (x : LocalSignedRequest.Point) (theta : ℝ) (i : Fin 3) : |
| 89 | ((ActualSignedStageControls.parameters l).gaussianBlock s request).oscillation n (x,theta) i = |
| 90 | (((ActualSignedStageControls.parameters l).copyData s request).globalGaussian |
| 91 | (ActualSignedStageControls.directions B) n (x,0) i * |
| 92 | HarmonicFields.character 1 |
| 93 | ((chartCoefficients l.2 l.1).frequency n * (chartCoefficients l.2 l.1).phase n (x,0) + |
| 94 | (((ActualSignedStageControls.parameters l).angularFrequency n : ℤ) : ℝ) * theta)).re := by |
| 95 | exact SignedWaveUpdate.coefficientBlock_velocity _ _ _ _ _ n (x,theta) i |
| 96 | |
| 97 | private theorem gaussianBlock_field_transport |
| 98 | (l : ActualSignedStageControls.SignedLabel B N0) |
| 99 | (s : WeightedClasses.StripData LocalSignedRequest.Point) |
| 100 | (request : ℕ → LocalSignedRequest.Point × ℝ → SignedWaveUpdate.Vec2) |
| 101 | (n m k : ℕ) (hi : CommonWindow.index h n + k = CommonWindow.index h m) |
| 102 | (x : LocalSignedRequest.Point) (theta a : ℝ) (i : Fin 3) |
| 103 | (hg : ((ActualSignedStageControls.parameters l).copyData s request).globalGaussian |
| 104 | (ActualSignedStageControls.directions B) n (x,0) = |
| 105 | a • ((ActualSignedStageControls.parameters l).copyData s request).globalGaussian |
| 106 | (ActualSignedStageControls.directions B) m (bandChartEquiv h n m k x,0)) : |
| 107 | ((ActualSignedStageControls.parameters l).gaussianBlock s request).oscillation n (x,theta) i = |
| 108 | a * ((ActualSignedStageControls.parameters l).gaussianBlock s request).oscillation |
| 109 | m (bandChartEquiv h n m k x,theta) i := by |
| 110 | rw [gaussianBlock_formula, gaussianBlock_formula, hg] |
| 111 | have hp := ActualInitialCoherence.block_phase_band l n m k hi x |
| 112 | change (chartCoefficients l.2 l.1).frequency n * (chartCoefficients l.2 l.1).phase n (x,0) = |
| 113 | (chartCoefficients l.2 l.1).frequency m * |
| 114 | (chartCoefficients l.2 l.1).phase m (bandChartEquiv h n m k x,0) at hp |
| 115 | rw [hp] |
| 116 | rw [show (ActualSignedStageControls.parameters l).angularFrequency n = |
| 117 | (ActualSignedStageControls.parameters l).angularFrequency m from rfl] |
| 118 | simp only [Pi.smul_apply, Complex.real_smul, Complex.mul_re, Complex.mul_im, |
| 119 | Complex.ofReal_re, Complex.ofReal_im, zero_mul, sub_zero] |
| 120 | ring |
| 121 | |
| 122 | end ActualFourierField |
| 123 | |
| 124 | section ActualTransport |
| 125 | |
| 126 | open ActualSignedCoherence |
| 127 | |
| 128 | variable {B N0 : ℕ} |
| 129 | |
| 130 | /-- The signed request is the only coefficient input to this comparison. |
| 131 | The same literal native copy and cutoff occur on both sides. -/ |
| 132 | theorem gaussian_transport_of_request (l : SignedLabel B N0) (u : State Point) |
| 133 | (n m k : ℕ) (hi : CommonWindow.index h n + k = CommonWindow.index h m) |
| 134 | (x : ActualSignedCoherence.FullPoint) |
| 135 | (hR : request B u n x = coefficientWeight n m ^ 2 • request B u m (chart n m k x)) : |
| 136 | (copies l u).globalGaussian (ActualSignedStageControls.directions B) n x = |
| 137 | (bandVelocityScale h n m * bandVelocityScale h n m * bandScale n m) • |
| 138 | (copies l u).globalGaussian (ActualSignedStageControls.directions B) m (chart n m k x) := by |
| 139 | have he := globalGaussian_equiv (chart n m k) |
| 140 | (ActualSignedStageControls.directions B) (ActualSignedStageControls.directions B) |
| 141 | (copies l u) (copies l u) n m (clockWeight n m) (bandVelocityScale h n m) x |
| 142 | (fun copy => funext (fun y => cutoff_transport l n m k hi copy y)) |
| 143 | (chart_fast n m k hi x) |
| 144 | (fun copy _ => raw_amplitude_of_request l u n m k hi copy x hR) |
| 145 | (by change (0 : ComplexVector) = _ • 0; simp only [smul_zero]) |
| 146 | have hw : clockWeight n m * bandVelocityScale h n m = |
| 147 | bandVelocityScale h n m * bandVelocityScale h n m * bandScale n m := by |
| 148 | rw [clockWeight_eq] |
| 149 | ring |
| 150 | simpa only [hw] using he |
| 151 | |
| 152 | /-- Full-fiber covariance derived from the actual incoming state and |
| 153 | primitive identities. No covariance of a signed output is assumed. -/ |
| 154 | theorem gaussian_transport (l : SignedLabel B N0) (u : State Point) |
| 155 | (H : MeanStateRegularity.PrimitiveData ActualInitialization.geometry.region |
| 156 | ActualInitialization.geometry.patch.a ActualInitialization.geometry.patch.b (commonContext B) u) |
| 157 | (hfixed : (VariableGaugeMean.reconstructState ActualInitialization.geometry.gauge |
| 158 | (commonContext B) u).pressure = u.pressure) |
| 159 | (n m k : ℕ) (hi : CommonWindow.index h n + k = CommonWindow.index h m) |
| 160 | (HS : PhysicalResidualNaturality.StateOn |
| 161 | (PhysicalMeanDomain.slowDomain (ActualInitialCoherence.overlap n m)) |
| 162 | (bandChartEquiv h n m k) (bandVelocityScale h n m) (bandScale n m) u u n m) |
| 163 | (x : ActualSignedCoherence.FullPoint) (hx : x.1.2.1 ∈ ActualInitialCoherence.overlap n m) : |
| 164 | (copies l u).globalGaussian (ActualSignedStageControls.directions B) n x = |
| 165 | (bandVelocityScale h n m * bandVelocityScale h n m * bandScale n m) • |
| 166 | (copies l u).globalGaussian (ActualSignedStageControls.directions B) m (chart n m k x) := |
| 167 | gaussian_transport_of_request l u n m k hi x |
| 168 | (fullRequest_transport u H hfixed n m k hi HS x hx) |
| 169 | |
| 170 | /-- The Gaussian component of `WaveOn`, for the actual signed Fourier |
| 171 | block, on all radial and free auxiliary fibers and at every angle. -/ |
| 172 | theorem gaussianBlock_transport (l : SignedLabel B N0) (u : State Point) |
| 173 | (H : MeanStateRegularity.PrimitiveData ActualInitialization.geometry.region |
| 174 | ActualInitialization.geometry.patch.a ActualInitialization.geometry.patch.b (commonContext B) u) |
| 175 | (hfixed : (VariableGaugeMean.reconstructState ActualInitialization.geometry.gauge |
| 176 | (commonContext B) u).pressure = u.pressure) |
| 177 | (n m k : ℕ) (hi : CommonWindow.index h n + k = CommonWindow.index h m) |
| 178 | (HS : PhysicalResidualNaturality.StateOn |
| 179 | (PhysicalMeanDomain.slowDomain (ActualInitialCoherence.overlap n m)) |
| 180 | (bandChartEquiv h n m k) (bandVelocityScale h n m) (bandScale n m) u u n m) |
| 181 | (x : Point) (hx : x ∈ PhysicalMeanDomain.slowDomain (ActualInitialCoherence.overlap n m)) |
| 182 | (theta : ℝ) (i : Fin 3) : |
| 183 | ((ActualSignedStageControls.parameters l).gaussianBlock ActualInitialization.geometry.strip |
| 184 | (request B u)).oscillation n (x,theta) i = |
| 185 | (bandVelocityScale h n m * bandVelocityScale h n m * bandScale n m) * |
| 186 | ((ActualSignedStageControls.parameters l).gaussianBlock ActualInitialization.geometry.strip |
| 187 | (request B u)).oscillation m (bandChartEquiv h n m k x,theta) i := by |
| 188 | apply gaussianBlock_field_transport l ActualInitialization.geometry.strip (request B u) |
| 189 | n m k hi x theta _ i |
| 190 | exact gaussian_transport l u H hfixed n m k hi HS (x,0) hx |
| 191 | |
| 192 | end ActualTransport |
| 193 | |
| 194 | end NavierStokes.ActualSignedGaussianCoherence |