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

Merge pull request #249 from s1-ns-rank-1
Browse fileschore(NavierStokes/Rank): delete 8 declarations nothing uses
main s1-euler-all-2 s1-euler-base-2 s1-euler-bounded-2 s1-euler-child-2 s1-euler-common-2 s1-euler-constant-2 s1-euler-continuous-2 s1-euler-correction-2 s1-euler-cylinder-2 s1-euler-euler-1 s1-euler-euler-2 s1-euler-field-2 s1-euler-flow-2 s1-euler-frozen-2 s1-euler-general-2 s1-euler-isometric-2 s1-euler-lp-2 s1-euler-mean-2 s1-euler-packet-2 s1-euler-parent-2 s1-euler-quadratic-2 s1-euler-resolvent-2 s1-euler-transverse-1 s1-ns-base-1 s1-ns-offplane-1 s1-ns-particular-1 s1-ns-terminal-1 s1-ns-true-1
Checks
build Program · lake build and Comparator
Details
challenge Program · challenge files and build config
Details
+0 −56 NavierStokes/RankStateBounds.lean View file
| @@ -304,62 +304,6 @@ theorem rankIncrementState_bounds_of_components {H : ℝ} | ||
| 304 | 304 | rankIncrementState_bounds U g r ha hcL hcR ε L hε hεone hL c u hg hparam hB hleft hright axial heps |
| 305 | 305 | (debtClass_of_components _ hdebt) |
| 306 | 306 | |
| 307 | -theorem rankIncrementState_bounds_of_defectBounds {σ H : ℝ} (hH : H ≤ 1 + σ) | |
| 308 | - (heps : BandBound (movingStripData U g.radial.inner g.radial.outer cL cR ha hcL hcR | |
| 309 | - ε L hε hεone hL) 1 c.operators.epsilon) | |
| 310 | - (hdebt : CorrectionState.DefectBounds (PhysicalMeanDomain.localSlowStripData U.carrier U.isOpen | |
| 311 | - ε L hε hεone hL) σ c u) : | |
| 312 | - IncrementBounds (movingStripData U g.radial.inner g.radial.outer cL cR ha hcL hcR | |
| 313 | - ε L hε hεone hL) H (VariableGaugeMean.rankIncrementState g r axial c u) := | |
| 314 | - rankIncrementState_bounds_of_components U g r ha hcL hcR ε L hε hεone hL c u hg hparam hB hleft hright axial heps | |
| 315 | - (fun i => (hdebt i).mono_exponent hH) | |
| 316 | - | |
| 317 | -omit hB in | |
| 318 | -/-- One positive profile margin controls every nonzero component of the | |
| 319 | -actual rank increment, uniformly over bands and slow points. -/ | |
| 320 | -theorem rankIncrementState_support_margin : | |
| 321 | - ∃ δ : ℝ, 0 < δ ∧ ∀ n z, z.2.1 ∈ U.carrier → | |
| 322 | - ((VariableGaugeMean.rankIncrementState g r axial c u).radial n z ≠ 0 ∨ | |
| 323 | - (VariableGaugeMean.rankIncrementState g r axial c u).angular n z ≠ 0 ∨ | |
| 324 | - (VariableGaugeMean.rankIncrementState g r axial c u).axial n z ≠ 0) → | |
| 325 | - δ ≤ z.1 / VariableGaugeMean.qLength coord z.2.1 - g.radial.inner ∧ | |
| 326 | - δ ≤ g.radial.outer - z.1 / VariableGaugeMean.qLength coord z.2.1 := by | |
| 327 | - obtain ⟨lo, hi, hlo, horder, _, _, hlow, hupp⟩ := containingShell U hg.inner_pos hg.inner_lt_outer | |
| 328 | - have hlow' (n : ℕ) (x : Plane) (hx : x ∈ U.carrier) : lo ≤ r.length n x * r.inner := by | |
| 329 | - rw [hparam.length n x hx] | |
| 330 | - exact hlow x hx | |
| 331 | - have hupp' (n : ℕ) (x : Plane) (hx : x ∈ U.carrier) : r.length n x * r.outer ≤ hi := by | |
| 332 | - rw [hparam.length n x hx] | |
| 333 | - exact hupp x hx | |
| 334 | - let I := VariableGaugeMean.rankIncrementState g r axial c u | |
| 335 | - let f : ℕ → Point → ℝ := fun n z => ‖I.radial n z‖ + ‖I.angular n z‖ + ‖I.axial n z‖ | |
| 336 | - have hs : ∀ n, VariableGaugeMean.SupportedGauge r.inner r.outer (r.length n) U.carrier (f n) := by | |
| 337 | - intro n z hz hn | |
| 338 | - have hsup := hg.increment_supportedGauge hlo horder U.isOpen hlow' hupp' axial n | |
| 339 | - by_cases hR : I.radial n z = 0 | |
| 340 | - · by_cases hT : I.angular n z = 0 | |
| 341 | - · apply hsup.2.2 z hz | |
| 342 | - intro hZ | |
| 343 | - exact hn (by simp only [f, hR, hT, show I.axial n z = 0 from hZ, norm_zero, add_zero]) | |
| 344 | - · exact hsup.2.1 z hz hT | |
| 345 | - · exact hsup.1 z hz hR | |
| 346 | - obtain ⟨δ, hδ, hb⟩ := LocalRankDefect.normalized_support_margin hleft hright r.length U.carrier f hg.length_pos hs | |
| 347 | - refine ⟨δ, hδ, ?_⟩ | |
| 348 | - intro n z hz hn | |
| 349 | - have hpos : 0 < f n z := by | |
| 350 | - rcases hn with hR | hT | hZ | |
| 351 | - · have hr : 0 < ‖I.radial n z‖ := norm_pos_iff.mpr hR | |
| 352 | - dsimp only [f] | |
| 353 | - linarith [norm_nonneg (I.angular n z), norm_nonneg (I.axial n z)] | |
| 354 | - · have ht : 0 < ‖I.angular n z‖ := norm_pos_iff.mpr hT | |
| 355 | - dsimp only [f] | |
| 356 | - linarith [norm_nonneg (I.radial n z), norm_nonneg (I.axial n z)] | |
| 357 | - · have hz' : 0 < ‖I.axial n z‖ := norm_pos_iff.mpr hZ | |
| 358 | - dsimp only [f] | |
| 359 | - linarith [norm_nonneg (I.radial n z), norm_nonneg (I.angular n z)] | |
| 360 | - have hm := hb n z hz hpos.ne' | |
| 361 | - rwa [hparam.length n _ hz] at hm | |
| 362 | - | |
| 363 | 307 | end ActualIncrement |
| 364 | 308 | |
| 365 | 309 | end |
+0 −152 NavierStokes/RankStateCoherence.lean View file
| @@ -333,158 +333,6 @@ theorem normalized_rank_on {h : ℝ} (hh : 0 < h) (hh1 : h < 1/2) | ||
| 333 | 333 | exact (Real.rpow_pos_of_pos |
| 334 | 334 | (SimilarityCoordinates.coordinateQ_spec (by linarith) (by linarith) (hpos s hs)).1 _).ne' |
| 335 | 335 | |
| 336 | -theorem normalized_rank_on_of_parameters {h B : ℝ} (hh : 0 < h) (hh1 : h < 1/2) | |
| 337 | - (n m : ℕ) {V U : Set PressureStream.Plane} (htime : ∀ s ∈ V, 0 < s.1) | |
| 338 | - (hmap : MapsTo (bandSlowEquiv h n m) V U) | |
| 339 | - {r rr : CorrectionState.RankData PressureStream.Plane} | |
| 340 | - (hr : RankStateBounds.NormalizedParameters (2*h) (CoordinateAlgebra.A h) B r V) | |
| 341 | - (hrr : RankStateBounds.NormalizedParameters (2*h) (CoordinateAlgebra.A h) B rr U) | |
| 342 | - (hlam : r.lambda = rr.lambda) (ha : r.inner = rr.inner) (hb : r.outer = rr.outer) : | |
| 343 | - RankOn V (bandSlowEquiv h n m) (bandScale n m) (bandVelocityScale h n m) r rr n m := by | |
| 344 | - have H := normalized_rank_on hh hh1 B r.lambda r.inner r.outer n m htime | |
| 345 | - refine ⟨hlam, ha, hb, ?_, ?_, ?_, ?_, ?_⟩ | |
| 346 | - · intro s hs | |
| 347 | - rw [hr.length n s hs, hrr.length m _ (hmap hs)] | |
| 348 | - exact H.length s hs | |
| 349 | - · intro s hs | |
| 350 | - rw [hr.velocity n s hs, hrr.velocity m _ (hmap hs)] | |
| 351 | - exact H.velocity s hs | |
| 352 | - · intro s hs | |
| 353 | - rw [hr.coefficient n s hs, hrr.coefficient m _ (hmap hs)] | |
| 354 | - exact H.coefficient s hs | |
| 355 | - · intro s hs | |
| 356 | - rw [hrr.length m _ (hmap hs)] | |
| 357 | - exact H.reference_length s hs | |
| 358 | - · intro s hs | |
| 359 | - rw [hrr.velocity m _ (hmap hs)] | |
| 360 | - exact H.reference_velocity s hs | |
| 361 | - | |
| 362 | 336 | /-! ## All five rows, against the full base -/ |
| 363 | 337 | |
| 364 | -theorem fiveRows_chart {l c : ℝ} (hl : 0 < l) | |
| 365 | - {v g f z vr gr fr zr : ℝ → ℝ} {d dr : MeanRankUpdate.Debt} | |
| 366 | - (H : FiveRowRank.FiveRows vr gr dr fr zr) | |
| 367 | - (hv : ∀ R, v R = c * vr (l*R)) (hg : ∀ R, g R = c * gr (l*R)) | |
| 368 | - (hf : ∀ R, f R = c * fr (l*R)) (hz : ∀ R, z R = c * zr (l*R)) | |
| 369 | - (hd : d = MeanRankUpdate.scaleDebt l⁻¹ c dr) : | |
| 370 | - FiveRowRank.FiveRows v g d f z := by | |
| 371 | - have ev : v = MeanRankUpdate.scaleField l⁻¹ c vr := by | |
| 372 | - funext R | |
| 373 | - simpa only [MeanRankUpdate.scaleField, div_inv_eq_mul, mul_comm R l] using hv R | |
| 374 | - have eg : g = MeanRankUpdate.scaleField l⁻¹ c gr := by | |
| 375 | - funext R | |
| 376 | - simpa only [MeanRankUpdate.scaleField, div_inv_eq_mul, mul_comm R l] using hg R | |
| 377 | - have ef : f = MeanRankUpdate.scaleField l⁻¹ c fr := by | |
| 378 | - funext R | |
| 379 | - simpa only [MeanRankUpdate.scaleField, div_inv_eq_mul, mul_comm R l] using hf R | |
| 380 | - have ez : z = MeanRankUpdate.scaleField l⁻¹ c zr := by | |
| 381 | - funext R | |
| 382 | - simpa only [MeanRankUpdate.scaleField, div_inv_eq_mul, mul_comm R l] using hz R | |
| 383 | - rw [ev, eg, ef, ez, hd] | |
| 384 | - exact MeanRankUpdate.fiveRows_scaled (inv_pos.mpr hl) c H | |
| 385 | - | |
| 386 | -theorem scalarOn_slice {l c : ℝ} (hl : 0 < l) (P : S ≃L[ℝ] T) (k : ℕ) | |
| 387 | - {V : Set S} {f : PressureStream.Lift S → ℝ} {g : PressureStream.Lift T → ℝ} | |
| 388 | - (H : ScalarOn (PhysicalMeanDomain.slowDomain V) (GaugeStateCoherence.chartEquiv l hl.ne' P k) c f g) | |
| 389 | - {s : S} (hs : s ∈ V) (R : ℝ) : f (R,(s,0)) = c * g (l*R,(P s,0)) := by | |
| 390 | - simpa only [GaugeStateCoherence.chartEquiv_apply, map_zero] using H (R,(s,0)) hs | |
| 391 | - | |
| 392 | -/-- The five-row conclusion is transported from the actual reference | |
| 393 | -rank solve. Both background slices here are the complete stored base. -/ | |
| 394 | -theorem rankIncrementState_fiveRows_on [FiniteDimensional ℝ T] | |
| 395 | - {l c : ℝ} (hl : 0 < l) (hc : c ≠ 0) (P : S ≃L[ℝ] T) (k : ℕ) | |
| 396 | - {V : Set S} {U : Set T} (hV : IsOpen V) (hU : IsOpen U) (hmap : MapsTo P V U) | |
| 397 | - {C : CorrectionState.Context (PressureStream.Lift S)} | |
| 398 | - {Cr : CorrectionState.Context (PressureStream.Lift T)} | |
| 399 | - {u : CorrectionState.State (PressureStream.Lift S)} | |
| 400 | - {ur : CorrectionState.State (PressureStream.Lift T)} {n nr : ℕ} | |
| 401 | - (H : StateOn (PhysicalMeanDomain.slowDomain V) (GaugeStateCoherence.chartEquiv l hl.ne' P k) c l u ur n nr) | |
| 402 | - (G : ContextOn (PhysicalMeanDomain.slowDomain V) (GaugeStateCoherence.chartEquiv l hl.ne' P k) c l C Cr n nr) | |
| 403 | - (R : DebtRegular U Cr ur nr) | |
| 404 | - {r : CorrectionState.RankData S} {rr : CorrectionState.RankData T} | |
| 405 | - (K : RankOn V P l c r rr n nr) | |
| 406 | - {g : VariableGaugeMean.GaugeData S} {gr : VariableGaugeMean.GaugeData T} | |
| 407 | - (J : GaugeOn V l P.toContinuousLinearMap k g gr n nr) | |
| 408 | - (F : LocalRankDefect.RankGeometry gr rr U Cr ur) | |
| 409 | - (axial : S × PressureStream.Plane) (axialr : T × PressureStream.Plane) | |
| 410 | - (ha : (P.toContinuousLinearMap.prodMap (TemporalMeanUpdate.coverMap k)) | |
| 411 | - (C.operators.epsilon n • axial) = l • (Cr.operators.epsilon nr • axialr)) | |
| 412 | - {lo hi : ℝ} (hlo : 0 < lo) (hlohi : lo < hi) | |
| 413 | - (hleft : ∀ m t, t ∈ U → lo ≤ rr.length m t * rr.inner) | |
| 414 | - (hright : ∀ m t, t ∈ U → rr.length m t * rr.outer ≤ hi) | |
| 415 | - {s : S} (hs : s ∈ V) : | |
| 416 | - FiveRowRank.FiveRows (DefectIncrementBounds.slowSlice C.base.angular n s) | |
| 417 | - (DefectIncrementBounds.slowSlice C.base.axial n s) (CorrectionState.debt C u n s) | |
| 418 | - (DefectIncrementBounds.slowSlice (VariableGaugeMean.rankIncrementState g r axial C u).angular n s) | |
| 419 | - (DefectIncrementBounds.slowSlice (VariableGaugeMean.rankIncrementState g r axial C u).axial n s) := by | |
| 420 | - have hinc := rankIncrementState_on hl hc P k hV hU hmap H G R K J F axial axialr ha | |
| 421 | - exact fiveRows_chart hl (F.fiveRows hlo hlohi hU hleft hright axialr nr (hmap hs)) | |
| 422 | - (scalarOn_slice hl P k G.base.angular hs) (scalarOn_slice hl P k G.base.axial hs) | |
| 423 | - (scalarOn_slice hl P k hinc.angular hs) (scalarOn_slice hl P k hinc.axial hs) | |
| 424 | - (measured_debt_on hl P k hV hU hmap H G R hs) | |
| 425 | - | |
| 426 | -/-- The physical axial unit has the required chart differential, with the | |
| 427 | -actual viscosity/axial coefficient `Q^h`. -/ | |
| 428 | -theorem band_axial_vector (h : ℝ) (n m k : ℕ) : | |
| 429 | - ((bandSlowEquiv h n m).toContinuousLinearMap.prodMap (TemporalMeanUpdate.coverMap k)) | |
| 430 | - (ChartScales.Q n ^ h • (((0,1) : PressureStream.Plane), (0 : PressureStream.Plane))) = | |
| 431 | - bandScale n m • (ChartScales.Q m ^ h • (((0,1) : PressureStream.Plane), (0 : PressureStream.Plane))) := by | |
| 432 | - have hQ : 0 < ChartScales.Q n / ChartScales.Q m := div_pos (ChartScales.Q_pos n) (ChartScales.Q_pos m) | |
| 433 | - have he : ChartScales.Q n ^ h = (ChartScales.Q n / ChartScales.Q m)^h * ChartScales.Q m ^ h := by | |
| 434 | - rw [Real.div_rpow (ChartScales.Q_pos n).le (ChartScales.Q_pos m).le] | |
| 435 | - exact (div_mul_cancel₀ _ (Real.rpow_pos_of_pos (ChartScales.Q_pos m) h).ne').symm | |
| 436 | - have hp : (ChartScales.Q n / ChartScales.Q m)^CoordinateAlgebra.D h * ChartScales.Q n ^ h = | |
| 437 | - bandScale n m * ChartScales.Q m ^ h := by | |
| 438 | - rw [he, ← mul_assoc, ← Real.rpow_add hQ] | |
| 439 | - congr 2 | |
| 440 | - unfold CoordinateAlgebra.D | |
| 441 | - ring | |
| 442 | - apply Prod.ext | |
| 443 | - · apply Prod.ext | |
| 444 | - · simp [bandSlowEquiv_apply] | |
| 445 | - · change (ChartScales.Q n / ChartScales.Q m)^CoordinateAlgebra.D h * (ChartScales.Q n ^ h * 1) = | |
| 446 | - bandScale n m * (ChartScales.Q m ^ h * 1) | |
| 447 | - simpa only [mul_one] using hp | |
| 448 | - · simp | |
| 449 | - | |
| 450 | -/-- Concrete normalized rank stage at the common cover. Every rank | |
| 451 | -parameter and axial scaling law is derived from the shared data. -/ | |
| 452 | -theorem normalized_rankStageState_on {h d a b M B lam ra rb : ℝ} | |
| 453 | - (hh : 0 < h) (hh1 : h < 1/2) (hab : a < b) | |
| 454 | - (index : ℕ → ℕ) (n m k : ℕ) (hi : index n + k = index m) | |
| 455 | - {V U : Set PressureStream.Plane} (hV : IsOpen V) (hU : IsOpen U) | |
| 456 | - (htime : ∀ s ∈ V, 0 < s.1) (hmap : MapsTo (bandSlowEquiv h n m) V U) | |
| 457 | - (C Cr : CorrectionState.Context (PressureStream.Lift PressureStream.Plane)) | |
| 458 | - (u ur : CorrectionState.State (PressureStream.Lift PressureStream.Plane)) | |
| 459 | - (H : StateOn (PhysicalMeanDomain.slowDomain V) (bandChartEquiv h n m k) | |
| 460 | - (bandVelocityScale h n m) (bandScale n m) u ur n m) | |
| 461 | - (G : ContextOn (PhysicalMeanDomain.slowDomain V) (bandChartEquiv h n m k) | |
| 462 | - (bandVelocityScale h n m) (bandScale n m) C Cr n m) | |
| 463 | - (R : DebtRegular U Cr ur m) | |
| 464 | - (F : LocalRankDefect.RankGeometry (VariableGaugeMean.similarityGauge h d a b M hab index) | |
| 465 | - (RankStateBounds.normalizedData (2*h) (CoordinateAlgebra.A h) B lam ra rb) U Cr ur) | |
| 466 | - (heps : C.operators.epsilon n = ChartScales.Q n ^ h) | |
| 467 | - (hepsr : Cr.operators.epsilon m = ChartScales.Q m ^ h) | |
| 468 | - (hf : ContDiffOn ℝ ∞ ((rankAddedState (VariableGaugeMean.similarityGauge h d a b M hab index) | |
| 469 | - (RankStateBounds.normalizedData (2*h) (CoordinateAlgebra.A h) B lam ra rb) ((0,1),0) Cr ur).gr Cr m) | |
| 470 | - (PhysicalMeanDomain.slowDomain U)) | |
| 471 | - (hp : PhysicalMeanDomain.PeriodicOn U ((rankAddedState (VariableGaugeMean.similarityGauge h d a b M hab index) | |
| 472 | - (RankStateBounds.normalizedData (2*h) (CoordinateAlgebra.A h) B lam ra rb) ((0,1),0) Cr ur).gr Cr m)) | |
| 473 | - (hs : VariableGaugeMean.SupportedGauge a b (VariableGaugeMean.qLength (2*h)) U | |
| 474 | - ((rankAddedState (VariableGaugeMean.similarityGauge h d a b M hab index) | |
| 475 | - (RankStateBounds.normalizedData (2*h) (CoordinateAlgebra.A h) B lam ra rb) ((0,1),0) Cr ur).gr Cr m)) : | |
| 476 | - StateOn (PhysicalMeanDomain.slowDomain V) (bandChartEquiv h n m k) | |
| 477 | - (bandVelocityScale h n m) (bandScale n m) | |
| 478 | - (VariableGaugeMean.rankStageState (VariableGaugeMean.similarityGauge h d a b M hab index) | |
| 479 | - (RankStateBounds.normalizedData (2*h) (CoordinateAlgebra.A h) B lam ra rb) ((0,1),0) C u) | |
| 480 | - (VariableGaugeMean.rankStageState (VariableGaugeMean.similarityGauge h d a b M hab index) | |
| 481 | - (RankStateBounds.normalizedData (2*h) (CoordinateAlgebra.A h) B lam ra rb) ((0,1),0) Cr ur) n m := by | |
| 482 | - apply rankStageState_on (bandScale_pos n m) | |
| 483 | - (Real.rpow_pos_of_pos (div_pos (ChartScales.Q_pos n) (ChartScales.Q_pos m)) _).ne' | |
| 484 | - (bandSlowEquiv h n m) k hV hU hmap H G R | |
| 485 | - (normalized_rank_on hh hh1 B lam ra rb n m htime) | |
| 486 | - (similarityGaugeOn hh hh1 d a b M hab index n m k hi htime) F ((0,1),0) ((0,1),0) _ hf hp hs | |
| 487 | - rw [heps, hepsr] | |
| 488 | - exact band_axial_vector h n m k | |
| 489 | - | |
| 490 | 338 | end NavierStokes.RankStateCoherence |
+21 −0 routes/s1-ns-rank-1/README.md added View file
| @@ -0,0 +1,21 @@ | ||
| 1 | +--- | |
| 2 | +issue: 10 | |
| 3 | +status: working | |
| 4 | +--- | |
| 5 | +# s1-ns-rank-1 | |
| 6 | + | |
| 7 | +Unit `s1-ns-rank-1` of issue #10: delete 8 declarations nothing uses from the | |
| 8 | +family `NavierStokes/Rank*`, in `NavierStokes/RankStateBounds.lean` and | |
| 9 | +`NavierStokes/RankStateCoherence.lean` — 208 lines, deletions only, no | |
| 10 | +statement or proof that stays is changed. | |
| 11 | + | |
| 12 | +The unit comes from Treant's run of 2026-12-03 (TitiSkywalker/NavierStokesAndEuler) | |
| 13 | +and was re-read against this project's main declaration graph under the rule | |
| 14 | +that the paper's results stay: a declaration that Treant deleted stays when a | |
| 15 | +paper result reaches it, when its docstring cites the paper, or when a staying | |
| 16 | +declaration names it. None of the 8 here is such a case. | |
| 17 | + | |
| 18 | +## Next | |
| 19 | + | |
| 20 | +Open the pull request into `main` with this branch as its head; nothing further | |
| 21 | +on the code — the `build` check judges it. | |