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 #510 from s1-ns-mean-8
Browse fileschore(NavierStokes/Mean): delete 34 declarations nothing uses
main s1-euler-angle-9 s1-ns-common-9 s1-ns-curl-9 s1-ns-error-9 s1-ns-graph-9 s1-ns-periodic-9 s1-ns-periodized-9 s1-ns-pressure-9 s1-ns-uniform-8 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-div-1 s2-euler-drift-1 s2-euler-field-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-metric-1 s2-euler-mixed-1 s2-euler-operator-1 s2-euler-ordinary-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-unshifted-1 s2-euler-vorticity-1 s2-euler-weighted-1 s2-ns-activation-1 s2-ns-aligned-1 s2-ns-angular-1 s2-ns-axis-1 s2-ns-chart-1 s2-ns-closed-1 s2-ns-cone-1 s2-ns-coordinate-1 s2-ns-corrected-1 s2-ns-covariance-1 s2-ns-cylindrical-1 s2-ns-diophantine-1 s2-ns-direct-1 s2-ns-extended-1 s2-ns-future-1 s2-ns-gauge-1 s2-ns-gaussian-1 s2-ns-glued-1 s2-ns-growing-1 s2-ns-initial-1 s2-ns-label-1 s2-ns-local-1 s2-ns-loop-1 s2-ns-matching-1 s2-ns-moving-1 s2-ns-native-1 s2-ns-natural-1 s2-ns-normal-1 s2-ns-outgoing-1 s2-ns-parametric-1 s2-ns-phase-1 s2-ns-polar-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-reset-1 s2-ns-scaled-1 s2-ns-scaling-1 s2-ns-shape-1 s2-ns-shaped-1 s2-ns-similarity-1 s2-ns-slot-1 s2-ns-spatial-1 s2-ns-squared-1 s2-ns-stress-1 s2-ns-tail-1 s2-ns-terminal-1 s2-ns-transition-1 s2-ns-volterra-1
Checks
challenge Program · challenge files and build config
Details
+0 −10 NavierStokes/MeanBoundsReindex.lean View file
| @@ -41,16 +41,6 @@ theorem uniformClass_return {F ι : Type*} [NormedAddCommGroup F] [NormedSpace | ||
| 41 | 41 | |
| 42 | 42 | /-! ## Uniform classes of the actual harmonic residual -/ |
| 43 | 43 | |
| 44 | -/-- Arbitrary solver block families return with their original common | |
| 45 | -weight and exponent. Uniformity over labels is retained. -/ | |
| 46 | -theorem uniformVelocity_return {ι : Type*} (e : D ≃ₗᵢ[ℝ] E) {s : StripData D} | |
| 47 | - {P : ι → ℕ → D → ℝ} {α : ℝ} {b : ι → CorrectionState.HarmonicBlock E} | |
| 48 | - (hb : UniformHarmonicInteraction.UniformVelocity | |
| 49 | - (ParticularWaveBounds.reindexStrip e.symm s) (fun l n y => P l n (e.symm y)) α b) : | |
| 50 | - UniformHarmonicInteraction.UniformVelocity s P α (fun l => StateReindex.block e (b l)) := by | |
| 51 | - intro i j hj | |
| 52 | - exact uniformClass_return e (hb i j hj) | |
| 53 | - | |
| 54 | 44 | theorem uniformVelocity_pull {ι : Type*} (e : D ≃ₗᵢ[ℝ] E) {s : StripData E} |
| 55 | 45 | {P : ι → ℕ → E → ℝ} {α : ℝ} {b : ι → CorrectionState.HarmonicBlock E} |
| 56 | 46 | (hb : UniformHarmonicInteraction.UniformVelocity s P α b) : |
+0 −56 NavierStokes/MeanChartCompatibility.lean View file
| @@ -563,27 +563,9 @@ theorem coverMap_radial (i : ℕ) : | ||
| 563 | 563 | |
| 564 | 564 | noncomputable def chartScale (n : ℕ) : ℝ := ChartScales.Q n ^ (-(1 / 2 : ℝ)) |
| 565 | 565 | |
| 566 | -theorem chartScale_pos (n : ℕ) : 0 < chartScale n := | |
| 567 | - Real.rpow_pos_of_pos (ChartScales.Q_pos n) _ | |
| 568 | - | |
| 569 | 566 | noncomputable def radialFrequency (_h : ℝ) (n i : ℕ) (d M : ℝ) : ℝ := |
| 570 | 567 | M * ChartScales.Lambda ^ i * ChartScales.Q n ^ (d / 2) |
| 571 | 568 | |
| 572 | -theorem radialFrequency_scale (h : ℝ) (n i : ℕ) (d M : ℝ) : | |
| 573 | - radialFrequency h n i d M * chartScale n ^ d = M * ChartScales.Lambda ^ i := by | |
| 574 | - have hs : chartScale n ^ d = ChartScales.Q n ^ (-(d / 2)) := by | |
| 575 | - unfold chartScale | |
| 576 | - rw [← Real.rpow_mul (ChartScales.Q_pos n).le] | |
| 577 | - congr 1 | |
| 578 | - ring | |
| 579 | - rw [hs, radialFrequency, mul_assoc, ← Real.rpow_add (ChartScales.Q_pos n)] | |
| 580 | - simp | |
| 581 | - | |
| 582 | -theorem radialFrequency_shift (h : ℝ) (n i : ℕ) (d M : ℝ) : | |
| 583 | - M • TemporalMeanUpdate.coverMap i (vector .radial) = | |
| 584 | - (radialFrequency h n i d M * chartScale n ^ d) • vector .radial := by | |
| 585 | - rw [coverMap_radial, smul_smul, radialFrequency_scale] | |
| 586 | - | |
| 587 | 569 | /-- The physical slow variables are `(z,τ)` with `τ=1-t`. -/ |
| 588 | 570 | noncomputable def slowToChart (h : ℝ) (n : ℕ) : Plane →L[ℝ] Plane := |
| 589 | 571 | (ChartScales.Q n ^ (-CoordinateAlgebra.D h) • ContinuousLinearMap.fst ℝ ℝ ℝ).prod |
| @@ -598,20 +580,6 @@ noncomputable def physicalToChart (h : ℝ) (n i : ℕ) : | ||
| 598 | 580 | ((ChartScales.Q n ^ (-CoordinateAlgebra.D h) * z.2.1.1, |
| 599 | 581 | ChartScales.Q n ^ (-1 : ℝ) * z.2.1.2), TemporalMeanUpdate.coverMap i z.2.2)) := rfl |
| 600 | 582 | |
| 601 | -theorem pressure_unit_factor (h : ℝ) (n : ℕ) : | |
| 602 | - ChartScales.Q n ^ (-(2 * CoordinateAlgebra.A h + 1 / 2)) / chartScale n = | |
| 603 | - ChartScales.Q n ^ (-(2 * CoordinateAlgebra.A h)) := by | |
| 604 | - unfold chartScale | |
| 605 | - rw [← Real.rpow_sub (ChartScales.Q_pos n)] | |
| 606 | - congr 1 | |
| 607 | - ring | |
| 608 | - | |
| 609 | -noncomputable def reconstructPressureFamily (r : ℕ → CorrectionState.ReconstructionData) | |
| 610 | - (c : CorrectionState.Context (PressureStream.Lift Plane)) | |
| 611 | - (u : CorrectionState.State (PressureStream.Lift Plane)) : | |
| 612 | - CorrectionState.State (PressureStream.Lift Plane) := | |
| 613 | - { u with pressure := fun n => (CorrectionState.reconstructPressure (r n) c u).pressure n } | |
| 614 | - | |
| 615 | 583 | end PhysicalFamilies |
| 616 | 584 | |
| 617 | 585 | section ReconstructedStream |
| @@ -682,30 +650,6 @@ open TorusInverse | ||
| 682 | 650 | |
| 683 | 651 | variable {S : Type} [NormedAddCommGroup S] [NormedSpace ℝ S] |
| 684 | 652 | |
| 685 | -/-- The potential uses the explicitly chosen common torus index. -/ | |
| 686 | -noncomputable def commonTemporalPotential (r : ℕ → CorrectionState.ReconstructionData) | |
| 687 | - (h : ℝ) (index : ℕ → ℕ) (f : ℕ → PressureStream.Lift S → ℝ) (n : ℕ) : | |
| 688 | - PressureStream.Lift S → ℝ := | |
| 689 | - PressureStream.streamPotential (r n).exponent (r n).inner (r n).outer ((r n).frequency n) | |
| 690 | - ((0 : S), (r n).radialDirection) (temporalAtIndex h n (index n) (f n)) | |
| 691 | - | |
| 692 | -noncomputable def commonTemporalFields (r : ℕ → CorrectionState.ReconstructionData) | |
| 693 | - (h : ℝ) (index : ℕ → ℕ) (epsilon : ℕ → ℝ) (axial : S × Plane) | |
| 694 | - (fθ fz : ℕ → PressureStream.Lift S → ℝ) : MeanIncrementBounds.Triple (PressureStream.Lift S) where | |
| 695 | - radial := fun n => PressureStream.streamBeta (epsilon n • axial) | |
| 696 | - (commonTemporalPotential r h index fz n) | |
| 697 | - angular := fun n => temporalAtIndex h n (index n) (fθ n) | |
| 698 | - axial := fun n => PressureStream.streamGamma | |
| 699 | - (PressureStream.physicalSpeed (r n).exponent ((r n).frequency n)) | |
| 700 | - ((0 : S), (r n).radialDirection) (commonTemporalPotential r h index fz n) | |
| 701 | - | |
| 702 | -noncomputable def commonTemporalIncrement (r : ℕ → CorrectionState.ReconstructionData) | |
| 703 | - (h : ℝ) (index : ℕ → ℕ) (axial : S × Plane) | |
| 704 | - (c : CorrectionState.Context (PressureStream.Lift S)) | |
| 705 | - (u : CorrectionState.State (PressureStream.Lift S)) : | |
| 706 | - MeanIncrementBounds.Triple (PressureStream.Lift S) := | |
| 707 | - commonTemporalFields r h index c.operators.epsilon axial (u.thetaResidual c) (u.axialResidual c) | |
| 708 | - | |
| 709 | 653 | variable [FiniteDimensional ℝ S] |
| 710 | 654 | |
| 711 | 655 | end CommonTemporalReconstruction |
+0 −92 NavierStokes/MeanIncrementBounds.lean View file
| @@ -802,13 +802,6 @@ open scoped Interval | ||
| 802 | 802 | |
| 803 | 803 | variable {P : Type} [NormedAddCommGroup P] [NormedSpace ℝ P] |
| 804 | 804 | |
| 805 | -omit [NormedAddCommGroup P] [NormedSpace ℝ P] in | |
| 806 | -theorem radialSupport_sub {a b : ℝ} {f g : ℝ × P → ℝ} | |
| 807 | - (hf : RadialAlias.RadiallySupported a b f) | |
| 808 | - (hg : RadialAlias.RadiallySupported a b g) : | |
| 809 | - RadialAlias.RadiallySupported a b (fun x => f x - g x) := | |
| 810 | - (support_sub f g).trans (union_subset hf hg) | |
| 811 | - | |
| 812 | 805 | /-- An interior radial cutoff belongs to the same flat mean class. The |
| 813 | 806 | constant comes from its actual jets and the positive weight on its support. -/ |
| 814 | 807 | theorem interior_cutoff_meanClass |
| @@ -938,91 +931,6 @@ theorem meanPressure_sub {a b d : ℝ} (ha : 0 < a) (hab : a < b) (hd : 0 < d) | ||
| 938 | 931 | (PressureStream.pressureSource_supported hab hsf) |
| 939 | 932 | (PressureStream.pressureSource_supported hab hsg) M (0, v) |
| 940 | 933 | |
| 941 | -theorem meanClass_pressureSource | |
| 942 | - {a b cL cR : ℝ} (ha : 0 < a) (hab : a < b) (hcL : 0 < cL) (hcR : 0 < cR) | |
| 943 | - (ε S : ℕ → ℝ) (hε : ∀ n, 0 < ε n) (hεone : ∀ n, ε n ≤ 1) | |
| 944 | - (hS : ∀ n, 1 ≤ S n) {α : ℝ} {f : ℕ → PressureStream.Lift P → ℝ} | |
| 945 | - (hf : ∀ n, ContDiff ℝ ∞ (f n)) | |
| 946 | - (hs : ∀ n, RadialAlias.RadiallySupported a b (f n)) | |
| 947 | - (hclass : MeanClass (logStripData a b cL cR ha hcL hcR ε S hε hεone hS) α f) : | |
| 948 | - MeanClass (logStripData a b cL cR ha hcL hcR ε S hε hεone hS) α | |
| 949 | - (fun n => PressureStream.pressureSource a b hab (f n)) := by | |
| 950 | - have hmass := MeanMomentBounds.meanClass_pressureMass_lift ha hab hcL hcR | |
| 951 | - ε S hε hεone hS hf hs hclass | |
| 952 | - have hρ := rho_meanClass (P := P × PressureStream.Plane) ha hab hcL hcR ε S hε hεone hS | |
| 953 | - have hproduct := Class.mul_coefficient hρ hmass | |
| 954 | - simp only [zero_add] at hproduct | |
| 955 | - exact Class.sub hclass hproduct | |
| 956 | - | |
| 957 | -/-- The actual normalized shifted pressure primitive preserves every | |
| 958 | -fixed-jet mean class, uniformly over its radial and torus shifts. -/ | |
| 959 | -theorem meanClass_meanPressure | |
| 960 | - {a b d cL cR : ℝ} (ha : 0 < a) (hab : a < b) (hd : 0 < d) | |
| 961 | - (hcL : 0 < cL) (hcR : 0 < cR) | |
| 962 | - (ε S : ℕ → ℝ) (hε : ∀ n, 0 < ε n) (hεone : ∀ n, ε n ≤ 1) | |
| 963 | - (hS : ∀ n, 1 ≤ S n) {α : ℝ} {f : ℕ → PressureStream.Lift P → ℝ} | |
| 964 | - (hf : ∀ n, ContDiff ℝ ∞ (f n)) | |
| 965 | - (hs : ∀ n, RadialAlias.RadiallySupported a b (f n)) | |
| 966 | - (hclass : MeanClass (logStripData a b cL cR ha hcL hcR ε S hε hεone hS) α f) | |
| 967 | - (M : ℕ → ℝ) (v : ℕ → PressureStream.Plane) : | |
| 968 | - MeanClass (logStripData a b cL cR ha hcL hcR ε S hε hεone hS) α | |
| 969 | - (fun n => PressureStream.meanPressure d a b (M n) hab (v n) (f n)) := by | |
| 970 | - exact RadialPullback.meanClass_physicalCompact ha hab hd hcL hcR ε S hε hεone hS | |
| 971 | - α M (fun n => (0, v n)) _ | |
| 972 | - (fun n => PressureStream.pressureSource_contDiff hab (hf n) (hs n)) | |
| 973 | - (fun n => PressureStream.pressureSource_supported hab (hs n)) | |
| 974 | - (meanClass_pressureSource ha hab hcL hcR ε S hε hεone hS hf hs hclass) | |
| 975 | - | |
| 976 | -theorem meanClass_meanPressure_change | |
| 977 | - {a b d cL cR : ℝ} (ha : 0 < a) (hab : a < b) (hd : 0 < d) | |
| 978 | - (hcL : 0 < cL) (hcR : 0 < cR) | |
| 979 | - (ε S : ℕ → ℝ) (hε : ∀ n, 0 < ε n) (hεone : ∀ n, ε n ≤ 1) | |
| 980 | - (hS : ∀ n, 1 ≤ S n) {α : ℝ} {f g : ℕ → PressureStream.Lift P → ℝ} | |
| 981 | - (hf : ∀ n, ContDiff ℝ ∞ (f n)) (hg : ∀ n, ContDiff ℝ ∞ (g n)) | |
| 982 | - (hsf : ∀ n, RadialAlias.RadiallySupported a b (f n)) | |
| 983 | - (hsg : ∀ n, RadialAlias.RadiallySupported a b (g n)) | |
| 984 | - (hclass : MeanClass (logStripData a b cL cR ha hcL hcR ε S hε hεone hS) α (f - g)) | |
| 985 | - (M : ℕ → ℝ) (v : ℕ → PressureStream.Plane) : | |
| 986 | - MeanClass (logStripData a b cL cR ha hcL hcR ε S hε hεone hS) α | |
| 987 | - (fun n x => PressureStream.meanPressure d a b (M n) hab (v n) (f n) x - | |
| 988 | - PressureStream.meanPressure d a b (M n) hab (v n) (g n) x) := by | |
| 989 | - apply class_congr (meanClass_meanPressure ha hab hd hcL hcR ε S hε hεone hS | |
| 990 | - (fun n => (hf n).sub (hg n)) (fun n => radialSupport_sub (hsf n) (hsg n)) hclass M v) | |
| 991 | - intro n x _ | |
| 992 | - exact (congrFun (meanPressure_sub ha hab hd (hf n) (hg n) (hsf n) (hsg n) (M n) (v n)) x).symm | |
| 993 | - | |
| 994 | -noncomputable def reconstructedPressure (d a b : ℝ) (hab : a < b) | |
| 995 | - (M : ℕ → ℝ) (v : ℕ → PressureStream.Plane) (o : Operators (PressureStream.Lift P)) | |
| 996 | - (base mean : Triple (PressureStream.Lift P)) | |
| 997 | - (W : Fin 3 → Fin 3 → Field (PressureStream.Lift P)) : Field (PressureStream.Lift P) := | |
| 998 | - fun n => PressureStream.meanPressure d a b (M n) hab (v n) (gr o base mean W n) | |
| 999 | - | |
| 1000 | -/-- Pressure is recomputed from the literal `gr`; its change class is a | |
| 1001 | -conclusion, obtained from the centrifugal term and the exact remainder. -/ | |
| 1002 | -theorem reconstructedPressure_change_mem | |
| 1003 | - {a b d cL cR : ℝ} (ha : 0 < a) (hab : a < b) (hd : 0 < d) | |
| 1004 | - (hcL : 0 < cL) (hcR : 0 < cR) | |
| 1005 | - (ε S : ℕ → ℝ) (hε : ∀ n, 0 < ε n) (hεone : ∀ n, ε n ≤ 1) | |
| 1006 | - (hS : ∀ n, 1 ≤ S n) {κ H : ℝ} | |
| 1007 | - {o : Operators (PressureStream.Lift P)} {base mean inc : Triple (PressureStream.Lift P)} | |
| 1008 | - (ho : OperatorBounds (logStripData a b cL cR ha hcL hcR ε S hε hεone hS) o κ) | |
| 1009 | - (hb : BaseBounds (logStripData a b cL cR ha hcL hcR ε S hε hεone hS) base) | |
| 1010 | - (hm : CumulativeBounds (logStripData a b cL cR ha hcL hcR ε S hε hεone hS) mean) | |
| 1011 | - (hh : IncrementBounds (logStripData a b cL cR ha hcL hcR ε S hε hεone hS) H inc) | |
| 1012 | - (hH : 9 / 10 ≤ H) (hκ : 2 * κ ≤ 9 / 10) | |
| 1013 | - (W : Fin 3 → Fin 3 → Field (PressureStream.Lift P)) | |
| 1014 | - (hW : ∀ i j, SmoothOn (logStripData a b cL cR ha hcL hcR ε S hε hεone hS).domain (W i j)) | |
| 1015 | - (hf : ∀ n, ContDiff ℝ ∞ (gr o base (updated mean inc) W n)) | |
| 1016 | - (hg : ∀ n, ContDiff ℝ ∞ (gr o base mean W n)) | |
| 1017 | - (hsf : ∀ n, RadialAlias.RadiallySupported a b (gr o base (updated mean inc) W n)) | |
| 1018 | - (hsg : ∀ n, RadialAlias.RadiallySupported a b (gr o base mean W n)) | |
| 1019 | - (M : ℕ → ℝ) (v : ℕ → PressureStream.Plane) : | |
| 1020 | - MeanClass (logStripData a b cL cR ha hcL hcR ε S hε hεone hS) H | |
| 1021 | - (reconstructedPressure d a b hab M v o base (updated mean inc) W - | |
| 1022 | - reconstructedPressure d a b hab M v o base mean W) := by | |
| 1023 | - exact meanClass_meanPressure_change ha hab hd hcL hcR ε S hε hεone hS hf hg hsf hsg | |
| 1024 | - (gr_change_mem ho hb hm hh hH W hW hκ) M v | |
| 1025 | - | |
| 1026 | 934 | section ReconstructedTangential |
| 1027 | 935 | |
| 1028 | 936 | variable {a b d cL cR : ℝ} (ha : 0 < a) (hab : a < b) (hd : 0 < d) |
+0 −35 NavierStokes/MeanMomentBounds.lean View file
| @@ -123,25 +123,6 @@ theorem globalBandJets_unweighted {ε S : ℕ → ℝ} {α : ℝ} {f : ℕ → D | ||
| 123 | 123 | simpa only [majorant, StripData.growth, slowStripData, inv_one, max_self, mul_one] |
| 124 | 124 | using hb n x j hj |
| 125 | 125 | |
| 126 | -theorem globalBandJets_unweighted_log {a b cL cR : ℝ} | |
| 127 | - (ha : 0 < a) (hcL : 0 < cL) (hcR : 0 < cR) | |
| 128 | - {ε S : ℕ → ℝ} {α : ℝ} {f : ℕ → ℝ × D → E} | |
| 129 | - (hε : ∀ n, 0 < ε n) (hεone : ∀ n, ε n ≤ 1) (hS : ∀ n, 1 ≤ S n) | |
| 130 | - (hf : ∀ n, ContDiff ℝ ∞ (f n)) (hjets : GlobalBandJets ε S α f) : | |
| 131 | - UnweightedClass (logStripData a b cL cR ha hcL hcR ε S hε hεone hS) α f := by | |
| 132 | - let s := logStripData (E := D) a b cL cR ha hcL hcR ε S hε hεone hS | |
| 133 | - refine ⟨fun _ _ _ => zero_le_one, fun n => (hf n).contDiffOn, ?_⟩ | |
| 134 | - intro m | |
| 135 | - obtain ⟨C, hC, p, hb⟩ := hjets m | |
| 136 | - refine ⟨C, hC, p, ?_⟩ | |
| 137 | - intro n x _ j hj | |
| 138 | - apply (hb n x j hj).trans | |
| 139 | - change C * (ε n) ^ α * (S n) ^ p ≤ C * (ε n) ^ α * s.growth n x ^ p * 1 | |
| 140 | - rw [mul_one] | |
| 141 | - exact mul_le_mul_of_nonneg_left | |
| 142 | - (pow_le_pow_left₀ (zero_le_one.trans (hS n)) (s.slow_le_growth n x) p) | |
| 143 | - (mul_nonneg hC (Real.rpow_pos_of_pos (hε n) α).le) | |
| 144 | - | |
| 145 | 126 | theorem GlobalBandJets.compLinear {ε S : ℕ → ℝ} {α : ℝ} {f : ℕ → E → F} |
| 146 | 127 | (hjets : GlobalBandJets ε S α f) (hf : ∀ n, ContDiff ℝ ∞ (f n)) |
| 147 | 128 | (L : D →L[ℝ] E) (hL : ‖L‖ ≤ 1) : |
| @@ -370,22 +351,6 @@ theorem GlobalBandJets.liftedPressureMass {ε S : ℕ → ℝ} {α a b : ℝ} | ||
| 370 | 351 | (fun n => liftedTorusAverage_supported (hs n)) hab |
| 371 | 352 | simpa only [liftedPressureMass_eq] using h |
| 372 | 353 | |
| 373 | -/-- The actual pressure defect, lifted to the original strip, belongs to | |
| 374 | -`S_α`. There is no pressure-mass or differentiated-integral estimate premise. -/ | |
| 375 | -theorem meanClass_pressureMass_lift | |
| 376 | - {a b cL cR : ℝ} (ha : 0 < a) (hab : a < b) (hcL : 0 < cL) (hcR : 0 < cR) | |
| 377 | - (ε S : ℕ → ℝ) (hε : ∀ n, 0 < ε n) (hεone : ∀ n, ε n ≤ 1) | |
| 378 | - (hS : ∀ n, 1 ≤ S n) {α : ℝ} {f : ℕ → PressureStream.Lift P → ℝ} | |
| 379 | - (hf : ∀ n, ContDiff ℝ ∞ (f n)) | |
| 380 | - (hs : ∀ n, RadialAlias.RadiallySupported a b (f n)) | |
| 381 | - (hclass : MeanClass (logStripData a b cL cR ha hcL hcR ε S hε hεone hS) α f) : | |
| 382 | - UnweightedClass (logStripData a b cL cR ha hcL hcR ε S hε hεone hS) α | |
| 383 | - (fun n (x : PressureStream.Lift P) => PressureStream.pressureMass (f n) x.2.1) := by | |
| 384 | - apply globalBandJets_unweighted_log ha hcL hcR hε hεone hS | |
| 385 | - (fun n => liftedPressureMass_contDiff (hf n) (hs n)) | |
| 386 | - exact (meanClass_globalBandJets ha hcL hcR ε S hε hεone hS hf hs hclass).liftedPressureMass | |
| 387 | - hf hs hab.le | |
| 388 | - | |
| 389 | 354 | noncomputable def insertSlow : P →L[ℝ] PressureStream.Lift P where |
| 390 | 355 | toFun p := (0, (p, (0, 0))) |
| 391 | 356 | map_add' := by intros; ext <;> simp |
+0 −161 NavierStokes/MeanRankUpdate.lean View file
| @@ -388,19 +388,6 @@ theorem slow_streamGamma_eq_desired {a b d M : ℝ} (ha : 0 < a) (hab : a < b) ( | ||
| 388 | 388 | rw [he, slow_physicalAlias_zero ha hab hd v (PressureStream.weightedSource_contDiff hf) |
| 389 | 389 | (PressureStream.weightedSource_supported hs) hm, zero_div, sub_zero] |
| 390 | 390 | |
| 391 | -/-- The radial companion is the actual axial derivative of the same stream. -/ | |
| 392 | -theorem slow_stream_divergence_zero {a b d M : ℝ} (ha : 0 < a) (hab : a < b) (hd : 0 < d) | |
| 393 | - (v : PressureStream.Plane) (w : E × PressureStream.Plane) {f : ℝ × E → ℝ} | |
| 394 | - (hf : ContDiff ℝ ∞ f) (hs : RadialAlias.RadiallySupported a b f) | |
| 395 | - (p : PressureStream.Lift E) : | |
| 396 | - PressureStream.graphDivergence (PressureStream.physicalSpeed d M) ((0 : E), v) w | |
| 397 | - (PressureStream.streamBeta w | |
| 398 | - (PressureStream.streamPotential d a b M ((0 : E), v) (slowLift f))) | |
| 399 | - (PressureStream.streamGamma (PressureStream.physicalSpeed d M) ((0 : E), v) | |
| 400 | - (PressureStream.streamPotential d a b M ((0 : E), v) (slowLift f))) p = 0 := | |
| 401 | - PressureStream.reconstructed_divergence_zero ha hab hd ((0 : E), v) w | |
| 402 | - (slowLift_contDiff hf) (slowLift_supported hs) p | |
| 403 | - | |
| 404 | 391 | end SlowStream |
| 405 | 392 | |
| 406 | 393 | section LinearConstruction |
| @@ -886,22 +873,6 @@ theorem normalizedDomain_isOpen {coord : ℝ} (hc : 0 < coord) (hc1 : coord < 1) | ||
| 886 | 873 | (isOpen_Ioo.preimage continuous_fst).mem_nhds hp.2.2 |
| 887 | 874 | exact inter_mem ht (inter_mem hq hr) |
| 888 | 875 | |
| 889 | -/-- The concrete logarithmic radial weights, restricted to one normalized | |
| 890 | -physical `q/Q` strip. The torus variables remain unrestricted. -/ | |
| 891 | -noncomputable def normalizedStripData (coord qlo qhi rlo rhi cL cR : ℝ) | |
| 892 | - (hc : 0 < coord) (hc1 : coord < 1) (hrlo : 0 < rlo) (hcL : 0 < cL) (hcR : 0 < cR) | |
| 893 | - (ε S : ℕ → ℝ) (hε : ∀ n, 0 < ε n) (hεone : ∀ n, ε n ≤ 1) (hS : ∀ n, 1 ≤ S n) : | |
| 894 | - WeightedClasses.StripData ChartPoint := | |
| 895 | - { WeightedRadialPrimitive.logStripData rlo rhi cL cR hrlo hcL hcR ε S hε hεone hS with | |
| 896 | - domain := normalizedDomain coord qlo qhi rlo rhi | |
| 897 | - isOpen_domain := normalizedDomain_isOpen hc hc1 qlo qhi rlo rhi | |
| 898 | - delta_pos := fun _ hp => WeightedRadialPrimitive.delta_pos | |
| 899 | - (WeightedRadialPrimitive.logPosition_mem hrlo hp.2.2) | |
| 900 | - zeta_smooth := (WeightedRadialPrimitive.logStripData rlo rhi cL cR hrlo hcL hcR | |
| 901 | - ε S hε hεone hS).zeta_smooth.mono (fun _ hp => hp.2.2) | |
| 902 | - zeta_nonneg := fun _ hp => (WeightedRadialPrimitive.zeta_pos cL cR | |
| 903 | - (WeightedRadialPrimitive.logPosition_mem hrlo hp.2.2)).le } | |
| 904 | - | |
| 905 | 876 | end ConcreteStrip |
| 906 | 877 | |
| 907 | 878 | section PhysicalChart |
| @@ -1028,14 +999,6 @@ theorem potential_smooth (F : SmoothFamily E) {power lo hi M : ℝ} | ||
| 1028 | 999 | PressureStream.streamPotential_contDiff hlo0 horder hp ((0 : E), v) |
| 1029 | 1000 | (slowLift_contDiff F.desired_smooth) (slowLift_supported (F.desired_supported hlo hhi)) |
| 1030 | 1001 | |
| 1031 | -theorem radial_smooth (F : SmoothFamily E) {power lo hi M : ℝ} | |
| 1032 | - (hlo0 : 0 < lo) (horder : lo < hi) (hp : 0 < power) (v : PressureStream.Plane) | |
| 1033 | - (w : E × PressureStream.Plane) | |
| 1034 | - (hlo : ∀ s, lo ≤ F.length s * F.a) (hhi : ∀ s, F.length s * F.b ≤ hi) : | |
| 1035 | - ContDiff ℝ ∞ (F.radial power lo hi M v w) := | |
| 1036 | - PressureStream.streamBeta_contDiff hlo0 horder hp ((0 : E), v) w | |
| 1037 | - (slowLift_contDiff F.desired_smooth) (slowLift_supported (F.desired_supported hlo hhi)) | |
| 1038 | - | |
| 1039 | 1002 | theorem axial_exact (F : SmoothFamily E) {power lo hi M : ℝ} |
| 1040 | 1003 | (hlo0 : 0 < lo) (horder : lo < hi) (hp : 0 < power) (v : PressureStream.Plane) |
| 1041 | 1004 | (hlo : ∀ s, lo ≤ F.length s * F.a) (hhi : ∀ s, F.length s * F.b ≤ hi) |
| @@ -1043,15 +1006,6 @@ theorem axial_exact (F : SmoothFamily E) {power lo hi M : ℝ} | ||
| 1043 | 1006 | slow_streamGamma_eq_desired hlo0 horder hp v F.desired_smooth (F.desired_supported hlo hhi) |
| 1044 | 1007 | F.desired_mass_zero p |
| 1045 | 1008 | |
| 1046 | -theorem divergence_zero (F : SmoothFamily E) {power lo hi M : ℝ} | |
| 1047 | - (hlo0 : 0 < lo) (horder : lo < hi) (hp : 0 < power) (v : PressureStream.Plane) | |
| 1048 | - (w : E × PressureStream.Plane) | |
| 1049 | - (hlo : ∀ s, lo ≤ F.length s * F.a) (hhi : ∀ s, F.length s * F.b ≤ hi) | |
| 1050 | - (p : PressureStream.Lift E) : | |
| 1051 | - PressureStream.graphDivergence (PressureStream.physicalSpeed power M) ((0 : E), v) w | |
| 1052 | - (F.radial power lo hi M v w) (F.axial power lo hi M v) p = 0 := | |
| 1053 | - slow_stream_divergence_zero hlo0 horder hp v w F.desired_smooth (F.desired_supported hlo hhi) p | |
| 1054 | - | |
| 1055 | 1009 | end SmoothFamily |
| 1056 | 1010 | |
| 1057 | 1011 | theorem slow_streamPotential_eq_primitive {lo hi power M : ℝ} |
| @@ -1137,24 +1091,6 @@ theorem scaledPrimitive_zero_of_support {l u r : ℝ} (hl : 0 < l) (_ : l < u) | ||
| 1137 | 1091 | exact ⟨hl.trans hsu.1, hsu.2.le.trans hru⟩ |
| 1138 | 1092 | rw [he, hm, zero_div] |
| 1139 | 1093 | |
| 1140 | -theorem model_compactIntegral_smooth {S : Set ModelPoint} (hS : IsOpen S) | |
| 1141 | - {G : ModelPoint → ℝ → ℝ} | |
| 1142 | - (hG : ∀ y ∈ S, ∀ t ∈ Icc (0 : ℝ) 1, | |
| 1143 | - ContDiffAt ℝ ∞ (fun z : ModelPoint × ℝ => G z.1 z.2) (y, t)) : | |
| 1144 | - ContDiffOn ℝ ∞ (fun y => ∫ t in (0 : ℝ)..1, G y t) S := by | |
| 1145 | - apply SmoothParameterIntegral.contDiffOn_intervalIntegral_of_continuous_jet hS zero_le_one | |
| 1146 | - · intro t ht y hy | |
| 1147 | - exact ((hG y hy t ht).comp y (contDiffAt_id.prodMk contDiffAt_const)).contDiffWithinAt | |
| 1148 | - · intro j | |
| 1149 | - rintro ⟨y, t⟩ ⟨hy, ht⟩ | |
| 1150 | - have hflip : ContDiffAt ℝ ∞ (Function.uncurry (fun t y => G y t)) (t, y) := | |
| 1151 | - (hG y hy t ht).comp (t, y) (contDiffAt_snd.prodMk contDiffAt_fst) | |
| 1152 | - have h := ParametricFlatFactor.contDiffAt_partial_iteratedFDeriv (fun t y => G y t) j t y hflip | |
| 1153 | - exact ((h.comp (y, t) (contDiffAt_snd.prodMk contDiffAt_fst)).continuousAt).continuousWithinAt | |
| 1154 | - | |
| 1155 | -noncomputable def primitiveModel (coord A B lam a b : ℝ) (d : Debt) (y : ModelPoint) : ℝ := | |
| 1156 | - scaledPrimitive (fun r => axialModel coord A B lam a b d (y.1, r, y.2.2)) y.2.1 | |
| 1157 | - | |
| 1158 | 1094 | private theorem scaled_integrand_contDiffAt {g : ModelPoint → ℝ} (y : ModelPoint) (t : ℝ) |
| 1159 | 1095 | (hg : ContDiffAt ℝ ∞ g (y.1, y.2.1 * t, y.2.2)) : |
| 1160 | 1096 | ContDiffAt ℝ ∞ (fun z : ModelPoint × ℝ => z.2 * g (z.1.1, z.1.2.1 * z.2, z.1.2.2)) (y, t) := by |
| @@ -1164,107 +1100,10 @@ private theorem scaled_integrand_contDiffAt {g : ModelPoint → ℝ} (y : ModelP | ||
| 1164 | 1100 | ((contDiffAt_fst.snd.fst.mul contDiffAt_snd).prodMk contDiffAt_fst.snd.snd) |
| 1165 | 1101 | exact contDiffAt_snd.mul (hg.comp (y, t) hmap) |
| 1166 | 1102 | |
| 1167 | -theorem primitiveModel_contDiffOn (coord A B lam a b : ℝ) (hB : B ≠ 0) (d : Debt) : | |
| 1168 | - ContDiffOn ℝ ∞ (primitiveModel coord A B lam a b d) PhysicalCoordinateBounds.positiveTime := by | |
| 1169 | - have hG : ∀ y ∈ PhysicalCoordinateBounds.positiveTime, ∀ t ∈ Icc (0 : ℝ) 1, | |
| 1170 | - ContDiffAt ℝ ∞ (fun z : ModelPoint × ℝ => | |
| 1171 | - z.2 * axialModel coord A B lam a b d (z.1.1, z.1.2.1 * z.2, z.1.2.2)) (y, t) := by | |
| 1172 | - intro y hy t _ht | |
| 1173 | - have hh : ContDiffAt ℝ ∞ (axialModel coord A B lam a b d) (y.1, y.2.1 * t, y.2.2) := | |
| 1174 | - (axialModel_contDiffOn coord A B lam a b hB d).contDiffAt | |
| 1175 | - (PhysicalCoordinateBounds.positiveTime_isOpen.mem_nhds | |
| 1176 | - (show (y.1, y.2.1 * t, y.2.2) ∈ PhysicalCoordinateBounds.positiveTime from hy)) | |
| 1177 | - exact scaled_integrand_contDiffAt y t hh | |
| 1178 | - exact ((contDiff_fst.comp contDiff_snd).contDiffOn).mul | |
| 1179 | - (model_compactIntegral_smooth PhysicalCoordinateBounds.positiveTime_isOpen hG) | |
| 1180 | - | |
| 1181 | -theorem primitiveModel_zero {coord A B lam a b : ℝ} (hlam : 0 < lam) (hB : B ≠ 0) | |
| 1182 | - (ha : 0 < a) (hab : a < b) (d : Debt) {y : ModelPoint} (hy : 0 < y.1) | |
| 1183 | - (hr : y.2.1 ∉ Ioo (Real.sqrt y.1 * a) (Real.sqrt y.1 * b)) : | |
| 1184 | - primitiveModel coord A B lam a b d y = 0 := by | |
| 1185 | - have hl := Real.sqrt_pos.mpr hy | |
| 1186 | - change scaledPrimitive (desiredAxialIncrement lam (modelAmplitude coord B y) a b | |
| 1187 | - (Real.sqrt y.1) (modelVelocity A y) d) y.2.1 = 0 | |
| 1188 | - have hs := desiredAxialIncrement_tsupport lam (modelAmplitude coord B y) a b | |
| 1189 | - (modelVelocity A y) hl hab d | |
| 1190 | - have hm := (physical_five_rows (C := modelAmplitude coord B y) | |
| 1191 | - (ell := Real.sqrt y.1) (U := modelVelocity A y) hlam | |
| 1192 | - (shapedAmplitude_ne_zero hB (y.2.2 / y.1 ^ PhysicalCoordinateBounds.D coord)) ha hab hl | |
| 1193 | - (Real.rpow_pos_of_pos hy (-A)).ne' d).2.1 | |
| 1194 | - exact scaledPrimitive_zero_of_support (mul_pos hl ha) (mul_lt_mul_of_pos_left hab hl) hs hm hr | |
| 1195 | - | |
| 1196 | -theorem primitive_kernel_zero {coord A B lam a b qlo qhi : ℝ} | |
| 1197 | - (hlam : 0 < lam) (hB : B ≠ 0) (ha : 0 < a) (hab : a < b) | |
| 1198 | - (hqlo : 0 < qlo) (d : Debt) {p : ChartPoint} (hq : chartQ coord p ∈ Icc qlo qhi) | |
| 1199 | - (hp : p ∉ supportBand a b qlo qhi) : | |
| 1200 | - chartKernel coord (primitiveModel coord A B lam a b d) p = 0 := by | |
| 1201 | - apply primitiveModel_zero hlam hB ha hab d (hqlo.trans_le hq.1) | |
| 1202 | - intro hs | |
| 1203 | - exact hp ⟨(mul_le_mul_of_nonneg_right (Real.sqrt_le_sqrt hq.1) ha.le).trans hs.1.le, | |
| 1204 | - hs.2.le.trans (mul_le_mul_of_nonneg_right (Real.sqrt_le_sqrt hq.2) (ha.trans hab).le)⟩ | |
| 1205 | - | |
| 1206 | 1103 | end PrimitiveKernels |
| 1207 | 1104 | |
| 1208 | 1105 | section PrimitiveClass |
| 1209 | 1106 | |
| 1210 | -theorem meanClass_sum_basis {D : Type*} [NormedAddCommGroup D] [NormedSpace ℝ D] | |
| 1211 | - (s : WeightedClasses.StripData D) {α : ℝ} {d : ℕ → D → Debt} | |
| 1212 | - (hd : WeightedClasses.UnweightedClass s α d) (k : Fin 3 → D → ℝ) | |
| 1213 | - (hk : ∀ i, WeightedClasses.MeanClass s 0 (fun _ => k i)) : | |
| 1214 | - WeightedClasses.MeanClass s α (fun n p => ∑ i : Fin 3, d n p i * k i p) := by | |
| 1215 | - have ht (i : Fin 3) : WeightedClasses.MemClass s (fun _ p => s.zeta p) α | |
| 1216 | - (fun n p => d n p i * k i p) := by | |
| 1217 | - have hdi := hd.map (ContinuousLinearMap.proj i) | |
| 1218 | - have h := hdi.mul (hk i) | |
| 1219 | - simp only [add_zero, one_mul] at h | |
| 1220 | - exact h | |
| 1221 | - exact WeightedClasses.MemClass.sum Finset.univ _ | |
| 1222 | - (fun _ p hp => s.zeta_nonneg p hp) (fun i _ => ht i) | |
| 1223 | - | |
| 1224 | -noncomputable def chartPotential (coord A B lam a b : ℝ) (d : ChartPoint → Debt) : ChartPoint → ℝ := | |
| 1225 | - fun p => ∑ i : Fin 3, d p i * chartKernel coord (primitiveModel coord A B lam a b (Pi.single i 1)) p | |
| 1226 | - | |
| 1227 | -noncomputable def chartStreamRadial (coord A B lam a b : ℝ) | |
| 1228 | - (w : PressureStream.Plane × PressureStream.Plane) (d : ChartPoint → Debt) : ChartPoint → ℝ := | |
| 1229 | - PressureStream.streamBeta w (chartPotential coord A B lam a b d) | |
| 1230 | - | |
| 1231 | -theorem primitive_kernel_meanClass (s : WeightedClasses.StripData ChartPoint) | |
| 1232 | - {coord A B lam a b qlo qhi rlo rhi : ℝ} (hc : 0 < coord) (hc1 : coord < 1) | |
| 1233 | - (hlam : 0 < lam) (ha : 0 < a) (hab : a < b) (hB : B ≠ 0) (hqlo : 0 < qlo) | |
| 1234 | - (hT : ∀ p ∈ s.domain, chartInput p ∈ PhysicalCoordinateBounds.positiveTime) | |
| 1235 | - (hq : ∀ p ∈ s.domain, chartQ coord p ∈ Icc qlo qhi) | |
| 1236 | - (hR : ∀ p ∈ s.domain, p.1 ∈ Icc rlo rhi) | |
| 1237 | - (hz : ∃ δ : ℝ, 0 < δ ∧ ∀ p ∈ s.domain, p ∈ supportBand a b qlo qhi → δ ≤ s.zeta p) | |
| 1238 | - (d : Debt) : | |
| 1239 | - WeightedClasses.MeanClass s 0 (fun _ => chartKernel coord (primitiveModel coord A B lam a b d)) := by | |
| 1240 | - exact meanClass_of_interior_support s _ | |
| 1241 | - (chartKernel_contDiffOn hc hc1 hT (primitiveModel_contDiffOn _ _ _ _ _ _ hB d)) | |
| 1242 | - (chartKernel_finiteJetBounds hc hc1 hqlo hT hq hR (primitiveModel_contDiffOn _ _ _ _ _ _ hB d)) | |
| 1243 | - (supportBand_isClosed a b qlo qhi) | |
| 1244 | - (fun p hp hnot => primitive_kernel_zero hlam hB ha hab hqlo d (hq p hp) hnot) hz | |
| 1245 | - | |
| 1246 | -/-- The primitive and its actual slow derivative satisfy the same all-jet | |
| 1247 | -weighted class. This proves the radial component bound as well. -/ | |
| 1248 | -theorem rank_stream_meanClass (s : WeightedClasses.StripData ChartPoint) | |
| 1249 | - {coord A B lam a b qlo qhi rlo rhi α : ℝ} (hc : 0 < coord) (hc1 : coord < 1) | |
| 1250 | - (hlam : 0 < lam) (ha : 0 < a) (hab : a < b) (hB : B ≠ 0) (hqlo : 0 < qlo) | |
| 1251 | - (hT : ∀ p ∈ s.domain, chartInput p ∈ PhysicalCoordinateBounds.positiveTime) | |
| 1252 | - (hq : ∀ p ∈ s.domain, chartQ coord p ∈ Icc qlo qhi) | |
| 1253 | - (hR : ∀ p ∈ s.domain, p.1 ∈ Icc rlo rhi) | |
| 1254 | - (hz : ∃ δ : ℝ, 0 < δ ∧ ∀ p ∈ s.domain, p ∈ supportBand a b qlo qhi → δ ≤ s.zeta p) | |
| 1255 | - (w : PressureStream.Plane × PressureStream.Plane) | |
| 1256 | - {d : ℕ → ChartPoint → Debt} (hd : WeightedClasses.UnweightedClass s α d) : | |
| 1257 | - WeightedClasses.MeanClass s α (fun n => chartPotential coord A B lam a b (d n)) ∧ | |
| 1258 | - WeightedClasses.MeanClass s α (fun n => chartStreamRadial coord A B lam a b w (d n)) := by | |
| 1259 | - have hpot := meanClass_sum_basis s hd | |
| 1260 | - (fun i => chartKernel coord (primitiveModel coord A B lam a b (Pi.single i 1))) | |
| 1261 | - (fun i => primitive_kernel_meanClass s hc hc1 hlam ha hab hB hqlo hT hq hR hz (Pi.single i 1)) | |
| 1262 | - refine ⟨hpot, ?_⟩ | |
| 1263 | - have hder := (hpot.directional (0, w)).map (-ContinuousLinearMap.id ℝ ℝ) | |
| 1264 | - simp only [chartStreamRadial, | |
| 1265 | - _root_.neg_apply, ContinuousLinearMap.id_apply] at hder ⊢ | |
| 1266 | - exact hder | |
| 1267 | - | |
| 1268 | 1107 | end PrimitiveClass |
| 1269 | 1108 | |
| 1270 | 1109 | section ExactPrimitive |
+0 −13 NavierStokes/MeanResidual.lean View file
| @@ -938,19 +938,6 @@ theorem exact_mean_balances {b m o : Components} {p pb pm : Scalar} | ||
| 938 | 938 | reynoldsAxial_total_sub hb hm ho hpb hpm hbi hmi hz hpavg Tz q, |
| 939 | 939 | reynoldsRadial_total_sub hb hm ho hpb hpm hbi hmi hz hpavg q⟩ |
| 940 | 940 | |
| 941 | -/-- The perturbation pressure is defined from its actual angular mean. -/ | |
| 942 | -noncomputable def meanPressure (p pb : Scalar) : Scalar := fun q => average p q - pb q | |
| 943 | - | |
| 944 | -def Represents (u : VelocityField) (w : Components) : Prop := | |
| 945 | - ∀ q : SpaceTime, u (q.1, CylindricalResidual.chart q.2) = | |
| 946 | - CylindricalResidual.frame (q.2 1) (velocity w q) | |
| 947 | - | |
| 948 | -theorem Represents.components {u : VelocityField} {w : Components} (h : Represents u w) : | |
| 949 | - CylindricalResidual.velocityComponents u = velocity w := by | |
| 950 | - funext q | |
| 951 | - change CylindricalResidual.frame (-(q.2 1)) (u (q.1, CylindricalResidual.chart q.2)) = velocity w q | |
| 952 | - rw [h q, CylindricalResidual.frame_inverse] | |
| 953 | - | |
| 954 | 941 | /-- Substitution of (24) retains, rather than discards, its full base error. -/ |
| 955 | 942 | theorem retain_base_error {Rtheta Rz Rr Btheta Bz Br Ttheta Tz Etheta Ez Drp gr |
| 956 | 943 | ftheta fz fr : ℝ} |
+21 −0 routes/s1-ns-mean-8/README.md added View file
| @@ -0,0 +1,21 @@ | ||
| 1 | +--- | |
| 2 | +issue: 10 | |
| 3 | +status: working | |
| 4 | +--- | |
| 5 | +# s1-ns-mean-8 | |
| 6 | + | |
| 7 | +S-1, the `NavierStokes/Mean*` family: deletes 34 declarations that nothing uses, 367 lines in | |
| 8 | +`MeanBoundsReindex.lean`, `MeanChartCompatibility.lean`, `MeanIncrementBounds.lean`, | |
| 9 | +`MeanMomentBounds.lean`, `MeanRankUpdate.lean` and `MeanResidual.lean`. The diff is deletions only; no | |
| 10 | +statement or proof that stays is changed, and no deleted docstring names the paper. | |
| 11 | + | |
| 12 | +Checked before deleting: `git grep -n -w` finds no user of any of the 34 short names outside the | |
| 13 | +deletion, except three names that other modules declare and use themselves — | |
| 14 | +`VariableGaugeMean.meanClass_pressureSource`, `VariableGaugeMean.meanClass_meanPressure` and | |
| 15 | +`VariableGaugeMean.meanClass_meanPressure_change` (called in `GaugeAliasDecay.lean`, | |
| 16 | +`CorrectionInitialization.lean` and `SignedMeanGain.lean`), whose argument order is theirs, not the | |
| 17 | +deleted ones'. | |
| 18 | + | |
| 19 | +## Next | |
| 20 | + | |
| 21 | +Push, let `challenge` and `build` answer, and open the pull request against `main` as `Part of #10`. | |