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.PhysicalSignedWave |
| 2 | import NavierStokes.MeanStateRegularity |
| 3 | |
| 4 | /-! |
| 5 | # A common-torus signed request with native wave geometry |
| 6 | |
| 7 | The torus-averaged signed request is independent of the free fast coordinate |
| 8 | and angle at which it is evaluated. The common state can therefore be kept on |
| 9 | its original torus while the primary wave uses native fast coordinates. |
| 10 | Freezing the band index preserves every actual derivative and average. |
| 11 | -/ |
| 12 | |
| 13 | noncomputable section |
| 14 | |
| 15 | namespace NavierStokes.TorusMeanRequestRebase |
| 16 | |
| 17 | open Set Function WeightedClasses CorrectionState |
| 18 | open scoped Topology ContDiff |
| 19 | |
| 20 | |
| 21 | abbrev Point := LocalSignedRequest.Point |
| 22 | abbrev Cylinder := PhysicalSignedWave.Cylinder |
| 23 | abbrev Plane := TorusInverse.Plane |
| 24 | |
| 25 | section Freeze |
| 26 | |
| 27 | variable {D : Type} [NormedAddCommGroup D] [NormedSpace ℝ D] |
| 28 | |
| 29 | noncomputable def freezeStrip (s : StripData D) (m : ℕ) : StripData D := |
| 30 | { s with |
| 31 | epsilon := fun _ => s.epsilon m |
| 32 | epsilon_pos := fun _ => s.epsilon_pos m |
| 33 | epsilon_le_one := fun _ => s.epsilon_le_one m |
| 34 | slow := fun _ => s.slow m |
| 35 | one_le_slow := fun _ => s.one_le_slow m } |
| 36 | |
| 37 | noncomputable def freezeTriple (v : MeanIncrementBounds.Triple D) (m : ℕ) : |
| 38 | MeanIncrementBounds.Triple D := |
| 39 | ⟨fun _ => v.radial m, fun _ => v.angular m, fun _ => v.axial m⟩ |
| 40 | |
| 41 | noncomputable def freezeContext (c : Context D) (m : ℕ) : Context D where |
| 42 | operators := { c.operators with |
| 43 | epsilon := fun _ => c.operators.epsilon m |
| 44 | radialFrequency := fun _ => c.operators.radialFrequency m |
| 45 | fastCoefficient := fun _ => c.operators.fastCoefficient m } |
| 46 | base := freezeTriple c.base m |
| 47 | virtualTheta := fun _ => c.virtualTheta m |
| 48 | virtualAxial := fun _ => c.virtualAxial m |
| 49 | |
| 50 | noncomputable def freezeState (u : State D) (m : ℕ) : State D where |
| 51 | mean := freezeTriple u.mean m |
| 52 | pressure := fun _ => u.pressure m |
| 53 | oscillation := fun _ => u.oscillation m |
| 54 | oscillatoryPressure := fun _ => u.oscillatoryPressure m |
| 55 | errors := ⟨fun _ => u.errors.base m, fun _ => u.errors.gaussian m, |
| 56 | fun _ => u.errors.aliasError m⟩ |
| 57 | |
| 58 | noncomputable def freezeWave (a : LinearWaveBounds.WaveCoefficients D) (m : ℕ) : |
| 59 | LinearWaveBounds.WaveCoefficients D where |
| 60 | radius := fun _ => a.radius m |
| 61 | radialBase := fun _ => a.radialBase m |
| 62 | frequencyBase := fun _ => a.frequencyBase m |
| 63 | axialBase := fun _ => a.axialBase m |
| 64 | phase := fun _ => a.phase m |
| 65 | amplitude := fun _ => a.amplitude m |
| 66 | pressure := fun _ => a.pressure m |
| 67 | frequency := fun _ => a.frequency m |
| 68 | |
| 69 | noncomputable def freezeDirections (d : LinearWaveBounds.GraphDirections D) (m : ℕ) : |
| 70 | LinearWaveBounds.GraphDirections D := |
| 71 | { d with radialScale := fun _ => d.radialScale m, fastScale := fun _ => d.fastScale m } |
| 72 | |
| 73 | @[simp] theorem freezeStrip_domain (s : StripData D) (m : ℕ) : |
| 74 | (freezeStrip s m).domain = s.domain := rfl |
| 75 | |
| 76 | @[simp] theorem freezeStrip_epsilon (s : StripData D) (m n : ℕ) : |
| 77 | (freezeStrip s m).epsilon n = s.epsilon m := rfl |
| 78 | |
| 79 | omit [NormedAddCommGroup D] [NormedSpace ℝ D] in |
| 80 | @[simp] theorem freezeState_covariance (u : State D) (m n : ℕ) (i j : Fin 3) : |
| 81 | (freezeState u m).covariance i j n = u.covariance i j m := rfl |
| 82 | |
| 83 | @[simp] theorem freezeState_theta (c : Context D) (u : State D) (m n : ℕ) : |
| 84 | (freezeState u m).thetaResidual (freezeContext c m) n = u.thetaResidual c m := rfl |
| 85 | |
| 86 | @[simp] theorem freezeState_axial (c : Context D) (u : State D) (m n : ℕ) : |
| 87 | (freezeState u m).axialResidual (freezeContext c m) n = u.axialResidual c m := rfl |
| 88 | |
| 89 | @[simp] theorem freezeContext_frame (c : Context D) (m n : ℕ) : |
| 90 | HarmonicResidual.contextFrame (freezeContext c m) n = HarmonicResidual.contextFrame c m := rfl |
| 91 | |
| 92 | theorem freezeState_coherent (u : State D) (m n nr : ℕ) (U : Set D) : |
| 93 | PhysicalResidualNaturality.StateOn U (ContinuousLinearEquiv.refl ℝ D) 1 1 |
| 94 | (freezeState u m) (freezeState u m) n nr := by |
| 95 | refine ⟨⟨?_, ?_, ?_⟩, ?_, ?_, ?_, ?_, ?_, ?_⟩ <;> |
| 96 | simp [PhysicalResidualNaturality.ScalarOn, freezeState, freezeTriple] |
| 97 | |
| 98 | theorem freezeContext_coherent (c : Context D) (m n nr : ℕ) (U : Set D) : |
| 99 | PhysicalResidualNaturality.ContextOn U (ContinuousLinearEquiv.refl ℝ D) 1 1 |
| 100 | (freezeContext c m) (freezeContext c m) n nr := by |
| 101 | refine ⟨?_, ⟨?_, ?_, ?_⟩, ?_, ?_⟩ |
| 102 | · refine ⟨?_, ?_, ?_, ?_, ?_⟩ <;> simp [freezeContext_frame] |
| 103 | all_goals simp [PhysicalResidualNaturality.ScalarOn, freezeContext, freezeTriple] |
| 104 | |
| 105 | end Freeze |
| 106 | |
| 107 | /-! ## The evaluation point carries no torus or angle dependence -/ |
| 108 | |
| 109 | theorem fullRequest_free_variables (s : StripData Point) (P : SignedStressPrimitive.Patch) |
| 110 | (coord : ℝ) (c : Context Point) (u : State Point) (n : ℕ) |
| 111 | (r : ℝ) (z Y Y' : Plane) (theta theta' : ℝ) : |
| 112 | LocalSignedRequest.fullRequest s P coord c u n ((r, (z, Y)), theta) = |
| 113 | LocalSignedRequest.fullRequest s P coord c u n ((r, (z, Y')), theta') := rfl |
| 114 | |
| 115 | theorem stateRequest_free_variables (s : StripData Cylinder) (P : SignedStressPrimitive.Patch) |
| 116 | (h : ℝ) (c : Context Point) (u : State Point) (n : ℕ) |
| 117 | (r : ℝ) (z Y Y' : Plane) (theta theta' : ℝ) : |
| 118 | PhysicalSignedWave.stateRequest s P h c u n ((r, (z, Y)), theta) = |
| 119 | PhysicalSignedWave.stateRequest s P h c u n ((r, (z, Y')), theta') := rfl |
| 120 | |
| 121 | /-- This changes only the evaluation point, not the state or the measure |
| 122 | used for its torus average. The fast-coordinate map can be arbitrary. -/ |
| 123 | theorem stateRequest_fast_map (s : StripData Cylinder) (P : SignedStressPrimitive.Patch) |
| 124 | (h : ℝ) (c : Context Point) (u : State Point) (n : ℕ) |
| 125 | (mapFast : Plane → Plane) (x : Cylinder) : |
| 126 | PhysicalSignedWave.stateRequest s P h c u n |
| 127 | ((x.1.1, (x.1.2.1, mapFast x.1.2.2)), x.2) = |
| 128 | PhysicalSignedWave.stateRequest s P h c u n x := rfl |
| 129 | |
| 130 | theorem stateRequest_inverseCover (s : StripData Cylinder) (P : SignedStressPrimitive.Patch) |
| 131 | (h : ℝ) (c : Context Point) (u : State Point) (n gap : ℕ) (x : Cylinder) : |
| 132 | PhysicalSignedWave.stateRequest s P h c u n |
| 133 | ((x.1.1, (x.1.2.1, (CommonCoverSolve.coverPower gap).symm x.1.2.2)), x.2) = |
| 134 | PhysicalSignedWave.stateRequest s P h c u n x := rfl |
| 135 | |
| 136 | /-- Equality uses exactly the source and target epsilons. No equality of |
| 137 | their unrelated domains, phase frames, or native backgrounds is needed. -/ |
| 138 | theorem stateRequest_freeze (s sr : StripData Cylinder) (P : SignedStressPrimitive.Patch) |
| 139 | (h : ℝ) (c : Context Point) (u : State Point) (m n : ℕ) |
| 140 | (hepsilon : sr.epsilon n = s.epsilon m) (x : Cylinder) : |
| 141 | PhysicalSignedWave.stateRequest sr P h (freezeContext c m) (freezeState u m) n x = |
| 142 | PhysicalSignedWave.stateRequest s P h c u m x := by |
| 143 | change (sr.epsilon n)⁻¹ • _ = (s.epsilon m)⁻¹ • _ |
| 144 | rw [hepsilon] |
| 145 | rfl |
| 146 | |
| 147 | theorem stateRequest_freeze_full (s : StripData Point) (sr : StripData Cylinder) |
| 148 | (P : SignedStressPrimitive.Patch) (h : ℝ) (c : Context Point) (u : State Point) (m n : ℕ) |
| 149 | (hepsilon : sr.epsilon n = s.epsilon m) (x : Cylinder) : |
| 150 | PhysicalSignedWave.stateRequest sr P h (freezeContext c m) (freezeState u m) n x = |
| 151 | LocalSignedRequest.fullRequest s P (2 * h) c u m (PhysicalResidualTZ.swapCylinder x) := by |
| 152 | change (sr.epsilon n)⁻¹ • _ = (s.epsilon m)⁻¹ • _ |
| 153 | rw [hepsilon] |
| 154 | rfl |
| 155 | |
| 156 | @[simp] theorem stateRequest_freezeStrip (s : StripData Cylinder) (P : SignedStressPrimitive.Patch) |
| 157 | (h : ℝ) (c : Context Point) (u : State Point) (m n : ℕ) (x : Cylinder) : |
| 158 | PhysicalSignedWave.stateRequest (freezeStrip s m) P h (freezeContext c m) (freezeState u m) n x = |
| 159 | PhysicalSignedWave.stateRequest s P h c u m x := |
| 160 | stateRequest_freeze s (freezeStrip s m) P h c u m n rfl x |
| 161 | |
| 162 | /-! ## Identity band views of the native primary -/ |
| 163 | |
| 164 | theorem ratioPower_self {Q : ℝ} (hQ : 0 < Q) (a : ℝ) : |
| 165 | PhysicalParticularWave.ratioPower Q Q a = 1 := |
| 166 | div_self (Real.rpow_pos_of_pos hQ a).ne' |
| 167 | |
| 168 | theorem slowChange_self (h : ℝ) {Q : ℝ} (hQ : 0 < Q) (z : Plane) : |
| 169 | PhysicalSignedWave.slowChange h Q Q z = z := by |
| 170 | simp [PhysicalSignedWave.slowChange, ratioPower_self hQ] |
| 171 | |
| 172 | theorem requestChart_self (h : ℝ) {Q : ℝ} (hQ : 0 < Q) : |
| 173 | PhysicalSignedWave.requestChart h hQ hQ 0 = ContinuousLinearEquiv.refl ℝ Point := by |
| 174 | ext x <;> |
| 175 | simp [PhysicalSignedWave.requestChart_apply, ratioPower_self hQ, slowChange_self h hQ, |
| 176 | TemporalMeanUpdate.coverMap] |
| 177 | |
| 178 | variable {U : PhaseJetBounds.Domain ℕ PhaseCalculus.Slow} |
| 179 | |
| 180 | /-- The dummy band index repeats one physical scale and one native cover. |
| 181 | Every coordinate change is the identity; the supplied primary is retained. -/ |
| 182 | noncomputable def identityViews (B : PhysicalSignedWave.PrimaryData U) (m : ℕ) |
| 183 | (h Q : ℝ) (cover : ℕ) (hQ : 0 < Q) (hfrequency : B.base.frequency m ≠ 0) : B.Views m where |
| 184 | exponent := h |
| 185 | referenceScale := Q |
| 186 | referenceScale_pos := hQ |
| 187 | referenceCover := cover |
| 188 | scale _ := Q |
| 189 | scale_pos _ := hQ |
| 190 | cover _ := cover |
| 191 | cover_le _ := le_rfl |
| 192 | frequency _ := B.base.frequency m |
| 193 | frequency_ne _ := hfrequency |
| 194 | strip := B.strip |
| 195 | directions := B.directions |
| 196 | background := B.base |
| 197 | |
| 198 | @[simp] theorem identityViews_map (B : PhysicalSignedWave.PrimaryData U) (m : ℕ) |
| 199 | (h Q : ℝ) (cover : ℕ) (hQ : 0 < Q) (hfrequency : B.base.frequency m ≠ 0) |
| 200 | (n : ℕ) (x : Cylinder) : |
| 201 | (identityViews B m h Q cover hQ hfrequency).map n x = x := by |
| 202 | simp [PhysicalSignedWave.PrimaryData.Views.map, identityViews, |
| 203 | PhysicalParticularWave.cylinderChange, ratioPower_self hQ, CommonCoverSolve.coverPower] |
| 204 | |
| 205 | @[simp] theorem identityViews_velocity (B : PhysicalSignedWave.PrimaryData U) (m : ℕ) |
| 206 | (h Q : ℝ) (cover : ℕ) (hQ : 0 < Q) (hfrequency : B.base.frequency m ≠ 0) (n : ℕ) : |
| 207 | (identityViews B m h Q cover hQ hfrequency).velocity n = 1 := |
| 208 | ratioPower_self hQ _ |
| 209 | |
| 210 | /-! ## The actual common state supplies the request of these native views -/ |
| 211 | |
| 212 | section IdentityStateData |
| 213 | |
| 214 | variable (B : PhysicalSignedWave.PrimaryData U) (m : ℕ) |
| 215 | (h Q : ℝ) (cover : ℕ) (hQ : 0 < Q) (hfrequency : B.base.frequency m ≠ 0) |
| 216 | (hh : 0 < h) (hh1 : h < 1 / 2) |
| 217 | (R : LocalSignedRequest.SlowRegion (2 * h)) (P : SignedStressPrimitive.Patch) |
| 218 | (c : Context Point) (u : State Point) |
| 219 | (H : MeanStateRegularity.PrimitiveData R P.a P.b c u) |
| 220 | (hp : GaugeMomentBalances.MovingField R P.a P.b u.pressure) |
| 221 | (hslow : ∀ x ∈ B.strip.domain, (x.1.2.1.2, x.1.2.1.1) ∈ R.carrier) |
| 222 | |
| 223 | /-- Both stored states and both contexts are the same frozen common objects. |
| 224 | Only their dummy band index is changed. The native primary is left intact. |
| 225 | Residual regularity and periodicity are derived from the primitive data. -/ |
| 226 | noncomputable def stateData : (identityViews B m h Q cover hQ hfrequency).StateData where |
| 227 | patch := P |
| 228 | context := freezeContext c m |
| 229 | referenceContext := freezeContext c m |
| 230 | current := freezeState u m |
| 231 | referenceState := freezeState u m |
| 232 | exponent_pos := hh |
| 233 | exponent_lt_half := hh1 |
| 234 | domain _ := PhysicalMeanDomain.slowDomain R.carrier |
| 235 | domain_open _ := PhysicalMeanDomain.slowDomain_open R.isOpen |
| 236 | state_coherent n := by |
| 237 | change PhysicalResidualNaturality.StateOn (PhysicalMeanDomain.slowDomain R.carrier) |
| 238 | (PhysicalSignedWave.requestChart h hQ hQ (cover - cover)) |
| 239 | (PhysicalParticularWave.velocityWeight h Q Q) (PhysicalParticularWave.ratioPower Q Q (1 / 2)) |
| 240 | (freezeState u m) (freezeState u m) n m |
| 241 | simp only [Nat.sub_self, requestChart_self, PhysicalParticularWave.velocityWeight, ratioPower_self hQ] |
| 242 | exact freezeState_coherent u m n m _ |
| 243 | context_coherent n := by |
| 244 | change PhysicalResidualNaturality.ContextOn (PhysicalMeanDomain.slowDomain R.carrier) |
| 245 | (PhysicalSignedWave.requestChart h hQ hQ (cover - cover)) |
| 246 | (PhysicalParticularWave.velocityWeight h Q Q) (PhysicalParticularWave.ratioPower Q Q (1 / 2)) |
| 247 | (freezeContext c m) (freezeContext c m) n m |
| 248 | simp only [Nat.sub_self, requestChart_self, PhysicalParticularWave.velocityWeight, ratioPower_self hQ] |
| 249 | exact freezeContext_coherent c m n m _ |
| 250 | time_pos x hx := R.time_pos _ (hslow x hx) |
| 251 | fibers _ x hx _ _ := hslow x hx |
| 252 | referenceSlow _ := R.carrier |
| 253 | referenceSlow_open _ := R.isOpen |
| 254 | referenceSlow_mem _ x hx := by |
| 255 | change PhysicalSignedWave.slowChange h Q Q (x.1.2.1.2, x.1.2.1.1) ∈ R.carrier |
| 256 | rw [slowChange_self h hQ] |
| 257 | exact hslow x hx |
| 258 | reference_theta_smooth _ := by |
| 259 | simpa only [freezeState_theta] using (H.theta P.a_pos P.a_lt_b).smooth m |
| 260 | reference_axial_smooth _ := by |
| 261 | simpa only [freezeState_axial] using (H.axial P.a_pos P.a_lt_b hp).smooth m |
| 262 | reference_theta_periodic _ := by |
| 263 | simpa only [freezeState_theta] using (H.theta P.a_pos P.a_lt_b).periodic m |
| 264 | reference_axial_periodic _ := by |
| 265 | simpa only [freezeState_axial] using (H.axial P.a_pos P.a_lt_b hp).periodic m |
| 266 | |
| 267 | theorem stateData_request (s : StripData Cylinder) (n : ℕ) |
| 268 | (hepsilon : B.strip.epsilon n = s.epsilon m) (x : Cylinder) : |
| 269 | (stateData B m h Q cover hQ hfrequency hh hh1 R P c u H hp hslow).request n x = |
| 270 | PhysicalSignedWave.stateRequest s P h c u m x := |
| 271 | stateRequest_freeze s B.strip P h c u m n hepsilon x |
| 272 | |
| 273 | theorem stateData_referenceRequest (s : StripData Cylinder) |
| 274 | (hepsilon : B.strip.epsilon m = s.epsilon m) (x : Cylinder) : |
| 275 | (stateData B m h Q cover hQ hfrequency hh hh1 R P c u H hp hslow).referenceRequest m x = |
| 276 | PhysicalSignedWave.stateRequest s P h c u m x := |
| 277 | stateRequest_freeze s B.strip P h c u m m hepsilon x |
| 278 | |
| 279 | /-- Exact binding to the original common-coordinate full signed request. |
| 280 | The swap only puts the slow coordinates into their original `(time,axial)` order. -/ |
| 281 | theorem stateData_referenceRequest_full (s : StripData Point) |
| 282 | (hepsilon : B.strip.epsilon m = s.epsilon m) (x : Cylinder) : |
| 283 | (stateData B m h Q cover hQ hfrequency hh hh1 R P c u H hp hslow).referenceRequest m x = |
| 284 | LocalSignedRequest.fullRequest s P (2 * h) c u m (PhysicalResidualTZ.swapCylinder x) := |
| 285 | stateRequest_freeze_full s B.strip P h c u m m hepsilon x |
| 286 | |
| 287 | theorem stateData_referenceRequest_fast (s : StripData Point) |
| 288 | (hepsilon : B.strip.epsilon m = s.epsilon m) (mapFast : Plane → Plane) (x : Cylinder) : |
| 289 | (stateData B m h Q cover hQ hfrequency hh hh1 R P c u H hp hslow).referenceRequest m x = |
| 290 | LocalSignedRequest.fullRequest s P (2 * h) c u m |
| 291 | (PhysicalResidualTZ.swapCylinder ((x.1.1, (x.1.2.1, mapFast x.1.2.2)), x.2)) := by |
| 292 | rw [stateData_referenceRequest_full B m h Q cover hQ hfrequency hh hh1 R P c u H hp hslow s hepsilon x] |
| 293 | rfl |
| 294 | |
| 295 | end IdentityStateData |
| 296 | |
| 297 | end NavierStokes.TorusMeanRequestRebase |