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 #512 from s1-ns-state-8
Browse fileschore(NavierStokes/State): delete 16 declarations nothing uses
main maintainer-statement s1-euler-angle-9 s1-euler-transverse-9 s1-ns-common-9 s1-ns-curl-9 s1-ns-error-9 s1-ns-graph-9 s1-ns-harmonic-11 s1-ns-particular-10 s1-ns-periodic-9 s1-ns-periodized-9 s1-ns-pressure-9 s1-ns-radial-9 s1-ns-uniform-8 s1-ns-wave-11 s1-ns-weighted-10 s1-ns-weighted-12 s1-ns-weighted-9 s2-build-profile-files s2-euler-all-1 s2-euler-base-1 s2-euler-bounded-1 s2-euler-child-1 s2-euler-coefficient-1 s2-euler-correction-1 s2-euler-cylinder-1 s2-euler-dirichlet-1 s2-euler-div-1 s2-euler-drift-1 s2-euler-euler-1 s2-euler-field-1 s2-euler-finite-1 s2-euler-flow-1 s2-euler-gaussian-1 s2-euler-gevrey-1 s2-euler-h6-1 s2-euler-initial-1 s2-euler-integral-1 s2-euler-linear-1 s2-euler-local-1 s2-euler-logarithmic-1 s2-euler-mean-1 s2-euler-metric-1 s2-euler-mixed-1 s2-euler-operator-1 s2-euler-ordinary-1 s2-euler-ordinary-2 s2-euler-packet-1 s2-euler-parameter-1 s2-euler-parent-1 s2-euler-radial-1 s2-euler-small-1 s2-euler-sobolev-1 s2-euler-squared-1 s2-euler-static-1 s2-euler-terminal-1 s2-euler-time-1 s2-euler-transport-1 s2-euler-transverse-1 s2-euler-unshifted-1 s2-euler-vorticity-1 s2-euler-weighted-1 s2-ns-activation-1 s2-ns-actual-1 s2-ns-aligned-1 s2-ns-angular-1 s2-ns-annular-1 s2-ns-axis-1 s2-ns-base-1 s2-ns-chart-1 s2-ns-closed-1 s2-ns-common-1 s2-ns-cone-1 s2-ns-coordinate-1 s2-ns-corrected-1 s2-ns-correction-1 s2-ns-covariance-1 s2-ns-current-1 s2-ns-cylindrical-1 s2-ns-diophantine-1 s2-ns-direct-1 s2-ns-extended-1 s2-ns-five-1 s2-ns-flat-1 s2-ns-future-1 s2-ns-gauge-1 s2-ns-gaussian-1 s2-ns-global-1 s2-ns-glued-1 s2-ns-growing-1 s2-ns-heat-1 s2-ns-initial-1 s2-ns-label-1 s2-ns-local-1 s2-ns-loop-1 s2-ns-matching-1 s2-ns-mean-1 s2-ns-modulated-1 s2-ns-moment-1 s2-ns-moving-1 s2-ns-native-1 s2-ns-natural-1 s2-ns-normal-1 s2-ns-outgoing-1 s2-ns-outgoing-2 s2-ns-parametric-1 s2-ns-periodic-1 s2-ns-periodized-1 s2-ns-phase-1 s2-ns-physical-1 s2-ns-polar-1 s2-ns-positive-1 s2-ns-pressure-1 s2-ns-primary-1 s2-ns-profile-1 s2-ns-pulse-1 s2-ns-r3-1 s2-ns-r3-folder-1 s2-ns-reference-1 s2-ns-renormalized-1 s2-ns-repair-1 s2-ns-reserved-1 s2-ns-reset-1 s2-ns-residual-1 s2-ns-scaled-1 s2-ns-scaled-2 s2-ns-scaling-1 s2-ns-shape-1 s2-ns-shaped-1 s2-ns-signed-1 s2-ns-similarity-1 s2-ns-slot-1 s2-ns-slow-1 s2-ns-smooth-1 s2-ns-spatial-1 s2-ns-squared-1 s2-ns-stress-1 s2-ns-tail-1 s2-ns-temporal-1 s2-ns-terminal-1 s2-ns-transition-1 s2-ns-uniform-1 s2-ns-variable-1 s2-ns-viscous-1 s2-ns-volterra-1 s2-ns-volterra-2
Checks
build Program · lake build and Comparator
Details
challenge Program · challenge files and build config
Details
+0 −124 NavierStokes/StateReindex.lean View file
| @@ -96,43 +96,6 @@ noncomputable def state (e : D ≃ₗᵢ[ℝ] E) (u : CorrectionState.State E) : | ||
| 96 | 96 | oscillatoryPressure := fun n x => u.oscillatoryPressure n (cylinder e x) |
| 97 | 97 | errors := errors e u.errors |
| 98 | 98 | |
| 99 | -theorem fderiv_field (e : D ≃ₗᵢ[ℝ] E) (f : MeanIncrementBounds.Field E) | |
| 100 | - (n : ℕ) (x : D) (v : E) : | |
| 101 | - fderiv ℝ (field e f n) x (e.symm v) = fderiv ℝ (f n) (e x) v := by | |
| 102 | - change fderiv ℝ (fun y => f n (e y)) x (e.symm v) = _ | |
| 103 | - rw [fderiv_pull, e.apply_symm_apply] | |
| 104 | - | |
| 105 | -theorem dr_pull (e : D ≃ₗᵢ[ℝ] E) (o : MeanIncrementBounds.Operators E) | |
| 106 | - (f : MeanIncrementBounds.Field E) : (operators e o).dr (field e f) = field e (o.dr f) := by | |
| 107 | - funext n x | |
| 108 | - simp only [MeanIncrementBounds.Operators.dr, WeightedClasses.graphDerivative, | |
| 109 | - operators, fderiv_field, field] | |
| 110 | - | |
| 111 | -theorem dz_pull (e : D ≃ₗᵢ[ℝ] E) (o : MeanIncrementBounds.Operators E) | |
| 112 | - (f : MeanIncrementBounds.Field E) : (operators e o).dz (field e f) = field e (o.dz f) := by | |
| 113 | - funext n x | |
| 114 | - simp only [MeanIncrementBounds.Operators.dz, operators, fderiv_field, field] | |
| 115 | - | |
| 116 | -theorem time_pull (e : D ≃ₗᵢ[ℝ] E) (o : MeanIncrementBounds.Operators E) | |
| 117 | - (f : MeanIncrementBounds.Field E) : (operators e o).time (field e f) = field e (o.time f) := by | |
| 118 | - funext n x | |
| 119 | - simp only [MeanIncrementBounds.Operators.time, MeanIncrementBounds.Operators.slowTime, | |
| 120 | - MeanIncrementBounds.Operators.fastTime, operators, fderiv_field, field, Pi.add_apply] | |
| 121 | - | |
| 122 | -theorem radialDiv_pull (e : D ≃ₗᵢ[ℝ] E) (o : MeanIncrementBounds.Operators E) | |
| 123 | - (k : ℝ) (f : MeanIncrementBounds.Field E) : | |
| 124 | - (operators e o).radialDiv k (field e f) = field e (o.radialDiv k f) := by | |
| 125 | - unfold MeanIncrementBounds.Operators.radialDiv | |
| 126 | - rw [dr_pull] | |
| 127 | - rfl | |
| 128 | - | |
| 129 | -theorem viscosity_pull (e : D ≃ₗᵢ[ℝ] E) (o : MeanIncrementBounds.Operators E) | |
| 130 | - (k : ℝ) (f : MeanIncrementBounds.Field E) : | |
| 131 | - (operators e o).viscosity k (field e f) = field e (o.viscosity k f) := by | |
| 132 | - unfold MeanIncrementBounds.Operators.viscosity | |
| 133 | - rw [dr_pull, dr_pull, dz_pull, dz_pull] | |
| 134 | - rfl | |
| 135 | - | |
| 136 | 99 | /-! ## Finite harmonic coefficients -/ |
| 137 | 100 | |
| 138 | 101 | noncomputable def coefficients (e : D ≃ₗᵢ[ℝ] E) (a : HarmonicFields.Coefficients E) : |
| @@ -483,21 +446,6 @@ theorem field_roundtrip (e : D ≃ₗᵢ[ℝ] E) (f : MeanIncrementBounds.Field | ||
| 483 | 446 | funext n x |
| 484 | 447 | exact congrArg (f n) (e.symm_apply_apply x) |
| 485 | 448 | |
| 486 | -theorem oscillation_roundtrip (e : D ≃ₗᵢ[ℝ] E) (f : CorrectionState.Oscillation D) : | |
| 487 | - oscillation e (oscillation e.symm f) = f := by | |
| 488 | - funext n x | |
| 489 | - change f n (e.symm (e x.1), x.2) = f n x | |
| 490 | - rw [e.symm_apply_apply] | |
| 491 | - | |
| 492 | -theorem state_roundtrip (e : D ≃ₗᵢ[ℝ] E) (u : CorrectionState.State D) : | |
| 493 | - state e (state e.symm u) = u := by | |
| 494 | - cases u with | |
| 495 | - | mk m p a q r => | |
| 496 | - cases m | |
| 497 | - cases r | |
| 498 | - simp only [state, triple, errors, cylinder_apply, e.symm_apply_apply, | |
| 499 | - field_roundtrip, oscillation_roundtrip] | |
| 500 | - | |
| 501 | 449 | theorem context_roundtrip (e : D ≃ₗᵢ[ℝ] E) (c : CorrectionState.Context D) : |
| 502 | 450 | context e (context e.symm c) = c := by |
| 503 | 451 | cases c with |
| @@ -514,76 +462,6 @@ noncomputable def strip (e : D ≃ₗᵢ[ℝ] E) (s : WeightedClasses.StripData | ||
| 514 | 462 | |
| 515 | 463 | /-! ## Real linearization and the mean equations -/ |
| 516 | 464 | |
| 517 | -theorem thetaResidual_pull (e : D ≃ₗᵢ[ℝ] E) (c : CorrectionState.Context E) | |
| 518 | - (u : CorrectionState.State E) : | |
| 519 | - (state e u).thetaResidual (context e c) = field e (u.thetaResidual c) := by | |
| 520 | - change (operators e c.operators).time (field e u.mean.angular) + | |
| 521 | - (operators e c.operators).radialDiv 2 | |
| 522 | - (field e (MeanIncrementBounds.thetaRadial c.base u.mean + u.covariance 0 1)) + | |
| 523 | - (operators e c.operators).dz | |
| 524 | - (field e (MeanIncrementBounds.thetaAxial c.base u.mean + u.covariance 2 1)) - | |
| 525 | - (operators e c.operators).viscosity 1 (field e u.mean.angular) - | |
| 526 | - (operators e c.operators).radialDiv 2 (field e c.virtualTheta) = _ | |
| 527 | - rw [time_pull, radialDiv_pull, dz_pull, viscosity_pull, radialDiv_pull] | |
| 528 | - rfl | |
| 529 | - | |
| 530 | -theorem axialResidual_pull (e : D ≃ₗᵢ[ℝ] E) (c : CorrectionState.Context E) | |
| 531 | - (u : CorrectionState.State E) : | |
| 532 | - (state e u).axialResidual (context e c) = field e (u.axialResidual c) := by | |
| 533 | - change (operators e c.operators).time (field e u.mean.axial) + | |
| 534 | - (operators e c.operators).radialDiv 1 | |
| 535 | - (field e (MeanIncrementBounds.axialRadial c.base u.mean + u.covariance 0 2)) + | |
| 536 | - (operators e c.operators).dz | |
| 537 | - (field e (MeanIncrementBounds.axialAxial c.base u.mean + u.covariance 2 2 + u.pressure)) - | |
| 538 | - (operators e c.operators).viscosity 0 (field e u.mean.axial) - | |
| 539 | - (operators e c.operators).radialDiv 1 (field e c.virtualAxial) = _ | |
| 540 | - rw [time_pull, radialDiv_pull, dz_pull, viscosity_pull, radialDiv_pull] | |
| 541 | - rfl | |
| 542 | - | |
| 543 | -theorem gr_pull (e : D ≃ₗᵢ[ℝ] E) (c : CorrectionState.Context E) | |
| 544 | - (u : CorrectionState.State E) : | |
| 545 | - (state e u).gr (context e c) = field e (u.gr c) := by | |
| 546 | - change -((operators e c.operators).time (field e u.mean.radial) + | |
| 547 | - (operators e c.operators).radialDiv 1 | |
| 548 | - (field e (MeanIncrementBounds.radialRadial c.base u.mean + u.covariance 0 0)) + | |
| 549 | - (operators e c.operators).dz | |
| 550 | - (field e (MeanIncrementBounds.axialRadial c.base u.mean + u.covariance 2 0)) - | |
| 551 | - (operators e c.operators).invRadius * | |
| 552 | - field e (MeanIncrementBounds.radialAngular c.base u.mean + u.covariance 1 1) - | |
| 553 | - (operators e c.operators).viscosity 1 (field e u.mean.radial)) = _ | |
| 554 | - rw [time_pull, radialDiv_pull, dz_pull, viscosity_pull] | |
| 555 | - rfl | |
| 556 | - | |
| 557 | -theorem radialResidual_pull (e : D ≃ₗᵢ[ℝ] E) (c : CorrectionState.Context E) | |
| 558 | - (u : CorrectionState.State E) : | |
| 559 | - (state e u).radialResidual (context e c) = field e (u.radialResidual c) := by | |
| 560 | - unfold CorrectionState.State.radialResidual | |
| 561 | - rw [gr_pull] | |
| 562 | - change (operators e c.operators).dr (field e u.pressure) - field e (u.gr c) = _ | |
| 563 | - rw [dr_pull] | |
| 564 | - rfl | |
| 565 | - | |
| 566 | -theorem reducedMeanResidual_pull (e : D ≃ₗᵢ[ℝ] E) (c : CorrectionState.Context E) | |
| 567 | - (u : CorrectionState.State E) (n : ℕ) (x : D) : | |
| 568 | - (state e u).reducedMeanResidual (context e c) n x = u.reducedMeanResidual c n (e x) := by | |
| 569 | - unfold CorrectionState.State.reducedMeanResidual | |
| 570 | - rw [radialResidual_pull, thetaResidual_pull, axialResidual_pull] | |
| 571 | - rfl | |
| 572 | - | |
| 573 | -theorem meanResidual_pull (e : D ≃ₗᵢ[ℝ] E) (c : CorrectionState.Context E) | |
| 574 | - (u : CorrectionState.State E) (n : ℕ) (x : D) (i : Fin 3) : | |
| 575 | - (state e u).meanResidual (context e c) n x i = u.meanResidual c n (e x) i := by | |
| 576 | - change (state e u).reducedMeanResidual (context e c) n x i + _ = _ | |
| 577 | - rw [reducedMeanResidual_pull] | |
| 578 | - rfl | |
| 579 | - | |
| 580 | -theorem meanGoodResidual_pull (e : D ≃ₗᵢ[ℝ] E) (c : CorrectionState.Context E) | |
| 581 | - (u : CorrectionState.State E) (n : ℕ) (x : D) (i : Fin 3) : | |
| 582 | - (state e u).meanGoodResidual (context e c) n x i = u.meanGoodResidual c n (e x) i := by | |
| 583 | - change (state e u).meanResidual (context e c) n x i - _ = _ | |
| 584 | - rw [meanResidual_pull] | |
| 585 | - rfl | |
| 586 | - | |
| 587 | 465 | theorem block_bandLimited (e : D ≃ₗᵢ[ℝ] E) {b : CorrectionState.HarmonicBlock E} {N : ℕ} |
| 588 | 466 | (hb : b.BandLimited N) : (block e b).BandLimited N := |
| 589 | 467 | ⟨fun n i => bandLimited_pull e (hb.1 n i), fun n => bandLimited_pull e (hb.2 n)⟩ |
| @@ -594,8 +472,6 @@ section Association | ||
| 594 | 472 | |
| 595 | 473 | variable {S : Type} [NormedAddCommGroup S] [NormedSpace ℝ S] |
| 596 | 474 | |
| 597 | -abbrev Associated (S : Type) := (ℝ × S) × TorusInverse.Plane | |
| 598 | - | |
| 599 | 475 | end Association |
| 600 | 476 | |
| 601 | 477 | end NavierStokes.StateReindex |
+31 −0 routes/s1-ns-state-8/README.md added View file
| @@ -0,0 +1,31 @@ | ||
| 1 | +--- | |
| 2 | +issue: 10 | |
| 3 | +status: working | |
| 4 | +--- | |
| 5 | +# s1-ns-state-8 | |
| 6 | + | |
| 7 | +Unit `s1-ns-state-8` of #10 (S-1), wave 8: the family `NavierStokes/State*`, file | |
| 8 | +`NavierStokes/StateReindex.lean`. It deletes the 16 declarations of that file that nothing | |
| 9 | +in the tree uses — 124 lines, deletions only, no statement or proof that stays changed. | |
| 10 | +Waves 1 and 2 (`s1-ns-state-1`, `s1-ns-state-2`) deleted earlier units of the same family | |
| 11 | +from this file and `NavierStokes/StateMomentBalances.lean`. | |
| 12 | + | |
| 13 | +Deleted: `fderiv_field`, `dr_pull`, `dz_pull`, `time_pull`, `radialDiv_pull`, | |
| 14 | +`viscosity_pull`, `oscillation_roundtrip`, `state_roundtrip`, `thetaResidual_pull`, | |
| 15 | +`axialResidual_pull`, `gr_pull`, `radialResidual_pull`, `reducedMeanResidual_pull`, | |
| 16 | +`meanResidual_pull`, `meanGoodResidual_pull` and the `abbrev Associated`. | |
| 17 | + | |
| 18 | +What I checked before committing. For each of the 16 short names, `git grep -n -w` over | |
| 19 | +`*.lean` at the head of this branch finds no remaining use, and no file outside | |
| 20 | +`StateReindex.lean` refers to one under `StateReindex.`. The only hits are other | |
| 21 | +declarations that share a short name, which is fine: `Euler.ContinuousSpatialFamily.fderiv_field` | |
| 22 | +and the several unrelated `Associated` abbreviations (e.g. `ActualParticularRealization.Associated`). | |
| 23 | +The patch deletes no docstring, so no deleted documentation names a numbered Lemma, Theorem, | |
| 24 | +Proposition, Corollary, Section or Equation of the paper. `python3 checks/challenge.py .` | |
| 25 | +ends with `ok: 4 challenge files and the build configuration as approved; ...`. | |
| 26 | + | |
| 27 | +## Next | |
| 28 | + | |
| 29 | +Push and open the pull request; the maintainer's review after `challenge` and `build` on | |
| 30 | +`s1-ns-state-8`. If a later wave needs a statement again, it comes back from the parent | |
| 31 | +commit. | |