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 | # Current-band signed vector potentials and pressure modes |
| 5 | |
| 6 | The potential is formed from the literal current common signed coefficient, |
| 7 | after its native cutoffs and copy sum. Its scale follows from the actual |
| 8 | normal, amplitude and carrier identities, before any physical curl is taken. |
| 9 | -/ |
| 10 | |
| 11 | noncomputable section |
| 12 | |
| 13 | namespace NavierStokes.ActualSignedPotentialCoherence |
| 14 | |
| 15 | open Set Function Filter HarmonicCalculus |
| 16 | open CorrectionInitialization CorrectionInitialization.ActualPrimary GaugeStateCoherence |
| 17 | open ActualSignedCoherence |
| 18 | open scoped Topology ContDiff |
| 19 | |
| 20 | abbrev Point := ActualSignedCoherence.Point |
| 21 | abbrev FullPoint := ActualSignedCoherence.FullPoint |
| 22 | |
| 23 | variable {B N0 : ℕ} |
| 24 | |
| 25 | /-- The coefficient of the literal current-band vector potential. -/ |
| 26 | noncomputable def potentialCoefficient (l : SignedLabel B N0) (u : CorrectionState.State Point) |
| 27 | (n : ℕ) (x : FullPoint) : ComplexVector := |
| 28 | CurlClassBounds.inverseCarrier ((copies l u).common.frequency n) • |
| 29 | CurlClassBounds.normalCoefficient |
| 30 | ((copies l u).common.normal fullStrip (ActualSignedStageControls.directions B) n x) |
| 31 | ((copies l u).common.amplitude n x) |
| 32 | |
| 33 | /-- The actual current common coefficient's curl potential. -/ |
| 34 | noncomputable def potential (l : SignedLabel B N0) (u : CorrectionState.State Point) |
| 35 | (n : ℕ) : FullPoint → ComplexVector := |
| 36 | (copies l u).common.curlPotential fullStrip (ActualSignedStageControls.directions B) n |
| 37 | |
| 38 | /-- The actual current common pressure, with its carrier retained. -/ |
| 39 | noncomputable def pressureMode (l : SignedLabel B N0) (u : CorrectionState.State Point) |
| 40 | (n : ℕ) : FullPoint → ℂ := |
| 41 | mode ((copies l u).common.frequency n) ((copies l u).common.phase n) |
| 42 | ((copies l u).common.pressure n) |
| 43 | |
| 44 | theorem potential_eq_mode (l : SignedLabel B N0) (u : CorrectionState.State Point) (n : ℕ) : |
| 45 | potential l u n = vectorMode ((copies l u).common.frequency n) ((copies l u).common.phase n) |
| 46 | (potentialCoefficient l u n) := rfl |
| 47 | |
| 48 | theorem potential_weight (n m : ℕ) : |
| 49 | bandVelocityScale h n m / bandScale n m = |
| 50 | PhysicalParticularWave.ratioPower (ChartScales.Q n) (ChartScales.Q m) h := by |
| 51 | rw [← velocityWeight_eq, ← radiusWeight_eq, PhysicalParticularWave.velocityWeight, |
| 52 | PhysicalParticularWave.ratioPower_div (ChartScales.Q_pos n) (ChartScales.Q_pos m)] |
| 53 | congr 1 |
| 54 | unfold CoordinateAlgebra.A |
| 55 | ring |
| 56 | |
| 57 | theorem pressure_weight (n m : ℕ) : |
| 58 | bandVelocityScale h n m * bandVelocityScale h n m = |
| 59 | PhysicalParticularWave.pressureWeight h (ChartScales.Q n) (ChartScales.Q m) := by |
| 60 | rw [← velocityWeight_eq, PhysicalParticularWave.velocityWeight, |
| 61 | PhysicalParticularWave.ratioPower_mul (ChartScales.Q_pos n) (ChartScales.Q_pos m)] |
| 62 | unfold PhysicalParticularWave.pressureWeight |
| 63 | congr 1 |
| 64 | ring |
| 65 | |
| 66 | private theorem inverseCarrier_scale (K L b s c : ℝ) |
| 67 | (hK : K ≠ 0) (hb : b ≠ 0) (hs : s ≠ 0) (hKL : K*b = L) : |
| 68 | CurlClassBounds.inverseCarrier K * ((c / (b*s) : ℝ) : ℂ) = |
| 69 | ((c/s : ℝ) : ℂ) * CurlClassBounds.inverseCarrier L := by |
| 70 | rw [← hKL] |
| 71 | unfold CurlClassBounds.inverseCarrier |
| 72 | push_cast |
| 73 | field_simp [Complex.ofReal_ne_zero.mpr hK, Complex.ofReal_ne_zero.mpr hb, |
| 74 | Complex.ofReal_ne_zero.mpr hs] |
| 75 | |
| 76 | /-- The inverse carrier cancels the phase scale, leaving velocity divided |
| 77 | by radial scale. No smoothness or nonzero-normal assumption is introduced. -/ |
| 78 | theorem potentialCoefficient_of_request (l : SignedLabel B N0) (u : CorrectionState.State Point) |
| 79 | (n m k : ℕ) (hi : CommonWindow.index h n + k = CommonWindow.index h m) |
| 80 | (x : FullPoint) |
| 81 | (hR : request B u n x = coefficientWeight n m ^ 2 • request B u m (chart n m k x)) : |
| 82 | potentialCoefficient l u n x = (bandVelocityScale h n m / bandScale n m) • |
| 83 | potentialCoefficient l u m (chart n m k x) := by |
| 84 | change CurlClassBounds.inverseCarrier (ChartScales.carrier h n) • |
| 85 | CurlClassBounds.normalCoefficient |
| 86 | ((chartCoefficients l.2 l.1).normal fullStrip (ActualSignedStageControls.directions B) n x) |
| 87 | ((copies l u).common.amplitude n x) = |
| 88 | (bandVelocityScale h n m / bandScale n m) • |
| 89 | (CurlClassBounds.inverseCarrier (ChartScales.carrier h m) • |
| 90 | CurlClassBounds.normalCoefficient |
| 91 | ((chartCoefficients l.2 l.1).normal fullStrip (ActualSignedStageControls.directions B) m |
| 92 | (chart n m k x)) ((copies l u).common.amplitude m (chart n m k x))) |
| 93 | rw [normal_transport l n m k hi, common_amplitude_of_request l u n m k hi x hR, |
| 94 | PhysicalCurlCovariance.normalCoefficient_scale _ _ |
| 95 | (mul_ne_zero (phaseWeight_ne n m) (bandScale_pos n m).ne')] |
| 96 | have hs := inverseCarrier_scale (ChartScales.carrier h n) (ChartScales.carrier h m) |
| 97 | (phaseWeight n m) (bandScale n m) (bandVelocityScale h n m) |
| 98 | (carrier_pos n).ne' (phaseWeight_ne n m) (bandScale_pos n m).ne' (carrier_phaseWeight n m) |
| 99 | ext i |
| 100 | simp only [Pi.smul_apply, Complex.real_smul, smul_eq_mul] |
| 101 | rw [← mul_assoc (CurlClassBounds.inverseCarrier (ChartScales.carrier h n)), hs] |
| 102 | ring |
| 103 | |
| 104 | theorem potential_of_request (l : SignedLabel B N0) (u : CorrectionState.State Point) |
| 105 | (n m k : ℕ) (hi : CommonWindow.index h n + k = CommonWindow.index h m) |
| 106 | (x : FullPoint) |
| 107 | (hR : request B u n x = coefficientWeight n m ^ 2 • request B u m (chart n m k x)) : |
| 108 | potential l u n x = (bandVelocityScale h n m / bandScale n m) • |
| 109 | potential l u m (chart n m k x) := by |
| 110 | have ha := potentialCoefficient_of_request l u n m k hi x hR |
| 111 | have hc : carrier ((copies l u).common.frequency n) ((copies l u).common.phase n) x = |
| 112 | carrier ((copies l u).common.frequency m) ((copies l u).common.phase m) (chart n m k x) := |
| 113 | PhysicalCurlCovariance.carrier_eq_of_products (carrier_transport l n m k hi x) |
| 114 | ext i |
| 115 | simp only [potential_eq_mode, vectorMode, mode, ha, hc, Pi.smul_apply, Complex.real_smul] |
| 116 | ring |
| 117 | |
| 118 | theorem pressureMode_of_request (l : SignedLabel B N0) (u : CorrectionState.State Point) |
| 119 | (n m k : ℕ) (hi : CommonWindow.index h n + k = CommonWindow.index h m) |
| 120 | (x : FullPoint) |
| 121 | (hR : request B u n x = coefficientWeight n m ^ 2 • request B u m (chart n m k x)) : |
| 122 | pressureMode l u n x = (bandVelocityScale h n m * bandVelocityScale h n m) • |
| 123 | pressureMode l u m (chart n m k x) := by |
| 124 | have ha := common_pressure_of_request l u n m k hi x hR |
| 125 | have hc : carrier ((copies l u).common.frequency n) ((copies l u).common.phase n) x = |
| 126 | carrier ((copies l u).common.frequency m) ((copies l u).common.phase m) (chart n m k x) := |
| 127 | PhysicalCurlCovariance.carrier_eq_of_products (carrier_transport l n m k hi x) |
| 128 | simp only [pressureMode, mode, ha, hc, Complex.real_smul, mul_assoc] |
| 129 | |
| 130 | /-- The physical power of the potential, before choosing any physical graph. -/ |
| 131 | noncomputable def rescaledPotential (l : SignedLabel B N0) (u : CorrectionState.State Point) |
| 132 | (n : ℕ) (x : FullPoint) : ComplexVector := |
| 133 | ChartScales.Q n ^ (-h) • potential l u n x |
| 134 | |
| 135 | noncomputable def rescaledPressureMode (l : SignedLabel B N0) (u : CorrectionState.State Point) |
| 136 | (n : ℕ) (x : FullPoint) : ℂ := |
| 137 | ChartScales.Q n ^ (-(2 * CoordinateAlgebra.A h)) • pressureMode l u n x |
| 138 | |
| 139 | section IncomingState |
| 140 | |
| 141 | variable (l : SignedLabel B N0) (u : CorrectionState.State Point) |
| 142 | (H : MeanStateRegularity.PrimitiveData ActualInitialization.geometry.region |
| 143 | ActualInitialization.geometry.patch.a ActualInitialization.geometry.patch.b (commonContext B) u) |
| 144 | (hfixed : (VariableGaugeMean.reconstructState ActualInitialization.geometry.gauge |
| 145 | (commonContext B) u).pressure = u.pressure) |
| 146 | (n m k : ℕ) (hi : CommonWindow.index h n + k = CommonWindow.index h m) |
| 147 | (HS : PhysicalResidualNaturality.StateOn (PhysicalMeanDomain.slowDomain (ActualInitialCoherence.overlap n m)) |
| 148 | (bandChartEquiv h n m k) (bandVelocityScale h n m) (bandScale n m) u u n m) |
| 149 | |
| 150 | include H hfixed hi HS |
| 151 | |
| 152 | theorem potential_transport (x : FullPoint) (hx : x.1.2.1 ∈ ActualInitialCoherence.overlap n m) : |
| 153 | potential l u n x = (bandVelocityScale h n m / bandScale n m) • |
| 154 | potential l u m (chart n m k x) := |
| 155 | potential_of_request l u n m k hi x (fullRequest_transport u H hfixed n m k hi HS x hx) |
| 156 | |
| 157 | theorem pressureMode_transport (x : FullPoint) (hx : x.1.2.1 ∈ ActualInitialCoherence.overlap n m) : |
| 158 | pressureMode l u n x = (bandVelocityScale h n m * bandVelocityScale h n m) • |
| 159 | pressureMode l u m (chart n m k x) := |
| 160 | pressureMode_of_request l u n m k hi x (fullRequest_transport u H hfixed n m k hi HS x hx) |
| 161 | |
| 162 | theorem potential_transport_weight (x : FullPoint) (hx : x.1.2.1 ∈ ActualInitialCoherence.overlap n m) : |
| 163 | potential l u n x = PhysicalParticularWave.ratioPower (ChartScales.Q n) (ChartScales.Q m) h • |
| 164 | potential l u m (chart n m k x) := by |
| 165 | rw [← potential_weight] |
| 166 | exact potential_transport l u H hfixed n m k hi HS x hx |
| 167 | |
| 168 | theorem pressureMode_transport_weight (x : FullPoint) (hx : x.1.2.1 ∈ ActualInitialCoherence.overlap n m) : |
| 169 | pressureMode l u n x = PhysicalParticularWave.pressureWeight h (ChartScales.Q n) (ChartScales.Q m) • |
| 170 | pressureMode l u m (chart n m k x) := by |
| 171 | rw [← pressure_weight] |
| 172 | exact pressureMode_transport l u H hfixed n m k hi HS x hx |
| 173 | |
| 174 | theorem rescaledPotential_transport (x : FullPoint) (hx : x.1.2.1 ∈ ActualInitialCoherence.overlap n m) : |
| 175 | rescaledPotential l u n x = rescaledPotential l u m (chart n m k x) := by |
| 176 | unfold rescaledPotential |
| 177 | rw [potential_transport_weight l u H hfixed n m k hi HS x hx, smul_smul, |
| 178 | mul_comm, PhysicalParticularWave.ratioPower_cancel (ChartScales.Q_pos n) (ChartScales.Q_pos m)] |
| 179 | |
| 180 | theorem rescaledPressureMode_transport (x : FullPoint) (hx : x.1.2.1 ∈ ActualInitialCoherence.overlap n m) : |
| 181 | rescaledPressureMode l u n x = rescaledPressureMode l u m (chart n m k x) := by |
| 182 | unfold rescaledPressureMode |
| 183 | rw [pressureMode_transport_weight l u H hfixed n m k hi HS x hx, smul_smul, |
| 184 | PhysicalParticularWave.pressureWeight, mul_comm, |
| 185 | PhysicalParticularWave.ratioPower_cancel (ChartScales.Q_pos n) (ChartScales.Q_pos m)] |
| 186 | |
| 187 | end IncomingState |
| 188 | |
| 189 | /-! ## Comparing any two valid current-band representatives -/ |
| 190 | |
| 191 | theorem chart_eq_of_absolute (n m k : ℕ) |
| 192 | (hi : CommonWindow.index h n + k = CommonWindow.index h m) (x y : FullPoint) |
| 193 | (hxy : ActualPrimaryCoherence.absoluteChart n x = ActualPrimaryCoherence.absoluteChart m y) : |
| 194 | chart n m k x = y := by |
| 195 | apply (ActualPrimaryCoherence.absoluteChart m).injective |
| 196 | exact (chart_absolute n m k hi x).trans hxy |
| 197 | |
| 198 | theorem rescaled_eq_of_absolute_of_index (l : SignedLabel B N0) (u : CorrectionState.State Point) |
| 199 | (H : MeanStateRegularity.PrimitiveData ActualInitialization.geometry.region |
| 200 | ActualInitialization.geometry.patch.a ActualInitialization.geometry.patch.b (commonContext B) u) |
| 201 | (hfixed : (VariableGaugeMean.reconstructState ActualInitialization.geometry.gauge |
| 202 | (commonContext B) u).pressure = u.pressure) |
| 203 | (n m k : ℕ) (hi : CommonWindow.index h n + k = CommonWindow.index h m) |
| 204 | (HS : PhysicalResidualNaturality.StateOn (PhysicalMeanDomain.slowDomain (ActualInitialCoherence.overlap n m)) |
| 205 | (bandChartEquiv h n m k) (bandVelocityScale h n m) (bandScale n m) u u n m) |
| 206 | (x y : FullPoint) (hx : x.1.2.1 ∈ standardRegion.carrier) (hy : y.1.2.1 ∈ standardRegion.carrier) |
| 207 | (hxy : ActualPrimaryCoherence.absoluteChart n x = ActualPrimaryCoherence.absoluteChart m y) : |
| 208 | rescaledPotential l u n x = rescaledPotential l u m y ∧ |
| 209 | rescaledPressureMode l u n x = rescaledPressureMode l u m y := by |
| 210 | have he := chart_eq_of_absolute n m k hi x y hxy |
| 211 | have hslow : bandSlowEquiv h n m x.1.2.1 = y.1.2.1 := |
| 212 | congrArg (fun z : FullPoint => z.1.2.1) he |
| 213 | have ho : x.1.2.1 ∈ ActualInitialCoherence.overlap n m := by |
| 214 | refine ⟨hx, ?_⟩ |
| 215 | change bandSlowEquiv h n m x.1.2.1 ∈ standardRegion.carrier |
| 216 | rw [hslow] |
| 217 | exact hy |
| 218 | constructor |
| 219 | · simpa only [he] using rescaledPotential_transport l u H hfixed n m k hi HS x ho |
| 220 | · simpa only [he] using rescaledPressureMode_transport l u H hfixed n m k hi HS x ho |
| 221 | |
| 222 | /-- Either order of the two common indices is allowed. The only coherence |
| 223 | input concerns the incoming state, on its actual full-fiber overlaps. -/ |
| 224 | theorem rescaled_eq_of_absolute (l : SignedLabel B N0) (u : CorrectionState.State Point) |
| 225 | (H : MeanStateRegularity.PrimitiveData ActualInitialization.geometry.region |
| 226 | ActualInitialization.geometry.patch.a ActualInitialization.geometry.patch.b (commonContext B) u) |
| 227 | (hfixed : (VariableGaugeMean.reconstructState ActualInitialization.geometry.gauge |
| 228 | (commonContext B) u).pressure = u.pressure) |
| 229 | (HS : ∀ n m k, CommonWindow.index h n + k = CommonWindow.index h m → |
| 230 | PhysicalResidualNaturality.StateOn (PhysicalMeanDomain.slowDomain (ActualInitialCoherence.overlap n m)) |
| 231 | (bandChartEquiv h n m k) (bandVelocityScale h n m) (bandScale n m) u u n m) |
| 232 | (n m : ℕ) (x y : FullPoint) |
| 233 | (hx : x.1.2.1 ∈ standardRegion.carrier) (hy : y.1.2.1 ∈ standardRegion.carrier) |
| 234 | (hxy : ActualPrimaryCoherence.absoluteChart n x = ActualPrimaryCoherence.absoluteChart m y) : |
| 235 | rescaledPotential l u n x = rescaledPotential l u m y ∧ |
| 236 | rescaledPressureMode l u n x = rescaledPressureMode l u m y := by |
| 237 | rcases le_total (CommonWindow.index h n) (CommonWindow.index h m) with hn | hm |
| 238 | · have hi : CommonWindow.index h n + (CommonWindow.index h m - CommonWindow.index h n) = |
| 239 | CommonWindow.index h m := Nat.add_sub_of_le hn |
| 240 | exact rescaled_eq_of_absolute_of_index l u H hfixed n m _ hi (HS n m _ hi) x y hx hy hxy |
| 241 | · have hi : CommonWindow.index h m + (CommonWindow.index h n - CommonWindow.index h m) = |
| 242 | CommonWindow.index h n := Nat.add_sub_of_le hm |
| 243 | have he := rescaled_eq_of_absolute_of_index l u H hfixed m n _ hi (HS m n _ hi) y x hy hx hxy.symm |
| 244 | exact ⟨he.1.symm, he.2.symm⟩ |
| 245 | |
| 246 | /-! ## The actual cylindrical graph, with the slow-coordinate swap explicit -/ |
| 247 | |
| 248 | /-- `commonGraph` uses `(Z,T)`; the correction state uses `(T,Z)`. -/ |
| 249 | noncomputable def nativePoint (n : ℕ) (z : ProblemStatement.SpaceTime) : FullPoint := |
| 250 | PhysicalResidualTZ.swapCylinder |
| 251 | ((PhysicalResidualBridge.commonGraph (ChartScales.Q n) h (CommonWindow.index h n)).map z) |
| 252 | |
| 253 | theorem nativePoint_absolute (n : ℕ) (z : ProblemStatement.SpaceTime) (hr : 0 < z.2 0) : |
| 254 | ActualPrimaryCoherence.absoluteChart n (nativePoint n z) = ActualPrimaryCoherence.physicalLift z := |
| 255 | ActualPrimaryCoherence.absoluteChart_physical n hr |
| 256 | |
| 257 | theorem nativePoint_smoothAt (n : ℕ) (z : ProblemStatement.SpaceTime) (hr : 0 < z.2 0) : |
| 258 | ContDiffAt ℝ ∞ (nativePoint n) z := |
| 259 | PhysicalResidualTZ.swapCylinder.contDiff.contDiffAt.comp z |
| 260 | ((PhysicalResidualBridge.commonGraph (ChartScales.Q n) h (CommonWindow.index h n)).map_smoothAt |
| 261 | (mul_pos (Real.rpow_pos_of_pos (ChartScales.Q_pos n) _) hr).ne') |
| 262 | |
| 263 | noncomputable def cylindricalPotential (l : SignedLabel B N0) (u : CorrectionState.State Point) |
| 264 | (n : ℕ) (z : ProblemStatement.SpaceTime) : ComplexVector := |
| 265 | rescaledPotential l u n (nativePoint n z) |
| 266 | |
| 267 | noncomputable def cylindricalPressureMode (l : SignedLabel B N0) (u : CorrectionState.State Point) |
| 268 | (n : ℕ) (z : ProblemStatement.SpaceTime) : ℂ := |
| 269 | rescaledPressureMode l u n (nativePoint n z) |
| 270 | |
| 271 | /-- A band is used only where its own current slow chart is valid. -/ |
| 272 | noncomputable def physicalDomain (n : ℕ) : Set ProblemStatement.SpaceTime := |
| 273 | {z | 0 < z.2 0 ∧ (nativePoint n z).1.2.1 ∈ standardRegion.carrier} |
| 274 | |
| 275 | theorem cylindrical_values_eq (l : SignedLabel B N0) (u : CorrectionState.State Point) |
| 276 | (H : MeanStateRegularity.PrimitiveData ActualInitialization.geometry.region |
| 277 | ActualInitialization.geometry.patch.a ActualInitialization.geometry.patch.b (commonContext B) u) |
| 278 | (hfixed : (VariableGaugeMean.reconstructState ActualInitialization.geometry.gauge |
| 279 | (commonContext B) u).pressure = u.pressure) |
| 280 | (HS : ∀ n m k, CommonWindow.index h n + k = CommonWindow.index h m → |
| 281 | PhysicalResidualNaturality.StateOn (PhysicalMeanDomain.slowDomain (ActualInitialCoherence.overlap n m)) |
| 282 | (bandChartEquiv h n m k) (bandVelocityScale h n m) (bandScale n m) u u n m) |
| 283 | (n m : ℕ) (z : ProblemStatement.SpaceTime) (hn : z ∈ physicalDomain n) (hm : z ∈ physicalDomain m) : |
| 284 | cylindricalPotential l u n z = cylindricalPotential l u m z ∧ |
| 285 | cylindricalPressureMode l u n z = cylindricalPressureMode l u m z := |
| 286 | rescaled_eq_of_absolute l u H hfixed HS n m _ _ hn.2 hm.2 |
| 287 | ((nativePoint_absolute n z hn.1).trans (nativePoint_absolute m z hn.1).symm) |
| 288 | |
| 289 | end NavierStokes.ActualSignedPotentialCoherence |