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.ActualParticularCoherence |
| 2 | |
| 3 | /-! |
| 4 | # Coherence of the actual current-band particular potential |
| 5 | |
| 6 | The common copy coefficient is retained, including its cutoffs. Its vector |
| 7 | potential is transported before taking the physical curl. The derivative |
| 8 | identity uses an invertible linear chart and does not require an additional |
| 9 | smoothness assumption on the phase. |
| 10 | -/ |
| 11 | |
| 12 | noncomputable section |
| 13 | |
| 14 | namespace NavierStokes.ActualParticularPotentialCoherence |
| 15 | |
| 16 | open Set Function Filter HarmonicCalculus PhysicalParticularWave |
| 17 | open CorrectionInitialization CorrectionInitialization.ActualPrimary |
| 18 | open scoped Topology ContDiff |
| 19 | |
| 20 | |
| 21 | section ExactCalculus |
| 22 | |
| 23 | variable {E F : Type} [NormedAddCommGroup E] [NormedSpace ℝ E] |
| 24 | [NormedAddCommGroup F] [NormedSpace ℝ F] |
| 25 | |
| 26 | /-- The phase scale cancels the inverse carrier in the literal potential. |
| 27 | An invertible chart also handles the convention for a nonexistent derivative. -/ |
| 28 | theorem vectorPotential_equiv (e : E ≃L[ℝ] F) {s b K L : ℝ} |
| 29 | (hs : s ≠ 0) (hb : b ≠ 0) (hK : K ≠ 0) (hKL : K * b = L) |
| 30 | (r : E → ℝ) (R : F → ℝ) (Sr St Sz : E → E) (Vr Vt Vz : F → F) |
| 31 | (hr : ∀ x, R (e x) = s * r x) |
| 32 | (hDr : ∀ x, e (Sr x) = s • Vr (e x)) |
| 33 | (hDt : ∀ x, e (St x) = Vt (e x)) |
| 34 | (hDz : ∀ x, e (Sz x) = s • Vz (e x)) (c : ℝ) |
| 35 | (Φ : F → ℝ) (a : F → ComplexVector) (x : E) : |
| 36 | CurlClassBounds.vectorPotential K r Sr St Sz |
| 37 | (fun y => b * Φ (e y)) (fun y => c • a (e y)) x = |
| 38 | (c / s) • CurlClassBounds.vectorPotential L R Vr Vt Vz Φ a (e x) := by |
| 39 | have hN := ActualPrimaryCoherence.phaseNormal_equiv e hs r R Sr St Sz Vr Vt Vz |
| 40 | hr hDr hDt hDz b Φ x |
| 41 | have hphase : carrier K (fun y => b * Φ (e y)) x = carrier L Φ (e x) := |
| 42 | PhysicalCurlCovariance.carrier_eq_of_products (by rw [← mul_assoc, hKL]) |
| 43 | have hscale : CurlClassBounds.inverseCarrier K * ((c / (b * s) : ℝ) : ℂ) = |
| 44 | ((c / s : ℝ) : ℂ) * CurlClassBounds.inverseCarrier L := by |
| 45 | rw [← hKL] |
| 46 | unfold CurlClassBounds.inverseCarrier |
| 47 | push_cast |
| 48 | field_simp [Complex.ofReal_ne_zero.mpr hK, Complex.ofReal_ne_zero.mpr hb, |
| 49 | Complex.ofReal_ne_zero.mpr hs] |
| 50 | ext i |
| 51 | simp only [CurlClassBounds.vectorPotential, vectorMode, mode, CurlClassBounds.coefficient, |
| 52 | hN, PhysicalCurlCovariance.normalCoefficient_scale _ _ (mul_ne_zero hb hs) c, |
| 53 | hphase, Pi.smul_apply, Complex.real_smul, smul_eq_mul] |
| 54 | rw [← mul_assoc (CurlClassBounds.inverseCarrier K), hscale] |
| 55 | ring |
| 56 | |
| 57 | end ExactCalculus |
| 58 | |
| 59 | /-- The physical potential has the scale exponent `h`, one half below the |
| 60 | velocity exponent. -/ |
| 61 | theorem potential_weight {Q Qr : ℝ} (hQ : 0 < Q) (hQr : 0 < Qr) (h : ℝ) : |
| 62 | velocityWeight h Q Qr / ratioPower Q Qr (1 / 2) = ratioPower Q Qr h := by |
| 63 | rw [velocityWeight, ratioPower_div hQ hQr] |
| 64 | congr 1 |
| 65 | unfold CoordinateAlgebra.A |
| 66 | ring |
| 67 | |
| 68 | theorem pressure_weight {Q Qr : ℝ} (hQ : 0 < Q) (hQr : 0 < Qr) (h : ℝ) : |
| 69 | pressureWeight h Q Qr = (velocityWeight h Q Qr) ^ 2 := by |
| 70 | rw [pow_two, velocityWeight, ratioPower_mul hQ hQr] |
| 71 | unfold pressureWeight |
| 72 | congr 1 |
| 73 | ring |
| 74 | |
| 75 | variable {B N0 : ℕ} |
| 76 | |
| 77 | abbrev Label := ActualParticularStageControls.Label |
| 78 | |
| 79 | /-- The potential of the actual current common coefficient. -/ |
| 80 | noncomputable def potential (x : CorrectionStep.CycleState (Label B N0)) |
| 81 | (l : Label B N0) (j : ℤ) (n : ℕ) : WaveSpace → ComplexVector := |
| 82 | (ActualReferenceRebase.actualCoefficients x l j).curlPotential |
| 83 | (CorrectionStep.ParticularParameters.nativeStrip ActualParticularStageControls.associatedStrip) |
| 84 | (ActualParticularStageControls.directions (B := B)) n |
| 85 | |
| 86 | /-- The complete harmonic pressure, with the actual current common pressure |
| 87 | coefficient and the same carrier. -/ |
| 88 | noncomputable def pressureMode (x : CorrectionStep.CycleState (Label B N0)) |
| 89 | (l : Label B N0) (j : ℤ) (n : ℕ) : WaveSpace → ℂ := |
| 90 | mode ((ActualReferenceRebase.actualCoefficients x l j).frequency n) |
| 91 | ((ActualReferenceRebase.actualCoefficients x l j).phase n) |
| 92 | ((ActualReferenceRebase.actualCoefficients x l j).pressure n) |
| 93 | |
| 94 | theorem potential_eq_copyData (x : CorrectionStep.CycleState (Label B N0)) |
| 95 | (l : Label B N0) (j : ℤ) (n : ℕ) : |
| 96 | potential x l j n = (ActualParticularCoherence.copyData x l j).common.curlPotential |
| 97 | (CorrectionStep.ParticularParameters.nativeStrip ActualParticularStageControls.associatedStrip) |
| 98 | (ActualParticularStageControls.directions (B := B)) n := rfl |
| 99 | |
| 100 | theorem pressureMode_eq_copyData (x : CorrectionStep.CycleState (Label B N0)) |
| 101 | (l : Label B N0) (j : ℤ) (n : ℕ) : |
| 102 | pressureMode x l j n = mode ((ActualParticularCoherence.copyData x l j).background.frequency n) |
| 103 | ((ActualParticularCoherence.copyData x l j).background.phase n) |
| 104 | ((ActualParticularCoherence.copyData x l j).common.pressure n) := rfl |
| 105 | |
| 106 | theorem potential_eq (x : CorrectionStep.CycleState (Label B N0)) |
| 107 | (l : Label B N0) (j : ℤ) (n : ℕ) : |
| 108 | potential x l j n = CurlClassBounds.vectorPotential |
| 109 | ((j : ℝ) * (x.coefficients.blocks l).frequency n) (fun y : WaveSpace => y.1.1.1) |
| 110 | ((ActualParticularStageControls.directions (B := B)).radialField n) |
| 111 | (fun _ => (ActualParticularStageControls.directions (B := B)).angular) |
| 112 | ((ActualParticularStageControls.directions (B := B)).axialField |
| 113 | (CorrectionStep.ParticularParameters.nativeStrip ActualParticularStageControls.associatedStrip) n) |
| 114 | ((ActualReferenceRebase.actualCoefficients x l j).phase n) |
| 115 | ((ActualReferenceRebase.actualCoefficients x l j).amplitude n) := rfl |
| 116 | |
| 117 | theorem pressureMode_eq (x : CorrectionStep.CycleState (Label B N0)) |
| 118 | (l : Label B N0) (j : ℤ) (n : ℕ) : |
| 119 | pressureMode x l j n = mode ((j : ℝ) * (x.coefficients.blocks l).frequency n) |
| 120 | ((ActualReferenceRebase.actualCoefficients x l j).phase n) |
| 121 | ((ActualReferenceRebase.actualCoefficients x l j).pressure n) := rfl |
| 122 | |
| 123 | /-- Only the phase needs a germ: the undifferentiated raw amplitude is |
| 124 | evaluated at the point. -/ |
| 125 | theorem potential_band_of_germ (x : CorrectionStep.CycleState (Label B N0)) |
| 126 | (l : Label B N0) (j : ℤ) (n m : ℕ) |
| 127 | (hKn : (j : ℝ) * (x.coefficients.blocks l).frequency n ≠ 0) |
| 128 | (hKm : (j : ℝ) * (x.coefficients.blocks l).frequency m ≠ 0) (z : WaveSpace) |
| 129 | (ha : (ActualReferenceRebase.actualCoefficients x l j).amplitude n z = |
| 130 | velocityWeight h (ChartScales.Q n) (ChartScales.Q m) • |
| 131 | (ActualReferenceRebase.actualCoefficients x l j).amplitude m |
| 132 | (ActualParticularCoherence.bandMap n m z)) |
| 133 | (hp : (ActualReferenceRebase.actualCoefficients x l j).phase n =ᶠ[𝓝 z] |
| 134 | fun y => (((j : ℝ) * (x.coefficients.blocks l).frequency m) / |
| 135 | ((j : ℝ) * (x.coefficients.blocks l).frequency n)) * |
| 136 | (ActualReferenceRebase.actualCoefficients x l j).phase m |
| 137 | (ActualParticularCoherence.bandMap n m y)) : |
| 138 | potential x l j n z = ratioPower (ChartScales.Q n) (ChartScales.Q m) h • |
| 139 | potential x l j m (ActualParticularCoherence.bandMap n m z) := by |
| 140 | let d := ActualParticularStageControls.directions (B := B) |
| 141 | let s := CorrectionStep.ParticularParameters.nativeStrip ActualParticularStageControls.associatedStrip |
| 142 | rw [potential_eq, potential_eq] |
| 143 | rw [PhysicalCurlCovariance.vectorPotential_congr |
| 144 | ((j : ℝ) * (x.coefficients.blocks l).frequency n) (fun y : WaveSpace => y.1.1.1) |
| 145 | (d.radialField n) (fun _ => d.angular) (d.axialField s n) |
| 146 | (b := fun y => velocityWeight h (ChartScales.Q n) (ChartScales.Q m) • |
| 147 | (ActualReferenceRebase.actualCoefficients x l j).amplitude m |
| 148 | (ActualParticularCoherence.bandMap n m y)) hp ha] |
| 149 | have he := vectorPotential_equiv (ActualParticularCoherence.bandMap n m) |
| 150 | (L := (j : ℝ) * (x.coefficients.blocks l).frequency m) |
| 151 | (ratioPower_pos (ChartScales.Q_pos n) (ChartScales.Q_pos m) _).ne' |
| 152 | (div_ne_zero hKm hKn) hKn (by field_simp [hKn, (mul_ne_zero_iff.mp hKn).2]) |
| 153 | (fun y => y.1.1.1) (fun y => y.1.1.1) |
| 154 | (d.radialField n) (fun _ => d.angular) (d.axialField s n) |
| 155 | (d.radialField m) (fun _ => d.angular) (d.axialField s m) |
| 156 | (ActualParticularCoherence.bandMap_radius n m) |
| 157 | (ActualParticularCoherence.bandMap_radial B n m) |
| 158 | (ActualParticularCoherence.bandMap_angular B n m) |
| 159 | (ActualParticularCoherence.bandMap_axial B n m) |
| 160 | (velocityWeight h (ChartScales.Q n) (ChartScales.Q m)) |
| 161 | ((ActualReferenceRebase.actualCoefficients x l j).phase m) |
| 162 | ((ActualReferenceRebase.actualCoefficients x l j).amplitude m) z |
| 163 | simpa only [potential_weight (ChartScales.Q_pos n) (ChartScales.Q_pos m)] using he |
| 164 | |
| 165 | /-- The pressure carrier is transported exactly together with its scalar |
| 166 | coefficient. -/ |
| 167 | theorem pressureMode_band_of_values (x : CorrectionStep.CycleState (Label B N0)) |
| 168 | (l : Label B N0) (j : ℤ) (n m : ℕ) |
| 169 | (hKn : (j : ℝ) * (x.coefficients.blocks l).frequency n ≠ 0) (z : WaveSpace) |
| 170 | (ha : (ActualReferenceRebase.actualCoefficients x l j).pressure n z = |
| 171 | pressureWeight h (ChartScales.Q n) (ChartScales.Q m) • |
| 172 | (ActualReferenceRebase.actualCoefficients x l j).pressure m |
| 173 | (ActualParticularCoherence.bandMap n m z)) |
| 174 | (hp : (ActualReferenceRebase.actualCoefficients x l j).phase n z = |
| 175 | (((j : ℝ) * (x.coefficients.blocks l).frequency m) / |
| 176 | ((j : ℝ) * (x.coefficients.blocks l).frequency n)) * |
| 177 | (ActualReferenceRebase.actualCoefficients x l j).phase m |
| 178 | (ActualParticularCoherence.bandMap n m z)) : |
| 179 | pressureMode x l j n z = pressureWeight h (ChartScales.Q n) (ChartScales.Q m) • |
| 180 | pressureMode x l j m (ActualParticularCoherence.bandMap n m z) := by |
| 181 | have hc : carrier ((j : ℝ) * (x.coefficients.blocks l).frequency n) |
| 182 | ((ActualReferenceRebase.actualCoefficients x l j).phase n) z = |
| 183 | carrier ((j : ℝ) * (x.coefficients.blocks l).frequency m) |
| 184 | ((ActualReferenceRebase.actualCoefficients x l j).phase m) |
| 185 | (ActualParticularCoherence.bandMap n m z) := |
| 186 | PhysicalCurlCovariance.carrier_eq_of_products (by |
| 187 | rw [hp, ← mul_assoc, mul_div_cancel₀ _ hKn]) |
| 188 | rw [pressureMode_eq, pressureMode_eq] |
| 189 | simp only [mode, ha, hc, Complex.real_smul, mul_assoc] |
| 190 | |
| 191 | /-- Current-copy potential covariance is a consequence of actual source |
| 192 | continuity, support/order, and incoming state/block coherence. -/ |
| 193 | theorem potential_band (x : CorrectionStep.CycleState (Label B N0)) (l : Label B N0) |
| 194 | (I : ActualParticularCoherence.SourceInputs x l) |
| 195 | (hfrequency : ∀ n, (x.coefficients.blocks l).frequency n = ChartScales.carrier h n) |
| 196 | {V : Set TorusInverse.Plane} (hV : IsOpen V) (htime : ∀ s ∈ V, 0 < s.1) |
| 197 | (n m k : ℕ) (hi : CommonWindow.index h n + k = CommonWindow.index h m) |
| 198 | (hmap : MapsTo (GaugeStateCoherence.bandSlowEquiv h n m) V standardRegion.carrier) |
| 199 | (HS : ActualReferenceRebase.StateComparison x V n m k) |
| 200 | (HB : ActualReferenceRebase.BlockComparison x l V n m k) |
| 201 | (j : ℤ) (hj : j ≠ 0) (z : WaveSpace) (hz : z ∈ ActualParticularCoherence.waveDomain V) : |
| 202 | potential x l j n z = ratioPower (ChartScales.Q n) (ChartScales.Q m) h • |
| 203 | potential x l j m (ActualParticularCoherence.bandMap n m z) := by |
| 204 | have hf (a : ℕ) : (x.coefficients.blocks l).frequency a ≠ 0 := by |
| 205 | rw [hfrequency] |
| 206 | exact (Scaling.carrier_frequency_pos (ChartScales.epsilon_pos h a)).ne' |
| 207 | apply potential_band_of_germ x l j n m |
| 208 | (mul_ne_zero (by exact_mod_cast hj) (hf n)) |
| 209 | (mul_ne_zero (by exact_mod_cast hj) (hf m)) z |
| 210 | · exact (ActualParticularCoherence.raw_outputs x l I hfrequency hV htime n m k hi HS HB |
| 211 | j hj z hz (by rw [ActualParticularCoherence.parameterChange_slow]; exact hmap hz)).1 |
| 212 | · filter_upwards [(ActualParticularCoherence.waveDomain_open hV).mem_nhds hz] with y hy |
| 213 | exact ActualParticularCoherence.phase_band x l n m k hi HB j hj (hf n) (hf m) y hy |
| 214 | |
| 215 | /-- The full current harmonic pressure has the square velocity scale. -/ |
| 216 | theorem pressureMode_band (x : CorrectionStep.CycleState (Label B N0)) (l : Label B N0) |
| 217 | (I : ActualParticularCoherence.SourceInputs x l) |
| 218 | (hfrequency : ∀ n, (x.coefficients.blocks l).frequency n = ChartScales.carrier h n) |
| 219 | {V : Set TorusInverse.Plane} (hV : IsOpen V) (htime : ∀ s ∈ V, 0 < s.1) |
| 220 | (n m k : ℕ) (hi : CommonWindow.index h n + k = CommonWindow.index h m) |
| 221 | (hmap : MapsTo (GaugeStateCoherence.bandSlowEquiv h n m) V standardRegion.carrier) |
| 222 | (HS : ActualReferenceRebase.StateComparison x V n m k) |
| 223 | (HB : ActualReferenceRebase.BlockComparison x l V n m k) |
| 224 | (j : ℤ) (hj : j ≠ 0) (z : WaveSpace) (hz : z ∈ ActualParticularCoherence.waveDomain V) : |
| 225 | pressureMode x l j n z = pressureWeight h (ChartScales.Q n) (ChartScales.Q m) • |
| 226 | pressureMode x l j m (ActualParticularCoherence.bandMap n m z) := by |
| 227 | have hf (a : ℕ) : (x.coefficients.blocks l).frequency a ≠ 0 := by |
| 228 | rw [hfrequency] |
| 229 | exact (Scaling.carrier_frequency_pos (ChartScales.epsilon_pos h a)).ne' |
| 230 | apply pressureMode_band_of_values x l j n m (mul_ne_zero (by exact_mod_cast hj) (hf n)) z |
| 231 | · exact (ActualParticularCoherence.raw_outputs x l I hfrequency hV htime n m k hi HS HB |
| 232 | j hj z hz (by rw [ActualParticularCoherence.parameterChange_slow]; exact hmap hz)).2.1 |
| 233 | · exact ActualParticularCoherence.phase_band x l n m k hi HB j hj (hf n) (hf m) z hz |
| 234 | |
| 235 | theorem pressureMode_band_sq (x : CorrectionStep.CycleState (Label B N0)) (l : Label B N0) |
| 236 | (I : ActualParticularCoherence.SourceInputs x l) |
| 237 | (hfrequency : ∀ n, (x.coefficients.blocks l).frequency n = ChartScales.carrier h n) |
| 238 | {V : Set TorusInverse.Plane} (hV : IsOpen V) (htime : ∀ s ∈ V, 0 < s.1) |
| 239 | (n m k : ℕ) (hi : CommonWindow.index h n + k = CommonWindow.index h m) |
| 240 | (hmap : MapsTo (GaugeStateCoherence.bandSlowEquiv h n m) V standardRegion.carrier) |
| 241 | (HS : ActualReferenceRebase.StateComparison x V n m k) |
| 242 | (HB : ActualReferenceRebase.BlockComparison x l V n m k) |
| 243 | (j : ℤ) (hj : j ≠ 0) (z : WaveSpace) (hz : z ∈ ActualParticularCoherence.waveDomain V) : |
| 244 | pressureMode x l j n z = (velocityWeight h (ChartScales.Q n) (ChartScales.Q m)) ^ 2 • |
| 245 | pressureMode x l j m (ActualParticularCoherence.bandMap n m z) := by |
| 246 | simpa only [pressure_weight (ChartScales.Q_pos n) (ChartScales.Q_pos m)] using |
| 247 | pressureMode_band x l I hfrequency hV htime n m k hi hmap HS HB j hj z hz |
| 248 | |
| 249 | /-- Equality holds as an ambient germ at every point of the open slow |
| 250 | overlap, including all free radial, angular, and fast coordinates. -/ |
| 251 | theorem potential_band_germ (x : CorrectionStep.CycleState (Label B N0)) (l : Label B N0) |
| 252 | (I : ActualParticularCoherence.SourceInputs x l) |
| 253 | (hfrequency : ∀ n, (x.coefficients.blocks l).frequency n = ChartScales.carrier h n) |
| 254 | {V : Set TorusInverse.Plane} (hV : IsOpen V) (htime : ∀ s ∈ V, 0 < s.1) |
| 255 | (n m k : ℕ) (hi : CommonWindow.index h n + k = CommonWindow.index h m) |
| 256 | (hmap : MapsTo (GaugeStateCoherence.bandSlowEquiv h n m) V standardRegion.carrier) |
| 257 | (HS : ActualReferenceRebase.StateComparison x V n m k) |
| 258 | (HB : ActualReferenceRebase.BlockComparison x l V n m k) |
| 259 | (j : ℤ) (hj : j ≠ 0) (z : WaveSpace) (hz : z ∈ ActualParticularCoherence.waveDomain V) : |
| 260 | potential x l j n =ᶠ[𝓝 z] fun y => ratioPower (ChartScales.Q n) (ChartScales.Q m) h • |
| 261 | potential x l j m (ActualParticularCoherence.bandMap n m y) := by |
| 262 | filter_upwards [(ActualParticularCoherence.waveDomain_open hV).mem_nhds hz] with y hy |
| 263 | exact potential_band x l I hfrequency hV htime n m k hi hmap HS HB j hj y hy |
| 264 | |
| 265 | theorem pressureMode_band_germ (x : CorrectionStep.CycleState (Label B N0)) (l : Label B N0) |
| 266 | (I : ActualParticularCoherence.SourceInputs x l) |
| 267 | (hfrequency : ∀ n, (x.coefficients.blocks l).frequency n = ChartScales.carrier h n) |
| 268 | {V : Set TorusInverse.Plane} (hV : IsOpen V) (htime : ∀ s ∈ V, 0 < s.1) |
| 269 | (n m k : ℕ) (hi : CommonWindow.index h n + k = CommonWindow.index h m) |
| 270 | (hmap : MapsTo (GaugeStateCoherence.bandSlowEquiv h n m) V standardRegion.carrier) |
| 271 | (HS : ActualReferenceRebase.StateComparison x V n m k) |
| 272 | (HB : ActualReferenceRebase.BlockComparison x l V n m k) |
| 273 | (j : ℤ) (hj : j ≠ 0) (z : WaveSpace) (hz : z ∈ ActualParticularCoherence.waveDomain V) : |
| 274 | pressureMode x l j n =ᶠ[𝓝 z] |
| 275 | fun y => pressureWeight h (ChartScales.Q n) (ChartScales.Q m) • |
| 276 | pressureMode x l j m (ActualParticularCoherence.bandMap n m y) := by |
| 277 | filter_upwards [(ActualParticularCoherence.waveDomain_open hV).mem_nhds hz] with y hy |
| 278 | exact pressureMode_band x l I hfrequency hV htime n m k hi hmap HS HB j hj y hy |
| 279 | |
| 280 | end NavierStokes.ActualParticularPotentialCoherence |