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.ActualPrimaryBounds |
| 2 | import NavierStokes.ActualPrimaryCoherence |
| 3 | |
| 4 | /-! |
| 5 | # Full-chart regularity of the initial native copy coefficients |
| 6 | |
| 7 | The copied fields use the actual flat radial attachment. Their regularity |
| 8 | holds across its boundary, rather than only inside the native estimate |
| 9 | domain. The stripped coefficients are independent of the angular variable. |
| 10 | -/ |
| 11 | |
| 12 | noncomputable section |
| 13 | |
| 14 | namespace NavierStokes.InitialNativeRegularity |
| 15 | |
| 16 | open Set Function Filter |
| 17 | open CorrectionInitialization ActualPrimaryBounds |
| 18 | open scoped ContDiff Topology BigOperators |
| 19 | |
| 20 | abbrev Point := ActualPrimary.FullPoint |
| 21 | abbrev Frequency := TorusInverse.Frequency |
| 22 | |
| 23 | variable {B N0 : ℕ} |
| 24 | |
| 25 | /-- The same copied amplitude used by `InitialPhysicalData`. -/ |
| 26 | noncomputable def copyAmplitude (l : SignedLabel B N0) (k : Frequency) (n : ℕ) |
| 27 | (x : Point) : HarmonicCalculus.ComplexVector := |
| 28 | copied (CoordinateAlgebra.A ActualPrimary.h) cutNativeVelocity l n k (nativeOfFull x) |
| 29 | |
| 30 | /-- The pressure scaling exponent is twice the velocity exponent. -/ |
| 31 | noncomputable def copyPressureCoefficient (l : SignedLabel B N0) (k : Frequency) (n : ℕ) |
| 32 | (x : Point) : ℂ := |
| 33 | copied (2 * CoordinateAlgebra.A ActualPrimary.h) cutNativePressure l n k (nativeOfFull x) |
| 34 | |
| 35 | /-- The actual inverse-carrier potential formed from the copied amplitude. -/ |
| 36 | noncomputable def copyPotentialCoefficient (l : SignedLabel B N0) (k : Frequency) (n : ℕ) |
| 37 | (x : Point) : HarmonicCalculus.ComplexVector := |
| 38 | CurlClassBounds.inverseCarrier ((cutCoefficients l).frequency n) • |
| 39 | CurlClassBounds.normalCoefficient |
| 40 | ((cutCoefficients l).normal fullStrip (directions B) n x) |
| 41 | (copyAmplitude l k n x) |
| 42 | |
| 43 | theorem gaussian_smooth (l : SignedLabel B N0) : |
| 44 | ContDiff ℝ ∞ (ActualPrimary.gaussian l.2) := |
| 45 | GaussianTailFlat.profile_contDiff.comp (contDiff_snd.snd.div_const _) |
| 46 | |
| 47 | /-- The radial-edge attachment is used before taking the copy. -/ |
| 48 | theorem cutNativeVelocity_smooth (l : SignedLabel B N0) : |
| 49 | ContDiffOn ℝ ∞ (cutNativeVelocity l) WaveEdgeExtension.nativeSlowDomain := |
| 50 | (gaussian_smooth l).contDiffOn.smul |
| 51 | ((ActualPrimary.attachedRawVelocity_smooth B N0 l.1 l.2).continuousLinearMap_comp |
| 52 | CurlClassBounds.complexify) |
| 53 | |
| 54 | theorem cutNativePressure_smooth (l : SignedLabel B N0) : |
| 55 | ContDiffOn ℝ ∞ (cutNativePressure l) WaveEdgeExtension.nativeSlowDomain := |
| 56 | (gaussian_smooth l).contDiffOn.smul (ActualPrimary.attachedRawPressure_smooth B N0 l.1 l.2) |
| 57 | |
| 58 | theorem copyPoint_mapsTo (l : SignedLabel B N0) (k : Frequency) (n : ℕ) : |
| 59 | MapsTo (fun x : Point => copyPoint l n k (nativeOfFull x)) |
| 60 | ActualPrimaryCoherence.positiveChart WaveEdgeExtension.nativeSlowDomain := by |
| 61 | intro x hx |
| 62 | change 0 < (ActualSignedGeometry.slowChange ActualPrimary.h (ChartScales.Q n) |
| 63 | (ChartScales.Q (spatialLabel l).1) (nativeOfFull x).1).2.2 |
| 64 | exact ActualSignedGeometry.slowChange_time (ChartScales.Q_pos n) (ChartScales.Q_pos _) hx |
| 65 | |
| 66 | /-- The band cutoff is discrete. In active bands the copy map preserves |
| 67 | positive native time, and in all other bands the field is identically zero. -/ |
| 68 | theorem copied_smooth {E : Type*} [NormedAddCommGroup E] [NormedSpace ℝ E] |
| 69 | (a : ℝ) (f : SignedLabel B N0 → Native → E) |
| 70 | (hf : ∀ l, ContDiffOn ℝ ∞ (f l) WaveEdgeExtension.nativeSlowDomain) |
| 71 | (l : SignedLabel B N0) (k : Frequency) (n : ℕ) : |
| 72 | ContDiffOn ℝ ∞ (fun x : Point => copied a f l n k (nativeOfFull x)) |
| 73 | ActualPrimaryCoherence.positiveChart := by |
| 74 | classical |
| 75 | by_cases hn : near l n |
| 76 | · simp only [copied, ite_eq_left hn] |
| 77 | exact ((hf l).comp ((copyPoint_smooth l n k).comp nativeOfFull.contDiff).contDiffOn |
| 78 | (copyPoint_mapsTo l k n)).const_smul _ |
| 79 | · simp only [copied, ite_eq_right hn] |
| 80 | exact contDiffOn_const |
| 81 | |
| 82 | theorem copyAmplitude_smooth (l : SignedLabel B N0) (k : Frequency) (n : ℕ) : |
| 83 | ContDiffOn ℝ ∞ (copyAmplitude l k n) ActualPrimaryCoherence.positiveChart := |
| 84 | copied_smooth _ cutNativeVelocity cutNativeVelocity_smooth l k n |
| 85 | |
| 86 | /-- This holds on the larger positive-time chart, including zero radius. -/ |
| 87 | theorem copyPressureCoefficient_smooth (l : SignedLabel B N0) (k : Frequency) (n : ℕ) : |
| 88 | ContDiffOn ℝ ∞ (copyPressureCoefficient l k n) ActualPrimaryCoherence.positiveChart := |
| 89 | copied_smooth _ cutNativePressure cutNativePressure_smooth l k n |
| 90 | |
| 91 | theorem cutNormal_eq (l : SignedLabel B N0) (n : ℕ) : |
| 92 | (cutCoefficients l).normal fullStrip (directions B) n = |
| 93 | (ActualPrimary.chartCoefficients l.1 l.2).normal fullStrip (directions B) n := by |
| 94 | simp only [cutCoefficients, LinearWaveBounds.WaveCoefficients.withCutoff, |
| 95 | LinearWaveBounds.WaveCoefficients.normal] |
| 96 | |
| 97 | theorem normal_eq_absolute (l : SignedLabel B N0) (n : ℕ) : |
| 98 | (cutCoefficients l).normal fullStrip (directions B) n = fun x => |
| 99 | ((1 / (ChartScales.carrier ActualPrimary.h n : ℝ)) * Real.sqrt (ChartScales.Q n)) • |
| 100 | ActualPrimaryCoherence.absoluteNormal l.1 l.2 (ActualPrimaryCoherence.absoluteChart n x) := by |
| 101 | rw [cutNormal_eq] |
| 102 | funext x |
| 103 | simpa only [ActualPrimary.piece, fullStrip, strip, directions] using |
| 104 | (ActualPrimaryCoherence.chart_normal_absolute (B := B) (N0 := N0) region l.1 l.2 n x) |
| 105 | |
| 106 | theorem normal_smooth (l : SignedLabel B N0) (n : ℕ) : |
| 107 | ContDiffOn ℝ ∞ ((cutCoefficients l).normal fullStrip (directions B) n) |
| 108 | ActualPrimaryCoherence.positiveRadialChart := by |
| 109 | rw [normal_eq_absolute] |
| 110 | have hm : MapsTo (ActualPrimaryCoherence.absoluteChart n) |
| 111 | ActualPrimaryCoherence.positiveRadialChart ActualPrimaryCoherence.positiveRadialAbsolute := by |
| 112 | intro x hx |
| 113 | exact ⟨mul_pos (Real.sqrt_pos.mpr (ChartScales.Q_pos n)) hx.1, |
| 114 | mul_pos (ChartScales.Q_pos n) hx.2⟩ |
| 115 | exact ((ActualPrimaryCoherence.absoluteNormal_smooth l.1 l.2).comp |
| 116 | (ActualPrimaryCoherence.absoluteChart n).contDiff.contDiffOn hm).const_smul _ |
| 117 | |
| 118 | theorem normal_ne (l : SignedLabel B N0) (n : ℕ) {x : Point} |
| 119 | (hx : x ∈ ActualPrimaryCoherence.positiveRadialChart) : |
| 120 | (cutCoefficients l).normal fullStrip (directions B) n x ≠ 0 := by |
| 121 | rw [cutNormal_eq] |
| 122 | simpa only [ActualPrimary.piece, fullStrip, strip, directions] using |
| 123 | (ActualPrimaryCoherence.piece_normal_ne (B := B) (N0 := N0) region l.1 l.2 n hx) |
| 124 | |
| 125 | /-- Joint smoothness includes every radial support boundary at positive |
| 126 | radius and time. There is no interior-support restriction. -/ |
| 127 | theorem copyPotentialCoefficient_smooth (l : SignedLabel B N0) (k : Frequency) (n : ℕ) : |
| 128 | ContDiffOn ℝ ∞ (copyPotentialCoefficient l k n) |
| 129 | ActualPrimaryCoherence.positiveRadialChart := |
| 130 | (CurlClassBounds.normalCoefficient_contDiffOn (normal_smooth l n) |
| 131 | ((copyAmplitude_smooth l k n).mono (fun _ hx => hx.2)) |
| 132 | (fun _ hx => normal_ne l n hx)).const_smul _ |
| 133 | |
| 134 | theorem copyPressureCoefficient_smooth_radial (l : SignedLabel B N0) (k : Frequency) (n : ℕ) : |
| 135 | ContDiffOn ℝ ∞ (copyPressureCoefficient l k n) |
| 136 | ActualPrimaryCoherence.positiveRadialChart := |
| 137 | (copyPressureCoefficient_smooth l k n).mono (fun _ hx => hx.2) |
| 138 | |
| 139 | /-- The true phase is affine in angle, so its actual phase normal is |
| 140 | angle-independent even where derivatives are defined by totalization. -/ |
| 141 | theorem normal_invariant (l : SignedLabel B N0) (n : ℕ) : |
| 142 | CopyAngularInvariance.Invariant ((0 : LocalSignedRequest.Point), 1) |
| 143 | ((cutCoefficients l).normal fullStrip (directions B) n) := by |
| 144 | let h := ActualPrimary.chartCoefficients_angular l.1 l.2 |
| 145 | obtain ⟨m, hm⟩ := h.phase n |
| 146 | exact CopyAngularInvariance.phaseNormal_invariant (h.radius n) |
| 147 | (PrimaryResidualClass.directions_radial_invariant (ActualPrimary.commonContext B) n) |
| 148 | (CopyAngularInvariance.Invariant.const _) (CopyAngularInvariance.Invariant.const _) hm |
| 149 | |
| 150 | theorem copyAmplitude_invariant (l : SignedLabel B N0) (k : Frequency) (n : ℕ) : |
| 151 | CopyAngularInvariance.Invariant ((0 : LocalSignedRequest.Point), 1) (copyAmplitude l k n) := |
| 152 | PrimaryResidualClass.invariant_fst (fun y => copied (CoordinateAlgebra.A ActualPrimary.h) |
| 153 | cutNativeVelocity l n k (ActualSignedGeometry.meanEquiv.symm y)) |
| 154 | |
| 155 | theorem copyPressureCoefficient_invariant (l : SignedLabel B N0) (k : Frequency) (n : ℕ) : |
| 156 | CopyAngularInvariance.Invariant ((0 : LocalSignedRequest.Point), 1) |
| 157 | (copyPressureCoefficient l k n) := |
| 158 | PrimaryResidualClass.invariant_fst (fun y => copied (2 * CoordinateAlgebra.A ActualPrimary.h) |
| 159 | cutNativePressure l n k (ActualSignedGeometry.meanEquiv.symm y)) |
| 160 | |
| 161 | theorem copyPotentialCoefficient_invariant (l : SignedLabel B N0) (k : Frequency) (n : ℕ) : |
| 162 | CopyAngularInvariance.Invariant ((0 : LocalSignedRequest.Point), 1) |
| 163 | (copyPotentialCoefficient l k n) := |
| 164 | ((normal_invariant l n).map₂ (copyAmplitude_invariant l k n) |
| 165 | CurlClassBounds.normalCoefficient).map |
| 166 | (fun z => CurlClassBounds.inverseCarrier ((cutCoefficients l).frequency n) • z) |
| 167 | |
| 168 | theorem copyAmplitude_angle (l : SignedLabel B N0) (k : Frequency) (n : ℕ) |
| 169 | (x : LocalSignedRequest.Point) (θ : ℝ) : |
| 170 | copyAmplitude l k n (x, θ) = copyAmplitude l k n (x, 0) := |
| 171 | CopyAngularInvariance.invariant_eq_zeroSlice (copyAmplitude_invariant l k n) x θ |
| 172 | |
| 173 | theorem copyPressureCoefficient_angle (l : SignedLabel B N0) (k : Frequency) (n : ℕ) |
| 174 | (x : LocalSignedRequest.Point) (θ : ℝ) : |
| 175 | copyPressureCoefficient l k n (x, θ) = copyPressureCoefficient l k n (x, 0) := |
| 176 | CopyAngularInvariance.invariant_eq_zeroSlice (copyPressureCoefficient_invariant l k n) x θ |
| 177 | |
| 178 | theorem copyPotentialCoefficient_angle (l : SignedLabel B N0) (k : Frequency) (n : ℕ) |
| 179 | (x : LocalSignedRequest.Point) (θ : ℝ) : |
| 180 | copyPotentialCoefficient l k n (x, θ) = copyPotentialCoefficient l k n (x, 0) := |
| 181 | CopyAngularInvariance.invariant_eq_zeroSlice (copyPotentialCoefficient_invariant l k n) x θ |
| 182 | |
| 183 | end NavierStokes.InitialNativeRegularity |