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/Mean): delete 19 declarations nothing uses
Browse filesCo-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
main maintainer-statement s1-euler-all-3 s1-euler-canonical-8 s1-euler-correction-3 s1-euler-cylinder-3 s1-euler-cylinder-8 s1-euler-dirichlet-6 s1-euler-euler-2 s1-euler-euler-6 s1-euler-exact-3 s1-euler-finite-3 s1-euler-hilbert-6 s1-euler-inviscid-8 s1-euler-lp-3 s1-euler-mean-8 s1-euler-ordinary-6 s1-euler-packet-3 s1-euler-packet-8 s1-euler-source-6 s1-euler-transverse-6 s1-euler-volume-3 s1-ns-actual-3 s1-ns-actual-8 s1-ns-annular-6 s1-ns-annular-8 s1-ns-assembled-7 s1-ns-axisymmetric-8 s1-ns-base-2 s1-ns-base-6 s1-ns-base-8 s1-ns-borel-3 s1-ns-common-6 s1-ns-common-8 s1-ns-constructed-3 s1-ns-constructed-8 s1-ns-copy-6 s1-ns-copy-8 s1-ns-correction-3 s1-ns-curl-6 s1-ns-current-3 s1-ns-cycle-3 s1-ns-edge-6 s1-ns-error-3 s1-ns-even-3 s1-ns-final-6 s1-ns-first-3 s1-ns-five-8 s1-ns-flat-3 s1-ns-flat-8 s1-ns-fourier-3 s1-ns-graph-6 s1-ns-harmonic-6 s1-ns-harmonic-7 s1-ns-heat-3 s1-ns-joint-3 s1-ns-joint-8 s1-ns-label-6 s1-ns-linear-6 s1-ns-linear-7 s1-ns-localized-1 s1-ns-localized-6 s1-ns-mean-1 s1-ns-mean-2 s1-ns-mean-8 s1-ns-modulated-3 s1-ns-moment-6 s1-ns-offplane-6 s1-ns-parametric-6 s1-ns-particular-2 s1-ns-particular-6 s1-ns-particular-8 s1-ns-partitioned-6 s1-ns-partitioned-8 s1-ns-periodic-3 s1-ns-periodic-8 s1-ns-periodized-6 s1-ns-periodized-8 s1-ns-physical-3 s1-ns-physical-8 s1-ns-positive-8 s1-ns-prepared-6 s1-ns-primary-2 s1-ns-primary-6 s1-ns-primary-8 s1-ns-reserved-8 s1-ns-residual-3 s1-ns-scaled-3 s1-ns-signed-3 s1-ns-signed-8 s1-ns-slow-6 s1-ns-smooth-3 s1-ns-smooth-8 s1-ns-spacetime-3 s1-ns-state-8 s1-ns-temporal-3 s1-ns-temporal-8 s1-ns-terminal-6 s1-ns-torus-3 s1-ns-uniform-8 s1-ns-variable-3 s1-ns-viscous-6 s1-ns-wave-3 s1-ns-wave-8 s1-ns-weighted-3 s1-ns-weighted-8 s1-ns-whole-3 s1-ns-within-6 s2-euler-heat-1
Checks
build Program · lake build and Comparator
Details
challenge Program · challenge files and build config
Details
ci/docs
Details
+0 −64 NavierStokes/MeanChartCompatibility.lean View file
| @@ -330,11 +330,6 @@ theorem coverPull_smooth (l : ℝ) (P : S →L[ℝ] T) (k : ℕ) (u : ℝ) | ||
| 330 | 330 | {f : PressureStream.Lift T → ℝ} (hf : ContDiff ℝ ∞ f) : |
| 331 | 331 | ContDiff ℝ ∞ (coverPull l P k u f) := pull_smooth _ _ _ hf |
| 332 | 332 | |
| 333 | -theorem coverPull_periodic (l : ℝ) (P : S →L[ℝ] T) (k : ℕ) (u : ℝ) | |
| 334 | - {f : PressureStream.Lift T → ℝ} (hp : PressureStream.TorusPeriodicLift f) : | |
| 335 | - PressureStream.TorusPeriodicLift (coverPull l P k u f) := | |
| 336 | - TemporalMeanUpdate.pullbackCover_periodic k (parameterPull_periodic l P u hp) | |
| 337 | - | |
| 338 | 333 | theorem torusAverage_parameterPull (l : ℝ) (P : S →L[ℝ] T) (u : ℝ) |
| 339 | 334 | (f : PressureStream.Lift T → ℝ) (p : ℝ × S) : |
| 340 | 335 | PressureStream.torusAverage (parameterPull l P u f) p = |
| @@ -956,13 +951,6 @@ noncomputable def commonTemporalFields (r : ℕ → CorrectionState.Reconstructi | ||
| 956 | 951 | (PressureStream.physicalSpeed (r n).exponent ((r n).frequency n)) |
| 957 | 952 | ((0 : S), (r n).radialDirection) (commonTemporalPotential r h index fz n) |
| 958 | 953 | |
| 959 | -noncomputable def commonTemporalAlias (r : ℕ → CorrectionState.ReconstructionData) | |
| 960 | - (h : ℝ) (index : ℕ → ℕ) (f : ℕ → PressureStream.Lift S → ℝ) (n : ℕ) : | |
| 961 | - PressureStream.Lift S → ℝ := | |
| 962 | - PressureStream.divideRadius (RadialPullback.physicalAlias (r n).exponent (r n).inner | |
| 963 | - (r n).outer ((r n).frequency n) ((0 : S), (r n).radialDirection) | |
| 964 | - (PressureStream.weightedSource (temporalAtIndex h n (index n) (f n)))) | |
| 965 | - | |
| 966 | 954 | noncomputable def commonTemporalIncrement (r : ℕ → CorrectionState.ReconstructionData) |
| 967 | 955 | (h : ℝ) (index : ℕ → ℕ) (axial : S × Plane) |
| 968 | 956 | (c : CorrectionState.Context (PressureStream.Lift S)) |
| @@ -997,58 +985,6 @@ theorem commonTemporalPotential_supported (r : ℕ → CorrectionState.Reconstru | ||
| 997 | 985 | PressureStream.streamPotential_supported ha (r n).inner_lt_outer hd _ |
| 998 | 986 | (temporalAtIndex_smooth h n (index n) hf hp) (temporalAtIndex_supported h n (index n) hs) |
| 999 | 987 | |
| 1000 | -theorem commonTemporalAlias_smooth (r : ℕ → CorrectionState.ReconstructionData) | |
| 1001 | - (h : ℝ) (index : ℕ → ℕ) (f : ℕ → PressureStream.Lift S → ℝ) (n : ℕ) | |
| 1002 | - (ha : 0 < (r n).inner) (hd : 0 < (r n).exponent) | |
| 1003 | - (hf : ContDiff ℝ ∞ (f n)) (hp : PressureStream.TorusPeriodicLift (f n)) | |
| 1004 | - (hs : RadialAlias.RadiallySupported (r n).inner (r n).outer (f n)) : | |
| 1005 | - ContDiff ℝ ∞ (commonTemporalAlias r h index f n) := | |
| 1006 | - PressureStream.divideRadius_contDiff ha | |
| 1007 | - (RadialPullback.physicalAlias_contDiff ha (r n).inner_lt_outer hd | |
| 1008 | - (PressureStream.weightedSource_contDiff (temporalAtIndex_smooth h n (index n) hf hp)) | |
| 1009 | - (PressureStream.weightedSource_supported (temporalAtIndex_supported h n (index n) hs)) | |
| 1010 | - ((r n).frequency n) ((0 : S), (r n).radialDirection)) | |
| 1011 | - (RadialPullback.physicalAlias_supported ha (r n).inner_lt_outer hd _ _ _) | |
| 1012 | - | |
| 1013 | -theorem commonTemporalFields_axial_eq (r : ℕ → CorrectionState.ReconstructionData) | |
| 1014 | - (h : ℝ) (index : ℕ → ℕ) (epsilon : ℕ → ℝ) (axial : S × Plane) | |
| 1015 | - (fθ fz : ℕ → PressureStream.Lift S → ℝ) (n : ℕ) | |
| 1016 | - (ha : 0 < (r n).inner) (hd : 0 < (r n).exponent) | |
| 1017 | - (hf : ContDiff ℝ ∞ (fz n)) (hp : PressureStream.TorusPeriodicLift (fz n)) | |
| 1018 | - (hs : RadialAlias.RadiallySupported (r n).inner (r n).outer (fz n)) : | |
| 1019 | - (commonTemporalFields r h index epsilon axial fθ fz).axial n = | |
| 1020 | - fun z => temporalAtIndex h n (index n) (fz n) z - commonTemporalAlias r h index fz n z := by | |
| 1021 | - funext z | |
| 1022 | - exact PressureStream.streamGamma_eq_desired_sub_alias_global ha (r n).inner_lt_outer hd _ | |
| 1023 | - (temporalAtIndex_smooth h n (index n) hf hp) (temporalAtIndex_supported h n (index n) hs) z | |
| 1024 | - | |
| 1025 | -theorem commonTemporalFields_fast_cancellation (r : ℕ → CorrectionState.ReconstructionData) | |
| 1026 | - (h : ℝ) (index : ℕ → ℕ) (epsilon : ℕ → ℝ) (axial : S × Plane) | |
| 1027 | - (fθ fz : ℕ → PressureStream.Lift S → ℝ) (n : ℕ) | |
| 1028 | - (ha : 0 < (r n).inner) (hd : 0 < (r n).exponent) | |
| 1029 | - (hθ : ContDiff ℝ ∞ (fθ n)) (hz : ContDiff ℝ ∞ (fz n)) | |
| 1030 | - (hpθ : PressureStream.TorusPeriodicLift (fθ n)) (hpz : PressureStream.TorusPeriodicLift (fz n)) | |
| 1031 | - (hsz : RadialAlias.RadiallySupported (r n).inner (r n).outer (fz n)) | |
| 1032 | - (z : PressureStream.Lift S) : | |
| 1033 | - fastAtIndex h n (index n) ((commonTemporalFields r h index epsilon axial fθ fz).angular n) z + | |
| 1034 | - TemporalMeanUpdate.centered (fθ n) z = 0 ∧ | |
| 1035 | - fastAtIndex h n (index n) ((commonTemporalFields r h index epsilon axial fθ fz).axial n) z + | |
| 1036 | - TemporalMeanUpdate.centered (fz n) z = | |
| 1037 | - -fastAtIndex h n (index n) (commonTemporalAlias r h index fz n) z := by | |
| 1038 | - constructor | |
| 1039 | - · exact add_eq_zero_iff_eq_neg.mpr (temporalAtIndex_fast_cancellation h n (index n) hθ hpθ z) | |
| 1040 | - · rw [commonTemporalFields_axial_eq r h index epsilon axial fθ fz n ha hd hz hpz hsz] | |
| 1041 | - have hf := (temporalAtIndex_smooth h n (index n) hz hpz).differentiable (by simp) | |
| 1042 | - have hg := (commonTemporalAlias_smooth r h index fz n ha hd hz hpz hsz).differentiable (by simp) | |
| 1043 | - have he : fastAtIndex h n (index n) | |
| 1044 | - (fun z => temporalAtIndex h n (index n) (fz n) z - commonTemporalAlias r h index fz n z) z = | |
| 1045 | - fastAtIndex h n (index n) (temporalAtIndex h n (index n) (fz n)) z - | |
| 1046 | - fastAtIndex h n (index n) (commonTemporalAlias r h index fz n) z := by | |
| 1047 | - simp only [fastAtIndex, PressureStream.graphDz, fderiv_fun_sub (hf z) (hg z), | |
| 1048 | - _root_.sub_apply, mul_sub] | |
| 1049 | - rw [he, temporalAtIndex_fast_cancellation h n (index n) hz hpz z] | |
| 1050 | - ring | |
| 1051 | - | |
| 1052 | 988 | end CommonTemporalReconstruction |
| 1053 | 989 | |
| 1054 | 990 | section PhysicalTemporalFields |
+0 −17 NavierStokes/MeanMomentBounds.lean View file
| @@ -495,23 +495,6 @@ theorem meanClass_radialMoment | ||
| 495 | 495 | (meanClass_radialWeighted ha hcL hcR ε S hε hεone hS hclass k) |
| 496 | 496 | simpa only [pressureMass_radialWeighted_fun] using h |
| 497 | 497 | |
| 498 | -theorem meanClass_radialMoment_lift | |
| 499 | - {a b cL cR : ℝ} (ha : 0 < a) (hab : a < b) (hcL : 0 < cL) (hcR : 0 < cR) | |
| 500 | - (ε S : ℕ → ℝ) (hε : ∀ n, 0 < ε n) (hεone : ∀ n, ε n ≤ 1) | |
| 501 | - (hS : ∀ n, 1 ≤ S n) {α : ℝ} {f : ℕ → PressureStream.Lift P → ℝ} | |
| 502 | - (hf : ∀ n, ContDiff ℝ ∞ (f n)) | |
| 503 | - (hs : ∀ n, RadialAlias.RadiallySupported a b (f n)) | |
| 504 | - (hclass : MeanClass (logStripData a b cL cR ha hcL hcR ε S hε hεone hS) α f) | |
| 505 | - (k : ℕ) : | |
| 506 | - UnweightedClass (logStripData a b cL cR ha hcL hcR ε S hε hεone hS) α | |
| 507 | - (fun n (x : PressureStream.Lift P) => IntegratedMeanBalances.radialMoment k | |
| 508 | - (PressureStream.torusAverage (f n)) x.2.1) := by | |
| 509 | - have h := meanClass_pressureMass_lift ha hab hcL hcR ε S hε hεone hS | |
| 510 | - (fun n => radialWeighted_contDiff k (hf n)) | |
| 511 | - (fun n => radialWeighted_supported k (hs n)) | |
| 512 | - (meanClass_radialWeighted ha hcL hcR ε S hε hεone hS hclass k) | |
| 513 | - simpa only [pressureMass_radialWeighted] using h | |
| 514 | - | |
| 515 | 498 | end WeightedMoments |
| 516 | 499 | |
| 517 | 500 | end |
+0 −194 NavierStokes/MeanRankUpdate.lean View file
| @@ -1657,13 +1657,6 @@ theorem concrete_rank_stream_meanClass (coord qlo qhi rlo rhi cL cR A B lam a b | ||
| 1657 | 1657 | (normalizedStrip_weight_margin coord qlo qhi rlo rhi cL cR a b hc hc1 hrlo hcL hcR |
| 1658 | 1658 | ε S hε hεone hS hleft hright) w hd |
| 1659 | 1659 | |
| 1660 | -theorem radial_physical_scale_gain (s : WeightedClasses.StripData ChartPoint) {α : ℝ} | |
| 1661 | - {β : ℕ → ChartPoint → ℝ} (hβ : WeightedClasses.MeanClass s α β) : | |
| 1662 | - WeightedClasses.MeanClass s (α + 1) (fun n p => s.epsilon n * β n p) := by | |
| 1663 | - have he : WeightedClasses.BandBound s 1 (fun n => s.epsilon n) := by | |
| 1664 | - simpa only [Real.rpow_one] using WeightedClasses.bandBound_rpow s 1 | |
| 1665 | - simpa only [smul_eq_mul] using hβ.band_smul he | |
| 1666 | - | |
| 1667 | 1660 | end PrimitiveClass |
| 1668 | 1661 | |
| 1669 | 1662 | section ExactPrimitive |
| @@ -1684,41 +1677,6 @@ theorem scaledPrimitive_zero_below {l r : ℝ} (hl : 0 ≤ l) {f : ℝ → ℝ} | ||
| 1684 | 1677 | _ = 0 := by simp |
| 1685 | 1678 | rw [he, mul_zero] |
| 1686 | 1679 | |
| 1687 | -theorem scaledPrimitive_sum (f : Fin 3 → ℝ → ℝ) (hf : ∀ i, Continuous (f i)) (d : Debt) (r : ℝ) : | |
| 1688 | - scaledPrimitive (fun x => ∑ i : Fin 3, d i * f i x) r = | |
| 1689 | - ∑ i : Fin 3, d i * scaledPrimitive (f i) r := by | |
| 1690 | - unfold scaledPrimitive | |
| 1691 | - have he : (fun t => t * ∑ i : Fin 3, d i * f i (r * t)) = | |
| 1692 | - (fun t => ∑ i : Fin 3, d i * (t * f i (r * t))) := by | |
| 1693 | - funext t | |
| 1694 | - rw [Finset.mul_sum] | |
| 1695 | - apply Finset.sum_congr rfl | |
| 1696 | - intro i _ | |
| 1697 | - ring | |
| 1698 | - rw [he, intervalIntegral.integral_finsetSum] | |
| 1699 | - · rw [Finset.mul_sum] | |
| 1700 | - apply Finset.sum_congr rfl | |
| 1701 | - intro i _ | |
| 1702 | - rw [intervalIntegral.integral_const_mul] | |
| 1703 | - ring | |
| 1704 | - · intro i _ | |
| 1705 | - exact (continuous_const.mul (continuous_id.mul ((hf i).comp | |
| 1706 | - (continuous_const.mul continuous_id)))).intervalIntegrable 0 1 | |
| 1707 | - | |
| 1708 | -theorem chartPotential_eq_scaledPrimitive (coord A B lam a b : ℝ) (d : ChartPoint → Debt) | |
| 1709 | - (p : ChartPoint) : | |
| 1710 | - chartPotential coord A B lam a b d p = | |
| 1711 | - scaledPrimitive (desiredAxialIncrement lam (shapedAmplitude B (chartEta coord p)) a b | |
| 1712 | - (Real.sqrt (chartQ coord p)) (chartQ coord p ^ (-A)) (d p)) p.1 := by | |
| 1713 | - have he : desiredAxialIncrement lam (shapedAmplitude B (chartEta coord p)) a b | |
| 1714 | - (Real.sqrt (chartQ coord p)) (chartQ coord p ^ (-A)) (d p) = | |
| 1715 | - (fun r => ∑ i : Fin 3, d p i * desiredAxialIncrement lam (shapedAmplitude B (chartEta coord p)) a b | |
| 1716 | - (Real.sqrt (chartQ coord p)) (chartQ coord p ^ (-A)) (Pi.single i 1) r) := by | |
| 1717 | - funext r | |
| 1718 | - exact desiredAxialIncrement_eq_sum _ _ _ _ _ _ _ _ | |
| 1719 | - rw [he, scaledPrimitive_sum _ (fun i => (desiredAxialIncrement_smooth _ _ _ _ _ _ _).continuous)] | |
| 1720 | - rfl | |
| 1721 | - | |
| 1722 | 1680 | variable {E : Type} [NormedAddCommGroup E] [NormedSpace ℝ E] |
| 1723 | 1681 | |
| 1724 | 1682 | /-- The stream is the ordinary zero-axis primitive for a slow zero-mass |
| @@ -1790,74 +1748,6 @@ end ExactPrimitive | ||
| 1790 | 1748 | |
| 1791 | 1749 | section ActualChartStream |
| 1792 | 1750 | |
| 1793 | -noncomputable def slowChartDesired (coord A B lam a b : ℝ) (d : PressureStream.Plane → Debt) : | |
| 1794 | - ℝ × PressureStream.Plane → ℝ := | |
| 1795 | - fun p => chartAxial coord A B lam a b (fun z => d z.2.1) (p.1, p.2, 0) | |
| 1796 | - | |
| 1797 | -noncomputable def actualChartPotential (coord A B lam a b power lo hi M : ℝ) | |
| 1798 | - (v : PressureStream.Plane) (d : PressureStream.Plane → Debt) : ChartPoint → ℝ := | |
| 1799 | - PressureStream.streamPotential power lo hi M ((0 : PressureStream.Plane), v) | |
| 1800 | - (slowLift (slowChartDesired coord A B lam a b d)) | |
| 1801 | - | |
| 1802 | -noncomputable def actualChartRadial (coord A B lam a b power lo hi M : ℝ) | |
| 1803 | - (v : PressureStream.Plane) (w : PressureStream.Plane × PressureStream.Plane) | |
| 1804 | - (d : PressureStream.Plane → Debt) : ChartPoint → ℝ := | |
| 1805 | - PressureStream.streamBeta w (actualChartPotential coord A B lam a b power lo hi M v d) | |
| 1806 | - | |
| 1807 | -theorem actualChartPotential_eq_chartPotential {coord A B lam a b power lo hi M qlo qhi : ℝ} | |
| 1808 | - (hlam : 0 < lam) (hB : B ≠ 0) (ha : 0 < a) (hab : a < b) | |
| 1809 | - (hp : 0 < power) (hlo : 0 < lo) (horder : lo < hi) (hqlo : 0 < qlo) | |
| 1810 | - (hleft : lo ≤ Real.sqrt qlo * a) (hright : Real.sqrt qhi * b ≤ hi) | |
| 1811 | - (v : PressureStream.Plane) (d : PressureStream.Plane → Debt) {p : ChartPoint} | |
| 1812 | - (hq : chartQ coord p ∈ Icc qlo qhi) : | |
| 1813 | - actualChartPotential coord A B lam a b power lo hi M v d p = | |
| 1814 | - chartPotential coord A B lam a b (fun z => d z.2.1) p := by | |
| 1815 | - have hqp : 0 < chartQ coord p := hqlo.trans_le hq.1 | |
| 1816 | - have hf : ContDiff ℝ ∞ (fun r => slowChartDesired coord A B lam a b d (r, p.2.1)) := | |
| 1817 | - desiredAxialIncrement_smooth lam (shapedAmplitude B (chartEta coord p)) a b | |
| 1818 | - (Real.sqrt (chartQ coord p)) (chartQ coord p ^ (-A)) (d p.2.1) | |
| 1819 | - have hs : support (fun r => slowChartDesired coord A B lam a b d (r, p.2.1)) ⊆ Icc lo hi := by | |
| 1820 | - intro r hr | |
| 1821 | - have ht := desiredAxialIncrement_tsupport lam (shapedAmplitude B (chartEta coord p)) a b | |
| 1822 | - (chartQ coord p ^ (-A)) (Real.sqrt_pos.mpr hqp) hab (d p.2.1) (subset_closure hr) | |
| 1823 | - exact ⟨(hleft.trans (mul_le_mul_of_nonneg_right (Real.sqrt_le_sqrt hq.1) ha.le)).trans ht.1.le, | |
| 1824 | - ht.2.le.trans ((mul_le_mul_of_nonneg_right (Real.sqrt_le_sqrt hq.2) (ha.trans hab).le).trans hright)⟩ | |
| 1825 | - have hm : (∫ r, r * slowChartDesired coord A B lam a b d (r, p.2.1)) = 0 := | |
| 1826 | - (physical_five_rows (C := shapedAmplitude B (chartEta coord p)) (ell := Real.sqrt (chartQ coord p)) | |
| 1827 | - (U := chartQ coord p ^ (-A)) hlam (shapedAmplitude_ne_zero hB _) ha hab | |
| 1828 | - (Real.sqrt_pos.mpr hqp) (Real.rpow_pos_of_pos hqp _).ne' (d p.2.1)).2.1 | |
| 1829 | - have he := slow_streamPotential_eq_scaledPrimitive_slice (M := M) hlo horder hp v | |
| 1830 | - (slowChartDesired coord A B lam a b d) p hf hs hm | |
| 1831 | - exact he.trans (chartPotential_eq_scaledPrimitive coord A B lam a b (fun z => d z.2.1) p).symm | |
| 1832 | - | |
| 1833 | -/-- The full slow stream estimate is for the actual `PressureStream` | |
| 1834 | -operator. The proof does not extend data outside the positive-time domain. -/ | |
| 1835 | -theorem actual_rank_stream_meanClass (s : WeightedClasses.StripData ChartPoint) | |
| 1836 | - {coord A B lam a b power lo hi qlo qhi α : ℝ} | |
| 1837 | - (hc : 0 < coord) (hc1 : coord < 1) (hlam : 0 < lam) (ha : 0 < a) (hab : a < b) | |
| 1838 | - (hB : B ≠ 0) (hp : 0 < power) (hlo : 0 < lo) (horder : lo < hi) (hqlo : 0 < qlo) | |
| 1839 | - (hleft : lo ≤ Real.sqrt qlo * a) (hright : Real.sqrt qhi * b ≤ hi) | |
| 1840 | - (hT : ∀ p ∈ s.domain, chartInput p ∈ PhysicalCoordinateBounds.positiveTime) | |
| 1841 | - (hq : ∀ p ∈ s.domain, chartQ coord p ∈ Icc qlo qhi) | |
| 1842 | - (hR : ∀ p ∈ s.domain, p.1 ∈ Icc lo hi) | |
| 1843 | - (hz : ∃ δ : ℝ, 0 < δ ∧ ∀ p ∈ s.domain, p ∈ supportBand a b qlo qhi → δ ≤ s.zeta p) | |
| 1844 | - (M : ℕ → ℝ) (v : ℕ → PressureStream.Plane) (w : PressureStream.Plane × PressureStream.Plane) | |
| 1845 | - {d : ℕ → PressureStream.Plane → Debt} | |
| 1846 | - (hd : WeightedClasses.UnweightedClass s α (fun n p => d n p.2.1)) : | |
| 1847 | - WeightedClasses.MeanClass s α (fun n => actualChartPotential coord A B lam a b power lo hi (M n) (v n) (d n)) ∧ | |
| 1848 | - WeightedClasses.MeanClass s α (fun n => actualChartRadial coord A B lam a b power lo hi (M n) (v n) w (d n)) := by | |
| 1849 | - have h := (rank_stream_meanClass (A := A) (B := B) (lam := lam) s hc hc1 hlam ha hab hB hqlo | |
| 1850 | - hT hq hR hz w hd).1 | |
| 1851 | - have hpot : WeightedClasses.MeanClass s α | |
| 1852 | - (fun n => actualChartPotential coord A B lam a b power lo hi (M n) (v n) (d n)) := | |
| 1853 | - meanClass_congr_on h (fun n p hps => actualChartPotential_eq_chartPotential | |
| 1854 | - hlam hB ha hab hp hlo horder hqlo hleft hright (v n) (d n) (hq p hps)) | |
| 1855 | - refine ⟨hpot, ?_⟩ | |
| 1856 | - have hder := (hpot.directional (0, w)).map (-ContinuousLinearMap.id ℝ ℝ) | |
| 1857 | - simp only [actualChartRadial, | |
| 1858 | - _root_.neg_apply, ContinuousLinearMap.id_apply] at hder ⊢ | |
| 1859 | - exact hder | |
| 1860 | - | |
| 1861 | 1751 | end ActualChartStream |
| 1862 | 1752 | |
| 1863 | 1753 | section LocalSlowStream |
| @@ -1910,94 +1800,10 @@ end LocalSlowStream | ||
| 1910 | 1800 | |
| 1911 | 1801 | section ActualChartIdentities |
| 1912 | 1802 | |
| 1913 | -noncomputable def actualChartAxial (coord A B lam a b power lo hi M : ℝ) | |
| 1914 | - (v : PressureStream.Plane) (d : PressureStream.Plane → Debt) : ChartPoint → ℝ := | |
| 1915 | - PressureStream.streamGamma (PressureStream.physicalSpeed power M) ((0 : PressureStream.Plane), v) | |
| 1916 | - (actualChartPotential coord A B lam a b power lo hi M v d) | |
| 1917 | - | |
| 1918 | -theorem actualChartAxial_eq_desired {coord A B lam a b power lo hi M qlo qhi : ℝ} | |
| 1919 | - (hlam : 0 < lam) (hB : B ≠ 0) (ha : 0 < a) (hab : a < b) | |
| 1920 | - (hp : 0 < power) (hlo : 0 < lo) (horder : lo < hi) (hqlo : 0 < qlo) | |
| 1921 | - (hleft : lo ≤ Real.sqrt qlo * a) (hright : Real.sqrt qhi * b ≤ hi) | |
| 1922 | - (v : PressureStream.Plane) (d : PressureStream.Plane → Debt) {p : ChartPoint} | |
| 1923 | - (hq : chartQ coord p ∈ Icc qlo qhi) | |
| 1924 | - (hΨ : DifferentiableAt ℝ (actualChartPotential coord A B lam a b power lo hi M v d) p) : | |
| 1925 | - actualChartAxial coord A B lam a b power lo hi M v d p = slowChartDesired coord A B lam a b d (p.1, p.2.1) := by | |
| 1926 | - have hqp : 0 < chartQ coord p := hqlo.trans_le hq.1 | |
| 1927 | - have hf : ContDiff ℝ ∞ (fun r => slowChartDesired coord A B lam a b d (r, p.2.1)) := | |
| 1928 | - desiredAxialIncrement_smooth lam (shapedAmplitude B (chartEta coord p)) a b | |
| 1929 | - (Real.sqrt (chartQ coord p)) (chartQ coord p ^ (-A)) (d p.2.1) | |
| 1930 | - have hs : support (fun r => slowChartDesired coord A B lam a b d (r, p.2.1)) ⊆ Icc lo hi := by | |
| 1931 | - intro r hr | |
| 1932 | - have ht := desiredAxialIncrement_tsupport lam (shapedAmplitude B (chartEta coord p)) a b | |
| 1933 | - (chartQ coord p ^ (-A)) (Real.sqrt_pos.mpr hqp) hab (d p.2.1) (subset_closure hr) | |
| 1934 | - exact ⟨(hleft.trans (mul_le_mul_of_nonneg_right (Real.sqrt_le_sqrt hq.1) ha.le)).trans ht.1.le, | |
| 1935 | - ht.2.le.trans ((mul_le_mul_of_nonneg_right (Real.sqrt_le_sqrt hq.2) (ha.trans hab).le).trans hright)⟩ | |
| 1936 | - have hm : (∫ r, r * slowChartDesired coord A B lam a b d (r, p.2.1)) = 0 := | |
| 1937 | - (physical_five_rows (C := shapedAmplitude B (chartEta coord p)) (ell := Real.sqrt (chartQ coord p)) | |
| 1938 | - (U := chartQ coord p ^ (-A)) hlam (shapedAmplitude_ne_zero hB _) ha hab | |
| 1939 | - (Real.sqrt_pos.mpr hqp) (Real.rpow_pos_of_pos hqp _).ne' (d p.2.1)).2.1 | |
| 1940 | - exact slow_streamGamma_eq_desired_slice hlo horder hp v | |
| 1941 | - (slowChartDesired coord A B lam a b d) p hf hs hm hΨ | |
| 1942 | - | |
| 1943 | -/-- Exact slow realization and divergence on the actual normalized physical | |
| 1944 | -domain, derived from the input defect class rather than assumed regularity. -/ | |
| 1945 | -theorem actual_rank_stream_identities (s : WeightedClasses.StripData ChartPoint) | |
| 1946 | - {coord A B lam a b power lo hi qlo qhi α : ℝ} | |
| 1947 | - (hc : 0 < coord) (hc1 : coord < 1) (hlam : 0 < lam) (ha : 0 < a) (hab : a < b) | |
| 1948 | - (hB : B ≠ 0) (hp : 0 < power) (hlo : 0 < lo) (horder : lo < hi) (hqlo : 0 < qlo) | |
| 1949 | - (hleft : lo ≤ Real.sqrt qlo * a) (hright : Real.sqrt qhi * b ≤ hi) | |
| 1950 | - (hT : ∀ p ∈ s.domain, chartInput p ∈ PhysicalCoordinateBounds.positiveTime) | |
| 1951 | - (hq : ∀ p ∈ s.domain, chartQ coord p ∈ Icc qlo qhi) | |
| 1952 | - (hR : ∀ p ∈ s.domain, p.1 ∈ Icc lo hi) | |
| 1953 | - (hz : ∃ δ : ℝ, 0 < δ ∧ ∀ p ∈ s.domain, p ∈ supportBand a b qlo qhi → δ ≤ s.zeta p) | |
| 1954 | - (M : ℕ → ℝ) (v : ℕ → PressureStream.Plane) (w : PressureStream.Plane × PressureStream.Plane) | |
| 1955 | - {d : ℕ → PressureStream.Plane → Debt} | |
| 1956 | - (hd : WeightedClasses.UnweightedClass s α (fun n p => d n p.2.1)) : | |
| 1957 | - ∀ n p, p ∈ s.domain → | |
| 1958 | - actualChartAxial coord A B lam a b power lo hi (M n) (v n) (d n) p = | |
| 1959 | - slowChartDesired coord A B lam a b (d n) (p.1, p.2.1) ∧ | |
| 1960 | - PressureStream.graphDivergence (PressureStream.physicalSpeed power (M n)) ((0 : PressureStream.Plane), v n) w | |
| 1961 | - (actualChartRadial coord A B lam a b power lo hi (M n) (v n) w (d n)) | |
| 1962 | - (actualChartAxial coord A B lam a b power lo hi (M n) (v n) (d n)) p = 0 := by | |
| 1963 | - have hclass := (actual_rank_stream_meanClass (A := A) s hc hc1 hlam ha hab hB hp hlo horder hqlo | |
| 1964 | - hleft hright hT hq hR hz M v w hd).1 | |
| 1965 | - intro n p hps | |
| 1966 | - have hΨ := (hclass.smooth n).contDiffAt (s.isOpen_domain.mem_nhds hps) | |
| 1967 | - have hΨ2 : ContDiffAt ℝ 2 (actualChartPotential coord A B lam a b power lo hi (M n) (v n) (d n)) p := | |
| 1968 | - hΨ.of_le (ENat.natCast_lt_of_coe_top_le_withTop le_rfl 2).le | |
| 1969 | - have hr : p.1 ≠ 0 := (hlo.trans_le (hR p hps).1).ne' | |
| 1970 | - refine ⟨actualChartAxial_eq_desired hlam hB ha hab hp hlo horder hqlo hleft hright | |
| 1971 | - (v n) (d n) (hq p hps) (hΨ.differentiableAt (by simp)), ?_⟩ | |
| 1972 | - exact PressureStream.stream_divergence_zero ((0 : PressureStream.Plane), v n) w | |
| 1973 | - hΨ2 ((PressureStream.physicalSpeed_smooth power (M n) hr).differentiableAt (by simp)) hr | |
| 1974 | - | |
| 1975 | 1803 | end ActualChartIdentities |
| 1976 | 1804 | |
| 1977 | 1805 | section AllVelocityClasses |
| 1978 | 1806 | |
| 1979 | -theorem actual_rank_velocity_meanClass (s : WeightedClasses.StripData ChartPoint) | |
| 1980 | - {coord A B lam a b power lo hi qlo qhi α : ℝ} | |
| 1981 | - (hc : 0 < coord) (hc1 : coord < 1) (hlam : 0 < lam) (ha : 0 < a) (hab : a < b) | |
| 1982 | - (hB : B ≠ 0) (hp : 0 < power) (hlo : 0 < lo) (horder : lo < hi) (hqlo : 0 < qlo) | |
| 1983 | - (hleft : lo ≤ Real.sqrt qlo * a) (hright : Real.sqrt qhi * b ≤ hi) | |
| 1984 | - (hT : ∀ p ∈ s.domain, chartInput p ∈ PhysicalCoordinateBounds.positiveTime) | |
| 1985 | - (hq : ∀ p ∈ s.domain, chartQ coord p ∈ Icc qlo qhi) | |
| 1986 | - (hR : ∀ p ∈ s.domain, p.1 ∈ Icc lo hi) | |
| 1987 | - (hz : ∃ δ : ℝ, 0 < δ ∧ ∀ p ∈ s.domain, p ∈ supportBand a b qlo qhi → δ ≤ s.zeta p) | |
| 1988 | - (M : ℕ → ℝ) (v : ℕ → PressureStream.Plane) (w : PressureStream.Plane × PressureStream.Plane) | |
| 1989 | - {d : ℕ → PressureStream.Plane → Debt} | |
| 1990 | - (hd : WeightedClasses.UnweightedClass s α (fun n p => d n p.2.1)) : | |
| 1991 | - WeightedClasses.MeanClass s α (fun n => chartAngular coord A B lam a b (fun p => d n p.2.1)) ∧ | |
| 1992 | - WeightedClasses.MeanClass s α (fun n => actualChartAxial coord A B lam a b power lo hi (M n) (v n) (d n)) ∧ | |
| 1993 | - WeightedClasses.MeanClass s α (fun n => actualChartRadial coord A B lam a b power lo hi (M n) (v n) w (d n)) := by | |
| 1994 | - have hfields := rank_update_meanClass (A := A) (B := B) (lam := lam) s hc hc1 ha hab hB hqlo hT hq hR hz hd | |
| 1995 | - have hstream := actual_rank_stream_meanClass (A := A) s hc hc1 hlam ha hab hB hp hlo horder hqlo | |
| 1996 | - hleft hright hT hq hR hz M v w hd | |
| 1997 | - have he := actual_rank_stream_identities (A := A) s hc hc1 hlam ha hab hB hp hlo horder hqlo | |
| 1998 | - hleft hright hT hq hR hz M v w hd | |
| 1999 | - exact ⟨hfields.1, meanClass_congr_on hfields.2 (fun n p hps => (he n p hps).1), hstream.2⟩ | |
| 2000 | - | |
| 2001 | 1807 | variable {E : Type} [NormedAddCommGroup E] [NormedSpace ℝ E] |
| 2002 | 1808 | |
| 2003 | 1809 | theorem slow_streamPotential_phase_independent (lo hi power M : ℝ) (v : PressureStream.Plane) |
+0 −3 NavierStokes/MeanResidual.lean View file
| @@ -695,9 +695,6 @@ noncomputable def fluxDifference (base mean osc : Components) (i j : Fin 3) : Sc | ||
| 695 | 695 | theorem covariance_smooth {osc : Components} (ho : ∀ i, ContDiff ℝ ∞ (osc i)) (i j : Fin 3) : |
| 696 | 696 | ContDiff ℝ ∞ (covariance osc i j) := average_smooth ((ho i).mul (ho j)) |
| 697 | 697 | |
| 698 | -theorem covariance_symm (osc : Components) (i j : Fin 3) : covariance osc i j = covariance osc j i := by | |
| 699 | - simp only [covariance, mul_comm] | |
| 700 | - | |
| 701 | 698 | theorem total_smooth {base mean osc : Components} |
| 702 | 699 | (hb : ∀ i, ContDiff ℝ ∞ (base i)) (hm : ∀ i, ContDiff ℝ ∞ (mean i)) |
| 703 | 700 | (ho : ∀ i, ContDiff ℝ ∞ (osc i)) (i : Fin 3) : |
+20 −0 routes/s1-ns-mean-2/README.md added View file
| @@ -0,0 +1,20 @@ | ||
| 1 | +--- | |
| 2 | +issue: 10 | |
| 3 | +status: working | |
| 4 | +--- | |
| 5 | +# s1-ns-mean-2 | |
| 6 | + | |
| 7 | +One unit of #10 (S-1, "Delete declarations that nothing uses"), family `NavierStokes/Mean*`, wave 2: the second | |
| 8 | +declaration unit of the family, cut from Treant's run of 2026-12-03 (TitiSkywalker/NavierStokesAndEuler) and from | |
| 9 | +main's declaration graph under the rule that the paper's results stay. It deletes 19 declarations nothing uses, 278 | |
| 10 | +lines in four files (`MeanChartCompatibility.lean`, `MeanMomentBounds.lean`, `MeanRankUpdate.lean`, | |
| 11 | +`MeanResidual.lean`). The diff is deletions only, so no statement and no proof that stays is changed. | |
| 12 | + | |
| 13 | +Checked at this head: `git grep -n -w` for each of the 19 short names finds no use in the tree, and no deleted line | |
| 14 | +cites the paper by a numbered Lemma, Theorem, Proposition, Corollary, Section or Equation (nor "manuscript"/"paper"). | |
| 15 | +`python3 checks/challenge.py .` ends with `ok: 4 challenge files and the build configuration as approved; …`. | |
| 16 | + | |
| 17 | +## Next | |
| 18 | + | |
| 19 | +The maintainer's review after `challenge` and `build`. The remaining declarations of the `Mean*` family are other units | |
| 20 | +of #10. | |