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 #165 from s1-ns-dependent-1
Browse fileschore(NavierStokes/Dependent): delete 16 declarations nothing uses
Checks
build Program · lake build and Comparator
Details
challenge Program · challenge files and build config
Details
+0 −191 NavierStokes/DependentSignedPhysicalFamily.lean View file
| @@ -164,9 +164,6 @@ noncomputable def diagonal (f : BandLabel → CopyFamily H K) : CopyFamily H K w | ||
| 164 | 164 | (I : WaveIndex H) : |
| 165 | 165 | (diagonal f).periodized a h r0 I = (f I.1).periodized a h r0 I := rfl |
| 166 | 166 | |
| 167 | -theorem diagonal_sum (f : BandLabel → CopyFamily H K) (a h r0 : ℝ) (w : SpaceTime) : | |
| 168 | - (diagonal f).sum a h r0 w = ∑ᶠ I : WaveIndex H, (f I.1).periodized a h r0 I w := rfl | |
| 169 | - | |
| 170 | 167 | noncomputable def diagonalCells (f : BandLabel → CopyFamily H K) |
| 171 | 168 | (c : ∀ L, SupportCells (f L)) : SupportCells (diagonal f) where |
| 172 | 169 | cells L := (c L).cells L |
| @@ -191,27 +188,6 @@ theorem diagonalSmooth (f : BandLabel → CopyFamily H K) {a h r0 : ℝ} | ||
| 191 | 188 | amplitude k I := (s I.1).amplitude k I |
| 192 | 189 | profiles k I := (s I.1).profiles k I |
| 193 | 190 | |
| 194 | -/-- The assembled infinite family retains the original uniform overlap | |
| 195 | -bound and has a genuine local finite-sum identity. -/ | |
| 196 | -theorem diagonal_sum_locally_finite (f : BandLabel → CopyFamily H K) | |
| 197 | - {a b h r0 Z : ℝ} {Δ : ℕ} | |
| 198 | - (s : ∀ L, LocalPhysicalCopyBounds.SupportData (f L) a b h r0 Z Δ) | |
| 199 | - (hh : 0 < h) (hh1 : h < 1 / 2) {w : SpaceTime} (hw : w ∈ preterminal) : | |
| 200 | - ∃ t : Finset (WaveIndex H), t.card ≤ 2250 * (2 * H + 1) ∧ | |
| 201 | - (diagonal f).sum a h r0 =ᶠ[𝓝 w] | |
| 202 | - fun y => ∑ I ∈ t, (f I.1).periodized a h r0 I y := by | |
| 203 | - simpa only [diagonal_periodized] using | |
| 204 | - (diagonalSupport f s).sum_locally_finite hh hh1 hw | |
| 205 | - | |
| 206 | -theorem diagonal_sum_smooth (f : BandLabel → CopyFamily H K) | |
| 207 | - {a b h r0 Z : ℝ} {Δ : ℕ} | |
| 208 | - (c : ∀ L, SupportCells (f L)) | |
| 209 | - (s : ∀ L, LocalPhysicalCopyBounds.SupportData (f L) a b h r0 Z Δ) | |
| 210 | - (sm : ∀ L, LocalPhysicalCopyBounds.SmoothData (f L) a h r0) | |
| 211 | - (ha : 0 < a) (hh : 0 < h) (hh1 : h < 1 / 2) : | |
| 212 | - ContDiffOn ℝ ∞ ((diagonal f).sum a h r0) preterminal := | |
| 213 | - (diagonalSupport f s).sum_smooth (diagonalSmooth f sm) (diagonalCells f c) ha hh hh1 | |
| 214 | - | |
| 215 | 191 | namespace Family |
| 216 | 192 | |
| 217 | 193 | variable (f : Family) |
| @@ -236,17 +212,6 @@ theorem copyAt_inactive (copies : NativeLabel f.active → CopyFamily H K) | ||
| 236 | 212 | noncomputable def assembled (copies : NativeLabel f.active → CopyFamily H K) : |
| 237 | 213 | CopyFamily H K := diagonal (f.copyAt copies) |
| 238 | 214 | |
| 239 | -theorem assembled_term_active (copies : NativeLabel f.active → CopyFamily H K) | |
| 240 | - (L : NativeLabel f.active) (j : Harmonic H) (a h r0 : ℝ) (k : K) : | |
| 241 | - (f.assembled copies).term a h r0 ((L : BandLabel), j) k = | |
| 242 | - (copies L).term a h r0 ((L : BandLabel), j) k := by | |
| 243 | - rw [assembled, diagonal_term, copyAt_active] | |
| 244 | - | |
| 245 | -theorem assembled_term_inactive (copies : NativeLabel f.active → CopyFamily H K) | |
| 246 | - (I : WaveIndex H) (hI : I.1 ∉ f.active) (a h r0 : ℝ) (k : K) : | |
| 247 | - (f.assembled copies).term a h r0 I k = 0 := by | |
| 248 | - rw [assembled, diagonal_term, copyAt_inactive f copies hI, zeroCopies_term] | |
| 249 | - | |
| 250 | 215 | noncomputable def branchCells (copies : NativeLabel f.active → CopyFamily H K) |
| 251 | 216 | (c : ∀ L, SupportCells (copies L)) (L : BandLabel) : |
| 252 | 217 | SupportCells (f.copyAt copies L) := by |
| @@ -379,116 +344,8 @@ noncomputable def jointSource {V : Type*} | ||
| 379 | 344 | (source : (L : BandLabel) → ι L → ℕ → E → V) : |
| 380 | 345 | (Σ L, ι L) → ℕ → E → V := fun I => source I.1 I.2 |
| 381 | 346 | |
| 382 | -theorem localSourceBounds_slice {V : Type} [NormedAddCommGroup V] [NormedSpace ℝ V] | |
| 383 | - {s : StripData E} {h α : ℝ} | |
| 384 | - {w : (L : BandLabel) → ι L → ℕ → E → ℝ} | |
| 385 | - {source : (L : BandLabel) → ι L → ℕ → E → V} | |
| 386 | - (hs : LocalPhysicalCopyBounds.LocalSourceBounds s h α (jointSource w) (jointSource source)) | |
| 387 | - (L : BandLabel) : | |
| 388 | - LocalPhysicalCopyBounds.LocalSourceBounds s h α (w L) (source L) where | |
| 389 | - uniform := hs.uniform.reindex (Sigma.mk L) | |
| 390 | - flat_geometry := hs.flat_geometry | |
| 391 | - weight_le := by | |
| 392 | - obtain ⟨c, hc, hb⟩ := hs.weight_le | |
| 393 | - exact ⟨c, hc, fun i => hb ⟨L, i⟩⟩ | |
| 394 | - epsilon_eq := hs.epsilon_eq | |
| 395 | - slow_le := hs.slow_le | |
| 396 | - | |
| 397 | 347 | /-! ## Native chart and carrier bounds are uniform before label selection -/ |
| 398 | 348 | |
| 399 | -noncomputable def diagonalChart (f : BandLabel → CopyFamily H K) | |
| 400 | - (c : ∀ L, SupportCells (f L)) {a b h r0 σ : ℝ} | |
| 401 | - (source : (L : BandLabel) → ι L → ℕ → E → ℂ) | |
| 402 | - (ch : ∀ L, LocalPhysicalCopyBounds.CommonChart (f L) (c L) a b h r0 σ (source L)) | |
| 403 | - (hj : ∀ m : ℕ, ∃ B : ℝ, 1 ≤ B ∧ ∃ q : ℕ, | |
| 404 | - ∀ k I x, x ∈ (ch I.1).domain k I → ∀ j, 1 ≤ j → j ≤ m → | |
| 405 | - ‖iteratedFDeriv ℝ j ((ch I.1).map k I) x‖ ≤ B * ChartScales.S I.1.val.1 ^ q) : | |
| 406 | - LocalPhysicalCopyBounds.CommonChart (diagonal f) (diagonalCells f c) | |
| 407 | - a b h r0 σ (jointSource source) where | |
| 408 | - sourceIndex k I := ⟨I.1, (ch I.1).sourceIndex k I⟩ | |
| 409 | - map k I := (ch I.1).map k I | |
| 410 | - domain k I := (ch I.1).domain k I | |
| 411 | - open_domain k I := (ch I.1).open_domain k I | |
| 412 | - smooth k I := (ch I.1).smooth k I | |
| 413 | - positive_jets := hj | |
| 414 | - amplitude_eq k I := (ch I.1).amplitude_eq k I | |
| 415 | - contains k I := (ch I.1).contains k I | |
| 416 | - | |
| 417 | -noncomputable def diagonalCarrier (f : BandLabel → CopyFamily H K) | |
| 418 | - (c : ∀ L, SupportCells (f L)) {a b h r0 : ℝ} | |
| 419 | - (bc : ∀ L, CarrierBounds (f L) (c L) a b h r0) | |
| 420 | - (hj : PhaseJetBounds.PolynomialJets | |
| 421 | - (copyBandDomain (fun k L => (bc L).region k L) (fun k L => (bc L).open_region k L)) | |
| 422 | - (fun I x => (((f I.2).carrier I.1 I.2).F x, ((f I.2).carrier I.1 I.2).G x))) : | |
| 423 | - CarrierBounds (diagonal f) (diagonalCells f c) a b h r0 where | |
| 424 | - region k L := (bc L).region k L | |
| 425 | - open_region k L := (bc L).open_region k L | |
| 426 | - jets := hj | |
| 427 | - contains k I := (bc I.1).contains k I | |
| 428 | - | |
| 429 | -/-- No native region is required for an omitted label whose amplitude | |
| 430 | -vanishes identically. -/ | |
| 431 | -noncomputable def zeroCarrier {a b h r0 : ℝ} : | |
| 432 | - CarrierBounds (zeroCopies : CopyFamily H K) zeroCells a b h r0 where | |
| 433 | - region _ _ := ∅ | |
| 434 | - open_region _ _ := isOpen_empty | |
| 435 | - jets := PhaseJetBounds.PolynomialJets.const_fixed (0 : ℝ × ℝ) | |
| 436 | - contains _ _ _ _ _ _ hx := hx.elim | |
| 437 | - | |
| 438 | -noncomputable def zeroChart {ν : Type*} {a b h r0 σ : ℝ} | |
| 439 | - (source : ν → ℕ → E → ℂ) (index : K → WaveIndex H → ν) : | |
| 440 | - LocalPhysicalCopyBounds.CommonChart (zeroCopies : CopyFamily H K) zeroCells | |
| 441 | - a b h r0 σ source where | |
| 442 | - sourceIndex := index | |
| 443 | - map _ _ _ := 0 | |
| 444 | - domain _ _ := ∅ | |
| 445 | - open_domain _ _ := isOpen_empty | |
| 446 | - smooth _ _ := contDiffOn_const | |
| 447 | - positive_jets _ := ⟨1, le_rfl, 0, fun _ _ _ hx => hx.elim⟩ | |
| 448 | - amplitude_eq _ _ _ hx := hx.elim | |
| 449 | - contains _ _ _ _ _ _ hx _ := hx.elim | |
| 450 | - | |
| 451 | -/-- In the actual Cartesian source adapter every local map is the identity. | |
| 452 | -Its common positive-jet bound is exactly one, with polynomial degree zero. -/ | |
| 453 | -theorem identity_chart_jets | |
| 454 | - (f : BandLabel → CopyFamily H K) (c : ∀ L, SupportCells (f L)) | |
| 455 | - {a b h r0 σ : ℝ} | |
| 456 | - (source : (L : BandLabel) → ι L → ℕ → PhysicalGraphBounds.LiftPoint → ℂ) | |
| 457 | - (ch : ∀ L, LocalPhysicalCopyBounds.CommonChart (f L) (c L) a b h r0 σ (source L)) | |
| 458 | - (hid : ∀ k I, (ch I.1).map k I = fun x => x) : | |
| 459 | - ∀ m : ℕ, ∃ B : ℝ, 1 ≤ B ∧ ∃ q : ℕ, | |
| 460 | - ∀ k I x, x ∈ (ch I.1).domain k I → ∀ j, 1 ≤ j → j ≤ m → | |
| 461 | - ‖iteratedFDeriv ℝ j ((ch I.1).map k I) x‖ ≤ B * ChartScales.S I.1.val.1 ^ q := by | |
| 462 | - intro m | |
| 463 | - refine ⟨1, le_rfl, 0, ?_⟩ | |
| 464 | - intro k I x _ j hj _ | |
| 465 | - rw [hid k I] | |
| 466 | - simp only [pow_zero, mul_one] | |
| 467 | - exact (PhysicalGraphBounds.norm_positive_jet_linear_le | |
| 468 | - (ContinuousLinearMap.id ℝ PhysicalGraphBounds.LiftPoint) x hj).trans (by simp) | |
| 469 | - | |
| 470 | -/-- Empty inactive charts do not alter the common bound for identity | |
| 471 | -charts of active labels. -/ | |
| 472 | -theorem identity_or_empty_chart_jets | |
| 473 | - (f : BandLabel → CopyFamily H K) (c : ∀ L, SupportCells (f L)) | |
| 474 | - {a b h r0 σ : ℝ} | |
| 475 | - (source : (L : BandLabel) → ι L → ℕ → PhysicalGraphBounds.LiftPoint → ℂ) | |
| 476 | - (ch : ∀ L, LocalPhysicalCopyBounds.CommonChart (f L) (c L) a b h r0 σ (source L)) | |
| 477 | - (hid : ∀ k I, (ch I.1).domain k I = ∅ ∨ (ch I.1).map k I = fun x => x) : | |
| 478 | - ∀ m : ℕ, ∃ B : ℝ, 1 ≤ B ∧ ∃ q : ℕ, | |
| 479 | - ∀ k I x, x ∈ (ch I.1).domain k I → ∀ j, 1 ≤ j → j ≤ m → | |
| 480 | - ‖iteratedFDeriv ℝ j ((ch I.1).map k I) x‖ ≤ B * ChartScales.S I.1.val.1 ^ q := by | |
| 481 | - intro m | |
| 482 | - refine ⟨1, le_rfl, 0, ?_⟩ | |
| 483 | - intro k I x hx j hj _ | |
| 484 | - rcases hid k I with he | hi | |
| 485 | - · rw [he] at hx | |
| 486 | - exact hx.elim | |
| 487 | - · rw [hi] | |
| 488 | - simp only [pow_zero, mul_one] | |
| 489 | - exact (PhysicalGraphBounds.norm_positive_jet_linear_le | |
| 490 | - (ContinuousLinearMap.id ℝ PhysicalGraphBounds.LiftPoint) x hj).trans (by simp) | |
| 491 | - | |
| 492 | 349 | /-! ## One application of the physical-family estimate -/ |
| 493 | 350 | |
| 494 | 351 | section Assembly |
| @@ -518,54 +375,6 @@ variable {J : Type*} {a b h r0 Z P0 α σ : ℝ} {Δ : ℕ} | ||
| 518 | 375 | (hfrequency : ∀ i k L, |((f i L).carrier k L).angular| ≤ P0 ∧ |
| 519 | 376 | |((f i L).carrier k L).axial| ≤ P0 ∧ |((f i L).carrier k L).radial| ≤ P0) |
| 520 | 377 | |
| 521 | -/-- The physical factory is applied once to all labels. Its source and | |
| 522 | -phase bounds are jointly quantified; individual physical bounds are not | |
| 523 | -inputs to this constructor. -/ | |
| 524 | -noncomputable def waveData : PhysicalStageBounds.WaveData h E (Σ L, ι L) K J where | |
| 525 | - lowerRadius := a | |
| 526 | - upperRadius := b | |
| 527 | - nativeWidth := r0 | |
| 528 | - slowBound := Z | |
| 529 | - frequencyBound := P0 | |
| 530 | - alpha := α | |
| 531 | - shift := σ | |
| 532 | - harmonics := H | |
| 533 | - gapBound := Δ | |
| 534 | - lower_pos := ha | |
| 535 | - width_nonneg := hr0 | |
| 536 | - slow_nonneg := hZ | |
| 537 | - frequency_one_le := hP | |
| 538 | - strip := s | |
| 539 | - weight := jointSource weight | |
| 540 | - source := jointSource source | |
| 541 | - source_bounds := hsource | |
| 542 | - copies i := diagonal (f i) | |
| 543 | - cells i := diagonalCells (f i) (c i) | |
| 544 | - chart i := diagonalChart (f i) (c i) source (ch i) (hchart i) | |
| 545 | - chart_maps := hmap | |
| 546 | - carrier i := diagonalCarrier (f i) (c i) (bc i) (hphase i) | |
| 547 | - support i := diagonalSupport (f i) (hsupport i) | |
| 548 | - smooth i := diagonalSmooth (f i) (hsmooth i) | |
| 549 | - frequencies := hfrequency | |
| 550 | - | |
| 551 | -theorem waveData_copies (i : J) : | |
| 552 | - (waveData s f c source weight hsource ch hchart hmap bc hphase | |
| 553 | - hsupport hsmooth ha hr0 hZ hP hfrequency).copies i = diagonal (f i) := rfl | |
| 554 | - | |
| 555 | -theorem waveData_scalar (i : J) : | |
| 556 | - (waveData s f c source weight hsource ch hchart hmap bc hphase | |
| 557 | - hsupport hsmooth ha hr0 hZ hP hfrequency).scalar i = | |
| 558 | - (diagonal (f i)).sum a h r0 := rfl | |
| 559 | - | |
| 560 | -include s c source weight hsource ch hchart hmap bc hphase hsupport hsmooth | |
| 561 | - ha hr0 hZ hP hfrequency in | |
| 562 | -theorem physical_scalar_bound (hh : 0 < h) (hh1 : h < 1 / 2) (i : J) (m : ℕ) : | |
| 563 | - ∃ C : ℝ, 0 ≤ C ∧ ∀ w ∈ preterminal, physicalQ h w ≤ 1 → | |
| 564 | - ‖iteratedFDeriv ℝ m ((diagonal (f i)).sum a h r0) w‖ ≤ | |
| 565 | - C * physicalQ h w ^ (h * α - PhysicalClassBounds.physicalLoss h σ m) := | |
| 566 | - (waveData s f c source weight hsource ch hchart hmap bc hphase | |
| 567 | - hsupport hsmooth ha hr0 hZ hP hfrequency).scalar_bound hh hh1 i m | |
| 568 | - | |
| 569 | 378 | end Assembly |
| 570 | 379 | |
| 571 | 380 | end NavierStokes.DependentSignedPhysicalFamily |
+23 −0 routes/s1-ns-dependent-1/README.md added View file
| @@ -0,0 +1,23 @@ | ||
| 1 | +--- | |
| 2 | +issue: 10 | |
| 3 | +status: working | |
| 4 | +--- | |
| 5 | +# s1-ns-dependent-1 | |
| 6 | + | |
| 7 | +One unit of #10 (S-1, "Delete declarations that nothing uses"), family | |
| 8 | +`NavierStokes/Dependent*`: delete 16 declarations from | |
| 9 | +`NavierStokes/DependentSignedPhysicalFamily.lean` (191 lines): `diagonal_sum`, | |
| 10 | +`diagonal_sum_locally_finite`, `diagonal_sum_smooth`, `Family.assembled_term_active`, | |
| 11 | +`Family.assembled_term_inactive`, `localSourceBounds_slice`, `diagonalChart`, | |
| 12 | +`diagonalCarrier`, `zeroCarrier`, `zeroChart`, `identity_chart_jets`, | |
| 13 | +`identity_or_empty_chart_jets`, `waveData`, `waveData_copies`, `waveData_scalar`, | |
| 14 | +`physical_scalar_bound`. Nothing left in the tree names any of them: | |
| 15 | +`git grep -n -w` on each short name finds no hit. None of their docstrings cites a | |
| 16 | +numbered result of the paper. Statements and proofs that stay are untouched; the | |
| 17 | +diff is deletions only. | |
| 18 | + | |
| 19 | +## Next | |
| 20 | + | |
| 21 | +Push and open the pull request. The `build` check says whether the file still | |
| 22 | +compiles; the rest of the `Dependent*` family and the other units of #10 are | |
| 23 | +separate pull requests. | |