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

chore(NavierStokes/State): delete 16 declarations nothing uses #512
Open
+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. | |