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/Uniform): delete 19 declarations nothing uses #411
Merged
+0 −44 NavierStokes/UniformCone.lean View file
| @@ -235,48 +235,4 @@ theorem compact_trueCone_margins {K : Set X} (hK : IsCompact K) | ||
| 235 | 235 | ((min_le_right _ _).trans (min_le_left _ _)).trans (hboundP x hx), |
| 236 | 236 | ((min_le_right _ _).trans (min_le_right _ _)).trans (hboundU x hx)⟩ |
| 237 | 237 | |
| 238 | -/-- Every compact subset of the true cone has one positive metric | |
| 239 | -perturbation tolerance, including perturbations outside the original image. -/ | |
| 240 | -theorem compact_trueCone_stable {S : Set ConeDatum} (hS : IsCompact S) | |
| 241 | - (hcone : S ⊆ trueCone) : | |
| 242 | - ∃ ρ : ℝ, 0 < ρ ∧ ∀ z ∈ S, ∀ z' : ConeDatum, | |
| 243 | - dist z' z ≤ ρ → z' ∈ trueCone := by | |
| 244 | - obtain ⟨ρ, hρ, hsub⟩ := hS.exists_cthickening_subset_open isOpen_trueCone hcone | |
| 245 | - exact ⟨ρ, hρ, fun z hz z' hdist => | |
| 246 | - hsub (Metric.mem_cthickening_of_dist_le z' z ρ S hz hdist)⟩ | |
| 247 | - | |
| 248 | -/-- A continuous compact family in the true cone has uniform perturbation | |
| 249 | -tolerance. The competing datum need not depend continuously on the parameter. -/ | |
| 250 | -theorem compact_family_trueCone_stable {K : Set X} (hK : IsCompact K) | |
| 251 | - {P J v : X → ℝ} (hP : ContinuousOn P K) (hJ : ContinuousOn J K) | |
| 252 | - (hv : ContinuousOn v K) | |
| 253 | - (hcone : ∀ x ∈ K, 2 < v x ∧ 2 < P x ∧ v x < coneBound (P x) (J x)) : | |
| 254 | - ∃ ρ : ℝ, 0 < ρ ∧ ∀ x ∈ K, ∀ P' J' v' : ℝ, | |
| 255 | - dist (P', J', v') (P x, J x, v x) ≤ ρ → | |
| 256 | - 2 < v' ∧ 2 < P' ∧ v' < coneBound P' J' := by | |
| 257 | - let f : X → ConeDatum := fun x => (P x, J x, v x) | |
| 258 | - have hf : ContinuousOn f K := hP.prodMk (hJ.prodMk hv) | |
| 259 | - have himage : f '' K ⊆ trueCone := by | |
| 260 | - rintro z ⟨x, hx, rfl⟩ | |
| 261 | - exact hcone x hx | |
| 262 | - obtain ⟨ρ, hρ, hstable⟩ := compact_trueCone_stable (hK.image_of_continuousOn hf) himage | |
| 263 | - exact ⟨ρ, hρ, fun x hx P' J' v' hdist => | |
| 264 | - hstable (f x) (mem_image_of_mem f hx) (P', J', v') hdist⟩ | |
| 265 | - | |
| 266 | -/-- Coordinatewise perturbations of a compact true-cone family preserve | |
| 267 | -the exact quadratic criterion as well as the lower bound `v > 2`. -/ | |
| 268 | -theorem compact_family_quadratic_stable {K : Set X} (hK : IsCompact K) | |
| 269 | - {P J v : X → ℝ} (hP : ContinuousOn P K) (hJ : ContinuousOn J K) | |
| 270 | - (hv : ContinuousOn v K) | |
| 271 | - (hcone : ∀ x ∈ K, 2 < v x ∧ 2 < P x ∧ v x < coneBound (P x) (J x)) : | |
| 272 | - ∃ ρ : ℝ, 0 < ρ ∧ ∀ x ∈ K, ∀ P' J' v' : ℝ, | |
| 273 | - |P' - P x| ≤ ρ → |J' - J x| ≤ ρ → |v' - v x| ≤ ρ → | |
| 274 | - 2 < v' ∧ v' < P' ∧ (v' - 2) * J' ^ 2 < 2 * (P' - v') ^ 2 := by | |
| 275 | - obtain ⟨ρ, hρ, hstable⟩ := compact_family_trueCone_stable hK hP hJ hv hcone | |
| 276 | - refine ⟨ρ, hρ, fun x hx P' J' v' hP' hJ' hv' => ?_⟩ | |
| 277 | - have hdist : dist (P', J', v') (P x, J x, v x) ≤ ρ := by | |
| 278 | - simpa only [Prod.dist_eq, Real.dist_eq] using max_le hP' (max_le hJ' hv') | |
| 279 | - obtain ⟨hv₂, hP₂, hroot⟩ := hstable x hx P' J' v' hdist | |
| 280 | - exact ⟨hv₂, (true_cone_iff hv₂).mp ⟨hP₂, hroot⟩⟩ | |
| 281 | - | |
| 282 | 238 | end NavierStokes.UniformCone |
+0 −138 NavierStokes/UniformFourierAlias.lean View file
| @@ -857,60 +857,6 @@ noncomputable def bandSlow (n : ℕ) : ℝ := max 1 (ChartScales.S n) | ||
| 857 | 857 | |
| 858 | 858 | theorem one_le_bandSlow (n : ℕ) : 1 ≤ bandSlow n := le_max_left _ _ |
| 859 | 859 | |
| 860 | -theorem bandSlow_eventually_eq : ∀ᶠ n : ℕ in atTop, bandSlow n = ChartScales.S n := by | |
| 861 | - filter_upwards [eventually_ge_atTop 1] with n hn | |
| 862 | - apply max_eq_right | |
| 863 | - have hn' : (1 : ℝ) ≤ n := by exact_mod_cast hn | |
| 864 | - change 1 ≤ (n : ℝ) ^ 2 | |
| 865 | - nlinarith | |
| 866 | - | |
| 867 | -/-- Choose the number of integrations by parts before learning the finite | |
| 868 | -polynomial slow-scale loss of the required source seminorm. -/ | |
| 869 | -theorem frequency_gain_absorbs_family_growth {M : ℕ → ℝ} {h κ A growth α : ℝ} | |
| 870 | - (hh : 0 < h) (hκ : 0 < κ) | |
| 871 | - (hbound : ∀ᶠ n in atTop, |M n|⁻¹ ≤ | |
| 872 | - A * ChartScales.epsilon h n ^ κ * ChartScales.S n ^ growth) (N : ℕ) : | |
| 873 | - ∃ p : ℕ, ∀ q : ℕ, ∀ C : ℝ, 0 ≤ C → | |
| 874 | - ∀ᶠ n in atTop, | |
| 875 | - C * ChartScales.epsilon h n ^ α * bandSlow n ^ q * (|M n|⁻¹) ^ p ≤ | |
| 876 | - C * ChartScales.epsilon h n ^ N := by | |
| 877 | - obtain ⟨p, hp⟩ := exists_nat_gt (((N : ℝ) + 1 - α) / (κ / 2)) | |
| 878 | - have hNp : (N : ℝ) + 1 ≤ α + (κ / 2) * (p : ℝ) := by | |
| 879 | - have hp' := (div_lt_iff₀ (half_pos hκ)).mp hp | |
| 880 | - nlinarith | |
| 881 | - refine ⟨p, ?_⟩ | |
| 882 | - intro q C hC | |
| 883 | - have hslow := ChartScales.eventually_slow_power_epsilon_lt h hh (q : ℝ) 1 1 | |
| 884 | - zero_lt_one zero_lt_one | |
| 885 | - simp only [Real.rpow_natCast, Real.rpow_one] at hslow | |
| 886 | - filter_upwards [FourierAlias.inverse_frequency_eventually_small hh hκ hbound, | |
| 887 | - hslow, bandSlow_eventually_eq] with n hn hsn hband | |
| 888 | - rw [hband] | |
| 889 | - have hε := ChartScales.epsilon_pos h n | |
| 890 | - have hS : 0 ≤ ChartScales.S n := sq_nonneg (n : ℝ) | |
| 891 | - have hpower : (|M n|⁻¹) ^ p ≤ ChartScales.epsilon h n ^ ((κ / 2) * (p : ℝ)) := by | |
| 892 | - rw [Real.rpow_mul_natCast hε.le] | |
| 893 | - exact pow_le_pow_left₀ (inv_nonneg.mpr (abs_nonneg _)) hn p | |
| 894 | - have hεα : 0 ≤ ChartScales.epsilon h n ^ α := (Real.rpow_pos_of_pos hε α).le | |
| 895 | - calc | |
| 896 | - _ ≤ C * ChartScales.epsilon h n ^ α * ChartScales.S n ^ q * | |
| 897 | - ChartScales.epsilon h n ^ ((κ / 2) * (p : ℝ)) := | |
| 898 | - mul_le_mul_of_nonneg_left hpower (by positivity) | |
| 899 | - _ = C * ChartScales.epsilon h n ^ (α + (κ / 2) * (p : ℝ)) * ChartScales.S n ^ q := by | |
| 900 | - rw [Real.rpow_add hε] | |
| 901 | - ring | |
| 902 | - _ ≤ C * ChartScales.epsilon h n ^ ((N : ℝ) + 1) * ChartScales.S n ^ q := | |
| 903 | - mul_le_mul_of_nonneg_right | |
| 904 | - (mul_le_mul_of_nonneg_left (Real.rpow_le_rpow_of_exponent_ge hε | |
| 905 | - (ChartScales.epsilon_le_one h hh.le n) hNp) hC) (pow_nonneg hS q) | |
| 906 | - _ = (C * ChartScales.epsilon h n ^ N) * | |
| 907 | - (ChartScales.S n ^ q * ChartScales.epsilon h n) := by | |
| 908 | - rw [Real.rpow_add hε, Real.rpow_natCast, Real.rpow_one] | |
| 909 | - ring | |
| 910 | - _ ≤ (C * ChartScales.epsilon h n ^ N) * 1 := | |
| 911 | - mul_le_mul_of_nonneg_left hsn.le (by positivity) | |
| 912 | - _ = C * ChartScales.epsilon h n ^ N := mul_one _ | |
| 913 | - | |
| 914 | 860 | end BandScales |
| 915 | 861 | |
| 916 | 862 | section UniformFamilies |
| @@ -927,42 +873,6 @@ noncomputable def chartStrip (a b cL cR : ℝ) (ha : 0 < a) (hcL : 0 < cL) (hcR | ||
| 927 | 873 | |
| 928 | 874 | variable {S : Type} [NormedAddCommGroup S] [NormedSpace ℝ S] [FiniteDimensional ℝ S] |
| 929 | 875 | |
| 930 | -/-- Band-dependent sources in the actual all-order mean class have uniformly | |
| 931 | -superflat aliases. The proof chooses one finite IBP order before extracting | |
| 932 | -the required source seminorm and its polynomial growth degree. -/ | |
| 933 | -theorem meanClass_alias_superflat (d : Direction) {a b cL cR h α : ℝ} | |
| 934 | - (ha : 0 < a) (hab : a ≤ b) (hcL : 0 < cL) (hcR : 0 < cR) (hh : 0 < h) | |
| 935 | - {χ : ℝ → ℝ} (hχ : ContDiff ℝ ∞ χ) | |
| 936 | - (hleft : ∀ u ≤ a, χ u = 0) (hright : ∀ u, b ≤ u → χ u = 1) | |
| 937 | - {f : ℕ → ℝ × (S × Plane) → ℂ} | |
| 938 | - (hf : MeanClass (chartStrip a b cL cR ha hcL hcR h hh) α f) | |
| 939 | - (hgood : ∀ n, Admissible a b (f n)) | |
| 940 | - {M : ℕ → ℝ} {κ A growth : ℝ} (hκ : 0 < κ) | |
| 941 | - (hM : ∀ᶠ n in atTop, M n ≠ 0) | |
| 942 | - (hfrequency : ∀ᶠ n in atTop, |M n|⁻¹ ≤ | |
| 943 | - A * ChartScales.epsilon h n ^ κ * ChartScales.S n ^ growth) (m N : ℕ) : | |
| 944 | - ∃ C : ℝ, 0 ≤ C ∧ ∀ᶠ n in atTop, ∀ j ≤ m, ∀ z : ℝ × (S × Plane), | |
| 945 | - ‖iteratedFDeriv ℝ j (exactAlias χ (M n) ((0 : S), vector d) (f n)) z‖ ≤ | |
| 946 | - C * ChartScales.epsilon h n ^ N := by | |
| 947 | - obtain ⟨p, hp⟩ := frequency_gain_absorbs_family_growth (α := α) hh hκ hfrequency N | |
| 948 | - obtain ⟨K, hK, hbound⟩ := exactAlias_finiteJets (S := S) d hab hχ hleft hright m p | |
| 949 | - obtain ⟨C, hC, q, hsource⟩ := meanClass_global_finiteJets ha hcL hcR | |
| 950 | - (ChartScales.epsilon h) bandSlow (ChartScales.epsilon_pos h) | |
| 951 | - (ChartScales.epsilon_le_one h hh.le) one_le_bandSlow hf | |
| 952 | - (fun n => (hgood n).2.2.2) (fun n => (hgood n).1) (m + 6 * p) | |
| 953 | - refine ⟨K * C, mul_nonneg hK hC, ?_⟩ | |
| 954 | - filter_upwards [hM, hp q (K * C) (mul_nonneg hK hC)] with n hn hgain | |
| 955 | - intro j hj z | |
| 956 | - have hεα : 0 < ChartScales.epsilon h n ^ α := | |
| 957 | - Real.rpow_pos_of_pos (ChartScales.epsilon_pos h n) α | |
| 958 | - have hslow : 0 ≤ bandSlow n := zero_le_one.trans (one_le_bandSlow n) | |
| 959 | - have hb := hbound (f n) (hgood n) (C * ChartScales.epsilon h n ^ α * bandSlow n ^ q) | |
| 960 | - (by positivity) (fun i hi x _ => hsource n i hi x (Set.mem_univ x)) (M n) hn j hj z | |
| 961 | - calc | |
| 962 | - _ ≤ K * (C * ChartScales.epsilon h n ^ α * bandSlow n ^ q) * (|M n|⁻¹) ^ p := hb | |
| 963 | - _ = (K * C) * ChartScales.epsilon h n ^ α * bandSlow n ^ q * (|M n|⁻¹) ^ p := by ring | |
| 964 | - _ ≤ (K * C) * ChartScales.epsilon h n ^ N := hgain | |
| 965 | - | |
| 966 | 876 | omit [FiniteDimensional ℝ S] in |
| 967 | 877 | theorem admissible_complexify {a b : ℝ} {f : ℝ × (S × Plane) → ℝ} |
| 968 | 878 | (hf : ContDiff ℝ ∞ f) (hp : SourcePeriodic f) (hm : ∀ p, sourceMean f p = 0) |
| @@ -990,54 +900,6 @@ theorem real_exactAlias_finiteJets (d : Direction) {a b : ℝ} {χ : ℝ → ℝ | ||
| 990 | 900 | rw [norm_iteratedFDeriv_complexify hf] |
| 991 | 901 | exact hsource i hi x hx |
| 992 | 902 | |
| 993 | -theorem realMeanClass_alias_superflat (d : Direction) {a b cL cR h α : ℝ} | |
| 994 | - (ha : 0 < a) (hab : a ≤ b) (hcL : 0 < cL) (hcR : 0 < cR) (hh : 0 < h) | |
| 995 | - {χ : ℝ → ℝ} (hχ : ContDiff ℝ ∞ χ) | |
| 996 | - (hleft : ∀ u ≤ a, χ u = 0) (hright : ∀ u, b ≤ u → χ u = 1) | |
| 997 | - {f : ℕ → ℝ × (S × Plane) → ℝ} | |
| 998 | - (hf : MeanClass (chartStrip a b cL cR ha hcL hcR h hh) α f) | |
| 999 | - (hfc : ∀ n, ContDiff ℝ ∞ (f n)) (hp : ∀ n, SourcePeriodic (f n)) | |
| 1000 | - (hm : ∀ n p, sourceMean (f n) p = 0) | |
| 1001 | - (hs : ∀ n, RadialAlias.RadiallySupported a b (f n)) | |
| 1002 | - {M : ℕ → ℝ} {κ A growth : ℝ} (hκ : 0 < κ) | |
| 1003 | - (hM : ∀ᶠ n in atTop, M n ≠ 0) | |
| 1004 | - (hfrequency : ∀ᶠ n in atTop, |M n|⁻¹ ≤ | |
| 1005 | - A * ChartScales.epsilon h n ^ κ * ChartScales.S n ^ growth) (m N : ℕ) : | |
| 1006 | - ∃ C : ℝ, 0 ≤ C ∧ ∀ᶠ n in atTop, ∀ j ≤ m, ∀ z : ℝ × (S × Plane), | |
| 1007 | - ‖iteratedFDeriv ℝ j (exactAlias χ (M n) ((0 : S), vector d) (f n)) z‖ ≤ | |
| 1008 | - C * ChartScales.epsilon h n ^ N := by | |
| 1009 | - have hcomplex : MeanClass (chartStrip a b cL cR ha hcL hcR h hh) α | |
| 1010 | - (fun n => complexify (f n)) := hf.map Complex.ofRealCLM | |
| 1011 | - obtain ⟨C, hC, hb⟩ := meanClass_alias_superflat d ha hab hcL hcR hh hχ hleft hright hcomplex | |
| 1012 | - (fun n => admissible_complexify (hfc n) (hp n) (hm n) (hs n)) hκ hM hfrequency m N | |
| 1013 | - refine ⟨C, hC, ?_⟩ | |
| 1014 | - filter_upwards [hb] with n hn | |
| 1015 | - intro j hj z | |
| 1016 | - rw [← norm_iteratedFDeriv_exactAlias_complexify hχ (hfc n) (hs n)] | |
| 1017 | - exact hn j hj z | |
| 1018 | - | |
| 1019 | -theorem radial_realMeanClass_alias_superflat {a b cL cR h α : ℝ} | |
| 1020 | - (ha : 0 < a) (hab : a ≤ b) (hcL : 0 < cL) (hcR : 0 < cR) (hh : 0 < h) | |
| 1021 | - {χ : ℝ → ℝ} (hχ : ContDiff ℝ ∞ χ) | |
| 1022 | - (hleft : ∀ u ≤ a, χ u = 0) (hright : ∀ u, b ≤ u → χ u = 1) | |
| 1023 | - {f : ℕ → ℝ × (S × Plane) → ℝ} | |
| 1024 | - (hf : MeanClass (chartStrip a b cL cR ha hcL hcR h hh) α f) | |
| 1025 | - (hfc : ∀ n, ContDiff ℝ ∞ (f n)) (hp : ∀ n, SourcePeriodic (f n)) | |
| 1026 | - (hm : ∀ n p, sourceMean (f n) p = 0) | |
| 1027 | - (hs : ∀ n, RadialAlias.RadiallySupported a b (f n)) (m N : ℕ) : | |
| 1028 | - ∃ C : ℝ, 0 ≤ C ∧ ∀ᶠ n in atTop, ∀ j ≤ m, ∀ z : ℝ × (S × Plane), | |
| 1029 | - ‖iteratedFDeriv ℝ j | |
| 1030 | - (exactAlias χ (ChartScales.radialCoefficient h n) ((0 : S), vector .radial) (f n)) z‖ ≤ | |
| 1031 | - C * ChartScales.epsilon h n ^ N := by | |
| 1032 | - apply realMeanClass_alias_superflat .radial (A := ChartScales.Lambda) (growth := ChartScales.rho) | |
| 1033 | - ha hab hcL hcR hh hχ hleft hright hf hfc hp hm hs | |
| 1034 | - (show 0 < ChartScales.kappa by norm_num [ChartScales.kappa]) | |
| 1035 | - (Filter.Eventually.of_forall (fun n => ne_of_gt (ChartScales.radialCoefficient_pos h n))) | |
| 1036 | - _ m N | |
| 1037 | - filter_upwards [eventually_ge_atTop 4] with n hn | |
| 1038 | - simpa only [abs_of_pos (ChartScales.radialCoefficient_pos h n)] using | |
| 1039 | - ChartScales.radialCoefficient_inv_upper h hh.le hn | |
| 1040 | - | |
| 1041 | 903 | end UniformFamilies |
| 1042 | 904 | |
| 1043 | 905 | end NavierStokes.UniformFourierAlias |
+0 −150 NavierStokes/UniformPrimaryWeights.lean View file
| @@ -87,23 +87,6 @@ noncomputable def enumeration (ι : Type*) [Countable ι] [Nonempty ι] : ℕ | ||
| 87 | 87 | theorem enumeration_surjective (ι : Type*) [Countable ι] [Nonempty ι] : |
| 88 | 88 | Surjective (enumeration ι) := Classical.choose_spec (exists_surjective_nat (ℕ × ι)) |
| 89 | 89 | |
| 90 | -/-- The actual slow scale on the joint index, in the `(band,label)` order | |
| 91 | -used by the phase and ODE constructions. -/ | |
| 92 | -noncomputable def jointDomain (s : StripData D) : PhaseJetBounds.Domain (ℕ × ι) D where | |
| 93 | - scale q := s.slow q.1 | |
| 94 | - carrier _ := s.domain | |
| 95 | - isOpen _ := s.isOpen_domain | |
| 96 | - one_le_scale q := s.one_le_slow q.1 | |
| 97 | - | |
| 98 | -theorem pull_polynomial {s : StripData D} {f : ι → ℕ → D → E} | |
| 99 | - (hf : PhaseJetBounds.PolynomialJets (jointDomain s) (fun q => f q.2 q.1)) | |
| 100 | - (e : ℕ → ℕ × ι) : | |
| 101 | - PhaseJetBounds.PolynomialJets (CurlClassBounds.phaseDomain (reindexedStrip s e)) (pull e f) := by | |
| 102 | - refine ⟨fun k => hf.smooth (e k), ?_⟩ | |
| 103 | - intro m | |
| 104 | - obtain ⟨C, hC, p, hb⟩ := hf.bound m | |
| 105 | - exact ⟨C, hC, p, fun k => hb (e k)⟩ | |
| 106 | - | |
| 107 | 90 | section WeightedOperations |
| 108 | 91 | |
| 109 | 92 | variable [Countable ι] [Nonempty ι] |
| @@ -125,17 +108,6 @@ theorem fderiv_class {f : ι → ℕ → D → E} (hf : UniformClass s w α f) : | ||
| 125 | 108 | rw [norm_iteratedFDeriv_fderiv] |
| 126 | 109 | exact hb l n x hx (j + 1) (Nat.add_le_add_right hj 1) |
| 127 | 110 | |
| 128 | -theorem smul_class {a : ι → ℕ → D → ℝ} {f : ι → ℕ → D → E} | |
| 129 | - (ha : UniformClass s v β a) (hf : UniformClass s w α f) : | |
| 130 | - UniformClass s (fun l n x => v l n x * w l n x) (β + α) | |
| 131 | - (fun l n x => a l n x • f l n x) := | |
| 132 | - ha.bilinear hf (ContinuousLinearMap.lsmul ℝ ℝ) | |
| 133 | - | |
| 134 | -theorem real_smul_class {a : ι → ℕ → D → ℝ} {f : ι → ℕ → D → E} | |
| 135 | - (ha : UniformClass s (fun _ _ _ => 1) β a) (hf : UniformClass s w α f) : | |
| 136 | - UniformClass s w (β + α) (fun l n x => a l n x • f l n x) := by | |
| 137 | - simpa only [one_mul] using smul_class ha hf | |
| 138 | - | |
| 139 | 111 | theorem along_class {V : ι → ℕ → D → D} {f : ι → ℕ → D → E} |
| 140 | 112 | (hV : UniformClass s (fun _ _ _ => 1) β V) (hf : UniformClass s w α f) : |
| 141 | 113 | UniformClass s w (α + β) (fun l n => HarmonicCalculus.along (V l n) (f l n)) := by |
| @@ -159,13 +131,6 @@ theorem pull_bandBound {a : ι → ℕ → ℝ} (ha : UniformBandBound s β a) | ||
| 159 | 131 | obtain ⟨C, hC, p, hb⟩ := ha |
| 160 | 132 | exact ⟨C, hC, p, fun k => hb (e k).2 (e k).1⟩ |
| 161 | 133 | |
| 162 | -theorem band_smul_class [Countable ι] [Nonempty ι] | |
| 163 | - {a : ι → ℕ → ℝ} {f : ι → ℕ → D → E} | |
| 164 | - (hf : UniformClass s w α f) (ha : UniformBandBound s β a) : | |
| 165 | - UniformClass s w (α + β) (fun l n x => a l n • f l n x) := by | |
| 166 | - apply uniform_of_pull (enumeration_surjective ι) | |
| 167 | - exact (pull_class hf (enumeration ι)).band_smul (pull_bandBound ha (enumeration ι)) | |
| 168 | - | |
| 169 | 134 | end Calculus |
| 170 | 135 | |
| 171 | 136 | section Covariance |
| @@ -196,97 +161,6 @@ theorem component_class {a : ι → ℕ → D → ComplexVector} | ||
| 196 | 161 | (ha : UniformClass s w α a) (i : Fin 3) : |
| 197 | 162 | UniformClass s w α (fun l n x => a l n x i) := ha.map (ContinuousLinearMap.proj i) |
| 198 | 163 | |
| 199 | -theorem vector_class {a : ι → ℕ → D → ComplexVector} | |
| 200 | - (ha : ∀ i : Fin 3, UniformClass s w α (fun l n x => a l n x i)) : | |
| 201 | - UniformClass s w α a := by | |
| 202 | - have hsum := UniformClass.sum Finset.univ | |
| 203 | - (fun i l n x => (ContinuousLinearMap.single ℝ (fun _ : Fin 3 => ℂ) i) (a l n x i)) | |
| 204 | - (ha 0).weight_nonneg (fun i _ => (ha i).map (ContinuousLinearMap.single ℝ (fun _ : Fin 3 => ℂ) i)) | |
| 205 | - apply hsum.congr | |
| 206 | - intro l n x hx | |
| 207 | - ext i | |
| 208 | - simp | |
| 209 | - | |
| 210 | -/-- The normal inverse is computed from the actual jointly bounded normal, | |
| 211 | -not supplied as a separately bounded potential coefficient. -/ | |
| 212 | -theorem normalCoefficient_class [Countable ι] [Nonempty ι] | |
| 213 | - {N : ι → ℕ → D → RealVector} {a : ι → ℕ → D → ComplexVector} | |
| 214 | - (hN : PhaseJetBounds.PolynomialJets (jointDomain s) (fun q => N q.2 q.1)) | |
| 215 | - (ha : UniformClass s w α a) {b M : ℝ} (hb : 0 < b) | |
| 216 | - (hlower : ∀ l n x, x ∈ s.domain → b ≤ ‖N l n x‖) | |
| 217 | - (hupper : ∀ l n x, x ∈ s.domain → ‖N l n x‖ ≤ M) : | |
| 218 | - UniformClass s w α (fun l n x => normalCoefficient (N l n x) (a l n x)) := by | |
| 219 | - apply uniform_of_pull (enumeration_surjective ι) | |
| 220 | - exact CurlClassBounds.normalCoefficient_class (s := reindexedStrip s (enumeration ι)) | |
| 221 | - (pull_polynomial hN (enumeration ι)) (pull_class ha (enumeration ι)) hb | |
| 222 | - (fun k => hlower (enumeration ι k).2 (enumeration ι k).1) | |
| 223 | - (fun k => hupper (enumeration ι k).2 (enumeration ι k).1) | |
| 224 | - | |
| 225 | -/-- This version permits radius and direction fields to vary with both | |
| 226 | -band and label. All cylindrical connection terms are retained. -/ | |
| 227 | -theorem cylindricalCurl_class | |
| 228 | - {R : ι → ℕ → D → ℝ} {Vr Vθ Vz : ι → ℕ → D → D} | |
| 229 | - {a : ι → ℕ → D → ComplexVector} (ha : UniformClass s w α a) (hκ : 0 ≤ κ) | |
| 230 | - (hr : UniformClass s (fun _ _ _ => 1) (-κ) Vr) | |
| 231 | - (hθ : UniformClass s (fun _ _ _ => 1) 0 Vθ) | |
| 232 | - (hz : UniformClass s (fun _ _ _ => 1) 1 Vz) | |
| 233 | - (hR : UniformClass s (fun _ _ _ => 1) 0 (fun l n x => (R l n x)⁻¹)) : | |
| 234 | - UniformClass s w (α - κ) | |
| 235 | - (fun l n => cylindricalCurl (R l n) (Vr l n) (Vθ l n) (Vz l n) (a l n)) := by | |
| 236 | - have hDr (i : Fin 3) : UniformClass s w (α - κ) | |
| 237 | - (fun l n => HarmonicCalculus.along (Vr l n) (fun x => a l n x i)) := by | |
| 238 | - simpa only [sub_eq_add_neg] using along_class hr (component_class ha i) | |
| 239 | - have hDz (i : Fin 3) : UniformClass s w (α - κ) | |
| 240 | - (fun l n => HarmonicCalculus.along (Vz l n) (fun x => a l n x i)) := | |
| 241 | - (along_class hz (component_class ha i)).mono_exponent (by linarith) | |
| 242 | - have hDθ (i : Fin 3) : UniformClass s w (α - κ) | |
| 243 | - (fun l n x => (R l n x)⁻¹ • HarmonicCalculus.along (Vθ l n) (fun y => a l n y i) x) := by | |
| 244 | - apply (real_smul_class hR (along_class hθ (component_class ha i))).mono_exponent | |
| 245 | - linarith | |
| 246 | - have hconn (i : Fin 3) : UniformClass s w (α - κ) (fun l n x => (R l n x)⁻¹ • a l n x i) := | |
| 247 | - (real_smul_class hR (component_class ha i)).mono_exponent (by linarith) | |
| 248 | - apply vector_class | |
| 249 | - intro i | |
| 250 | - fin_cases i | |
| 251 | - · exact (hDθ 2).sub (hDz 1) | |
| 252 | - · exact (hDz 0).sub (hDr 2) | |
| 253 | - · exact ((hDr 1).add (hconn 1)).sub (hDθ 0) | |
| 254 | - | |
| 255 | -theorem curlRemainder_class [Countable ι] [Nonempty ι] | |
| 256 | - {R : ι → ℕ → D → ℝ} {Vr Vθ Vz : ι → ℕ → D → D} {K : ι → ℕ → ℝ} | |
| 257 | - {a : ι → ℕ → D → ComplexVector} (ha : UniformClass s w α a) (hκ : 0 ≤ κ) | |
| 258 | - (hr : UniformClass s (fun _ _ _ => 1) (-κ) Vr) | |
| 259 | - (hθ : UniformClass s (fun _ _ _ => 1) 0 Vθ) | |
| 260 | - (hz : UniformClass s (fun _ _ _ => 1) 1 Vz) | |
| 261 | - (hR : UniformClass s (fun _ _ _ => 1) 0 (fun l n x => (R l n x)⁻¹)) | |
| 262 | - (hK : UniformBandBound s (1 / 2) (fun l n => 1 / K l n)) : | |
| 263 | - UniformClass s w (α + 1 / 2 - κ) | |
| 264 | - (fun l n => curlRemainder (K l n) (R l n) (Vr l n) (Vθ l n) (Vz l n) (a l n)) := by | |
| 265 | - have hc := (cylindricalCurl_class ha hκ hr hθ hz hR).map | |
| 266 | - (Complex.I • ContinuousLinearMap.id ℝ ComplexVector) | |
| 267 | - have hh := band_smul_class hc hK | |
| 268 | - simp only [ _root_.smul_apply, ContinuousLinearMap.id_apply, | |
| 269 | - show α - κ + 1 / 2 = α + 1 / 2 - κ by ring] at hh ⊢ | |
| 270 | - exact hh | |
| 271 | - | |
| 272 | -theorem normalCurlRemainder_class [Countable ι] [Nonempty ι] | |
| 273 | - {R : ι → ℕ → D → ℝ} {Vr Vθ Vz : ι → ℕ → D → D} {K : ι → ℕ → ℝ} | |
| 274 | - {N : ι → ℕ → D → RealVector} {a : ι → ℕ → D → ComplexVector} | |
| 275 | - (hN : PhaseJetBounds.PolynomialJets (jointDomain s) (fun q => N q.2 q.1)) | |
| 276 | - (ha : UniformClass s w α a) {b M : ℝ} (hb : 0 < b) | |
| 277 | - (hlower : ∀ l n x, x ∈ s.domain → b ≤ ‖N l n x‖) | |
| 278 | - (hupper : ∀ l n x, x ∈ s.domain → ‖N l n x‖ ≤ M) | |
| 279 | - (hκ : 0 ≤ κ) | |
| 280 | - (hr : UniformClass s (fun _ _ _ => 1) (-κ) Vr) | |
| 281 | - (hθ : UniformClass s (fun _ _ _ => 1) 0 Vθ) | |
| 282 | - (hz : UniformClass s (fun _ _ _ => 1) 1 Vz) | |
| 283 | - (hR : UniformClass s (fun _ _ _ => 1) 0 (fun l n x => (R l n x)⁻¹)) | |
| 284 | - (hK : UniformBandBound s (1 / 2) (fun l n => 1 / K l n)) : | |
| 285 | - UniformClass s w (α + 1 / 2 - κ) (fun l n => | |
| 286 | - curlRemainder (K l n) (R l n) (Vr l n) (Vθ l n) (Vz l n) | |
| 287 | - (fun x => normalCoefficient (N l n x) (a l n x))) := | |
| 288 | - curlRemainder_class (normalCoefficient_class hN ha hb hlower hupper) hκ hr hθ hz hR hK | |
| 289 | - | |
| 290 | 164 | /-- The half-power frequency gain is uniform even when the nonzero |
| 291 | 165 | integer harmonic varies with the label. -/ |
| 292 | 166 | theorem harmonic_inverse_bandBound (s : StripData D) (j : ι → ℕ → ℤ) |
| @@ -323,28 +197,4 @@ variable {U : Domain (ℕ × ι) PhaseCalculus.Slow} | ||
| 323 | 197 | |
| 324 | 198 | end ActualCutoff |
| 325 | 199 | |
| 326 | -/-- Apply this directly to `a.withCutoff` when the stronger Gaussian | |
| 327 | -slot-envelope bound has already been derived for its actual amplitude. -/ | |
| 328 | -theorem curlCorrection_class [Countable ι] [Nonempty ι] | |
| 329 | - {s : StripData D} {P : ι → ℕ → D → ℝ} {α κ : ℝ} | |
| 330 | - (a : ι → LinearWaveBounds.WaveCoefficients D) | |
| 331 | - (d : ι → LinearWaveBounds.GraphDirections D) | |
| 332 | - (ha : UniformWaveClass s P α (fun l => (a l).amplitude)) | |
| 333 | - (hN : PhaseJetBounds.PolynomialJets (jointDomain s) | |
| 334 | - (fun q => (a q.2).normal s (d q.2) q.1)) | |
| 335 | - {b M : ℝ} (hb : 0 < b) | |
| 336 | - (hlower : ∀ l n x, x ∈ s.domain → b ≤ ‖(a l).normal s (d l) n x‖) | |
| 337 | - (hupper : ∀ l n x, x ∈ s.domain → ‖(a l).normal s (d l) n x‖ ≤ M) | |
| 338 | - (hκ : 0 ≤ κ) | |
| 339 | - (hr : UniformClass s (fun _ _ _ => 1) (-κ) (fun l => (d l).radialField)) | |
| 340 | - (hθ : UniformClass s (fun _ _ _ => 1) 0 (fun l _ _ => (d l).angular)) | |
| 341 | - (hz : UniformClass s (fun _ _ _ => 1) 1 (fun l => (d l).axialField s)) | |
| 342 | - (hR : UniformClass s (fun _ _ _ => 1) 0 (fun l n x => ((a l).radius n x)⁻¹)) | |
| 343 | - (hK : UniformBandBound s (1 / 2) (fun l n => 1 / (a l).frequency n)) : | |
| 344 | - UniformWaveClass s P (α + 1 / 2 - κ) (fun l => (a l).curlCorrection s (d l)) := by | |
| 345 | - have h := normalCurlRemainder_class hN ha hb hlower hupper hκ hr hθ hz hR hK | |
| 346 | - simp only [ | |
| 347 | - LinearWaveBounds.WaveCoefficients.normal] at h ⊢ | |
| 348 | - exact h | |
| 349 | - | |
| 350 | 200 | end NavierStokes.UniformPrimaryWeights |
+27 −0 routes/s1-ns-uniform-2/README.md added View file
| @@ -0,0 +1,27 @@ | ||
| 1 | +--- | |
| 2 | +issue: 10 | |
| 3 | +status: working | |
| 4 | +--- | |
| 5 | +# s1-ns-uniform-2 | |
| 6 | + | |
| 7 | +One declarations unit of S-1 (issue #10), the family `NavierStokes/Uniform*`. It deletes 19 | |
| 8 | +declarations that nothing on this `main` uses — 332 lines, deletions only, no statement or proof | |
| 9 | +that stays is changed — from `NavierStokes/UniformCone.lean`, | |
| 10 | +`NavierStokes/UniformFourierAlias.lean` and `NavierStokes/UniformPrimaryWeights.lean`. The unit was | |
| 11 | +cut from Treant's run of 2026-12-03 (TitiSkywalker/NavierStokesAndEuler) and from the declaration | |
| 12 | +graph of this project's `main`, under this project's rule that the paper's results stay. | |
| 13 | + | |
| 14 | +Checked as a reviewer: `git grep -n -w` finds none of the 19 short names as a reference to a | |
| 15 | +deleted declaration; the only hits are other declarations of the same short name in other files | |
| 16 | +(`jointDomain` in `ActualParticularStageControls.lean`, the class lemmas in `CurlClassBounds.lean`, | |
| 17 | +`LinearWaveBounds.lean` and `LocalizedWaveBounds.lean`, and `docs/s1-dead-code/kept.md`'s list of | |
| 18 | +kept ones). No deleted docstring cites the paper: no numbered lemma, theorem, proposition, | |
| 19 | +corollary, section or equation among the removed lines. | |
| 20 | + | |
| 21 | +`python3 checks/challenge.py .` ends with | |
| 22 | +`ok: 4 challenge files and the build configuration as approved; …`. | |
| 23 | + | |
| 24 | +## Next | |
| 25 | + | |
| 26 | +The maintainer's review after `challenge` and `build` on the pull request into `main`. If a later | |
| 27 | +unit touches these files, the deleted names are in the pull request's description. | |