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 remote-tracking branch 'origin/main' into s1-ns-smooth-3
Browse files main maintainer-statement p1-ns-physical s1-euler-angle-9 s1-euler-canonical-8 s1-euler-correction-9 s1-euler-cylinder-8 s1-euler-inviscid-8 s1-euler-mean-8 s1-euler-packet-8 s1-euler-transverse-9 s1-ns-actual-8 s1-ns-annular-8 s1-ns-axisymmetric-8 s1-ns-base-8 s1-ns-common-8 s1-ns-common-9 s1-ns-constructed-8 s1-ns-copy-8 s1-ns-curl-9 s1-ns-error-9 s1-ns-five-8 s1-ns-flat-8 s1-ns-graph-9 s1-ns-harmonic-11 s1-ns-joint-8 s1-ns-mean-8 s1-ns-particular-10 s1-ns-particular-8 s1-ns-partitioned-8 s1-ns-periodic-8 s1-ns-periodic-9 s1-ns-periodized-8 s1-ns-periodized-9 s1-ns-physical-8 s1-ns-positive-8 s1-ns-pressure-9 s1-ns-primary-8 s1-ns-radial-9 s1-ns-reserved-8 s1-ns-signed-8 s1-ns-smooth-3 s1-ns-smooth-8 s1-ns-state-8 s1-ns-temporal-8 s1-ns-uniform-8 s1-ns-wave-11 s1-ns-wave-8 s1-ns-weighted-10 s1-ns-weighted-12 s1-ns-weighted-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-correction-1 s2-euler-cylinder-1 s2-euler-dirichlet-1 s2-euler-div-1 s2-euler-drift-1 s2-euler-euler-1 s2-euler-field-1 s2-euler-finite-1 s2-euler-flow-1 s2-euler-gaussian-1 s2-euler-gevrey-1 s2-euler-h6-1 s2-euler-heat-1 s2-euler-initial-1 s2-euler-integral-1 s2-euler-linear-1 s2-euler-local-1 s2-euler-logarithmic-1 s2-euler-mean-1 s2-euler-metric-1 s2-euler-mixed-1 s2-euler-operator-1 s2-euler-ordinary-1 s2-euler-ordinary-2 s2-euler-packet-1 s2-euler-parameter-1 s2-euler-parent-1 s2-euler-radial-1 s2-euler-small-1 s2-euler-sobolev-1 s2-euler-squared-1 s2-euler-static-1 s2-euler-terminal-1 s2-euler-time-1 s2-euler-transport-1 s2-euler-transverse-1 s2-euler-unshifted-1 s2-euler-vorticity-1 s2-euler-weighted-1 s2-instances-1 s2-ns-activation-1 s2-ns-actual-1 s2-ns-aligned-1 s2-ns-angular-1 s2-ns-annular-1 s2-ns-axis-1 s2-ns-base-1 s2-ns-chart-1 s2-ns-closed-1 s2-ns-common-1 s2-ns-cone-1 s2-ns-coordinate-1 s2-ns-corrected-1 s2-ns-correction-1 s2-ns-covariance-1 s2-ns-current-1 s2-ns-cylindrical-1 s2-ns-diophantine-1 s2-ns-direct-1 s2-ns-extended-1 s2-ns-five-1 s2-ns-flat-1 s2-ns-future-1 s2-ns-gauge-1 s2-ns-gaussian-1 s2-ns-global-1 s2-ns-glued-1 s2-ns-growing-1 s2-ns-heat-1 s2-ns-initial-1 s2-ns-label-1 s2-ns-local-1 s2-ns-loop-1 s2-ns-matching-1 s2-ns-mean-1 s2-ns-modulated-1 s2-ns-moment-1 s2-ns-moving-1 s2-ns-native-1 s2-ns-natural-1 s2-ns-normal-1 s2-ns-outgoing-1 s2-ns-outgoing-2 s2-ns-parametric-1 s2-ns-periodic-1 s2-ns-periodized-1 s2-ns-phase-1 s2-ns-physical-1 s2-ns-polar-1 s2-ns-positive-1 s2-ns-pressure-1 s2-ns-primary-1 s2-ns-profile-1 s2-ns-pulse-1 s2-ns-r3-1 s2-ns-r3-folder-1 s2-ns-reference-1 s2-ns-renormalized-1 s2-ns-repair-1 s2-ns-reserved-1 s2-ns-reset-1 s2-ns-residual-1 s2-ns-scaled-1 s2-ns-scaled-2 s2-ns-scaling-1 s2-ns-shape-1 s2-ns-shaped-1 s2-ns-signed-1 s2-ns-similarity-1 s2-ns-slot-1 s2-ns-slow-1 s2-ns-smooth-1 s2-ns-spatial-1 s2-ns-squared-1 s2-ns-stress-1 s2-ns-tail-1 s2-ns-temporal-1 s2-ns-terminal-1 s2-ns-transition-1 s2-ns-uniform-1 s2-ns-variable-1 s2-ns-viscous-1 s2-ns-volterra-1 s2-ns-volterra-2 s5-cap-1 s5-euler-all-1 s5-euler-base-1 s5-euler-bounded-1 s5-euler-canonical-1 s5-euler-coefficient-1 s5-euler-compact-1 s5-euler-continuous-1 s5-euler-correction-1 s5-euler-cylinder-1 s5-euler-drift-1 s5-euler-duhamel-1 s5-euler-elapsed-1 s5-euler-elapsed-2 s5-euler-euler-1 s5-euler-external-1 s5-euler-field-1 s5-euler-fixed-1 s5-euler-gained-1 s5-euler-gaussian-1 s5-euler-gevrey-1 s5-euler-graph-1 s5-euler-h5-1 s5-euler-h6-1 s5-euler-heat-1 s5-euler-inviscid-1 s5-euler-lifted-1 s5-euler-linear-1 s5-euler-lp-1 s5-euler-mean-1 s5-euler-mixed-1 s5-euler-ordinary-1 s5-euler-packet-1 s5-euler-parameter-1 s5-euler-parent-1 s5-euler-physical-1 s5-euler-projected-1 s5-euler-quadratic-1 s5-euler-regularized-1 s5-euler-small-1 s5-euler-smooth-1 s5-euler-sobolev-1 s5-euler-source-1 s5-euler-stage-1 s5-euler-static-1 s5-euler-terminal-1 s5-euler-time-1 s5-euler-top-1 s5-euler-transverse-1 s5-euler-weighted-1 s5-euler-whole-1 s5-ns-actual-1 s5-ns-axis-1 s5-ns-generic-1 s5-ns-label-1 s5-ns-local-1 s5-ns-mean-1 s5-ns-moment-1 s5-ns-particular-1 s5-ns-periodic-1 s5-ns-periodize-1 s5-ns-positive-1 s5-ns-r3-folder-1 s5-ns-reference-1 s5-ns-sharp-1 s5-ns-smooth-1 s5-ns-torus-1 s5-ns-valid-1 s5-ns-whole-1 s5-ns-within-1
+0 −45 Euler/AllOrderCorrectionFamily.lean View file
| @@ -19,49 +19,4 @@ def solution {T : ℝ} (hT : 0 < T) (A : Data period T) (B : Budget period hT A) | ||
| 19 | 19 | (q : ℕ) (hq : 6 ≤ q) : C(Icc (0 : ℝ) T,SobolevSpace period (q+1)) := |
| 20 | 20 | Classical.choose (finite_exists period hT A B q hq) |
| 21 | 21 | |
| 22 | -/-- The constructed finite-order correction has zero initial trace. -/ | |
| 23 | -theorem solution_initial {T : ℝ} (hT : 0 < T) (A : Data period T) (B : Budget period hT A) | |
| 24 | - (q : ℕ) (hq : 6 ≤ q) : solution period hT A B q hq ⟨0,le_rfl,hT.le⟩=0 := | |
| 25 | - (Classical.choose_spec (finite_exists period hT A B q hq)).1 | |
| 26 | - | |
| 27 | -/-- The constructed finite-order correction satisfies the actual lifted divergence constraint. -/ | |
| 28 | -theorem solution_divergence {T : ℝ} (hT : 0 < T) (A : Data period T) (B : Budget period hT A) | |
| 29 | - (q : ℕ) (hq : 6 ≤ q) (t : Icc (0 : ℝ) T) : | |
| 30 | - value period (solution period hT A B q hq t) ∈ divergenceFreeSpace period A.κ A.direction := | |
| 31 | - (Classical.choose_spec (finite_exists period hT A B q hq)).2.1 t | |
| 32 | - | |
| 33 | -/-- The constructed correction satisfies the actual nonlinear projected-pressure equation at every interior time. -/ | |
| 34 | -theorem solution_hasDerivAt {T : ℝ} (hT : 0 < T) (A : Data period T) (B : Budget period hT A) | |
| 35 | - (q : ℕ) (hq : 6 ≤ q) (t : ℝ) (ht : t ∈ Ioo 0 T) : | |
| 36 | - HasDerivAt (fun r => value period (extendPath T hT.le (solution period hT A B q hq) r)) | |
| 37 | - (value period (((A.atOrder period q).coefficients period hq).apply | |
| 38 | - ⟨t,ht.1.le,ht.2.le⟩ (solution period hT A B q hq ⟨t,ht.1.le,ht.2.le⟩))) t := | |
| 39 | - (Classical.choose_spec (finite_exists period hT A B q hq)).2.2.2 t ht | |
| 40 | - | |
| 41 | -/-- The separately constructed solutions are genuinely the same correction after restriction; uniqueness is proved from their actual equations. -/ | |
| 42 | -theorem solution_compatible {T : ℝ} (hT : 0 < T) (A : Data period T) (B : Budget period hT A) | |
| 43 | - (q : ℕ) (hq : 6 ≤ q) : | |
| 44 | - (truncateOperator period (q+1)).compLeftContinuous ℝ (Icc (0 : ℝ) T) | |
| 45 | - (solution period hT A B (q+1) (hq.trans (Nat.le_succ q))) = solution period hT A B q hq := by | |
| 46 | - have hs : StabilityBudget period hT.le | |
| 47 | - (lowerData period (A.atOrder period (q+1)) (A.metric.jet q) (A.linear.jet q) | |
| 48 | - (fun i => (A.quadratic i).jet q) (A.metric.continuous q) (A.linear.continuous q) | |
| 49 | - (fun i => (A.quadratic i).continuous q)) := by | |
| 50 | - rw [A.lower_atOrder period q] | |
| 51 | - exact stabilityBudget period hT A B q | |
| 52 | - apply inviscid_corrections_compatible period hq T hT.le (A.atOrder period (q+1)) | |
| 53 | - (A.metric.jet q) (A.linear.jet q) (fun i => (A.quadratic i).jet q) | |
| 54 | - (A.metric.continuous q) (A.linear.continuous q) (fun i => (A.quadratic i).continuous q) | |
| 55 | - (solution period hT A B (q+1) (hq.trans (Nat.le_succ q))) | |
| 56 | - (solution_hasDerivAt period hT A B (q+1) (hq.trans (Nat.le_succ q))) hs | |
| 57 | - (solution period hT A B q hq) | |
| 58 | - · simpa only [A.lower_atOrder period q] using solution_hasDerivAt period hT A B q hq | |
| 59 | - · rw [solution_initial,solution_initial,map_zero] | |
| 60 | - · intro t | |
| 61 | - change value period (A.approximation.realization ((q+1)+1) t) ∈ _ | |
| 62 | - rw [A.approximation.value_eq] | |
| 63 | - exact B.divergence t | |
| 64 | - · exact solution_divergence period hT A B (q+1) (hq.trans (Nat.le_succ q)) | |
| 65 | - · exact solution_divergence period hT A B q hq | |
| 66 | - | |
| 67 | 22 | end EulerAllOrderCorrectionFamily |
+0 −28 Euler/AllOrderCorrectionStability.lean View file
| @@ -13,32 +13,4 @@ open MeasureTheory Set EulerLiftedGradientSpace EulerLiftedPressure EulerCylinde | ||
| 13 | 13 | |
| 14 | 14 | variable (period : ℝ) [Fact (0 < period)] |
| 15 | 15 | |
| 16 | -/-- The genuine base-order data bounds construct the comparison budget at every Sobolev order of the coherent coefficient family. -/ | |
| 17 | -def stabilityBudget {T : ℝ} (hT : 0 < T) (A : Data period T) (B : Budget period hT A) (q : ℕ) : | |
| 18 | - StabilityBudget period hT.le (A.atOrder period q) where | |
| 19 | - metric := B.metric.metric | |
| 20 | - continuous := B.metric.continuous | |
| 21 | - derivative := B.metric.derivative | |
| 22 | - hasDeriv := B.metric.hasDeriv | |
| 23 | - c := B.metric.c | |
| 24 | - c_pos := B.metric.c_pos | |
| 25 | - symmetric := B.metric.symmetric | |
| 26 | - coercive := B.metric.coercive | |
| 27 | - inverse := B.metric.inverse | |
| 28 | - bound := B.metric.bound | |
| 29 | - first := B.metric.first | |
| 30 | - time := B.metric.time | |
| 31 | - linear := (B.spatial 6 le_rfl).A0 | |
| 32 | - quadratic := (B.spatial 6 le_rfl).A2 | |
| 33 | - bound_le t := (coefficientOperator_norm_le (B.metric.metric t).coefficient | |
| 34 | - (B.metric.metric t).measurable (B.metric.metric t).bound (B.metric.metric t).norm_bound).trans | |
| 35 | - (B.metric.bound_le t) | |
| 36 | - first_le := B.metric.first_le | |
| 37 | - time_le := B.metric.time_le | |
| 38 | - linear_le t := (coefficient_bound_le_weighted period (A.linear.jet 8 t) 2 (B.radius t) | |
| 39 | - ((B.spatial 6 le_rfl).radius_pos t)).trans ((B.spatial 6 le_rfl).linear t) | |
| 40 | - quadratic_le t := (Finset.sum_le_sum (fun i (_ : i ∈ (Finset.univ : Finset (Fin 3))) => | |
| 41 | - coefficient_bound_le_weighted period ((A.quadratic i).jet 8 t) 2 (B.radius t) | |
| 42 | - ((B.spatial 6 le_rfl).radius_pos t))).trans ((B.spatial 6 le_rfl).quadratic t) | |
| 43 | - | |
| 44 | 16 | end EulerAllOrderCorrectionBudget |
+0 −70 Euler/AllOrderPressureCoherence.lean View file
| @@ -15,74 +15,4 @@ open scoped Topology | ||
| 15 | 15 | |
| 16 | 16 | variable (period : ℝ) [Fact (0 < period)] |
| 17 | 17 | |
| 18 | -/-- The actual continuous nonlinear raw source at a finite Sobolev order. -/ | |
| 19 | -def rawSourcePath {T : ℝ} (hT : 0 < T) (A : Data period T) (B : Budget period hT A) | |
| 20 | - (q : ℕ) (hq : 6 ≤ q) : C(Icc (0 : ℝ) T,SobolevSpace period q) := | |
| 21 | - rawPath period hq (A.atOrder period q) (solution period hT A B q hq) | |
| 22 | - | |
| 23 | -/-- The actual continuous signed coercive pressure at a finite Sobolev order. -/ | |
| 24 | -def signedPressurePath {T : ℝ} (hT : 0 < T) (A : Data period T) (B : Budget period hT A) | |
| 25 | - (q : ℕ) (hq : 6 ≤ q) : C(Icc (0 : ℝ) T,SobolevSpace period q) := | |
| 26 | - pressurePath period hq (A.atOrder period q) (solution period hT A B q hq) | |
| 27 | - | |
| 28 | -/-- The genuine raw sources of the constructed solutions restrict exactly across adjacent orders. -/ | |
| 29 | -theorem rawSourcePath_truncate {T : ℝ} (hT : 0 < T) (A : Data period T) (B : Budget period hT A) | |
| 30 | - (q : ℕ) (hq : 6 ≤ q) (t : Icc (0 : ℝ) T) : | |
| 31 | - truncateOperator period q (rawSourcePath period hT A B (q+1) (hq.trans (Nat.le_succ q)) t) = | |
| 32 | - rawSourcePath period hT A B q hq t := by | |
| 33 | - have h := truncate_rawSource period hq (A.atOrder period (q+1)) | |
| 34 | - (A.metric.jet q) (A.linear.jet q) (fun i => (A.quadratic i).jet q) | |
| 35 | - (A.metric.continuous q) (A.linear.continuous q) (fun i => (A.quadratic i).continuous q) | |
| 36 | - t (solution period hT A B (q+1) (hq.trans (Nat.le_succ q)) t) | |
| 37 | - rw [A.lower_atOrder period q] at h | |
| 38 | - have he := congrArg (fun f => f t) (solution_compatible period hT A B q hq) | |
| 39 | - change truncateOperator period (q+1) (solution period hT A B (q+1) (hq.trans (Nat.le_succ q)) t)= | |
| 40 | - solution period hT A B q hq t at he | |
| 41 | - rw [he] at h | |
| 42 | - exact h | |
| 43 | - | |
| 44 | -/-- Adjacent genuine raw sources represent the same actual L² field. -/ | |
| 45 | -theorem rawSourcePath_value_succ {T : ℝ} (hT : 0 < T) (A : Data period T) (B : Budget period hT A) | |
| 46 | - (q : ℕ) (hq : 6 ≤ q) (t : Icc (0 : ℝ) T) : | |
| 47 | - value period (rawSourcePath period hT A B (q+1) (hq.trans (Nat.le_succ q)) t)= | |
| 48 | - value period (rawSourcePath period hT A B q hq t) := | |
| 49 | - congrArg (value period (q := q)) (rawSourcePath_truncate period hT A B q hq t) | |
| 50 | - | |
| 51 | -/-- The actual signed coercive pressures represent the same L² field at adjacent Sobolev orders. -/ | |
| 52 | -theorem signedPressurePath_value_succ {T : ℝ} (hT : 0 < T) (A : Data period T) (B : Budget period hT A) | |
| 53 | - (q : ℕ) (hq : 6 ≤ q) (t : Icc (0 : ℝ) T) : | |
| 54 | - value period (signedPressurePath period hT A B (q+1) (hq.trans (Nat.le_succ q)) t)= | |
| 55 | - value period (signedPressurePath period hT A B q hq t) := by | |
| 56 | - change -value period (pressureSobolevOperator period (A.metric.jet (q+1) t) A.κ A.direction | |
| 57 | - A.coercivity A.coercivity_pos (A.metric_pos t) | |
| 58 | - (rawSourcePath period hT A B (q+1) (hq.trans (Nat.le_succ q)) t)) = | |
| 59 | - -value period (pressureSobolevOperator period (A.metric.jet q t) A.κ A.direction | |
| 60 | - A.coercivity A.coercivity_pos (A.metric_pos t) (rawSourcePath period hT A B q hq t)) | |
| 61 | - rw [pressureSobolevOperator_value,pressureSobolevOperator_value,rawSourcePath_value_succ] | |
| 62 | - | |
| 63 | -/-- Every finite-order signed pressure represents the same actual base pressure. -/ | |
| 64 | -theorem signedPressurePath_value_base {T : ℝ} (hT : 0 < T) (A : Data period T) (B : Budget period hT A) | |
| 65 | - (q : ℕ) (hq : 6 ≤ q) (t : Icc (0 : ℝ) T) : | |
| 66 | - value period (signedPressurePath period hT A B q hq t)= | |
| 67 | - value period (signedPressurePath period hT A B 6 le_rfl t) := by | |
| 68 | - exact Nat.le_induction (P := fun n hn => value period (signedPressurePath period hT A B n hn t)= | |
| 69 | - value period (signedPressurePath period hT A B 6 le_rfl t)) rfl | |
| 70 | - (fun n hn ih => (signedPressurePath_value_succ period hT A B n hn t).trans ih) q hq | |
| 71 | - | |
| 72 | -/-- The common actual signed pressure is a continuous L² path. -/ | |
| 73 | -def commonPressure {T : ℝ} (hT : 0 < T) (A : Data period T) (B : Budget period hT A) : | |
| 74 | - C(Icc (0 : ℝ) T,LiftL2 period) := | |
| 75 | - (valueOperator period 6).compLeftContinuous ℝ (Icc (0 : ℝ) T) (signedPressurePath period hT A B 6 le_rfl) | |
| 76 | - | |
| 77 | -/-- Every finite-order pressure realizes the common pressure field. -/ | |
| 78 | -theorem signedPressurePath_value_common {T : ℝ} (hT : 0 < T) (A : Data period T) (B : Budget period hT A) | |
| 79 | - (q : ℕ) (hq : 6 ≤ q) (t : Icc (0 : ℝ) T) : | |
| 80 | - value period (signedPressurePath period hT A B q hq t)=commonPressure period hT A B t := | |
| 81 | - signedPressurePath_value_base period hT A B q hq t | |
| 82 | - | |
| 83 | -/-- The common actual correction pressure belongs to the closed lifted gradient subspace. -/ | |
| 84 | -theorem commonPressure_gradient {T : ℝ} (hT : 0 < T) (A : Data period T) (B : Budget period hT A) | |
| 85 | - (t : Icc (0 : ℝ) T) : commonPressure period hT A B t ∈ gradientSpace period A.κ A.direction := | |
| 86 | - (A.atOrder period 6).pressure_mem_gradient period le_rfl t (solution period hT A B 6 le_rfl t) | |
| 87 | - | |
| 88 | 18 | end EulerAllOrderPressureCoherence |
+0 −7 Euler/AllOrderSmoothPressure.lean View file
| @@ -16,11 +16,4 @@ open scoped Topology ContDiff | ||
| 16 | 16 | |
| 17 | 17 | variable (period : ℝ) [Fact (0 < period)] |
| 18 | 18 | |
| 19 | -/-- Every strong derivative order of the common actual signed pressure is supplied by a constructed finite Sobolev realization. -/ | |
| 20 | -def pressureJet {T : ℝ} (hT : 0 < T) (A : Data period T) (B : Budget period hT A) | |
| 21 | - (n : ℕ) (t : Icc (0 : ℝ) T) : SpatialJet period standardDirection n (commonPressure period hT A B t) := by | |
| 22 | - rw [← signedPressurePath_value_common period hT A B (n+6) (by omega) t] | |
| 23 | - exact EulerH6Pressure.SpatialJet.restrict | |
| 24 | - (toJet period (signedPressurePath period hT A B (n+6) (by omega) t)) n (by omega) | |
| 25 | - | |
| 26 | 19 | end EulerAllOrderSmoothPressure |
+0 −20 Euler/CorrectionAssemblyParity.lean View file
| @@ -80,24 +80,4 @@ theorem continuous_representative_odd (u : LiftL2 period) (g : LiftDomain period | ||
| 80 | 80 | rfl |
| 81 | 81 | exact congrFun (MeasureTheory.Measure.eq_of_ae_eq ha (hg.comp continuous_neg) hg.neg) |
| 82 | 82 | |
| 83 | -/-- The actual signed coercive pressure is odd at every finite Sobolev order. -/ | |
| 84 | -theorem FiniteFamily.signedPressurePath_odd (F : FiniteFamily period hT A) | |
| 85 | - (C : ComparisonData period hT A) (P : ParityData period A) | |
| 86 | - (q : ℕ) (hq : 6 ≤ q) (t : Icc (0 : ℝ) T) : | |
| 87 | - oddReflection period q (F.signedPressurePath period q hq t) = | |
| 88 | - F.signedPressurePath period q hq t := by | |
| 89 | - exact inviscid_correction_pressure_odd period hq (A.atOrder period q) t | |
| 90 | - (P.metric t) (P.linear t) (P.quadratic t) | |
| 91 | - (fieldTower_realization_odd period A.approximation P.approximation (q+1) t) | |
| 92 | - (fieldTower_realization_odd period A.residual P.residual q t) | |
| 93 | - (F.solution q hq t) (F.solution_odd period C P q hq t) | |
| 94 | - | |
| 95 | -/-- The actual assembled signed pressure gradient is odd in L². -/ | |
| 96 | -theorem FiniteFamily.commonPressure_odd (F : FiniteFamily period hT A) | |
| 97 | - (C : ComparisonData period hT A) (P : ParityData period A) (t : Icc (0 : ℝ) T) : | |
| 98 | - -reflection period (F.commonPressure period t) = F.commonPressure period t := by | |
| 99 | - have h := congrArg (value period (q := 6)) (F.signedPressurePath_odd period C P 6 le_rfl t) | |
| 100 | - rw [value_oddReflection] at h | |
| 101 | - exact h | |
| 102 | - | |
| 103 | 83 | end EulerCorrectionAssembly |
+0 −11 Euler/CorrectionAssemblyPressureParity.lean View file
| @@ -26,15 +26,4 @@ open scoped ContDiff | ||
| 26 | 26 | variable (period : ℝ) [Fact (0 < period)] |
| 27 | 27 | variable {T : ℝ} {hT : 0 < T} {A : Data period T} |
| 28 | 28 | |
| 29 | -/-- The canonical pressure representative is pointwise odd, as a consequence | |
| 30 | -of genuine PDE uniqueness and parity of the prescribed data. -/ | |
| 31 | -theorem FiniteFamily.pointPressure_odd (F : FiniteFamily period hT A) | |
| 32 | - (C : ComparisonData period hT A) (P : ParityData period A) | |
| 33 | - (t : Icc (0 : ℝ) T) (x : LiftDomain period) : | |
| 34 | - F.pointPressure period t (-x) = -F.pointPressure period t x := | |
| 35 | - continuous_representative_odd period (F.commonPressure period t) | |
| 36 | - (F.pointPressure period t) (F.commonPressure_odd period C P t) | |
| 37 | - (Continuous.uncurry_left t (F.pointPressure_joint_continuous period)) | |
| 38 | - (F.pointPressure_ae period t) x | |
| 39 | - | |
| 40 | 29 | end EulerCorrectionAssembly |
+0 −5 Euler/CorrectionAssemblyReconstruction.lean View file
| @@ -74,11 +74,6 @@ def FiniteFamily.normalizedGraphPotential (F : FiniteFamily period hT A) (k : | ||
| 74 | 74 | (t : Icc (0 : ℝ) T) (x : Vector3) : ℝ := |
| 75 | 75 | radialPotential (F.graphPressure period k t) x |
| 76 | 76 | |
| 77 | -/-- The normalized scalar pressure is jointly continuous, including both endpoint time slices. -/ | |
| 78 | -theorem FiniteFamily.normalizedGraphPotential_joint_continuous (F : FiniteFamily period hT A) (k : ℝ) : | |
| 79 | - Continuous (F.normalizedGraphPotential period k).uncurry := | |
| 80 | - radialPotential_joint_continuous _ (F.graphPressure_joint_continuous period k) | |
| 81 | - | |
| 82 | 77 | /-- The normalized scalar pressure is spatially smooth at every time. -/ |
| 83 | 78 | theorem FiniteFamily.normalizedGraphPotential_smooth (F : FiniteFamily period hT A) |
| 84 | 79 | (C : ComparisonData period hT A) (k : ℝ) (hk : k * A.κ = 1) (t : Icc (0 : ℝ) T) : |
+0 −12 Euler/CorrectionAssemblyTime.lean View file
| @@ -16,16 +16,4 @@ open MeasureTheory Set EulerLiftedGradientSpace EulerCylinderSobolevSpace EulerA | ||
| 16 | 16 | variable (period : ℝ) [Fact (0 < period)] |
| 17 | 17 | variable {T : ℝ} {hT : 0 < T} {A : Data period T} |
| 18 | 18 | |
| 19 | -/-- The canonical pointwise nonlinear raw source of the actual common correction. -/ | |
| 20 | -def FiniteFamily.pointRawSource (F : FiniteFamily period hT A) | |
| 21 | - (t : Icc (0 : ℝ) T) (x : LiftDomain period) : Vector3 := | |
| 22 | - pointEvaluation period x (restrictOperator period (by omega : 3 ≤ 6) | |
| 23 | - (F.rawSourcePath period 6 le_rfl t)) | |
| 24 | - | |
| 25 | -/-- The canonical actual time derivative, defined by bounded evaluation of the genuine continuous Sobolev source. -/ | |
| 26 | -def FiniteFamily.pointTimeDerivative (F : FiniteFamily period hT A) | |
| 27 | - (t : Icc (0 : ℝ) T) (x : LiftDomain period) : Vector3 := | |
| 28 | - pointEvaluation period x (restrictOperator period (by omega : 3 ≤ 6) | |
| 29 | - (((A.atOrder period 6).coefficients period le_rfl).apply t (F.solution 6 le_rfl t))) | |
| 30 | - | |
| 31 | 19 | end EulerCorrectionAssembly |
+0 −7 Euler/ExactLiftedGraphPressure.lean View file
| @@ -36,13 +36,6 @@ theorem graphPressure_has_potential (k : ℝ) (hk : k*A.κ=1) (t : Icc (0 : ℝ) | ||
| 36 | 36 | def graphPotential (k : ℝ) (t : Icc (0 : ℝ) T) : Vector3 → ℝ := |
| 37 | 37 | radialPotential (S.graphPressure k t) |
| 38 | 38 | |
| 39 | -theorem graphPotential_zero (k : ℝ) (t : Icc (0 : ℝ) T) : | |
| 40 | - S.graphPotential k t 0 = 0 := radialPotential_zero _ | |
| 41 | - | |
| 42 | -theorem graphPotential_joint_continuous (k : ℝ) : | |
| 43 | - Continuous (S.graphPotential k).uncurry := | |
| 44 | - radialPotential_joint_continuous _ (S.graphPressure_joint_continuous k) | |
| 45 | - | |
| 46 | 39 | theorem graphPotential_smooth (k : ℝ) (hk : k*A.κ=1) (t : Icc (0 : ℝ) T) : |
| 47 | 40 | ContDiff ℝ ∞ (S.graphPotential k t) := by |
| 48 | 41 | obtain ⟨q,hq,hgrad⟩ := S.graphPressure_has_potential k hk t |
+0 −32 Euler/LpBochnerRealization.lean View file
| @@ -25,40 +25,8 @@ theorem norm_sq_eq_integral (u : Lp E 2 μ) : | ||
| 25 | 25 | rw [ENNReal.toReal_ofReal (Real.rpow_nonneg (integral_nonneg (fun _ => sq_nonneg _)) _)] |
| 26 | 26 | rw [inv_eq_one_div, ← Real.sqrt_eq_rpow, Real.sq_sqrt (integral_nonneg (fun _ => sq_nonneg _))] |
| 27 | 27 | |
| 28 | -theorem fiber_integral (w : Lp (Lp E 2 ν) 2 μ) (f : α × β → E) | |
| 29 | - (hrep : ∀ᵐ x ∂μ, (w x : β → E) =ᵐ[ν] fun y => f (x,y)) : | |
| 30 | - (fun x => ∫ y, ‖f (x,y)‖^2 ∂ν) =ᵐ[μ] fun x => ‖w x‖^2 := by | |
| 31 | - filter_upwards [hrep] with x hx | |
| 32 | - rw [norm_sq_eq_integral] | |
| 33 | - apply integral_congr_ae | |
| 34 | - filter_upwards [hx] with y hy | |
| 35 | - rw [hy] | |
| 36 | - | |
| 37 | 28 | variable [SFinite ν] |
| 38 | 29 | |
| 39 | -theorem field_memLp (w : Lp (Lp E 2 ν) 2 μ) (f : α × β → E) | |
| 40 | - (hf : AEStronglyMeasurable f (μ.prod ν)) | |
| 41 | - (hrep : ∀ᵐ x ∂μ, (w x : β → E) =ᵐ[ν] fun y => f (x,y)) : | |
| 42 | - MemLp f 2 (μ.prod ν) := by | |
| 43 | - apply (memLp_two_iff_integrable_sq_norm hf).2 | |
| 44 | - apply (integrable_prod_iff (hf.norm.pow 2)).2 | |
| 45 | - constructor | |
| 46 | - · filter_upwards [hrep] with x hx | |
| 47 | - have hm : MemLp (fun y => f (x,y)) 2 ν := (memLp_congr_ae hx).1 (Lp.memLp (w x)) | |
| 48 | - exact (memLp_two_iff_integrable_sq_norm hm.aestronglyMeasurable).1 hm | |
| 49 | - · have ho : Integrable (fun x => ‖w x‖^2) μ := | |
| 50 | - (memLp_two_iff_integrable_sq_norm (Lp.aestronglyMeasurable w)).1 (Lp.memLp w) | |
| 51 | - apply ho.congr | |
| 52 | - filter_upwards [fiber_integral w f hrep] with x hx | |
| 53 | - change ‖w x‖^2 = ∫ y, ‖‖f (x,y)‖^2‖ ∂ν | |
| 54 | - simpa only [norm_pow, norm_norm] using hx.symm | |
| 55 | - | |
| 56 | -/-- The genuine product-space representative of the given nested L² element. -/ | |
| 57 | -def realization (w : Lp (Lp E 2 ν) 2 μ) (f : α × β → E) | |
| 58 | - (hf : AEStronglyMeasurable f (μ.prod ν)) | |
| 59 | - (hrep : ∀ᵐ x ∂μ, (w x : β → E) =ᵐ[ν] fun y => f (x,y)) : Lp E 2 (μ.prod ν) := | |
| 60 | - (field_memLp w f hf hrep).toLp f | |
| 61 | - | |
| 62 | 30 | variable [SFinite μ] |
| 63 | 31 | |
| 64 | 32 | end EulerLpBochnerRealization |
+0 −3 Euler/PacketPointJets.lean View file
| @@ -22,9 +22,6 @@ def angleDirection : Domain := (0, (0, 1)) | ||
| 22 | 22 | def spatialInjection : Space →L[ℝ] Domain := |
| 23 | 23 | (0 : Space →L[ℝ] ℝ).prod ((ContinuousLinearMap.id ℝ Space).prod (0 : Space →L[ℝ] ℝ)) |
| 24 | 24 | |
| 25 | -def jet {E : Type*} [NormedAddCommGroup E] [NormedSpace ℝ E] | |
| 26 | - (f : Domain → E) (z : Domain) : Jet E := (f z, fderiv ℝ f z) | |
| 27 | - | |
| 28 | 25 | def linearPart (M : Space →L[ℝ] Space) : VectorJet →ₗ[ℝ] Space where |
| 29 | 26 | toFun J := J.2 timeDirection + M J.1 |
| 30 | 27 | map_add' J K := by simp [add_add_add_comm] |
+0 −76 Euler/VolumeSobolevComposition.lean View file
| @@ -15,83 +15,7 @@ variable (f g : Vector3 → Vector3) (hf : ContDiff ℝ ∞ f) (hg : ContDiff | ||
| 15 | 15 | (n : ℕ) (D : ℝ) (hD : 0 ≤ D) |
| 16 | 16 | (hjet : ∀ i, 1 ≤ i → i ≤ n → ∀ x, ‖iteratedFDeriv ℝ i f x‖ ≤ D^i) |
| 17 | 17 | |
| 18 | -include hf hg hjet in | |
| 19 | -theorem compositionTensor_pointwise (x : Vector3) : | |
| 20 | - ‖iteratedFDeriv ℝ n (g ∘ f) x‖ ≤ | |
| 21 | - ((n.factorial : ℝ)*D^n) * ∑ i : Fin (n+1), ‖iteratedFDeriv ℝ i.val g (f x)‖ := by | |
| 22 | - have h := norm_iteratedFDeriv_comp_le hg hf (by simp : (n : ℕ∞ω) ≤ (∞ : ℕ∞ω)) x | |
| 23 | - (C := ∑ i : Fin (n+1), ‖iteratedFDeriv ℝ i.val g (f x)‖) (D := D) | |
| 24 | - (fun i hi => Finset.single_le_sum | |
| 25 | - (f := fun j : Fin (n+1) => ‖iteratedFDeriv ℝ j.val g (f x)‖) | |
| 26 | - (fun _ _ => norm_nonneg _) | |
| 27 | - (Finset.mem_univ (⟨i,by omega⟩ : Fin (n+1)))) | |
| 28 | - (fun i h1 hi => hjet i h1 hi x) | |
| 29 | - exact h.trans_eq (by ring) | |
| 30 | - | |
| 31 | 18 | variable (hmp : MeasurePreserving f volume volume) |
| 32 | 19 | (hLp : ∀ i, i ≤ n → MemLp (iteratedFDeriv ℝ i g) 2 volume) |
| 33 | 20 | |
| 34 | -include hmp hLp in | |
| 35 | -theorem composedJetNorm_memLp (i : Fin (n+1)) : | |
| 36 | - MemLp (fun x => ‖iteratedFDeriv ℝ i.val g (f x)‖) 2 volume := | |
| 37 | - ((hLp i (by omega)).norm).comp_measurePreserving hmp | |
| 38 | - | |
| 39 | -include hf hg hD hjet hmp hLp in | |
| 40 | -theorem compositionTensor_memLp : | |
| 41 | - MemLp (iteratedFDeriv ℝ n (g ∘ f)) 2 volume := by | |
| 42 | - have hs : MemLp (fun x => ∑ i : Fin (n+1), ‖iteratedFDeriv ℝ i.val g (f x)‖) 2 volume := | |
| 43 | - memLp_finsetSum _ (fun i _ => composedJetNorm_memLp f g n hmp hLp i) | |
| 44 | - have hc : Continuous (iteratedFDeriv ℝ n (g ∘ f)) := | |
| 45 | - (hg.comp hf).continuous_iteratedFDeriv (by simp) | |
| 46 | - apply (hs.const_mul ((n.factorial : ℝ)*D^n)).of_le hc.aestronglyMeasurable | |
| 47 | - filter_upwards [] with x | |
| 48 | - rw [Real.norm_of_nonneg (mul_nonneg (by positivity) | |
| 49 | - (Finset.sum_nonneg (fun _ _ => norm_nonneg _)))] | |
| 50 | - exact compositionTensor_pointwise f g hf hg n D hjet x | |
| 51 | - | |
| 52 | -def compositionTensorLp : | |
| 53 | - Lp (Vector3 [×n]→L[ℝ] Vector3) 2 (volume : Measure Vector3) := | |
| 54 | - (compositionTensor_memLp f g hf hg n D hD hjet hmp hLp).toLp (iteratedFDeriv ℝ n (g ∘ f)) | |
| 55 | - | |
| 56 | -theorem compositionTensorLp_norm_le : | |
| 57 | - ‖compositionTensorLp f g hf hg n D hD hjet hmp hLp‖ ≤ | |
| 58 | - ((n.factorial : ℝ)*D^n) * ∑ i : Fin (n+1), | |
| 59 | - (eLpNorm (iteratedFDeriv ℝ i.val g) 2 volume).toReal := by | |
| 60 | - let β : ℝ≥0 := ⟨(n.factorial : ℝ)*D^n,by positivity⟩ | |
| 61 | - have hA : eLpNorm (iteratedFDeriv ℝ n (g ∘ f)) 2 volume ≤ | |
| 62 | - (β : ℝ≥0∞)*eLpNorm (fun x => ∑ i : Fin (n+1), ‖iteratedFDeriv ℝ i.val g (f x)‖) 2 volume := by | |
| 63 | - apply eLpNorm_le_nnreal_smul_eLpNorm_of_ae_le_mul | |
| 64 | - filter_upwards [] with x | |
| 65 | - apply NNReal.coe_le_coe.mp | |
| 66 | - change ‖iteratedFDeriv ℝ n (g ∘ f) x‖ ≤ ((n.factorial : ℝ)*D^n)* | |
| 67 | - ‖∑ i : Fin (n+1), ‖iteratedFDeriv ℝ i.val g (f x)‖‖ | |
| 68 | - rw [Real.norm_of_nonneg (Finset.sum_nonneg (fun _ _ => norm_nonneg _))] | |
| 69 | - exact compositionTensor_pointwise f g hf hg n D hjet x | |
| 70 | - have he : (fun x => ∑ i : Fin (n+1), ‖iteratedFDeriv ℝ i.val g (f x)‖) = | |
| 71 | - ∑ i : Fin (n+1), (fun x => ‖iteratedFDeriv ℝ i.val g (f x)‖) := by | |
| 72 | - funext x | |
| 73 | - simp only [Finset.sum_apply] | |
| 74 | - rw [he] at hA | |
| 75 | - have hB := eLpNorm_sum_le (fun i (_ : i ∈ (Finset.univ : Finset (Fin (n+1)))) => | |
| 76 | - (composedJetNorm_memLp f g n hmp hLp i).aestronglyMeasurable) | |
| 77 | - (by norm_num : (1 : ℝ≥0∞) ≤ 2) | |
| 78 | - have hc (i : Fin (n+1)) : eLpNorm (fun x => ‖iteratedFDeriv ℝ i.val g (f x)‖) 2 volume = | |
| 79 | - eLpNorm (iteratedFDeriv ℝ i.val g) 2 volume := by | |
| 80 | - change eLpNorm ((fun y => ‖iteratedFDeriv ℝ i.val g y‖) ∘ f) 2 volume = _ | |
| 81 | - rw [eLpNorm_comp_measurePreserving (hLp i (by omega)).aestronglyMeasurable.norm hmp,eLpNorm_norm] | |
| 82 | - simp_rw [hc] at hB | |
| 83 | - have hAB : eLpNorm (iteratedFDeriv ℝ n (g ∘ f)) 2 volume ≤ | |
| 84 | - (β : ℝ≥0∞)*∑ i : Fin (n+1), eLpNorm (iteratedFDeriv ℝ i.val g) 2 volume := by | |
| 85 | - exact hA.trans (mul_le_mul le_rfl hB (by positivity) (by positivity)) | |
| 86 | - have hfin : (β : ℝ≥0∞)*∑ i : Fin (n+1), | |
| 87 | - eLpNorm (iteratedFDeriv ℝ i.val g) 2 volume ≠ ⊤ := | |
| 88 | - ENNReal.mul_ne_top ENNReal.coe_ne_top | |
| 89 | - (ENNReal.sum_ne_top.2 (fun i _ => (hLp i (by omega)).eLpNorm_ne_top)) | |
| 90 | - have hR := ENNReal.toReal_mono hfin hAB | |
| 91 | - rw [ENNReal.toReal_mul,ENNReal.coe_toReal, | |
| 92 | - ENNReal.toReal_sum (fun (i : Fin (n+1)) _ => (hLp i.val (by omega)).eLpNorm_ne_top)] at hR | |
| 93 | - have hβ : (β : ℝ) = (n.factorial : ℝ)*D^n := rfl | |
| 94 | - rw [hβ] at hR | |
| 95 | - simpa only [compositionTensorLp,Lp.norm_toLp] using hR | |
| 96 | - | |
| 97 | 21 | end EulerVolumeSobolevComposition |
+4 −4 KNOWN.md View file
| @@ -17,10 +17,10 @@ What is established about this problem, one fact a line, each with where it come | ||
| 17 | 17 | ## Mind |
| 18 | 18 | |
| 19 | 19 | - Build queue waits follow the backlog: build jobs submitted 21:59–22:47 waited up to 43 minutes to start (job 4706, submitted 21:59, started 22:42), while those submitted 23:16–23:41 started within a minute (job 4795, job 4817). |
| 20 | -- [mind, checked] Checks can arrive in one batch: 35 heads on `s1-*` branches took challenge passes 20:02–20:07, each reading 2,588 files and its own tree's 535,952–537,699 lines, and 19 build successes on `s1-ns-*` heads landed 21:41–21:58, 17 more at 22:08–22:28 (commit 4c91414, commit 092df93). | |
| 21 | -- Main advances several commits a minute: 25 challenge successes on main landed 22:45–22:50, and 40 build successes 23:27–23:55 on top of 13 at 22:45–22:54, so a tip named in a reading already trails them (commit a716ddf, commit 8f7dec3, commit 76c3e57). | |
| 22 | -- [mind, checked] A pending build is a queue, not a failure: three 50-build batches submitted 19:58–21:56 all started by 22:33, and the 50 submitted 21:32–22:25 all started by 22:46 after waits of 21–43 minutes, with build successes on main landing 22:51–23:23 (job 4751, commit a32e3f8). | |
| 23 | -- A challenge verdict counts its own head's tree, so counts drift as main shrinks: 522,484–523,968 lines at 22:08–22:28, 509,509–520,268 at 22:45–22:50, six `s1-*` heads at 509,043–509,417 on 23:16–23:18, and main at 509,447 at 23:41 (commit 3d76fc3, commit 06b8339). | |
| 20 | +- [mind, checked] Checks can arrive in one batch: 35 `s1-*-3` heads took challenge passes 00:24–00:28, each reading 2,588 files, with build jobs submitted the same minutes; 19 build successes had landed 21:41–21:58 (commit 4c91414, commit 35780fd, job 4833). | |
| 21 | +- Main advances several commits a minute: 25 challenge successes on main landed 22:45–22:50, nine build successes at 00:01–00:10, and four more build successes 00:56–01:16 at 99ac652, 74d1676, 3b92ae6, a2ba7e9, so a named tip already trails them (commit a716ddf, commit a2ba7e9). | |
| 22 | +- A pending build is a queue, not a failure: 50 builds submitted 21:32–22:25 started by 22:46 after waits of 21–43 minutes, while those submitted 00:22–01:01 all started within a minute (job 4751, job 4939, job 4988). | |
| 23 | +- A challenge verdict counts its own head's tree, so counts drift: 507,096 and 507,159 on two `s1-ns-mean-1` heads 33 minutes apart, up to 508,161 on `s1-ns-prepared-6`, and 508,630 against 508,164 on two main heads (commit 1e33d3e, commit 82f11ab, commit a1c60d0). | |
| 24 | 24 | - A challenge pass says nothing about the build: 509d828 passed challenge at 17:35 and failed its build at 17:39 (`Invalid field angularContinuous`); c4c7f0b passed challenge at 22:50 and its build is still queued (commit 509d828, commit c4c7f0b, job 4792). |
| 25 | 25 | - ~~Build has filed no verdict since 12-02 14:50, so a challenge success after that has no build behind it: six build jobs were submitted at 12-04 02:56, two each on main, p4-euler-section-6 and maintainer-statement, and all six are still pending (job 2168, job 2176, job 2181).~~ Build has since filed verdicts, on 12-04 03:09–03:52, for all six heads submitted at 02:56 (main 530a644 and 0bbf0b4, maintainer-statement 7131c8c, p4-euler-section-6 e86853a, plus p5-h3-approximation-doc 828caff, p2-correction-covariance 642c67e, p2-correction-full-residual d4072c4), so none is left pending (commit 530a644, commit 0bbf0b4, commit 7131c8c, commit 642c67e) |
| 26 | 26 | - Checks repeat for one head across rounds, not only at a submission: 7131c8c and e86853a got two challenge successes at 02:56, builds at 03:11–03:14 and builds again at 06:38, and 642c67e was re-challenged at 07:16 after 03:23 (commit 7131c8c, commit e86853a, commit 642c67e). |
+0 −10 NavierStokes/ActualCurrentWaveSupport.lean View file
| @@ -144,16 +144,6 @@ theorem BandAnnulus.axis_zero_germ {h a b : ℝ} (hh : 0 < h) (hh1 : h < 1 / 2) | ||
| 144 | 144 | rw [profileRadius_zero_of_axis h haxis] |
| 145 | 145 | exact fun hc => (not_le_of_gt ha) hc.1 |
| 146 | 146 | |
| 147 | -theorem BandAnnulus.map_zero {F : Type*} [NormedAddCommGroup F] | |
| 148 | - {h a b : ℝ} {N : ℕ} {f : ℕ → SpaceTime → E} | |
| 149 | - (hs : BandAnnulus h a b N f) (T : ℕ → SpaceTime → E → F) | |
| 150 | - (hT : ∀ n w, T n w 0 = 0) : | |
| 151 | - BandAnnulus h a b N (fun n w => T n w (f n w)) := by | |
| 152 | - intro n hn w hw hne | |
| 153 | - apply hs n hn w hw | |
| 154 | - intro hz | |
| 155 | - exact hne (by change T n w (f n w) = 0; rw [hz, hT]) | |
| 156 | - | |
| 157 | 147 | theorem BandAnnulus.add {h a b : ℝ} {N : ℕ} {f g : ℕ → SpaceTime → E} |
| 158 | 148 | (hf : BandAnnulus h a b N f) (hg : BandAnnulus h a b N g) : |
| 159 | 149 | BandAnnulus h a b N (fun n w => f n w + g n w) := by |
+0 −34 NavierStokes/ActualPhysicalStageBounds.lean View file
| @@ -281,14 +281,6 @@ variable {h κ qbig : ℝ} | ||
| 281 | 281 | [NormedAddCommGroup DS] [NormedSpace ℝ DS] {IP KP IS KS : Type*} |
| 282 | 282 | (D : CycleInputs h DP IP KP DS IS KS) |
| 283 | 283 | |
| 284 | -theorem direct_bound (H : D.Metadata κ) (Q : D.ValidScale qbig) | |
| 285 | - (hh : 0 < h) (hh1 : h < 1 / 2) (hκ : κ ≤ 1 / 100000) (k m : ℕ) : | |
| 286 | - ∃ C : ℝ, 0 ≤ C ∧ ∀ w ∈ CutStageEstimates.physicalSublevel h qbig, | |
| 287 | - PhysicalWaveSum.physicalQ h w ≤ 1 → | |
| 288 | - ‖iteratedFDeriv ℝ m (D.direct k) w‖ ≤ C * PhysicalWaveSum.physicalQ h w ^ | |
| 289 | - (ActualIterationLedger.gain h (k + 1) - PhysicalStageBounds.directLoss h 0 m) := | |
| 290 | - (D.angular k).angular_bound_with_gain hh hh1 (Q.angular k) (mean_gain hh.le hκ k (H.angular k)) m | |
| 291 | - | |
| 292 | 284 | theorem potential_smooth (Q : D.ValidScale qbig) (hh : 0 < h) (hh1 : h < 1 / 2) (k : ℕ) : |
| 293 | 285 | ContDiffOn ℝ ∞ (D.potential k) (CutStageEstimates.physicalSublevel h qbig) := |
| 294 | 286 | potentialIncrement_smooth _ _ _ _ hh hh1 (Q.temporal k) (Q.rank k) |
| @@ -428,38 +420,12 @@ noncomputable def initialPressureIncrement (W : PhysicalStageBounds.WaveData h D | ||
| 428 | 420 | (M : MeanInput h (2 * CoordinateAlgebra.A h)) : PressureField := |
| 429 | 421 | fun w => W.pressure w + M.family.field w |
| 430 | 422 | |
| 431 | -noncomputable def initialPressureLoss (h waveAlpha waveShift meanAlpha : ℝ) (m : ℕ) : ℝ := | |
| 432 | - PhysicalStageBounds.pressureLoss h (-(h * waveAlpha + waveShift)) (-(h * meanAlpha)) m | |
| 433 | - | |
| 434 | 423 | theorem initialPressureIncrement_smooth (W : PhysicalStageBounds.WaveData h D I K Unit) |
| 435 | 424 | (M : MeanInput h (2 * CoordinateAlgebra.A h)) |
| 436 | 425 | (hh : 0 < h) (hh1 : h < 1 / 2) {qbig : ℝ} (hq : qbig ≤ ChartScales.Q M.firstBand) : |
| 437 | 426 | ContDiffOn ℝ ∞ (initialPressureIncrement W M) (CutStageEstimates.physicalSublevel h qbig) := |
| 438 | 427 | ((W.pressure_smooth hh hh1).mono inter_subset_left).add (M.field_smooth hh hh1 hq) |
| 439 | 428 | |
| 440 | -theorem initialPressureIncrement_bound (W : PhysicalStageBounds.WaveData h D I K Unit) | |
| 441 | - (M : MeanInput h (2 * CoordinateAlgebra.A h)) | |
| 442 | - (hh : 0 < h) (hh1 : h < 1 / 2) {qbig : ℝ} (hq : qbig ≤ ChartScales.Q M.firstBand) (m : ℕ) : | |
| 443 | - ∃ C : ℝ, 0 ≤ C ∧ ∀ w ∈ CutStageEstimates.physicalSublevel h qbig, | |
| 444 | - PhysicalWaveSum.physicalQ h w ≤ 1 → | |
| 445 | - ‖iteratedFDeriv ℝ m (initialPressureIncrement W M) w‖ ≤ | |
| 446 | - C * PhysicalWaveSum.physicalQ h w ^ (-initialPressureLoss h W.alpha W.shift M.alpha m) := by | |
| 447 | - have hw0 := W.pressure_bound_with_gain (g := 0) (delta := -(h * W.alpha + W.shift)) | |
| 448 | - hh hh1 (by linarith) m | |
| 449 | - have hm0 := M.field_bound_with_gain (g := 0) (delta := -(h * M.alpha)) | |
| 450 | - hh hh1 hq (by linarith) m | |
| 451 | - simp only [zero_sub] at hw0 hm0 | |
| 452 | - have hw := weaken_bound (qbig := qbig) | |
| 453 | - (s := -initialPressureLoss h W.alpha W.shift M.alpha m) hh hh1 | |
| 454 | - (neg_le_neg (le_max_left _ _)) (by | |
| 455 | - obtain ⟨C, hC, hb⟩ := hw0 | |
| 456 | - exact ⟨C, hC, fun w hw hqw => hb w hw.1 hqw⟩) | |
| 457 | - have hm := weaken_bound (s := -initialPressureLoss h W.alpha W.shift M.alpha m) | |
| 458 | - hh hh1 (neg_le_neg (le_max_right _ _)) hm0 | |
| 459 | - have sw : ContDiffOn ℝ ∞ W.pressure (CutStageEstimates.physicalSublevel h qbig) := | |
| 460 | - (W.pressure_smooth hh hh1).mono inter_subset_left | |
| 461 | - exact add_bounds hh hh1 sw (M.field_smooth hh hh1 hq) hw hm | |
| 462 | - | |
| 463 | 429 | omit [NormedAddCommGroup D] [NormedSpace ℝ D] in |
| 464 | 430 | theorem initialDirect_rate (MB : MeanInput h (CoordinateAlgebra.A h)) |
| 465 | 431 | (hh : 0 < h) (hh1 : h < 1 / 2) {qbig : ℝ} (hqbig : 0 < qbig) |
+0 −24 NavierStokes/BorelExtension.lean View file
| @@ -276,30 +276,6 @@ theorem extension_jets (a : ℕ → E) (k : ℕ) : | ||
| 276 | 276 | · intro j hj |
| 277 | 277 | simp [Ne.symm hj] |
| 278 | 278 | |
| 279 | -omit [CompleteSpace E] in | |
| 280 | -theorem extension_zero_of_one_le_abs (a : ℕ → E) {s : ℝ} (hs : 1 ≤ |s|) : | |
| 281 | - extension a s = 0 := by | |
| 282 | - calc | |
| 283 | - extension a s = ∑' _ : ℕ, (0 : E) := by | |
| 284 | - apply tsum_congr | |
| 285 | - intro j | |
| 286 | - have hb := scale_ge_one a j | |
| 287 | - have harg : 1 ≤ |(scale a j : ℝ) * s| := by | |
| 288 | - rw [abs_mul, abs_of_nonneg (Nat.cast_nonneg _)] | |
| 289 | - exact one_le_mul_of_one_le_of_one_le hb hs | |
| 290 | - simp only [term, SmoothCutoffs.cutoff_zero_of_one_le_abs harg, zero_smul] | |
| 291 | - _ = 0 := tsum_zero | |
| 292 | - | |
| 293 | -omit [CompleteSpace E] in | |
| 294 | -theorem extension_support (a : ℕ → E) : support (extension a) ⊆ Ioo (-1 : ℝ) 1 := by | |
| 295 | - intro s hs | |
| 296 | - have habs : |s| < 1 := lt_of_not_ge fun h => hs (extension_zero_of_one_le_abs a h) | |
| 297 | - exact abs_lt.mp habs | |
| 298 | - | |
| 299 | -omit [CompleteSpace E] in | |
| 300 | -theorem extension_tsupport (a : ℕ → E) : tsupport (extension a) ⊆ Icc (-1 : ℝ) 1 := | |
| 301 | - closure_minimal ((extension_support a).trans Ioo_subset_Icc_self) isClosed_Icc | |
| 302 | - | |
| 303 | 279 | end Complete |
| 304 | 280 | |
| 305 | 281 | end NavierStokes.BorelExtension |
+0 −11 NavierStokes/CurrentParticularLabelBounds.lean View file
| @@ -313,17 +313,6 @@ theorem current_modes_contDiffAt (l : Label B N0) (j : ℤ) (hj : j ≠ 0) (n : | ||
| 313 | 313 | (PhysicalWaveSum.chooseChart ‖PhysicalGraphBounds.radialProjection w‖ |
| 314 | 314 | (PhysicalGraphBounds.radialProjection w)) hc hm |
| 315 | 315 | |
| 316 | -theorem current_modes_contDiffOn (l : Label B N0) (j : ℤ) (hj : j ≠ 0) (n : ℕ) : | |
| 317 | - ContDiffOn ℝ ∞ (ActualCurrentParticularPhysical.localPotentialMode | |
| 318 | - (ActualCycleParameters.particularState x) l j n) (ValidDyadicBandCover.band h n) ∧ | |
| 319 | - ContDiffOn ℝ ∞ (ActualCurrentParticularPhysical.localPressureMode | |
| 320 | - (ActualCycleParameters.particularState x) l j n) (ValidDyadicBandCover.band h n) := by | |
| 321 | - constructor | |
| 322 | - · intro w hw | |
| 323 | - exact (current_modes_contDiffAt H hN l j hj n hw).1.contDiffWithinAt | |
| 324 | - · intro w hw | |
| 325 | - exact (current_modes_contDiffAt H hN l j hj n hw).2.contDiffWithinAt | |
| 326 | - | |
| 327 | 316 | omit H hN in |
| 328 | 317 | private theorem nat_le_infty (m : ℕ) : (m : WithTop ℕ∞) ≤ ∞ := |
| 329 | 318 | ENat.natCast_le_of_coe_top_le_withTop le_rfl m |
+0 −64 NavierStokes/CurrentPhysicalRadialClosure.lean View file
| @@ -16,10 +16,6 @@ open ProblemStatement PhysicalWaveSum ActualCurrentWaveSupport | ||
| 16 | 16 | def radialScale (w : SpaceTime) (c : ℝ) : SpaceTime := |
| 17 | 17 | (w.1, c • w.2 + ((1 - c) * w.2 2) • EuclideanSpace.single 2 1) |
| 18 | 18 | |
| 19 | -theorem radialScale_continuous (w : SpaceTime) : Continuous (radialScale w) := by | |
| 20 | - exact continuous_const.prodMk ((continuous_id.smul continuous_const).add | |
| 21 | - (((continuous_const.sub continuous_id).mul continuous_const).smul continuous_const)) | |
| 22 | - | |
| 23 | 19 | @[simp] theorem radialScale_one (w : SpaceTime) : radialScale w 1 = w := by |
| 24 | 20 | simp [radialScale] |
| 25 | 21 | |
| @@ -36,64 +32,4 @@ theorem radialScale_continuous (w : SpaceTime) : Continuous (radialScale w) := b | ||
| 36 | 32 | simp only [physicalQ, SimilarityProfile.q, AxisymmetricFields.profilePoint, |
| 37 | 33 | radialScale_time, radialScale_axial] |
| 38 | 34 | |
| 39 | -theorem radialScale_projection (w : SpaceTime) (c : ℝ) : | |
| 40 | - PhysicalGraphBounds.radialProjection (radialScale w c) = | |
| 41 | - c • PhysicalGraphBounds.radialProjection w := by | |
| 42 | - ext <;> simp [PhysicalGraphBounds.radialProjection_apply, radialScale] | |
| 43 | - | |
| 44 | -theorem radialScale_radius (h : ℝ) (w : SpaceTime) {c : ℝ} (hc : 0 < c) : | |
| 45 | - profileRadius h (radialScale w c) = c * profileRadius h w := by | |
| 46 | - simp only [profileRadius, AnnularEndpoint.radius, radialScale_projection, | |
| 47 | - PolarCharts.radius_smul hc, radialScale_q] | |
| 48 | - ring | |
| 49 | - | |
| 50 | -/-- Every closed-annulus point is a limit of strict-annulus points in its | |
| 51 | -same physical-scale fiber, hence in the same open dyadic band. -/ | |
| 52 | -theorem closed_mem_closure_fiber {h a b : ℝ} (ha : 0 < a) (hab : a < b) | |
| 53 | - {n : ℕ} {w : SpaceTime} (hw : w ∈ ValidDyadicBandCover.band h n) | |
| 54 | - (hr : profileRadius h w ∈ Icc a b) : | |
| 55 | - w ∈ closure {y : SpaceTime | y ∈ ValidDyadicBandCover.band h n ∧ | |
| 56 | - physicalQ h y = physicalQ h w ∧ profileRadius h y ∈ Ioo a b} := by | |
| 57 | - have hR : 0 < profileRadius h w := ha.trans_le hr.1 | |
| 58 | - let g : ℝ → SpaceTime := fun r => radialScale w (r / profileRadius h w) | |
| 59 | - have hg : Continuous g := (radialScale_continuous w).comp | |
| 60 | - (continuous_id.div_const _) | |
| 61 | - have he : g (profileRadius h w) = w := by | |
| 62 | - simp only [g, div_self hR.ne', radialScale_one] | |
| 63 | - have hmap : MapsTo g (Ioo a b) {y : SpaceTime | | |
| 64 | - y ∈ ValidDyadicBandCover.band h n ∧ physicalQ h y = physicalQ h w ∧ | |
| 65 | - profileRadius h y ∈ Ioo a b} := by | |
| 66 | - intro r hrr | |
| 67 | - have hc : 0 < r / profileRadius h w := div_pos (ha.trans hrr.1) hR | |
| 68 | - have hband : g r ∈ ValidDyadicBandCover.band h n := by | |
| 69 | - simpa only [ValidDyadicBandCover.band, mem_ofPred_eq, preterminal, g, | |
| 70 | - radialScale_time, radialScale_q] using hw | |
| 71 | - refine ⟨hband, radialScale_q _ _ _, ?_⟩ | |
| 72 | - change profileRadius h (radialScale w (r / profileRadius h w)) ∈ Ioo a b | |
| 73 | - rwa [radialScale_radius h w hc, div_mul_cancel₀ _ hR.ne'] | |
| 74 | - have hcl : g (profileRadius h w) ∈ closure (g '' Ioo a b) := by | |
| 75 | - apply mem_closure_image hg.continuousAt | |
| 76 | - rw [closure_Ioo hab.ne] | |
| 77 | - exact hr | |
| 78 | - rw [he] at hcl | |
| 79 | - exact closure_mono hmap.image_subset hcl | |
| 80 | - | |
| 81 | -/-- A bound depending arbitrarily on the physical scale extends to both | |
| 82 | -annulus edges. No continuity assumption on the scale bound is needed. -/ | |
| 83 | -theorem jet_bound_on_closed {E : Type*} [NormedAddCommGroup E] [NormedSpace ℝ E] | |
| 84 | - {h a b : ℝ} (hh : 0 < h) (hh1 : h < 1 / 2) (ha : 0 < a) (hab : a < b) | |
| 85 | - {n : ℕ} {f : SpaceTime → E} | |
| 86 | - (hf : ContDiffOn ℝ ∞ f (ValidDyadicBandCover.band h n)) | |
| 87 | - (m : ℕ) (bound : ℝ → ℝ) {qcap : ℝ} | |
| 88 | - (hb : ∀ y ∈ ValidDyadicBandCover.band h n, physicalQ h y ≤ qcap → | |
| 89 | - profileRadius h y ∈ Ioo a b → ‖iteratedFDeriv ℝ m f y‖ ≤ bound (physicalQ h y)) | |
| 90 | - {w : SpaceTime} (hw : w ∈ ValidDyadicBandCover.band h n) | |
| 91 | - (hq : physicalQ h w ≤ qcap) (hr : profileRadius h w ∈ Icc a b) : | |
| 92 | - ‖iteratedFDeriv ℝ m f w‖ ≤ bound (physicalQ h w) := by | |
| 93 | - apply LocalPhysicalCopyBounds.jet_bound_at_closure | |
| 94 | - (hf.contDiffAt ((ValidDyadicBandCover.band_open hh hh1 n).mem_nhds hw)) | |
| 95 | - (closed_mem_closure_fiber ha hab hw hr) m | |
| 96 | - intro y hy | |
| 97 | - simpa only [hy.2.1] using hb y hy.1 (hy.2.1 ▸ hq) hy.2.2 | |
| 98 | - | |
| 99 | 35 | end NavierStokes.CurrentPhysicalRadialClosure |
+0 −7 NavierStokes/CycleStateCoherence.lean View file
| @@ -470,13 +470,6 @@ theorem CycleTransport.axis {ι : Type} {G : Geometry} {p : CycleParameters ι} | ||
| 470 | 470 | VariableGaugeMean.pressureAliasState p.gauge c u m (bandChartEquiv G.h n m k x,0) i)) |
| 471 | 471 | ring |
| 472 | 472 | |
| 473 | -theorem iterate_labels {ι : Type} (p : ℕ → CycleParameters ι) (c : Context Point) | |
| 474 | - (seed : CycleState ι) (j : ℕ) : | |
| 475 | - (CycleState.iterate p c seed j).coefficients.labels = seed.coefficients.labels := by | |
| 476 | - induction j with | |
| 477 | - | zero => rfl | |
| 478 | - | succ j ih => exact ih | |
| 479 | - | |
| 480 | 473 | /-- The primitive wave laws also propagate the complete individual |
| 481 | 474 | harmonic blocks, so they remain available to the next reference solve. -/ |
| 482 | 475 | theorem block_fields_next {ι : Type} {G : Geometry} {p : CycleParameters ι} |
+0 −12 NavierStokes/ErrorHarmonics.lean View file
| @@ -273,18 +273,6 @@ noncomputable def GaussianData.block (g : GaussianData D) | ||
| 273 | 273 | (k : ℕ → ℝ) (Φ : ℕ → D → ℝ) (kp : ℕ → ℤ) : HarmonicBlock D := |
| 274 | 274 | gaussianBlock g.directions g.cutoff g.amplitude g.source g.harmonic k Φ kp |
| 275 | 275 | |
| 276 | -def GaussianData.Compatible (g : GaussianData D) | |
| 277 | - (k : ℕ → ℝ) (Φ : ℕ → D → ℝ) (kp : ℕ → ℤ) : Prop := | |
| 278 | - (∀ n, ContDiff ℝ ∞ (g.cutoff n)) ∧ AngleIndependent g.cutoff ∧ | |
| 279 | - AngleIndependent g.amplitude ∧ AngleIndependent g.source ∧ | |
| 280 | - ∀ n x θ, k n * g.phase n (x, θ) = k n * Φ n x + (kp n : ℝ) * θ | |
| 281 | - | |
| 282 | -theorem GaussianData.block_represents (g : GaussianData D) | |
| 283 | - (k : ℕ → ℝ) (Φ : ℕ → D → ℝ) (kp : ℕ → ℤ) (hg : g.Compatible k Φ kp) : | |
| 284 | - (g.block k Φ kp).oscillation = g.error k := | |
| 285 | - gaussianBlock_represents g.directions g.harmonic k Φ g.phase kp | |
| 286 | - hg.1 hg.2.1 hg.2.2.1 hg.2.2.2.1 hg.2.2.2.2 | |
| 287 | - | |
| 288 | 276 | end FiniteStages |
| 289 | 277 | |
| 290 | 278 | section AliasStages |
+0 −116 NavierStokes/EvenSmoothDescent.lean View file
| @@ -33,11 +33,6 @@ theorem contDiff_iteratedDeriv {f : ℝ → E} (hf : ContDiff ℝ ∞ f) (n : | ||
| 33 | 33 | ContDiff ℝ ∞ (iteratedDeriv n f) := by |
| 34 | 34 | simpa only [iteratedDeriv_eq_iterate] using hf.iterate_deriv n |
| 35 | 35 | |
| 36 | -omit [CompleteSpace E] in | |
| 37 | -theorem iteratedDeriv_iteratedDeriv (f : ℝ → E) (m n : ℕ) : | |
| 38 | - iteratedDeriv m (iteratedDeriv n f) = iteratedDeriv (m + n) f := by | |
| 39 | - simp only [iteratedDeriv_eq_iterate, Function.iterate_add_apply] | |
| 40 | - | |
| 41 | 36 | noncomputable def average (f : ℝ → E) (x : ℝ) : E := |
| 42 | 37 | ∫ t in (0 : ℝ)..1, f (t * x) |
| 43 | 38 | |
| @@ -87,26 +82,6 @@ theorem contDiff_average {f : ℝ → E} (hf : ContDiff ℝ ∞ f) : | ||
| 87 | 82 | SmoothParameterIntegral.contDiff_integral_of_iteratedDeriv hs |
| 88 | 83 | (measurable_scaled_jet hf) (dominated_scaled_jet hf) |
| 89 | 84 | |
| 90 | -omit [CompleteSpace E] in | |
| 91 | -theorem iteratedDeriv_average {f : ℝ → E} (hf : ContDiff ℝ ∞ f) (n : ℕ) (x : ℝ) : | |
| 92 | - iteratedDeriv n (average f) x = | |
| 93 | - ∫ t in (0 : ℝ)..1, t ^ n • iteratedDeriv n f (t * x) := by | |
| 94 | - change iteratedDeriv n (fun y => ∫ t in (0 : ℝ)..1, f (t * y)) x = _ | |
| 95 | - have hs : ∀ᵐ t ∂volume.restrict (Ioc (0 : ℝ) 1), | |
| 96 | - ContDiff ℝ ∞ (fun x => f (t * x)) := | |
| 97 | - Filter.Eventually.of_forall fun t => hf.comp (contDiff_const.mul contDiff_id) | |
| 98 | - have h := SmoothParameterIntegral.iteratedDeriv_integral hs | |
| 99 | - (measurable_scaled_jet hf) (dominated_scaled_jet hf) n x | |
| 100 | - simp_rw [iteratedDeriv_scale hf] at h | |
| 101 | - simpa only [average, intervalIntegral.integral_of_le zero_le_one] using h | |
| 102 | - | |
| 103 | -theorem iteratedDeriv_average_zero {f : ℝ → E} (hf : ContDiff ℝ ∞ f) (n : ℕ) : | |
| 104 | - iteratedDeriv n (average f) 0 = (1 / ((n : ℝ) + 1)) • iteratedDeriv n f 0 := by | |
| 105 | - rw [iteratedDeriv_average hf] | |
| 106 | - simp only [mul_zero] | |
| 107 | - rw [intervalIntegral.integral_smul_const, integral_pow] | |
| 108 | - simp | |
| 109 | - | |
| 110 | 85 | theorem average_deriv_identity {f : ℝ → E} (hf : ContDiff ℝ ∞ f) (x : ℝ) : |
| 111 | 86 | x • average (deriv f) x = f x - f 0 := by |
| 112 | 87 | rw [average, intervalIntegral.smul_integral_comp_mul_right, zero_mul, one_mul] |
| @@ -176,17 +151,6 @@ theorem radialDerivative_eq_div {f : ℝ → E} (hf : ContDiff ℝ ∞ f) | ||
| 176 | 151 | simpa only [smul_smul, inv_mul_cancel₀ hne, one_smul, |
| 177 | 152 | one_div] using h |
| 178 | 153 | |
| 179 | -theorem iteratedDeriv_radialDerivative_zero {f : ℝ → E} (hf : ContDiff ℝ ∞ f) (n : ℕ) : | |
| 180 | - iteratedDeriv n (radialDerivative f) 0 = | |
| 181 | - (1 / (2 * ((n : ℝ) + 1))) • iteratedDeriv (n + 2) f 0 := by | |
| 182 | - have ha := contDiff_average (contDiff_iteratedDeriv hf 2) | |
| 183 | - change iteratedDeriv n ((1 / 2 : ℝ) • average (iteratedDeriv 2 f)) 0 = _ | |
| 184 | - rw [iteratedDeriv_const_smul (ha.of_le (nat_le_infty n)).contDiffAt, | |
| 185 | - iteratedDeriv_average_zero (contDiff_iteratedDeriv hf 2), iteratedDeriv_iteratedDeriv, | |
| 186 | - smul_smul] | |
| 187 | - congr 1 | |
| 188 | - field_simp | |
| 189 | - | |
| 190 | 154 | noncomputable def descent (f : ℝ → E) (X : ℝ) : E := f (Real.sqrt X) |
| 191 | 155 | |
| 192 | 156 | omit [NormedSpace ℝ E] [CompleteSpace E] in |
| @@ -239,11 +203,6 @@ theorem radialIterate_succ (f : ℝ → E) (n : ℕ) : | ||
| 239 | 203 | radialIterate f (n + 1) = radialDerivative (radialIterate f n) := |
| 240 | 204 | Function.iterate_succ_apply' radialDerivative n f |
| 241 | 205 | |
| 242 | -omit [CompleteSpace E] in | |
| 243 | -theorem radialIterate_succ_right (f : ℝ → E) (n : ℕ) : | |
| 244 | - radialIterate f (n + 1) = radialIterate (radialDerivative f) n := | |
| 245 | - Function.iterate_succ_apply radialDerivative n f | |
| 246 | - | |
| 247 | 206 | omit [CompleteSpace E] in |
| 248 | 207 | theorem contDiff_radialIterate {f : ℝ → E} (hf : ContDiff ℝ ∞ f) (n : ℕ) : |
| 249 | 208 | ContDiff ℝ ∞ (radialIterate f n) := by |
| @@ -271,30 +230,6 @@ theorem iteratedDerivWithin_descent {f : ℝ → E} (hf : ContDiff ℝ ∞ f) | ||
| 271 | 230 | exact (hasDerivWithinAt_descent (contDiff_radialIterate hf n) |
| 272 | 231 | (even_radialIterate he n) hX).derivWithin (uniqueDiffOn_Ici 0 X hX) |
| 273 | 232 | |
| 274 | -theorem radialIterate_at_zero (n : ℕ) {f : ℝ → E} (hf : ContDiff ℝ ∞ f) : | |
| 275 | - radialIterate f n 0 = | |
| 276 | - ((n.factorial : ℝ) / ((2 * n).factorial : ℝ)) • iteratedDeriv (2 * n) f 0 := by | |
| 277 | - induction n generalizing f with | |
| 278 | - | zero => simp [radialIterate_zero] | |
| 279 | - | succ n ih => | |
| 280 | - rw [radialIterate_succ_right, ih (contDiff_radialDerivative hf), | |
| 281 | - iteratedDeriv_radialDerivative_zero hf, smul_smul] | |
| 282 | - have hi : 2 * n + 2 = 2 * (n + 1) := by omega | |
| 283 | - rw [hi] | |
| 284 | - congr 1 | |
| 285 | - rw [show 2 * (n + 1) = (2 * n + 1) + 1 by omega, | |
| 286 | - Nat.factorial_succ (2 * n + 1), Nat.factorial_succ (2 * n), Nat.factorial_succ n] | |
| 287 | - push_cast | |
| 288 | - field_simp ; ring | |
| 289 | - | |
| 290 | -/-- Exact right jets of the descended function. -/ | |
| 291 | -theorem iteratedDerivWithin_descent_zero {f : ℝ → E} (hf : ContDiff ℝ ∞ f) | |
| 292 | - (he : Function.Even f) (n : ℕ) : | |
| 293 | - iteratedDerivWithin n (descent f) (Ici 0) 0 = | |
| 294 | - ((n.factorial : ℝ) / ((2 * n).factorial : ℝ)) • iteratedDeriv (2 * n) f 0 := by | |
| 295 | - rw [iteratedDerivWithin_descent hf he n (show (0 : ℝ) ∈ Ici 0 from by simp)] | |
| 296 | - simpa only [descent, Real.sqrt_zero] using radialIterate_at_zero n hf | |
| 297 | - | |
| 298 | 233 | /-! The local theorem uses an explicit cutoff extension. This extension is |
| 299 | 234 | constructed here; the input is not assumed to have a global even extension. -/ |
| 300 | 235 | |
| @@ -320,11 +255,6 @@ theorem evenCutoff_eventually_one (r : ℝ) : evenCutoff r =ᶠ[𝓝 0] (fun _ = | ||
| 320 | 255 | with x hx hn |
| 321 | 256 | simp only [evenCutoff, hx, hn, mul_one] |
| 322 | 257 | |
| 323 | -omit [CompleteSpace E] in | |
| 324 | -theorem localized_eventuallyEq (r : ℝ) (f : ℝ → E) : localized r f =ᶠ[𝓝 0] f := by | |
| 325 | - filter_upwards [evenCutoff_eventually_one r] with x hx | |
| 326 | - simp only [localized, hx, one_smul] | |
| 327 | - | |
| 328 | 258 | private theorem one_lt_scaled_abs {r x : ℝ} (hr : 0 < r) (hx : r ≤ |x|) : |
| 329 | 259 | 1 < |(2 / r) * x| := by |
| 330 | 260 | rw [abs_mul, abs_of_pos (div_pos (by norm_num) hr)] |
| @@ -340,35 +270,6 @@ theorem localized_eventually_zero {r x : ℝ} (hr : 0 < r) (hx : r ≤ |x|) (f : | ||
| 340 | 270 | with y hy |
| 341 | 271 | simp only [localized, evenCutoff, hy, zero_mul, zero_smul] |
| 342 | 272 | |
| 343 | -omit [CompleteSpace E] in | |
| 344 | -theorem contDiff_localized {r : ℝ} (hr : 0 < r) {f : ℝ → E} | |
| 345 | - (hf : ContDiffOn ℝ ∞ f (Ioo (-r) r)) : ContDiff ℝ ∞ (localized r f) := by | |
| 346 | - rw [contDiff_iff_contDiffAt] | |
| 347 | - intro x | |
| 348 | - by_cases hx : |x| < r | |
| 349 | - · exact (contDiff_evenCutoff r).contDiffAt.smul | |
| 350 | - (hf.contDiffAt (isOpen_Ioo.mem_nhds (abs_lt.mp hx))) | |
| 351 | - · exact contDiffAt_const.congr_of_eventuallyEq | |
| 352 | - (localized_eventually_zero hr (le_of_not_gt hx) f) | |
| 353 | - | |
| 354 | -omit [CompleteSpace E] in | |
| 355 | -theorem even_localized {r : ℝ} (hr : 0 < r) {f : ℝ → E} | |
| 356 | - (he : ∀ x ∈ Ioo (-r) r, f (-x) = f x) : Function.Even (localized r f) := by | |
| 357 | - intro x | |
| 358 | - by_cases hx : |x| < r | |
| 359 | - · change evenCutoff r (-x) • f (-x) = evenCutoff r x • f x | |
| 360 | - rw [even_evenCutoff r x, he x (abs_lt.mp hx)] | |
| 361 | - · have hx' : r ≤ |x| := le_of_not_gt hx | |
| 362 | - have hnx : r ≤ |-x| := by simpa only [abs_neg] using hx' | |
| 363 | - rw [(localized_eventually_zero hr hnx f).eq_of_nhds, | |
| 364 | - (localized_eventually_zero hr hx' f).eq_of_nhds] | |
| 365 | - | |
| 366 | -omit [CompleteSpace E] in | |
| 367 | -theorem descent_localized_eventuallyEq (r : ℝ) (f : ℝ → E) : | |
| 368 | - descent (localized r f) =ᶠ[𝓝 0] descent f := | |
| 369 | - (localized_eventuallyEq r f).comp_tendsto | |
| 370 | - (by simpa only [Real.sqrt_zero] using Real.continuous_sqrt.tendsto (0 : ℝ)) | |
| 371 | - | |
| 372 | 273 | omit [NormedAddCommGroup E] [NormedSpace ℝ E] [CompleteSpace E] in |
| 373 | 274 | theorem descent_square_local {r : ℝ} {f : ℝ → E} |
| 374 | 275 | (he : ∀ x ∈ Ioo (-r) r, f (-x) = f x) {x : ℝ} (hx : x ∈ Ioo (-r) r) : |
| @@ -378,21 +279,4 @@ theorem descent_square_local {r : ℝ} {f : ℝ → E} | ||
| 378 | 279 | · rw [abs_of_nonneg h] |
| 379 | 280 | · rw [abs_of_neg h, he x hx] |
| 380 | 281 | |
| 381 | -/-- The exact endpoint jets of the local descent, using actual within | |
| 382 | -derivatives on the closed positive half-line. -/ | |
| 383 | -theorem iteratedDerivWithin_descent_zero_local {r : ℝ} (hr : 0 < r) {f : ℝ → E} | |
| 384 | - (hf : ContDiffOn ℝ ∞ f (Ioo (-r) r)) | |
| 385 | - (he : ∀ x ∈ Ioo (-r) r, f (-x) = f x) (n : ℕ) : | |
| 386 | - iteratedDerivWithin n (descent f) (Ici 0) 0 = | |
| 387 | - ((n.factorial : ℝ) / ((2 * n).factorial : ℝ)) • iteratedDeriv (2 * n) f 0 := by | |
| 388 | - have h := iteratedDerivWithin_descent_zero | |
| 389 | - (contDiff_localized hr hf) (even_localized hr he) n | |
| 390 | - have hEq := descent_localized_eventuallyEq r f | |
| 391 | - have hd : iteratedDerivWithin n (descent (localized r f)) (Ici 0) 0 = | |
| 392 | - iteratedDerivWithin n (descent f) (Ici 0) 0 := by | |
| 393 | - simp only [iteratedDerivWithin_eq_iteratedFDerivWithin] | |
| 394 | - rw [(hEq.filter_mono nhdsWithin_le_nhds).iteratedFDerivWithin_eq hEq.eq_of_nhds n] | |
| 395 | - rw [hd, (localized_eventuallyEq r f).iteratedDeriv_eq (2 * n)] at h | |
| 396 | - exact h | |
| 397 | - | |
| 398 | 282 | end NavierStokes.EvenSmoothDescent |
+0 −30 NavierStokes/FourierAlias.lean View file
| @@ -152,36 +152,6 @@ end ActualFourierInverse | ||
| 152 | 152 | |
| 153 | 153 | section SmallScale |
| 154 | 154 | |
| 155 | -/-- The actual chart slow scale is subpower relative to epsilon. Consequently | |
| 156 | -an arbitrary fixed slow loss can be absorbed into half of a positive epsilon | |
| 157 | -gain. The reciprocal-frequency premise alone would not imply this for an | |
| 158 | -unrestricted scale `S`. -/ | |
| 159 | -theorem inverse_frequency_eventually_small {M : ℕ → ℝ} {h κ A growth : ℝ} | |
| 160 | - (hh : 0 < h) (hκ : 0 < κ) | |
| 161 | - (hbound : ∀ᶠ n in atTop, |M n|⁻¹ ≤ | |
| 162 | - A * ChartScales.epsilon h n ^ κ * ChartScales.S n ^ growth) : | |
| 163 | - ∀ᶠ n in atTop, |M n|⁻¹ ≤ ChartScales.epsilon h n ^ (κ / 2) := by | |
| 164 | - have ht : Tendsto (fun n : ℕ => A * (ChartScales.S n ^ growth * | |
| 165 | - ChartScales.epsilon h n ^ (κ / 2))) atTop (𝓝 0) := by | |
| 166 | - simpa only [mul_zero] using | |
| 167 | - (ChartScales.slow_power_epsilon_tendsto_zero h hh growth (κ / 2) (half_pos hκ)).const_mul A | |
| 168 | - have hs : ∀ᶠ n : ℕ in atTop, A * (ChartScales.S n ^ growth * | |
| 169 | - ChartScales.epsilon h n ^ (κ / 2)) < 1 := | |
| 170 | - (tendsto_order.1 ht).2 1 zero_lt_one | |
| 171 | - filter_upwards [hbound, hs] with n hn hsn | |
| 172 | - have he : ChartScales.epsilon h n ^ κ = | |
| 173 | - ChartScales.epsilon h n ^ (κ / 2) * ChartScales.epsilon h n ^ (κ / 2) := by | |
| 174 | - rw [← Real.rpow_add (ChartScales.epsilon_pos h n)] | |
| 175 | - congr 1 | |
| 176 | - ring | |
| 177 | - calc | |
| 178 | - _ ≤ A * ChartScales.epsilon h n ^ κ * ChartScales.S n ^ growth := hn | |
| 179 | - _ = (A * (ChartScales.S n ^ growth * ChartScales.epsilon h n ^ (κ / 2))) * | |
| 180 | - ChartScales.epsilon h n ^ (κ / 2) := by rw [he]; ring | |
| 181 | - _ ≤ 1 * ChartScales.epsilon h n ^ (κ / 2) := | |
| 182 | - mul_le_mul_of_nonneg_right hsn.le (Real.rpow_nonneg (ChartScales.epsilon_pos h n).le _) | |
| 183 | - _ = _ := one_mul _ | |
| 184 | - | |
| 185 | 155 | end SmallScale |
| 186 | 156 | |
| 187 | 157 | end NavierStokes.FourierAlias |
+0 −9 NavierStokes/HeatTailEdit.lean View file
| @@ -423,15 +423,6 @@ theorem outgoingProfile_eq_powerTail (d : TailData) {K X : ℝ} | ||
| 423 | 423 | outgoingProfile_eq_powerTail_of_log d hK (hK.trans_le hX) |
| 424 | 424 | (Real.log_nonneg ((one_le_div hK).mpr hX)) eta |
| 425 | 425 | |
| 426 | -theorem outgoingProfile_joint_contDiffOn (d : TailData) {K : ℝ} (hK : 0 < K) : | |
| 427 | - ContDiffOn ℝ ∞ (fun p : ℝ × ℝ => outgoingProfile d K p.2 p.1) | |
| 428 | - (Ioi 0 ×ˢ univ) := by | |
| 429 | - intro p hp | |
| 430 | - have hl : ContDiffAt ℝ ∞ (fun p : ℝ × ℝ => Real.log (p.1 / K)) p := | |
| 431 | - (Real.contDiffAt_log.mpr (div_pos hp.1 hK).ne').comp p (contDiffAt_fst.div_const K) | |
| 432 | - exact ((finalAngular_contDiff d).contDiffAt.comp p | |
| 433 | - ((contDiffAt_const.add hl).prodMk contDiffAt_snd)).contDiffWithinAt | |
| 434 | - | |
| 435 | 426 | /-- At tail logarithmic time `0.5`, the full heat factor is present. -/ |
| 436 | 427 | theorem outgoingEdit_full (d : TailData) (ν eta : ℝ) {K X : ℝ} |
| 437 | 428 | (hK : 0 < K) (hX : 0 < X) (hfull : 1 / 2 ≤ Real.log (X / K) + 1 / 5) : |
+0 −7 NavierStokes/JointResidualLimits.lean View file
| @@ -138,13 +138,6 @@ theorem boundaryLimits_joint {f : SpaceTime → V} (hzero : VanishingJointJets f | ||
| 138 | 138 | · simp only [boundaryLimits, dite_eq_right hx] |
| 139 | 139 | exact (Classical.choice (hext x hx)).jet_tendsto n |
| 140 | 140 | |
| 141 | -theorem boundaryLimits_continuous {f : SpaceTime → V} (hzero : VanishingJointJets f) | |
| 142 | - (hext : AwayExtensions f) (n : ℕ) : Continuous (fun x => boundaryLimits f hext x n) := by | |
| 143 | - apply continuous_of_joint_limits (p := 𝓝[<] (1 : ℝ)) | |
| 144 | - (F := iteratedFDeriv ℝ n f) | |
| 145 | - intro x | |
| 146 | - simpa only [past_filter] using boundaryLimits_joint hzero hext n x | |
| 147 | - | |
| 148 | 141 | theorem boundaryLimits_locallyUniform {f : SpaceTime → V} (hzero : VanishingJointJets f) |
| 149 | 142 | (hext : AwayExtensions f) (n : ℕ) : |
| 150 | 143 | TendstoLocallyUniformly (fun t x => iteratedFDeriv ℝ n f (t, x)) |
+0 −27 NavierStokes/ModulatedExterior.lean View file
| @@ -273,25 +273,6 @@ theorem realized_base_residual_zero (hds : SmoothCoefficients d) | ||
| 273 | 273 | (fun _ hp => realized_angular_pure_heat W Q M hd hbase hp) |
| 274 | 274 | (fun _ hp => realized_pressure_pure_heat W Q M hd hbase henergy hp) hz |
| 275 | 275 | |
| 276 | -theorem realized_residual_germ_zero (hds : SmoothCoefficients d) | |
| 277 | - (henergy : RestoredSquaredSwirl W Q (S := S)) {a : ℕ → ℕ} (ha : StrictMono a) | |
| 278 | - {z : SpaceTime} (hz : z ∈ cartesianExterior F.data.h (nominalExteriorRadius W)) : | |
| 279 | - (fun y => navierStokesResidual (baseVelocity a F.data.h W.axis.normalization d) | |
| 280 | - (basePressure a F.data.h W.axis.normalization d) y.1 y.2) =ᶠ[𝓝 z] (fun _ => 0) := by | |
| 281 | - filter_upwards [(cartesianExterior_isOpen F.data.h_pos F.data.h_lt_half | |
| 282 | - (nominalExteriorRadius W)).mem_nhds hz] with y hy | |
| 283 | - exact realized_base_residual_zero W Q M hd hbase houter hds henergy ha hy | |
| 284 | - | |
| 285 | -theorem realized_residual_jets_zero (hds : SmoothCoefficients d) | |
| 286 | - (henergy : RestoredSquaredSwirl W Q (S := S)) {a : ℕ → ℕ} (ha : StrictMono a) | |
| 287 | - {z : SpaceTime} (hz : z ∈ cartesianExterior F.data.h (nominalExteriorRadius W)) (m : ℕ) : | |
| 288 | - iteratedFDeriv ℝ m (fun y => navierStokesResidual | |
| 289 | - (baseVelocity a F.data.h W.axis.normalization d) | |
| 290 | - (basePressure a F.data.h W.axis.normalization d) y.1 y.2) z = 0 := by | |
| 291 | - rw [(SolenoidalDiagonal.iteratedFDeriv_eventuallyEq | |
| 292 | - (realized_residual_germ_zero W Q M hd hbase houter hds henergy ha hz) m).self_of_nhds, | |
| 293 | - iteratedFDeriv_fun_zero, Pi.zero_apply] | |
| 294 | - | |
| 295 | 276 | end SchemeRealization |
| 296 | 277 | |
| 297 | 278 | section ActualModulation |
| @@ -308,14 +289,6 @@ theorem actual_squared_swirl_restored : RestoredSquaredSwirl W v.profiles (S := | ||
| 308 | 289 | ((ReservedPatches.left_lt_right F W.controls.radius W.controls.radius_pos .positive).le.trans |
| 309 | 290 | (nominalOuterX_gt_patch W).le) |
| 310 | 291 | |
| 311 | -theorem actual_realizes : | |
| 312 | - RealizesScheme (modifiedScheme W v.profiles v.finiteModification) v.finiteModification.contains | |
| 313 | - (ConstructedSlowBase.Modulated.coefficients v) := ⟨rfl, rfl, rfl⟩ | |
| 314 | - | |
| 315 | -theorem actual_exterior_coefficients : | |
| 316 | - ExteriorCoefficients (ConstructedSlowBase.Modulated.coefficients v) (nominalExteriorRadius W) := | |
| 317 | - realized_exterior_coefficients W v.profiles v.finiteModification (actual_realizes v) rfl rfl | |
| 318 | - | |
| 319 | 292 | end ActualModulation |
| 320 | 293 | |
| 321 | 294 | section JointTerminalExtension |
+0 −13 NavierStokes/PeriodicPhaseAssembly.lean View file
| @@ -226,12 +226,6 @@ theorem phase_contDiffOn (g : Geometry) (w : ClockWindow) {A B : P → ℝ} {U : | ||
| 226 | 226 | (((periodicClock_contDiff g w).comp_contDiffOn contDiffOn_snd).mul |
| 227 | 227 | (hB.comp contDiffOn_fst (fun _ hx => hx.1))) |
| 228 | 228 | |
| 229 | -omit [NormedAddCommGroup P] [NormedSpace ℝ P] in | |
| 230 | -theorem phase_periodic (g : Geometry) (χ : Plane → ℝ) (A B : P → ℝ) | |
| 231 | - (p : P) (Y : Plane) (n : Frequency) : | |
| 232 | - phase g χ A B (p, Y + latticePoint n) = phase g χ A B (p, Y) := by | |
| 233 | - simp only [phase, periodicClock_periodic] | |
| 234 | - | |
| 235 | 229 | /-- The angular coordinate is distinct from the auxiliary torus. -/ |
| 236 | 230 | noncomputable def angularLift (Φ : P × Plane → ℝ) (angular : ℝ) |
| 237 | 231 | (x : (P × ℝ) × Plane) : ℝ := Φ (x.1.1, x.2) + angular * x.1.2 |
| @@ -241,13 +235,6 @@ theorem angularLift_contDiff {Φ : P × Plane → ℝ} (hΦ : ContDiff ℝ ∞ | ||
| 241 | 235 | (hΦ.comp (contDiff_fst.fst.prodMk contDiff_snd)).add |
| 242 | 236 | (contDiff_const.mul contDiff_fst.snd) |
| 243 | 237 | |
| 244 | -omit [NormedAddCommGroup P] [NormedSpace ℝ P] in | |
| 245 | -theorem fullPhase_periodic (g : Geometry) (χ : Plane → ℝ) (A B : P → ℝ) | |
| 246 | - (angular : ℝ) (p : P) (θ : ℝ) (Y : Plane) (n : Frequency) : | |
| 247 | - angularLift (phase g χ A B) angular ((p, θ), Y + latticePoint n) = | |
| 248 | - angularLift (phase g χ A B) angular ((p, θ), Y) := by | |
| 249 | - simp only [angularLift, phase_periodic] | |
| 250 | - | |
| 251 | 238 | end Phases |
| 252 | 239 | |
| 253 | 240 | /-! ## The manuscript phase in physical slow-coordinate order `(R,(T,Z))` -/ |
+0 −6 NavierStokes/ResidualRegularity.lean View file
| @@ -255,12 +255,6 @@ theorem residual_eq_zero_of_eventually_zero {u : VelocityField} {p : PressureFie | ||
| 255 | 255 | (hp : p =ᶠ[𝓝 z] (fun _ => 0)) : navierStokesResidual u p z.1 z.2 = 0 := by |
| 256 | 256 | simpa only [zero_residual] using residual_congr hu hp |
| 257 | 257 | |
| 258 | -theorem residual_eventually_zero {u : VelocityField} {p : PressureField} | |
| 259 | - {z : SpaceTime} (hu : u =ᶠ[𝓝 z] (fun _ => 0)) | |
| 260 | - (hp : p =ᶠ[𝓝 z] (fun _ => 0)) : | |
| 261 | - (fun w => navierStokesResidual u p w.1 w.2) =ᶠ[𝓝 z] (fun _ => 0) := by | |
| 262 | - simpa only [zero_residual] using residual_eventuallyEq hu hp | |
| 263 | - | |
| 264 | 258 | end |
| 265 | 259 | |
| 266 | 260 | end NavierStokes.ResidualRegularity |
+0 −17 NavierStokes/ResidualStability.lean View file
| @@ -88,23 +88,6 @@ theorem iteratedFDeriv_eqOn {f g : D → E} (hU : IsOpen U) (hfg : EqOn f g U) | ||
| 88 | 88 | simpa only [iteratedFDerivWithin_univ] using |
| 89 | 89 | h'.iteratedFDerivWithin_eq h.self_of_nhds m |
| 90 | 90 | |
| 91 | -theorem AllJetsFlat.congr_on {g : D → E} (hf : AllJetsFlat l q f) | |
| 92 | - (hU : IsOpen U) (hl : ∀ᶠ x in l, x ∈ U) (hfg : EqOn f g U) : | |
| 93 | - AllJetsFlat l q g := by | |
| 94 | - intro m | |
| 95 | - apply scalarFlat_mono (hf m) | |
| 96 | - filter_upwards [hl] with x hx | |
| 97 | - rw [iteratedFDeriv_eqOn hU hfg m hx] | |
| 98 | - | |
| 99 | -theorem AllJetsGrowth.congr_on {g : D → E} (hf : AllJetsGrowth l q f) | |
| 100 | - (hU : IsOpen U) (hl : ∀ᶠ x in l, x ∈ U) (hfg : EqOn f g U) : | |
| 101 | - AllJetsGrowth l q g := by | |
| 102 | - intro m | |
| 103 | - obtain ⟨K, C, hC, hb⟩ := hf m | |
| 104 | - refine ⟨K, C, hC, ?_⟩ | |
| 105 | - filter_upwards [hl, hb] with x hx hbound | |
| 106 | - rwa [iteratedFDeriv_eqOn hU hfg m hx] at hbound | |
| 107 | - | |
| 108 | 91 | theorem norm_jet_linear_map (L : E →L[ℝ] F) (hU : IsOpen U) |
| 109 | 92 | (hf : ContDiffOn ℝ ∞ f U) {x : D} (hx : x ∈ U) (m : ℕ) : |
| 110 | 93 | ‖iteratedFDeriv ℝ m (fun y => L (f y)) x‖ ≤ ‖L‖ * ‖iteratedFDeriv ℝ m f x‖ := by |
+0 −315 NavierStokes/ScaledTangentTransport.lean View file
| @@ -85,32 +85,6 @@ variable {P Q V H : Type} [NormedAddCommGroup P] [NormedSpace ℝ P] | ||
| 85 | 85 | [NormedAddCommGroup V] [NormedSpace ℝ V] |
| 86 | 86 | [NormedAddCommGroup H] [NormedSpace ℝ H] [CompleteSpace H] |
| 87 | 87 | |
| 88 | -/-- Copy-level counterpart of `CopySolveCompatibility.commonSolve_of_compatibleInputs`. | |
| 89 | -The condition compares only native coefficients and converted sources. -/ | |
| 90 | -theorem copySolve_of_compatibleInputs (d : LinearData P V H) (e : LinearData Q V H) | |
| 91 | - (parameter : Q → P) (g : Geometry) {a b : ℝ} (hab : a ≤ b) | |
| 92 | - (gap : ℕ) (shift rate amplitude : ℝ) (hrate : 0 < rate) | |
| 93 | - {U : Set P} (hA : ContinuousOn d.coefficient (U ×ˢ univ)) | |
| 94 | - (hB : ContinuousOn d.forcingMap (U ×ˢ univ)) | |
| 95 | - (hf : ContinuousOn d.source (U ×ˢ univ)) (q : Q) (hq : parameter q ∈ U) | |
| 96 | - (hi : CopySolveCompatibility.SameInputsAt e (CopySolveCompatibility.transportData d parameter gap shift rate amplitude) q) | |
| 97 | - (copy : Frequency) (Y : Plane) | |
| 98 | - (hslot : ((CopySolveCompatibility.transportGeometry g gap shift rate hrate.ne').coordinates copy Y).2 ∈ | |
| 99 | - Icc a b) : | |
| 100 | - e.copySolve (CopySolveCompatibility.transportGeometry g gap shift rate hrate.ne') hab copy (q, Y) = | |
| 101 | - amplitude • d.copySolve g (CopySolveCompatibility.time_interval_mono shift hrate hab) copy | |
| 102 | - (parameter q, coverPower gap Y) := by | |
| 103 | - have he : e.copySolve (CopySolveCompatibility.transportGeometry g gap shift rate hrate.ne') hab copy (q, Y) = | |
| 104 | - (CopySolveCompatibility.transportData d parameter gap shift rate amplitude).copySolve | |
| 105 | - (CopySolveCompatibility.transportGeometry g gap shift rate hrate.ne') hab copy (q, Y) := by | |
| 106 | - exact CopySolveCompatibility.anchoredSolve_eq_of_sameInputs _ _ _ hab q hi copy Y _ | |
| 107 | - rw [he] | |
| 108 | - unfold CopySolveCompatibility.transportData CopySolveCompatibility.transportGeometry | |
| 109 | - rw [CopySolveCompatibility.copySolve_scaleSource, CopySolveCompatibility.copySolve_transform] | |
| 110 | - congr 1 | |
| 111 | - apply CopySolveCompatibility.copySolve_timeData d g shift rate hrate hab hA hB hf copy hq | |
| 112 | - simpa only [CopySolveCompatibility.transportGeometry, CopySolveCompatibility.coordinates_refine] using hslot | |
| 113 | - | |
| 114 | 88 | end CopyInputCompatibility |
| 115 | 89 | |
| 116 | 90 | section TangentTransport |
| @@ -140,112 +114,12 @@ theorem transportTangent_sameInputs (t : TangentData P H) (parameter : Q → P) | ||
| 140 | 114 | rw [NormalScaling.negativeTangentProjection_smul _ hnormal] |
| 141 | 115 | simp only [_root_.smul_apply, map_smul, smul_smul, mul_comm rate amplitude] |
| 142 | 116 | |
| 143 | -theorem copySolve_transport (t : TangentData P H) (parameter : Q → P) | |
| 144 | - (g : Geometry) {a b : ℝ} (hab : a ≤ b) (gap : ℕ) | |
| 145 | - (shift rate amplitude normalScale : ℝ) (hrate : 0 < rate) (hnormal : normalScale ≠ 0) | |
| 146 | - {U : Set P} (hA : ContinuousOn t.linearData.coefficient (U ×ˢ univ)) | |
| 147 | - (hB : ContinuousOn t.linearData.forcingMap (U ×ˢ univ)) | |
| 148 | - (hf : ContinuousOn t.source (U ×ˢ univ)) (q : Q) (hq : parameter q ∈ U) | |
| 149 | - (copy : Frequency) (Y : Plane) | |
| 150 | - (hslot : ((CopySolveCompatibility.transportGeometry g gap shift rate hrate.ne').coordinates | |
| 151 | - copy Y).2 ∈ Icc a b) : | |
| 152 | - (transportTangent t parameter gap shift rate amplitude normalScale).linearData.copySolve | |
| 153 | - (CopySolveCompatibility.transportGeometry g gap shift rate hrate.ne') hab copy (q, Y) = | |
| 154 | - amplitude • t.linearData.copySolve g | |
| 155 | - (CopySolveCompatibility.time_interval_mono shift hrate hab) copy | |
| 156 | - (parameter q, coverPower gap Y) := | |
| 157 | - copySolve_of_compatibleInputs t.linearData _ parameter g hab gap shift rate amplitude hrate | |
| 158 | - hA hB hf q hq (transportTangent_sameInputs t parameter gap shift rate amplitude normalScale | |
| 159 | - hnormal q) copy Y hslot | |
| 160 | - | |
| 161 | -theorem copyPressureReal_transport (t : TangentData P H) (parameter : Q → P) | |
| 162 | - (g : Geometry) {a b : ℝ} (hab : a ≤ b) (gap : ℕ) | |
| 163 | - (shift rate amplitude normalScale : ℝ) (hrate : 0 < rate) (hnormal : normalScale ≠ 0) | |
| 164 | - {U : Set P} (hA : ContinuousOn t.linearData.coefficient (U ×ˢ univ)) | |
| 165 | - (hB : ContinuousOn t.linearData.forcingMap (U ×ˢ univ)) | |
| 166 | - (hf : ContinuousOn t.source (U ×ˢ univ)) (q : Q) (hq : parameter q ∈ U) | |
| 167 | - (copy : Frequency) (Y : Plane) | |
| 168 | - (hslot : ((CopySolveCompatibility.transportGeometry g gap shift rate hrate.ne').coordinates | |
| 169 | - copy Y).2 ∈ Icc a b) : | |
| 170 | - copyPressureReal (transportTangent t parameter gap shift rate amplitude normalScale) | |
| 171 | - (CopySolveCompatibility.transportGeometry g gap shift rate hrate.ne') hab copy (q, Y) = | |
| 172 | - (rate * amplitude / normalScale) * copyPressureReal t g | |
| 173 | - (CopySolveCompatibility.time_interval_mono shift hrate hab) copy | |
| 174 | - (parameter q, coverPower gap Y) := by | |
| 175 | - simp only [copyPressureReal] | |
| 176 | - rw [copySolve_transport t parameter g hab gap shift rate amplitude normalScale hrate hnormal | |
| 177 | - hA hB hf q hq copy Y hslot] | |
| 178 | - simp only [transportTangent, nativePoint, coordinates_transport, | |
| 179 | - _root_.smul_apply, map_smul, smul_smul] | |
| 180 | - rw [mul_comm amplitude rate] | |
| 181 | - exact NormalScaling.pressureCoefficient_rescale (H := H) _ _ _ _ _ rate amplitude hnormal | |
| 182 | - | |
| 183 | -/-- Pressure includes the inverse frequency of the band in which it is | |
| 184 | -realized, in addition to the derived clock/normal factor. -/ | |
| 185 | -theorem copyPressure_transport (t : TangentData P H) (parameter : Q → P) | |
| 186 | - (g : Geometry) {a b : ℝ} (hab : a ≤ b) (gap : ℕ) | |
| 187 | - (shift rate amplitude normalScale referenceFrequency frequency : ℝ) | |
| 188 | - (hrate : 0 < rate) (hnormal : normalScale ≠ 0) | |
| 189 | - (hreference : referenceFrequency ≠ 0) (hfrequency : frequency ≠ 0) | |
| 190 | - {U : Set P} (hA : ContinuousOn t.linearData.coefficient (U ×ˢ univ)) | |
| 191 | - (hB : ContinuousOn t.linearData.forcingMap (U ×ˢ univ)) | |
| 192 | - (hf : ContinuousOn t.source (U ×ˢ univ)) (q : Q) (hq : parameter q ∈ U) | |
| 193 | - (copy : Frequency) (Y : Plane) | |
| 194 | - (hslot : ((CopySolveCompatibility.transportGeometry g gap shift rate hrate.ne').coordinates | |
| 195 | - copy Y).2 ∈ Icc a b) : | |
| 196 | - copyPressure (transportTangent t parameter gap shift rate amplitude normalScale) | |
| 197 | - (CopySolveCompatibility.transportGeometry g gap shift rate hrate.ne') hab copy frequency | |
| 198 | - (q, Y) = | |
| 199 | - ((rate * amplitude / normalScale) * (referenceFrequency / frequency)) • | |
| 200 | - copyPressure t g (CopySolveCompatibility.time_interval_mono shift hrate hab) | |
| 201 | - copy referenceFrequency (parameter q, coverPower gap Y) := by | |
| 202 | - have hr : (referenceFrequency : ℂ) ≠ 0 := by exact_mod_cast hreference | |
| 203 | - have hk : (frequency : ℂ) ≠ 0 := by exact_mod_cast hfrequency | |
| 204 | - have hs : (normalScale : ℂ) ≠ 0 := by exact_mod_cast hnormal | |
| 205 | - simp only [copyPressure, copyPressureReal_transport t parameter g hab gap shift rate amplitude | |
| 206 | - normalScale hrate hnormal hA hB hf q hq copy Y hslot, | |
| 207 | - Complex.ofReal_mul, Complex.ofReal_div, Complex.real_smul] | |
| 208 | - field_simp | |
| 209 | - | |
| 210 | 117 | end TangentTransport |
| 211 | 118 | |
| 212 | 119 | section LocalizedTransport |
| 213 | 120 | |
| 214 | 121 | variable {P Q E : Type} [NormedAddCommGroup E] [NormedSpace ℝ E] [CompleteSpace E] |
| 215 | 122 | |
| 216 | -omit [CompleteSpace E] in | |
| 217 | -/-- A transported periodization only uses copy identities on the active | |
| 218 | -native interval. In particular no equality of extended solves outside | |
| 219 | -that interval is required. -/ | |
| 220 | -theorem periodizedCopies_transport_of_active (g : Geometry) (parameter : Q → P) | |
| 221 | - {a b : ℝ} (gap : ℕ) (shift rate scale : ℝ) (hrate : 0 < rate) | |
| 222 | - (cutoff : Plane → ℝ) | |
| 223 | - (hcutoff : support cutoff ⊆ univ ×ˢ Icc (shift + rate * a) (shift + rate * b)) | |
| 224 | - (F : Frequency → Q × Plane → E) (G : Frequency → P × Plane → E) | |
| 225 | - (q : Q) (Y : Plane) | |
| 226 | - (hcopy : ∀ copy, | |
| 227 | - ((CopySolveCompatibility.transportGeometry g gap shift rate hrate.ne').coordinates | |
| 228 | - copy Y).2 ∈ Icc a b → | |
| 229 | - F copy (q, Y) = scale • G copy (parameter q, coverPower gap Y)) : | |
| 230 | - periodizedCopies (CopySolveCompatibility.transportGeometry g gap shift rate hrate.ne') | |
| 231 | - (cutoff ∘ CopySolveCompatibility.nativeTimeMap shift rate) F (q, Y) = | |
| 232 | - scale • periodizedCopies g cutoff G (parameter q, coverPower gap Y) := by | |
| 233 | - unfold periodizedCopies | |
| 234 | - calc | |
| 235 | - _ = ∑' copy : Frequency, scale • | |
| 236 | - (cutoff (g.coordinates copy (coverPower gap Y)) • | |
| 237 | - G copy (parameter q, coverPower gap Y)) := by | |
| 238 | - apply tsum_congr | |
| 239 | - intro copy | |
| 240 | - simp only [Function.comp_apply, coordinates_transport] | |
| 241 | - by_cases hz : cutoff (g.coordinates copy (coverPower gap Y)) = 0 | |
| 242 | - · simp only [hz, zero_smul, smul_zero] | |
| 243 | - · have hs : ((CopySolveCompatibility.transportGeometry g gap shift rate hrate.ne').coordinates | |
| 244 | - copy Y).2 ∈ Icc a b := | |
| 245 | - (current_slot_iff g gap shift rate hrate copy Y a b).mpr (hcutoff hz).2 | |
| 246 | - rw [hcopy copy hs, smul_comm] | |
| 247 | - _ = _ := tsum_const_smul'' scale | |
| 248 | - | |
| 249 | 123 | end LocalizedTransport |
| 250 | 124 | |
| 251 | 125 | section ComplexTransport |
| @@ -277,138 +151,6 @@ theorem imagData_transport (t : TangentData P ProblemStatement.Space) | ||
| 277 | 151 | funext z |
| 278 | 152 | exact map_smul imagPart (rate * amplitude) _ |
| 279 | 153 | |
| 280 | -omit [NormedAddCommGroup Q] [NormedSpace ℝ Q] in | |
| 281 | -theorem copyVelocity_transport (t : TangentData P ProblemStatement.Space) | |
| 282 | - (parameter : Q → P) (g : Geometry) {a b : ℝ} (hab : a ≤ b) (gap : ℕ) | |
| 283 | - (shift rate amplitude normalScale : ℝ) (hrate : 0 < rate) (hnormal : normalScale ≠ 0) | |
| 284 | - {U : Set P} (hA : ContinuousOn t.linearData.coefficient (U ×ˢ univ)) | |
| 285 | - (hB : ContinuousOn t.linearData.forcingMap (U ×ˢ univ)) | |
| 286 | - (hf : ContinuousOn t.source (U ×ˢ univ)) (q : Q) (hq : parameter q ∈ U) | |
| 287 | - (copy : Frequency) (Y : Plane) | |
| 288 | - (hslot : ((CopySolveCompatibility.transportGeometry g gap shift rate hrate.ne').coordinates | |
| 289 | - copy Y).2 ∈ Icc a b) : | |
| 290 | - copyVelocity (transportTangent t parameter gap shift rate amplitude normalScale) | |
| 291 | - (CopySolveCompatibility.transportGeometry g gap shift rate hrate.ne') hab copy (q, Y) = | |
| 292 | - amplitude • copyVelocity t g (CopySolveCompatibility.time_interval_mono shift hrate hab) | |
| 293 | - copy (parameter q, coverPower gap Y) := by | |
| 294 | - unfold copyVelocity | |
| 295 | - rw [copySolve_transport t parameter g hab gap shift rate amplitude normalScale hrate hnormal | |
| 296 | - hA hB hf q hq copy Y hslot, map_smul] | |
| 297 | - | |
| 298 | -omit [NormedAddCommGroup Q] [NormedSpace ℝ Q] in | |
| 299 | -theorem complexCopyVelocity_transport (t : TangentData P ProblemStatement.Space) | |
| 300 | - (f : P × Plane → ComplexVector) (parameter : Q → P) | |
| 301 | - (g : Geometry) {a b : ℝ} (hab : a ≤ b) (gap : ℕ) | |
| 302 | - (shift rate amplitude normalScale : ℝ) (hrate : 0 < rate) (hnormal : normalScale ≠ 0) | |
| 303 | - {U : Set P} (hA : ContinuousOn t.linearData.coefficient (U ×ˢ univ)) | |
| 304 | - (hB : ContinuousOn t.linearData.forcingMap (U ×ˢ univ)) | |
| 305 | - (hf : ContinuousOn f (U ×ˢ univ)) (q : Q) (hq : parameter q ∈ U) | |
| 306 | - (copy : Frequency) (Y : Plane) | |
| 307 | - (hslot : ((CopySolveCompatibility.transportGeometry g gap shift rate hrate.ne').coordinates | |
| 308 | - copy Y).2 ∈ Icc a b) : | |
| 309 | - complexCopyVelocity (transportTangent t parameter gap shift rate amplitude normalScale) | |
| 310 | - (transportSource f parameter gap rate amplitude) | |
| 311 | - (CopySolveCompatibility.transportGeometry g gap shift rate hrate.ne') hab copy (q, Y) = | |
| 312 | - amplitude • complexCopyVelocity t f g | |
| 313 | - (CopySolveCompatibility.time_interval_mono shift hrate hab) | |
| 314 | - copy (parameter q, coverPower gap Y) := by | |
| 315 | - have hr : ContinuousOn (realData t f).source (U ×ˢ univ) := | |
| 316 | - realPart.continuous.comp_continuousOn hf | |
| 317 | - have hi : ContinuousOn (imagData t f).source (U ×ˢ univ) := | |
| 318 | - imagPart.continuous.comp_continuousOn hf | |
| 319 | - simp only [complexCopyVelocity, realData_transport, imagData_transport] | |
| 320 | - rw [copyVelocity_transport (realData t f) parameter g hab gap shift rate amplitude normalScale | |
| 321 | - hrate hnormal hA hB hr q hq copy Y hslot, | |
| 322 | - copyVelocity_transport (imagData t f) parameter g hab gap shift rate amplitude normalScale | |
| 323 | - hrate hnormal hA hB hi q hq copy Y hslot] | |
| 324 | - simp only [smul_add, smul_comm Complex.I amplitude] | |
| 325 | - | |
| 326 | -omit [NormedAddCommGroup Q] [NormedSpace ℝ Q] in | |
| 327 | -theorem complexCopyPressure_transport (t : TangentData P ProblemStatement.Space) | |
| 328 | - (f : P × Plane → ComplexVector) (parameter : Q → P) | |
| 329 | - (g : Geometry) {a b : ℝ} (hab : a ≤ b) (gap : ℕ) | |
| 330 | - (shift rate amplitude normalScale referenceFrequency frequency : ℝ) | |
| 331 | - (hrate : 0 < rate) (hnormal : normalScale ≠ 0) | |
| 332 | - (hreference : referenceFrequency ≠ 0) (hfrequency : frequency ≠ 0) | |
| 333 | - {U : Set P} (hA : ContinuousOn t.linearData.coefficient (U ×ˢ univ)) | |
| 334 | - (hB : ContinuousOn t.linearData.forcingMap (U ×ˢ univ)) | |
| 335 | - (hf : ContinuousOn f (U ×ˢ univ)) (q : Q) (hq : parameter q ∈ U) | |
| 336 | - (copy : Frequency) (Y : Plane) | |
| 337 | - (hslot : ((CopySolveCompatibility.transportGeometry g gap shift rate hrate.ne').coordinates | |
| 338 | - copy Y).2 ∈ Icc a b) : | |
| 339 | - complexCopyPressure (transportTangent t parameter gap shift rate amplitude normalScale) | |
| 340 | - (transportSource f parameter gap rate amplitude) | |
| 341 | - (CopySolveCompatibility.transportGeometry g gap shift rate hrate.ne') hab copy frequency | |
| 342 | - (q, Y) = | |
| 343 | - ((rate * amplitude / normalScale) * (referenceFrequency / frequency)) • | |
| 344 | - complexCopyPressure t f g (CopySolveCompatibility.time_interval_mono shift hrate hab) | |
| 345 | - copy referenceFrequency (parameter q, coverPower gap Y) := by | |
| 346 | - have hr : ContinuousOn (realData t f).source (U ×ˢ univ) := | |
| 347 | - realPart.continuous.comp_continuousOn hf | |
| 348 | - have hi : ContinuousOn (imagData t f).source (U ×ˢ univ) := | |
| 349 | - imagPart.continuous.comp_continuousOn hf | |
| 350 | - simp only [complexCopyPressure, realData_transport, imagData_transport] | |
| 351 | - rw [copyPressure_transport (realData t f) parameter g hab gap shift rate amplitude normalScale | |
| 352 | - referenceFrequency frequency hrate hnormal hreference hfrequency hA hB hr q hq copy Y hslot, | |
| 353 | - copyPressure_transport (imagData t f) parameter g hab gap shift rate amplitude normalScale | |
| 354 | - referenceFrequency frequency hrate hnormal hreference hfrequency hA hB hi q hq copy Y hslot] | |
| 355 | - simp only [smul_add, Complex.real_smul] | |
| 356 | - ring | |
| 357 | - | |
| 358 | -omit [NormedAddCommGroup Q] [NormedSpace ℝ Q] in | |
| 359 | -/-- One actual reference velocity supplies every transported band view. -/ | |
| 360 | -theorem commonVelocity_transport (t : TangentData P ProblemStatement.Space) | |
| 361 | - (f : P × Plane → ComplexVector) (parameter : Q → P) | |
| 362 | - (g : Geometry) {a b : ℝ} (hab : a ≤ b) (gap : ℕ) | |
| 363 | - (shift rate amplitude normalScale : ℝ) (hrate : 0 < rate) (hnormal : normalScale ≠ 0) | |
| 364 | - {U : Set P} (hA : ContinuousOn t.linearData.coefficient (U ×ˢ univ)) | |
| 365 | - (hB : ContinuousOn t.linearData.forcingMap (U ×ˢ univ)) | |
| 366 | - (hf : ContinuousOn f (U ×ˢ univ)) | |
| 367 | - (cutoff : Plane → ℝ) | |
| 368 | - (hcutoff : support cutoff ⊆ univ ×ˢ Icc (shift + rate * a) (shift + rate * b)) | |
| 369 | - (q : Q) (hq : parameter q ∈ U) (Y : Plane) : | |
| 370 | - commonVelocity (transportTangent t parameter gap shift rate amplitude normalScale) | |
| 371 | - (transportSource f parameter gap rate amplitude) | |
| 372 | - (CopySolveCompatibility.transportGeometry g gap shift rate hrate.ne') hab | |
| 373 | - (cutoff ∘ CopySolveCompatibility.nativeTimeMap shift rate) (q, Y) = | |
| 374 | - amplitude • commonVelocity t f g (CopySolveCompatibility.time_interval_mono shift hrate hab) | |
| 375 | - cutoff (parameter q, coverPower gap Y) := by | |
| 376 | - unfold commonVelocity | |
| 377 | - apply periodizedCopies_transport_of_active g parameter gap shift rate amplitude hrate | |
| 378 | - cutoff hcutoff | |
| 379 | - intro copy hslot | |
| 380 | - exact complexCopyVelocity_transport t f parameter g hab gap shift rate amplitude normalScale | |
| 381 | - hrate hnormal hA hB hf q hq copy Y hslot | |
| 382 | - | |
| 383 | -omit [NormedAddCommGroup Q] [NormedSpace ℝ Q] in | |
| 384 | -/-- The actual common pressure has the derived clock, normal and carrier | |
| 385 | -frequency factors. It is not assigned the velocity's scaling weight. -/ | |
| 386 | -theorem commonPressure_transport (t : TangentData P ProblemStatement.Space) | |
| 387 | - (f : P × Plane → ComplexVector) (parameter : Q → P) | |
| 388 | - (g : Geometry) {a b : ℝ} (hab : a ≤ b) (gap : ℕ) | |
| 389 | - (shift rate amplitude normalScale referenceFrequency frequency : ℝ) | |
| 390 | - (hrate : 0 < rate) (hnormal : normalScale ≠ 0) | |
| 391 | - (hreference : referenceFrequency ≠ 0) (hfrequency : frequency ≠ 0) | |
| 392 | - {U : Set P} (hA : ContinuousOn t.linearData.coefficient (U ×ˢ univ)) | |
| 393 | - (hB : ContinuousOn t.linearData.forcingMap (U ×ˢ univ)) | |
| 394 | - (hf : ContinuousOn f (U ×ˢ univ)) | |
| 395 | - (cutoff : Plane → ℝ) | |
| 396 | - (hcutoff : support cutoff ⊆ univ ×ˢ Icc (shift + rate * a) (shift + rate * b)) | |
| 397 | - (q : Q) (hq : parameter q ∈ U) (Y : Plane) : | |
| 398 | - commonPressure (transportTangent t parameter gap shift rate amplitude normalScale) | |
| 399 | - (transportSource f parameter gap rate amplitude) | |
| 400 | - (CopySolveCompatibility.transportGeometry g gap shift rate hrate.ne') hab | |
| 401 | - (cutoff ∘ CopySolveCompatibility.nativeTimeMap shift rate) frequency (q, Y) = | |
| 402 | - ((rate * amplitude / normalScale) * (referenceFrequency / frequency)) • | |
| 403 | - commonPressure t f g (CopySolveCompatibility.time_interval_mono shift hrate hab) | |
| 404 | - cutoff referenceFrequency (parameter q, coverPower gap Y) := by | |
| 405 | - unfold commonPressure | |
| 406 | - apply periodizedCopies_transport_of_active g parameter gap shift rate | |
| 407 | - ((rate * amplitude / normalScale) * (referenceFrequency / frequency)) hrate cutoff hcutoff | |
| 408 | - intro copy hslot | |
| 409 | - exact complexCopyPressure_transport t f parameter g hab gap shift rate amplitude normalScale | |
| 410 | - referenceFrequency frequency hrate hnormal hreference hfrequency hA hB hf q hq copy Y hslot | |
| 411 | - | |
| 412 | 154 | end ComplexTransport |
| 413 | 155 | |
| 414 | 156 | section ZeroEntry |
| @@ -423,63 +165,6 @@ private theorem interval_congr {E : Type} (F : (a b : ℝ) → a ≤ b → E) | ||
| 423 | 165 | subst d |
| 424 | 166 | rfl |
| 425 | 167 | |
| 426 | -omit [NormedAddCommGroup Q] [NormedSpace ℝ Q] in | |
| 427 | -/-- A reference interval `[0,L]` corresponds to the band interval | |
| 428 | -`[0,L/rate]`. Keeping the same numerical length would change the anchor | |
| 429 | -problem; this specialization retains the actual common reference solve. -/ | |
| 430 | -theorem commonVelocity_zeroEntry (t : TangentData P ProblemStatement.Space) | |
| 431 | - (f : P × Plane → ComplexVector) (parameter : Q → P) | |
| 432 | - (g : Geometry) (gap : ℕ) (L rate amplitude normalScale : ℝ) | |
| 433 | - (hL : 0 < L) (hrate : 0 < rate) (hnormal : normalScale ≠ 0) | |
| 434 | - {U : Set P} (hA : ContinuousOn t.linearData.coefficient (U ×ˢ univ)) | |
| 435 | - (hB : ContinuousOn t.linearData.forcingMap (U ×ˢ univ)) | |
| 436 | - (hf : ContinuousOn f (U ×ˢ univ)) | |
| 437 | - (cutoff : Plane → ℝ) (hcutoff : support cutoff ⊆ univ ×ˢ Icc 0 L) | |
| 438 | - (q : Q) (hq : parameter q ∈ U) (Y : Plane) : | |
| 439 | - commonVelocity (transportTangent t parameter gap 0 rate amplitude normalScale) | |
| 440 | - (transportSource f parameter gap rate amplitude) | |
| 441 | - (CopySolveCompatibility.transportGeometry g gap 0 rate hrate.ne') | |
| 442 | - (div_pos hL hrate).le (cutoff ∘ CopySolveCompatibility.nativeTimeMap 0 rate) (q, Y) = | |
| 443 | - amplitude • commonVelocity t f g hL.le cutoff (parameter q, coverPower gap Y) := by | |
| 444 | - have hlen : rate * (L / rate) = L := by field_simp | |
| 445 | - have hs : support cutoff ⊆ univ ×ˢ Icc (0 + rate * 0) (0 + rate * (L / rate)) := by | |
| 446 | - simpa only [mul_zero, zero_add, hlen] using hcutoff | |
| 447 | - have h := commonVelocity_transport t f parameter g (div_pos hL hrate).le gap 0 rate | |
| 448 | - amplitude normalScale hrate hnormal hA hB hf cutoff hs q hq Y | |
| 449 | - refine h.trans (congrArg (fun z : ComplexVector => amplitude • z) ?_) | |
| 450 | - exact interval_congr (fun a b hh => commonVelocity t f g (a := a) (b := b) hh cutoff | |
| 451 | - (parameter q, coverPower gap Y)) _ _ (by ring) (by simpa only [zero_add] using hlen) | |
| 452 | - | |
| 453 | -omit [NormedAddCommGroup Q] [NormedSpace ℝ Q] in | |
| 454 | -theorem commonPressure_zeroEntry (t : TangentData P ProblemStatement.Space) | |
| 455 | - (f : P × Plane → ComplexVector) (parameter : Q → P) | |
| 456 | - (g : Geometry) (gap : ℕ) (L rate amplitude normalScale referenceFrequency frequency : ℝ) | |
| 457 | - (hL : 0 < L) (hrate : 0 < rate) (hnormal : normalScale ≠ 0) | |
| 458 | - (hreference : referenceFrequency ≠ 0) (hfrequency : frequency ≠ 0) | |
| 459 | - {U : Set P} (hA : ContinuousOn t.linearData.coefficient (U ×ˢ univ)) | |
| 460 | - (hB : ContinuousOn t.linearData.forcingMap (U ×ˢ univ)) | |
| 461 | - (hf : ContinuousOn f (U ×ˢ univ)) | |
| 462 | - (cutoff : Plane → ℝ) (hcutoff : support cutoff ⊆ univ ×ˢ Icc 0 L) | |
| 463 | - (q : Q) (hq : parameter q ∈ U) (Y : Plane) : | |
| 464 | - commonPressure (transportTangent t parameter gap 0 rate amplitude normalScale) | |
| 465 | - (transportSource f parameter gap rate amplitude) | |
| 466 | - (CopySolveCompatibility.transportGeometry g gap 0 rate hrate.ne') | |
| 467 | - (div_pos hL hrate).le (cutoff ∘ CopySolveCompatibility.nativeTimeMap 0 rate) frequency | |
| 468 | - (q, Y) = | |
| 469 | - ((rate * amplitude / normalScale) * (referenceFrequency / frequency)) • | |
| 470 | - commonPressure t f g hL.le cutoff referenceFrequency (parameter q, coverPower gap Y) := by | |
| 471 | - have hlen : rate * (L / rate) = L := by field_simp | |
| 472 | - have hs : support cutoff ⊆ univ ×ˢ Icc (0 + rate * 0) (0 + rate * (L / rate)) := by | |
| 473 | - simpa only [mul_zero, zero_add, hlen] using hcutoff | |
| 474 | - have h := commonPressure_transport t f parameter g (div_pos hL hrate).le gap 0 rate | |
| 475 | - amplitude normalScale referenceFrequency frequency hrate hnormal hreference hfrequency | |
| 476 | - hA hB hf cutoff hs q hq Y | |
| 477 | - refine h.trans (congrArg (fun z : ℂ => | |
| 478 | - ((rate * amplitude / normalScale) * (referenceFrequency / frequency)) • z) ?_) | |
| 479 | - exact interval_congr (fun a b hh => commonPressure t f g (a := a) (b := b) hh cutoff | |
| 480 | - referenceFrequency (parameter q, coverPower gap Y)) _ _ (by ring) | |
| 481 | - (by simpa only [zero_add] using hlen) | |
| 482 | - | |
| 483 | 168 | end ZeroEntry |
| 484 | 169 | |
| 485 | 170 | end NavierStokes.ScaledTangentTransport |
+0 −503 NavierStokes/TemporalMeanUpdate.lean View file
| @@ -535,21 +535,6 @@ theorem desiredIncrement_smooth (h : ℝ) (n : ℕ) {f : PressureStream.Lift S | ||
| 535 | 535 | ContDiff ℝ ∞ (desiredIncrement h n f) := |
| 536 | 536 | contDiff_const.mul (temporalInverse_smooth (centered_smooth hf) (centered_periodic hp)) |
| 537 | 537 | |
| 538 | -omit [FiniteDimensional ℝ S] [NormedAddCommGroup S] [NormedSpace ℝ S] in | |
| 539 | -theorem desiredIncrement_periodic (h : ℝ) (n : ℕ) (f : PressureStream.Lift S → ℝ) : | |
| 540 | - PressureStream.TorusPeriodicLift (desiredIncrement h n f) := by | |
| 541 | - intro r s Y k | |
| 542 | - exact congrArg (-chartPrefactor h n * ·) (temporalInverse_periodic (centered f) r s Y k) | |
| 543 | - | |
| 544 | -omit [FiniteDimensional ℝ S] [NormedAddCommGroup S] [NormedSpace ℝ S] in | |
| 545 | -theorem desiredIncrement_supported (h : ℝ) (n : ℕ) {a b : ℝ} {f : PressureStream.Lift S → ℝ} | |
| 546 | - (hs : RadialAlias.RadiallySupported a b f) : | |
| 547 | - RadialAlias.RadiallySupported a b (desiredIncrement h n f) := by | |
| 548 | - intro z hz | |
| 549 | - apply temporalInverse_supported (centered_supported hs) | |
| 550 | - intro hi | |
| 551 | - exact hz (by simp only [desiredIncrement, hi, mul_zero]) | |
| 552 | - | |
| 553 | 538 | theorem desiredIncrement_zeroMean (h : ℝ) (n : ℕ) {f : PressureStream.Lift S → ℝ} |
| 554 | 539 | (hf : ContDiff ℝ ∞ f) (hp : PressureStream.TorusPeriodicLift f) (p : ℝ × S) : |
| 555 | 540 | PressureStream.torusAverage (desiredIncrement h n f) p = 0 := by |
| @@ -568,14 +553,6 @@ variable {S : Type} [NormedAddCommGroup S] [NormedSpace ℝ S] | ||
| 568 | 553 | noncomputable def pullbackCover (i : ℕ) (f : PressureStream.Lift S → ℝ) |
| 569 | 554 | (z : PressureStream.Lift S) : ℝ := f (z.1, (z.2.1, coverMap i z.2.2)) |
| 570 | 555 | |
| 571 | -omit [NormedAddCommGroup S] [NormedSpace ℝ S] in | |
| 572 | -theorem pullbackCover_periodic (i : ℕ) {f : PressureStream.Lift S → ℝ} | |
| 573 | - (hp : PressureStream.TorusPeriodicLift f) : PressureStream.TorusPeriodicLift (pullbackCover i f) := by | |
| 574 | - intro r s Y k | |
| 575 | - change f (r, (s, coverMap i (Y + ((k.1 : ℝ), (k.2 : ℝ))))) = f (r, (s, coverMap i Y)) | |
| 576 | - rw [map_add, coverMap_lattice] | |
| 577 | - exact hp r s _ _ | |
| 578 | - | |
| 579 | 556 | theorem torusAverage_pullbackCover (i : ℕ) {f : PressureStream.Lift S → ℝ} |
| 580 | 557 | (hf : ContDiff ℝ ∞ f) (hp : PressureStream.TorusPeriodicLift f) (p : ℝ × S) : |
| 581 | 558 | PressureStream.torusAverage (pullbackCover i f) p = PressureStream.torusAverage f p := by |
| @@ -605,31 +582,12 @@ noncomputable def radialUpdate (d a b M : ℝ) (v : Plane) (w : S × Plane) (h : | ||
| 605 | 582 | (f : PressureStream.Lift S → ℝ) : PressureStream.Lift S → ℝ := |
| 606 | 583 | PressureStream.streamBeta w (axialPotential d a b M v h n f) |
| 607 | 584 | |
| 608 | -omit [FiniteDimensional ℝ S] in | |
| 609 | -theorem radialUpdate_smul_direction (d a b M : ℝ) (v : Plane) (w : S × Plane) (h c : ℝ) (n : ℕ) | |
| 610 | - (f : PressureStream.Lift S → ℝ) : | |
| 611 | - radialUpdate d a b M v (c • w) h n f = fun z => c * radialUpdate d a b M v w h n f z := by | |
| 612 | - funext z | |
| 613 | - have hv : ((0 : ℝ), c • w) = c • ((0 : ℝ), w) := by simp | |
| 614 | - simp only [radialUpdate, PressureStream.streamBeta, PressureStream.graphDz, hv, map_smul, | |
| 615 | - smul_eq_mul, mul_neg] | |
| 616 | - | |
| 617 | 585 | /-- The retained compactification alias, with its physical `1/r` factor. -/ |
| 618 | 586 | noncomputable def axialAlias (d a b M : ℝ) (v : Plane) (h : ℝ) (n : ℕ) |
| 619 | 587 | (f : PressureStream.Lift S → ℝ) : PressureStream.Lift S → ℝ := |
| 620 | 588 | PressureStream.divideRadius (RadialPullback.physicalAlias d a b M ((0 : S), v) |
| 621 | 589 | (PressureStream.weightedSource (desiredIncrement h n f))) |
| 622 | 590 | |
| 623 | -/-- No compactification error is removed from the reconstructed axial field. -/ | |
| 624 | -theorem axialUpdate_eq_desired_sub_alias {d a b M : ℝ} | |
| 625 | - (ha : 0 < a) (hab : a < b) (hd : 0 < d) (v : Plane) (h : ℝ) (n : ℕ) | |
| 626 | - {f : PressureStream.Lift S → ℝ} (hf : ContDiff ℝ ∞ f) | |
| 627 | - (hp : PressureStream.TorusPeriodicLift f) (hs : RadialAlias.RadiallySupported a b f) : | |
| 628 | - axialUpdate d a b M v h n f = fun z => desiredIncrement h n f z - axialAlias d a b M v h n f z := by | |
| 629 | - funext z | |
| 630 | - exact PressureStream.streamGamma_eq_desired_sub_alias_global ha hab hd (0, v) | |
| 631 | - (desiredIncrement_smooth h n hf hp) (desiredIncrement_supported h n hs) z | |
| 632 | - | |
| 633 | 591 | end AxialReconstruction |
| 634 | 592 | |
| 635 | 593 | section WeightedStream |
| @@ -658,249 +616,18 @@ theorem meanClass_radialMultiply (a b : ℝ) {φ : ℝ → ℝ} (hφ : ContDiff | ||
| 658 | 616 | unfold WeightedClasses.majorant |
| 659 | 617 | ring |
| 660 | 618 | |
| 661 | -/-- Division by the positive radius preserves the class for supported | |
| 662 | -fields. A globally smooth positive regularization proves all derivative bounds. -/ | |
| 663 | -theorem meanClass_divideRadius {a b : ℝ} (ha : 0 < a) | |
| 664 | - {s : WeightedClasses.StripData (ℝ × E)} {α : ℝ} {g : ℕ → ℝ × E → ℝ} | |
| 665 | - (hdomain : ∀ z ∈ s.domain, z.1 ∈ Icc a b) (hg : ∀ n, ContDiff ℝ ∞ (g n)) | |
| 666 | - (hs : ∀ n, RadialAlias.RadiallySupported a b (g n)) | |
| 667 | - (hclass : WeightedClasses.MeanClass s α g) : | |
| 668 | - WeightedClasses.MeanClass s α (fun n => PressureStream.divideRadius (g n)) := by | |
| 669 | - let φ : ℝ → ℝ := fun r => (RadialPullback.positiveRadius (a / 4) r)⁻¹ | |
| 670 | - have hφ : ContDiff ℝ ∞ φ := (RadialPullback.positiveRadius_contDiff (a / 4)).inv | |
| 671 | - (fun r => (RadialPullback.positiveRadius_pos (by positivity) r).ne') | |
| 672 | - have heq : (fun n => PressureStream.divideRadius (g n)) = (fun n z => φ z.1 • g n z) := by | |
| 673 | - funext n z | |
| 674 | - by_cases hr : a ≤ z.1 | |
| 675 | - · dsimp [PressureStream.divideRadius, φ] | |
| 676 | - rw [RadialPullback.positiveRadius_eq_self (by positivity) (by linarith)] | |
| 677 | - simp only [div_eq_mul_inv, mul_comm] | |
| 678 | - · have hg0 : g n z = 0 := by | |
| 679 | - by_contra hn | |
| 680 | - exact hr (hs n hn).1 | |
| 681 | - simp [PressureStream.divideRadius, hg0] | |
| 682 | - rw [heq] | |
| 683 | - exact meanClass_radialMultiply a b hφ hdomain hg hclass | |
| 684 | - | |
| 685 | -/-- The actual stream potential preserves the original exponential weight | |
| 686 | -and its exponent, uniformly for all bandwise transport coefficients. -/ | |
| 687 | -theorem meanClass_streamPotential {a b d cL cR : ℝ} | |
| 688 | - (ha : 0 < a) (hab : a < b) (hd : 0 < d) (hcL : 0 < cL) (hcR : 0 < cR) | |
| 689 | - (ε R : ℕ → ℝ) (hε : ∀ n, 0 < ε n) (hεone : ∀ n, ε n ≤ 1) (hR : ∀ n, 1 ≤ R n) | |
| 690 | - (α : ℝ) (M : ℕ → ℝ) (v : ℕ → E) (g : ℕ → ℝ × E → ℝ) | |
| 691 | - (hg : ∀ n, ContDiff ℝ ∞ (g n)) (hs : ∀ n, RadialAlias.RadiallySupported a b (g n)) | |
| 692 | - (hclass : WeightedClasses.MeanClass | |
| 693 | - (WeightedRadialPrimitive.logStripData a b cL cR ha hcL hcR ε R hε hεone hR) α g) : | |
| 694 | - WeightedClasses.MeanClass | |
| 695 | - (WeightedRadialPrimitive.logStripData a b cL cR ha hcL hcR ε R hε hεone hR) α | |
| 696 | - (fun n => PressureStream.streamPotential d a b (M n) (v n) (g n)) := by | |
| 697 | - let s : WeightedClasses.StripData (ℝ × E) := | |
| 698 | - WeightedRadialPrimitive.logStripData a b cL cR ha hcL hcR ε R hε hεone hR | |
| 699 | - have hdomain : ∀ z ∈ s.domain, z.1 ∈ Icc a b := fun z hz => ⟨hz.1.le, hz.2.le⟩ | |
| 700 | - have hw : WeightedClasses.MeanClass s α (fun n => PressureStream.weightedSource (g n)) := by | |
| 701 | - unfold PressureStream.weightedSource | |
| 702 | - simpa only [smul_eq_mul, id_eq] using | |
| 703 | - meanClass_radialMultiply a b (φ := id) contDiff_id hdomain hg hclass | |
| 704 | - have hwc := fun n => PressureStream.weightedSource_contDiff (hg n) | |
| 705 | - have hws := fun n => PressureStream.weightedSource_supported (hs n) | |
| 706 | - have hic := RadialPullback.meanClass_physicalCompact ha hab hd hcL hcR ε R hε hεone hR α M v | |
| 707 | - (fun n => PressureStream.weightedSource (g n)) hwc hws hw | |
| 708 | - exact meanClass_divideRadius ha hdomain | |
| 709 | - (fun n => RadialPullback.physicalCompact_contDiff ha hab hd (hwc n) (hws n) (M n) (v n)) | |
| 710 | - (fun n => RadialPullback.physicalCompact_supported ha hab hd (hwc n) (hws n) (M n) (v n)) hic | |
| 711 | - | |
| 712 | -/-- A fixed full axial direction may include every slow variable. Its actual | |
| 713 | -derivative of the stream has the same class exponent. -/ | |
| 714 | -theorem meanClass_streamBeta {a b d cL cR : ℝ} | |
| 715 | - (ha : 0 < a) (hab : a < b) (hd : 0 < d) (hcL : 0 < cL) (hcR : 0 < cR) | |
| 716 | - (ε R : ℕ → ℝ) (hε : ∀ n, 0 < ε n) (hεone : ∀ n, ε n ≤ 1) (hR : ∀ n, 1 ≤ R n) | |
| 717 | - (α : ℝ) (M : ℕ → ℝ) (v : ℕ → E) (w : E) (g : ℕ → ℝ × E → ℝ) | |
| 718 | - (hg : ∀ n, ContDiff ℝ ∞ (g n)) (hs : ∀ n, RadialAlias.RadiallySupported a b (g n)) | |
| 719 | - (hclass : WeightedClasses.MeanClass | |
| 720 | - (WeightedRadialPrimitive.logStripData a b cL cR ha hcL hcR ε R hε hεone hR) α g) : | |
| 721 | - WeightedClasses.MeanClass | |
| 722 | - (WeightedRadialPrimitive.logStripData a b cL cR ha hcL hcR ε R hε hεone hR) α | |
| 723 | - (fun n => PressureStream.streamBeta w (PressureStream.streamPotential d a b (M n) (v n) (g n))) := by | |
| 724 | - have hi := meanClass_streamPotential ha hab hd hcL hcR ε R hε hεone hR α M v g hg hs hclass | |
| 725 | - have hD := (hi.directional (0, w)).map (-ContinuousLinearMap.id ℝ ℝ) | |
| 726 | - unfold WeightedClasses.MeanClass PressureStream.streamBeta PressureStream.graphDz | |
| 727 | - simpa only [ | |
| 728 | - _root_.neg_apply, ContinuousLinearMap.id_apply] using hD | |
| 729 | - | |
| 730 | 619 | end WeightedStream |
| 731 | 620 | |
| 732 | 621 | section AliasPullback |
| 733 | 622 | |
| 734 | 623 | variable {E : Type} [NormedAddCommGroup E] [NormedSpace ℝ E] |
| 735 | 624 | |
| 736 | -noncomputable def aliasFactor (d a r : ℝ) : ℝ := | |
| 737 | - RadialPullback.radialJacobian d (RadialPullback.positiveRadius (a / 4) r) / | |
| 738 | - RadialPullback.positiveRadius (a / 4) r | |
| 739 | - | |
| 740 | -theorem aliasFactor_smooth {a : ℝ} (ha : 0 < a) (d : ℝ) : ContDiff ℝ ∞ (aliasFactor d a) := by | |
| 741 | - have hr := RadialPullback.positiveRadius_contDiff (a / 4) | |
| 742 | - have hn (r : ℝ) := (RadialPullback.positiveRadius_pos (show 0 < a / 4 by positivity) r).ne' | |
| 743 | - exact (contDiff_const.mul (hr.rpow_const_of_ne hn)).div hr hn | |
| 744 | - | |
| 745 | -/-- The physical divided alias is exactly a fixed radial multiplier times | |
| 746 | -the normalized transport alias pulled through the power chart. -/ | |
| 747 | -theorem dividedAlias_eq_pullback {d a b M : ℝ} (ha : 0 < a) (hab : a < b) (hd : 0 < d) | |
| 748 | - (v : E) (g : ℝ × E → ℝ) : | |
| 749 | - PressureStream.divideRadius (RadialPullback.physicalAlias d a b M v g) = | |
| 750 | - fun z => aliasFactor d a z.1 * UniformFourierAlias.exactAlias | |
| 751 | - (TransportPrimitive.interiorCutoff (a ^ d) (b ^ d)) M v (RadialPullback.normalizeSource d a g) | |
| 752 | - (RadialPullback.liftChart (RadialPullback.powerChart d a) z) := by | |
| 753 | - funext z | |
| 754 | - by_cases hr : a ≤ z.1 | |
| 755 | - · dsimp [PressureStream.divideRadius, RadialPullback.physicalAlias, UniformFourierAlias.exactAlias, | |
| 756 | - RadialPullback.liftChart, aliasFactor] | |
| 757 | - rw [RadialPullback.positiveRadius_eq_self (show 0 < a / 4 by positivity) (by linarith)] | |
| 758 | - ring | |
| 759 | - · have hχ := RadialPullback.deriv_interiorCutoff_zero_left | |
| 760 | - (Real.rpow_lt_rpow ha.le hab hd) (RadialPullback.powerChart_lt_left ha hd (lt_of_not_ge hr)).le | |
| 761 | - simp only [PressureStream.divideRadius, RadialPullback.physicalAlias, UniformFourierAlias.exactAlias, | |
| 762 | - RadialPullback.liftChart, hχ, mul_zero, zero_smul, zero_div] | |
| 763 | - | |
| 764 | -/-- A uniform full-jet estimate for the actual physical alias follows from | |
| 765 | -the corresponding normalized alias estimate. The transfer constant is fixed | |
| 766 | -before the source, transport coefficient, and transport direction are given. -/ | |
| 767 | -theorem dividedAlias_finiteJets_transfer {d a b : ℝ} (ha : 0 < a) (hab : a < b) (hd : 0 < d) | |
| 768 | - (m : ℕ) : ∃ K : ℝ, 0 ≤ K ∧ ∀ (M : ℝ) (v : E) (g : ℝ × E → ℝ), | |
| 769 | - ContDiff ℝ ∞ g → RadialAlias.RadiallySupported a b g → | |
| 770 | - ∀ C : ℝ, 0 ≤ C → | |
| 771 | - (∀ j ≤ m, ∀ z : ℝ × E, ‖iteratedFDeriv ℝ j (UniformFourierAlias.exactAlias | |
| 772 | - (TransportPrimitive.interiorCutoff (a ^ d) (b ^ d)) M v | |
| 773 | - (RadialPullback.normalizeSource d a g)) z‖ ≤ C) → | |
| 774 | - ∀ j ≤ m, ∀ z : ℝ × E, | |
| 775 | - ‖iteratedFDeriv ℝ j (PressureStream.divideRadius (RadialPullback.physicalAlias d a b M v g)) z‖ ≤ | |
| 776 | - K * C := by | |
| 777 | - obtain ⟨KP, hKP, hcomp⟩ := RadialPullback.radial_comp_finiteJets_uniform (E := E) (V := ℝ) | |
| 778 | - a b (RadialPullback.powerChart_contDiff ha d) m | |
| 779 | - obtain ⟨KM, hKM, hmul⟩ := RadialPullback.radial_multiplier_finiteJets_uniform (E := E) (V := ℝ) | |
| 780 | - a b (aliasFactor_smooth ha d) m | |
| 781 | - refine ⟨KM * KP, mul_nonneg hKM hKP, ?_⟩ | |
| 782 | - intro M v g hg hs C hC hbound j hj z | |
| 783 | - let A := UniformFourierAlias.exactAlias (TransportPrimitive.interiorCutoff (a ^ d) (b ^ d)) | |
| 784 | - M v (RadialPullback.normalizeSource d a g) | |
| 785 | - have hAs : ContDiff ℝ ∞ A := UniformFourierAlias.exactAlias_smooth | |
| 786 | - (TransportPrimitive.interiorCutoff_contDiff (a ^ d) (b ^ d)) | |
| 787 | - (RadialPullback.normalizeSource_contDiff ha hd hg) (RadialPullback.normalizeSource_supported ha hab hd hs) | |
| 788 | - by_cases hz : z.1 ∈ Icc a b | |
| 789 | - · rw [dividedAlias_eq_pullback ha hab hd v g] | |
| 790 | - change ‖iteratedFDeriv ℝ j (fun y => aliasFactor d a y.1 • | |
| 791 | - (A ∘ RadialPullback.liftChart (RadialPullback.powerChart d a)) y) z‖ ≤ _ | |
| 792 | - have hc := hcomp A hAs z hz C hC | |
| 793 | - (fun i hi => hbound i hi (RadialPullback.liftChart (RadialPullback.powerChart d a) z)) | |
| 794 | - have hm := hmul (A ∘ RadialPullback.liftChart (RadialPullback.powerChart d a)) | |
| 795 | - (hAs.comp (RadialPullback.liftChart_contDiff (RadialPullback.powerChart_contDiff ha d))) z hz | |
| 796 | - (KP * C) (mul_nonneg hKP hC) hc j hj | |
| 797 | - exact hm.trans_eq (by ring) | |
| 798 | - · have hz0 : iteratedFDeriv ℝ j | |
| 799 | - (PressureStream.divideRadius (RadialPullback.physicalAlias d a b M v g)) z = 0 := by | |
| 800 | - by_contra hn | |
| 801 | - exact hz (TransportPrimitive.iteratedFDeriv_supported | |
| 802 | - (PressureStream.divideRadius_supported (RadialPullback.physicalAlias_supported ha hab hd M v g)) j hn) | |
| 803 | - rw [hz0, norm_zero] | |
| 804 | - exact mul_nonneg (mul_nonneg hKM hKP) hC | |
| 805 | - | |
| 806 | 625 | end AliasPullback |
| 807 | 626 | |
| 808 | 627 | section WeightedTemporal |
| 809 | 628 | |
| 810 | 629 | variable {S : Type} [NormedAddCommGroup S] [NormedSpace ℝ S] [FiniteDimensional ℝ S] |
| 811 | 630 | |
| 812 | -theorem meanClass_temporalInverse {a b cL cR : ℝ} | |
| 813 | - (ha : 0 < a) (hcL : 0 < cL) (hcR : 0 < cR) | |
| 814 | - (ε R : ℕ → ℝ) (hε : ∀ n, 0 < ε n) (hεone : ∀ n, ε n ≤ 1) (hR : ∀ n, 1 ≤ R n) | |
| 815 | - {α : ℝ} {f : ℕ → PressureStream.Lift S → ℝ} | |
| 816 | - (hf : WeightedClasses.MeanClass | |
| 817 | - (WeightedRadialPrimitive.logStripData a b cL cR ha hcL hcR ε R hε hεone hR) α f) | |
| 818 | - (hfc : ∀ n, ContDiff ℝ ∞ (f n)) (hp : ∀ n, PressureStream.TorusPeriodicLift (f n)) : | |
| 819 | - WeightedClasses.MeanClass | |
| 820 | - (WeightedRadialPrimitive.logStripData a b cL cR ha hcL hcR ε R hε hεone hR) α | |
| 821 | - (fun n => temporalInverse (f n)) := | |
| 822 | - UniformFourierAlias.meanClass_realInverse .temporal ha hcL hcR ε R hε hεone hR hf hfc hp | |
| 823 | - | |
| 824 | -theorem meanClass_centered {a b cL cR : ℝ} | |
| 825 | - (ha : 0 < a) (hcL : 0 < cL) (hcR : 0 < cR) | |
| 826 | - (ε R : ℕ → ℝ) (hε : ∀ n, 0 < ε n) (hεone : ∀ n, ε n ≤ 1) (hR : ∀ n, 1 ≤ R n) | |
| 827 | - {α : ℝ} {f : ℕ → PressureStream.Lift S → ℝ} | |
| 828 | - (hf : WeightedClasses.MeanClass | |
| 829 | - (WeightedRadialPrimitive.logStripData a b cL cR ha hcL hcR ε R hε hεone hR) α f) | |
| 830 | - (hfc : ∀ n, ContDiff ℝ ∞ (f n)) (hp : ∀ n, PressureStream.TorusPeriodicLift (f n)) : | |
| 831 | - WeightedClasses.MeanClass | |
| 832 | - (WeightedRadialPrimitive.logStripData a b cL cR ha hcL hcR ε R hε hεone hR) α | |
| 833 | - (fun n => centered (f n)) := | |
| 834 | - UniformFourierAlias.meanClass_realCenterSource ha hcL hcR ε R hε hεone hR hf hfc hp | |
| 835 | - | |
| 836 | -/-- The complete desired temporal update preserves the original exponent in | |
| 837 | -every band, including the initial bands. No inverse estimate is assumed. -/ | |
| 838 | -theorem meanClass_desiredIncrement {a b cL cR h : ℝ} | |
| 839 | - (ha : 0 < a) (hcL : 0 < cL) (hcR : 0 < cR) (hh : 0 ≤ h) | |
| 840 | - (ε R : ℕ → ℝ) (hε : ∀ n, 0 < ε n) (hεone : ∀ n, ε n ≤ 1) (hR : ∀ n, 1 ≤ R n) | |
| 841 | - (hscale : ∀ n, ChartScales.S n ≤ R n) | |
| 842 | - {α : ℝ} {f : ℕ → PressureStream.Lift S → ℝ} | |
| 843 | - (hf : WeightedClasses.MeanClass | |
| 844 | - (WeightedRadialPrimitive.logStripData a b cL cR ha hcL hcR ε R hε hεone hR) α f) | |
| 845 | - (hfc : ∀ n, ContDiff ℝ ∞ (f n)) (hp : ∀ n, PressureStream.TorusPeriodicLift (f n)) : | |
| 846 | - WeightedClasses.MeanClass | |
| 847 | - (WeightedRadialPrimitive.logStripData a b cL cR ha hcL hcR ε R hε hεone hR) α | |
| 848 | - (fun n => desiredIncrement h n (f n)) := by | |
| 849 | - have hc := meanClass_centered ha hcL hcR ε R hε hεone hR hf hfc hp | |
| 850 | - have hi := meanClass_temporalInverse ha hcL hcR ε R hε hεone hR hc | |
| 851 | - (fun n => centered_smooth (hfc n)) (fun n => centered_periodic (hp n)) | |
| 852 | - have hm := (meanClass_chartPrefactor_all hh hscale hi).map (-ContinuousLinearMap.id ℝ ℝ) | |
| 853 | - change WeightedClasses.MeanClass _ α | |
| 854 | - (fun n z => -chartPrefactor h n * temporalInverse (centered (f n)) z) | |
| 855 | - unfold WeightedClasses.MeanClass | |
| 856 | - simpa only [desiredIncrement, _root_.neg_apply, ContinuousLinearMap.id_apply, | |
| 857 | - smul_eq_mul, neg_mul] using hm | |
| 858 | - | |
| 859 | -theorem meanClass_radialUpdate {a b d cL cR h : ℝ} | |
| 860 | - (ha : 0 < a) (hab : a < b) (hd : 0 < d) (hcL : 0 < cL) (hcR : 0 < cR) (hh : 0 ≤ h) | |
| 861 | - (ε R : ℕ → ℝ) (hε : ∀ n, 0 < ε n) (hεone : ∀ n, ε n ≤ 1) (hR : ∀ n, 1 ≤ R n) | |
| 862 | - (hscale : ∀ n, ChartScales.S n ≤ R n) (M : ℕ → ℝ) (v : ℕ → Plane) (w : S × Plane) | |
| 863 | - {α : ℝ} {f : ℕ → PressureStream.Lift S → ℝ} | |
| 864 | - (hf : WeightedClasses.MeanClass | |
| 865 | - (WeightedRadialPrimitive.logStripData a b cL cR ha hcL hcR ε R hε hεone hR) α f) | |
| 866 | - (hfc : ∀ n, ContDiff ℝ ∞ (f n)) (hp : ∀ n, PressureStream.TorusPeriodicLift (f n)) | |
| 867 | - (hs : ∀ n, RadialAlias.RadiallySupported a b (f n)) : | |
| 868 | - WeightedClasses.MeanClass | |
| 869 | - (WeightedRadialPrimitive.logStripData a b cL cR ha hcL hcR ε R hε hεone hR) α | |
| 870 | - (fun n => radialUpdate d a b (M n) (v n) w h n (f n)) := | |
| 871 | - meanClass_streamBeta ha hab hd hcL hcR ε R hε hεone hR α M (fun n => (0, v n)) w | |
| 872 | - (fun n => desiredIncrement h n (f n)) (fun n => desiredIncrement_smooth h n (hfc n) (hp n)) | |
| 873 | - (fun n => desiredIncrement_supported h n (hs n)) | |
| 874 | - (meanClass_desiredIncrement ha hcL hcR hh ε R hε hεone hR hscale hf hfc hp) | |
| 875 | - | |
| 876 | -/-- The actual chart axial direction carries `ε`; its radial stream | |
| 877 | -component therefore gains one full mean-class exponent. -/ | |
| 878 | -theorem meanClass_scaledRadialUpdate {a b d cL cR h : ℝ} | |
| 879 | - (ha : 0 < a) (hab : a < b) (hd : 0 < d) (hcL : 0 < cL) (hcR : 0 < cR) (hh : 0 ≤ h) | |
| 880 | - (ε R : ℕ → ℝ) (hε : ∀ n, 0 < ε n) (hεone : ∀ n, ε n ≤ 1) (hR : ∀ n, 1 ≤ R n) | |
| 881 | - (hscale : ∀ n, ChartScales.S n ≤ R n) (M : ℕ → ℝ) (v : ℕ → Plane) (w : S × Plane) | |
| 882 | - {α : ℝ} {f : ℕ → PressureStream.Lift S → ℝ} | |
| 883 | - (hf : WeightedClasses.MeanClass | |
| 884 | - (WeightedRadialPrimitive.logStripData a b cL cR ha hcL hcR ε R hε hεone hR) α f) | |
| 885 | - (hfc : ∀ n, ContDiff ℝ ∞ (f n)) (hp : ∀ n, PressureStream.TorusPeriodicLift (f n)) | |
| 886 | - (hs : ∀ n, RadialAlias.RadiallySupported a b (f n)) : | |
| 887 | - WeightedClasses.MeanClass | |
| 888 | - (WeightedRadialPrimitive.logStripData a b cL cR ha hcL hcR ε R hε hεone hR) (α + 1) | |
| 889 | - (fun n => radialUpdate d a b (M n) (v n) (ε n • w) h n (f n)) := by | |
| 890 | - let st := WeightedRadialPrimitive.logStripData (E := S × Plane) a b cL cR ha hcL hcR ε R hε hεone hR | |
| 891 | - have hb : WeightedClasses.BandBound st 1 ε := by | |
| 892 | - have h := WeightedClasses.bandBound_rpow st 1 | |
| 893 | - simp only [Real.rpow_one] at h | |
| 894 | - exact h | |
| 895 | - have hi := meanClass_radialUpdate ha hab hd hcL hcR hh ε R hε hεone hR hscale M v w hf hfc hp hs | |
| 896 | - have hout := hi.band_smul hb | |
| 897 | - have heq : (fun n => radialUpdate d a b (M n) (v n) (ε n • w) h n (f n)) = | |
| 898 | - (fun n z => ε n • radialUpdate d a b (M n) (v n) w h n (f n) z) := by | |
| 899 | - funext n z | |
| 900 | - exact congrFun (radialUpdate_smul_direction d a b (M n) (v n) w h (ε n) n (f n)) z | |
| 901 | - rw [heq] | |
| 902 | - exact hout | |
| 903 | - | |
| 904 | 631 | end WeightedTemporal |
| 905 | 632 | |
| 906 | 633 | section PhysicalAliasSuperflat |
| @@ -956,242 +683,12 @@ theorem interiorCutoff_deriv_zero_right {a b U : ℝ} (hab : a < b) | ||
| 956 | 683 | exact TransportPrimitive.interiorCutoff_one hab hu.le |
| 957 | 684 | exact ((hasDerivAt_const U (1 : ℝ)).congr_of_eventuallyEq he).deriv |
| 958 | 685 | |
| 959 | -/-- The physical alias has support in one fixed compact subannulus, | |
| 960 | -uniformly in the source, band, and direction. -/ | |
| 961 | -theorem dividedAlias_interior_support {a b d : ℝ} (ha : 0 < a) (hab : a < b) (hd : 0 < d) : | |
| 962 | - ∃ c e : ℝ, a < c ∧ c < e ∧ e < b ∧ ∀ (M : ℝ) (v : E) (g : ℝ × E → ℝ), | |
| 963 | - RadialAlias.RadiallySupported c e (PressureStream.divideRadius (RadialPullback.physicalAlias d a b M v g)) := by | |
| 964 | - have hb : 0 < b := ha.trans hab | |
| 965 | - have haU : 0 < a ^ d := Real.rpow_pos_of_pos ha d | |
| 966 | - have habU : a ^ d < b ^ d := Real.rpow_lt_rpow ha.le hab hd | |
| 967 | - let cU := (2 * a ^ d + b ^ d) / 3 | |
| 968 | - let eU := (a ^ d + 2 * b ^ d) / 3 | |
| 969 | - have hacU : a ^ d < cU := by dsimp [cU]; linarith | |
| 970 | - have hceU : cU < eU := by dsimp [cU, eU]; linarith | |
| 971 | - have hebU : eU < b ^ d := by dsimp [eU]; linarith | |
| 972 | - have hcU : 0 < cU := haU.trans hacU | |
| 973 | - have heU : 0 < eU := hcU.trans hceU | |
| 974 | - let c := cU ^ d⁻¹ | |
| 975 | - let e := eU ^ d⁻¹ | |
| 976 | - have hac : a < c := by | |
| 977 | - simpa only [Real.rpow_rpow_inv ha.le hd.ne'] using | |
| 978 | - Real.rpow_lt_rpow haU.le hacU (inv_pos.mpr hd) | |
| 979 | - have hce : c < e := Real.rpow_lt_rpow hcU.le hceU (inv_pos.mpr hd) | |
| 980 | - have heb : e < b := by | |
| 981 | - simpa only [Real.rpow_rpow_inv hb.le hd.ne'] using | |
| 982 | - Real.rpow_lt_rpow heU.le hebU (inv_pos.mpr hd) | |
| 983 | - have hcPow : c ^ d = cU := Real.rpow_inv_rpow hcU.le hd.ne' | |
| 984 | - have hePow : e ^ d = eU := Real.rpow_inv_rpow heU.le hd.ne' | |
| 985 | - have hleft (r : ℝ) (hr : r < c) : | |
| 986 | - deriv (TransportPrimitive.interiorCutoff (a ^ d) (b ^ d)) (RadialPullback.powerChart d a r) = 0 := by | |
| 987 | - apply interiorCutoff_deriv_zero_left habU | |
| 988 | - change RadialPullback.powerChart d a r < cU | |
| 989 | - by_cases hra : a ≤ r | |
| 990 | - · rw [RadialPullback.powerChart_eq ha (by linarith) d] | |
| 991 | - exact (Real.rpow_lt_rpow (ha.trans_le hra).le hr hd).trans_eq hcPow | |
| 992 | - · exact (RadialPullback.powerChart_lt_left ha hd (lt_of_not_ge hra)).trans hacU | |
| 993 | - have hright (r : ℝ) (hr : e < r) : | |
| 994 | - deriv (TransportPrimitive.interiorCutoff (a ^ d) (b ^ d)) (RadialPullback.powerChart d a r) = 0 := by | |
| 995 | - apply interiorCutoff_deriv_zero_right habU | |
| 996 | - change eU < RadialPullback.powerChart d a r | |
| 997 | - rw [RadialPullback.powerChart_eq ha (by linarith) d, ← hePow] | |
| 998 | - exact Real.rpow_lt_rpow (ha.trans (hac.trans hce)).le hr hd | |
| 999 | - refine ⟨c, e, hac, hce, heb, ?_⟩ | |
| 1000 | - intro M v g z hz | |
| 1001 | - constructor | |
| 1002 | - · by_contra hn | |
| 1003 | - have he := hleft z.1 (lt_of_not_ge hn) | |
| 1004 | - exact hz (by simp only [PressureStream.divideRadius, RadialPullback.physicalAlias, | |
| 1005 | - he, mul_zero, zero_smul, zero_div]) | |
| 1006 | - · by_contra hn | |
| 1007 | - have he := hright z.1 (lt_of_not_ge hn) | |
| 1008 | - exact hz (by simp only [PressureStream.divideRadius, RadialPullback.physicalAlias, | |
| 1009 | - he, mul_zero, zero_smul, zero_div]) | |
| 1010 | - | |
| 1011 | -/-- A fixed interior support converts uniform band bounds into the full | |
| 1012 | -weighted class by an actual positive minimum of the exponential weight. -/ | |
| 1013 | -theorem meanClass_of_interior_bounds {a b c e cL cR α : ℝ} | |
| 1014 | - (ha : 0 < a) (hac : a < c) (he : e < b) (hcL : 0 < cL) (hcR : 0 < cR) | |
| 1015 | - (ε R : ℕ → ℝ) (hε : ∀ n, 0 < ε n) (hεone : ∀ n, ε n ≤ 1) (hR : ∀ n, 1 ≤ R n) | |
| 1016 | - {f : ℕ → ℝ × E → V} (hfc : ∀ n, ContDiff ℝ ∞ (f n)) | |
| 1017 | - (hs : ∀ n, RadialAlias.RadiallySupported c e (f n)) | |
| 1018 | - (hf : ∀ m : ℕ, ∃ C : ℝ, 0 ≤ C ∧ ∃ p : ℕ, ∀ n j, j ≤ m → ∀ z : ℝ × E, | |
| 1019 | - ‖iteratedFDeriv ℝ j (f n) z‖ ≤ C * ε n ^ α * R n ^ p) : | |
| 1020 | - WeightedClasses.MeanClass | |
| 1021 | - (WeightedRadialPrimitive.logStripData a b cL cR ha hcL hcR ε R hε hεone hR) α f := by | |
| 1022 | - let st := WeightedRadialPrimitive.logStripData (E := E) a b cL cR ha hcL hcR ε R hε hεone hR | |
| 1023 | - have hmem (r : ℝ) (hr : r ∈ Icc c e) : ((r, (0 : E)) : ℝ × E) ∈ st.domain := | |
| 1024 | - ⟨hac.trans_le hr.1, hr.2.trans_lt he⟩ | |
| 1025 | - have hcont : ContinuousOn (fun r : ℝ => st.zeta (r, (0 : E))) (Icc c e) := | |
| 1026 | - st.zeta_smooth.continuousOn.comp (continuous_id.prodMk continuous_const).continuousOn hmem | |
| 1027 | - have hpos (r : ℝ) (hr : r ∈ Icc c e) : 0 < st.zeta (r, (0 : E)) := | |
| 1028 | - WeightedRadialPrimitive.zeta_pos cL cR (WeightedRadialPrimitive.logPosition_mem ha (hmem r hr)) | |
| 1029 | - obtain ⟨η, hη, hηbound⟩ := UniformCone.positive_uniform_margin isCompact_Icc hcont hpos | |
| 1030 | - refine ⟨fun n z hz => st.zeta_nonneg z hz, fun n => (hfc n).contDiffOn, ?_⟩ | |
| 1031 | - intro m | |
| 1032 | - obtain ⟨C, hC, p, hbound⟩ := hf m | |
| 1033 | - refine ⟨C / η, div_nonneg hC hη.le, p, ?_⟩ | |
| 1034 | - intro n z hz j hj | |
| 1035 | - by_cases hzi : z.1 ∈ Icc c e | |
| 1036 | - · have hζ : η ≤ st.zeta z := hηbound z.1 hzi | |
| 1037 | - have hgr : R n ^ p ≤ st.growth n z ^ p := | |
| 1038 | - pow_le_pow_left₀ (zero_le_one.trans (hR n)) (st.slow_le_growth n z) p | |
| 1039 | - have hA : 0 ≤ C / η * ε n ^ α * st.growth n z ^ p := | |
| 1040 | - mul_nonneg (mul_nonneg (div_nonneg hC hη.le) (Real.rpow_pos_of_pos (hε n) α).le) | |
| 1041 | - (pow_nonneg (st.growth_nonneg n z) p) | |
| 1042 | - calc | |
| 1043 | - _ ≤ C * ε n ^ α * R n ^ p := hbound n j hj z | |
| 1044 | - _ ≤ C * ε n ^ α * st.growth n z ^ p := | |
| 1045 | - mul_le_mul_of_nonneg_left hgr (mul_nonneg hC (Real.rpow_pos_of_pos (hε n) α).le) | |
| 1046 | - _ = (C / η * ε n ^ α * st.growth n z ^ p) * η := by field_simp | |
| 1047 | - _ ≤ (C / η * ε n ^ α * st.growth n z ^ p) * st.zeta z := mul_le_mul_of_nonneg_left hζ hA | |
| 1048 | - _ = _ := rfl | |
| 1049 | - · have hzero : iteratedFDeriv ℝ j (f n) z = 0 := | |
| 1050 | - Classical.byContradiction (fun hn => hzi (TransportPrimitive.iteratedFDeriv_supported (hs n) j hn)) | |
| 1051 | - rw [hzero, norm_zero] | |
| 1052 | - exact WeightedClasses.majorant_nonneg st (fun _ z => st.zeta z) α | |
| 1053 | - (div_nonneg hC hη.le) p n z (st.zeta_nonneg z hz) | |
| 1054 | - | |
| 1055 | 686 | end InteriorAliasClass |
| 1056 | 687 | |
| 1057 | 688 | section CompleteWeightedUpdate |
| 1058 | 689 | |
| 1059 | 690 | variable {S : Type} [NormedAddCommGroup S] [NormedSpace ℝ S] [FiniteDimensional ℝ S] |
| 1060 | 691 | |
| 1061 | -theorem dividedAlias_global_bounds {a b d cL cR α : ℝ} | |
| 1062 | - (ha : 0 < a) (hab : a < b) (hd : 0 < d) (hcL : 0 < cL) (hcR : 0 < cR) | |
| 1063 | - (ε R : ℕ → ℝ) (hε : ∀ n, 0 < ε n) (hεone : ∀ n, ε n ≤ 1) (hR : ∀ n, 1 ≤ R n) | |
| 1064 | - (M : ℕ → ℝ) (hM : ∀ n, M n ≠ 0) {g : ℕ → PressureStream.Lift S → ℝ} | |
| 1065 | - (hg : WeightedClasses.MeanClass | |
| 1066 | - (WeightedRadialPrimitive.logStripData a b cL cR ha hcL hcR ε R hε hεone hR) α g) | |
| 1067 | - (hgc : ∀ n, ContDiff ℝ ∞ (g n)) (hgp : ∀ n, PressureStream.TorusPeriodicLift (g n)) | |
| 1068 | - (hgm : ∀ n p, PressureStream.torusAverage (g n) p = 0) | |
| 1069 | - (hgs : ∀ n, RadialAlias.RadiallySupported a b (g n)) (m : ℕ) : | |
| 1070 | - ∃ C : ℝ, 0 ≤ C ∧ ∃ p : ℕ, ∀ n j, j ≤ m → ∀ z : PressureStream.Lift S, | |
| 1071 | - ‖iteratedFDeriv ℝ j (PressureStream.divideRadius | |
| 1072 | - (RadialPullback.physicalAlias d a b (M n) ((0 : S), vector .radial) (g n))) z‖ ≤ | |
| 1073 | - C * ε n ^ α * R n ^ p := by | |
| 1074 | - have haU : 0 < a ^ d := Real.rpow_pos_of_pos ha d | |
| 1075 | - have habU : a ^ d < b ^ d := Real.rpow_lt_rpow ha.le hab hd | |
| 1076 | - have hcLU : 0 < d ^ 2 * cL := mul_pos (sq_pos_of_pos hd) hcL | |
| 1077 | - have hcRU : 0 < d ^ 2 * cR := mul_pos (sq_pos_of_pos hd) hcR | |
| 1078 | - let G := fun n => RadialPullback.normalizeSource d a (g n) | |
| 1079 | - have hG := UniformFourierAlias.meanClass_normalizeSource ha hab hd hcL hcR ε R hε hεone hR hg hgc | |
| 1080 | - have hGc : ∀ n, ContDiff ℝ ∞ (G n) := fun n => RadialPullback.normalizeSource_contDiff ha hd (hgc n) | |
| 1081 | - have hGp : ∀ n, UniformFourierAlias.SourcePeriodic (G n) := fun n => normalizeSource_periodic d a (hgp n) | |
| 1082 | - have hGm : ∀ n p, UniformFourierAlias.sourceMean (G n) p = 0 := by | |
| 1083 | - intro n p | |
| 1084 | - change PressureStream.torusAverage (RadialPullback.normalizeSource d a (g n)) p = 0 | |
| 1085 | - rw [normalizeSource_torusAverage, hgm, mul_zero] | |
| 1086 | - have hGs := fun n => RadialPullback.normalizeSource_supported ha hab hd (hgs n) | |
| 1087 | - obtain ⟨C, hC, p, hsource⟩ := UniformFourierAlias.meanClass_global_finiteJets | |
| 1088 | - haU hcLU hcRU ε R hε hεone hR hG hGs hGc m | |
| 1089 | - let χ := TransportPrimitive.interiorCutoff (a ^ d) (b ^ d) | |
| 1090 | - have hχ : ContDiff ℝ ∞ χ := TransportPrimitive.interiorCutoff_contDiff _ _ | |
| 1091 | - have hleft : ∀ U ≤ a ^ d, χ U = 0 := fun U hU => | |
| 1092 | - TransportPrimitive.interiorCutoff_zero habU (by linarith) | |
| 1093 | - have hright : ∀ U, b ^ d ≤ U → χ U = 1 := fun U hU => | |
| 1094 | - TransportPrimitive.interiorCutoff_one habU (by linarith) | |
| 1095 | - obtain ⟨KA, hKA, hbA⟩ := UniformFourierAlias.real_exactAlias_finiteJets (S := S) .radial | |
| 1096 | - habU.le hχ hleft hright m 0 | |
| 1097 | - obtain ⟨KT, hKT, hbT⟩ := dividedAlias_finiteJets_transfer (E := S × Plane) ha hab hd m | |
| 1098 | - refine ⟨KT * KA * C, mul_nonneg (mul_nonneg hKT hKA) hC, p, ?_⟩ | |
| 1099 | - intro n j hj z | |
| 1100 | - let B := C * ε n ^ α * R n ^ p | |
| 1101 | - have hB : 0 ≤ B := mul_nonneg (mul_nonneg hC (Real.rpow_pos_of_pos (hε n) α).le) | |
| 1102 | - (pow_nonneg (zero_le_one.trans (hR n)) _) | |
| 1103 | - have hAb : ∀ i ≤ m, ∀ y : PressureStream.Lift S, | |
| 1104 | - ‖iteratedFDeriv ℝ i (UniformFourierAlias.exactAlias χ (M n) ((0 : S), vector .radial) (G n)) y‖ ≤ KA * B := by | |
| 1105 | - intro i hi y | |
| 1106 | - have he := hbA (G n) (hGc n) (hGp n) (hGm n) (hGs n) B hB | |
| 1107 | - (fun k hk x _ => hsource n k (by simpa using hk) x (Set.mem_univ x)) (M n) (hM n) i hi y | |
| 1108 | - simpa only [pow_zero, mul_one] using he | |
| 1109 | - have he := hbT (M n) ((0 : S), vector .radial) (g n) (hgc n) (hgs n) | |
| 1110 | - (KA * B) (mul_nonneg hKA hB) hAb j hj z | |
| 1111 | - exact he.trans_eq (by dsimp [B]; ring) | |
| 1112 | - | |
| 1113 | -/-- The actual divided compactification alias lies in the same weighted | |
| 1114 | -class; its fixed interior support supplies the full edge weight. -/ | |
| 1115 | -theorem meanClass_dividedAlias {a b d cL cR α : ℝ} | |
| 1116 | - (ha : 0 < a) (hab : a < b) (hd : 0 < d) (hcL : 0 < cL) (hcR : 0 < cR) | |
| 1117 | - (ε R : ℕ → ℝ) (hε : ∀ n, 0 < ε n) (hεone : ∀ n, ε n ≤ 1) (hR : ∀ n, 1 ≤ R n) | |
| 1118 | - (M : ℕ → ℝ) (hM : ∀ n, M n ≠ 0) {g : ℕ → PressureStream.Lift S → ℝ} | |
| 1119 | - (hg : WeightedClasses.MeanClass | |
| 1120 | - (WeightedRadialPrimitive.logStripData a b cL cR ha hcL hcR ε R hε hεone hR) α g) | |
| 1121 | - (hgc : ∀ n, ContDiff ℝ ∞ (g n)) (hgp : ∀ n, PressureStream.TorusPeriodicLift (g n)) | |
| 1122 | - (hgm : ∀ n p, PressureStream.torusAverage (g n) p = 0) | |
| 1123 | - (hgs : ∀ n, RadialAlias.RadiallySupported a b (g n)) : | |
| 1124 | - WeightedClasses.MeanClass | |
| 1125 | - (WeightedRadialPrimitive.logStripData a b cL cR ha hcL hcR ε R hε hεone hR) α | |
| 1126 | - (fun n => PressureStream.divideRadius | |
| 1127 | - (RadialPullback.physicalAlias d a b (M n) ((0 : S), vector .radial) (g n))) := by | |
| 1128 | - obtain ⟨c, e, hac, _, heb, hs⟩ := dividedAlias_interior_support (E := S × Plane) ha hab hd | |
| 1129 | - apply meanClass_of_interior_bounds ha hac heb hcL hcR ε R hε hεone hR | |
| 1130 | - · intro n | |
| 1131 | - exact PressureStream.divideRadius_contDiff ha | |
| 1132 | - (RadialPullback.physicalAlias_contDiff ha hab hd (hgc n) (hgs n) (M n) (0, vector .radial)) | |
| 1133 | - (RadialPullback.physicalAlias_supported ha hab hd (M n) (0, vector .radial) (g n)) | |
| 1134 | - · exact fun n => hs (M n) (0, vector .radial) (g n) | |
| 1135 | - · exact dividedAlias_global_bounds ha hab hd hcL hcR ε R hε hεone hR M hM hg hgc hgp hgm hgs | |
| 1136 | - | |
| 1137 | -theorem meanClass_axialAlias {a b d cL cR h α : ℝ} | |
| 1138 | - (ha : 0 < a) (hab : a < b) (hd : 0 < d) (hcL : 0 < cL) (hcR : 0 < cR) (hh : 0 ≤ h) | |
| 1139 | - (ε R : ℕ → ℝ) (hε : ∀ n, 0 < ε n) (hεone : ∀ n, ε n ≤ 1) (hR : ∀ n, 1 ≤ R n) | |
| 1140 | - (hscale : ∀ n, ChartScales.S n ≤ R n) (M : ℕ → ℝ) (hM : ∀ n, M n ≠ 0) | |
| 1141 | - {f : ℕ → PressureStream.Lift S → ℝ} | |
| 1142 | - (hf : WeightedClasses.MeanClass | |
| 1143 | - (WeightedRadialPrimitive.logStripData a b cL cR ha hcL hcR ε R hε hεone hR) α f) | |
| 1144 | - (hfc : ∀ n, ContDiff ℝ ∞ (f n)) (hp : ∀ n, PressureStream.TorusPeriodicLift (f n)) | |
| 1145 | - (hs : ∀ n, RadialAlias.RadiallySupported a b (f n)) : | |
| 1146 | - WeightedClasses.MeanClass | |
| 1147 | - (WeightedRadialPrimitive.logStripData a b cL cR ha hcL hcR ε R hε hεone hR) α | |
| 1148 | - (fun n => axialAlias d a b (M n) (vector .radial) h n (f n)) := by | |
| 1149 | - let st := WeightedRadialPrimitive.logStripData (E := S × Plane) a b cL cR ha hcL hcR ε R hε hεone hR | |
| 1150 | - let g := fun n => desiredIncrement h n (f n) | |
| 1151 | - have hg : WeightedClasses.MeanClass st α g := | |
| 1152 | - meanClass_desiredIncrement ha hcL hcR hh ε R hε hεone hR hscale hf hfc hp | |
| 1153 | - have hgc := fun n => desiredIncrement_smooth h n (hfc n) (hp n) | |
| 1154 | - have hgp := fun n => desiredIncrement_periodic h n (f n) | |
| 1155 | - have hgs := fun n => desiredIncrement_supported h n (hs n) | |
| 1156 | - have hw : WeightedClasses.MeanClass st α (fun n => PressureStream.weightedSource (g n)) := by | |
| 1157 | - unfold PressureStream.weightedSource | |
| 1158 | - simpa only [smul_eq_mul, id_eq] using | |
| 1159 | - meanClass_radialMultiply a b (φ := id) contDiff_id | |
| 1160 | - (s := st) (fun z hz => ⟨hz.1.le, hz.2.le⟩) hgc hg | |
| 1161 | - have hwm : ∀ n p, PressureStream.torusAverage (PressureStream.weightedSource (g n)) p = 0 := by | |
| 1162 | - intro n p | |
| 1163 | - rw [PressureStream.torusAverage_weightedSource, desiredIncrement_zeroMean h n (hfc n) (hp n), mul_zero] | |
| 1164 | - exact meanClass_dividedAlias ha hab hd hcL hcR ε R hε hεone hR M hM hw | |
| 1165 | - (fun n => PressureStream.weightedSource_contDiff (hgc n)) | |
| 1166 | - (fun n => PressureStream.weightedSource_periodic (hgp n)) hwm | |
| 1167 | - (fun n => PressureStream.weightedSource_supported (hgs n)) | |
| 1168 | - | |
| 1169 | -/-- The reconstructed axial field, including its exact nonzero alias, | |
| 1170 | -has the original mean-class exponent. -/ | |
| 1171 | -theorem meanClass_axialUpdate {a b d cL cR h α : ℝ} | |
| 1172 | - (ha : 0 < a) (hab : a < b) (hd : 0 < d) (hcL : 0 < cL) (hcR : 0 < cR) (hh : 0 ≤ h) | |
| 1173 | - (ε R : ℕ → ℝ) (hε : ∀ n, 0 < ε n) (hεone : ∀ n, ε n ≤ 1) (hR : ∀ n, 1 ≤ R n) | |
| 1174 | - (hscale : ∀ n, ChartScales.S n ≤ R n) (M : ℕ → ℝ) (hM : ∀ n, M n ≠ 0) | |
| 1175 | - {f : ℕ → PressureStream.Lift S → ℝ} | |
| 1176 | - (hf : WeightedClasses.MeanClass | |
| 1177 | - (WeightedRadialPrimitive.logStripData a b cL cR ha hcL hcR ε R hε hεone hR) α f) | |
| 1178 | - (hfc : ∀ n, ContDiff ℝ ∞ (f n)) (hp : ∀ n, PressureStream.TorusPeriodicLift (f n)) | |
| 1179 | - (hs : ∀ n, RadialAlias.RadiallySupported a b (f n)) : | |
| 1180 | - WeightedClasses.MeanClass | |
| 1181 | - (WeightedRadialPrimitive.logStripData a b cL cR ha hcL hcR ε R hε hεone hR) α | |
| 1182 | - (fun n => axialUpdate d a b (M n) (vector .radial) h n (f n)) := by | |
| 1183 | - have hi := meanClass_desiredIncrement ha hcL hcR hh ε R hε hεone hR hscale hf hfc hp | |
| 1184 | - have hA := meanClass_axialAlias ha hab hd hcL hcR hh ε R hε hεone hR hscale M hM hf hfc hp hs | |
| 1185 | - have hout := hi.add (hA.map (-ContinuousLinearMap.id ℝ ℝ)) | |
| 1186 | - have heq : (fun n => axialUpdate d a b (M n) (vector .radial) h n (f n)) = | |
| 1187 | - fun n z => desiredIncrement h n (f n) z + -axialAlias d a b (M n) (vector .radial) h n (f n) z := by | |
| 1188 | - funext n z | |
| 1189 | - simpa only [sub_eq_add_neg] using congrFun | |
| 1190 | - (axialUpdate_eq_desired_sub_alias ha hab hd (vector .radial) h n (hfc n) (hp n) (hs n)) z | |
| 1191 | - rw [heq] | |
| 1192 | - unfold WeightedClasses.MeanClass | |
| 1193 | - simpa only [_root_.neg_apply, ContinuousLinearMap.id_apply] using hout | |
| 1194 | - | |
| 1195 | 692 | end CompleteWeightedUpdate |
| 1196 | 693 | |
| 1197 | 694 | end NavierStokes.TemporalMeanUpdate |
+0 −48 NavierStokes/VariableGaugeMean.lean View file
| @@ -754,54 +754,6 @@ noncomputable def physicalToChartTZ (h : ℝ) (n i : ℕ) : | ||
| 754 | 754 | PressureStream.Lift Plane →L[ℝ] PressureStream.Lift Plane := |
| 755 | 755 | chartLinear (chartScale n) ((slowToChartTZ h n).prodMap (TemporalMeanUpdate.coverMap i)) |
| 756 | 756 | |
| 757 | -noncomputable def fieldOnPhysicalTZ (h : ℝ) (n i : ℕ) (a : ℝ) | |
| 758 | - (f : PressureStream.Lift Plane → ℝ) : PressureStream.Lift Plane → ℝ := | |
| 759 | - coverPull (chartScale n) (slowToChartTZ h n) i (ChartScales.Q n ^ (-a)) f | |
| 760 | - | |
| 761 | -theorem qLength_chart {h : ℝ} (hh : 0 < h) (hh1 : h < 1 / 2) | |
| 762 | - (n : ℕ) {s : Plane} (hs : 0 < s.1) : | |
| 763 | - qLength (2 * h) (slowToChartTZ h n s) = chartScale n * qLength (2 * h) s := by | |
| 764 | - have he := SimilarityHomogeneity.coordinateQ_scale_h (z := s.2) hh hh1 | |
| 765 | - (inv_pos.mpr (ChartScales.Q_pos n)) hs | |
| 766 | - have hp : ChartScales.Q n ^ (-CoordinateAlgebra.D h) = | |
| 767 | - (ChartScales.Q n)⁻¹ ^ CoordinateAlgebra.D h := by | |
| 768 | - rw [Real.rpow_neg (ChartScales.Q_pos n).le, Real.inv_rpow (ChartScales.Q_pos n).le] | |
| 769 | - change Real.sqrt (SimilarityCoordinates.coordinateQ (2 * h) | |
| 770 | - (ChartScales.Q n ^ (-1 : ℝ) * s.1, ChartScales.Q n ^ (-CoordinateAlgebra.D h) * s.2)) = _ | |
| 771 | - rw [Real.rpow_neg_one, hp, he, Real.sqrt_mul (inv_pos.mpr (ChartScales.Q_pos n)).le] | |
| 772 | - have hroot : Real.sqrt (ChartScales.Q n)⁻¹ = chartScale n := by | |
| 773 | - rw [Real.sqrt_eq_rpow, Real.inv_rpow (ChartScales.Q_pos n).le, chartScale, | |
| 774 | - Real.rpow_neg (ChartScales.Q_pos n).le] | |
| 775 | - rw [hroot] | |
| 776 | - rfl | |
| 777 | - | |
| 778 | -theorem stream_unit_factor (h : ℝ) (n : ℕ) : | |
| 779 | - ChartScales.Q n ^ (-CoordinateAlgebra.A h) / chartScale n = | |
| 780 | - ChartScales.Q n ^ (-(CoordinateAlgebra.A h - 1 / 2)) := by | |
| 781 | - rw [chartScale, ← Real.rpow_sub (ChartScales.Q_pos n)] | |
| 782 | - congr 1 | |
| 783 | - ring | |
| 784 | - | |
| 785 | -theorem physicalStreamPotential_naturality {h d a b : ℝ} (hh : 0 < h) (hh1 : h < 1 / 2) | |
| 786 | - (ha : 0 < a) (hab : a < b) (hd : 0 < d) (n i : ℕ) (M : ℝ) | |
| 787 | - {U : Set Plane} (hU : IsOpen U) {f : PressureStream.Lift Plane → ℝ} | |
| 788 | - (hf : ContDiffOn ℝ ∞ f (PhysicalMeanDomain.slowDomain U)) | |
| 789 | - (hs : SupportedGauge a b (qLength (2 * h)) U f) | |
| 790 | - (z : PressureStream.Lift Plane) (hz : 0 < z.2.1.1) (hzU : slowToChartTZ h n z.2.1 ∈ U) : | |
| 791 | - streamPotential d a b M (qLength (2 * h)) (vector .radial) | |
| 792 | - (fieldOnPhysicalTZ h n i (CoordinateAlgebra.A h) f) z = | |
| 793 | - fieldOnPhysicalTZ h n i (CoordinateAlgebra.A h - 1 / 2) | |
| 794 | - (streamPotential d a b (radialFrequency h n i d M) (qLength (2 * h)) (vector .radial) f) z := by | |
| 795 | - have hc : 0 < 2 * h := by linarith | |
| 796 | - have hc1 : 2 * h < 1 := by linarith | |
| 797 | - have he := streamPotential_coverPull (chartScale_pos n) ha hab hd (slowToChartTZ h n) i M | |
| 798 | - (radialFrequency h n i d M) (ChartScales.Q n ^ (-CoordinateAlgebra.A h)) | |
| 799 | - (vector .radial) (vector .radial) (radialFrequency_shift h n i d M) | |
| 800 | - (qLength (2 * h)) (qLength (2 * h)) hU hf hs z hzU | |
| 801 | - (qLength_pos hc hc1 hz) (qLength_chart hh hh1 n hz) | |
| 802 | - rw [stream_unit_factor] at he | |
| 803 | - exact he | |
| 804 | - | |
| 805 | 757 | end ActualChart |
| 806 | 758 | |
| 807 | 759 | |
+0 −14 NavierStokes/WaveEdgeExtension.lean View file
| @@ -518,20 +518,6 @@ structure NativeRegularity {F : OutgoingProfile.Profile} (W : NominalProfile.Wit | ||
| 518 | 518 | nativeRadius F.data.h x = PrimaryTargetBounds.rightRadius W) → |
| 519 | 519 | iteratedFDeriv ℝ n (nativeExtension W f) x = 0 |
| 520 | 520 | |
| 521 | -theorem NativeRegularity.jet_inside {F : OutgoingProfile.Profile} {W : NominalProfile.Witness F} | |
| 522 | - {f : NativePoint → E} (h : NativeRegularity W f) (n : ℕ) {x : NativePoint} | |
| 523 | - (hx : x ∈ nativeSlowDomain) | |
| 524 | - (hi : nativeRadius F.data.h x ∈ Ioo (PrimaryTargetBounds.leftRadius W) (PrimaryTargetBounds.rightRadius W)) : | |
| 525 | - iteratedFDeriv ℝ n (nativeExtension W f) x = iteratedFDeriv ℝ n f x := by | |
| 526 | - rw [h.jets n x hx, nativeExtension_inside W _ hi] | |
| 527 | - | |
| 528 | -theorem NativeRegularity.jet_outside {F : OutgoingProfile.Profile} {W : NominalProfile.Witness F} | |
| 529 | - {f : NativePoint → E} (h : NativeRegularity W f) (n : ℕ) {x : NativePoint} | |
| 530 | - (hx : x ∈ nativeSlowDomain) | |
| 531 | - (hi : nativeRadius F.data.h x ∉ Ioo (PrimaryTargetBounds.leftRadius W) (PrimaryTargetBounds.rightRadius W)) : | |
| 532 | - iteratedFDeriv ℝ n (nativeExtension W f) x = 0 := by | |
| 533 | - rw [h.jets n x hx, nativeExtension_outside W _ hi] | |
| 534 | - | |
| 535 | 521 | /-! ## The constructed primary pulse and its actual envelope -/ |
| 536 | 522 | |
| 537 | 523 | theorem pulseEnvelope_continuousOn {ι : Type*} {U : PhaseJetBounds.Domain ι PhaseCalculus.Slow} |
+20 −0 routes/s1-euler-all-3/README.md added View file
| @@ -0,0 +1,20 @@ | ||
| 1 | +--- | |
| 2 | +issue: 10 | |
| 3 | +status: working | |
| 4 | +--- | |
| 5 | +# s1-euler-all-3 | |
| 6 | + | |
| 7 | +Deletes the 15 declarations of the family `Euler/All*` that nothing uses, 150 lines in 4 files. The diff is deletions only: no statement and no proof that stays is changed, and the four files keep their imports, module docstring and namespace. | |
| 8 | + | |
| 9 | +- `EulerAllOrderCorrectionFamily.solution_initial`, `.solution_divergence`, `.solution_hasDerivAt`, `.solution_compatible` — `Euler/AllOrderCorrectionFamily.lean` | |
| 10 | +- `EulerAllOrderCorrectionBudget.stabilityBudget` — `Euler/AllOrderCorrectionStability.lean` | |
| 11 | +- `EulerAllOrderPressureCoherence.rawSourcePath`, `.signedPressurePath`, `.rawSourcePath_truncate`, `.rawSourcePath_value_succ`, `.signedPressurePath_value_succ`, `.signedPressurePath_value_base`, `.commonPressure`, `.signedPressurePath_value_common`, `.commonPressure_gradient` — `Euler/AllOrderPressureCoherence.lean` | |
| 12 | +- `EulerAllOrderSmoothPressure.pressureJet` — `Euler/AllOrderSmoothPressure.lean` | |
| 13 | + | |
| 14 | +On each short name `git grep -w` finds only other declarations of the same name (`FiniteFamily.*` in `Euler/CorrectionAssembly*.lean`, `ComparisonData.stabilityBudget`, `Budget.commonPressure`, the ODE `solution_initial` and `solution_hasDerivAt`, the packet `pressureJet`), or nothing at all (`solution_divergence`, `solution_compatible`). No deleted docstring names the paper: no lemma, theorem, proposition, corollary, section or equation number. | |
| 15 | + | |
| 16 | +The unit was cut from Treant's run of 2026-12-03 (TitiSkywalker/NavierStokesAndEuler) and from the declaration graph of this project's `main` at `4385cbe`, under the keep rule (a declaration stays when the paper's results reach it, when its docstring names the paper, when it is an existence result with a docstring, when its file states results or must match the challenge, when an earlier wave kept it, or when a declaration that stays refers to it). `docs/s1-dead-code/` holds the plan and the keep list (`kept.md`, 640 declarations); none of them is in this unit. | |
| 17 | + | |
| 18 | +## Next | |
| 19 | + | |
| 20 | +Push and open the pull request into `main`; the maintainer's review comes after `challenge` and `build`. `Euler/AllOrderCorrectionStability.lean` now holds no declaration, only its imports and namespace; merging it away would be a separate unit. The rest of the family and the other units of #10 are separate. | |
+30 −0 routes/s1-euler-correction-3/README.md added View file
| @@ -0,0 +1,30 @@ | ||
| 1 | +--- | |
| 2 | +issue: 10 | |
| 3 | +status: working | |
| 4 | +--- | |
| 5 | +# s1-euler-correction-3 | |
| 6 | + | |
| 7 | +One unit of S-1 (issue #10, "Delete declarations that nothing uses"), wave 3: the family | |
| 8 | +`Euler/Correction*`. It deletes 6 declarations, 48 lines, in the 4 files | |
| 9 | +`Euler/CorrectionAssemblyParity.lean`, `CorrectionAssemblyPressureParity.lean`, | |
| 10 | +`CorrectionAssemblyReconstruction.lean` and `CorrectionAssemblyTime.lean`: | |
| 11 | +`signedPressurePath_odd`, `commonPressure_odd`, `pointPressure_odd`, | |
| 12 | +`normalizedGraphPotential_joint_continuous`, `pointRawSource` and `pointTimeDerivative`. | |
| 13 | + | |
| 14 | +The unit comes from Treant's run of 2026-12-03 (TitiSkywalker/NavierStokesAndEuler) and was cut | |
| 15 | +against this project's declaration graph of `main` at `4385cbe` after the first wave's reviews, | |
| 16 | +under the rule that the paper's results stay. | |
| 17 | + | |
| 18 | +What I checked against the tree left by the patch: `git grep -n -w` for each deleted short name | |
| 19 | +finds no user in `*.lean` but the `pointTimeDerivative` hits of | |
| 20 | +`Euler/ExactLiftedPointwise.lean`, which is another declaration of the same short name (namespace | |
| 21 | +`ExactLiftedPacket`, another signature), so it is fine. `commonPressure_odd` used | |
| 22 | +`signedPressurePath_odd` and `pointPressure_odd` used `commonPressure_odd`; all three go in this | |
| 23 | +same pull request. No deleted docstring cites a numbered Lemma, Theorem, Proposition, Corollary, | |
| 24 | +Section or Equation of the paper. Nothing had to stay: the diff is deletions only, 48 lines, no | |
| 25 | +addition. | |
| 26 | + | |
| 27 | +## Next | |
| 28 | + | |
| 29 | +Read the maintainer's verdict on the pull request; if a declaration turns out to be needed, | |
| 30 | +restore just that one on `main` rather than reopening the whole unit. | |
+24 −0 routes/s1-euler-exact-3/README.md added View file
| @@ -0,0 +1,24 @@ | ||
| 1 | +--- | |
| 2 | +issue: 10 | |
| 3 | +status: working | |
| 4 | +--- | |
| 5 | +# s1-euler-exact-3 | |
| 6 | + | |
| 7 | +One unit of #10 (S-1, "Delete declarations that nothing uses"), family `Euler/Exact*`: | |
| 8 | +delete 2 declarations (7 lines) that nothing in the tree uses, in | |
| 9 | +`Euler/ExactLiftedGraphPressure.lean`. Statements and proofs that stay are untouched: the diff is | |
| 10 | +deletions only. | |
| 11 | + | |
| 12 | +- `EulerAllOrderDriftCorrection.ExactLiftedPacket.graphPotential_zero` | |
| 13 | +- `EulerAllOrderDriftCorrection.ExactLiftedPacket.graphPotential_joint_continuous` | |
| 14 | + | |
| 15 | +The unit comes from Treant's run of 2026-12-03 (`TitiSkywalker/NavierStokesAndEuler`) and was re-read | |
| 16 | +under this project's rule that the paper's results stay: neither is reached by | |
| 17 | +`NavierStokes/PaperResults.lean` or the rest of the tree, and no deleted docstring cites the paper (the | |
| 18 | +deleted declarations carry none). `git grep -n -w` over `*.lean` finds no remaining use of either short | |
| 19 | +name. | |
| 20 | + | |
| 21 | +## Next | |
| 22 | + | |
| 23 | +Nothing left in this unit. If a use of either name turns out to be needed on main, restore it from the | |
| 24 | +deleted lines in this branch's single commit and drop it from the pull request. | |
+16 −0 routes/s1-euler-lp-3/README.md added View file
| @@ -0,0 +1,16 @@ | ||
| 1 | +--- | |
| 2 | +issue: 10 | |
| 3 | +status: working | |
| 4 | +--- | |
| 5 | +# s1-euler-lp-3 | |
| 6 | + | |
| 7 | +Unit `s1-euler-lp-3` of S-1: delete 3 declarations of the `Euler/Lp*` family that nothing uses, in | |
| 8 | +`Euler/LpBochnerRealization.lean` — `fiber_integral`, `field_memLp` and `realization` (32 lines). They were | |
| 9 | +unreachable from the two solutions and `NavierStokes/PaperResults.lean`: only `norm_sq_eq_integral` in the same | |
| 10 | +file is used, by `DivCurlTensorRecovery` and `LpParameterIntegral`, and it stays. No docstring among the deleted | |
| 11 | +declarations cites the paper. The diff is deletions only. | |
| 12 | + | |
| 13 | +## Next | |
| 14 | + | |
| 15 | +Nothing for this unit: the change is in the pull request. If it is closed, the next wave can re-cut this family | |
| 16 | +with the same keep rule. | |
+30 −0 routes/s1-euler-packet-3/README.md added View file
| @@ -0,0 +1,30 @@ | ||
| 1 | +--- | |
| 2 | +issue: 10 | |
| 3 | +status: working | |
| 4 | +--- | |
| 5 | +# s1-euler-packet-3 | |
| 6 | + | |
| 7 | +One unit of S-1 (#10), the family `Euler/Packet*`, wave 3: delete 1 | |
| 8 | +declaration that nothing uses, 3 lines in `Euler/PacketPointJets.lean`. | |
| 9 | +The list was cut from Treant's run of 2026-12-03 (TitiSkywalker/NavierStokesAndEuler) | |
| 10 | +and re-read against this project's main under the keep rule: a declaration | |
| 11 | +that the paper's results reach, that names the paper in its docstring, that is | |
| 12 | +an existence result, that a kept declaration refers to or names, or that sits in | |
| 13 | +a file that must match the challenge stays. The unit's declaration stays under | |
| 14 | +none of these. | |
| 15 | + | |
| 16 | +The diff is deletions only: no statement and no proof that stays is changed, | |
| 17 | +and no import is touched. | |
| 18 | + | |
| 19 | +- `EulerPacketPointJets.jet` (`Euler/PacketPointJets.lean`, lines 25–26): a | |
| 20 | + generic `(f z, fderiv ℝ f z)` helper with no docstring. `git grep -n -w jet` | |
| 21 | + over `*.lean` finds no user of it: no file opens `EulerPacketPointJets`, no | |
| 22 | + `PointJets.jet` occurs in the tree, and the remaining `jet` hits in `Euler/` | |
| 23 | + are other declarations (struct fields, `.jet` accesses, `jet n :=` binders) | |
| 24 | + of the same short name. `python3 checks/challenge.py .` ends with `ok`. | |
| 25 | + | |
| 26 | +## Next | |
| 27 | + | |
| 28 | +Open the pull request into `main`. The `build` check on its head decides the | |
| 29 | +rest; if it names the deleted declaration, put it back and say so in the pull | |
| 30 | +request. A later wave can take another unit of this family from `units.md`. | |
+37 −0 routes/s1-euler-volume-3/README.md added View file
| @@ -0,0 +1,37 @@ | ||
| 1 | +--- | |
| 2 | +issue: 10 | |
| 3 | +status: working | |
| 4 | +--- | |
| 5 | +# s1-euler-volume-3 | |
| 6 | + | |
| 7 | +One unit of #10 (S-1, "Delete declarations that nothing uses"), family `Euler/Volume*`: | |
| 8 | +delete 5 declarations (76 lines) that nothing in the tree uses, in | |
| 9 | +`Euler/VolumeSobolevComposition.lean`: | |
| 10 | + | |
| 11 | +- `EulerVolumeSobolevComposition.compositionTensor_pointwise` | |
| 12 | +- `EulerVolumeSobolevComposition.composedJetNorm_memLp` | |
| 13 | +- `EulerVolumeSobolevComposition.compositionTensor_memLp` | |
| 14 | +- `EulerVolumeSobolevComposition.compositionTensorLp` | |
| 15 | +- `EulerVolumeSobolevComposition.compositionTensorLp_norm_le` | |
| 16 | + | |
| 17 | +The unit comes from Treant's run of 2026-12-03 (`TitiSkywalker/NavierStokesAndEuler`) and was | |
| 18 | +re-read on main at `cc5dcb6` under this project's rule that the paper's results stay. | |
| 19 | +`git grep -n -w` over `*.lean` finds no remaining use of any of the five short names, and none of | |
| 20 | +the deleted docstrings exists: the removed lines carry no docstring and cite no numbered Lemma, | |
| 21 | +Theorem, Proposition, Corollary, Section or Equation. Two modules import the file | |
| 22 | +(`Euler/GevreyCompositionLp.lean`, `Euler/VolumeSobolevPath.lean`) and `Euler/FieldTowerVolumeSobolev.lean` | |
| 23 | +opens its namespace; none of the three names any of the five declarations. | |
| 24 | + | |
| 25 | +`git apply --3way` reported "repository lacks the necessary blob to perform 3-way merge" and fell | |
| 26 | +back to direct application, which applied the patch without fuzz; the diff is 76 deletions, 0 | |
| 27 | +insertions. | |
| 28 | + | |
| 29 | +`python3 checks/challenge.py .` ends with | |
| 30 | +`ok: 4 challenge files and the build configuration as approved; …`. | |
| 31 | + | |
| 32 | +## Next | |
| 33 | + | |
| 34 | +Nothing on this unit: one commit, then push and open the pull request. What the note does not | |
| 35 | +show: that the file's remaining module docstring still describes the deleted material, and that | |
| 36 | +the two imports of `Euler.VolumeSobolevComposition` are now unused — both belong to a later unit, | |
| 37 | +not this deletions-only one. | |
+29 −0 routes/s1-ns-actual-3/README.md added View file
| @@ -0,0 +1,29 @@ | ||
| 1 | +--- | |
| 2 | +issue: 10 | |
| 3 | +status: working | |
| 4 | +--- | |
| 5 | +# s1-ns-actual-3 | |
| 6 | + | |
| 7 | +One unit of #10 (S-1, "Delete declarations that nothing uses"), wave 3, family | |
| 8 | +`NavierStokes/Actual*`: delete 4 declarations that nothing uses, 44 lines in | |
| 9 | +`NavierStokes/ActualCurrentWaveSupport.lean` (10 lines) and | |
| 10 | +`NavierStokes/ActualPhysicalStageBounds.lean` (34 lines). The diff is deletions only: no | |
| 11 | +statement or proof that stays is changed. | |
| 12 | + | |
| 13 | +The unit comes from Treant's run of 2026-12-03 (`TitiSkywalker/NavierStokesAndEuler`) and was | |
| 14 | +re-read on main under this project's rule that the paper's results stay. None of the four is | |
| 15 | +reached by the paper results, and none of the deleted lines carries a docstring or a numbered | |
| 16 | +citation of the paper. | |
| 17 | + | |
| 18 | +Checked before committing: `git grep -n -w` over `*.lean` finds no reference to | |
| 19 | +`initialPressureLoss` or `initialPressureIncrement_bound`, and no qualified reference to any of | |
| 20 | +the four (`BandAnnulus.map_zero`, `CycleInputs.direct_bound`, ...). The remaining hits on the | |
| 21 | +short names are other declarations, not the deleted ones: `map_zero` is Mathlib's simp lemma, | |
| 22 | +and `direct_bound` is `MixedCandidateAssembly`'s structure field / `GluedStageEstimates`'s own | |
| 23 | +theorem. No `namespace`, `end`, `open` or `import` line is deleted. | |
| 24 | +`python3 checks/challenge.py .` ends with `ok`. | |
| 25 | + | |
| 26 | +## Next | |
| 27 | + | |
| 28 | +Push and open the pull request; the rest of the wave and of the `Actual*` family are separate | |
| 29 | +units. | |
+39 −0 routes/s1-ns-borel-3/README.md added View file
| @@ -0,0 +1,39 @@ | ||
| 1 | +--- | |
| 2 | +issue: 10 | |
| 3 | +status: working | |
| 4 | +--- | |
| 5 | +# s1-ns-borel-3 | |
| 6 | + | |
| 7 | +S-1, the family `NavierStokes/Borel*`: the third unit on `NavierStokes/BorelExtension.lean`, | |
| 8 | +after the first two (`s1-ns-borel-1`, 9 declarations, and `s1-ns-borel-2`, 5) took the rest of | |
| 9 | +the file's unused declarations. This unit deletes the 3 declarations of the file that nothing | |
| 10 | +left in the tree uses, 24 lines, deletions only; every declaration that stays is unchanged: | |
| 11 | + | |
| 12 | +- `NavierStokes.BorelExtension.extension_zero_of_one_le_abs` | |
| 13 | +- `NavierStokes.BorelExtension.extension_support` | |
| 14 | +- `NavierStokes.BorelExtension.extension_tsupport` | |
| 15 | + | |
| 16 | +The unit is wave 3 of the plan in `docs/s1-dead-code/README.md`, cut from Treant's run of | |
| 17 | +2026-12-03 (upstream `f9e8bc5`) and read again against this project's declaration graph on | |
| 18 | +`main` at `cc5dcb6` under its rule that the paper's results stay: a kept declaration reaches | |
| 19 | +none of them, and the 502 declarations of the first plan that the keep rule protects are | |
| 20 | +untouched here. | |
| 21 | + | |
| 22 | +Checked in this branch's tree: `git grep -n -w` finds no user of any of the three short | |
| 23 | +names. The two hits that remain are not users: another declaration of the same short name in | |
| 24 | +another namespace (`SpatialBorelExtension.extension_zero_of_one_le_abs`, line 373 and its use | |
| 25 | +at 422, with its own statement and proof), and prose in `routes/s1-ns-parametric-2/README.md`, | |
| 26 | +another unit's record, left as it is. No fully qualified `NavierStokes.BorelExtension.<name>` | |
| 27 | +remains. None of the three carried a docstring, so no deleted docstring cites a numbered | |
| 28 | +Lemma, Theorem, Proposition, Corollary, Section or Equation. The file is neither | |
| 29 | +`NavierStokes/PaperResults.lean` nor `NavierStokes/PeriodicPaperTheorem.lean`, and no | |
| 30 | +challenge file names these declarations. | |
| 31 | + | |
| 32 | +`python3 checks/challenge.py .` ends with | |
| 33 | +`ok: 4 challenge files and the build configuration as approved; 2588 Lean files, 508140 lines, toolchain leanprover/lean4:v4.34.0-rc2`. | |
| 34 | + | |
| 35 | +## Next | |
| 36 | + | |
| 37 | +Push, open the pull request, and leave the rest of #10 to the other units. Then the | |
| 38 | +maintainer's review after `challenge` and `build`. What this unit does not show: that every | |
| 39 | +remaining declaration in this file is needed. | |
+44 −0 routes/s1-ns-current-3/README.md added View file
| @@ -0,0 +1,44 @@ | ||
| 1 | +--- | |
| 2 | +issue: 10 | |
| 3 | +status: working | |
| 4 | +--- | |
| 5 | +# s1-ns-current-3 | |
| 6 | + | |
| 7 | +One unit of #10 (S-1, "Delete declarations that nothing uses"), family `NavierStokes/Current*`, | |
| 8 | +wave 3: delete 6 declarations nothing in the tree uses, 75 lines in 2 files. The diff is deletions | |
| 9 | +only; no statement or proof that stays is changed. | |
| 10 | + | |
| 11 | +- `NavierStokes.CurrentParticularLabelBounds.current_modes_contDiffOn` | |
| 12 | + (`NavierStokes/CurrentParticularLabelBounds.lean`, 10 lines) | |
| 13 | +- `NavierStokes.CurrentPhysicalRadialClosure.radialScale_continuous` | |
| 14 | + (`NavierStokes/CurrentPhysicalRadialClosure.lean`, 4 lines) | |
| 15 | +- `NavierStokes.CurrentPhysicalRadialClosure.radialScale_projection` (4 lines) | |
| 16 | +- `NavierStokes.CurrentPhysicalRadialClosure.radialScale_radius` (5 lines) | |
| 17 | +- `NavierStokes.CurrentPhysicalRadialClosure.closed_mem_closure_fiber` (30 lines) | |
| 18 | +- `NavierStokes.CurrentPhysicalRadialClosure.jet_bound_on_closed` (17 lines) | |
| 19 | + | |
| 20 | +The unit was cut from Treant's run of 2026-12-03 (`TitiSkywalker/NavierStokesAndEuler`) and re-read | |
| 21 | +against this project's rule that the paper's results stay: none of the 6 is reached from | |
| 22 | +`NavierStokes/PaperResults.lean` or the Comparator theorems, none of the deleted docstrings cites the | |
| 23 | +paper with a numbered Lemma, Theorem, Proposition, Corollary, Section or Equation | |
| 24 | +(`closed_mem_closure_fiber` and `jet_bound_on_closed` carry only prose docstrings), and no declaration | |
| 25 | +that stays names one. Cut from main at `cc5dcb6`. | |
| 26 | + | |
| 27 | +Checked on this branch: `git grep -n -w` over the whole tree finds no occurrence of any of the six | |
| 28 | +short names (`current_modes_contDiffOn`, `radialScale_continuous`, `radialScale_projection`, | |
| 29 | +`radialScale_radius`, `closed_mem_closure_fiber`, `jet_bound_on_closed`). The two inner lemmas | |
| 30 | +`radialScale_radius` and `closed_mem_closure_fiber` are used only by the deleted | |
| 31 | +`closed_mem_closure_fiber`/`jet_bound_on_closed`, which leave in the same change; | |
| 32 | +`radialScale_continuous` is used only by `closed_mem_closure_fiber`. `radialScale_one`, | |
| 33 | +`radialScale_time`, `radialScale_axial` and `radialScale_q` stay, as does `current_modes_contDiffAt` | |
| 34 | +(which the deleted `current_modes_contDiffOn` wrapped). | |
| 35 | + | |
| 36 | +`python3 checks/challenge.py .` ends with `ok: 4 challenge files and the build configuration as | |
| 37 | +approved; …`. | |
| 38 | + | |
| 39 | +## Next | |
| 40 | + | |
| 41 | +Nothing left in this unit. The next unit of #10 is another free family in | |
| 42 | +`docs/s1-dead-code/units.md` that has no route note yet: cut from main and re-read its names with | |
| 43 | +`git grep -n -w -- '*.lean'` before deleting, since the declaration graph moves as the other | |
| 44 | +families land. | |
+25 −0 routes/s1-ns-cycle-3/README.md added View file
| @@ -0,0 +1,25 @@ | ||
| 1 | +--- | |
| 2 | +issue: 10 | |
| 3 | +status: working | |
| 4 | +--- | |
| 5 | +# s1-ns-cycle-3 | |
| 6 | + | |
| 7 | +One declaration unit of S-1 (issue #10), wave 3, family `NavierStokes/Cycle`: deletes | |
| 8 | +`NavierStokes.CycleStateCoherence.iterate_labels` from `NavierStokes/CycleStateCoherence.lean` | |
| 9 | +— 7 lines — because nothing in the tree uses it. The patch is deletions only; no statement | |
| 10 | +and no proof that stays changes. | |
| 11 | + | |
| 12 | +The unit was cut from Treant's run of 2026-12-03 (TitiSkywalker/NavierStokesAndEuler) and | |
| 13 | +read on this project's main against its declaration graph, under the rule that the paper's | |
| 14 | +results stay (`docs/s1-dead-code/README.md`). The deleted declaration has no docstring, so | |
| 15 | +none cites the paper; `git grep -n -w iterate_labels` over the tree finds nothing after the | |
| 16 | +deletion, and the qualified `CycleStateCoherence.iterate_labels` finds nothing either. The | |
| 17 | +earlier declaration units of this family are `s1-ns-cycle-1` and `s1-ns-cycle-2`; the file | |
| 18 | +unit, `s1-ns-cycle-files`, was merged as pull request #50. | |
| 19 | + | |
| 20 | +`python3 checks/challenge.py .` ends with `ok`. | |
| 21 | + | |
| 22 | +## Next | |
| 23 | + | |
| 24 | +The maintainer's review after `challenge` and `build`; the other wave-3 declaration units of | |
| 25 | +#10 follow in pull requests of their own. | |
+19 −0 routes/s1-ns-error-3/README.md added View file
| @@ -0,0 +1,19 @@ | ||
| 1 | +--- | |
| 2 | +issue: 10 | |
| 3 | +status: working | |
| 4 | +--- | |
| 5 | +# s1-ns-error-3 | |
| 6 | + | |
| 7 | +Unit of issue #10 (S-1, delete declarations that nothing uses): the family | |
| 8 | +`NavierStokes/Error*`, file `NavierStokes/ErrorHarmonics.lean`. I delete two | |
| 9 | +declarations that nothing uses, 12 lines, deletions only: | |
| 10 | +`GaussianData.Compatible` and `GaussianData.block_represents`. | |
| 11 | + | |
| 12 | +Checked: no file left in the tree names either (the `Compatible` hits elsewhere | |
| 13 | +are other namespaces' own declarations of that short name); neither deleted | |
| 14 | +declaration had a docstring, so no paper reference goes with them. Nothing that | |
| 15 | +stays is a user of them. | |
| 16 | + | |
| 17 | +## Next | |
| 18 | + | |
| 19 | +Push and open the pull request; `build` says whether the tree compiles. | |
+25 −0 routes/s1-ns-even-3/README.md added View file
| @@ -0,0 +1,25 @@ | ||
| 1 | +--- | |
| 2 | +issue: 10 | |
| 3 | +status: working | |
| 4 | +--- | |
| 5 | +# s1-ns-even-3 | |
| 6 | + | |
| 7 | +S-1 (#10), unit `s1-ns-even-3`: the `NavierStokes/Even*` family, file | |
| 8 | +`NavierStokes/EvenSmoothDescent.lean`. I delete 12 declarations that nothing on | |
| 9 | +`main` uses — 116 lines, deletions only (the list is in the pull request). The | |
| 10 | +unit was cut by Treant (TitiSkywalker/NavierStokesAndEuler, the run of | |
| 11 | +2026-12-03) and re-cut from this project's main under the keep rule. No other | |
| 12 | +agent holds this family on the board; nothing in the patch had to be kept back. | |
| 13 | + | |
| 14 | +Checked before committing: `git grep -w` finds no remaining use of any of the | |
| 15 | +12 short names (the only hits are distinct plane-valued declarations of the same | |
| 16 | +short names in `NavierStokes/ParametricEvenDescent.lean`); no deleted docstring | |
| 17 | +cites the paper; `python3 checks/challenge.py .` ends `ok`. | |
| 18 | + | |
| 19 | +## Next | |
| 20 | + | |
| 21 | +The pull request is open; wait for `challenge` and `build` on its head. A local | |
| 22 | +build was not possible (no `.lake` cache, and `lake exe cache get` could not | |
| 23 | +proceed), so `build` is the first compile of this tree. If a deleted declaration | |
| 24 | +turns out to be needed, restore it from `origin/main` rather than editing the | |
| 25 | +patch by hand. | |
+21 −0 routes/s1-ns-fourier-3/README.md added View file
| @@ -0,0 +1,21 @@ | ||
| 1 | +--- | |
| 2 | +issue: 10 | |
| 3 | +status: working | |
| 4 | +--- | |
| 5 | +# s1-ns-fourier-3 | |
| 6 | + | |
| 7 | +S-1, unit `s1-ns-fourier-3`: the family `NavierStokes/Fourier*`, and one declaration | |
| 8 | +in it that nothing uses. | |
| 9 | + | |
| 10 | +- `NavierStokes.FourierAlias.inverse_frequency_eventually_small`, in | |
| 11 | + `NavierStokes/FourierAlias.lean` (30 lines). | |
| 12 | + | |
| 13 | +The change deletes it and nothing else. Checked before deleting: no file in the tree | |
| 14 | +names it any more (`git grep -n -w inverse_frequency_eventually_small` is empty), its | |
| 15 | +docstring names no numbered result of the paper, and it is not an existence result. | |
| 16 | +The `section SmallScale` it sat in is left in place (now empty). | |
| 17 | + | |
| 18 | +## Next | |
| 19 | + | |
| 20 | +This unit is done. The rest of the family's declarations are for other units the board | |
| 21 | +shows free, not this branch. | |
+15 −0 routes/s1-ns-heat-3/README.md added View file
| @@ -0,0 +1,15 @@ | ||
| 1 | +--- | |
| 2 | +issue: 10 | |
| 3 | +status: working | |
| 4 | +--- | |
| 5 | +# s1-ns-heat-3 | |
| 6 | + | |
| 7 | +Unit 3 of the `NavierStokes/Heat*` family for S-1 (#10): one declaration of | |
| 8 | +`NavierStokes/HeatTailEdit.lean` that nothing in the tree names, | |
| 9 | +`NavierStokes.HeatTailEdit.outgoingProfile_joint_contDiffOn` (9 lines). Deletions | |
| 10 | +only; no statement and no proof that stays is touched. | |
| 11 | + | |
| 12 | +## Next | |
| 13 | + | |
| 14 | +Nothing to continue here: the unit is one deletion and it is in this pull request. | |
| 15 | +The next unit of this family is a fresh cut from main. | |
+23 −0 routes/s1-ns-joint-3/README.md added View file
| @@ -0,0 +1,23 @@ | ||
| 1 | +--- | |
| 2 | +issue: 10 | |
| 3 | +status: working | |
| 4 | +--- | |
| 5 | +# s1-ns-joint-3 | |
| 6 | + | |
| 7 | +One unit of #10 (S-1, "Delete declarations that nothing uses"), third wave of | |
| 8 | +family `NavierStokes/Joint*`: delete 1 declaration (7 lines) from | |
| 9 | +`NavierStokes/JointResidualLimits.lean`, and nothing else. | |
| 10 | + | |
| 11 | +- `NavierStokes.JointResidualLimits.boundaryLimits_continuous` | |
| 12 | + | |
| 13 | +The diff is deletions only: no statement or proof that stays is changed. | |
| 14 | + | |
| 15 | +Nothing left in the tree names it. `git grep -n -w boundaryLimits_continuous` over the whole tree | |
| 16 | +finds one hit, and it is prose in another agent's notes (`routes/s1-ns-mixed-1/README.md`, | |
| 17 | +listing it among separate declarations of the same short name), not a Lean use. The deleted | |
| 18 | +theorem has no docstring, so no removed docstring cites the paper. `python3 checks/challenge.py .` | |
| 19 | +ends `ok`. | |
| 20 | + | |
| 21 | +## Next | |
| 22 | + | |
| 23 | +Push, open the pull request, let `build` say whether the module still compiles. | |
+37 −0 routes/s1-ns-modulated-3/README.md added View file
| @@ -0,0 +1,37 @@ | ||
| 1 | +--- | |
| 2 | +issue: 10 | |
| 3 | +status: working | |
| 4 | +--- | |
| 5 | +# s1-ns-modulated-3 | |
| 6 | + | |
| 7 | +Unit `s1-ns-modulated-3` of issue #10 (S-1), family `NavierStokes/Modulated*`: delete 4 | |
| 8 | +declarations that nothing uses, from one file, `NavierStokes/ModulatedExterior.lean` — 27 lines, | |
| 9 | +deletions only; no statement or proof that stays is changed. | |
| 10 | + | |
| 11 | +The list is Treant's run of 2026-12-03 (TitiSkywalker/NavierStokesAndEuler), re-read on this | |
| 12 | +project's main (`4385cbe`) against its declaration graph under the rule that the paper's results | |
| 13 | +stay: a declaration Treant deleted stays when a result of the paper reaches it, when its docstring | |
| 14 | +cites the paper, when it is an existence result with a docstring, when its file states results or | |
| 15 | +must match the challenge word for word, when an earlier wave's pull request was made to keep it, or | |
| 16 | +when a declaration that stays refers to it or names it. None of these 4 is any of those. | |
| 17 | + | |
| 18 | +Checked after applying the patch, as a reviewer would: | |
| 19 | + | |
| 20 | +- `git grep -n -w` over every one of the 4 short names, in every file: `realized_residual_germ_zero`, | |
| 21 | + `realized_residual_jets_zero` and `actual_realizes` have no hit. The only hit for | |
| 22 | + `actual_exterior_coefficients` is another declaration of the same short name, | |
| 23 | + `ActualBaseVelocityBounds.actual_exterior_coefficients` in | |
| 24 | + `NavierStokes/ActualBaseVelocityBounds.lean` (about `FinalSlowBase`), and its own use there. | |
| 25 | +- The deleted blocks are 27 `-` lines and no `+` line. None of the deleted blocks carries a | |
| 26 | + docstring, so no deleted docstring names a numbered Lemma, Theorem, Proposition, Corollary, | |
| 27 | + Section or Equation of the paper. | |
| 28 | +- Nothing was put back: none of the 4 needed to stay under the rule above. | |
| 29 | + | |
| 30 | +`python3 checks/challenge.py .` ends with `ok: 4 challenge files and the build configuration as | |
| 31 | +approved; 2588 Lean files, 508137 lines, toolchain leanprover/lean4:v4.34.0-rc2`. | |
| 32 | + | |
| 33 | +## Next | |
| 34 | + | |
| 35 | +Pushed and the pull request is open; `build` on its head is what says whether the tree compiles. | |
| 36 | +The rest of `NavierStokes/Modulated*`'s Treant deletions that survive the project's rule remain | |
| 37 | +for another unit of issue #10. | |
+19 −0 routes/s1-ns-periodic-3/README.md added View file
| @@ -0,0 +1,19 @@ | ||
| 1 | +--- | |
| 2 | +issue: 10 | |
| 3 | +status: working | |
| 4 | +--- | |
| 5 | +# s1-ns-periodic-3 | |
| 6 | + | |
| 7 | +One declarations unit of S-1 (issue #10), family `NavierStokes/Periodic*`: deletes 2 | |
| 8 | +declarations nothing uses, 13 lines in `PeriodicPhaseAssembly.lean` — | |
| 9 | +`phase_periodic` and `fullPhase_periodic`. The diff is deletions only; no statement or | |
| 10 | +proof that stays is changed, and no deleted docstring cites the paper. The unit came from | |
| 11 | +Treant's run of 2026-12-03 on `TitiSkywalker/NavierStokesAndEuler`, re-read on this | |
| 12 | +project's main under its rule that the paper's results stay. Waves 1 and 2 of the family | |
| 13 | +(`s1-ns-periodic-1`, `s1-ns-periodic-2`) are already on main; this is the next unit, and | |
| 14 | +the rest of the family is separate. | |
| 15 | + | |
| 16 | +## Next | |
| 17 | + | |
| 18 | +Push and open the pull request into `main`; the maintainer's review comes after `challenge` | |
| 19 | +and `build`. Then take another free unit of #10. | |
+18 −0 routes/s1-ns-residual-3/README.md added View file
| @@ -0,0 +1,18 @@ | ||
| 1 | +--- | |
| 2 | +issue: 10 | |
| 3 | +status: working | |
| 4 | +--- | |
| 5 | +# s1-ns-residual-3 | |
| 6 | + | |
| 7 | +S-1, wave 3, family `NavierStokes/Residual*`. Deletes three declarations that nothing uses, cut from | |
| 8 | +Treant's run of 2026-12-03 (TitiSkywalker/NavierStokesAndEuler) and re-read on main under the keep rule: | |
| 9 | + | |
| 10 | +- `NavierStokes.ResidualRegularity.residual_eventually_zero` — `NavierStokes/ResidualRegularity.lean` | |
| 11 | +- `NavierStokes.ResidualStability.AllJetsFlat.congr_on` — `NavierStokes/ResidualStability.lean` | |
| 12 | +- `NavierStokes.ResidualStability.AllJetsGrowth.congr_on` — `NavierStokes/ResidualStability.lean` | |
| 13 | + | |
| 14 | +Deletions only: 23 lines, 2 files. No remaining declaration is changed. | |
| 15 | + | |
| 16 | +## Next | |
| 17 | + | |
| 18 | +Push `s1-ns-residual-3` and let `challenge` and `build` answer; then continue the family with the next wave. | |
+34 −0 routes/s1-ns-scaled-3/README.md added View file
| @@ -0,0 +1,34 @@ | ||
| 1 | +--- | |
| 2 | +issue: 10 | |
| 3 | +status: working | |
| 4 | +--- | |
| 5 | +# s1-ns-scaled-3 | |
| 6 | + | |
| 7 | +Unit 3 of S-1 on the family `NavierStokes/Scaled*`: deletes the 12 | |
| 8 | +declarations that nothing uses, 315 lines in `NavierStokes/ScaledTangentTransport.lean`. | |
| 9 | + | |
| 10 | +- `NavierStokes.ScaledTangentTransport.copySolve_of_compatibleInputs`, | |
| 11 | + `.copySolve_transport`, `.copyPressureReal_transport`, `.copyPressure_transport`, | |
| 12 | + `.periodizedCopies_transport_of_active` (the last in section `LocalizedTransport`), | |
| 13 | + `.copyVelocity_transport`, `.complexCopyVelocity_transport`, | |
| 14 | + `.complexCopyPressure_transport`, `.commonVelocity_transport`, | |
| 15 | + `.commonPressure_transport`, `.commonVelocity_zeroEntry`, | |
| 16 | + `.commonPressure_zeroEntry`. | |
| 17 | + | |
| 18 | +The diff is deletions only. `git grep -n -w` for each short name finds no | |
| 19 | +user left in the tree: the only hits are other declarations of the same short | |
| 20 | +name in `NavierStokes/IntervalCopyTransport.lean` and | |
| 21 | +`NavierStokes/ParticularWaveAssembly.lean`, and two uses qualified | |
| 22 | +`IntervalCopyTransport.commonVelocity_zeroEntry` / `.commonPressure_zeroEntry` | |
| 23 | +in `NavierStokes/ActualParticularCoherence.lean`. No deleted docstring names | |
| 24 | +the paper (no numbered Lemma, Theorem, Proposition, Corollary, Section or | |
| 25 | +Equation): the docstrings cite only Lean declarations | |
| 26 | +(e.g. `CopySolveCompatibility.commonSolve_of_compatibleInputs`) and describe | |
| 27 | +the transport factors. `python3 checks/challenge.py .` ends | |
| 28 | +`ok: 4 challenge files and the build configuration as approved; …`. | |
| 29 | + | |
| 30 | +## Next | |
| 31 | + | |
| 32 | +Nothing on this unit: the commit is pushed and the pull request opened. If it | |
| 33 | +comes back for changes, re-read the deleted declarations against the tree at | |
| 34 | +the head and fix the one the review names. | |
+28 −0 routes/s1-ns-temporal-3/README.md added View file
| @@ -0,0 +1,28 @@ | ||
| 1 | +--- | |
| 2 | +issue: 10 | |
| 3 | +status: working | |
| 4 | +--- | |
| 5 | +# s1-ns-temporal-3 | |
| 6 | + | |
| 7 | +One unit of S-1 (#10): the family `NavierStokes/Temporal*`, here the file | |
| 8 | +`NavierStokes/TemporalMeanUpdate.lean`. Treant's run of 2026-12-03 | |
| 9 | +(`TitiSkywalker/NavierStokesAndEuler` at upstream `f9e8bc5`) found these | |
| 10 | +declarations unreachable from the four Comparator theorems. The declaration graph | |
| 11 | +of this project's `main` at `cc5dcb6`, read again under the project's keep rule, | |
| 12 | +leaves 23 of them, 503 lines, to delete. It is a third wave on the family: | |
| 13 | +`s1-ns-temporal-1` deleted 17 and `s1-ns-temporal-2` deleted 12 from this file, | |
| 14 | +and both are already on `main`. | |
| 15 | + | |
| 16 | +The change is deletions only; no statement and no proof that stays is touched. | |
| 17 | +`git grep -n -w` over `*.lean` finds no occurrence of any of the 23 short names | |
| 18 | +except other files' own declarations of the same short name | |
| 19 | +(`meanClass_divideRadius`, `meanClass_streamPotential`, `meanClass_streamBeta` in | |
| 20 | +`PhysicalMeanDomain.lean` and `VariableGaugeMean.lean`), and no qualified | |
| 21 | +`TemporalMeanUpdate.<name>` reference. None of the 12 deleted docstrings cites a | |
| 22 | +numbered Lemma, Theorem, Proposition, Corollary, Section or Equation of the paper. | |
| 23 | +`python3 checks/challenge.py .` ends with `ok`. | |
| 24 | + | |
| 25 | +## Next | |
| 26 | + | |
| 27 | +Nothing to continue: the unit is complete in this pull request. A build of | |
| 28 | +`NavierStokes.TemporalMeanUpdate` is left to the `build` check. | |
+15 −0 routes/s1-ns-variable-3/README.md added View file
| @@ -0,0 +1,15 @@ | ||
| 1 | +--- | |
| 2 | +issue: 10 | |
| 3 | +status: working | |
| 4 | +--- | |
| 5 | +# s1-ns-variable-3 | |
| 6 | + | |
| 7 | +Unit 3 of S-1 for the family `NavierStokes/Variable*`: delete 4 declarations in | |
| 8 | +`NavierStokes/VariableGaugeMean.lean` that nothing uses (`fieldOnPhysicalTZ`, `qLength_chart`, | |
| 9 | +`stream_unit_factor`, `physicalStreamPotential_naturality`, 48 lines). The diff is deletions only; the unit was cut | |
| 10 | +from Treant's run of 2026-12-03 and checked against this project's declaration graph on main at `cc5dcb6`. | |
| 11 | +`git grep` finds none of the four short names left in the tree, and none of the deleted lines carries a docstring. | |
| 12 | + | |
| 13 | +## Next | |
| 14 | + | |
| 15 | +Push, open the pull request into `main`, and leave the branch to `build`; no Lean was installed here. | |
+29 −0 routes/s1-ns-wave-3/README.md added View file
| @@ -0,0 +1,29 @@ | ||
| 1 | +--- | |
| 2 | +issue: 10 | |
| 3 | +status: working | |
| 4 | +--- | |
| 5 | +# s1-ns-wave-3 | |
| 6 | + | |
| 7 | +Wave 3 of S-1 (issue #10) on the family `NavierStokes/Wave*`: the declaration pass. This deletes two theorems | |
| 8 | +from `NavierStokes/WaveEdgeExtension.lean` (14 lines in one file), in the `NativeRegularity` namespace: | |
| 9 | + | |
| 10 | +- `NavierStokes.WaveEdgeExtension.NativeRegularity.jet_inside` — the derivative of the native extension equals | |
| 11 | + the derivative of `f` at points whose native radius lies strictly between the two moving edge radii; | |
| 12 | +- `NavierStokes.WaveEdgeExtension.NativeRegularity.jet_outside` — the same derivative is `0` at points whose | |
| 13 | + native radius lies outside that open interval. | |
| 14 | + | |
| 15 | +Nothing in the tree uses either name: `git grep -n -w 'jet_inside'` and `git grep -n -w 'jet_outside'` find no | |
| 16 | +Lean file, and the broad search `git grep -n 'jet_inside\|jet_outside'` is empty outside these notes. Neither | |
| 17 | +theorem carries a docstring, so no text deleted here cites the paper; the keep rule is met on every other clause | |
| 18 | +too (neither is a paper result, an existence result, nor in a file that states the paper's results), and no | |
| 19 | +declaration that stays is changed. `python3 checks/challenge.py .` ends with | |
| 20 | +`ok: 4 challenge files and the build configuration as approved; …`. | |
| 21 | + | |
| 22 | +The deletions match Treant's run of 2026-12-03 (TitiSkywalker/NavierStokesAndEuler) as cut in | |
| 23 | +`docs/s1-dead-code/`; waves 1 (`s1-ns-wave-1`, pull request #289) and 2 (`s1-ns-wave-2`, pull request #417) are | |
| 24 | +merged, and this wave was cut again on main at `4385cbe`. | |
| 25 | + | |
| 26 | +## Next | |
| 27 | + | |
| 28 | +Push and open the pull request; the `build` check on its head decides whether some user of the two names remains | |
| 29 | +that the grep cannot see. If it does, that theorem goes back and leaves this change. | |