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-uniform-8
Browse files main maintainer-statement p1-ns-physical s1-ns-harmonic-11 s1-ns-radial-9 s1-ns-uniform-8 s1-ns-wave-11 s1-ns-weighted-10 s1-ns-weighted-12 s2-euler-correction-1 s2-euler-cylinder-1 s2-euler-dirichlet-1 s2-euler-euler-1 s2-euler-finite-1 s2-euler-mean-1 s2-euler-ordinary-2 s2-euler-packet-1 s2-euler-transverse-1 s2-instances-1 s2-ns-actual-1 s2-ns-annular-1 s2-ns-base-1 s2-ns-common-1 s2-ns-correction-1 s2-ns-current-1 s2-ns-five-1 s2-ns-flat-1 s2-ns-global-1 s2-ns-heat-1 s2-ns-mean-1 s2-ns-modulated-1 s2-ns-moment-1 s2-ns-outgoing-2 s2-ns-periodic-1 s2-ns-periodized-1 s2-ns-physical-1 s2-ns-positive-1 s2-ns-pressure-1 s2-ns-primary-1 s2-ns-reserved-1 s2-ns-residual-1 s2-ns-scaled-2 s2-ns-signed-1 s2-ns-slow-1 s2-ns-smooth-1 s2-ns-temporal-1 s2-ns-uniform-1 s2-ns-variable-1 s2-ns-viscous-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 −16 Euler/CanonicalGraphPotential.lean View file
| @@ -49,20 +49,4 @@ theorem radialPotential_gradient (V : Vector3 → Vector3) (hV : Continuous V) | ||
| 49 | 49 | rw [he, gradient, fderiv_sub_const] |
| 50 | 50 | exact hgrad x |
| 51 | 51 | |
| 52 | -/-- A jointly continuous vector field has a jointly continuous radial scalar potential. -/ | |
| 53 | -theorem radialPotential_joint_continuous {T : Type*} [TopologicalSpace T] | |
| 54 | - [FirstCountableTopology T] [LocallyCompactSpace T] | |
| 55 | - (V : T → Vector3 → Vector3) (hV : Continuous V.uncurry) : | |
| 56 | - Continuous (fun p : T × Vector3 => radialPotential (V p.1) p.2) := by | |
| 57 | - have hc : Continuous (fun p : (T × Vector3) × ℝ => | |
| 58 | - ⟪V p.1.1 (p.2 • p.1.2), p.1.2⟫_ℝ) := by | |
| 59 | - exact (hV.comp ((continuous_fst.fst).prodMk | |
| 60 | - (continuous_snd.smul continuous_fst.snd))).inner continuous_fst.snd | |
| 61 | - have hi := continuous_parametric_integral_of_continuous | |
| 62 | - (μ := volume) | |
| 63 | - (f := fun p : T × Vector3 => fun s : ℝ => ⟪V p.1 (s • p.2), p.2⟫_ℝ) | |
| 64 | - hc (isCompact_Icc : IsCompact (Icc (0 : ℝ) 1)) | |
| 65 | - simpa only [radialPotential, intervalIntegral.integral_of_le (zero_le_one : (0 : ℝ) ≤ 1), | |
| 66 | - integral_Icc_eq_integral_Ioc] using hi | |
| 67 | - | |
| 68 | 52 | end EulerCanonicalGraphPotential |
+0 −7 Euler/CylinderAngleAverage.lean View file
| @@ -156,13 +156,6 @@ theorem average_fullOperator (A : Space →ᵇ E →L[ℝ] F) (u : CylinderL2 P | ||
| 156 | 156 | |
| 157 | 157 | variable {K : Type*} [TopologicalSpace K] [CompactSpace K] |
| 158 | 158 | |
| 159 | -theorem pathAverage_fullMultiplier (A : C(K,Space →ᵇ E →L[ℝ] F)) | |
| 160 | - (u : C(K,CylinderL2 P E)) : | |
| 161 | - pathAverage P (fullMultiplierMap P A u) = fullMultiplierMap P A (pathAverage P u) := by | |
| 162 | - apply ContinuousMap.ext | |
| 163 | - intro t | |
| 164 | - exact average_fullOperator P (A t) (u t) | |
| 165 | - | |
| 166 | 159 | end Coefficients |
| 167 | 160 | |
| 168 | 161 | section Supported |
+0 −13 Euler/CylinderAngleAverageTime.lean View file
| @@ -24,19 +24,6 @@ theorem pointField_mean_zero_iff (p : C(K,LiftL2 P)) | ||
| 24 | 24 | (by simpa only [sobolevPath_value] using pointField_ae P p hp t) |
| 25 | 25 | simpa only [sobolevPath_value] using h |
| 26 | 26 | |
| 27 | -theorem pathAverage_eq_zero_iff (p : C(K,LiftL2 P)) | |
| 28 | - (hp : ContDiff ℝ ∞ (fun a : LiftTangent => pathTranslate P a p)) : | |
| 29 | - pathAverage P p = 0 ↔ | |
| 30 | - ∀ t y, (∫ s in (0 : ℝ)..P, pointField P p hp t (y,(s : AddCircle P))) = 0 := by | |
| 31 | - constructor | |
| 32 | - · intro h t | |
| 33 | - apply (pointField_mean_zero_iff P p hp t).mp | |
| 34 | - exact congrArg (fun q : C(K,LiftL2 P) => q t) h | |
| 35 | - · intro h | |
| 36 | - apply ContinuousMap.ext | |
| 37 | - intro t | |
| 38 | - exact (pointField_mean_zero_iff P p hp t).mpr (h t) | |
| 39 | - | |
| 40 | 27 | theorem pathAverage_orbit_contDiff (p : C(K,LiftL2 P)) |
| 41 | 28 | (hp : ContDiff ℝ ∞ (fun a : LiftTangent => pathTranslate P a p)) : |
| 42 | 29 | ContDiff ℝ ∞ (fun a : LiftTangent => pathTranslate P a (pathAverage P p)) := by |
+0 −53 Euler/CylinderCorrectorMeanZero.lean View file
| @@ -16,10 +16,6 @@ open scoped ContDiff BoundedContinuousFunction | ||
| 16 | 16 | |
| 17 | 17 | variable (P : ℝ) [Fact (0 < P)] |
| 18 | 18 | |
| 19 | -theorem average_primitive (u : LiftL2 P) : | |
| 20 | - average P (primitive P u) = primitive P (average P u) := | |
| 21 | - average_intertwines P (primitive P) (fun s v => primitive_mixed_translation P (0,s) v) u | |
| 22 | - | |
| 23 | 19 | variable {K : Type*} [TopologicalSpace K] [CompactSpace K] |
| 24 | 20 | |
| 25 | 21 | private local instance : NormedAddCommGroup (LiftL2 P) := inferInstance |
| @@ -27,55 +23,6 @@ private local instance : NormedSpace ℝ (LiftL2 P) := inferInstance | ||
| 27 | 23 | private local instance : NormedAddCommGroup C(K,LiftL2 P) := inferInstance |
| 28 | 24 | private local instance : NormedSpace ℝ C(K,LiftL2 P) := inferInstance |
| 29 | 25 | |
| 30 | -omit [CompactSpace K] in | |
| 31 | -theorem pathAverage_primitive (p : C(K,LiftL2 P)) : | |
| 32 | - pathAverage P (pathPrimitive P p) = pathPrimitive P (pathAverage P p) := by | |
| 33 | - apply ContinuousMap.ext | |
| 34 | - intro t | |
| 35 | - exact average_primitive P (p t) | |
| 36 | - | |
| 37 | -theorem derivativePath_zero (i : Fin 4) : derivativePath P (0 : C(K,LiftL2 P)) i = 0 := by | |
| 38 | - simp only [derivativePath, wordPath, map_zero, wordDerivative, iteratedFDeriv_one_apply, | |
| 39 | - fderiv_const_apply, zero_apply] | |
| 40 | - | |
| 41 | 26 | variable (p : C(K,LiftL2 P)) (hp : ContDiff ℝ ∞ (fun a : LiftTangent => pathTranslate P a p)) |
| 42 | 27 | |
| 43 | -include hp in | |
| 44 | -theorem pathAverage_derivativePath (i : Fin 4) : | |
| 45 | - pathAverage P (derivativePath P p i) = derivativePath P (pathAverage P p) i := by | |
| 46 | - have he : (fun a : LiftTangent => pathTranslate P a (pathAverage P p)) = | |
| 47 | - pathAverage P ∘ (fun a : LiftTangent => pathTranslate P a p) := | |
| 48 | - funext (fun a => (pathAverage_translation P a p).symm) | |
| 49 | - have hw := wordDerivative_comp_clm | |
| 50 | - (P := LiftTangent) (E := C(K,LiftL2 P)) (F := C(K,LiftL2 P)) | |
| 51 | - standardDirection (pathAverage (K := K) (V := Space) P) | |
| 52 | - (fun a : LiftTangent => pathTranslate P a p) hp (fun _ : Fin 1 => i) 0 | |
| 53 | - simpa only [derivativePath, wordPath, he] using hw.symm | |
| 54 | - | |
| 55 | -theorem pathAverage_potentialPath (B : C(K,Space →ᵇ Space →L[ℝ] Space)) : | |
| 56 | - pathAverage P (potentialPath P B p) = potentialPath P B (pathAverage P p) := by | |
| 57 | - unfold potentialPath | |
| 58 | - rw [pathAverage_fullMultiplier, pathAverage_primitive] | |
| 59 | - | |
| 60 | -theorem potentialPath_mean_zero (B : C(K,Space →ᵇ Space →L[ℝ] Space)) | |
| 61 | - (hz : pathAverage P p = 0) : pathAverage P (potentialPath P B p) = 0 := by | |
| 62 | - rw [pathAverage_potentialPath, hz] | |
| 63 | - simp only [potentialPath, map_zero] | |
| 64 | - | |
| 65 | -include hp in | |
| 66 | -theorem pathAverage_slowCurl (G : C(K,Space →ᵇ Space →L[ℝ] Space)) : | |
| 67 | - pathAverage P (path P G p) = path P G (pathAverage P p) := by | |
| 68 | - unfold path | |
| 69 | - rw [map_sum] | |
| 70 | - apply Finset.sum_congr rfl | |
| 71 | - intro i _ | |
| 72 | - unfold term | |
| 73 | - rw [pathAverage_fullMultiplier, pathAverage_derivativePath P p hp] | |
| 74 | - | |
| 75 | -include hp in | |
| 76 | -theorem slowCurl_mean_zero (G : C(K,Space →ᵇ Space →L[ℝ] Space)) | |
| 77 | - (hz : pathAverage P p = 0) : pathAverage P (path P G p) = 0 := by | |
| 78 | - rw [pathAverage_slowCurl P p hp G, hz] | |
| 79 | - simp only [path, term, derivativePath_zero, map_zero, Finset.sum_const_zero] | |
| 80 | - | |
| 81 | 28 | end EulerCylinderCorrectorMeanZero |
+0 −14 Euler/CylinderDirichletData.lean View file
| @@ -133,20 +133,6 @@ def physicalDerivative (f : C(Icc (0 : ℝ) T,CylinderL2 P E)) : C(Icc (0 : ℝ) | ||
| 133 | 133 | D.lower D.lower_pos (D.frame_lower P) (D.frame_derivative P) |
| 134 | 134 | D.potential D.potential_nonneg (D.hessian_upper P) D.small f |
| 135 | 135 | |
| 136 | -theorem displacement_initial (f : TimeLp T (CylinderL2 P E)) : | |
| 137 | - D.displacementPath P f ⟨0,le_rfl,D.time_pos.le⟩ = 0 := | |
| 138 | - EulerTransverseFixedEvolution.displacementPath_initial T D.time_pos.le | |
| 139 | - (D.frame P) (D.frameDerivative P) (D.hessian P) | |
| 140 | - D.lower D.lower_pos (D.frame_lower P) (D.frame_derivative P) | |
| 141 | - D.potential D.potential_nonneg (D.hessian_upper P) D.small f | |
| 142 | - | |
| 143 | -theorem displacement_terminal (f : TimeLp T (CylinderL2 P E)) : | |
| 144 | - D.displacementPath P f ⟨T,D.time_pos.le,le_rfl⟩ = 0 := | |
| 145 | - EulerTransverseFixedEvolution.displacementPath_terminal T D.time_pos.le | |
| 146 | - (D.frame P) (D.frameDerivative P) (D.hessian P) | |
| 147 | - D.lower D.lower_pos (D.frame_lower P) (D.frame_derivative P) | |
| 148 | - D.potential D.potential_nonneg (D.hessian_upper P) D.small f | |
| 149 | - | |
| 150 | 136 | theorem velocity_hasDerivWithinAt (f : C(Icc (0 : ℝ) T,CylinderL2 P E)) (t : Icc (0 : ℝ) T) : |
| 151 | 137 | HasDerivWithinAt (extendPath T D.time_pos.le (D.velocityPath P (pathLp T D.time_pos.le f))) |
| 152 | 138 | (D.accelerationPath P f t) (Icc (0 : ℝ) T) t := |
+0 −45 Euler/CylinderDirichletMean.lean View file
| @@ -71,15 +71,6 @@ theorem velocityPath_average (f : TimeLp T (CylinderL2 P E)) (t : Icc (0 : ℝ) | ||
| 71 | 71 | (fun t u => average_fullOperator_back P (D.Q₁ t) u) |
| 72 | 72 | (fun t u => (average_fullOperator P (D.H t) u).symm) f t |
| 73 | 73 | |
| 74 | -theorem accelerationPath_average (f : C(Icc (0 : ℝ) T,CylinderL2 P E)) (t : Icc (0 : ℝ) T) : | |
| 75 | - D.accelerationPath P (pathAverage P f) t = average P (D.accelerationPath P f t) := | |
| 76 | - D.accelerationPath_intertwines P D (average P) (average P) | |
| 77 | - (fun t u => (average_fullOperator P (D.Q t) u).symm) | |
| 78 | - (fun t u => (average_fullOperator P (D.Q₁ t) u).symm) | |
| 79 | - (fun t u => average_fullOperator_back P (D.Q t) u) | |
| 80 | - (fun t u => average_fullOperator_back P (D.Q₁ t) u) | |
| 81 | - (fun t u => (average_fullOperator P (D.H t) u).symm) f t | |
| 82 | - | |
| 83 | 74 | theorem physicalVelocity_average (f : C(Icc (0 : ℝ) T,CylinderL2 P E)) (t : Icc (0 : ℝ) T) : |
| 84 | 75 | D.physicalVelocity P (pathAverage P f) t = average P (D.physicalVelocity P f t) := |
| 85 | 76 | D.physicalVelocity_intertwines P D (average P) (average P) |
| @@ -89,24 +80,6 @@ theorem physicalVelocity_average (f : C(Icc (0 : ℝ) T,CylinderL2 P E)) (t : Ic | ||
| 89 | 80 | (fun t u => average_fullOperator_back P (D.Q₁ t) u) |
| 90 | 81 | (fun t u => (average_fullOperator P (D.H t) u).symm) f t |
| 91 | 82 | |
| 92 | -theorem physicalDerivative_average (f : C(Icc (0 : ℝ) T,CylinderL2 P E)) (t : Icc (0 : ℝ) T) : | |
| 93 | - D.physicalDerivative P (pathAverage P f) t = average P (D.physicalDerivative P f t) := | |
| 94 | - D.physicalDerivative_intertwines P D (average P) (average P) | |
| 95 | - (fun t u => (average_fullOperator P (D.Q t) u).symm) | |
| 96 | - (fun t u => (average_fullOperator P (D.Q₁ t) u).symm) | |
| 97 | - (fun t u => average_fullOperator_back P (D.Q t) u) | |
| 98 | - (fun t u => average_fullOperator_back P (D.Q₁ t) u) | |
| 99 | - (fun t u => (average_fullOperator P (D.H t) u).symm) f t | |
| 100 | - | |
| 101 | -theorem accelerationPath_zero (t : Icc (0 : ℝ) T) : D.accelerationPath P 0 t = 0 := by | |
| 102 | - have hz : pathLp T D.time_pos.le (0 : C(Icc (0 : ℝ) T,CylinderL2 P E)) = 0 := | |
| 103 | - map_zero (pathLpOperator T D.time_pos.le) | |
| 104 | - change gramInverse (D.frame P t) D.lower D.lower_pos (D.frame_lower P t) | |
| 105 | - ((D.frame P t).adjoint (0-(2 : ℝ) • D.frameDerivative P t | |
| 106 | - (D.velocityPath P (pathLp T D.time_pos.le 0) t))) = 0 | |
| 107 | - rw [hz] | |
| 108 | - simp only [map_zero,ContinuousMap.zero_apply,smul_zero,sub_zero] | |
| 109 | - | |
| 110 | 83 | theorem physicalVelocity_zero (t : Icc (0 : ℝ) T) : D.physicalVelocity P 0 t = 0 := by |
| 111 | 84 | have hz : pathLp T D.time_pos.le (0 : C(Icc (0 : ℝ) T,CylinderL2 P E)) = 0 := |
| 112 | 85 | map_zero (pathLpOperator T D.time_pos.le) |
| @@ -114,14 +87,6 @@ theorem physicalVelocity_zero (t : Icc (0 : ℝ) T) : D.physicalVelocity P 0 t = | ||
| 114 | 87 | rw [hz] |
| 115 | 88 | simp only [map_zero,ContinuousMap.zero_apply] |
| 116 | 89 | |
| 117 | -theorem physicalDerivative_zero (t : Icc (0 : ℝ) T) : D.physicalDerivative P 0 t = 0 := by | |
| 118 | - have hz : pathLp T D.time_pos.le (0 : C(Icc (0 : ℝ) T,CylinderL2 P E)) = 0 := | |
| 119 | - map_zero (pathLpOperator T D.time_pos.le) | |
| 120 | - change D.frameDerivative P t (D.velocityPath P (pathLp T D.time_pos.le 0) t)+ | |
| 121 | - D.frame P t (D.accelerationPath P 0 t) = 0 | |
| 122 | - rw [hz,D.accelerationPath_zero P t] | |
| 123 | - simp only [map_zero,ContinuousMap.zero_apply,add_zero] | |
| 124 | - | |
| 125 | 90 | variable (f : C(Icc (0 : ℝ) T,CylinderL2 P E)) (hf : ∀ t, average P (f t) = 0) |
| 126 | 91 | |
| 127 | 92 | omit [CompleteSpace E] in |
| @@ -143,19 +108,9 @@ theorem velocityPath_mean_zero (t : Icc (0 : ℝ) T) : | ||
| 143 | 108 | rw [hz,map_zero,ContinuousMap.zero_apply] at h |
| 144 | 109 | exact h.symm |
| 145 | 110 | |
| 146 | -include hf in | |
| 147 | -theorem accelerationPath_mean_zero (t : Icc (0 : ℝ) T) : | |
| 148 | - average P (D.accelerationPath P f t) = 0 := by | |
| 149 | - rw [← D.accelerationPath_average P f t,averagedPath_zero P f hf,D.accelerationPath_zero P t] | |
| 150 | - | |
| 151 | 111 | include hf in |
| 152 | 112 | theorem physicalVelocity_mean_zero (t : Icc (0 : ℝ) T) : |
| 153 | 113 | average P (D.physicalVelocity P f t) = 0 := by |
| 154 | 114 | rw [← D.physicalVelocity_average P f t,averagedPath_zero P f hf,D.physicalVelocity_zero P t] |
| 155 | 115 | |
| 156 | -include hf in | |
| 157 | -theorem physicalDerivative_mean_zero (t : Icc (0 : ℝ) T) : | |
| 158 | - average P (D.physicalDerivative P f t) = 0 := by | |
| 159 | - rw [← D.physicalDerivative_average P f t,averagedPath_zero P f hf,D.physicalDerivative_zero P t] | |
| 160 | - | |
| 161 | 116 | end EulerCylinderDirichlet.Coefficients |
+0 −41 Euler/CylinderDirichletParity.lean View file
| @@ -63,32 +63,6 @@ theorem continuousVelocity_reflection (f : C(Icc (0 : ℝ) T,CylinderL2 P E)) (t | ||
| 63 | 63 | rw [reflection_adjoint,reflection_adjoint] |
| 64 | 64 | exact (reflection_fullOperator P (D.Q₁ s) (hQ₁ s) u).symm |
| 65 | 65 | |
| 66 | -theorem accelerationPath_reflection (f : C(Icc (0 : ℝ) T,CylinderL2 P E)) (t : Icc (0 : ℝ) T) : | |
| 67 | - D.accelerationPath P (pathReflection P f) t = reflection P (D.accelerationPath P f t) := by | |
| 68 | - apply D.accelerationPath_intertwines P D | |
| 69 | - (reflection P).toContinuousLinearMap (reflection P).toContinuousLinearMap | |
| 70 | - (fun s u => (reflection_fullOperator P (D.Q s) (hQ s) u).symm) | |
| 71 | - (fun s u => (reflection_fullOperator P (D.Q₁ s) (hQ₁ s) u).symm) | |
| 72 | - _ _ (fun s u => (reflection_fullOperator P (D.H s) (hH s) u).symm) f t | |
| 73 | - · intro s u | |
| 74 | - rw [reflection_adjoint,reflection_adjoint] | |
| 75 | - exact (reflection_fullOperator P (D.Q s) (hQ s) u).symm | |
| 76 | - · intro s u | |
| 77 | - rw [reflection_adjoint,reflection_adjoint] | |
| 78 | - exact (reflection_fullOperator P (D.Q₁ s) (hQ₁ s) u).symm | |
| 79 | - | |
| 80 | -omit hQ hQ₁ hH in | |
| 81 | -theorem accelerationPath_neg (f : C(Icc (0 : ℝ) T,CylinderL2 P E)) (t : Icc (0 : ℝ) T) : | |
| 82 | - D.accelerationPath P (-f) t = -(D.accelerationPath P f t) := by | |
| 83 | - have hn : pathLp T D.time_pos.le (-f) = -(pathLp T D.time_pos.le f) := | |
| 84 | - map_neg (pathLpOperator T D.time_pos.le) f | |
| 85 | - change gramInverse (D.frame P t) D.lower D.lower_pos (D.frame_lower P t) | |
| 86 | - ((D.frame P t).adjoint (-f t-(2 : ℝ) • D.frameDerivative P t | |
| 87 | - (D.velocityPath P (pathLp T D.time_pos.le (-f)) t))) = _ | |
| 88 | - rw [hn,map_neg,ContinuousMap.neg_apply,map_neg,smul_neg,neg_sub_neg,← neg_sub] | |
| 89 | - simp only [map_neg] | |
| 90 | - rfl | |
| 91 | - | |
| 92 | 66 | theorem velocityPath_odd (f : C(Icc (0 : ℝ) T,CylinderL2 P E)) |
| 93 | 67 | (hf : ∀ t, reflection P (f t) = -f t) (t : Icc (0 : ℝ) T) : |
| 94 | 68 | reflection P (D.velocityPath P (pathLp T D.time_pos.le f) t) = |
| @@ -99,12 +73,6 @@ theorem velocityPath_odd (f : C(Icc (0 : ℝ) T,CylinderL2 P E)) | ||
| 99 | 73 | map_neg (pathLpOperator T D.time_pos.le) f |
| 100 | 74 | rw [hn,map_neg,ContinuousMap.neg_apply] |
| 101 | 75 | |
| 102 | -theorem accelerationPath_odd (f : C(Icc (0 : ℝ) T,CylinderL2 P E)) | |
| 103 | - (hf : ∀ t, reflection P (f t) = -f t) (t : Icc (0 : ℝ) T) : | |
| 104 | - reflection P (D.accelerationPath P f t) = -(D.accelerationPath P f t) := by | |
| 105 | - have he : pathReflection P f = -f := ContinuousMap.ext hf | |
| 106 | - rw [← D.accelerationPath_reflection P hQ hQ₁ hH f t,he,D.accelerationPath_neg P f t] | |
| 107 | - | |
| 108 | 76 | theorem physicalVelocity_odd (f : C(Icc (0 : ℝ) T,CylinderL2 P E)) |
| 109 | 77 | (hf : ∀ t, reflection P (f t) = -f t) (t : Icc (0 : ℝ) T) : |
| 110 | 78 | reflection P (D.physicalVelocity P f t) = -(D.physicalVelocity P f t) := by |
| @@ -112,13 +80,4 @@ theorem physicalVelocity_odd (f : C(Icc (0 : ℝ) T,CylinderL2 P E)) | ||
| 112 | 80 | rw [reflection_fullOperator P (D.Q t) (hQ t),D.velocityPath_odd P hQ hQ₁ hH f hf t,map_neg] |
| 113 | 81 | rfl |
| 114 | 82 | |
| 115 | -theorem physicalDerivative_odd (f : C(Icc (0 : ℝ) T,CylinderL2 P E)) | |
| 116 | - (hf : ∀ t, reflection P (f t) = -f t) (t : Icc (0 : ℝ) T) : | |
| 117 | - reflection P (D.physicalDerivative P f t) = -(D.physicalDerivative P f t) := by | |
| 118 | - change reflection P (fullOperatorMap P (D.Q₁ t) (D.velocityPath P (pathLp T D.time_pos.le f) t)+ | |
| 119 | - fullOperatorMap P (D.Q t) (D.accelerationPath P f t)) = _ | |
| 120 | - rw [map_add,reflection_fullOperator P (D.Q₁ t) (hQ₁ t),reflection_fullOperator P (D.Q t) (hQ t), | |
| 121 | - D.velocityPath_odd P hQ hQ₁ hH f hf t,D.accelerationPath_odd P hQ hQ₁ hH f hf t,map_neg,map_neg] | |
| 122 | - exact (neg_add _ _).symm | |
| 123 | - | |
| 124 | 83 | end EulerCylinderDirichlet.Coefficients |
+0 −22 Euler/CylinderDirichletSupport.lean View file
| @@ -91,17 +91,6 @@ theorem velocityPath_supported (t : Icc (0 : ℝ) T) : | ||
| 91 | 91 | rw [spatialCutoff_path_fix P S hS f hf] at h |
| 92 | 92 | exact h.symm |
| 93 | 93 | |
| 94 | -include hf in | |
| 95 | -theorem accelerationPath_supported (t : Icc (0 : ℝ) T) : | |
| 96 | - D.accelerationPath P f t ∈ Supported P U S hS := by | |
| 97 | - apply (spatialCutoff_fix P S hS _).2 | |
| 98 | - have h := D.accelerationPath_intertwines P D (spatialCutoff P S hS) (spatialCutoff P S hS) | |
| 99 | - (D.frame_cutoff P S hS) (D.frameDerivative_cutoff P S hS) | |
| 100 | - (D.frame_cutoff_back P S hS) (D.frameDerivative_cutoff_back P S hS) | |
| 101 | - (D.hessian_cutoff P S hS) f t | |
| 102 | - rw [spatialCutoff_path_fix P S hS f hf] at h | |
| 103 | - exact h.symm | |
| 104 | - | |
| 105 | 94 | include hf in |
| 106 | 95 | theorem physicalVelocity_supported (t : Icc (0 : ℝ) T) : |
| 107 | 96 | D.physicalVelocity P f t ∈ Supported P E S hS := by |
| @@ -113,15 +102,4 @@ theorem physicalVelocity_supported (t : Icc (0 : ℝ) T) : | ||
| 113 | 102 | rw [spatialCutoff_path_fix P S hS f hf] at h |
| 114 | 103 | exact h.symm |
| 115 | 104 | |
| 116 | -include hf in | |
| 117 | -theorem physicalDerivative_supported (t : Icc (0 : ℝ) T) : | |
| 118 | - D.physicalDerivative P f t ∈ Supported P E S hS := by | |
| 119 | - apply (spatialCutoff_fix P S hS _).2 | |
| 120 | - have h := D.physicalDerivative_intertwines P D (spatialCutoff P S hS) (spatialCutoff P S hS) | |
| 121 | - (D.frame_cutoff P S hS) (D.frameDerivative_cutoff P S hS) | |
| 122 | - (D.frame_cutoff_back P S hS) (D.frameDerivative_cutoff_back P S hS) | |
| 123 | - (D.hessian_cutoff P S hS) f t | |
| 124 | - rw [spatialCutoff_path_fix P S hS f hf] at h | |
| 125 | - exact h.symm | |
| 126 | - | |
| 127 | 105 | end EulerCylinderDirichlet.Coefficients |
+0 −14 Euler/CylinderEndpointParity.lean View file
| @@ -35,24 +35,10 @@ theorem endpointCoordinate_odd (t : Icc (0 : ℝ) T) : | ||
| 35 | 35 | D.velocityPath_odd P hQ hQ₁ hH (D.endpointForcing P Y) (D.endpointForcing_odd P hQ₁ Y hY) t] |
| 36 | 36 | module |
| 37 | 37 | |
| 38 | -theorem endpointAcceleration_odd (t : Icc (0 : ℝ) T) : | |
| 39 | - reflection P (D.endpointAcceleration P Y t) = -D.endpointAcceleration P Y t := by | |
| 40 | - rw [D.endpointAcceleration_eq_forced P Y,ContinuousMap.neg_apply,map_neg, | |
| 41 | - D.accelerationPath_odd P hQ hQ₁ hH (D.endpointForcing P Y) (D.endpointForcing_odd P hQ₁ Y hY) t] | |
| 42 | - | |
| 43 | 38 | theorem endpointVelocity_odd (t : Icc (0 : ℝ) T) : |
| 44 | 39 | reflection P (D.endpointVelocity P Y t) = -D.endpointVelocity P Y t := by |
| 45 | 40 | change reflection P (fullOperatorMap P (D.Q t) (D.endpointCoordinate P Y t)) = _ |
| 46 | 41 | rw [reflection_fullOperator P (D.Q t) (hQ t),D.endpointCoordinate_odd P hQ hQ₁ hH Y hY t,map_neg] |
| 47 | 42 | rfl |
| 48 | 43 | |
| 49 | -theorem endpointDerivative_odd (t : Icc (0 : ℝ) T) : | |
| 50 | - reflection P (D.endpointDerivative P Y t) = -D.endpointDerivative P Y t := by | |
| 51 | - change reflection P (fullOperatorMap P (D.Q₁ t) (D.endpointCoordinate P Y t)+ | |
| 52 | - fullOperatorMap P (D.Q t) (D.endpointAcceleration P Y t)) = _ | |
| 53 | - rw [map_add,reflection_fullOperator P (D.Q₁ t) (hQ₁ t),reflection_fullOperator P (D.Q t) (hQ t), | |
| 54 | - D.endpointCoordinate_odd P hQ hQ₁ hH Y hY t,D.endpointAcceleration_odd P hQ hQ₁ hH Y hY t, | |
| 55 | - map_neg,map_neg] | |
| 56 | - exact (neg_add _ _).symm | |
| 57 | - | |
| 58 | 44 | end EulerCylinderDirichlet.Coefficients |
+0 −26 Euler/CylinderEndpointSupport.lean View file
| @@ -55,23 +55,10 @@ theorem endpointCoordinate_supported (t : Icc (0 : ℝ) T) : | ||
| 55 | 55 | (D.velocityPath_supported P S hS (D.endpointForcing P Y) |
| 56 | 56 | (D.endpointForcing_supported P S hS Y hY) t) |
| 57 | 57 | |
| 58 | -theorem endpointAcceleration_supported (t : Icc (0 : ℝ) T) : | |
| 59 | - D.endpointAcceleration P Y t ∈ Supported P U S hS := by | |
| 60 | - rw [D.endpointAcceleration_eq_forced P Y,ContinuousMap.neg_apply] | |
| 61 | - exact (Supported P U S hS).neg_mem | |
| 62 | - (D.accelerationPath_supported P S hS (D.endpointForcing P Y) | |
| 63 | - (D.endpointForcing_supported P S hS Y hY) t) | |
| 64 | - | |
| 65 | 58 | theorem endpointVelocity_supported (t : Icc (0 : ℝ) T) : |
| 66 | 59 | D.endpointVelocity P Y t ∈ Supported P E S hS := |
| 67 | 60 | D.frame_supported P S hS _ (D.endpointCoordinate_supported P S hS Y hY t) t |
| 68 | 61 | |
| 69 | -theorem endpointDerivative_supported (t : Icc (0 : ℝ) T) : | |
| 70 | - D.endpointDerivative P Y t ∈ Supported P E S hS := | |
| 71 | - (Supported P E S hS).add_mem | |
| 72 | - (D.frameDerivative_supported P S hS _ (D.endpointCoordinate_supported P S hS Y hY t) t) | |
| 73 | - (D.frame_supported P S hS _ (D.endpointAcceleration_supported P S hS Y hY t) t) | |
| 74 | - | |
| 75 | 62 | end Support |
| 76 | 63 | |
| 77 | 64 | section Mean |
| @@ -90,24 +77,11 @@ theorem endpointCoordinate_mean_zero (t : Icc (0 : ℝ) T) : | ||
| 90 | 77 | rw [D.endpointCoordinate_eq_const_sub P Y t,map_sub,map_smul,hY,smul_zero, |
| 91 | 78 | D.velocityPath_mean_zero P (D.endpointForcing P Y) (D.endpointForcing_mean_zero P Y hY) t,sub_zero] |
| 92 | 79 | |
| 93 | -theorem endpointAcceleration_mean_zero (t : Icc (0 : ℝ) T) : | |
| 94 | - average P (D.endpointAcceleration P Y t) = 0 := by | |
| 95 | - rw [D.endpointAcceleration_eq_forced P Y,ContinuousMap.neg_apply,map_neg, | |
| 96 | - D.accelerationPath_mean_zero P (D.endpointForcing P Y) (D.endpointForcing_mean_zero P Y hY) t,neg_zero] | |
| 97 | - | |
| 98 | 80 | theorem endpointVelocity_mean_zero (t : Icc (0 : ℝ) T) : |
| 99 | 81 | average P (D.endpointVelocity P Y t) = 0 := by |
| 100 | 82 | change average P (fullOperatorMap P (D.Q t) (D.endpointCoordinate P Y t)) = 0 |
| 101 | 83 | rw [average_fullOperator,D.endpointCoordinate_mean_zero P Y hY t,map_zero] |
| 102 | 84 | |
| 103 | -theorem endpointDerivative_mean_zero (t : Icc (0 : ℝ) T) : | |
| 104 | - average P (D.endpointDerivative P Y t) = 0 := by | |
| 105 | - change average P (fullOperatorMap P (D.Q₁ t) (D.endpointCoordinate P Y t)+ | |
| 106 | - fullOperatorMap P (D.Q t) (D.endpointAcceleration P Y t)) = 0 | |
| 107 | - rw [map_add,average_fullOperator,average_fullOperator, | |
| 108 | - D.endpointCoordinate_mean_zero P Y hY t,D.endpointAcceleration_mean_zero P Y hY t, | |
| 109 | - map_zero,map_zero,add_zero] | |
| 110 | - | |
| 111 | 85 | end Mean |
| 112 | 86 | |
| 113 | 87 | end EulerCylinderDirichlet.Coefficients |
+0 −18 Euler/CylinderPotentialPath.lean View file
| @@ -71,24 +71,6 @@ theorem potentialField_source_formula | ||
| 71 | 71 | ((smoothField_continuous P _ (pointField_smooth P p hp t)).comp |
| 72 | 72 | (continuous_const.prodMk (AddCircle.continuous_mk' P))) θ |
| 73 | 73 | |
| 74 | -/-- The L² construction is the same actual field used in the compact Piola construction. -/ | |
| 75 | -theorem potentialField_eq_periodic | |
| 76 | - (hmean : ∀ t y, (∫ s in (0 : ℝ)..P, pointField P p hp t (y,(s : AddCircle P))) = 0) | |
| 77 | - (m : K → Space → Space) (hBm : ∀ t y, B t y = potentialMultiplier (m t y)) | |
| 78 | - (t : K) : | |
| 79 | - potentialField P B hB p hp t = EulerPacketPeriodicPotential.field P (m t) (pointField P p hp t) := by | |
| 80 | - funext x | |
| 81 | - obtain ⟨θ,hθ⟩ := QuotientAddGroup.mk_surjective x.2 | |
| 82 | - have hx : x=(x.1,(θ : AddCircle P)) := by | |
| 83 | - apply Prod.ext | |
| 84 | - · rfl | |
| 85 | - · exact hθ.symm | |
| 86 | - rw [hx, potentialField_source_formula P B hB p hp hmean m hBm t x.1 θ] | |
| 87 | - have h := EulerPacketPeriodicPotential.field_cover P (m t) (pointField P p hp t) | |
| 88 | - (smoothField_continuous P _ (pointField_smooth P p hp t)) (hmean t) (x.1,θ) | |
| 89 | - simpa only [coveringMap, EulerPacketPiola.coveringPotential, localFieldLift, | |
| 90 | - Prod.fst_zero, Prod.snd_zero, zero_add] using h.symm | |
| 91 | - | |
| 92 | 74 | include hB hp in |
| 93 | 75 | /-- Angular integration and multiplication retain the input radius and external shift. -/ |
| 94 | 76 | theorem potentialPath_block_bound {ι : Type*} [Fintype ι] |
+0 −6 Euler/CylinderScalarClassical.lean View file
| @@ -43,12 +43,6 @@ theorem classicalPrimitive_angle (y : Space) (θ : ℝ) : | ||
| 43 | 43 | exact EulerAngleMeanZeroPrimitive.primitive_hasDerivAt P _ |
| 44 | 44 | (hf.comp (continuous_const.prodMk (AddCircle.continuous_mk' P))) θ |
| 45 | 45 | |
| 46 | -theorem classicalPrimitive_mean_zero (y : Space) : | |
| 47 | - (∫ θ in (0 : ℝ)..P, classicalPrimitive P f hf hmean (y,(θ : AddCircle P))) = 0 := by | |
| 48 | - simp_rw [classicalPrimitive_cover] | |
| 49 | - exact EulerAngleMeanZeroPrimitive.primitive_mean_zero P (ne_of_gt (Fact.out : 0 < P)) _ | |
| 50 | - (hf.comp (continuous_const.prodMk (AddCircle.continuous_mk' P))) | |
| 51 | - | |
| 52 | 46 | /-- The actual normalized integral is smooth in all cylinder variables. -/ |
| 53 | 47 | theorem classicalPrimitive_smooth |
| 54 | 48 | (hfs : ∀ x, ContDiff ℝ ∞ (localFieldLift P f x)) (x : LiftDomain P) : |
+0 −6 Euler/CylinderScalarTime.lean View file
| @@ -22,12 +22,6 @@ def scalarPointField (t : K) (x : LiftDomain P) : ℝ := | ||
| 22 | 22 | scalarProject (pointField P (pathMap P scalarEmbed p) |
| 23 | 23 | (pathMap_orbit_contDiff P scalarEmbed p hp) t x) |
| 24 | 24 | |
| 25 | -theorem scalarPointField_joint_continuous : | |
| 26 | - Continuous (fun z : K × LiftDomain P => scalarPointField P p hp z.1 z.2) := | |
| 27 | - scalarProject.continuous.comp | |
| 28 | - (pointField_joint_continuous P (pathMap P scalarEmbed p) | |
| 29 | - (pathMap_orbit_contDiff P scalarEmbed p hp)) | |
| 30 | - | |
| 31 | 25 | theorem scalarPointField_smooth (t : K) (x : LiftDomain P) : |
| 32 | 26 | ContDiff ℝ ∞ (localFieldLift P (scalarPointField P p hp t) x) := |
| 33 | 27 | scalarProject.contDiff.comp |
+0 −6 Euler/CylinderTimeRegularity.lean View file
| @@ -28,12 +28,6 @@ def pointField (p : C(K,LiftL2 period)) | ||
| 28 | 28 | (t : K) (x : LiftDomain period) : Space := |
| 29 | 29 | EulerSobolevPointEvaluation.pointEvaluation period x (sobolevPath period 3 p hp t) |
| 30 | 30 | |
| 31 | -/-- The reconstructed field is jointly continuous in time and cylinder position. -/ | |
| 32 | -theorem pointField_joint_continuous (p : C(K,LiftL2 period)) | |
| 33 | - (hp : ContDiff ℝ ∞ (fun a : LiftTangent => pathTranslate period a p)) : | |
| 34 | - Continuous (fun z : K × LiftDomain period => pointField period p hp z.1 z.2) := | |
| 35 | - EulerSobolevJointEvaluation.path_representative_joint_continuous period (sobolevPath period 3 p hp) | |
| 36 | - | |
| 37 | 31 | /-- The bounded point evaluation is exactly the smooth representative of each actual L² slice. -/ |
| 38 | 32 | theorem pointField_eq_representative (p : C(K,LiftL2 period)) |
| 39 | 33 | (hp : ContDiff ℝ ∞ (fun a : LiftTangent => pathTranslate period a p)) (t : K) : |
+1 −1 Euler/HeatGradientEnergy.lean View file
| @@ -105,7 +105,7 @@ theorem heat_gradient_energy_bound (u : ℝ → SobolevSpace period 3) | ||
| 105 | 105 | rw [Real.norm_eq_abs] at hb |
| 106 | 106 | have hc := neg_le_abs ⟪laplacianEvaluation period 3 (by norm_num) (u t), value period f⟫_ℝ |
| 107 | 107 | have hy := viscosity_young ν ‖laplacianEvaluation period 3 (by norm_num) (u t)‖ ‖value period f‖ hν |
| 108 | - nlinarith | |
| 108 | + linarith | |
| 109 | 109 | |
| 110 | 110 | |
| 111 | 111 | end EulerHeatGradientEnergy |
+1 −1 Euler/HeatMaximalEstimate.lean View file
| @@ -94,6 +94,6 @@ theorem heat_time_H2_bound (T : ℝ) (hT : 0 ≤ T) (ν : ℝ) (hν : 0 < ν) | ||
| 94 | 94 | have hb2 := time_H2_elliptic_bound period T hT u |
| 95 | 95 | change _ ≤ T*‖low‖^2 + L at hb2 |
| 96 | 96 | change _ ≤ (T+4*ν⁻¹)*‖low‖^2 + (ν⁻¹)^2*‖pathLp T hT source‖^2 |
| 97 | - nlinarith | |
| 97 | + linarith | |
| 98 | 98 | |
| 99 | 99 | end EulerHeatMaximalEstimate |
+0 −14 Euler/InviscidCorrectionParity.lean View file
| @@ -64,18 +64,4 @@ theorem inviscid_correction_odd {q : ℕ} (hq : 6 ≤ q) (T : ℝ) (hT : 0 ≤ T | ||
| 64 | 64 | intro t |
| 65 | 65 | exact (congrArg (fun f => f t) he).symm |
| 66 | 66 | |
| 67 | -/-- The actual signed coercive correction pressure has odd gradient parity | |
| 68 | -at every time once the correction parity has been established. -/ | |
| 69 | -theorem inviscid_correction_pressure_odd {q : ℕ} (hq : 6 ≤ q) {T : Type*} [TopologicalSpace T] | |
| 70 | - (D : CorrectionData period q T) (t : T) | |
| 71 | - (hG : ∀ x, (D.metric.coefficient t).coefficient (-x) = (D.metric.coefficient t).coefficient x) | |
| 72 | - (hL : ∀ x, (D.linear.coefficient t).coefficient (-x) = (D.linear.coefficient t).coefficient x) | |
| 73 | - (hQ : ∀ i x, ((D.quadratic i).coefficient t).coefficient (-x) = -((D.quadratic i).coefficient t).coefficient x) | |
| 74 | - (hz : oddReflection period (q+1) (D.approximation t) = D.approximation t) | |
| 75 | - (hr : oddReflection period q (D.residual t) = D.residual t) | |
| 76 | - (u : SobolevSpace period (q+1)) (hu : oddReflection period (q+1) u = u) : | |
| 77 | - oddReflection period q (D.pressure period hq t u) = D.pressure period hq t u := by | |
| 78 | - have hh := correction_pressure_oddReflection period hq D t hG hL hQ hz hr u | |
| 79 | - rwa [hu] at hh | |
| 80 | - | |
| 81 | 67 | end EulerInviscidCorrectionParity |
+0 −4 Euler/MeanBoundaryMixed.lean View file
| @@ -30,10 +30,6 @@ def Cutoff.translate (χ : Cutoff) (a : Space) : Cutoff := | ||
| 30 | 30 | ⟨fun x => χ.field (x+a), χ.smooth.comp (contDiff_id.add contDiff_const), |
| 31 | 31 | χ.compact.comp_homeomorph (Homeomorph.addRight a)⟩ |
| 32 | 32 | |
| 33 | -def Cutoff.derivative (χ : Cutoff) (i : Fin 3) : Cutoff := | |
| 34 | - ⟨partialDerivative χ.field i, contDiff_partialDerivative χ.field χ.smooth i, | |
| 35 | - χ.compact.fderiv_apply ℝ (EuclideanSpace.single i 1)⟩ | |
| 36 | - | |
| 37 | 33 | theorem testCurl_cutoff_add (χ ψ : Cutoff) (f : Test) : |
| 38 | 34 | testCurl (χ.add ψ) f = testCurl χ f + testCurl ψ f := by |
| 39 | 35 | apply Lp.ext |
+0 −9 Euler/PacketAngularPotential.lean View file
| @@ -33,13 +33,4 @@ theorem potential_zero (P : ℝ) (m : Space) : | ||
| 33 | 33 | funext θ |
| 34 | 34 | simp [potential, primitive, rawPrimitive] |
| 35 | 35 | |
| 36 | -theorem potential_bound (P M : ℝ) (hP : 0 < P) (hM : 0 ≤ M) (m : Space) | |
| 37 | - (A : ℝ → Space) (hA : ∀ θ ∈ Icc 0 P, ‖A θ‖ ≤ M) (θ : ℝ) (hθ : θ ∈ Icc 0 P) : | |
| 38 | - ‖potential P m A θ‖ ≤ 2*P*(‖potentialMultiplier m‖*M) := by | |
| 39 | - apply primitive_bound P (‖potentialMultiplier m‖*M) hP | |
| 40 | - (mul_nonneg (norm_nonneg _) hM) _ _ θ hθ | |
| 41 | - intro s hs | |
| 42 | - exact ((potentialMultiplier m).le_opNorm (A s)).trans | |
| 43 | - (mul_le_mul_of_nonneg_left (hA s hs) (norm_nonneg _)) | |
| 44 | - | |
| 45 | 36 | end EulerPacketAngularPotential |
+5 −5 KNOWN.md View file
| @@ -16,12 +16,12 @@ What is established about this problem, one fact a line, each with where it come | ||
| 16 | 16 | |
| 17 | 17 | ## Mind |
| 18 | 18 | |
| 19 | -- A build that starts at once can run more than an hour: 32 build jobs submitted 01:58–02:59 all started within a minute and were still running at 03:04, 66 minutes after the first was submitted (job 5121, job 5184, job 5187). | |
| 19 | +- A build that starts at once can run more than an hour: 32 jobs submitted 01:58–02:59 all started within a minute and were still running at 03:04, and 50 submitted 03:26–04:13 started at once and were all still running at 04:20 (job 5121, job 5296, job 5414). | |
| 20 | 20 | - 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). |
| 21 | -- Checks can arrive in one batch: 35 `s1-*-3` heads took challenge passes 00:24–00:28; 26 main heads passed challenge and 14 builds succeeded 01:22–01:33; 36 build successes on main landed 02:21–03:02 (commit 4c91414, job 4833, commit d55cad2, commit fcca9cb). | |
| 22 | -- [mind, checked] Main advances several commits a minute: 25 challenge successes on main landed 22:45–22:50, twelve more at 02:16–02:21, nine build successes at 00:01–00:10, so a named tip already trails them (commit a716ddf, commit 673291f, commit f0bbc9f). | |
| 23 | -- [mind, checked] A pending build is a queue, not a failure: 50 builds submitted 21:32–22:25 waited 21–43 minutes to start, while those submitted 00:27–02:19 started within a minute (job 4751, job 5059, job 5101, job 5176). | |
| 24 | -- [mind, checked] A challenge verdict counts its own head's tree, so line counts drift: twelve main heads 02:16–02:21 read 500,728 down to 499,461, after 506,373 to 508,161 at 01:22–01:33 (commit 673291f, commit f0bbc9f, commit d55cad2, commit 6383aee). | |
| 21 | +- Checks can arrive in one batch: 35 `s1-*-3` heads took challenge passes 00:24–00:28, 26 main heads and 14 builds passed 01:22–01:33, and 40 verdicts landed 04:14–04:19, mostly challenge successes reading 497,428–498,114 lines at 2,588 files (commit 4c91414, commit bed76de, commit 2dd39c6). | |
| 22 | +- Main advances several commits a minute: builds passed at 42d34c8 04:15 and ac4dd55 04:17 while bed76de and e7f8c53 both passed challenge at 04:18, and earlier 25 challenge successes landed 22:45–22:50, so a named tip already trails them (commit a716ddf, commit 42d34c8, commit bed76de). | |
| 23 | +- [mind, checked] A pending build is a queue, not a failure: 50 builds submitted 21:32–22:25 waited 21–43 minutes to start and 50 submitted 16:13–16:43 on 12-04 were still queued at 17:21, while the 50 submitted 02:13–03:12 started within a minute (job 4751, job 2940, job 5148, job 5283). | |
| 24 | +- [mind, checked] A challenge verdict counts its own head's tree, so line counts drift: twelve main heads 02:16–02:21 read 500,728→499,461, fifteen at 04:05–04:10 read 499,257→498,348, and 28 `s1-*-8` heads read 499,017→499,418 at 2,588 files (commit 6383aee, commit 21c8ecb). | |
| 25 | 25 | - 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). |
| 26 | 26 | - ~~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) |
| 27 | 27 | - 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 −24 NavierStokes/ActualGaussianCoverage.lean View file
| @@ -354,36 +354,12 @@ noncomputable def data (l : Label) : CopyData ((P × ℝ) × Plane) Frequency := | ||
| 354 | 354 | (fun n => (ScaledActualParticularControl.length_pos F clock l n).le) |
| 355 | 355 | (cutoffFamily F clock r hr l) |
| 356 | 356 | |
| 357 | -theorem data_cutoff_support (l : Label) (n : ℕ) (k : Frequency) : | |
| 358 | - support ((data F clock reference gap r hr base tangent ctx u b G A j l).cutoff n k) ⊆ | |
| 359 | - nativeCell (ScaledActualParticularControl.geometry reference gap clock l n) | |
| 360 | - (outerFamily F clock r l n) k := | |
| 361 | - native_cutoff_support _ (nativeCutoff_support (hr l n) (F.L_pos (l,n)) (clock.value_pos l n)) k | |
| 362 | - | |
| 363 | 357 | variable (s : StripData P) (S : Label → ℕ → Set P) (hS : ∀ l n, IsClosed (S l n)) |
| 364 | 358 | (hsupport : ∀ l, HarmonicSourceSupport.InputSupportOn (s.domain ×ˢ univ) |
| 365 | 359 | (sourceRegions F clock reference gap r S l) (b l) (G l) (A l)) |
| 366 | 360 | |
| 367 | 361 | include hS hsupport |
| 368 | 362 | |
| 369 | -theorem data_source_zero_germ (l : Label) (n : ℕ) {x : (P × ℝ) × Plane} | |
| 370 | - (hx : x.1.1 ∈ s.domain) | |
| 371 | - (hn : (x.1.1, x.2) ∉ sourceRegions F clock reference gap r S l n) : | |
| 372 | - (data F clock reference gap r hr base tangent ctx u b G A j l).source n =ᶠ[𝓝 x] fun _ => 0 := | |
| 373 | - sourceFamily_zero_germ ctx u (b l) (G l) (A l) (s.isOpen_domain.prod isOpen_univ) | |
| 374 | - (fun n => sourceRegion_closed (hS l n) _ _ _ _) (hsupport l) j n ⟨hx, mem_univ _⟩ hn | |
| 375 | - | |
| 376 | -theorem data_amplitude_zero_germ (l : Label) (n : ℕ) (k : Frequency) {x : (P × ℝ) × Plane} | |
| 377 | - (hx : x.1.1 ∈ s.domain) | |
| 378 | - (hn : ∀ v ∈ Icc 0 (ScaledActualParticularControl.length F clock l n), | |
| 379 | - (x.1.1, (ScaledActualParticularControl.geometry reference gap clock l n).path k x.2 v) ∉ | |
| 380 | - sourceRegions F clock reference gap r S l n) : | |
| 381 | - (data F clock reference gap r hr base tangent ctx u b G A j l).amplitude n k =ᶠ[𝓝 x] fun _ => 0 := by | |
| 382 | - apply complexCopyVelocity_zero_germ | |
| 383 | - intro v hv | |
| 384 | - exact data_source_zero_germ F clock reference gap r hr base tangent ctx u b G A j | |
| 385 | - s S hS hsupport l n (x := (x.1, _)) hx (hn v hv) | |
| 386 | - | |
| 387 | 363 | end Family |
| 388 | 364 | |
| 389 | 365 | /-! ## Uniform jets of the actual Gaussian clock cutoff -/ |
+0 −12 NavierStokes/ActualSignedControl.lean View file
| @@ -99,18 +99,6 @@ namespace CopyChart | ||
| 99 | 99 | variable {s : StripData X} {V : JetDomain ι D} {ζ : ι → D → ℝ} |
| 100 | 100 | {K : Λ → ℕ → I → Set X} (c : CopyChart s V ζ K) |
| 101 | 101 | |
| 102 | -noncomputable def pull (f : ι → D → E) : Λ → ℕ → I → X → E := | |
| 103 | - affineCopy f c.index c.linear c.shift | |
| 104 | - | |
| 105 | -theorem envelope {w : ι → D → ℝ} {f : ι → D → E} (hf : NativeJets V w f) | |
| 106 | - {W : Λ → ℕ → X → ℝ} (hW : ∀ l n x, x ∈ s.domain → 0 ≤ W l n x) | |
| 107 | - (hw : ∀ l n i x, x ∈ s.domain → x ∈ K l n i → | |
| 108 | - w (c.index l n) (c.linear l n i x + c.shift l n i) ≤ W l n x) : | |
| 109 | - UniformLocalJets s W 0 K (c.pull f) := by | |
| 110 | - apply hf.copy_localJets s W 0 c.index c.linear c.shift K hW c.maps c.growth_one c.linear_one | |
| 111 | - c.growthDegree c.linearDegree c.growth_bound c.linear_bound | |
| 112 | - simpa only [Real.rpow_zero, one_mul] using hw | |
| 113 | - | |
| 114 | 102 | end CopyChart |
| 115 | 103 | |
| 116 | 104 | /-! ## The reference certificate is produced from the same actual profile -/ |
+0 −5 NavierStokes/AnnularAuxiliary.lean View file
| @@ -40,11 +40,6 @@ theorem positiveMap_pos {a : ℝ} (ha : 0 < a) (X : ℝ) : 0 < positiveMap a X : | ||
| 40 | 40 | dsimp [positiveMap] |
| 41 | 41 | nlinarith |
| 42 | 42 | |
| 43 | -noncomputable def auxiliary {S : Set ℝ} | |
| 44 | - (w : ParametricRadialExtension.ParameterWindow S) (a : ℝ) | |
| 45 | - (F : ℝ × ℝ → ℝ) (p : ℝ × ℝ) : ℝ := | |
| 46 | - F (positiveMap a p.1, w.parameterMap p.2) | |
| 47 | - | |
| 48 | 43 | section Transplant |
| 49 | 44 | |
| 50 | 45 | variable {α E V : Type*} [AddCommGroup E] [AddCommGroup V] |
+0 −40 NavierStokes/AssembledSlowBase.lean View file
| @@ -1266,24 +1266,6 @@ theorem nominal_exists_base (lo hi : ℝ) (N : ℕ) : | ||
| 1266 | 1266 | SlowBorelBase.exists_base_fields W.axis.small.h_pos (by linarith [W.axis.small.h_le]) |
| 1267 | 1267 | (nominalCoefficients_smooth W) W.axis.normalization lo hi N |
| 1268 | 1268 | |
| 1269 | -theorem nominalCoefficients_positive_exterior {n : ℕ} (hn : 0 < n) {p : ℝ × ℝ} | |
| 1270 | - (hp : nominalOuterX W ≤ p.1) : | |
| 1271 | - (nominalCoefficients W).phi n p = 0 ∧ (nominalCoefficients W).axial n p = 0 ∧ | |
| 1272 | - (nominalCoefficients W).pressure n p = 0 := by | |
| 1273 | - have hp' : (nominalScheme W).B ^ 2 / 2 ≤ p.1 := by | |
| 1274 | - change nominalOuterRadius W ^ 2 / 2 ≤ p.1 | |
| 1275 | - rwa [nominalOuterRadius_square] | |
| 1276 | - exact ⟨extendedCoefficient_zero_exterior (nominalScheme W) (nominalParameters_contains W) hn 0 hp', | |
| 1277 | - extendedCoefficient_zero_exterior (nominalScheme W) (nominalParameters_contains W) hn 1 hp', | |
| 1278 | - extendedCoefficient_zero_exterior (nominalScheme W) (nominalParameters_contains W) hn 3 hp'⟩ | |
| 1279 | - | |
| 1280 | -theorem nominal_axial_primitive_zero {n : ℕ} (hn : 0 < n) {p : ℝ × ℝ} | |
| 1281 | - (hX : nominalOuterX W ≤ p.1) (heta : |p.2| ≤ 1) : | |
| 1282 | - ProfileHistories.primitive ((nominalCoefficients W).axial n) p = 0 := by | |
| 1283 | - apply extended_axial_primitive_zero (nominalScheme W) (nominalParameters_contains W) hn _ heta | |
| 1284 | - change nominalOuterRadius W ^ 2 / 2 ≤ p.1 | |
| 1285 | - rwa [nominalOuterRadius_square] | |
| 1286 | - | |
| 1287 | 1269 | theorem nominal_exterior_base {p : ℝ × ℝ} (hX : nominalOuterX W ≤ p.1) (heta : |p.2| ≤ 1) : |
| 1288 | 1270 | W.U p = 0 ∧ W.profiles.M p = 0 := by |
| 1289 | 1271 | have hXp : 0 ≤ p.1 := (nominalOuterX_pos W).le.trans hX |
| @@ -1296,28 +1278,6 @@ theorem nominal_exterior_base {p : ℝ × ℝ} (hX : nominalOuterX W ≤ p.1) (h | ||
| 1296 | 1278 | rw [intervalIntegral.integral_of_le hXp] |
| 1297 | 1279 | exact hh.2 |
| 1298 | 1280 | |
| 1299 | -theorem nominalCoefficients_axial_zero_all (n : ℕ) {p : ℝ × ℝ} | |
| 1300 | - (hX : nominalOuterX W ≤ p.1) (heta : |p.2| ≤ 1) : (nominalCoefficients W).axial n p = 0 := by | |
| 1301 | - rcases Nat.eq_zero_or_pos n with rfl | hn | |
| 1302 | - · exact (nominalCoefficients_zero_fields W ((nominalOuterX_pos W).le.trans hX) heta).2.1.trans | |
| 1303 | - (nominal_exterior_base W hX heta).1 | |
| 1304 | - · exact (nominalCoefficients_positive_exterior W hn hX).2.1 | |
| 1305 | - | |
| 1306 | -theorem nominal_axial_primitive_zero_all (n : ℕ) {p : ℝ × ℝ} | |
| 1307 | - (hX : nominalOuterX W ≤ p.1) (heta : |p.2| ≤ 1) : | |
| 1308 | - ProfileHistories.primitive ((nominalCoefficients W).axial n) p = 0 := by | |
| 1309 | - rcases Nat.eq_zero_or_pos n with rfl | hn | |
| 1310 | - · have hXp : 0 ≤ p.1 := (nominalOuterX_pos W).le.trans hX | |
| 1311 | - have he : EqOn (fun r => (nominalCoefficients W).axial 0 (r, p.2)) | |
| 1312 | - (fun r => W.U (r, p.2)) (uIcc 0 p.1) := by | |
| 1313 | - intro r hr | |
| 1314 | - rw [uIcc_of_le hXp] at hr | |
| 1315 | - exact (nominalCoefficients_zero_fields W (p := (r, p.2)) hr.1 heta).2.1 | |
| 1316 | - change (∫ r in (0 : ℝ)..p.1, (nominalCoefficients W).axial 0 (r, p.2)) = 0 | |
| 1317 | - rw [intervalIntegral.integral_congr he] | |
| 1318 | - exact (nominal_exterior_base W hX heta).2 | |
| 1319 | - · exact nominal_axial_primitive_zero W hn hX heta | |
| 1320 | - | |
| 1321 | 1281 | end CoherentHierarchy |
| 1322 | 1282 | |
| 1323 | 1283 | section ModifiedBase |
+0 −7 NavierStokes/AxisymmetricResidual.lean View file
| @@ -63,13 +63,6 @@ theorem direction_add {a b : Space → ℝ} (ha : Differentiable ℝ a) | ||
| 63 | 63 | rw [fderiv_fun_add (ha x) (hb x)] |
| 64 | 64 | rfl |
| 65 | 65 | |
| 66 | -theorem direction_sub {a b : Space → ℝ} (ha : Differentiable ℝ a) | |
| 67 | - (hb : Differentiable ℝ b) (i : Fin 3) (x : Space) : | |
| 68 | - direction (fun y => a y - b y) i x = direction a i x - direction b i x := by | |
| 69 | - unfold direction | |
| 70 | - rw [fderiv_fun_sub (ha x) (hb x)] | |
| 71 | - rfl | |
| 72 | - | |
| 73 | 66 | theorem direction_neg (a : Space → ℝ) (i : Fin 3) (x : Space) : |
| 74 | 67 | direction (fun y => -a y) i x = -direction a i x := by |
| 75 | 68 | simp [direction] |
+0 −22 NavierStokes/BaseResidual.lean View file
| @@ -2334,28 +2334,6 @@ theorem baseResidual_jetRate_axis {l : Filter SpaceTime} {a : ℕ → ℕ} {h C | ||
| 2334 | 2334 | abel |
| 2335 | 2335 | rwa [heq] at hsum |
| 2336 | 2336 | |
| 2337 | -theorem baseResidual_allJetsFlat_axis {l : Filter SpaceTime} {a : ℕ → ℕ} {h C hi r : ℝ} | |
| 2338 | - (hh : 0 < h) (hh1 : h < 1 / 2) (A : PhysicalApproach l h 0 hi) (hr : 0 < r) | |
| 2339 | - {d : Coefficients} (hd : SmoothCoefficients d) (hc : StressZeroCore d r) | |
| 2340 | - (ha : AdmissibleScales h (coefficientBundle C d) (innerBox 0 hi) a) | |
| 2341 | - (f : SlowProfiles) (hfinite : FiniteIdentities h C d f) | |
| 2342 | - {O : Set Inner} (hO : IsOpen O) (hKO : innerBox 0 hi ⊆ O) | |
| 2343 | - (phi u beta : ℕ → Inner → ℝ) | |
| 2344 | - (hp : ∀ j, ContDiffOn ℝ ∞ (phi j) O) | |
| 2345 | - (hu : ∀ j, ContDiffOn ℝ ∞ (u j) O) | |
| 2346 | - (hb : ∀ j, ContDiffOn ℝ ∞ (beta j) O) | |
| 2347 | - (hv : ∀ j, ∀ w ∈ O, 0 ≤ w.1 → f.flux j w = w.1 * beta j w) | |
| 2348 | - (heu : ∀ j, ∀ w ∈ O, 0 ≤ w.1 → f.axial j w = u j w) | |
| 2349 | - (hep : ∀ j, ∀ w ∈ O, 0 ≤ w.1 → f.phi j w = phi j w) | |
| 2350 | - (hL : ∀ w ∈ O, CoordinateAlgebra.L h w.2 ≠ 0) : | |
| 2351 | - AllJetsFlat l (fun z => (cartesianChart h z).1) (baseResidual a h C d) := by | |
| 2352 | - intro m N | |
| 2353 | - obtain ⟨K, hK, hb⟩ := baseResidual_jetRate_axis hh hh1 A hr hd hc ha f hfinite hO hKO | |
| 2354 | - phi u beta hp hu hb hv heu hep hL m N (Nat.cast_nonneg N) | |
| 2355 | - refine ⟨K, hK, ?_⟩ | |
| 2356 | - filter_upwards [A.positive_small hh hh1, hb] with z hz hbound | |
| 2357 | - simpa only [abs_norm, abs_of_pos hz.1, Real.rpow_natCast] using hbound | |
| 2358 | - | |
| 2359 | 2337 | end FullNonlinearAssembly |
| 2360 | 2338 | |
| 2361 | 2339 | section WeightedInputConstruction |
+0 −19 NavierStokes/CommonCoverClass.lean View file
| @@ -42,25 +42,6 @@ theorem EnvelopeJets.mono {m : ℕ} {f : X → V} {e e' : X → ℝ} | ||
| 42 | 42 | (hf : EnvelopeJets m f e) (he : ∀ x, e x ≤ e' x) : EnvelopeJets m f e' := |
| 43 | 43 | fun j hj x => (hf j hj x).trans (he x) |
| 44 | 44 | |
| 45 | -theorem affine_jet_bound {f : Y → V} (hf : ContDiff ℝ ∞ f) | |
| 46 | - (L : X →L[ℝ] Y) (c : Y) {K : ℝ} (hK : 1 ≤ K) (hL : ‖L‖ ≤ K) | |
| 47 | - (m : ℕ) (x : X) {A : ℝ} | |
| 48 | - (hb : ∀ j ≤ m, ‖iteratedFDeriv ℝ j f (c + L x)‖ ≤ A) : | |
| 49 | - ∀ j ≤ m, ‖iteratedFDeriv ℝ j (fun z => f (c + L z)) x‖ ≤ A * K ^ m := by | |
| 50 | - have hA : 0 ≤ A := (norm_nonneg _).trans (hb 0 (Nat.zero_le _)) | |
| 51 | - intro j hj | |
| 52 | - refine (CommonCoverSolve.norm_iteratedFDeriv_affine_le hf L c x j).trans ?_ | |
| 53 | - exact mul_le_mul (hb j hj) | |
| 54 | - ((pow_le_pow_left₀ (norm_nonneg _) hL j).trans (pow_le_pow_right₀ hK hj)) | |
| 55 | - (pow_nonneg (norm_nonneg _) _) hA | |
| 56 | - | |
| 57 | -theorem EnvelopeJets.affine {m : ℕ} {f : Y → V} {e : Y → ℝ} | |
| 58 | - (hb : EnvelopeJets m f e) (hf : ContDiff ℝ ∞ f) | |
| 59 | - (L : X →L[ℝ] Y) (c : Y) {K : ℝ} (hK : 1 ≤ K) (hL : ‖L‖ ≤ K) : | |
| 60 | - EnvelopeJets m (fun x => f (c + L x)) (fun x => e (c + L x) * K ^ m) := by | |
| 61 | - intro j hj x | |
| 62 | - exact affine_jet_bound hf L c hK hL m x (fun i hi => hb i hi _) j hj | |
| 63 | - | |
| 64 | 45 | end Envelopes |
| 65 | 46 | |
| 66 | 47 | section Arguments |
+0 −20 NavierStokes/CommonCoverSolve.lean View file
| @@ -576,26 +576,6 @@ theorem norm_pointLinear_le {D : ℕ} (hd : g.gap ≤ D) : | ||
| 576 | 576 | |
| 577 | 577 | end Geometry |
| 578 | 578 | |
| 579 | -/-- All actual derivative orders of an affine pullback have the expected | |
| 580 | -operator-norm cost. No independent jet family is supplied. -/ | |
| 581 | -theorem norm_iteratedFDeriv_affine_le {X Y W : Type} | |
| 582 | - [NormedAddCommGroup X] [NormedSpace ℝ X] | |
| 583 | - [NormedAddCommGroup Y] [NormedSpace ℝ Y] | |
| 584 | - [NormedAddCommGroup W] [NormedSpace ℝ W] | |
| 585 | - {f : Y → W} (hf : ContDiff ℝ ∞ f) (L : X →L[ℝ] Y) (c : Y) (x : X) (n : ℕ) : | |
| 586 | - ‖iteratedFDeriv ℝ n (fun z => f (c + L z)) x‖ ≤ | |
| 587 | - ‖iteratedFDeriv ℝ n f (c + L x)‖ * ‖L‖ ^ n := by | |
| 588 | - have hh : ContDiff ℝ ∞ (fun z => f (c + z)) := | |
| 589 | - hf.comp (contDiff_const.add contDiff_id) | |
| 590 | - have hd := L.iteratedFDeriv_comp_right hh x (i := n) | |
| 591 | - (ENat.natCast_le_of_coe_top_le_withTop le_rfl n) | |
| 592 | - change ‖iteratedFDeriv ℝ n ((fun z => f (c + z)) ∘ L) x‖ ≤ _ | |
| 593 | - rw [hd] | |
| 594 | - simpa only [iteratedFDeriv_comp_add_left, Finset.prod_const, Finset.card_univ, | |
| 595 | - Fintype.card_fin] using | |
| 596 | - (iteratedFDeriv ℝ n (fun z => f (c + z)) (L x)).norm_compContinuousLinearMap_le | |
| 597 | - (fun _ : Fin n => L) | |
| 598 | - | |
| 599 | 579 | /-! ## Concrete projected tangent equation -/ |
| 600 | 580 | |
| 601 | 581 | noncomputable def negativeTangentProjection {H : Type} [NormedAddCommGroup H] |
+0 −57 NavierStokes/ConstructedSlowBase.lean View file
| @@ -192,14 +192,6 @@ theorem height_pos : 0 < F.data.h := W.axis.small.h_pos | ||
| 192 | 192 | |
| 193 | 193 | theorem height_lt_half : F.data.h < 1 / 2 := by linarith [W.axis.small.h_le] |
| 194 | 194 | |
| 195 | -theorem nominal_higherInteriorSupport {left right : ℝ} | |
| 196 | - (hl : Real.exp left < nominalInner W / 8) (hr : nominalOuterX W < Real.exp right) : | |
| 197 | - BaseResidual.HigherInteriorSupport (nominalCoefficients W) left right := by | |
| 198 | - apply repaired_higherInteriorSupport (nominalLocalization W) (nominalBaseAgreement W) | |
| 199 | - (nominalZeroOrder W) (nominalParameters_contains W) rfl hl | |
| 200 | - change nominalOuterRadius W ^ 2 / 2 < Real.exp right | |
| 201 | - rwa [nominalOuterRadius_square] | |
| 202 | - | |
| 203 | 195 | /-- The leading coefficient retains the actual natural axis datum. -/ |
| 204 | 196 | theorem nominal_leading_axis {eta : ℝ} (heta : eta ∈ Icc (-1 : ℝ) 1) : |
| 205 | 197 | (nominalCoefficients W).axial 0 (0, eta) = 4 * eta + W.axis.j := by |
| @@ -328,16 +320,6 @@ theorem collar_before_upper : Real.exp (terminalShift W + 2) < activeUpper W := | ||
| 328 | 320 | theorem outer_before_upper : nominalOuterX W < activeUpper W := |
| 329 | 321 | (outer_before_collar W).trans (collar_before_upper W) |
| 330 | 322 | |
| 331 | -theorem nominal_higher_support : | |
| 332 | - BaseResidual.HigherInteriorSupport (nominalCoefficients W) (activeLeft W) (activeRight W) := | |
| 333 | - nominal_higherInteriorSupport W (activeLeft_margin W) (outer_before_upper W) | |
| 334 | - | |
| 335 | -theorem nominal_quotients_smooth {c : ℝ} (hc : 0 < c) (j : ℕ) : | |
| 336 | - ContDiff ℝ ∞ (BaseResidual.higherStressQuotient (nominalCoefficients W) | |
| 337 | - (BaseResidual.activeZeta c (activeLeft W) (activeRight W)) j) := | |
| 338 | - BaseResidual.higherStressQuotient_smooth_of_support (nominalCoefficients_smooth W) hc | |
| 339 | - (nominal_higher_support W) j | |
| 340 | - | |
| 341 | 323 | theorem modified_higher_support {D : ProfileHistories.RadialDomain} (Q : ProfileHistories.Profiles D) |
| 342 | 324 | {S : Set ℝ} {lo hi : ℝ} (M : FiniteModification W Q S lo hi) : |
| 343 | 325 | BaseResidual.HigherInteriorSupport (modifiedCoefficients W Q M) (activeLeft W) (activeRight W) := |
| @@ -359,34 +341,6 @@ open BaseResidual | ||
| 359 | 341 | variable {F : OutgoingProfile.Profile} (W : NominalProfile.Witness F) |
| 360 | 342 | (c : ℝ) (hc : 0 < c) (upper : ℝ) (B : ℕ) |
| 361 | 343 | |
| 362 | -/-- This is one actual choice for the enlarged bundle. The ordinary base | |
| 363 | -schedule and the weighted stress estimate use this very same function. -/ | |
| 364 | -noncomputable def nominalScales : ℕ → ℕ := | |
| 365 | - Classical.choose (exists_admissibleScales | |
| 366 | - (weightedBundle_smooth (nominalCoefficients_smooth W) (nominal_quotients_smooth W hc) | |
| 367 | - W.axis.normalization) (height_pos W) (innerBox_isCompact 0 (scaleUpper W upper)) B) | |
| 368 | - | |
| 369 | -theorem nominalScales_spec : B ≤ nominalScales W c hc upper B 0 ∧ | |
| 370 | - AdmissibleScales F.data.h | |
| 371 | - (weightedBundle W.axis.normalization (nominalCoefficients W) | |
| 372 | - (activeZeta c (activeLeft W) (activeRight W))) | |
| 373 | - (innerBox 0 (scaleUpper W upper)) (nominalScales W c hc upper B) := | |
| 374 | - Classical.choose_spec (exists_admissibleScales | |
| 375 | - (weightedBundle_smooth (nominalCoefficients_smooth W) (nominal_quotients_smooth W hc) | |
| 376 | - W.axis.normalization) (height_pos W) (innerBox_isCompact 0 (scaleUpper W upper)) B) | |
| 377 | - | |
| 378 | -theorem nominalScales_admissible : | |
| 379 | - AdmissibleScales F.data.h (coefficientBundle W.axis.normalization (nominalCoefficients W)) | |
| 380 | - (innerBox 0 (scaleUpper W upper)) (nominalScales W c hc upper B) := | |
| 381 | - weightedBundle_base_scales (nominalCoefficients_smooth W) (nominal_quotients_smooth W hc) | |
| 382 | - (nominalScales_spec W c hc upper B).2 | |
| 383 | - | |
| 384 | -theorem nominalScales_admissible_on {lo hi : ℝ} (hlo : 0 ≤ lo) (hhi : hi ≤ scaleUpper W upper) : | |
| 385 | - AdmissibleScales F.data.h (coefficientBundle W.axis.normalization (nominalCoefficients W)) | |
| 386 | - (innerBox lo hi) (nominalScales W c hc upper B) := | |
| 387 | - admissibleScales_mono (nominalScales_admissible W c hc upper B) | |
| 388 | - (fun _ hw => ⟨⟨hlo.trans hw.1.1, hw.1.2.trans hhi⟩, hw.2⟩) | |
| 389 | - | |
| 390 | 344 | variable {D : ProfileHistories.RadialDomain} (Q : ProfileHistories.Profiles D) |
| 391 | 345 | {S : Set ℝ} {lo hi : ℝ} (M : FiniteModification W Q S lo hi) |
| 392 | 346 | |
| @@ -406,12 +360,6 @@ theorem modifiedScales_spec : B ≤ modifiedScales W c hc upper B Q M 0 ∧ | ||
| 406 | 360 | (weightedBundle_smooth (modifiedCoefficients_smooth W Q M) (modified_quotients_smooth W Q M hc) |
| 407 | 361 | W.axis.normalization) (height_pos W) (innerBox_isCompact 0 (scaleUpper W upper)) B) |
| 408 | 362 | |
| 409 | -theorem modifiedScales_admissible : | |
| 410 | - AdmissibleScales F.data.h (coefficientBundle W.axis.normalization (modifiedCoefficients W Q M)) | |
| 411 | - (innerBox 0 (scaleUpper W upper)) (modifiedScales W c hc upper B Q M) := | |
| 412 | - weightedBundle_base_scales (modifiedCoefficients_smooth W Q M) (modified_quotients_smooth W Q M hc) | |
| 413 | - (modifiedScales_spec W c hc upper B Q M).2 | |
| 414 | - | |
| 415 | 363 | theorem modifiedScales_strictMono : StrictMono (modifiedScales W c hc upper B Q M) := |
| 416 | 364 | (modifiedScales_spec W c hc upper B Q M).2.strictMono |
| 417 | 365 | |
| @@ -458,11 +406,6 @@ theorem scales_spec (c : ℝ) (hc : 0 < c) (upper : ℝ) (B : ℕ) : | ||
| 458 | 406 | (innerBox 0 (scaleUpper W upper)) (scales v c hc upper B) := |
| 459 | 407 | modifiedScales_spec W c hc upper B v.profiles v.finiteModification |
| 460 | 408 | |
| 461 | -theorem scales_admissible (c : ℝ) (hc : 0 < c) (upper : ℝ) (B : ℕ) : | |
| 462 | - AdmissibleScales F.data.h (coefficientBundle W.axis.normalization (coefficients v)) | |
| 463 | - (innerBox 0 (scaleUpper W upper)) (scales v c hc upper B) := | |
| 464 | - modifiedScales_admissible W c hc upper B v.profiles v.finiteModification | |
| 465 | - | |
| 466 | 409 | theorem scales_strictMono (c : ℝ) (hc : 0 < c) (upper : ℝ) (B : ℕ) : |
| 467 | 410 | StrictMono (scales v c hc upper B) := (scales_spec v c hc upper B).2.strictMono |
| 468 | 411 | |
+0 −159 NavierStokes/CopySolveCompatibility.lean View file
| @@ -125,24 +125,6 @@ theorem copySolve_transform (d : LinearData P V E) (φ : Q → P) | ||
| 125 | 125 | unfold LinearData.copySolve |
| 126 | 126 | rw [coordinates_refine, anchoredSolve_transform] |
| 127 | 127 | |
| 128 | -theorem localizedCopy_transform (d : LinearData P V E) (φ : Q → P) | |
| 129 | - (g : Geometry) (hab : a ≤ b) (k : ℕ) (κ : Plane → ℝ) (j : Frequency) (q : Q) (Y : Plane) : | |
| 130 | - (transformData d φ k).localizedCopy (refineGeometry g k) hab κ j (q, Y) = | |
| 131 | - d.localizedCopy g hab κ j (φ q, coverPower k Y) := by | |
| 132 | - unfold LinearData.localizedCopy | |
| 133 | - rw [coordinates_refine, copySolve_transform] | |
| 134 | - | |
| 135 | -/-- Equality of the actual periodized solves, obtained term by term before | |
| 136 | -forming the sum. No periodicity hypothesis on a native inhomogeneous solve | |
| 137 | -is used, or needed. -/ | |
| 138 | -theorem commonSolve_transform (d : LinearData P V E) (φ : Q → P) | |
| 139 | - (g : Geometry) (hab : a ≤ b) (k : ℕ) (κ : Plane → ℝ) (q : Q) (Y : Plane) : | |
| 140 | - (transformData d φ k).commonSolve (refineGeometry g k) hab κ (q, Y) = | |
| 141 | - d.commonSolve g hab κ (φ q, coverPower k Y) := by | |
| 142 | - apply tsum_congr | |
| 143 | - intro j | |
| 144 | - exact localizedCopy_transform d φ g hab k κ j q Y | |
| 145 | - | |
| 146 | 128 | end Paths |
| 147 | 129 | |
| 148 | 130 | /-! ## Changing the integer representative of the native slot center -/ |
| @@ -227,19 +209,6 @@ theorem copySolve_scaleSource (d : LinearData P V E) (g : Geometry) (hab : a ≤ | ||
| 227 | 209 | (scaleSource d c).copySolve g hab j (p, Y) = c • d.copySolve g hab j (p, Y) := by |
| 228 | 210 | simp only [LinearData.copySolve, anchoredSolve_scaleSource] |
| 229 | 211 | |
| 230 | -theorem localizedCopy_scaleSource (d : LinearData P V E) (g : Geometry) (hab : a ≤ b) | |
| 231 | - (c : ℝ) (κ : Plane → ℝ) (j : Frequency) (p : P) (Y : Plane) : | |
| 232 | - (scaleSource d c).localizedCopy g hab κ j (p, Y) = | |
| 233 | - c • d.localizedCopy g hab κ j (p, Y) := by | |
| 234 | - simp only [LinearData.localizedCopy, copySolve_scaleSource] | |
| 235 | - exact smul_comm _ _ _ | |
| 236 | - | |
| 237 | -theorem commonSolve_scaleSource (d : LinearData P V E) (g : Geometry) (hab : a ≤ b) | |
| 238 | - (c : ℝ) (κ : Plane → ℝ) (p : P) (Y : Plane) : | |
| 239 | - (scaleSource d c).commonSolve g hab κ (p, Y) = c • d.commonSolve g hab κ (p, Y) := by | |
| 240 | - simp only [LinearData.commonSolve, localizedCopy_scaleSource] | |
| 241 | - exact tsum_const_smul'' c | |
| 242 | - | |
| 243 | 212 | end SourceScale |
| 244 | 213 | |
| 245 | 214 | /-! ## Transporting the native clock, its anchor, and its cutoff together -/ |
| @@ -313,100 +282,8 @@ theorem forcingAlong_timeData (d : LinearData P V E) (g : Geometry) | ||
| 313 | 282 | |
| 314 | 283 | variable [NormedAddCommGroup P] [NormedSpace ℝ P] |
| 315 | 284 | |
| 316 | -omit [NormedSpace ℝ P] in | |
| 317 | -theorem timeData_coefficient_continuousOn (d : LinearData P V E) (τ rate : ℝ) {U : Set P} | |
| 318 | - (hA : ContinuousOn d.coefficient (U ×ˢ univ)) : | |
| 319 | - ContinuousOn (timeData d τ rate).coefficient (U ×ˢ univ) := by | |
| 320 | - have hmap : Continuous (fun z : P × Plane => (z.1, nativeTimeMap τ rate z.2)) := | |
| 321 | - continuous_fst.prodMk ((nativeTimeMap_continuous τ rate).comp continuous_snd) | |
| 322 | - exact (hA.comp hmap.continuousOn (fun z hz => ⟨hz.1, mem_univ _⟩)).const_smul rate | |
| 323 | - | |
| 324 | -omit [NormedSpace ℝ P] in | |
| 325 | -theorem timeData_forcingMap_continuousOn (d : LinearData P V E) (τ rate : ℝ) {U : Set P} | |
| 326 | - (hB : ContinuousOn d.forcingMap (U ×ˢ univ)) : | |
| 327 | - ContinuousOn (timeData d τ rate).forcingMap (U ×ˢ univ) := by | |
| 328 | - have hmap : Continuous (fun z : P × Plane => (z.1, nativeTimeMap τ rate z.2)) := | |
| 329 | - continuous_fst.prodMk ((nativeTimeMap_continuous τ rate).comp continuous_snd) | |
| 330 | - exact (hB.comp hmap.continuousOn (fun z hz => ⟨hz.1, mem_univ _⟩)).const_smul rate | |
| 331 | - | |
| 332 | 285 | variable [CompleteSpace E] {a b : ℝ} |
| 333 | 286 | |
| 334 | -/-- Clock transport is proved from uniqueness of the actual zero-entry | |
| 335 | -Volterra solution on the transported interval. -/ | |
| 336 | -theorem anchoredSolve_timeData (d : LinearData P V E) (g : Geometry) | |
| 337 | - (τ rate : ℝ) (hrate : 0 < rate) (hab : a ≤ b) {U : Set P} | |
| 338 | - (hA : ContinuousOn d.coefficient (U ×ˢ univ)) | |
| 339 | - (hB : ContinuousOn d.forcingMap (U ×ˢ univ)) | |
| 340 | - (hf : ContinuousOn d.source (U ×ˢ univ)) | |
| 341 | - (j : Frequency) {p : P} (hp : p ∈ U) (Y : Plane) {s : ℝ} (hs : s ∈ Icc a b) : | |
| 342 | - (timeData d τ rate).anchoredSolve (timeGeometry g τ rate hrate.ne') hab j (p, Y) s = | |
| 343 | - d.anchoredSolve g (time_interval_mono τ hrate hab) j (p, Y) (τ + rate * s) := by | |
| 344 | - let u := fun t => d.anchoredSolve g (time_interval_mono τ hrate hab) j (p, Y) (τ + rate * t) | |
| 345 | - have hu0 : u a = 0 := d.anchoredSolve_initial g _ j (p, Y) | |
| 346 | - have hu (t : ℝ) (ht : t ∈ Icc a b) : HasDerivAt u | |
| 347 | - ((timeData d τ rate).coefficientAlong (timeGeometry g τ rate hrate.ne') j ((p, Y), t) (u t) + | |
| 348 | - (timeData d τ rate).forcingAlong (timeGeometry g τ rate hrate.ne') j ((p, Y), t)) t := by | |
| 349 | - have ht' : τ + rate * t ∈ Icc (τ + rate * a) (τ + rate * b) := | |
| 350 | - ⟨time_interval_mono τ hrate ht.1, time_interval_mono τ hrate ht.2⟩ | |
| 351 | - have hold := d.anchoredSolve_hasDerivAt g (time_interval_mono τ hrate hab) | |
| 352 | - j hA hB hf hp Y ⟨τ + rate * t, ht'⟩ | |
| 353 | - have hclock : HasDerivAt (fun t : ℝ => τ + rate * t) rate t := by | |
| 354 | - simpa only [mul_one, id_eq] using ((hasDerivAt_id t).const_mul rate).const_add τ | |
| 355 | - have hderiv := hold.scomp t hclock | |
| 356 | - simpa only [u, coefficientAlong_timeData, forcingAlong_timeData, | |
| 357 | - _root_.smul_apply, smul_add, Function.comp_def] using hderiv | |
| 358 | - exact ((timeData d τ rate).anchoredSolve_unique (timeGeometry g τ rate hrate.ne') hab j | |
| 359 | - (timeData_coefficient_continuousOn d τ rate hA) | |
| 360 | - (timeData_forcingMap_continuousOn d τ rate hB) hf hp Y hu0 hu hs).symm | |
| 361 | - | |
| 362 | -theorem copySolve_timeData (d : LinearData P V E) (g : Geometry) | |
| 363 | - (τ rate : ℝ) (hrate : 0 < rate) (hab : a ≤ b) {U : Set P} | |
| 364 | - (hA : ContinuousOn d.coefficient (U ×ˢ univ)) | |
| 365 | - (hB : ContinuousOn d.forcingMap (U ×ˢ univ)) | |
| 366 | - (hf : ContinuousOn d.source (U ×ˢ univ)) | |
| 367 | - (j : Frequency) {p : P} (hp : p ∈ U) (Y : Plane) | |
| 368 | - (hs : ((timeGeometry g τ rate hrate.ne').coordinates j Y).2 ∈ Icc a b) : | |
| 369 | - (timeData d τ rate).copySolve (timeGeometry g τ rate hrate.ne') hab j (p, Y) = | |
| 370 | - d.copySolve g (time_interval_mono τ hrate hab) j (p, Y) := by | |
| 371 | - unfold LinearData.copySolve | |
| 372 | - rw [anchoredSolve_timeData d g τ rate hrate hab hA hB hf j hp Y hs] | |
| 373 | - congr 1 | |
| 374 | - exact congrArg Prod.snd (coordinates_timeGeometry g τ rate hrate.ne' j Y) | |
| 375 | - | |
| 376 | -theorem localizedCopy_timeData (d : LinearData P V E) (g : Geometry) | |
| 377 | - (τ rate : ℝ) (hrate : 0 < rate) (hab : a ≤ b) {U : Set P} | |
| 378 | - (hA : ContinuousOn d.coefficient (U ×ˢ univ)) | |
| 379 | - (hB : ContinuousOn d.forcingMap (U ×ˢ univ)) | |
| 380 | - (hf : ContinuousOn d.source (U ×ˢ univ)) | |
| 381 | - (κ : Plane → ℝ) (hκ : support κ ⊆ univ ×ˢ Icc (τ + rate * a) (τ + rate * b)) | |
| 382 | - (j : Frequency) {p : P} (hp : p ∈ U) (Y : Plane) : | |
| 383 | - (timeData d τ rate).localizedCopy (timeGeometry g τ rate hrate.ne') hab | |
| 384 | - (κ ∘ nativeTimeMap τ rate) j (p, Y) = | |
| 385 | - d.localizedCopy g (time_interval_mono τ hrate hab) κ j (p, Y) := by | |
| 386 | - simp only [LinearData.localizedCopy, Function.comp_apply, coordinates_timeGeometry] | |
| 387 | - by_cases hz : κ (g.coordinates j Y) = 0 | |
| 388 | - · simp only [hz, zero_smul] | |
| 389 | - · congr 1 | |
| 390 | - apply copySolve_timeData d g τ rate hrate hab hA hB hf j hp Y | |
| 391 | - have hbounds := (hκ hz).2 | |
| 392 | - have ht := congrArg Prod.snd (coordinates_timeGeometry g τ rate hrate.ne' j Y) | |
| 393 | - change τ + rate * ((timeGeometry g τ rate hrate.ne').coordinates j Y).2 = _ at ht | |
| 394 | - constructor <;> nlinarith [hbounds.1, hbounds.2] | |
| 395 | - | |
| 396 | -theorem commonSolve_timeData (d : LinearData P V E) (g : Geometry) | |
| 397 | - (τ rate : ℝ) (hrate : 0 < rate) (hab : a ≤ b) {U : Set P} | |
| 398 | - (hA : ContinuousOn d.coefficient (U ×ˢ univ)) | |
| 399 | - (hB : ContinuousOn d.forcingMap (U ×ˢ univ)) | |
| 400 | - (hf : ContinuousOn d.source (U ×ˢ univ)) | |
| 401 | - (κ : Plane → ℝ) (hκ : support κ ⊆ univ ×ˢ Icc (τ + rate * a) (τ + rate * b)) | |
| 402 | - {p : P} (hp : p ∈ U) (Y : Plane) : | |
| 403 | - (timeData d τ rate).commonSolve (timeGeometry g τ rate hrate.ne') hab | |
| 404 | - (κ ∘ nativeTimeMap τ rate) (p, Y) = | |
| 405 | - d.commonSolve g (time_interval_mono τ hrate hab) κ (p, Y) := by | |
| 406 | - apply tsum_congr | |
| 407 | - intro j | |
| 408 | - exact localizedCopy_timeData d g τ rate hrate hab hA hB hf κ hκ j hp Y | |
| 409 | - | |
| 410 | 287 | end TimeData |
| 411 | 288 | |
| 412 | 289 | /-! ## A single output represented in all transported charts -/ |
| @@ -425,19 +302,6 @@ noncomputable def transportData (d : LinearData P V E) (φ : Q → P) (k : ℕ) | ||
| 425 | 302 | noncomputable def transportGeometry (g : Geometry) (k : ℕ) (τ rate : ℝ) (hrate : rate ≠ 0) : |
| 426 | 303 | Geometry := refineGeometry (timeGeometry g τ rate hrate) k |
| 427 | 304 | |
| 428 | -theorem commonSolve_transport {a b : ℝ} (d : LinearData P V E) (φ : Q → P) | |
| 429 | - (g : Geometry) (hab : a ≤ b) (k : ℕ) (τ rate amplitude : ℝ) (hrate : 0 < rate) | |
| 430 | - {U : Set P} (hA : ContinuousOn d.coefficient (U ×ˢ univ)) | |
| 431 | - (hB : ContinuousOn d.forcingMap (U ×ˢ univ)) (hf : ContinuousOn d.source (U ×ˢ univ)) | |
| 432 | - (κ : Plane → ℝ) (hκ : support κ ⊆ univ ×ˢ Icc (τ + rate * a) (τ + rate * b)) | |
| 433 | - (q : Q) (hq : φ q ∈ U) (Y : Plane) : | |
| 434 | - (transportData d φ k τ rate amplitude).commonSolve | |
| 435 | - (transportGeometry g k τ rate hrate.ne') hab (κ ∘ nativeTimeMap τ rate) (q, Y) = | |
| 436 | - amplitude • d.commonSolve g (time_interval_mono τ hrate hab) κ (φ q, coverPower k Y) := by | |
| 437 | - unfold transportData transportGeometry | |
| 438 | - rw [commonSolve_scaleSource, commonSolve_transform, | |
| 439 | - commonSolve_timeData d g τ rate hrate hab hA hB hf κ hκ hq] | |
| 440 | - | |
| 441 | 305 | end PhysicalCompatibility |
| 442 | 306 | |
| 443 | 307 | section ConcreteBandChart |
| @@ -479,31 +343,8 @@ theorem anchoredSolve_eq_of_sameInputs (d e : LinearData P V E) (g : Geometry) | ||
| 479 | 343 | exact hi.forcing _ _ |
| 480 | 344 | simp only [LinearData.anchoredSolve, hA, hf] |
| 481 | 345 | |
| 482 | -theorem commonSolve_eq_of_sameInputs (d e : LinearData P V E) (g : Geometry) | |
| 483 | - (hab : a ≤ b) (p : P) (hi : SameInputsAt d e p) (κ : Plane → ℝ) (Y : Plane) : | |
| 484 | - d.commonSolve g hab κ (p, Y) = e.commonSolve g hab κ (p, Y) := by | |
| 485 | - apply tsum_congr | |
| 486 | - intro j | |
| 487 | - simp only [LinearData.localizedCopy, LinearData.copySolve, | |
| 488 | - anchoredSolve_eq_of_sameInputs d e g hab p hi] | |
| 489 | - | |
| 490 | 346 | variable [NormedAddCommGroup P] [NormedSpace ℝ P] |
| 491 | 347 | |
| 492 | -theorem commonSolve_of_compatibleInputs (d : LinearData P V E) (e : LinearData Q V E) | |
| 493 | - (φ : Q → P) (g : Geometry) (hab : a ≤ b) (k : ℕ) | |
| 494 | - (τ rate amplitude : ℝ) (hrate : 0 < rate) | |
| 495 | - {U : Set P} (hA : ContinuousOn d.coefficient (U ×ˢ univ)) | |
| 496 | - (hB : ContinuousOn d.forcingMap (U ×ˢ univ)) (hf : ContinuousOn d.source (U ×ˢ univ)) | |
| 497 | - (κ : Plane → ℝ) (hκ : support κ ⊆ univ ×ˢ Icc (τ + rate * a) (τ + rate * b)) | |
| 498 | - (q : Q) (hq : φ q ∈ U) | |
| 499 | - (hi : SameInputsAt e (transportData d φ k τ rate amplitude) q) (Y : Plane) : | |
| 500 | - e.commonSolve (transportGeometry g k τ rate hrate.ne') hab | |
| 501 | - (κ ∘ nativeTimeMap τ rate) (q, Y) = | |
| 502 | - amplitude • d.commonSolve g (time_interval_mono τ hrate hab) κ (φ q, coverPower k Y) := by | |
| 503 | - rw [commonSolve_eq_of_sameInputs e (transportData d φ k τ rate amplitude) | |
| 504 | - _ hab q hi] | |
| 505 | - exact commonSolve_transport d φ g hab k τ rate amplitude hrate hA hB hf κ hκ q hq Y | |
| 506 | - | |
| 507 | 348 | end InputCompatibility |
| 508 | 349 | |
| 509 | 350 | /-! ## Why the anchor must be transported as input data -/ |
+0 −3 NavierStokes/FiveRowRank.lean View file
| @@ -109,9 +109,6 @@ def gamma (lam C a b : ℝ) (d : Debt) : ℝ → ℝ := | ||
| 109 | 109 | /-- The unaltered power-law angular mean on the repair patch. -/ |
| 110 | 110 | def background (lam C R : ℝ) : ℝ := C * R ^ (-1 - 2 * lam) |
| 111 | 111 | |
| 112 | -theorem deltaV_contDiff (lam C a b : ℝ) (d : Debt) : ContDiff ℝ ∞ (deltaV lam C a b d) := | |
| 113 | - LocalizedMomentRepair.repair_contDiff _ _ _ _ | |
| 114 | - | |
| 115 | 112 | theorem gamma_contDiff (lam C a b : ℝ) (d : Debt) : ContDiff ℝ ∞ (gamma lam C a b d) := |
| 116 | 113 | LocalizedMomentRepair.repair_contDiff _ _ _ _ |
| 117 | 114 | |
+0 −13 NavierStokes/FlatZeroExtension.lean View file
| @@ -43,19 +43,6 @@ end Zero | ||
| 43 | 43 | variable [NormedAddCommGroup E] [NormedSpace ℝ E] |
| 44 | 44 | [NormedAddCommGroup F] [NormedSpace ℝ F] |
| 45 | 45 | |
| 46 | -/-- A locally uniform bound. The constant, inverse-power loss, and parameter | |
| 47 | -neighborhood may depend on the parameter point. The interval `(0,1)` is only | |
| 48 | -used near the edge. -/ | |
| 49 | -def LocalGaussianBound (c : ℝ) (U : Set E) (g : E × ℝ → F) : Prop := | |
| 50 | - ∀ x ∈ U, ∃ V ∈ 𝓝 x, ∃ C : ℝ, 0 ≤ C ∧ ∃ N : ℕ, | |
| 51 | - ∀ y ∈ V ∩ U, ∀ δ ∈ Ioo (0 : ℝ) 1, | |
| 52 | - ‖g (y, δ)‖ ≤ C * edge c δ / δ ^ N | |
| 53 | - | |
| 54 | -/-- Every actual tensor is bounded, with constants and losses allowed to | |
| 55 | -depend on its derivative order as well as the parameter point. -/ | |
| 56 | -def LocalGaussianJets (c : ℝ) (U : Set E) (f : E × ℝ → F) : Prop := | |
| 57 | - ∀ n : ℕ, LocalGaussianBound c U (iteratedFDeriv ℝ n f) | |
| 58 | - | |
| 59 | 46 | theorem edge_div_pow_tendsto_zero {c : ℝ} (hc : 0 < c) (N : ℕ) : |
| 60 | 47 | Tendsto (fun δ : ℝ => edge c δ / δ ^ N) (𝓝 0) (𝓝 0) := by |
| 61 | 48 | simpa only [iteratedDeriv_zero] using weighted_iteratedDeriv_tendsto_zero hc 0 N |
+0 −51 NavierStokes/HarmonicMeanInteraction.lean View file
| @@ -275,57 +275,6 @@ theorem meanCross_eq {s : StripData D} {κ : ℝ} (c : CorrectionState.Context D | ||
| 275 | 275 | Matrix.cons_val_two, Matrix.tail_cons, Matrix.head_cons, Complex.ofReal_zero, zero_mul, add_zero] |
| 276 | 276 | ring |
| 277 | 277 | |
| 278 | -theorem angularCarrierTerm_class {s : StripData D} {κ α H : ℝ} {P : ℕ → D → ℝ} | |
| 279 | - (c : CorrectionState.Context D) (ho : MeanIncrementBounds.OperatorBounds s c.operators κ) | |
| 280 | - (hR : ∀ x ∈ s.domain, 0 < c.operators.radius x) | |
| 281 | - {h : MeanIncrementBounds.Triple D} (hh : MeanIncrementBounds.IncrementBounds s H h) | |
| 282 | - {b : CorrectionState.HarmonicBlock D} (hb : b.WaveBounds s P α) | |
| 283 | - (hkp : BandBound s (-(1 / 2)) (fun n => (b.angularFrequency n : ℝ))) | |
| 284 | - {j : ℤ} (hj : j ≠ 0) (i : Fin 3) : | |
| 285 | - WaveClass s P (α + H - 1 / 2) (fun n x => angularCarrierTerm c b h j n x i) := by | |
| 286 | - have hm := tripleField_bound hh | |
| 287 | - have ha := blockAmplitude_class hb hj | |
| 288 | - have hν : BandBound s (-(1 / 2)) (fun n => (b.angularFrequency n : ℝ) * (j : ℝ)) := | |
| 289 | - bandBound_frequency hkp (abs_nonneg (j : ℝ)) (fun _ => le_rfl) | |
| 290 | - have hf := phaseFactor_class (class_div_radius (slowGeometry c ho hR) hm.2.1) hν | |
| 291 | - have he := mean_wave_cmul hf (ha i) ho.weight_le_one | |
| 292 | - convert! he using 1 | |
| 293 | - ring | |
| 294 | - | |
| 295 | -theorem meanCross_class {s : StripData D} {κ α H : ℝ} {P : ℕ → D → ℝ} | |
| 296 | - (c : CorrectionState.Context D) (ho : MeanIncrementBounds.OperatorBounds s c.operators κ) | |
| 297 | - (hκ : κ ≤ 1 / 2) (hR : ∀ x ∈ s.domain, 0 < c.operators.radius x) | |
| 298 | - {h : MeanIncrementBounds.Triple D} (hh : MeanIncrementBounds.IncrementBounds s H h) | |
| 299 | - {b : CorrectionState.HarmonicBlock D} (hb : b.WaveBounds s P α) | |
| 300 | - (hN : ∀ i, UnweightedClass s 0 (fun n x => slowNormal c ho hR b.phase n x i)) | |
| 301 | - (hk : BandBound s (-(1 / 2)) b.frequency) | |
| 302 | - (hkp : BandBound s (-(1 / 2)) (fun n => (b.angularFrequency n : ℝ))) | |
| 303 | - (hP : ∀ n x, x ∈ s.domain → 0 ≤ P n x) {j : ℤ} (hj : j ≠ 0) (i : Fin 3) : | |
| 304 | - WaveClass s P (α + H - 1 / 2) (fun n x => meanCross c h b n i j x) := by | |
| 305 | - have hν : BandBound s (-(1 / 2)) (fun n => b.frequency n * (j : ℝ)) := | |
| 306 | - bandBound_frequency hk (abs_nonneg (j : ℝ)) (fun _ => le_rfl) | |
| 307 | - have hs := wave_mean_bound (slowGeometry c ho hR) ho.kappa_nonneg hκ | |
| 308 | - (tripleField_bound hh) (blockAmplitude_class hb hj) hN hν ho.weight_le_one hP i | |
| 309 | - have hθ := angularCarrierTerm_class c ho hR hh hb hkp hj i | |
| 310 | - apply class_congr (hs.add hθ) | |
| 311 | - intro n x _ | |
| 312 | - exact (meanCross_eq c ho hR h b j n x i).symm | |
| 313 | - | |
| 314 | -theorem realMeanCross_class {s : StripData D} {κ α H : ℝ} {P : ℕ → D → ℝ} | |
| 315 | - (c : CorrectionState.Context D) (ho : MeanIncrementBounds.OperatorBounds s c.operators κ) | |
| 316 | - (hκ : κ ≤ 1 / 2) (hR : ∀ x ∈ s.domain, 0 < c.operators.radius x) | |
| 317 | - {h : MeanIncrementBounds.Triple D} (hh : MeanIncrementBounds.IncrementBounds s H h) | |
| 318 | - {b : CorrectionState.HarmonicBlock D} (hb : b.WaveBounds s P α) | |
| 319 | - (hN : ∀ i, UnweightedClass s 0 (fun n x => slowNormal c ho hR b.phase n x i)) | |
| 320 | - (hk : BandBound s (-(1 / 2)) b.frequency) | |
| 321 | - (hkp : BandBound s (-(1 / 2)) (fun n => (b.angularFrequency n : ℝ))) | |
| 322 | - (hP : ∀ n x, x ∈ s.domain → 0 ≤ P n x) {j : ℤ} (hj : j ≠ 0) (i : Fin 3) : | |
| 323 | - WaveClass s P (α + H - 1 / 2) | |
| 324 | - (fun n x => HarmonicResidual.realCoefficients (meanCross c h b n i) j x) := | |
| 325 | - realCoefficient_class (fun n => meanCross c h b n i) j | |
| 326 | - (meanCross_class c ho hκ hR hh hb hN hk hkp hP hj i) | |
| 327 | - (meanCross_class c ho hκ hR hh hb hN hk hkp hP (neg_ne_zero.mpr hj) i) | |
| 328 | - | |
| 329 | 278 | /-! ## The actual output residual blocks -/ |
| 330 | 279 | |
| 331 | 280 | omit [NormedAddCommGroup D] [NormedSpace ℝ D] in |
+0 −32 NavierStokes/JointODE.lean View file
| @@ -196,38 +196,6 @@ theorem reparamSolution_eq_actualSolution (hab : a ≤ b) {U : Set P} | ||
| 196 | 196 | rw [hy1] at h1 |
| 197 | 197 | simpa only [w, affineTime_one, Prod.mk.eta] using h1 |
| 198 | 198 | |
| 199 | -/-- Genuine joint parameter/current-time C∞ for the actual solution on the | |
| 200 | -closed interval, including its endpoints in the relative smoothness sense. -/ | |
| 201 | -theorem contDiffOn_solutionExtension_joint (hab : a ≤ b) (U : Set P) (V : Set ℝ) | |
| 202 | - (hU : IsOpen U) (hV : IsOpen V) (hI : Icc a b ⊆ V) | |
| 203 | - (A : P × ℝ → E →L[ℝ] E) (x₀ : P → E) (f : P × ℝ → E) | |
| 204 | - (hA : ContDiffOn ℝ ∞ A (U ×ˢ V)) (hx₀ : ContDiffOn ℝ ∞ x₀ U) | |
| 205 | - (hf : ContDiffOn ℝ ∞ f (U ×ˢ V)) : | |
| 206 | - ContDiffOn ℝ ∞ | |
| 207 | - (fun z : P × ℝ => ParametricODE.solutionExtension hab | |
| 208 | - (SmoothPathFamily.pathFamily A z.1) (x₀ z.1) | |
| 209 | - (SmoothPathFamily.pathFamily f z.1) z.2) (U ×ˢ Icc a b) := by | |
| 210 | - have hs : ContDiffOn ℝ ∞ (reparamSolution a A x₀ f) (U ×ˢ Icc a b) := | |
| 211 | - fun z hz => (reparamSolution_contDiffAt U V hU hV hI A x₀ f hA hx₀ hf hz).contDiffWithinAt | |
| 212 | - apply hs.congr | |
| 213 | - intro z hz | |
| 214 | - exact (reparamSolution_eq_actualSolution hab A x₀ f | |
| 215 | - (hA.continuousOn.mono (prod_mono Subset.rfl hI)) | |
| 216 | - (hf.continuousOn.mono (prod_mono Subset.rfl hI)) hz).symm | |
| 217 | - | |
| 218 | -/-- The interior form used when localizing a solution inside the slot. -/ | |
| 219 | -theorem contDiffOn_solutionExtension_joint_interior (hab : a ≤ b) (U : Set P) (V : Set ℝ) | |
| 220 | - (hU : IsOpen U) (hV : IsOpen V) (hI : Icc a b ⊆ V) | |
| 221 | - (A : P × ℝ → E →L[ℝ] E) (x₀ : P → E) (f : P × ℝ → E) | |
| 222 | - (hA : ContDiffOn ℝ ∞ A (U ×ˢ V)) (hx₀ : ContDiffOn ℝ ∞ x₀ U) | |
| 223 | - (hf : ContDiffOn ℝ ∞ f (U ×ˢ V)) : | |
| 224 | - ContDiffOn ℝ ∞ | |
| 225 | - (fun z : P × ℝ => ParametricODE.solutionExtension hab | |
| 226 | - (SmoothPathFamily.pathFamily A z.1) (x₀ z.1) | |
| 227 | - (SmoothPathFamily.pathFamily f z.1) z.2) (U ×ˢ Ioo a b) := | |
| 228 | - (contDiffOn_solutionExtension_joint hab U V hU hV hI A x₀ f hA hx₀ hf).mono | |
| 229 | - (prod_mono Subset.rfl Ioo_subset_Icc_self) | |
| 230 | - | |
| 231 | 199 | end |
| 232 | 200 | |
| 233 | 201 | end NavierStokes.JointODE |
+0 −41 NavierStokes/LinearWaveBounds.lean View file
| @@ -640,47 +640,6 @@ theorem harmonicResidual_eq {s : StripData D} {P : ℕ → D → ℝ} {α κ : | ||
| 640 | 640 | (((h.pressure.smooth n).contDiffAt (s.isOpen_domain.mem_nhds hx)).differentiableAt (by simp)) |
| 641 | 641 | (hg.pressure_angular n x hx) hx |
| 642 | 642 | |
| 643 | -theorem curlCorrection_divergence {s : StripData D} {P : ℕ → D → ℝ} {α κ : ℝ} | |
| 644 | - {d : GraphDirections D} {a : WaveCoefficients D} | |
| 645 | - (h : InputBounds s P α κ d a) (n : ℕ) | |
| 646 | - (G : CurlClassBounds.CylindricalGeometry s.domain (a.radius n) (d.radialField n) | |
| 647 | - (fun _ => d.angular) (d.axialField s n)) | |
| 648 | - (hK : a.frequency n ≠ 0) (hΦ : ContDiffOn ℝ ∞ (a.phase n) s.domain) | |
| 649 | - (hn : ∀ x ∈ s.domain, a.normal s d n x ≠ 0) | |
| 650 | - (ht : ∀ x ∈ s.domain, normalDot (a.normal s d n x) (a.amplitude n x) = 0) | |
| 651 | - {x : D} (hx : x ∈ s.domain) : | |
| 652 | - cylindricalDivergence (a.radius n) (d.radialField n) (fun _ => d.angular) (d.axialField s n) | |
| 653 | - (vectorMode (a.frequency n) (a.phase n) | |
| 654 | - ((a.addAmplitude (a.curlCorrection s d)).amplitude n)) x = 0 := by | |
| 655 | - exact CurlClassBounds.realizedCoefficient_divergence G hK hΦ | |
| 656 | - ((component_classes h.amplitude).smooth n) hn ht hx | |
| 657 | - | |
| 658 | -theorem cutoff_tangent {s : StripData D} {d : GraphDirections D} {a : WaveCoefficients D} | |
| 659 | - (ψ : ℕ → D → ℝ) (n : ℕ) | |
| 660 | - (ht : ∀ x ∈ s.domain, normalDot (a.normal s d n x) (a.amplitude n x) = 0) : | |
| 661 | - ∀ x ∈ s.domain, normalDot ((a.withCutoff ψ).normal s d n x) | |
| 662 | - ((a.withCutoff ψ).amplitude n x) = 0 := by | |
| 663 | - intro x hx | |
| 664 | - change normalDot (a.normal s d n x) (ψ n x • a.amplitude n x) = 0 | |
| 665 | - calc | |
| 666 | - _ = (ψ n x : ℂ) * normalDot (a.normal s d n x) (a.amplitude n x) := by | |
| 667 | - simp only [normalDot, Pi.smul_apply, Complex.real_smul] | |
| 668 | - ring | |
| 669 | - _ = 0 := by rw [ht x hx, mul_zero] | |
| 670 | - | |
| 671 | -theorem corrected_divergence {s : StripData D} {P : ℕ → D → ℝ} {α κ : ℝ} | |
| 672 | - {d : GraphDirections D} {a : WaveCoefficients D} | |
| 673 | - (h : InputBounds s P α κ d a) {ψ : ℕ → D → ℝ} (hψ : UnweightedClass s 0 ψ) (n : ℕ) | |
| 674 | - (G : CurlClassBounds.CylindricalGeometry s.domain (a.radius n) (d.radialField n) | |
| 675 | - (fun _ => d.angular) (d.axialField s n)) | |
| 676 | - (hK : a.frequency n ≠ 0) (hΦ : ContDiffOn ℝ ∞ (a.phase n) s.domain) | |
| 677 | - (hn : ∀ x ∈ s.domain, a.normal s d n x ≠ 0) | |
| 678 | - (ht : ∀ x ∈ s.domain, normalDot (a.normal s d n x) (a.amplitude n x) = 0) | |
| 679 | - {x : D} (hx : x ∈ s.domain) : | |
| 680 | - cylindricalDivergence (a.radius n) (d.radialField n) (fun _ => d.angular) (d.axialField s n) | |
| 681 | - (vectorMode (a.frequency n) (a.phase n) ((a.corrected s d ψ).amplitude n)) x = 0 := | |
| 682 | - curlCorrection_divergence (h.with_cutoff hψ) n G hK hΦ hn (cutoff_tangent ψ n ht) hx | |
| 683 | - | |
| 684 | 643 | /-- The two excluded slot terms remain explicit fields. Their Gaussian |
| 685 | 644 | flatness is a separate analytic theorem, never an instruction to set them to zero. -/ |
| 686 | 645 | noncomputable def excludedSlotError (d : GraphDirections D) (ψ : ℕ → D → ℝ) |
+0 −10 NavierStokes/MeanBoundsReindex.lean View file
| @@ -41,16 +41,6 @@ theorem uniformClass_return {F ι : Type*} [NormedAddCommGroup F] [NormedSpace | ||
| 41 | 41 | |
| 42 | 42 | /-! ## Uniform classes of the actual harmonic residual -/ |
| 43 | 43 | |
| 44 | -/-- Arbitrary solver block families return with their original common | |
| 45 | -weight and exponent. Uniformity over labels is retained. -/ | |
| 46 | -theorem uniformVelocity_return {ι : Type*} (e : D ≃ₗᵢ[ℝ] E) {s : StripData D} | |
| 47 | - {P : ι → ℕ → D → ℝ} {α : ℝ} {b : ι → CorrectionState.HarmonicBlock E} | |
| 48 | - (hb : UniformHarmonicInteraction.UniformVelocity | |
| 49 | - (ParticularWaveBounds.reindexStrip e.symm s) (fun l n y => P l n (e.symm y)) α b) : | |
| 50 | - UniformHarmonicInteraction.UniformVelocity s P α (fun l => StateReindex.block e (b l)) := by | |
| 51 | - intro i j hj | |
| 52 | - exact uniformClass_return e (hb i j hj) | |
| 53 | - | |
| 54 | 44 | theorem uniformVelocity_pull {ι : Type*} (e : D ≃ₗᵢ[ℝ] E) {s : StripData E} |
| 55 | 45 | {P : ι → ℕ → E → ℝ} {α : ℝ} {b : ι → CorrectionState.HarmonicBlock E} |
| 56 | 46 | (hb : UniformHarmonicInteraction.UniformVelocity s P α b) : |
+0 −56 NavierStokes/MeanChartCompatibility.lean View file
| @@ -563,27 +563,9 @@ theorem coverMap_radial (i : ℕ) : | ||
| 563 | 563 | |
| 564 | 564 | noncomputable def chartScale (n : ℕ) : ℝ := ChartScales.Q n ^ (-(1 / 2 : ℝ)) |
| 565 | 565 | |
| 566 | -theorem chartScale_pos (n : ℕ) : 0 < chartScale n := | |
| 567 | - Real.rpow_pos_of_pos (ChartScales.Q_pos n) _ | |
| 568 | - | |
| 569 | 566 | noncomputable def radialFrequency (_h : ℝ) (n i : ℕ) (d M : ℝ) : ℝ := |
| 570 | 567 | M * ChartScales.Lambda ^ i * ChartScales.Q n ^ (d / 2) |
| 571 | 568 | |
| 572 | -theorem radialFrequency_scale (h : ℝ) (n i : ℕ) (d M : ℝ) : | |
| 573 | - radialFrequency h n i d M * chartScale n ^ d = M * ChartScales.Lambda ^ i := by | |
| 574 | - have hs : chartScale n ^ d = ChartScales.Q n ^ (-(d / 2)) := by | |
| 575 | - unfold chartScale | |
| 576 | - rw [← Real.rpow_mul (ChartScales.Q_pos n).le] | |
| 577 | - congr 1 | |
| 578 | - ring | |
| 579 | - rw [hs, radialFrequency, mul_assoc, ← Real.rpow_add (ChartScales.Q_pos n)] | |
| 580 | - simp | |
| 581 | - | |
| 582 | -theorem radialFrequency_shift (h : ℝ) (n i : ℕ) (d M : ℝ) : | |
| 583 | - M • TemporalMeanUpdate.coverMap i (vector .radial) = | |
| 584 | - (radialFrequency h n i d M * chartScale n ^ d) • vector .radial := by | |
| 585 | - rw [coverMap_radial, smul_smul, radialFrequency_scale] | |
| 586 | - | |
| 587 | 569 | /-- The physical slow variables are `(z,τ)` with `τ=1-t`. -/ |
| 588 | 570 | noncomputable def slowToChart (h : ℝ) (n : ℕ) : Plane →L[ℝ] Plane := |
| 589 | 571 | (ChartScales.Q n ^ (-CoordinateAlgebra.D h) • ContinuousLinearMap.fst ℝ ℝ ℝ).prod |
| @@ -598,20 +580,6 @@ noncomputable def physicalToChart (h : ℝ) (n i : ℕ) : | ||
| 598 | 580 | ((ChartScales.Q n ^ (-CoordinateAlgebra.D h) * z.2.1.1, |
| 599 | 581 | ChartScales.Q n ^ (-1 : ℝ) * z.2.1.2), TemporalMeanUpdate.coverMap i z.2.2)) := rfl |
| 600 | 582 | |
| 601 | -theorem pressure_unit_factor (h : ℝ) (n : ℕ) : | |
| 602 | - ChartScales.Q n ^ (-(2 * CoordinateAlgebra.A h + 1 / 2)) / chartScale n = | |
| 603 | - ChartScales.Q n ^ (-(2 * CoordinateAlgebra.A h)) := by | |
| 604 | - unfold chartScale | |
| 605 | - rw [← Real.rpow_sub (ChartScales.Q_pos n)] | |
| 606 | - congr 1 | |
| 607 | - ring | |
| 608 | - | |
| 609 | -noncomputable def reconstructPressureFamily (r : ℕ → CorrectionState.ReconstructionData) | |
| 610 | - (c : CorrectionState.Context (PressureStream.Lift Plane)) | |
| 611 | - (u : CorrectionState.State (PressureStream.Lift Plane)) : | |
| 612 | - CorrectionState.State (PressureStream.Lift Plane) := | |
| 613 | - { u with pressure := fun n => (CorrectionState.reconstructPressure (r n) c u).pressure n } | |
| 614 | - | |
| 615 | 583 | end PhysicalFamilies |
| 616 | 584 | |
| 617 | 585 | section ReconstructedStream |
| @@ -682,30 +650,6 @@ open TorusInverse | ||
| 682 | 650 | |
| 683 | 651 | variable {S : Type} [NormedAddCommGroup S] [NormedSpace ℝ S] |
| 684 | 652 | |
| 685 | -/-- The potential uses the explicitly chosen common torus index. -/ | |
| 686 | -noncomputable def commonTemporalPotential (r : ℕ → CorrectionState.ReconstructionData) | |
| 687 | - (h : ℝ) (index : ℕ → ℕ) (f : ℕ → PressureStream.Lift S → ℝ) (n : ℕ) : | |
| 688 | - PressureStream.Lift S → ℝ := | |
| 689 | - PressureStream.streamPotential (r n).exponent (r n).inner (r n).outer ((r n).frequency n) | |
| 690 | - ((0 : S), (r n).radialDirection) (temporalAtIndex h n (index n) (f n)) | |
| 691 | - | |
| 692 | -noncomputable def commonTemporalFields (r : ℕ → CorrectionState.ReconstructionData) | |
| 693 | - (h : ℝ) (index : ℕ → ℕ) (epsilon : ℕ → ℝ) (axial : S × Plane) | |
| 694 | - (fθ fz : ℕ → PressureStream.Lift S → ℝ) : MeanIncrementBounds.Triple (PressureStream.Lift S) where | |
| 695 | - radial := fun n => PressureStream.streamBeta (epsilon n • axial) | |
| 696 | - (commonTemporalPotential r h index fz n) | |
| 697 | - angular := fun n => temporalAtIndex h n (index n) (fθ n) | |
| 698 | - axial := fun n => PressureStream.streamGamma | |
| 699 | - (PressureStream.physicalSpeed (r n).exponent ((r n).frequency n)) | |
| 700 | - ((0 : S), (r n).radialDirection) (commonTemporalPotential r h index fz n) | |
| 701 | - | |
| 702 | -noncomputable def commonTemporalIncrement (r : ℕ → CorrectionState.ReconstructionData) | |
| 703 | - (h : ℝ) (index : ℕ → ℕ) (axial : S × Plane) | |
| 704 | - (c : CorrectionState.Context (PressureStream.Lift S)) | |
| 705 | - (u : CorrectionState.State (PressureStream.Lift S)) : | |
| 706 | - MeanIncrementBounds.Triple (PressureStream.Lift S) := | |
| 707 | - commonTemporalFields r h index c.operators.epsilon axial (u.thetaResidual c) (u.axialResidual c) | |
| 708 | - | |
| 709 | 653 | variable [FiniteDimensional ℝ S] |
| 710 | 654 | |
| 711 | 655 | end CommonTemporalReconstruction |
+0 −92 NavierStokes/MeanIncrementBounds.lean View file
| @@ -802,13 +802,6 @@ open scoped Interval | ||
| 802 | 802 | |
| 803 | 803 | variable {P : Type} [NormedAddCommGroup P] [NormedSpace ℝ P] |
| 804 | 804 | |
| 805 | -omit [NormedAddCommGroup P] [NormedSpace ℝ P] in | |
| 806 | -theorem radialSupport_sub {a b : ℝ} {f g : ℝ × P → ℝ} | |
| 807 | - (hf : RadialAlias.RadiallySupported a b f) | |
| 808 | - (hg : RadialAlias.RadiallySupported a b g) : | |
| 809 | - RadialAlias.RadiallySupported a b (fun x => f x - g x) := | |
| 810 | - (support_sub f g).trans (union_subset hf hg) | |
| 811 | - | |
| 812 | 805 | /-- An interior radial cutoff belongs to the same flat mean class. The |
| 813 | 806 | constant comes from its actual jets and the positive weight on its support. -/ |
| 814 | 807 | theorem interior_cutoff_meanClass |
| @@ -938,91 +931,6 @@ theorem meanPressure_sub {a b d : ℝ} (ha : 0 < a) (hab : a < b) (hd : 0 < d) | ||
| 938 | 931 | (PressureStream.pressureSource_supported hab hsf) |
| 939 | 932 | (PressureStream.pressureSource_supported hab hsg) M (0, v) |
| 940 | 933 | |
| 941 | -theorem meanClass_pressureSource | |
| 942 | - {a b cL cR : ℝ} (ha : 0 < a) (hab : a < b) (hcL : 0 < cL) (hcR : 0 < cR) | |
| 943 | - (ε S : ℕ → ℝ) (hε : ∀ n, 0 < ε n) (hεone : ∀ n, ε n ≤ 1) | |
| 944 | - (hS : ∀ n, 1 ≤ S n) {α : ℝ} {f : ℕ → PressureStream.Lift P → ℝ} | |
| 945 | - (hf : ∀ n, ContDiff ℝ ∞ (f n)) | |
| 946 | - (hs : ∀ n, RadialAlias.RadiallySupported a b (f n)) | |
| 947 | - (hclass : MeanClass (logStripData a b cL cR ha hcL hcR ε S hε hεone hS) α f) : | |
| 948 | - MeanClass (logStripData a b cL cR ha hcL hcR ε S hε hεone hS) α | |
| 949 | - (fun n => PressureStream.pressureSource a b hab (f n)) := by | |
| 950 | - have hmass := MeanMomentBounds.meanClass_pressureMass_lift ha hab hcL hcR | |
| 951 | - ε S hε hεone hS hf hs hclass | |
| 952 | - have hρ := rho_meanClass (P := P × PressureStream.Plane) ha hab hcL hcR ε S hε hεone hS | |
| 953 | - have hproduct := Class.mul_coefficient hρ hmass | |
| 954 | - simp only [zero_add] at hproduct | |
| 955 | - exact Class.sub hclass hproduct | |
| 956 | - | |
| 957 | -/-- The actual normalized shifted pressure primitive preserves every | |
| 958 | -fixed-jet mean class, uniformly over its radial and torus shifts. -/ | |
| 959 | -theorem meanClass_meanPressure | |
| 960 | - {a b d cL cR : ℝ} (ha : 0 < a) (hab : a < b) (hd : 0 < d) | |
| 961 | - (hcL : 0 < cL) (hcR : 0 < cR) | |
| 962 | - (ε S : ℕ → ℝ) (hε : ∀ n, 0 < ε n) (hεone : ∀ n, ε n ≤ 1) | |
| 963 | - (hS : ∀ n, 1 ≤ S n) {α : ℝ} {f : ℕ → PressureStream.Lift P → ℝ} | |
| 964 | - (hf : ∀ n, ContDiff ℝ ∞ (f n)) | |
| 965 | - (hs : ∀ n, RadialAlias.RadiallySupported a b (f n)) | |
| 966 | - (hclass : MeanClass (logStripData a b cL cR ha hcL hcR ε S hε hεone hS) α f) | |
| 967 | - (M : ℕ → ℝ) (v : ℕ → PressureStream.Plane) : | |
| 968 | - MeanClass (logStripData a b cL cR ha hcL hcR ε S hε hεone hS) α | |
| 969 | - (fun n => PressureStream.meanPressure d a b (M n) hab (v n) (f n)) := by | |
| 970 | - exact RadialPullback.meanClass_physicalCompact ha hab hd hcL hcR ε S hε hεone hS | |
| 971 | - α M (fun n => (0, v n)) _ | |
| 972 | - (fun n => PressureStream.pressureSource_contDiff hab (hf n) (hs n)) | |
| 973 | - (fun n => PressureStream.pressureSource_supported hab (hs n)) | |
| 974 | - (meanClass_pressureSource ha hab hcL hcR ε S hε hεone hS hf hs hclass) | |
| 975 | - | |
| 976 | -theorem meanClass_meanPressure_change | |
| 977 | - {a b d cL cR : ℝ} (ha : 0 < a) (hab : a < b) (hd : 0 < d) | |
| 978 | - (hcL : 0 < cL) (hcR : 0 < cR) | |
| 979 | - (ε S : ℕ → ℝ) (hε : ∀ n, 0 < ε n) (hεone : ∀ n, ε n ≤ 1) | |
| 980 | - (hS : ∀ n, 1 ≤ S n) {α : ℝ} {f g : ℕ → PressureStream.Lift P → ℝ} | |
| 981 | - (hf : ∀ n, ContDiff ℝ ∞ (f n)) (hg : ∀ n, ContDiff ℝ ∞ (g n)) | |
| 982 | - (hsf : ∀ n, RadialAlias.RadiallySupported a b (f n)) | |
| 983 | - (hsg : ∀ n, RadialAlias.RadiallySupported a b (g n)) | |
| 984 | - (hclass : MeanClass (logStripData a b cL cR ha hcL hcR ε S hε hεone hS) α (f - g)) | |
| 985 | - (M : ℕ → ℝ) (v : ℕ → PressureStream.Plane) : | |
| 986 | - MeanClass (logStripData a b cL cR ha hcL hcR ε S hε hεone hS) α | |
| 987 | - (fun n x => PressureStream.meanPressure d a b (M n) hab (v n) (f n) x - | |
| 988 | - PressureStream.meanPressure d a b (M n) hab (v n) (g n) x) := by | |
| 989 | - apply class_congr (meanClass_meanPressure ha hab hd hcL hcR ε S hε hεone hS | |
| 990 | - (fun n => (hf n).sub (hg n)) (fun n => radialSupport_sub (hsf n) (hsg n)) hclass M v) | |
| 991 | - intro n x _ | |
| 992 | - exact (congrFun (meanPressure_sub ha hab hd (hf n) (hg n) (hsf n) (hsg n) (M n) (v n)) x).symm | |
| 993 | - | |
| 994 | -noncomputable def reconstructedPressure (d a b : ℝ) (hab : a < b) | |
| 995 | - (M : ℕ → ℝ) (v : ℕ → PressureStream.Plane) (o : Operators (PressureStream.Lift P)) | |
| 996 | - (base mean : Triple (PressureStream.Lift P)) | |
| 997 | - (W : Fin 3 → Fin 3 → Field (PressureStream.Lift P)) : Field (PressureStream.Lift P) := | |
| 998 | - fun n => PressureStream.meanPressure d a b (M n) hab (v n) (gr o base mean W n) | |
| 999 | - | |
| 1000 | -/-- Pressure is recomputed from the literal `gr`; its change class is a | |
| 1001 | -conclusion, obtained from the centrifugal term and the exact remainder. -/ | |
| 1002 | -theorem reconstructedPressure_change_mem | |
| 1003 | - {a b d cL cR : ℝ} (ha : 0 < a) (hab : a < b) (hd : 0 < d) | |
| 1004 | - (hcL : 0 < cL) (hcR : 0 < cR) | |
| 1005 | - (ε S : ℕ → ℝ) (hε : ∀ n, 0 < ε n) (hεone : ∀ n, ε n ≤ 1) | |
| 1006 | - (hS : ∀ n, 1 ≤ S n) {κ H : ℝ} | |
| 1007 | - {o : Operators (PressureStream.Lift P)} {base mean inc : Triple (PressureStream.Lift P)} | |
| 1008 | - (ho : OperatorBounds (logStripData a b cL cR ha hcL hcR ε S hε hεone hS) o κ) | |
| 1009 | - (hb : BaseBounds (logStripData a b cL cR ha hcL hcR ε S hε hεone hS) base) | |
| 1010 | - (hm : CumulativeBounds (logStripData a b cL cR ha hcL hcR ε S hε hεone hS) mean) | |
| 1011 | - (hh : IncrementBounds (logStripData a b cL cR ha hcL hcR ε S hε hεone hS) H inc) | |
| 1012 | - (hH : 9 / 10 ≤ H) (hκ : 2 * κ ≤ 9 / 10) | |
| 1013 | - (W : Fin 3 → Fin 3 → Field (PressureStream.Lift P)) | |
| 1014 | - (hW : ∀ i j, SmoothOn (logStripData a b cL cR ha hcL hcR ε S hε hεone hS).domain (W i j)) | |
| 1015 | - (hf : ∀ n, ContDiff ℝ ∞ (gr o base (updated mean inc) W n)) | |
| 1016 | - (hg : ∀ n, ContDiff ℝ ∞ (gr o base mean W n)) | |
| 1017 | - (hsf : ∀ n, RadialAlias.RadiallySupported a b (gr o base (updated mean inc) W n)) | |
| 1018 | - (hsg : ∀ n, RadialAlias.RadiallySupported a b (gr o base mean W n)) | |
| 1019 | - (M : ℕ → ℝ) (v : ℕ → PressureStream.Plane) : | |
| 1020 | - MeanClass (logStripData a b cL cR ha hcL hcR ε S hε hεone hS) H | |
| 1021 | - (reconstructedPressure d a b hab M v o base (updated mean inc) W - | |
| 1022 | - reconstructedPressure d a b hab M v o base mean W) := by | |
| 1023 | - exact meanClass_meanPressure_change ha hab hd hcL hcR ε S hε hεone hS hf hg hsf hsg | |
| 1024 | - (gr_change_mem ho hb hm hh hH W hW hκ) M v | |
| 1025 | - | |
| 1026 | 934 | section ReconstructedTangential |
| 1027 | 935 | |
| 1028 | 936 | variable {a b d cL cR : ℝ} (ha : 0 < a) (hab : a < b) (hd : 0 < d) |
+0 −35 NavierStokes/MeanMomentBounds.lean View file
| @@ -123,25 +123,6 @@ theorem globalBandJets_unweighted {ε S : ℕ → ℝ} {α : ℝ} {f : ℕ → D | ||
| 123 | 123 | simpa only [majorant, StripData.growth, slowStripData, inv_one, max_self, mul_one] |
| 124 | 124 | using hb n x j hj |
| 125 | 125 | |
| 126 | -theorem globalBandJets_unweighted_log {a b cL cR : ℝ} | |
| 127 | - (ha : 0 < a) (hcL : 0 < cL) (hcR : 0 < cR) | |
| 128 | - {ε S : ℕ → ℝ} {α : ℝ} {f : ℕ → ℝ × D → E} | |
| 129 | - (hε : ∀ n, 0 < ε n) (hεone : ∀ n, ε n ≤ 1) (hS : ∀ n, 1 ≤ S n) | |
| 130 | - (hf : ∀ n, ContDiff ℝ ∞ (f n)) (hjets : GlobalBandJets ε S α f) : | |
| 131 | - UnweightedClass (logStripData a b cL cR ha hcL hcR ε S hε hεone hS) α f := by | |
| 132 | - let s := logStripData (E := D) a b cL cR ha hcL hcR ε S hε hεone hS | |
| 133 | - refine ⟨fun _ _ _ => zero_le_one, fun n => (hf n).contDiffOn, ?_⟩ | |
| 134 | - intro m | |
| 135 | - obtain ⟨C, hC, p, hb⟩ := hjets m | |
| 136 | - refine ⟨C, hC, p, ?_⟩ | |
| 137 | - intro n x _ j hj | |
| 138 | - apply (hb n x j hj).trans | |
| 139 | - change C * (ε n) ^ α * (S n) ^ p ≤ C * (ε n) ^ α * s.growth n x ^ p * 1 | |
| 140 | - rw [mul_one] | |
| 141 | - exact mul_le_mul_of_nonneg_left | |
| 142 | - (pow_le_pow_left₀ (zero_le_one.trans (hS n)) (s.slow_le_growth n x) p) | |
| 143 | - (mul_nonneg hC (Real.rpow_pos_of_pos (hε n) α).le) | |
| 144 | - | |
| 145 | 126 | theorem GlobalBandJets.compLinear {ε S : ℕ → ℝ} {α : ℝ} {f : ℕ → E → F} |
| 146 | 127 | (hjets : GlobalBandJets ε S α f) (hf : ∀ n, ContDiff ℝ ∞ (f n)) |
| 147 | 128 | (L : D →L[ℝ] E) (hL : ‖L‖ ≤ 1) : |
| @@ -370,22 +351,6 @@ theorem GlobalBandJets.liftedPressureMass {ε S : ℕ → ℝ} {α a b : ℝ} | ||
| 370 | 351 | (fun n => liftedTorusAverage_supported (hs n)) hab |
| 371 | 352 | simpa only [liftedPressureMass_eq] using h |
| 372 | 353 | |
| 373 | -/-- The actual pressure defect, lifted to the original strip, belongs to | |
| 374 | -`S_α`. There is no pressure-mass or differentiated-integral estimate premise. -/ | |
| 375 | -theorem meanClass_pressureMass_lift | |
| 376 | - {a b cL cR : ℝ} (ha : 0 < a) (hab : a < b) (hcL : 0 < cL) (hcR : 0 < cR) | |
| 377 | - (ε S : ℕ → ℝ) (hε : ∀ n, 0 < ε n) (hεone : ∀ n, ε n ≤ 1) | |
| 378 | - (hS : ∀ n, 1 ≤ S n) {α : ℝ} {f : ℕ → PressureStream.Lift P → ℝ} | |
| 379 | - (hf : ∀ n, ContDiff ℝ ∞ (f n)) | |
| 380 | - (hs : ∀ n, RadialAlias.RadiallySupported a b (f n)) | |
| 381 | - (hclass : MeanClass (logStripData a b cL cR ha hcL hcR ε S hε hεone hS) α f) : | |
| 382 | - UnweightedClass (logStripData a b cL cR ha hcL hcR ε S hε hεone hS) α | |
| 383 | - (fun n (x : PressureStream.Lift P) => PressureStream.pressureMass (f n) x.2.1) := by | |
| 384 | - apply globalBandJets_unweighted_log ha hcL hcR hε hεone hS | |
| 385 | - (fun n => liftedPressureMass_contDiff (hf n) (hs n)) | |
| 386 | - exact (meanClass_globalBandJets ha hcL hcR ε S hε hεone hS hf hs hclass).liftedPressureMass | |
| 387 | - hf hs hab.le | |
| 388 | - | |
| 389 | 354 | noncomputable def insertSlow : P →L[ℝ] PressureStream.Lift P where |
| 390 | 355 | toFun p := (0, (p, (0, 0))) |
| 391 | 356 | map_add' := by intros; ext <;> simp |
+0 −161 NavierStokes/MeanRankUpdate.lean View file
| @@ -388,19 +388,6 @@ theorem slow_streamGamma_eq_desired {a b d M : ℝ} (ha : 0 < a) (hab : a < b) ( | ||
| 388 | 388 | rw [he, slow_physicalAlias_zero ha hab hd v (PressureStream.weightedSource_contDiff hf) |
| 389 | 389 | (PressureStream.weightedSource_supported hs) hm, zero_div, sub_zero] |
| 390 | 390 | |
| 391 | -/-- The radial companion is the actual axial derivative of the same stream. -/ | |
| 392 | -theorem slow_stream_divergence_zero {a b d M : ℝ} (ha : 0 < a) (hab : a < b) (hd : 0 < d) | |
| 393 | - (v : PressureStream.Plane) (w : E × PressureStream.Plane) {f : ℝ × E → ℝ} | |
| 394 | - (hf : ContDiff ℝ ∞ f) (hs : RadialAlias.RadiallySupported a b f) | |
| 395 | - (p : PressureStream.Lift E) : | |
| 396 | - PressureStream.graphDivergence (PressureStream.physicalSpeed d M) ((0 : E), v) w | |
| 397 | - (PressureStream.streamBeta w | |
| 398 | - (PressureStream.streamPotential d a b M ((0 : E), v) (slowLift f))) | |
| 399 | - (PressureStream.streamGamma (PressureStream.physicalSpeed d M) ((0 : E), v) | |
| 400 | - (PressureStream.streamPotential d a b M ((0 : E), v) (slowLift f))) p = 0 := | |
| 401 | - PressureStream.reconstructed_divergence_zero ha hab hd ((0 : E), v) w | |
| 402 | - (slowLift_contDiff hf) (slowLift_supported hs) p | |
| 403 | - | |
| 404 | 391 | end SlowStream |
| 405 | 392 | |
| 406 | 393 | section LinearConstruction |
| @@ -886,22 +873,6 @@ theorem normalizedDomain_isOpen {coord : ℝ} (hc : 0 < coord) (hc1 : coord < 1) | ||
| 886 | 873 | (isOpen_Ioo.preimage continuous_fst).mem_nhds hp.2.2 |
| 887 | 874 | exact inter_mem ht (inter_mem hq hr) |
| 888 | 875 | |
| 889 | -/-- The concrete logarithmic radial weights, restricted to one normalized | |
| 890 | -physical `q/Q` strip. The torus variables remain unrestricted. -/ | |
| 891 | -noncomputable def normalizedStripData (coord qlo qhi rlo rhi cL cR : ℝ) | |
| 892 | - (hc : 0 < coord) (hc1 : coord < 1) (hrlo : 0 < rlo) (hcL : 0 < cL) (hcR : 0 < cR) | |
| 893 | - (ε S : ℕ → ℝ) (hε : ∀ n, 0 < ε n) (hεone : ∀ n, ε n ≤ 1) (hS : ∀ n, 1 ≤ S n) : | |
| 894 | - WeightedClasses.StripData ChartPoint := | |
| 895 | - { WeightedRadialPrimitive.logStripData rlo rhi cL cR hrlo hcL hcR ε S hε hεone hS with | |
| 896 | - domain := normalizedDomain coord qlo qhi rlo rhi | |
| 897 | - isOpen_domain := normalizedDomain_isOpen hc hc1 qlo qhi rlo rhi | |
| 898 | - delta_pos := fun _ hp => WeightedRadialPrimitive.delta_pos | |
| 899 | - (WeightedRadialPrimitive.logPosition_mem hrlo hp.2.2) | |
| 900 | - zeta_smooth := (WeightedRadialPrimitive.logStripData rlo rhi cL cR hrlo hcL hcR | |
| 901 | - ε S hε hεone hS).zeta_smooth.mono (fun _ hp => hp.2.2) | |
| 902 | - zeta_nonneg := fun _ hp => (WeightedRadialPrimitive.zeta_pos cL cR | |
| 903 | - (WeightedRadialPrimitive.logPosition_mem hrlo hp.2.2)).le } | |
| 904 | - | |
| 905 | 876 | end ConcreteStrip |
| 906 | 877 | |
| 907 | 878 | section PhysicalChart |
| @@ -1028,14 +999,6 @@ theorem potential_smooth (F : SmoothFamily E) {power lo hi M : ℝ} | ||
| 1028 | 999 | PressureStream.streamPotential_contDiff hlo0 horder hp ((0 : E), v) |
| 1029 | 1000 | (slowLift_contDiff F.desired_smooth) (slowLift_supported (F.desired_supported hlo hhi)) |
| 1030 | 1001 | |
| 1031 | -theorem radial_smooth (F : SmoothFamily E) {power lo hi M : ℝ} | |
| 1032 | - (hlo0 : 0 < lo) (horder : lo < hi) (hp : 0 < power) (v : PressureStream.Plane) | |
| 1033 | - (w : E × PressureStream.Plane) | |
| 1034 | - (hlo : ∀ s, lo ≤ F.length s * F.a) (hhi : ∀ s, F.length s * F.b ≤ hi) : | |
| 1035 | - ContDiff ℝ ∞ (F.radial power lo hi M v w) := | |
| 1036 | - PressureStream.streamBeta_contDiff hlo0 horder hp ((0 : E), v) w | |
| 1037 | - (slowLift_contDiff F.desired_smooth) (slowLift_supported (F.desired_supported hlo hhi)) | |
| 1038 | - | |
| 1039 | 1002 | theorem axial_exact (F : SmoothFamily E) {power lo hi M : ℝ} |
| 1040 | 1003 | (hlo0 : 0 < lo) (horder : lo < hi) (hp : 0 < power) (v : PressureStream.Plane) |
| 1041 | 1004 | (hlo : ∀ s, lo ≤ F.length s * F.a) (hhi : ∀ s, F.length s * F.b ≤ hi) |
| @@ -1043,15 +1006,6 @@ theorem axial_exact (F : SmoothFamily E) {power lo hi M : ℝ} | ||
| 1043 | 1006 | slow_streamGamma_eq_desired hlo0 horder hp v F.desired_smooth (F.desired_supported hlo hhi) |
| 1044 | 1007 | F.desired_mass_zero p |
| 1045 | 1008 | |
| 1046 | -theorem divergence_zero (F : SmoothFamily E) {power lo hi M : ℝ} | |
| 1047 | - (hlo0 : 0 < lo) (horder : lo < hi) (hp : 0 < power) (v : PressureStream.Plane) | |
| 1048 | - (w : E × PressureStream.Plane) | |
| 1049 | - (hlo : ∀ s, lo ≤ F.length s * F.a) (hhi : ∀ s, F.length s * F.b ≤ hi) | |
| 1050 | - (p : PressureStream.Lift E) : | |
| 1051 | - PressureStream.graphDivergence (PressureStream.physicalSpeed power M) ((0 : E), v) w | |
| 1052 | - (F.radial power lo hi M v w) (F.axial power lo hi M v) p = 0 := | |
| 1053 | - slow_stream_divergence_zero hlo0 horder hp v w F.desired_smooth (F.desired_supported hlo hhi) p | |
| 1054 | - | |
| 1055 | 1009 | end SmoothFamily |
| 1056 | 1010 | |
| 1057 | 1011 | theorem slow_streamPotential_eq_primitive {lo hi power M : ℝ} |
| @@ -1137,24 +1091,6 @@ theorem scaledPrimitive_zero_of_support {l u r : ℝ} (hl : 0 < l) (_ : l < u) | ||
| 1137 | 1091 | exact ⟨hl.trans hsu.1, hsu.2.le.trans hru⟩ |
| 1138 | 1092 | rw [he, hm, zero_div] |
| 1139 | 1093 | |
| 1140 | -theorem model_compactIntegral_smooth {S : Set ModelPoint} (hS : IsOpen S) | |
| 1141 | - {G : ModelPoint → ℝ → ℝ} | |
| 1142 | - (hG : ∀ y ∈ S, ∀ t ∈ Icc (0 : ℝ) 1, | |
| 1143 | - ContDiffAt ℝ ∞ (fun z : ModelPoint × ℝ => G z.1 z.2) (y, t)) : | |
| 1144 | - ContDiffOn ℝ ∞ (fun y => ∫ t in (0 : ℝ)..1, G y t) S := by | |
| 1145 | - apply SmoothParameterIntegral.contDiffOn_intervalIntegral_of_continuous_jet hS zero_le_one | |
| 1146 | - · intro t ht y hy | |
| 1147 | - exact ((hG y hy t ht).comp y (contDiffAt_id.prodMk contDiffAt_const)).contDiffWithinAt | |
| 1148 | - · intro j | |
| 1149 | - rintro ⟨y, t⟩ ⟨hy, ht⟩ | |
| 1150 | - have hflip : ContDiffAt ℝ ∞ (Function.uncurry (fun t y => G y t)) (t, y) := | |
| 1151 | - (hG y hy t ht).comp (t, y) (contDiffAt_snd.prodMk contDiffAt_fst) | |
| 1152 | - have h := ParametricFlatFactor.contDiffAt_partial_iteratedFDeriv (fun t y => G y t) j t y hflip | |
| 1153 | - exact ((h.comp (y, t) (contDiffAt_snd.prodMk contDiffAt_fst)).continuousAt).continuousWithinAt | |
| 1154 | - | |
| 1155 | -noncomputable def primitiveModel (coord A B lam a b : ℝ) (d : Debt) (y : ModelPoint) : ℝ := | |
| 1156 | - scaledPrimitive (fun r => axialModel coord A B lam a b d (y.1, r, y.2.2)) y.2.1 | |
| 1157 | - | |
| 1158 | 1094 | private theorem scaled_integrand_contDiffAt {g : ModelPoint → ℝ} (y : ModelPoint) (t : ℝ) |
| 1159 | 1095 | (hg : ContDiffAt ℝ ∞ g (y.1, y.2.1 * t, y.2.2)) : |
| 1160 | 1096 | ContDiffAt ℝ ∞ (fun z : ModelPoint × ℝ => z.2 * g (z.1.1, z.1.2.1 * z.2, z.1.2.2)) (y, t) := by |
| @@ -1164,107 +1100,10 @@ private theorem scaled_integrand_contDiffAt {g : ModelPoint → ℝ} (y : ModelP | ||
| 1164 | 1100 | ((contDiffAt_fst.snd.fst.mul contDiffAt_snd).prodMk contDiffAt_fst.snd.snd) |
| 1165 | 1101 | exact contDiffAt_snd.mul (hg.comp (y, t) hmap) |
| 1166 | 1102 | |
| 1167 | -theorem primitiveModel_contDiffOn (coord A B lam a b : ℝ) (hB : B ≠ 0) (d : Debt) : | |
| 1168 | - ContDiffOn ℝ ∞ (primitiveModel coord A B lam a b d) PhysicalCoordinateBounds.positiveTime := by | |
| 1169 | - have hG : ∀ y ∈ PhysicalCoordinateBounds.positiveTime, ∀ t ∈ Icc (0 : ℝ) 1, | |
| 1170 | - ContDiffAt ℝ ∞ (fun z : ModelPoint × ℝ => | |
| 1171 | - z.2 * axialModel coord A B lam a b d (z.1.1, z.1.2.1 * z.2, z.1.2.2)) (y, t) := by | |
| 1172 | - intro y hy t _ht | |
| 1173 | - have hh : ContDiffAt ℝ ∞ (axialModel coord A B lam a b d) (y.1, y.2.1 * t, y.2.2) := | |
| 1174 | - (axialModel_contDiffOn coord A B lam a b hB d).contDiffAt | |
| 1175 | - (PhysicalCoordinateBounds.positiveTime_isOpen.mem_nhds | |
| 1176 | - (show (y.1, y.2.1 * t, y.2.2) ∈ PhysicalCoordinateBounds.positiveTime from hy)) | |
| 1177 | - exact scaled_integrand_contDiffAt y t hh | |
| 1178 | - exact ((contDiff_fst.comp contDiff_snd).contDiffOn).mul | |
| 1179 | - (model_compactIntegral_smooth PhysicalCoordinateBounds.positiveTime_isOpen hG) | |
| 1180 | - | |
| 1181 | -theorem primitiveModel_zero {coord A B lam a b : ℝ} (hlam : 0 < lam) (hB : B ≠ 0) | |
| 1182 | - (ha : 0 < a) (hab : a < b) (d : Debt) {y : ModelPoint} (hy : 0 < y.1) | |
| 1183 | - (hr : y.2.1 ∉ Ioo (Real.sqrt y.1 * a) (Real.sqrt y.1 * b)) : | |
| 1184 | - primitiveModel coord A B lam a b d y = 0 := by | |
| 1185 | - have hl := Real.sqrt_pos.mpr hy | |
| 1186 | - change scaledPrimitive (desiredAxialIncrement lam (modelAmplitude coord B y) a b | |
| 1187 | - (Real.sqrt y.1) (modelVelocity A y) d) y.2.1 = 0 | |
| 1188 | - have hs := desiredAxialIncrement_tsupport lam (modelAmplitude coord B y) a b | |
| 1189 | - (modelVelocity A y) hl hab d | |
| 1190 | - have hm := (physical_five_rows (C := modelAmplitude coord B y) | |
| 1191 | - (ell := Real.sqrt y.1) (U := modelVelocity A y) hlam | |
| 1192 | - (shapedAmplitude_ne_zero hB (y.2.2 / y.1 ^ PhysicalCoordinateBounds.D coord)) ha hab hl | |
| 1193 | - (Real.rpow_pos_of_pos hy (-A)).ne' d).2.1 | |
| 1194 | - exact scaledPrimitive_zero_of_support (mul_pos hl ha) (mul_lt_mul_of_pos_left hab hl) hs hm hr | |
| 1195 | - | |
| 1196 | -theorem primitive_kernel_zero {coord A B lam a b qlo qhi : ℝ} | |
| 1197 | - (hlam : 0 < lam) (hB : B ≠ 0) (ha : 0 < a) (hab : a < b) | |
| 1198 | - (hqlo : 0 < qlo) (d : Debt) {p : ChartPoint} (hq : chartQ coord p ∈ Icc qlo qhi) | |
| 1199 | - (hp : p ∉ supportBand a b qlo qhi) : | |
| 1200 | - chartKernel coord (primitiveModel coord A B lam a b d) p = 0 := by | |
| 1201 | - apply primitiveModel_zero hlam hB ha hab d (hqlo.trans_le hq.1) | |
| 1202 | - intro hs | |
| 1203 | - exact hp ⟨(mul_le_mul_of_nonneg_right (Real.sqrt_le_sqrt hq.1) ha.le).trans hs.1.le, | |
| 1204 | - hs.2.le.trans (mul_le_mul_of_nonneg_right (Real.sqrt_le_sqrt hq.2) (ha.trans hab).le)⟩ | |
| 1205 | - | |
| 1206 | 1103 | end PrimitiveKernels |
| 1207 | 1104 | |
| 1208 | 1105 | section PrimitiveClass |
| 1209 | 1106 | |
| 1210 | -theorem meanClass_sum_basis {D : Type*} [NormedAddCommGroup D] [NormedSpace ℝ D] | |
| 1211 | - (s : WeightedClasses.StripData D) {α : ℝ} {d : ℕ → D → Debt} | |
| 1212 | - (hd : WeightedClasses.UnweightedClass s α d) (k : Fin 3 → D → ℝ) | |
| 1213 | - (hk : ∀ i, WeightedClasses.MeanClass s 0 (fun _ => k i)) : | |
| 1214 | - WeightedClasses.MeanClass s α (fun n p => ∑ i : Fin 3, d n p i * k i p) := by | |
| 1215 | - have ht (i : Fin 3) : WeightedClasses.MemClass s (fun _ p => s.zeta p) α | |
| 1216 | - (fun n p => d n p i * k i p) := by | |
| 1217 | - have hdi := hd.map (ContinuousLinearMap.proj i) | |
| 1218 | - have h := hdi.mul (hk i) | |
| 1219 | - simp only [add_zero, one_mul] at h | |
| 1220 | - exact h | |
| 1221 | - exact WeightedClasses.MemClass.sum Finset.univ _ | |
| 1222 | - (fun _ p hp => s.zeta_nonneg p hp) (fun i _ => ht i) | |
| 1223 | - | |
| 1224 | -noncomputable def chartPotential (coord A B lam a b : ℝ) (d : ChartPoint → Debt) : ChartPoint → ℝ := | |
| 1225 | - fun p => ∑ i : Fin 3, d p i * chartKernel coord (primitiveModel coord A B lam a b (Pi.single i 1)) p | |
| 1226 | - | |
| 1227 | -noncomputable def chartStreamRadial (coord A B lam a b : ℝ) | |
| 1228 | - (w : PressureStream.Plane × PressureStream.Plane) (d : ChartPoint → Debt) : ChartPoint → ℝ := | |
| 1229 | - PressureStream.streamBeta w (chartPotential coord A B lam a b d) | |
| 1230 | - | |
| 1231 | -theorem primitive_kernel_meanClass (s : WeightedClasses.StripData ChartPoint) | |
| 1232 | - {coord A B lam a b qlo qhi rlo rhi : ℝ} (hc : 0 < coord) (hc1 : coord < 1) | |
| 1233 | - (hlam : 0 < lam) (ha : 0 < a) (hab : a < b) (hB : B ≠ 0) (hqlo : 0 < qlo) | |
| 1234 | - (hT : ∀ p ∈ s.domain, chartInput p ∈ PhysicalCoordinateBounds.positiveTime) | |
| 1235 | - (hq : ∀ p ∈ s.domain, chartQ coord p ∈ Icc qlo qhi) | |
| 1236 | - (hR : ∀ p ∈ s.domain, p.1 ∈ Icc rlo rhi) | |
| 1237 | - (hz : ∃ δ : ℝ, 0 < δ ∧ ∀ p ∈ s.domain, p ∈ supportBand a b qlo qhi → δ ≤ s.zeta p) | |
| 1238 | - (d : Debt) : | |
| 1239 | - WeightedClasses.MeanClass s 0 (fun _ => chartKernel coord (primitiveModel coord A B lam a b d)) := by | |
| 1240 | - exact meanClass_of_interior_support s _ | |
| 1241 | - (chartKernel_contDiffOn hc hc1 hT (primitiveModel_contDiffOn _ _ _ _ _ _ hB d)) | |
| 1242 | - (chartKernel_finiteJetBounds hc hc1 hqlo hT hq hR (primitiveModel_contDiffOn _ _ _ _ _ _ hB d)) | |
| 1243 | - (supportBand_isClosed a b qlo qhi) | |
| 1244 | - (fun p hp hnot => primitive_kernel_zero hlam hB ha hab hqlo d (hq p hp) hnot) hz | |
| 1245 | - | |
| 1246 | -/-- The primitive and its actual slow derivative satisfy the same all-jet | |
| 1247 | -weighted class. This proves the radial component bound as well. -/ | |
| 1248 | -theorem rank_stream_meanClass (s : WeightedClasses.StripData ChartPoint) | |
| 1249 | - {coord A B lam a b qlo qhi rlo rhi α : ℝ} (hc : 0 < coord) (hc1 : coord < 1) | |
| 1250 | - (hlam : 0 < lam) (ha : 0 < a) (hab : a < b) (hB : B ≠ 0) (hqlo : 0 < qlo) | |
| 1251 | - (hT : ∀ p ∈ s.domain, chartInput p ∈ PhysicalCoordinateBounds.positiveTime) | |
| 1252 | - (hq : ∀ p ∈ s.domain, chartQ coord p ∈ Icc qlo qhi) | |
| 1253 | - (hR : ∀ p ∈ s.domain, p.1 ∈ Icc rlo rhi) | |
| 1254 | - (hz : ∃ δ : ℝ, 0 < δ ∧ ∀ p ∈ s.domain, p ∈ supportBand a b qlo qhi → δ ≤ s.zeta p) | |
| 1255 | - (w : PressureStream.Plane × PressureStream.Plane) | |
| 1256 | - {d : ℕ → ChartPoint → Debt} (hd : WeightedClasses.UnweightedClass s α d) : | |
| 1257 | - WeightedClasses.MeanClass s α (fun n => chartPotential coord A B lam a b (d n)) ∧ | |
| 1258 | - WeightedClasses.MeanClass s α (fun n => chartStreamRadial coord A B lam a b w (d n)) := by | |
| 1259 | - have hpot := meanClass_sum_basis s hd | |
| 1260 | - (fun i => chartKernel coord (primitiveModel coord A B lam a b (Pi.single i 1))) | |
| 1261 | - (fun i => primitive_kernel_meanClass s hc hc1 hlam ha hab hB hqlo hT hq hR hz (Pi.single i 1)) | |
| 1262 | - refine ⟨hpot, ?_⟩ | |
| 1263 | - have hder := (hpot.directional (0, w)).map (-ContinuousLinearMap.id ℝ ℝ) | |
| 1264 | - simp only [chartStreamRadial, | |
| 1265 | - _root_.neg_apply, ContinuousLinearMap.id_apply] at hder ⊢ | |
| 1266 | - exact hder | |
| 1267 | - | |
| 1268 | 1107 | end PrimitiveClass |
| 1269 | 1108 | |
| 1270 | 1109 | section ExactPrimitive |
+0 −13 NavierStokes/MeanResidual.lean View file
| @@ -938,19 +938,6 @@ theorem exact_mean_balances {b m o : Components} {p pb pm : Scalar} | ||
| 938 | 938 | reynoldsAxial_total_sub hb hm ho hpb hpm hbi hmi hz hpavg Tz q, |
| 939 | 939 | reynoldsRadial_total_sub hb hm ho hpb hpm hbi hmi hz hpavg q⟩ |
| 940 | 940 | |
| 941 | -/-- The perturbation pressure is defined from its actual angular mean. -/ | |
| 942 | -noncomputable def meanPressure (p pb : Scalar) : Scalar := fun q => average p q - pb q | |
| 943 | - | |
| 944 | -def Represents (u : VelocityField) (w : Components) : Prop := | |
| 945 | - ∀ q : SpaceTime, u (q.1, CylindricalResidual.chart q.2) = | |
| 946 | - CylindricalResidual.frame (q.2 1) (velocity w q) | |
| 947 | - | |
| 948 | -theorem Represents.components {u : VelocityField} {w : Components} (h : Represents u w) : | |
| 949 | - CylindricalResidual.velocityComponents u = velocity w := by | |
| 950 | - funext q | |
| 951 | - change CylindricalResidual.frame (-(q.2 1)) (u (q.1, CylindricalResidual.chart q.2)) = velocity w q | |
| 952 | - rw [h q, CylindricalResidual.frame_inverse] | |
| 953 | - | |
| 954 | 941 | /-- Substitution of (24) retains, rather than discards, its full base error. -/ |
| 955 | 942 | theorem retain_base_error {Rtheta Rz Rr Btheta Bz Br Ttheta Tz Etheta Ez Drp gr |
| 956 | 943 | ftheta fz fr : ℝ} |
+0 −14 NavierStokes/ParticularWaveBounds.lean View file
| @@ -1399,20 +1399,6 @@ noncomputable def reindexStrip (e : E ≃ₗᵢ[ℝ] F) (s : StripData F) : Stri | ||
| 1399 | 1399 | zeta_smooth := s.zeta_smooth.comp e.toContinuousLinearEquiv.contDiff.contDiffOn (fun _ hx => hx) |
| 1400 | 1400 | zeta_nonneg := fun x hx => s.zeta_nonneg (e x) hx |
| 1401 | 1401 | |
| 1402 | -/-- Reassociation of coordinates preserves every actual derivative norm. -/ | |
| 1403 | -theorem memClass_reindex (e : E ≃ₗᵢ[ℝ] F) {s : StripData F} {w : ℕ → F → ℝ} {α : ℝ} | |
| 1404 | - {f : ℕ → F → H} (hf : MemClass s w α f) : | |
| 1405 | - MemClass (reindexStrip e s) (fun n x => w n (e x)) α (fun n x => f n (e x)) := by | |
| 1406 | - refine ⟨fun n x hx => hf.weight_nonneg n (e x) hx, | |
| 1407 | - fun n => (hf.smooth n).comp e.toContinuousLinearEquiv.contDiff.contDiffOn (fun _ hx => hx), ?_⟩ | |
| 1408 | - intro N | |
| 1409 | - obtain ⟨C, hC, m, hb⟩ := hf.bounds N | |
| 1410 | - refine ⟨C, hC, m, ?_⟩ | |
| 1411 | - intro n x hx j hj | |
| 1412 | - change ‖iteratedFDeriv ℝ j (f n ∘ e) x‖ ≤ _ | |
| 1413 | - rw [e.norm_iteratedFDeriv_comp_right] | |
| 1414 | - exact hb n (e x) hx j hj | |
| 1415 | - | |
| 1416 | 1402 | noncomputable def reindexVector (e : E ≃ₗᵢ[ℝ] F) (V : F → F) : E → E := fun x => e.symm (V (e x)) |
| 1417 | 1403 | |
| 1418 | 1404 | theorem along_reindex (e : E ≃ₗᵢ[ℝ] F) (V : F → F) {f : F → H} {x : E} |
+0 −34 NavierStokes/PartitionedCovariance.lean View file
| @@ -507,9 +507,6 @@ theorem signedLabel_injective (U : UnsignedLabel) : Function.Injective (signedLa | ||
| 507 | 507 | noncomputable def mask (D : ℝ) (U : UnsignedLabel) (q : ℝ) (x : SlotColoring.Position) : ℝ := |
| 508 | 508 | physicalMask D (signedLabel U 0) q x |
| 509 | 509 | |
| 510 | -theorem physicalMask_signedLabel (D : ℝ) (U : UnsignedLabel) (j : Fin 2) (q : ℝ) | |
| 511 | - (x : SlotColoring.Position) : physicalMask D (signedLabel U j) q x = mask D U q x := rfl | |
| 512 | - | |
| 513 | 510 | structure PairData {D h : ℝ} {vr vt : Plane} (sys : SlotSystem D h vr vt) (U : UnsignedLabel) where |
| 514 | 511 | pulses : Fin 2 → Pulse |
| 515 | 512 | ci : Vec2 |
| @@ -661,37 +658,6 @@ noncomputable def velocityExponent (h : ℝ) : ℝ := 1 / 2 + h | ||
| 661 | 658 | noncomputable def constructedSlotSystem (D h : ℝ) (hh : 0 ≤ h) (vr vt : Plane) : SlotSystem D h vr vt := |
| 662 | 659 | Classical.choice (exists_slotSystem D h hh vr vt) |
| 663 | 660 | |
| 664 | -noncomputable def signedTailLabel (N : ℕ) (a : UnsignedLabel × Fin 2) : SlotColoring.Label := | |
| 665 | - signedLabel (tailLabel N a.1) a.2 | |
| 666 | - | |
| 667 | -theorem signedTailLabel_injective (N : ℕ) : Function.Injective (signedTailLabel N) := by | |
| 668 | - intro a b hab | |
| 669 | - have hu : a.1 = b.1 := by | |
| 670 | - apply tailLabel_injective N | |
| 671 | - apply Prod.ext | |
| 672 | - · simpa only [signedTailLabel, signedLabel] using | |
| 673 | - congrArg (fun L : SlotColoring.Label => L.1) hab | |
| 674 | - · simpa only [signedTailLabel, signedLabel] using | |
| 675 | - congrArg (fun L : SlotColoring.Label => L.2.1) hab | |
| 676 | - apply Prod.ext hu | |
| 677 | - apply signedLabel_injective (tailLabel N b.1) | |
| 678 | - simpa only [signedTailLabel, hu] using hab | |
| 679 | - | |
| 680 | -noncomputable def assembledRadial {D h : ℝ} {vr vt : Plane} {sys : SlotSystem D h vr vt} {N : ℕ} | |
| 681 | - (P : (U : UnsignedLabel) → PairData sys (tailLabel N U)) | |
| 682 | - (hdet : vr.1 * vt.2 - vr.2 * vt.1 ≠ 0) (outer ε : UnsignedLabel → ℝ) | |
| 683 | - (T : UnsignedLabel → Vec2) (q : ℝ) (x : SlotColoring.Position) (Y : Plane) (θ : ℝ) : ℝ := | |
| 684 | - ∑ᶠ a : UnsignedLabel × Fin 2, (P a.1).radialWave hdet (outer a.1) (ε a.1) (T a.1) q x a.2 Y θ | |
| 685 | - | |
| 686 | -noncomputable def assembledTangent {D h : ℝ} {vr vt : Plane} {sys : SlotSystem D h vr vt} {N : ℕ} | |
| 687 | - (P : (U : UnsignedLabel) → PairData sys (tailLabel N U)) | |
| 688 | - (hdet : vr.1 * vt.2 - vr.2 * vt.1 ≠ 0) (outer ε : UnsignedLabel → ℝ) | |
| 689 | - (T : UnsignedLabel → Vec2) (q : ℝ) (x : SlotColoring.Position) (i : Fin 2) (Y : Plane) (θ : ℝ) : ℝ := | |
| 690 | - ∑ᶠ a : UnsignedLabel × Fin 2, (P a.1).tangentWave hdet (outer a.1) (ε a.1) (T a.1) q x a.2 i Y θ | |
| 691 | - | |
| 692 | -noncomputable def physicalOuter (h : ℝ) (N : ℕ) (U : UnsignedLabel) : ℝ := | |
| 693 | - ChartScales.Q (U.1 + N) ^ (-velocityExponent h) | |
| 694 | - | |
| 695 | 661 | noncomputable def physicalViscosity (h : ℝ) (N : ℕ) (U : UnsignedLabel) : ℝ := |
| 696 | 662 | ChartScales.epsilon h (U.1 + N) |
| 697 | 663 | |
+0 −7 NavierStokes/PeriodicPhaseAssembly.lean View file
| @@ -219,13 +219,6 @@ theorem phase_contDiff (g : Geometry) (w : ClockWindow) {A B : P → ℝ} | ||
| 219 | 219 | (hA.comp contDiff_fst).sub |
| 220 | 220 | (((periodicClock_contDiff g w).comp contDiff_snd).mul (hB.comp contDiff_fst)) |
| 221 | 221 | |
| 222 | -theorem phase_contDiffOn (g : Geometry) (w : ClockWindow) {A B : P → ℝ} {U : Set P} | |
| 223 | - (hA : ContDiffOn ℝ ∞ A U) (hB : ContDiffOn ℝ ∞ B U) : | |
| 224 | - ContDiffOn ℝ ∞ (phase g w.cutoff A B) (U ×ˢ univ) := | |
| 225 | - (hA.comp contDiffOn_fst (fun _ hx => hx.1)).sub | |
| 226 | - (((periodicClock_contDiff g w).comp_contDiffOn contDiffOn_snd).mul | |
| 227 | - (hB.comp contDiffOn_fst (fun _ hx => hx.1))) | |
| 228 | - | |
| 229 | 222 | /-- The angular coordinate is distinct from the auxiliary torus. -/ |
| 230 | 223 | noncomputable def angularLift (Φ : P × Plane → ℝ) (angular : ℝ) |
| 231 | 224 | (x : (P × ℝ) × Plane) : ℝ := Φ (x.1.1, x.2) + angular * x.1.2 |
+0 −10 NavierStokes/PeriodizedWaveBounds.lean View file
| @@ -400,16 +400,6 @@ theorem add (hf : LocalJets s w α K f) (hg : LocalJets s w α K g) | ||
| 400 | 400 | (majorant_mono_degree s w α hB (Nat.le_add_left _ _) n x (hw n x hx)) |
| 401 | 401 | _ = _ := by unfold majorant; ring |
| 402 | 402 | |
| 403 | -theorem fderiv (hf : LocalJets s w α K f) : | |
| 404 | - LocalJets s w α K (fun n i => _root_.fderiv ℝ (f n i)) := by | |
| 405 | - refine ⟨fun n i x hx hi => (hf.smooth n i x hx hi).fderiv_right (by simp), ?_⟩ | |
| 406 | - intro m | |
| 407 | - obtain ⟨C, hC, p, hb⟩ := hf.bounds (m + 1) | |
| 408 | - refine ⟨C, hC, p, ?_⟩ | |
| 409 | - intro n i x hx hi j hj | |
| 410 | - rw [norm_iteratedFDeriv_fderiv] | |
| 411 | - exact hb n i x hx hi (j + 1) (Nat.add_le_add_right hj 1) | |
| 412 | - | |
| 413 | 403 | theorem bilinear {u : ℕ → I → D → F} (hf : LocalJets s w α K f) |
| 414 | 404 | (hu : LocalJets s v β K u) (L : E →L[ℝ] F →L[ℝ] G) |
| 415 | 405 | (hw : ∀ n x, x ∈ s.domain → 0 ≤ w n x) |
+0 −30 NavierStokes/PhysicalMeanJetBounds.lean View file
| @@ -653,36 +653,6 @@ theorem CoherentFamily.angularField_zero_germ (D : CoherentFamily h degree N Δ | ||
| 653 | 653 | change D.field z • _ = _ |
| 654 | 654 | simp only [hz, zero_smul] |
| 655 | 655 | |
| 656 | -theorem CoherentFamily.angularField_jet_bound (D : CoherentFamily h degree N Δ U ℝ) | |
| 657 | - (hh : 0 < h) (hh1 : h < 1 / 2) (ha : 0 < a) (hab : a < b) (hN : 4 ≤ N) | |
| 658 | - (hU : IsOpen U) | |
| 659 | - (hcover : PhysicalMeanDomain.normalizedSlowDomain (2 * h) (1 / 4) 4 ⊆ U) | |
| 660 | - (hsm : ∀ n ≥ N, ContDiffOn ℝ ∞ (D.native n) (PhysicalMeanDomain.slowDomain U)) | |
| 661 | - (hs : NativeSupport h a b N U D.native) {gain : ℝ} (hj : NativeJets N U gain D.native) | |
| 662 | - (m : ℕ) : ∃ C : ℝ, 0 ≤ C ∧ ∀ w : SpaceTime, w ∈ preterminal → |w.1| ≤ 1 → | |
| 663 | - physicalQ h w ≤ ChartScales.Q N → | |
| 664 | - ‖iteratedFDeriv ℝ m D.angularField w‖ ≤ C * physicalQ h w ^ (gain - loss degree m) := by | |
| 665 | - obtain ⟨A, hA, e, hjet⟩ := hj m | |
| 666 | - obtain ⟨C, hC, hb⟩ := bandAngularField_jet_bound (b := 2 * b) | |
| 667 | - hh.le hh1.le (div_pos ha (by norm_num : (0 : ℝ) < 4)) Δ m gain degree e A hA | |
| 668 | - refine ⟨C, hC, ?_⟩ | |
| 669 | - intro w hw ht hsmall | |
| 670 | - have hq := physicalQ_pos hh hh1 hw | |
| 671 | - by_cases hts : w ∈ tsupport D.field | |
| 672 | - · obtain ⟨n, hn, hqn, hnq⟩ := exists_comparable_band N hq hsmall | |
| 673 | - have hlo : physicalQ h w / 2 ≤ ChartScales.Q n := by linarith | |
| 674 | - have hu := hcover (graph_slow_normalized hh hh1 n (D.gap n) hw hlo hnq.le) | |
| 675 | - have hann := D.annulus_on_tsupport hh hh1 ha hab hU hs n hn hw hu hlo hnq.le hts | |
| 676 | - rw [iteratedFDeriv_eq_of_eventuallyEq (D.angularField_germ hU n hn hw hu) m] | |
| 677 | - apply hb n (hN.trans hn) (D.gap n) (D.gap_le n hn) w hann ht | |
| 678 | - (physicalQ h w) hq hlo hnq.le (D.native n) | |
| 679 | - · exact SmoothNear.of_open (PhysicalMeanDomain.slowDomain_open hU) (hsm n hn) hu | |
| 680 | - · intro j hjm | |
| 681 | - simpa only [Real.rpow_natCast] using hjet n hn _ hu j hjm | |
| 682 | - · rw [jet_zero_off_tsupport _ _ | |
| 683 | - (notMem_tsupport_iff_eventuallyEq.mpr (D.angularField_zero_germ hts)), norm_zero] | |
| 684 | - positivity | |
| 685 | - | |
| 686 | 656 | theorem CoherentFamily.angularField_smoothAt (D : CoherentFamily h degree N Δ U ℝ) |
| 687 | 657 | (hh : 0 < h) (hh1 : h < 1 / 2) (ha : 0 < a) (hab : a < b) |
| 688 | 658 | (hU : IsOpen U) |
+0 −17 NavierStokes/PhysicalSignedWave.lean View file
| @@ -136,14 +136,6 @@ noncomputable def phase (K : ℝ) (x : Cylinder) : ℝ := | ||
| 136 | 136 | (C.angularMode / K) C.axialFrequency C.radialFrequency C.F C.G) |
| 137 | 137 | (C.angularMode / K) (PhysicalParticularWave.waveEquiv x) |
| 138 | 138 | |
| 139 | -theorem phase_smooth (K : ℝ) (hF : ContDiff ℝ ∞ C.F) (hG : ContDiff ℝ ∞ C.G) : | |
| 140 | - ContDiff ℝ ∞ (C.phase K) := by | |
| 141 | - apply (PeriodicPhaseAssembly.angularLift_contDiff ?_ _).comp | |
| 142 | - PhysicalParticularWave.waveEquiv.contDiff | |
| 143 | - exact PeriodicPhaseAssembly.phase_contDiff C.geometry C.window | |
| 144 | - ((contDiff_const.mul contDiff_snd.snd).add (contDiff_const.mul contDiff_fst)) | |
| 145 | - ((contDiff_const.mul hF).add (contDiff_const.mul hG)) | |
| 146 | - | |
| 147 | 139 | noncomputable def base (a : LinearWaveBounds.WaveCoefficients Cylinder) : |
| 148 | 140 | LinearWaveBounds.WaveCoefficients Cylinder := |
| 149 | 141 | { a with phase := fun n => C.phase (a.frequency n) } |
| @@ -549,15 +541,6 @@ noncomputable def coefficients (request : ℕ → Cylinder → Vec2) (j : Fin 2) | ||
| 549 | 541 | |
| 550 | 542 | noncomputable def cutoff : ℕ → Cylinder → ℝ := B.viewCutoff (fun n => V.map n) reference |
| 551 | 543 | |
| 552 | -noncomputable def wave (request : ℕ → Cylinder → Vec2) (j : Fin 2) (n : ℕ) : | |
| 553 | - Cylinder → ComplexVector := | |
| 554 | - vectorMode (V.frequency n) ((V.coefficients request j).phase n) | |
| 555 | - (CurlClassBounds.realizedCoefficient (V.frequency n) PhysicalResidualBridge.ScaledGraph.radius | |
| 556 | - (PhysicalResidualBridge.commonGraph (V.scale n) V.exponent (V.cover n)).radial | |
| 557 | - PhysicalResidualBridge.ScaledGraph.angular | |
| 558 | - (PhysicalResidualBridge.commonGraph (V.scale n) V.exponent (V.cover n)).axial | |
| 559 | - ((V.coefficients request j).phase n) (((V.coefficients request j).withCutoff V.cutoff).amplitude n)) | |
| 560 | - | |
| 561 | 544 | /-! ## Pressure is transported from the same reference coefficient -/ |
| 562 | 545 | |
| 563 | 546 | /-! ## The primary coefficient is an exact specialization -/ |
+0 −29 NavierStokes/PhysicalStageBounds.lean View file
| @@ -171,12 +171,6 @@ structure MeanData (h degree : ℝ) where | ||
| 171 | 171 | slow_growth : ∃ C : ℝ, 1 ≤ C ∧ ∃ p : ℕ, ∀ n ≥ firstBand, slow n ≤ C * ChartScales.S n ^ p |
| 172 | 172 | native_class : PhysicalMeanDomain.LocalBandJets region (ChartScales.epsilon h) slow alpha family.native |
| 173 | 173 | |
| 174 | -theorem MeanData.nativeJets {h degree : ℝ} (M : MeanData h degree) : | |
| 175 | - PhysicalMeanJetBounds.NativeJets M.firstBand M.region (h * M.alpha) M.family.native := by | |
| 176 | - obtain ⟨C, hC, p, hp⟩ := M.slow_growth | |
| 177 | - exact PhysicalMeanJetBounds.NativeJets.of_localBandJets M.native_class | |
| 178 | - (fun _ _ => rfl) M.slow_nonneg hC hp | |
| 179 | - | |
| 180 | 174 | theorem MeanData.field_smooth {h degree qbig : ℝ} (M : MeanData h degree) |
| 181 | 175 | (hh : 0 < h) (hh1 : h < 1 / 2) (hq : qbig ≤ ChartScales.Q M.firstBand) : |
| 182 | 176 | ContDiffOn ℝ ∞ M.family.field (CutStageEstimates.physicalSublevel h qbig) := by |
| @@ -193,16 +187,6 @@ theorem MeanData.angular_smooth {h degree qbig : ℝ} (M : MeanData h degree) | ||
| 193 | 187 | intro w hw |
| 194 | 188 | exact ⟨hw.1, hw.2.trans_le hq⟩ |
| 195 | 189 | |
| 196 | -theorem MeanData.angular_bound {h degree qbig : ℝ} (M : MeanData h degree) | |
| 197 | - (hh : 0 < h) (hh1 : h < 1 / 2) (hq : qbig ≤ ChartScales.Q M.firstBand) (m : ℕ) : | |
| 198 | - ∃ C : ℝ, 0 ≤ C ∧ ∀ w ∈ CutStageEstimates.physicalSublevel h qbig, | |
| 199 | - PhysicalWaveSum.physicalQ h w ≤ 1 → | |
| 200 | - ‖iteratedFDeriv ℝ m M.family.angularField w‖ ≤ | |
| 201 | - C * PhysicalWaveSum.physicalQ h w ^ (h * M.alpha - PhysicalMeanJetBounds.loss degree m) := by | |
| 202 | - obtain ⟨C, hC, hb⟩ := M.family.angularField_jet_bound hh hh1 M.lower_pos M.radii_lt M.band_four | |
| 203 | - M.region_open M.region_covers M.smooth M.support M.nativeJets m | |
| 204 | - exact ⟨C, hC, fun w hw hq1 => hb w hw.1 (abs_time_le_one hh hh1 hw.1 hq1) (hw.2.le.trans hq)⟩ | |
| 205 | - | |
| 206 | 190 | section GainComparison |
| 207 | 191 | |
| 208 | 192 | private theorem norm_bound_mono_loss {E : Type*} [NormedAddCommGroup E] {v : E} |
| @@ -241,19 +225,6 @@ theorem WaveData.pressure_bound_with_gain (W : WaveData h D I K Unit) | ||
| 241 | 225 | unfold PhysicalClassBounds.physicalLoss |
| 242 | 226 | linarith |
| 243 | 227 | |
| 244 | -theorem MeanData.angular_bound_with_gain {degree qbig : ℝ} (M : MeanData h degree) | |
| 245 | - (hh : 0 < h) (hh1 : h < 1 / 2) (hq : qbig ≤ ChartScales.Q M.firstBand) | |
| 246 | - (hg : g ≤ h * M.alpha + delta) (m : ℕ) : | |
| 247 | - ∃ C : ℝ, 0 ≤ C ∧ ∀ w ∈ CutStageEstimates.physicalSublevel h qbig, | |
| 248 | - PhysicalWaveSum.physicalQ h w ≤ 1 → | |
| 249 | - ‖iteratedFDeriv ℝ m M.family.angularField w‖ ≤ C * PhysicalWaveSum.physicalQ h w ^ | |
| 250 | - (g - (PhysicalMeanJetBounds.loss degree m + delta)) := by | |
| 251 | - obtain ⟨C, hC, hb⟩ := M.angular_bound hh hh1 hq m | |
| 252 | - refine ⟨C, hC, fun w hw hq1 => (hb w hw hq1).trans ?_⟩ | |
| 253 | - exact mul_le_mul_of_nonneg_left | |
| 254 | - (Real.rpow_le_rpow_of_exponent_ge (PhysicalWaveSum.physicalQ_pos hh hh1 hw.1) hq1 | |
| 255 | - (by linarith)) hC | |
| 256 | - | |
| 257 | 228 | end GainComparison |
| 258 | 229 | |
| 259 | 230 | section Assembly |
+0 −4 NavierStokes/PhysicalWaveSum.lean View file
| @@ -227,10 +227,6 @@ theorem physicalMask_support_subset (D : ℝ) (L : Label) : | ||
| 227 | 227 | obtain ⟨hd, hs⟩ := mul_ne_zero_iff.mp hz |
| 228 | 228 | exact ⟨subset_tsupport _ hd, subset_tsupport _ hs⟩ |
| 229 | 229 | |
| 230 | -theorem physicalMask_tsupport_subset (D : ℝ) (L : Label) : | |
| 231 | - tsupport (physicalMask D L) ⊆ labelRegion D L := | |
| 232 | - closure_minimal (physicalMask_support_subset D L) (labelRegion_closed D L) | |
| 233 | - | |
| 234 | 230 | theorem labelRegion_band {D : ℝ} {L : Label} {z : ℝ × Position} |
| 235 | 231 | (hz : z ∈ labelRegion D L) : |
| 236 | 232 | ChartScales.Q L.1 / 2 ≤ z.1 ∧ z.1 ≤ 2 * ChartScales.Q L.1 := by |
+0 −6 NavierStokes/PositiveRepresentatives.lean View file
| @@ -521,12 +521,6 @@ theorem exists_positive_reference_charts {h a b : ℝ} (hh : 0 < h) (hh1 : h < 1 | ||
| 521 | 521 | |
| 522 | 522 | /-! ## Compact bounds use the genuine extension, with physical jet equality -/ |
| 523 | 523 | |
| 524 | -theorem iteratedFDeriv_eq_of_eventuallyEq {E : Type*} [NormedAddCommGroup E] [NormedSpace ℝ E] | |
| 525 | - {f g : Slow → E} {p : Slow} (he : f =ᶠ[𝓝 p] g) (n : ℕ) : | |
| 526 | - iteratedFDeriv ℝ n f p = iteratedFDeriv ℝ n g p := by | |
| 527 | - have he' : f =ᶠ[𝓝[univ] p] g := by simpa only [nhdsWithin_univ] using he | |
| 528 | - simpa only [iteratedFDerivWithin_univ] using he'.iteratedFDerivWithin_eq he.self_of_nhds n | |
| 529 | - | |
| 530 | 524 | noncomputable def stablePullback (h exponent : ℝ) (f : (ℝ × ℝ) → ℝ) (p : Slow) : ℝ := |
| 531 | 525 | stableQ h p ^ exponent * f (stableInner h p) |
| 532 | 526 | |
+0 −4 NavierStokes/PrimaryCopyBounds.lean View file
| @@ -151,10 +151,6 @@ theorem bilinear {f : ι → D → E} {g : ι → D → F} | ||
| 151 | 151 | (B * V.growth i x ^ q * v i x) := by gcongr; linarith |
| 152 | 152 | _ = _ := by rw [pow_add]; ring |
| 153 | 153 | |
| 154 | -theorem mul {f g : ι → D → ℝ} (hf : NativeJets V w f) (hg : NativeJets V v g) : | |
| 155 | - NativeJets V (fun i x => w i x * v i x) (fun i x => f i x * g i x) := | |
| 156 | - hf.bilinear hg (ContinuousLinearMap.mul ℝ ℝ) | |
| 157 | - | |
| 158 | 154 | theorem smul {f : ι → D → ℝ} {g : ι → D → E} |
| 159 | 155 | (hf : NativeJets V w f) (hg : NativeJets V v g) : |
| 160 | 156 | NativeJets V (fun i x => w i x * v i x) (fun i x => f i x • g i x) := |
+0 −170 NavierStokes/PrimaryMaterialDefect.lean View file
| @@ -41,15 +41,6 @@ variable (hχ : NativeCoordinates s d χ) | ||
| 41 | 41 | |
| 42 | 42 | include hχ |
| 43 | 43 | |
| 44 | -theorem radialField (n : ℕ) {x : E} (hx : x ∈ s.domain) : | |
| 45 | - fderiv ℝ (χ n) x (d.radialField n x) = PhaseCalculus.eR := by | |
| 46 | - simp only [GraphDirections.radialField, map_add, map_smul, | |
| 47 | - hχ.radial n x hx, hχ.auxiliary n x hx, smul_zero, add_zero] | |
| 48 | - | |
| 49 | -theorem axialField (n : ℕ) {x : E} (hx : x ∈ s.domain) : | |
| 50 | - fderiv ℝ (χ n) x (d.axialField s n x) = s.epsilon n • PhaseCalculus.eZ := by | |
| 51 | - simp only [GraphDirections.axialField, map_smul, hχ.axial n x hx] | |
| 52 | - | |
| 53 | 44 | end NativeCoordinates |
| 54 | 45 | |
| 55 | 46 | section CommonPullback |
| @@ -109,93 +100,6 @@ noncomputable def expression (ε p pz x0 v b G FR GR FT GT FZ GZ : ℝ) : ℝ := | ||
| 109 | 100 | b * x0 - v * (b * (p * FR + pz * GR) - ε * (p * FT + pz * GT) + |
| 110 | 101 | ε * G * (p * FZ + pz * GZ)) |
| 111 | 102 | |
| 112 | -/-- A chart pullback of the actual phase has exactly the native backward | |
| 113 | -material derivative, using only the chart differential identities. -/ | |
| 114 | -theorem material_pullback | |
| 115 | - (χ : E → Slot) (ε p pz x0 : ℝ) (b F G : Slow → ℝ) | |
| 116 | - (Vr Vθ Vz Vf Vs : E → E) {x : E} | |
| 117 | - (hχ : DifferentiableAt ℝ χ x) (hε : ε ≠ 0) (hR : 0 < (χ x).1.1) | |
| 118 | - (hF : DifferentiableAt ℝ F (χ x).1) (hG : DifferentiableAt ℝ G (χ x).1) | |
| 119 | - (hr : fderiv ℝ χ x (Vr x) = PhaseCalculus.eR) | |
| 120 | - (hθ : fderiv ℝ χ x (Vθ x) = PhaseCalculus.eTheta) | |
| 121 | - (hz : fderiv ℝ χ x (Vz x) = ε • PhaseCalculus.eZ) | |
| 122 | - (hf : fderiv ℝ χ x (Vf x) = PhaseCalculus.eV) | |
| 123 | - (hs : fderiv ℝ χ x (Vs x) = PhaseCalculus.eT) : | |
| 124 | - LinearWaveResidual.materialPhaseDefect (fun y => (χ y).1.1) | |
| 125 | - (fun y => b (χ y).1) (fun y => F (χ y).1) (fun y => G (χ y).1) | |
| 126 | - Vr Vθ Vz (LinearWaveResidual.timeDirection ε Vf Vs) | |
| 127 | - (PhaseCalculus.phase ε p pz x0 F G ∘ χ) x = | |
| 128 | - expression ε p pz x0 (χ x).2.2 (b (χ x).1) (G (χ x).1) | |
| 129 | - (PhaseCalculus.slowR F (χ x).1) (PhaseCalculus.slowR G (χ x).1) | |
| 130 | - (PhaseCalculus.slowT F (χ x).1) (PhaseCalculus.slowT G (χ x).1) | |
| 131 | - (PhaseCalculus.slowZ F (χ x).1) (PhaseCalculus.slowZ G (χ x).1) := by | |
| 132 | - have hΦ := differentiableAt_phase ε p pz x0 F G (χ x) hF hG | |
| 133 | - have hd := fderiv_comp x hΦ hχ | |
| 134 | - have hcancel : PhaseCalculus.baseV F (χ x).1 / (χ x).1.1 = F (χ x).1 := by | |
| 135 | - unfold PhaseCalculus.baseV | |
| 136 | - field_simp | |
| 137 | - calc | |
| 138 | - _ = PhaseCalculus.backwardMaterialOp ε b F G (PhaseCalculus.phase ε p pz x0 F G) (χ x) := by | |
| 139 | - unfold LinearWaveResidual.materialPhaseDefect HarmonicCalculus.along | |
| 140 | - simp only [hd, ContinuousLinearMap.comp_apply, LinearWaveResidual.timeDirection, | |
| 141 | - map_sub, map_smul, hr, hθ, hz, hf, hs, smul_eq_mul] | |
| 142 | - unfold PhaseCalculus.backwardMaterialOp PhaseCalculus.signedMaterialOp | |
| 143 | - rw [hcancel] | |
| 144 | - ring | |
| 145 | - _ = _ := PhaseCalculus.backwardMaterialOp_phase ε p pz x0 b F G (χ x) hε hR hF hG | |
| 146 | - | |
| 147 | -/-- Direct class estimate for the exact expression. The six derivatives | |
| 148 | -here are scalar coefficient families; the primary specialization below | |
| 149 | -derives their classes from actual base-field jets. -/ | |
| 150 | -theorem expression_class {s : StripData E} | |
| 151 | - {p pz x0 v b G FR GR FT GT FZ GZ : ℕ → E → ℝ} | |
| 152 | - (hp : UnweightedClass s 0 p) (hpz : UnweightedClass s 0 pz) | |
| 153 | - (hx0 : UnweightedClass s 0 x0) (hv : UnweightedClass s 0 v) | |
| 154 | - (hb : UnweightedClass s 1 b) (hG : UnweightedClass s 0 G) | |
| 155 | - (hFR : UnweightedClass s 0 FR) (hGR : UnweightedClass s 0 GR) | |
| 156 | - (hFT : UnweightedClass s 0 FT) (hGT : UnweightedClass s 0 GT) | |
| 157 | - (hFZ : UnweightedClass s 0 FZ) (hGZ : UnweightedClass s 0 GZ) : | |
| 158 | - UnweightedClass s 1 (fun n x => expression (s.epsilon n) (p n x) (pz n x) | |
| 159 | - (x0 n x) (v n x) (b n x) (G n x) (FR n x) (GR n x) | |
| 160 | - (FT n x) (GT n x) (FZ n x) (GZ n x)) := by | |
| 161 | - have hR : UnweightedClass s 0 (fun n x => p n x * FR n x + pz n x * GR n x) := by | |
| 162 | - simpa only [zero_add] using (unweighted_mul hp hFR).add (unweighted_mul hpz hGR) | |
| 163 | - have hT : UnweightedClass s 0 (fun n x => p n x * FT n x + pz n x * GT n x) := by | |
| 164 | - simpa only [zero_add] using (unweighted_mul hp hFT).add (unweighted_mul hpz hGT) | |
| 165 | - have hZ : UnweightedClass s 0 (fun n x => p n x * FZ n x + pz n x * GZ n x) := by | |
| 166 | - simpa only [zero_add] using (unweighted_mul hp hFZ).add (unweighted_mul hpz hGZ) | |
| 167 | - have hbR : UnweightedClass s 1 (fun n x => b n x * | |
| 168 | - (p n x * FR n x + pz n x * GR n x)) := by | |
| 169 | - simpa only [add_zero] using unweighted_mul hb hR | |
| 170 | - have heT : UnweightedClass s 1 (fun n x => s.epsilon n * | |
| 171 | - (p n x * FT n x + pz n x * GT n x)) := by | |
| 172 | - simpa only [zero_add, smul_eq_mul] using hT.band_smul (band_epsilon s) | |
| 173 | - have heZ : UnweightedClass s 1 (fun n x => s.epsilon n * G n x * | |
| 174 | - (p n x * FZ n x + pz n x * GZ n x)) := by | |
| 175 | - simpa only [zero_add, smul_eq_mul, mul_assoc] using | |
| 176 | - (unweighted_mul hG hZ).band_smul (band_epsilon s) | |
| 177 | - have hinside := (class_sub hbR heT).add heZ | |
| 178 | - have hfirst : UnweightedClass s 1 (fun n x => b n x * x0 n x) := by | |
| 179 | - simpa only [add_zero] using unweighted_mul hb hx0 | |
| 180 | - have htail : UnweightedClass s 1 (fun n x => v n x * | |
| 181 | - (b n x * (p n x * FR n x + pz n x * GR n x) - | |
| 182 | - s.epsilon n * (p n x * FT n x + pz n x * GT n x) + | |
| 183 | - s.epsilon n * G n x * (p n x * FZ n x + pz n x * GZ n x))) := by | |
| 184 | - simpa only [zero_add] using unweighted_mul hv hinside | |
| 185 | - exact class_sub hfirst htail | |
| 186 | - | |
| 187 | -/-- Polynomial base jets compose with the actual slow coordinate map. | |
| 188 | -The angular coordinate is absent from this quantitative hypothesis. -/ | |
| 189 | -theorem polynomial_comp_unweighted | |
| 190 | - {s : StripData E} {U : PhaseJetBounds.Domain ℕ Slow} | |
| 191 | - {f : ℕ → Slow → ℝ} (hf : PhaseJetBounds.PolynomialJets U f) | |
| 192 | - {c : ℕ → E → Slow} (hc : PhaseJetBounds.PolynomialJets (PrimaryPulseBounds.phaseDomain s) c) | |
| 193 | - (hscale : ∀ n, U.scale n = s.slow n) | |
| 194 | - (hmap : ∀ n, MapsTo (c n) s.domain (U.carrier n)) : | |
| 195 | - UnweightedClass s 0 (fun n x => f n (c n x)) := | |
| 196 | - ((PrimaryPulseBounds.EnvelopeJets.of_polynomial hf).comp hc hscale hmap).memClass s | |
| 197 | - (fun _ => rfl) (fun _ => rfl) | |
| 198 | - | |
| 199 | 103 | section Primary |
| 200 | 104 | |
| 201 | 105 | variable {U : PhaseJetBounds.Domain ℕ Slow} |
| @@ -221,80 +125,6 @@ noncomputable def coefficients (P : PrimaryPulseBounds.PhaseConstruction U) | ||
| 221 | 125 | pressure := pressure |
| 222 | 126 | frequency := frequency |
| 223 | 127 | |
| 224 | -theorem defect_formula (P : PrimaryPulseBounds.PhaseConstruction U) | |
| 225 | - (s : StripData E) (d : GraphDirections E) (χ : ℕ → E → Slot) (b : ℕ → Slow → ℝ) | |
| 226 | - (amplitude : ℕ → E → HarmonicCalculus.ComplexVector) | |
| 227 | - (pressure : ℕ → E → ℂ) (frequency : ℕ → ℝ) | |
| 228 | - (hχ : NativeCoordinates s d χ) | |
| 229 | - (hmap : ∀ n, MapsTo (fun x => (χ n x).1) s.domain (U.carrier n)) | |
| 230 | - (heps : ∀ n, P.phase.epsilon n = s.epsilon n) | |
| 231 | - (n : ℕ) {x : E} (hx : x ∈ s.domain) (hR : 0 < (χ n x).1.1) : | |
| 232 | - (coefficients P b χ amplitude pressure frequency).defect s d n x = | |
| 233 | - expression (s.epsilon n) (P.phase.p n) (P.phase.pz n) (P.phase.x0 n) | |
| 234 | - (χ n x).2.2 (b n (χ n x).1) (P.phase.G n (χ n x).1) | |
| 235 | - (PhaseCalculus.slowR (P.phase.F n) (χ n x).1) | |
| 236 | - (PhaseCalculus.slowR (P.phase.G n) (χ n x).1) | |
| 237 | - (PhaseCalculus.slowT (P.phase.F n) (χ n x).1) | |
| 238 | - (PhaseCalculus.slowT (P.phase.G n) (χ n x).1) | |
| 239 | - (PhaseCalculus.slowZ (P.phase.F n) (χ n x).1) | |
| 240 | - (PhaseCalculus.slowZ (P.phase.G n) (χ n x).1) := by | |
| 241 | - have hF := ((P.baseF.smooth n).contDiffAt ((U.isOpen n).mem_nhds (hmap n hx))).differentiableAt (by simp) | |
| 242 | - have hG := ((P.baseG.smooth n).contDiffAt ((U.isOpen n).mem_nhds (hmap n hx))).differentiableAt (by simp) | |
| 243 | - have hm := material_pullback (χ n) (s.epsilon n) (P.phase.p n) (P.phase.pz n) (P.phase.x0 n) | |
| 244 | - (b n) (P.phase.F n) (P.phase.G n) (d.radialField n) (fun _ => d.angular) | |
| 245 | - (d.axialField s n) (d.fastField n) (fun _ => d.slow) | |
| 246 | - (hχ.differentiable n x hx) (s.epsilon_pos n).ne' hR hF hG | |
| 247 | - (hχ.radialField n hx) (hχ.angular n x hx) (hχ.axialField n hx) | |
| 248 | - (hχ.fast n x hx) (hχ.slow n x hx) | |
| 249 | - have hpull : pulledPhase P χ n = | |
| 250 | - PhaseCalculus.phase (s.epsilon n) (P.phase.p n) (P.phase.pz n) (P.phase.x0 n) | |
| 251 | - (P.phase.F n) (P.phase.G n) ∘ χ n := by | |
| 252 | - funext y | |
| 253 | - simp only [pulledPhase, heps n, Function.comp_apply] | |
| 254 | - simp only [WaveCoefficients.defect, coefficients] | |
| 255 | - rw [hpull] | |
| 256 | - exact hm | |
| 257 | - | |
| 258 | -theorem frozen_classes (P : PrimaryPulseBounds.PhaseConstruction U) (s : StripData E) : | |
| 259 | - UnweightedClass s 0 (fun n _ => P.phase.p n) ∧ | |
| 260 | - UnweightedClass s 0 (fun n _ => P.phase.pz n) ∧ | |
| 261 | - UnweightedClass s 0 (fun n _ => P.phase.x0 n) := by | |
| 262 | - have hconst (c : ℕ → ℝ) (hc : ∀ n, |c n| ≤ P.M) : | |
| 263 | - UnweightedClass s 0 (fun n _ => c n) := by | |
| 264 | - apply PrimaryPulseBounds.polynomial_memClass s | |
| 265 | - exact PhaseJetBounds.PolynomialJets.const_uniform c P.one_le_M | |
| 266 | - (fun n => by simpa only [Real.norm_eq_abs] using hc n) | |
| 267 | - exact ⟨hconst _ (fun n => (P.constants n).2.1), | |
| 268 | - hconst _ (fun n => (P.constants n).2.2.1), hconst _ (fun n => (P.constants n).2.2.2)⟩ | |
| 269 | - | |
| 270 | -/-- Actual all-order defect bounds from base jets and primitive chart | |
| 271 | -data. The six base-derivative classes are derived in the proof. -/ | |
| 272 | -theorem defect_class (P : PrimaryPulseBounds.PhaseConstruction U) | |
| 273 | - (s : StripData E) (d : GraphDirections E) (χ : ℕ → E → Slot) (b : ℕ → Slow → ℝ) | |
| 274 | - (amplitude : ℕ → E → HarmonicCalculus.ComplexVector) | |
| 275 | - (pressure : ℕ → E → ℂ) (frequency : ℕ → ℝ) | |
| 276 | - (hχ : NativeCoordinates s d χ) | |
| 277 | - (hslow : PhaseJetBounds.PolynomialJets (PrimaryPulseBounds.phaseDomain s) (fun n x => (χ n x).1)) | |
| 278 | - (hslot : UnweightedClass s 0 (fun n x => (χ n x).2.2)) | |
| 279 | - (hscale : ∀ n, U.scale n = s.slow n) | |
| 280 | - (hmap : ∀ n, MapsTo (fun x => (χ n x).1) s.domain (U.carrier n)) | |
| 281 | - (heps : ∀ n, P.phase.epsilon n = s.epsilon n) | |
| 282 | - (hR : ∀ n x, x ∈ s.domain → 0 < (χ n x).1.1) | |
| 283 | - (hb : UnweightedClass s 1 (fun n x => b n (χ n x).1)) : | |
| 284 | - UnweightedClass s 1 ((coefficients P b χ amplitude pressure frequency).defect s d) := by | |
| 285 | - obtain ⟨hp, hpz, hx0⟩ := frozen_classes P s | |
| 286 | - have hG := polynomial_comp_unweighted P.baseG hslow hscale hmap | |
| 287 | - have hFR := polynomial_comp_unweighted (P.baseF.directional (1, (0, 0))) hslow hscale hmap | |
| 288 | - have hGR := polynomial_comp_unweighted (P.baseG.directional (1, (0, 0))) hslow hscale hmap | |
| 289 | - have hFT := polynomial_comp_unweighted (P.baseF.directional (0, (0, 1))) hslow hscale hmap | |
| 290 | - have hGT := polynomial_comp_unweighted (P.baseG.directional (0, (0, 1))) hslow hscale hmap | |
| 291 | - have hFZ := polynomial_comp_unweighted (P.baseF.directional (0, (1, 0))) hslow hscale hmap | |
| 292 | - have hGZ := polynomial_comp_unweighted (P.baseG.directional (0, (1, 0))) hslow hscale hmap | |
| 293 | - have he := expression_class hp hpz hx0 hslot hb hG hFR hGR hFT hGT hFZ hGZ | |
| 294 | - apply class_congr he | |
| 295 | - intro n x hx | |
| 296 | - exact (defect_formula P s d χ b amplitude pressure frequency hχ hmap heps n hx (hR n x hx)).symm | |
| 297 | - | |
| 298 | 128 | end Primary |
| 299 | 129 | |
| 300 | 130 | end NavierStokes.PrimaryMaterialDefect |
+0 −5 NavierStokes/PrimaryPulseBounds.lean View file
| @@ -1336,11 +1336,6 @@ theorem PhaseConstruction.pulse_jets {D : Domain ι Slow} (p : PhaseConstruction | ||
| 1336 | 1336 | p.lam_pos p.u_pos p.L_pos p.interval p.viscosity_nonneg p.C_nonneg p.E_nonneg |
| 1337 | 1337 | p.damping_error p.modal_errors |
| 1338 | 1338 | |
| 1339 | -theorem PhaseConstruction.normal_jets {D : Domain ι Slow} (p : PhaseConstruction D) : | |
| 1340 | - PolynomialJets (D.slot p.V p.openV) p.phase.normal := | |
| 1341 | - (p.phase.polynomial_jets D p.V p.openV p.baseF p.baseG p.r_pos p.one_le_M p.constants | |
| 1342 | - p.epsilon_ne p.radius p.slot).1 | |
| 1343 | - | |
| 1344 | 1339 | theorem PhaseConstruction.normal_range {D : Domain ι Slow} (p : PhaseConstruction D) : |
| 1345 | 1340 | (∀ i, ∀ z ∈ (D.slot p.V p.openV).carrier i, p.b ≤ ‖p.phase.normal i z‖) ∧ |
| 1346 | 1341 | (∀ i, ∀ z ∈ (D.slot p.V p.openV).carrier i, ‖p.phase.normal i z‖ ≤ p.M ^ 2 + 3 * p.M) := by |
+0 −13 NavierStokes/ReservedPatches.lean View file
| @@ -377,19 +377,6 @@ theorem square_half_power (lam R : ℝ) (hR : 0 < R) : | ||
| 377 | 377 | congr 1 |
| 378 | 378 | ring |
| 379 | 379 | |
| 380 | -/-- This is the precise R-power interface used by positive-order and mean repairs. -/ | |
| 381 | -theorem radial_heated_fields (F : Profile) (XR : ℝ) (hXR : 0 < XR) | |
| 382 | - (c : ℝ → HeatedOutgoing.Coeff) {s : Slot} (hs : s ≠ .heat) | |
| 383 | - (eta : ℝ) {R : ℝ} (hR : R ∈ radialWindow F XR s) : | |
| 384 | - HeatedOutgoing.U F XR (R ^ 2 / 2, eta) = 0 ∧ | |
| 385 | - HeatedOutgoing.E F XR c (R ^ 2 / 2, eta) = | |
| 386 | - FiveRowRank.background F.data.core.lam (radialAmplitude F XR eta) R := by | |
| 387 | - have hp : 0 < R := (radialLeft_pos F XR hXR s).trans hR.1 | |
| 388 | - obtain ⟨hu, he⟩ := heated_fields F XR hXR c hs eta (radial_mem_window F XR hXR s hR) | |
| 389 | - refine ⟨hu, ?_⟩ | |
| 390 | - rw [he, square_half_power _ _ hp] | |
| 391 | - simp only [FiveRowRank.background, radialAmplitude, mul_assoc] | |
| 392 | - | |
| 393 | 380 | /-! ## Supported perturbations preserve the other complete open windows -/ |
| 394 | 381 | |
| 395 | 382 | end NavierStokes.ReservedPatches |
+0 −56 NavierStokes/SignedCopyBounds.lean View file
| @@ -626,33 +626,6 @@ theorem coefficients_jets (h : NativeCovariance s K H T) | ||
| 626 | 626 | local_projectedPressure hN hNdot hA hv' |
| 627 | 627 | (fun n x hx => mul_nonneg (Real.sqrt_nonneg _) (hW n x hx)) hb hl hu hK |
| 628 | 628 | |
| 629 | -/-- The cutoff is applied exactly once. These are the coefficients consumed | |
| 630 | -by `PeriodizedWaveBounds.CopyData.common_bounds_from_native`. -/ | |
| 631 | -theorem coefficients_localized_jets (h : NativeCovariance s K H T) | |
| 632 | - (hR : ∀ q, LocalJets s (fun _ x => s.zeta x) β K (fun n i x => R i n x q)) | |
| 633 | - (hm : LocalJets s (fun _ _ => 1) 0 K (fun n i => mask i n)) | |
| 634 | - (hv : LocalJets s W 0 K (fun n i => v i n)) | |
| 635 | - (hW : ∀ n x, x ∈ s.domain → 0 ≤ W n x) | |
| 636 | - (hN : LocalJets s (fun _ _ => 1) 0 K (fun n i => (a i).normal s (d i) n)) | |
| 637 | - (hNdot : LocalJets s (fun _ _ => 1) 0 K (fun n i => Ndot i n)) | |
| 638 | - (hA : LocalJets s (fun _ _ => 1) 0 K (fun n i => A i n)) | |
| 639 | - {b M : ℝ} (hb : 0 < b) | |
| 640 | - (hl : ∀ n i x, x ∈ s.domain → x ∈ K n i → b ≤ ‖(a i).normal s (d i) n x‖) | |
| 641 | - (hu : ∀ n i x, x ∈ s.domain → x ∈ K n i → ‖(a i).normal s (d i) n x‖ ≤ M) | |
| 642 | - (hK : UniformPrimaryWeights.UniformBandBound s (1 / 2) (fun i n => 1 / (a i).frequency n)) | |
| 643 | - {ψ : I → ℕ → D → ℝ} | |
| 644 | - (hψ : LocalJets s (fun _ _ => 1) 0 K (fun n i => ψ i n)) (j : Fin 2) : | |
| 645 | - LocalJets s (fun n x => Real.sqrt (s.zeta x) * W n x) (β + 1 / 2) K | |
| 646 | - (fun n i => ((SignedWaveUpdate.coefficients (a i) s (d i) (H i) (T i) (R i) | |
| 647 | - (mask i) (v i) (Ndot i) (A i) j).withCutoff (ψ i)).amplitude n) ∧ | |
| 648 | - LocalJets s (fun n x => Real.sqrt (s.zeta x) * W n x) (β + 1) K | |
| 649 | - (fun n i => ((SignedWaveUpdate.coefficients (a i) s (d i) (H i) (T i) (R i) | |
| 650 | - (mask i) (v i) (Ndot i) (A i) j).withCutoff (ψ i)).pressure n) := by | |
| 651 | - obtain ⟨ha, hp⟩ := coefficients_jets h hR hm hv hW hN hNdot hA hb hl hu hK j | |
| 652 | - have hw n x hx := mul_nonneg (Real.sqrt_nonneg (s.zeta x)) (hW n x hx) | |
| 653 | - refine ⟨hψ.smul ha hw, ?_⟩ | |
| 654 | - simpa only [LinearWaveBounds.WaveCoefficients.withCutoff, Complex.real_smul] using hψ.smul hp hw | |
| 655 | - | |
| 656 | 629 | end ActualCoefficients |
| 657 | 630 | |
| 658 | 631 | /-! ## Uniformity in an external label as well as the native copy -/ |
| @@ -803,35 +776,6 @@ theorem uniform_coefficients_jets (h : UniformNativeCovariance s K H T) | ||
| 803 | 776 | simp only [show β + 1 / 2 + 1 / 2 = β + 1 by ring] at hp |
| 804 | 777 | exact hp |
| 805 | 778 | |
| 806 | -/-- Uniform native data control the actual once-localized coefficients; | |
| 807 | -the constants can be passed directly to uniform periodization. -/ | |
| 808 | -theorem uniform_coefficients_localized_jets (h : UniformNativeCovariance s K H T) | |
| 809 | - (hR : ∀ q, UniformLocalJets s (fun _ _ x => s.zeta x) β K (fun l n i x => R l i n x q)) | |
| 810 | - (hm : UniformLocalJets s (fun _ _ _ => 1) 0 K (fun l n i => mask l i n)) | |
| 811 | - (hv : UniformLocalJets s W 0 K (fun l n i => v l i n)) | |
| 812 | - (hW : ∀ l n x, x ∈ s.domain → 0 ≤ W l n x) | |
| 813 | - (hN : UniformLocalJets s (fun _ _ _ => 1) 0 K (fun l n i => (a l i).normal s (d l i) n)) | |
| 814 | - (hNdot : UniformLocalJets s (fun _ _ _ => 1) 0 K (fun l n i => Ndot l i n)) | |
| 815 | - (hA : UniformLocalJets s (fun _ _ _ => 1) 0 K (fun l n i => A l i n)) | |
| 816 | - {b M : ℝ} (hb : 0 < b) | |
| 817 | - (hl : ∀ l n i x, x ∈ s.domain → x ∈ K l n i → b ≤ ‖(a l i).normal s (d l i) n x‖) | |
| 818 | - (hu : ∀ l n i x, x ∈ s.domain → x ∈ K l n i → ‖(a l i).normal s (d l i) n x‖ ≤ M) | |
| 819 | - (hK : UniformPrimaryWeights.UniformBandBound s (1 / 2) | |
| 820 | - (fun li : L × I => fun n => 1 / (a li.1 li.2).frequency n)) | |
| 821 | - {ψ : L → I → ℕ → D → ℝ} | |
| 822 | - (hψ : UniformLocalJets s (fun _ _ _ => 1) 0 K (fun l n i => ψ l i n)) (j : Fin 2) : | |
| 823 | - UniformLocalJets s (fun l n x => Real.sqrt (s.zeta x) * W l n x) (β + 1 / 2) K | |
| 824 | - (fun l n i => ((SignedWaveUpdate.coefficients (a l i) s (d l i) (H l i) (T l i) (R l i) | |
| 825 | - (mask l i) (v l i) (Ndot l i) (A l i) j).withCutoff (ψ l i)).amplitude n) ∧ | |
| 826 | - UniformLocalJets s (fun l n x => Real.sqrt (s.zeta x) * W l n x) (β + 1) K | |
| 827 | - (fun l n i => ((SignedWaveUpdate.coefficients (a l i) s (d l i) (H l i) (T l i) (R l i) | |
| 828 | - (mask l i) (v l i) (Ndot l i) (A l i) j).withCutoff (ψ l i)).pressure n) := by | |
| 829 | - obtain ⟨ha, hp⟩ := uniform_coefficients_jets h hR hm hv hW hN hNdot hA hb hl hu hK j | |
| 830 | - have hw l n x hx := mul_nonneg (Real.sqrt_nonneg (s.zeta x)) (hW l n x hx) | |
| 831 | - refine ⟨uniform_smul hψ ha hw, ?_⟩ | |
| 832 | - simpa only [LinearWaveBounds.WaveCoefficients.withCutoff, Complex.real_smul] using | |
| 833 | - uniform_smul hψ hp hw | |
| 834 | - | |
| 835 | 779 | end UniformActualCoefficients |
| 836 | 780 | |
| 837 | 781 | end NavierStokes.SignedCopyBounds |
+0 −20 NavierStokes/SignedCovariance.lean View file
| @@ -236,26 +236,6 @@ theorem signed_quotient_class {s : StripData E} {w g r : ℕ → E → ℝ} {β | ||
| 236 | 236 | ← Real.rpow_add (s.epsilon_pos n), add_neg_cancel, Real.rpow_zero, one_mul] |
| 237 | 237 | simpa only [zero_add, heq] using hq |
| 238 | 238 | |
| 239 | -/-- A companion primary square-root bound from the same genuine inputs. -/ | |
| 240 | -theorem sqrt_class {s : StripData E} {w g : ℕ → E → ℝ} | |
| 241 | - (hw : ∀ n x, x ∈ s.domain → 0 < w n x) | |
| 242 | - (hp : ∀ n x, x ∈ s.domain → 0 < g n x) | |
| 243 | - (hg : MemClass s w 0 g) (hlower : InverseControl s w g) : | |
| 244 | - MemClass s (fun n x => Real.sqrt (w n x)) 0 (fun n x => Real.sqrt (g n x)) := by | |
| 245 | - have hq := signed_quotient_class_zero hw hp hg hg hlower | |
| 246 | - have htwo : BandBound s 0 (fun _ => (2 : ℝ)) := by | |
| 247 | - refine ⟨2, by norm_num, 0, ?_⟩ | |
| 248 | - intro n | |
| 249 | - simp | |
| 250 | - have heq : (fun n x => (2 : ℝ) • (g n x / (2 * Real.sqrt (g n x)))) = | |
| 251 | - (fun n x => Real.sqrt (g n x)) := by | |
| 252 | - funext n x | |
| 253 | - simp only [smul_eq_mul] | |
| 254 | - calc | |
| 255 | - 2 * (g n x / (2 * Real.sqrt (g n x))) = g n x / Real.sqrt (g n x) := by ring | |
| 256 | - _ = _ := Real.div_sqrt | |
| 257 | - simpa only [zero_add, heq] using hq.band_smul htwo | |
| 258 | - | |
| 259 | 239 | theorem memClass_congrOn {s : StripData E} {w f g : ℕ → E → ℝ} {β : ℝ} |
| 260 | 240 | (hf : MemClass s w β f) (heq : ∀ n x, x ∈ s.domain → f n x = g n x) : |
| 261 | 241 | MemClass s w β g := by |
+0 −163 NavierStokes/SignedWaveUpdate.lean View file
| @@ -237,55 +237,6 @@ theorem shear_smul (R F G : D → ℝ) (Vr : D → D) (v : D → ComplexVector) | ||
| 237 | 237 | ext i |
| 238 | 238 | fin_cases i <;> simp [LinearWaveResidual.shear, Complex.real_smul] <;> ring |
| 239 | 239 | |
| 240 | -/-- Scaling the actual homogeneous projected ODE by the frozen inverse | |
| 241 | -coefficient gives the signed principal equation, with its pressure constructed | |
| 242 | -from the same normal and action. No signed equation is an input. -/ | |
| 243 | -theorem coefficients_principal_zero | |
| 244 | - {s : StripData D} {d : LinearWaveBounds.GraphDirections D} | |
| 245 | - (a : LinearWaveBounds.WaveCoefficients D) | |
| 246 | - {H : ℕ → D → Mat2} {T R : ℕ → D → Vec2} {mask : ℕ → D → ℝ} | |
| 247 | - {v Ndot : ℕ → D → Space} {A : ℕ → D → Space →L[ℝ] Space} | |
| 248 | - (hcov : CovarianceControl s H T) {β : ℝ} | |
| 249 | - (hR : ∀ i, MeanClass s β (fun n x => R n x i)) | |
| 250 | - (hm : UnweightedClass s 0 mask) {P : ℕ → D → ℝ} (hv : MemClass s P 0 v) | |
| 251 | - (hHf : FrozenAlong d.fast H) (hTf : FrozenAlong d.fast T) | |
| 252 | - (hRf : FrozenAlong d.fast R) (hmf : FrozenAlong d.fast mask) | |
| 253 | - (hK : ∀ n, a.frequency n ≠ 0) | |
| 254 | - (hode : ∀ n x, x ∈ s.domain → along (d.fastField n) (v n) x = | |
| 255 | - TangentProjection.projectedRhs (a.normal s d n x) (Ndot n x) (v n x) | |
| 256 | - (A n x (v n x)) 0 (s.epsilon n * a.frequency n ^ 2 * ‖a.normal s d n x‖ ^ 2)) | |
| 257 | - (haction : ∀ n x, x ∈ s.domain → CurlClassBounds.complexify (A n x (v n x)) = | |
| 258 | - LinearWaveResidual.shear (a.radius n) (a.frequencyBase n) (a.axialBase n) | |
| 259 | - (d.radialField n) (fun y => CurlClassBounds.complexify (v n y)) x) | |
| 260 | - (j : Fin 2) (n : ℕ) {x : D} (hx : x ∈ s.domain) : | |
| 261 | - (coefficients a s d H T R mask v Ndot A j).principal s d n x = 0 := by | |
| 262 | - have hs := signedScalar_class hcov hR hm j | |
| 263 | - have hsD := ((hs.smooth n).contDiffAt (s.isOpen_domain.mem_nhds hx)).differentiableAt (by simp) | |
| 264 | - have hvD := ((hv.smooth n).contDiffAt (s.isOpen_domain.mem_nhds hx)).differentiableAt (by simp) | |
| 265 | - have hfreeze := (signedScalar_frozen hHf hTf hRf hmf j).derivative n hsD | |
| 266 | - have hfast : along (d.fastField n) (signedScalar s H T R mask j n) x = 0 := by | |
| 267 | - simp only [along, LinearWaveBounds.GraphDirections.fastField, map_smul, hfreeze, smul_zero] | |
| 268 | - have hd : along (d.fastField n) (signedVector s H T R mask v j n) x = | |
| 269 | - TangentProjection.projectedRhs (a.normal s d n x) (Ndot n x) | |
| 270 | - (signedVector s H T R mask v j n x) (A n x (signedVector s H T R mask v j n x)) | |
| 271 | - 0 (s.epsilon n * a.frequency n ^ 2 * ‖a.normal s d n x‖ ^ 2) := by | |
| 272 | - change along (d.fastField n) (fun y => signedScalar s H T R mask j n y • v n y) x = _ | |
| 273 | - rw [along_smul _ hsD hvD, hfast, zero_smul, zero_add, hode n x hx] | |
| 274 | - simp only [signedVector, map_smul, projectedRhs_smul] | |
| 275 | - have hact : CurlClassBounds.complexify (A n x (signedVector s H T R mask v j n x)) = | |
| 276 | - LinearWaveResidual.shear (a.radius n) (a.frequencyBase n) (a.axialBase n) | |
| 277 | - (d.radialField n) (fun y => CurlClassBounds.complexify (signedVector s H T R mask v j n y)) x := by | |
| 278 | - simp only [signedVector, map_smul] | |
| 279 | - rw [shear_smul, haction n x hx] | |
| 280 | - have hh := ParticularWaveBounds.principal_eq_neg_source_of_projected | |
| 281 | - (s.epsilon n) (a.frequency n) (hK n) (a.radius n) (a.frequencyBase n) (a.axialBase n) | |
| 282 | - (a.phase n) (d.radialField n) (fun _ => d.angular) (d.axialField s n) (d.fastField n) | |
| 283 | - (signedVector s H T R mask v j n) (Ndot n) | |
| 284 | - (fun y => A n y (signedVector s H T R mask v j n y)) (fun _ => 0) | |
| 285 | - (hsD.smul hvD) hd hact | |
| 286 | - simpa only [coefficients, homogeneousCoefficients, LinearWaveBounds.WaveCoefficients.principal, | |
| 287 | - LinearWaveBounds.WaveCoefficients.normal, map_zero, neg_zero] using hh | |
| 288 | - | |
| 289 | 240 | /-! ## Instantiation with the constructed primary phase and pulse -/ |
| 290 | 241 | |
| 291 | 242 | noncomputable def phaseMatrix {U : PhaseJetBounds.Domain ℕ PhaseCalculus.Slow} |
| @@ -300,23 +251,6 @@ noncomputable def phaseFundamental {U : PhaseJetBounds.Domain ℕ PhaseCalculus. | ||
| 300 | 251 | fun n x => PrimaryPulseBounds.normalizedPulse ((F j).frame n) |
| 301 | 252 | ((F j).lam n) ((F j).u n) ((F j).L n) (χ n x) |
| 302 | 253 | |
| 303 | -noncomputable def phaseEnvelope {U : PhaseJetBounds.Domain ℕ PhaseCalculus.Slow} | |
| 304 | - (F : Fin 2 → PrimaryPulseBounds.PhaseConstruction U) | |
| 305 | - (χ : ℕ → D → PhaseCalculus.Slow × ℝ) (j : Fin 2) : ℕ → D → ℝ := | |
| 306 | - fun n x => PrimaryPulseBounds.referenceP ((F j).lam n) ((F j).u n) | |
| 307 | - ((F j).L n) ((F j).L n * (χ n x).2) | |
| 308 | - | |
| 309 | -theorem phaseFundamental_class {s : StripData D} | |
| 310 | - {U : PhaseJetBounds.Domain ℕ PhaseCalculus.Slow} | |
| 311 | - (F : Fin 2 → PrimaryPulseBounds.PhaseConstruction U) | |
| 312 | - (χ : ℕ → D → PhaseCalculus.Slow × ℝ) | |
| 313 | - (hscale : ∀ n, U.scale n = s.slow n) | |
| 314 | - (hχ : PhaseJetBounds.PolynomialJets (PrimaryPulseBounds.phaseDomain s) χ) | |
| 315 | - (hmap : ∀ n x, x ∈ s.domain → χ n x ∈ U.carrier n ×ˢ Ioo (0 : ℝ) 1) | |
| 316 | - (j : Fin 2) : MemClass s (phaseEnvelope F χ j) 0 (phaseFundamental F χ j) := by | |
| 317 | - have hp := (F j).pulse_jets.comp hχ hscale hmap | |
| 318 | - exact hp.memClass s (fun _ => rfl) (fun _ => rfl) | |
| 319 | - | |
| 320 | 254 | /-! ## Literal harmonic blocks, with the same carrier metadata -/ |
| 321 | 255 | |
| 322 | 256 | omit [NormedAddCommGroup D] [NormedSpace ℝ D] in |
| @@ -572,86 +506,6 @@ theorem angularAverage_re_field (c : HarmonicFields.Coefficients D) (k : ℝ) | ||
| 572 | 506 | |
| 573 | 507 | /-! ## Actual homogeneous ODE under the native clock -/ |
| 574 | 508 | |
| 575 | -theorem normalizedPulse_along | |
| 576 | - {Q : Type} [NormedAddCommGroup Q] [NormedSpace ℝ Q] | |
| 577 | - (f : PrimaryODE.FrameData Q) (lam u : ℝ) {L : ℝ} (hL : 0 < L) | |
| 578 | - (U : Set Q) (hA : ContinuousOn (f.coefficient 1) (U ×ˢ Icc 0 L)) | |
| 579 | - (χ : D → Q × ℝ) (V : D → D) {x : D} | |
| 580 | - (hp : (χ x).1 ∈ U) (ht : (χ x).2 ∈ Ioo (0 : ℝ) 1) | |
| 581 | - (hk : f.Kinematics (χ x).1 (Icc 0 L)) | |
| 582 | - (hv : DifferentiableAt ℝ (fun y => PrimaryPulseBounds.normalizedPulse f lam u L (χ y)) x) | |
| 583 | - (hclock : ∀ t : ℝ, χ (x + t • V x) = ((χ x).1, (χ x).2 + t / L)) : | |
| 584 | - along V (fun y => PrimaryPulseBounds.normalizedPulse f lam u L (χ y)) x = | |
| 585 | - TangentProjection.projectedRhs (f.normal ((χ x).1,L*(χ x).2)) | |
| 586 | - (f.normalMotion ((χ x).1,L*(χ x).2)) (PrimaryPulseBounds.normalizedPulse f lam u L (χ x)) | |
| 587 | - (MovingFrameODE.baseAction (f.F ((χ x).1,L*(χ x).2)) (f.shear ((χ x).1,L*(χ x).2)) | |
| 588 | - (PrimaryPulseBounds.normalizedPulse f lam u L (χ x))) 0 (f.viscosity ((χ x).1,L*(χ x).2)) := by | |
| 589 | - have hd := PrimaryPulseBounds.normalizedPulse_hasDerivAt f lam u hL U hA hp hk ht | |
| 590 | - have ht' : HasDerivAt (fun t : ℝ => (χ x).2 + t / L) (1 / L) 0 := by | |
| 591 | - simpa using (((hasDerivAt_id (0 : ℝ)).div_const L).const_add (χ x).2) | |
| 592 | - have hd' : HasDerivAt (fun t : ℝ => PrimaryPulseBounds.normalizedPulse f lam u L | |
| 593 | - ((χ x).1, (χ x).2 + t / L)) ((1 / L) • (L • | |
| 594 | - TangentProjection.projectedRhs (f.normal ((χ x).1,L*(χ x).2)) | |
| 595 | - (f.normalMotion ((χ x).1,L*(χ x).2)) (PrimaryPulseBounds.normalizedPulse f lam u L (χ x)) | |
| 596 | - (MovingFrameODE.baseAction (f.F ((χ x).1,L*(χ x).2)) (f.shear ((χ x).1,L*(χ x).2)) | |
| 597 | - (PrimaryPulseBounds.normalizedPulse f lam u L (χ x))) 0 (f.viscosity ((χ x).1,L*(χ x).2)))) 0 := by | |
| 598 | - simpa only [Prod.mk.eta, Function.comp_def] using hd.scomp_of_eq (0 : ℝ) ht' (by simp) | |
| 599 | - have hl : HasDerivAt (fun t : ℝ => x + t • V x) (V x) 0 := by | |
| 600 | - simpa using ((hasDerivAt_id (0 : ℝ)).smul_const (V x)).const_add x | |
| 601 | - have hv' : HasDerivAt (fun t : ℝ => PrimaryPulseBounds.normalizedPulse f lam u L (χ (x+t•V x))) | |
| 602 | - (along V (fun y => PrimaryPulseBounds.normalizedPulse f lam u L (χ y)) x) 0 := by | |
| 603 | - simpa only [along, Function.comp_def] using hv.hasFDerivAt.comp_hasDerivAt_of_eq (0 : ℝ) hl (by simp) | |
| 604 | - simp only [hclock] at hv' | |
| 605 | - have he := hv'.unique hd' | |
| 606 | - simpa only [smul_smul, one_div, inv_mul_cancel₀ hL.ne', one_smul, Prod.mk.eta] using he | |
| 607 | - | |
| 608 | -omit [NormedAddCommGroup D] [NormedSpace ℝ D] in | |
| 609 | -theorem phaseFundamental_tangent {U : PhaseJetBounds.Domain ℕ PhaseCalculus.Slow} | |
| 610 | - (F : Fin 2 → PrimaryPulseBounds.PhaseConstruction U) | |
| 611 | - (χ : ℕ → D → PhaseCalculus.Slow × ℝ) (j : Fin 2) (n : ℕ) (x : D) : | |
| 612 | - ⟪((F j).frame n).normal ((χ n x).1, (F j).L n * (χ n x).2), phaseFundamental F χ j n x⟫_ℝ = 0 := by | |
| 613 | - exact ((F j).frame n).ambient_tangent _ _ | |
| 614 | - | |
| 615 | -theorem phase_coefficients_principal_zero | |
| 616 | - {s : StripData D} {d : LinearWaveBounds.GraphDirections D} | |
| 617 | - (a : LinearWaveBounds.WaveCoefficients D) | |
| 618 | - {U : PhaseJetBounds.Domain ℕ PhaseCalculus.Slow} | |
| 619 | - (F : Fin 2 → PrimaryPulseBounds.PhaseConstruction U) (pref : Fin 2 → ℕ → ℝ) | |
| 620 | - (χ : ℕ → D → PhaseCalculus.Slow × ℝ) {T R : ℕ → D → Vec2} {mask : ℕ → D → ℝ} | |
| 621 | - {Ndot : ℕ → D → Space} {A : ℕ → D → Space →L[ℝ] Space} | |
| 622 | - (hscale : ∀ n, U.scale n = s.slow n) | |
| 623 | - (hχ : PhaseJetBounds.PolynomialJets (PrimaryPulseBounds.phaseDomain s) χ) | |
| 624 | - (hmap : ∀ n x, x ∈ s.domain → χ n x ∈ U.carrier n ×ˢ Ioo (0 : ℝ) 1) | |
| 625 | - (hcov : CovarianceControl s (phaseMatrix F pref χ) T) {β : ℝ} | |
| 626 | - (hR : ∀ i, MeanClass s β (fun n x => R n x i)) (hm : UnweightedClass s 0 mask) | |
| 627 | - (hHf : FrozenAlong d.fast (phaseMatrix F pref χ)) (hTf : FrozenAlong d.fast T) | |
| 628 | - (hRf : FrozenAlong d.fast R) (hmf : FrozenAlong d.fast mask) | |
| 629 | - (hK : ∀ n, a.frequency n ≠ 0) (j : Fin 2) | |
| 630 | - (hcoef : ∀ n, ContinuousOn (((F j).frame n).coefficient 1) (U.carrier n ×ˢ Icc 0 ((F j).L n))) | |
| 631 | - (hkin : ∀ n x, x ∈ s.domain → ((F j).frame n).Kinematics (χ n x).1 (Icc 0 ((F j).L n))) | |
| 632 | - (hclock : ∀ n x, x ∈ s.domain → ∀ t : ℝ, | |
| 633 | - χ n (x + t • d.fastField n x) = ((χ n x).1, (χ n x).2 + t / (F j).L n)) | |
| 634 | - (hnormal : ∀ n x, x ∈ s.domain → ((F j).frame n).normal ((χ n x).1,(F j).L n*(χ n x).2) = a.normal s d n x) | |
| 635 | - (hmotion : ∀ n x, x ∈ s.domain → ((F j).frame n).normalMotion ((χ n x).1,(F j).L n*(χ n x).2) = Ndot n x) | |
| 636 | - (haction : ∀ n x, x ∈ s.domain → ∀ z : Space, | |
| 637 | - MovingFrameODE.baseAction (((F j).frame n).F ((χ n x).1,(F j).L n*(χ n x).2)) | |
| 638 | - (((F j).frame n).shear ((χ n x).1,(F j).L n*(χ n x).2)) z = A n x z) | |
| 639 | - (hdamp : ∀ n x, x ∈ s.domain → ((F j).frame n).viscosity ((χ n x).1,(F j).L n*(χ n x).2) = | |
| 640 | - s.epsilon n * a.frequency n ^ 2 * ‖a.normal s d n x‖ ^ 2) | |
| 641 | - (hphysical : ∀ n x, x ∈ s.domain → CurlClassBounds.complexify (A n x (phaseFundamental F χ j n x)) = | |
| 642 | - LinearWaveResidual.shear (a.radius n) (a.frequencyBase n) (a.axialBase n) (d.radialField n) | |
| 643 | - (fun y => CurlClassBounds.complexify (phaseFundamental F χ j n y)) x) : | |
| 644 | - ∀ n x, x ∈ s.domain → | |
| 645 | - (coefficients a s d (phaseMatrix F pref χ) T R mask (phaseFundamental F χ j) Ndot A j).principal s d n x = 0 := by | |
| 646 | - have hv := phaseFundamental_class F χ hscale hχ hmap j | |
| 647 | - apply coefficients_principal_zero a hcov hR hm hv hHf hTf hRf hmf hK _ hphysical j | |
| 648 | - intro n x hx | |
| 649 | - have hd := normalizedPulse_along ((F j).frame n) ((F j).lam n) ((F j).u n) ((F j).L_pos n) | |
| 650 | - (U.carrier n) (hcoef n) (χ n) (d.fastField n) (hmap n x hx).1 (hmap n x hx).2 (hkin n x hx) | |
| 651 | - (((hv.smooth n).contDiffAt (s.isOpen_domain.mem_nhds hx)).differentiableAt (by simp)) (hclock n x hx) | |
| 652 | - simp only [phaseFundamental, hnormal n x hx, hmotion n x hx, haction n x hx, hdamp n x hx] at hd ⊢ | |
| 653 | - exact hd | |
| 654 | - | |
| 655 | 509 | /-! ## The constructed curl, pressure, and retained linear error -/ |
| 656 | 510 | |
| 657 | 511 | theorem signed_bounds |
| @@ -702,18 +556,6 @@ theorem normalDot_complexify (N v : Space) : | ||
| 702 | 556 | normalDot N (CurlClassBounds.complexify v) = (⟪N,v⟫_ℝ : ℂ) := by |
| 703 | 557 | simp [normalDot, PiLp.inner_apply, Fin.sum_univ_three, mul_comm] |
| 704 | 558 | |
| 705 | -theorem coefficients_tangent {s : StripData D} {d : LinearWaveBounds.GraphDirections D} | |
| 706 | - (a : LinearWaveBounds.WaveCoefficients D) | |
| 707 | - (H : ℕ → D → Mat2) (T R : ℕ → D → Vec2) (mask : ℕ → D → ℝ) | |
| 708 | - (v Ndot : ℕ → D → Space) (A : ℕ → D → Space →L[ℝ] Space) | |
| 709 | - (ht : ∀ n x, x ∈ s.domain → ⟪a.normal s d n x, v n x⟫_ℝ = 0) (j : Fin 2) | |
| 710 | - (n : ℕ) {x : D} (hx : x ∈ s.domain) : | |
| 711 | - normalDot ((coefficients a s d H T R mask v Ndot A j).normal s d n x) | |
| 712 | - ((coefficients a s d H T R mask v Ndot A j).amplitude n x) = 0 := by | |
| 713 | - change normalDot (a.normal s d n x) (CurlClassBounds.complexify (signedScalar s H T R mask j n x • v n x)) = 0 | |
| 714 | - rw [normalDot_complexify, inner_smul_right, ht n x hx, mul_zero] | |
| 715 | - rfl | |
| 716 | - | |
| 717 | 559 | /-! ## The same native pulse blocks in the exact covariance identity -/ |
| 718 | 560 | |
| 719 | 561 | section NativeBlocks |
| @@ -733,11 +575,6 @@ end NativeBlocks | ||
| 733 | 575 | |
| 734 | 576 | /-! ## Exported blocks for the correction state -/ |
| 735 | 577 | |
| 736 | -noncomputable def gaussianBlock (a : LinearWaveBounds.WaveCoefficients (D × ℝ)) | |
| 737 | - (d : LinearWaveBounds.GraphDirections (D × ℝ)) (ψ : ℕ → D × ℝ → ℝ) | |
| 738 | - (kp : ℕ → ℤ) : CorrectionState.HarmonicBlock D := | |
| 739 | - ErrorHarmonics.gaussianBlock d ψ a.amplitude 0 1 a.frequency (fun n x => a.phase n (x,0)) kp | |
| 740 | - | |
| 741 | 578 | /-! The realization hypothesis below concerns only the already constructed |
| 742 | 579 | unit pulse and chart. It never identifies or bounds a signed output. The |
| 743 | 580 | canonical unit pulse and its matrix are identified by the two preceding |
+0 −11 NavierStokes/SmoothLoop.lean View file
| @@ -364,13 +364,6 @@ def phaseHomeomorph (d : CircleDensity) : ℝ ≃ₜ ℝ := | ||
| 364 | 364 | theorem phaseHomeomorph_apply (d : CircleDensity) (θ : ℝ) : |
| 365 | 365 | phaseHomeomorph d θ = phaseMap d θ := rfl |
| 366 | 366 | |
| 367 | -theorem phaseInverse_contDiff (d : CircleDensity) : | |
| 368 | - ContDiff ℝ (∞ : WithTop ℕ∞) (phaseHomeomorph d).symm := by | |
| 369 | - apply (phaseHomeomorph d).contDiff_symm_deriv | |
| 370 | - (fun θ => ne_of_gt (d.positive θ)) | |
| 371 | - · exact phaseMap_hasDerivAt d | |
| 372 | - · exact phaseMap_contDiff d | |
| 373 | - | |
| 374 | 367 | theorem phaseInverse_add_one (d : CircleDensity) (φ : ℝ) : |
| 375 | 368 | (phaseHomeomorph d).symm (φ + 1) = (phaseHomeomorph d).symm φ + 2 * Real.pi := by |
| 376 | 369 | apply (phaseHomeomorph d).injective |
| @@ -381,10 +374,6 @@ theorem phaseInverse_add_one (d : CircleDensity) (φ : ℝ) : | ||
| 381 | 374 | def rephase (d : CircleDensity) (f : ℝ → ℝ) (φ : ℝ) : ℝ := |
| 382 | 375 | f ((phaseHomeomorph d).symm φ) |
| 383 | 376 | |
| 384 | -theorem rephase_contDiff (d : CircleDensity) (f : ℝ → ℝ) | |
| 385 | - (hf : ContDiff ℝ (∞ : WithTop ℕ∞) f) : | |
| 386 | - ContDiff ℝ (∞ : WithTop ℕ∞) (rephase d f) := hf.comp (phaseInverse_contDiff d) | |
| 387 | - | |
| 388 | 377 | theorem rephase_periodic (d : CircleDensity) (f : ℝ → ℝ) |
| 389 | 378 | (hf : Function.Periodic f (2 * Real.pi)) : Function.Periodic (rephase d f) 1 := by |
| 390 | 379 | intro φ |
+0 −124 NavierStokes/StateReindex.lean View file
| @@ -96,43 +96,6 @@ noncomputable def state (e : D ≃ₗᵢ[ℝ] E) (u : CorrectionState.State E) : | ||
| 96 | 96 | oscillatoryPressure := fun n x => u.oscillatoryPressure n (cylinder e x) |
| 97 | 97 | errors := errors e u.errors |
| 98 | 98 | |
| 99 | -theorem fderiv_field (e : D ≃ₗᵢ[ℝ] E) (f : MeanIncrementBounds.Field E) | |
| 100 | - (n : ℕ) (x : D) (v : E) : | |
| 101 | - fderiv ℝ (field e f n) x (e.symm v) = fderiv ℝ (f n) (e x) v := by | |
| 102 | - change fderiv ℝ (fun y => f n (e y)) x (e.symm v) = _ | |
| 103 | - rw [fderiv_pull, e.apply_symm_apply] | |
| 104 | - | |
| 105 | -theorem dr_pull (e : D ≃ₗᵢ[ℝ] E) (o : MeanIncrementBounds.Operators E) | |
| 106 | - (f : MeanIncrementBounds.Field E) : (operators e o).dr (field e f) = field e (o.dr f) := by | |
| 107 | - funext n x | |
| 108 | - simp only [MeanIncrementBounds.Operators.dr, WeightedClasses.graphDerivative, | |
| 109 | - operators, fderiv_field, field] | |
| 110 | - | |
| 111 | -theorem dz_pull (e : D ≃ₗᵢ[ℝ] E) (o : MeanIncrementBounds.Operators E) | |
| 112 | - (f : MeanIncrementBounds.Field E) : (operators e o).dz (field e f) = field e (o.dz f) := by | |
| 113 | - funext n x | |
| 114 | - simp only [MeanIncrementBounds.Operators.dz, operators, fderiv_field, field] | |
| 115 | - | |
| 116 | -theorem time_pull (e : D ≃ₗᵢ[ℝ] E) (o : MeanIncrementBounds.Operators E) | |
| 117 | - (f : MeanIncrementBounds.Field E) : (operators e o).time (field e f) = field e (o.time f) := by | |
| 118 | - funext n x | |
| 119 | - simp only [MeanIncrementBounds.Operators.time, MeanIncrementBounds.Operators.slowTime, | |
| 120 | - MeanIncrementBounds.Operators.fastTime, operators, fderiv_field, field, Pi.add_apply] | |
| 121 | - | |
| 122 | -theorem radialDiv_pull (e : D ≃ₗᵢ[ℝ] E) (o : MeanIncrementBounds.Operators E) | |
| 123 | - (k : ℝ) (f : MeanIncrementBounds.Field E) : | |
| 124 | - (operators e o).radialDiv k (field e f) = field e (o.radialDiv k f) := by | |
| 125 | - unfold MeanIncrementBounds.Operators.radialDiv | |
| 126 | - rw [dr_pull] | |
| 127 | - rfl | |
| 128 | - | |
| 129 | -theorem viscosity_pull (e : D ≃ₗᵢ[ℝ] E) (o : MeanIncrementBounds.Operators E) | |
| 130 | - (k : ℝ) (f : MeanIncrementBounds.Field E) : | |
| 131 | - (operators e o).viscosity k (field e f) = field e (o.viscosity k f) := by | |
| 132 | - unfold MeanIncrementBounds.Operators.viscosity | |
| 133 | - rw [dr_pull, dr_pull, dz_pull, dz_pull] | |
| 134 | - rfl | |
| 135 | - | |
| 136 | 99 | /-! ## Finite harmonic coefficients -/ |
| 137 | 100 | |
| 138 | 101 | noncomputable def coefficients (e : D ≃ₗᵢ[ℝ] E) (a : HarmonicFields.Coefficients E) : |
| @@ -483,21 +446,6 @@ theorem field_roundtrip (e : D ≃ₗᵢ[ℝ] E) (f : MeanIncrementBounds.Field | ||
| 483 | 446 | funext n x |
| 484 | 447 | exact congrArg (f n) (e.symm_apply_apply x) |
| 485 | 448 | |
| 486 | -theorem oscillation_roundtrip (e : D ≃ₗᵢ[ℝ] E) (f : CorrectionState.Oscillation D) : | |
| 487 | - oscillation e (oscillation e.symm f) = f := by | |
| 488 | - funext n x | |
| 489 | - change f n (e.symm (e x.1), x.2) = f n x | |
| 490 | - rw [e.symm_apply_apply] | |
| 491 | - | |
| 492 | -theorem state_roundtrip (e : D ≃ₗᵢ[ℝ] E) (u : CorrectionState.State D) : | |
| 493 | - state e (state e.symm u) = u := by | |
| 494 | - cases u with | |
| 495 | - | mk m p a q r => | |
| 496 | - cases m | |
| 497 | - cases r | |
| 498 | - simp only [state, triple, errors, cylinder_apply, e.symm_apply_apply, | |
| 499 | - field_roundtrip, oscillation_roundtrip] | |
| 500 | - | |
| 501 | 449 | theorem context_roundtrip (e : D ≃ₗᵢ[ℝ] E) (c : CorrectionState.Context D) : |
| 502 | 450 | context e (context e.symm c) = c := by |
| 503 | 451 | cases c with |
| @@ -514,76 +462,6 @@ noncomputable def strip (e : D ≃ₗᵢ[ℝ] E) (s : WeightedClasses.StripData | ||
| 514 | 462 | |
| 515 | 463 | /-! ## Real linearization and the mean equations -/ |
| 516 | 464 | |
| 517 | -theorem thetaResidual_pull (e : D ≃ₗᵢ[ℝ] E) (c : CorrectionState.Context E) | |
| 518 | - (u : CorrectionState.State E) : | |
| 519 | - (state e u).thetaResidual (context e c) = field e (u.thetaResidual c) := by | |
| 520 | - change (operators e c.operators).time (field e u.mean.angular) + | |
| 521 | - (operators e c.operators).radialDiv 2 | |
| 522 | - (field e (MeanIncrementBounds.thetaRadial c.base u.mean + u.covariance 0 1)) + | |
| 523 | - (operators e c.operators).dz | |
| 524 | - (field e (MeanIncrementBounds.thetaAxial c.base u.mean + u.covariance 2 1)) - | |
| 525 | - (operators e c.operators).viscosity 1 (field e u.mean.angular) - | |
| 526 | - (operators e c.operators).radialDiv 2 (field e c.virtualTheta) = _ | |
| 527 | - rw [time_pull, radialDiv_pull, dz_pull, viscosity_pull, radialDiv_pull] | |
| 528 | - rfl | |
| 529 | - | |
| 530 | -theorem axialResidual_pull (e : D ≃ₗᵢ[ℝ] E) (c : CorrectionState.Context E) | |
| 531 | - (u : CorrectionState.State E) : | |
| 532 | - (state e u).axialResidual (context e c) = field e (u.axialResidual c) := by | |
| 533 | - change (operators e c.operators).time (field e u.mean.axial) + | |
| 534 | - (operators e c.operators).radialDiv 1 | |
| 535 | - (field e (MeanIncrementBounds.axialRadial c.base u.mean + u.covariance 0 2)) + | |
| 536 | - (operators e c.operators).dz | |
| 537 | - (field e (MeanIncrementBounds.axialAxial c.base u.mean + u.covariance 2 2 + u.pressure)) - | |
| 538 | - (operators e c.operators).viscosity 0 (field e u.mean.axial) - | |
| 539 | - (operators e c.operators).radialDiv 1 (field e c.virtualAxial) = _ | |
| 540 | - rw [time_pull, radialDiv_pull, dz_pull, viscosity_pull, radialDiv_pull] | |
| 541 | - rfl | |
| 542 | - | |
| 543 | -theorem gr_pull (e : D ≃ₗᵢ[ℝ] E) (c : CorrectionState.Context E) | |
| 544 | - (u : CorrectionState.State E) : | |
| 545 | - (state e u).gr (context e c) = field e (u.gr c) := by | |
| 546 | - change -((operators e c.operators).time (field e u.mean.radial) + | |
| 547 | - (operators e c.operators).radialDiv 1 | |
| 548 | - (field e (MeanIncrementBounds.radialRadial c.base u.mean + u.covariance 0 0)) + | |
| 549 | - (operators e c.operators).dz | |
| 550 | - (field e (MeanIncrementBounds.axialRadial c.base u.mean + u.covariance 2 0)) - | |
| 551 | - (operators e c.operators).invRadius * | |
| 552 | - field e (MeanIncrementBounds.radialAngular c.base u.mean + u.covariance 1 1) - | |
| 553 | - (operators e c.operators).viscosity 1 (field e u.mean.radial)) = _ | |
| 554 | - rw [time_pull, radialDiv_pull, dz_pull, viscosity_pull] | |
| 555 | - rfl | |
| 556 | - | |
| 557 | -theorem radialResidual_pull (e : D ≃ₗᵢ[ℝ] E) (c : CorrectionState.Context E) | |
| 558 | - (u : CorrectionState.State E) : | |
| 559 | - (state e u).radialResidual (context e c) = field e (u.radialResidual c) := by | |
| 560 | - unfold CorrectionState.State.radialResidual | |
| 561 | - rw [gr_pull] | |
| 562 | - change (operators e c.operators).dr (field e u.pressure) - field e (u.gr c) = _ | |
| 563 | - rw [dr_pull] | |
| 564 | - rfl | |
| 565 | - | |
| 566 | -theorem reducedMeanResidual_pull (e : D ≃ₗᵢ[ℝ] E) (c : CorrectionState.Context E) | |
| 567 | - (u : CorrectionState.State E) (n : ℕ) (x : D) : | |
| 568 | - (state e u).reducedMeanResidual (context e c) n x = u.reducedMeanResidual c n (e x) := by | |
| 569 | - unfold CorrectionState.State.reducedMeanResidual | |
| 570 | - rw [radialResidual_pull, thetaResidual_pull, axialResidual_pull] | |
| 571 | - rfl | |
| 572 | - | |
| 573 | -theorem meanResidual_pull (e : D ≃ₗᵢ[ℝ] E) (c : CorrectionState.Context E) | |
| 574 | - (u : CorrectionState.State E) (n : ℕ) (x : D) (i : Fin 3) : | |
| 575 | - (state e u).meanResidual (context e c) n x i = u.meanResidual c n (e x) i := by | |
| 576 | - change (state e u).reducedMeanResidual (context e c) n x i + _ = _ | |
| 577 | - rw [reducedMeanResidual_pull] | |
| 578 | - rfl | |
| 579 | - | |
| 580 | -theorem meanGoodResidual_pull (e : D ≃ₗᵢ[ℝ] E) (c : CorrectionState.Context E) | |
| 581 | - (u : CorrectionState.State E) (n : ℕ) (x : D) (i : Fin 3) : | |
| 582 | - (state e u).meanGoodResidual (context e c) n x i = u.meanGoodResidual c n (e x) i := by | |
| 583 | - change (state e u).meanResidual (context e c) n x i - _ = _ | |
| 584 | - rw [meanResidual_pull] | |
| 585 | - rfl | |
| 586 | - | |
| 587 | 465 | theorem block_bandLimited (e : D ≃ₗᵢ[ℝ] E) {b : CorrectionState.HarmonicBlock E} {N : ℕ} |
| 588 | 466 | (hb : b.BandLimited N) : (block e b).BandLimited N := |
| 589 | 467 | ⟨fun n i => bandLimited_pull e (hb.1 n i), fun n => bandLimited_pull e (hb.2 n)⟩ |
| @@ -594,8 +472,6 @@ section Association | ||
| 594 | 472 | |
| 595 | 473 | variable {S : Type} [NormedAddCommGroup S] [NormedSpace ℝ S] |
| 596 | 474 | |
| 597 | -abbrev Associated (S : Type) := (ℝ × S) × TorusInverse.Plane | |
| 598 | - | |
| 599 | 475 | end Association |
| 600 | 476 | |
| 601 | 477 | end NavierStokes.StateReindex |
+0 −7 NavierStokes/TemporalMeanUpdate.lean View file
| @@ -284,13 +284,6 @@ noncomputable def chartPrefactor (h : ℝ) (n : ℕ) : ℝ := | ||
| 284 | 284 | theorem chartPrefactor_pos (h : ℝ) (n : ℕ) : 0 < chartPrefactor h n := |
| 285 | 285 | inv_pos.mpr (ChartScales.timeCoefficient_pos h n) |
| 286 | 286 | |
| 287 | -theorem chartPrefactor_eq (h : ℝ) (n : ℕ) : | |
| 288 | - chartPrefactor h n = ChartScales.Q n ^ (-1 - h) * | |
| 289 | - (ChartScales.Tg ^ ChartScales.nativeIndex h n)⁻¹ := by | |
| 290 | - have he : -1 - h = -(1 + h) := by ring | |
| 291 | - simp only [chartPrefactor, ChartScales.timeCoefficient, mul_inv_rev, he, | |
| 292 | - Real.rpow_neg (ChartScales.Q_pos n).le] | |
| 293 | - | |
| 294 | 287 | /-- The exponential-looking native factors together cost just one power of |
| 295 | 288 | the slow band scale. -/ |
| 296 | 289 | theorem chartPrefactor_bound (h : ℝ) (hh : 0 ≤ h) {n : ℕ} (hn : 4 ≤ n) : |
+0 −121 NavierStokes/WaveInteractionBounds.lean View file
| @@ -69,13 +69,6 @@ theorem mean_wave_cmul {s : StripData D} {P : ℕ → D → ℝ} {α β : ℝ} | ||
| 69 | 69 | WaveClass s P (α + β) (fun n x => f n x * g n x) := |
| 70 | 70 | hf.bilinear_wave hg hζ (ContinuousLinearMap.mul ℝ ℂ) |
| 71 | 71 | |
| 72 | -theorem wave_cmul_mean {s : StripData D} {P : ℕ → D → ℝ} {α β : ℝ} | |
| 73 | - {f g : ℕ → D → ℂ} (hf : WaveClass s P α f) (hg : WaveClass s P β g) | |
| 74 | - (hP0 : ∀ n x, x ∈ s.domain → 0 ≤ P n x) | |
| 75 | - (hP1 : ∀ n x, x ∈ s.domain → P n x ≤ 1) : | |
| 76 | - MeanClass s (α + β) (fun n x => f n x * g n x) := | |
| 77 | - hf.bilinear_mean hg hP0 hP1 (ContinuousLinearMap.mul ℝ ℂ) | |
| 78 | - | |
| 79 | 72 | /-- Evaluation of the actual derivative field at an actual vector field. -/ |
| 80 | 73 | theorem class_along {s : StripData D} {w : ℕ → D → ℝ} {α β : ℝ} |
| 81 | 74 | {f : ℕ → D → E} {V : ℕ → D → D} |
| @@ -176,22 +169,6 @@ theorem strippedTransport_class {s : StripData D} {w v : ℕ → D → ℝ} {α | ||
| 176 | 169 | have hz' := hz.mono_exponent (show α + β - κ ≤ α + (β + 1) by linarith) |
| 177 | 170 | exact (hr'.add hc').add hz' |
| 178 | 171 | |
| 179 | -theorem strippedDivergence_class {s : StripData D} {w : ℕ → D → ℝ} {α κ : ℝ} | |
| 180 | - (G : Geometry s κ) (hκ : 0 ≤ κ) {a : Family D} | |
| 181 | - (ha : ∀ i, MemClass s w α (fun n x => a n x i)) : | |
| 182 | - MemClass s w (α - κ) | |
| 183 | - (fun n => strippedDivergence (G.radius n) (G.radial n) (G.axial n) (a n)) := by | |
| 184 | - have hr : MemClass s w (α - κ) | |
| 185 | - (fun n => along (G.radial n) (fun y => a n y 0)) := by | |
| 186 | - simpa only [sub_eq_add_neg] using class_along (ha 0) G.radial_class | |
| 187 | - have hc := (class_div_radius G (ha 0)).mono_exponent (show α - κ ≤ α by linarith) | |
| 188 | - have hz := (class_along (ha 2) G.axial_class).mono_exponent | |
| 189 | - (show α - κ ≤ α + 1 by linarith) | |
| 190 | - apply class_congr ((hr.add hc).add hz) | |
| 191 | - intro n x _ | |
| 192 | - simp only [strippedDivergence, Complex.real_smul, Complex.ofReal_inv, div_eq_mul_inv] | |
| 193 | - ring | |
| 194 | - | |
| 195 | 172 | theorem wave_mean_weight {s : StripData D} {P : ℕ → D → ℝ} {α : ℝ} {f : ℕ → D → E} |
| 196 | 173 | (hf : MemClass s (fun n x => (Real.sqrt (s.zeta x) * P n x) * s.zeta x) α f) |
| 197 | 174 | (hζ : ∀ x ∈ s.domain, s.zeta x ≤ 1) |
| @@ -200,36 +177,6 @@ theorem wave_mean_weight {s : StripData D} {P : ℕ → D → ℝ} {α : ℝ} {f | ||
| 200 | 177 | intro n x hx |
| 201 | 178 | exact mul_le_of_le_one_right (mul_nonneg (Real.sqrt_nonneg _) (hP n x hx)) (hζ x hx) |
| 202 | 179 | |
| 203 | -theorem wave_square_weight_mean {s : StripData D} {P : ℕ → D → ℝ} {α : ℝ} | |
| 204 | - {f : ℕ → D → E} | |
| 205 | - (hf : MemClass s (fun n x => (Real.sqrt (s.zeta x) * P n x) * | |
| 206 | - (Real.sqrt (s.zeta x) * P n x)) α f) | |
| 207 | - (hP0 : ∀ n x, x ∈ s.domain → 0 ≤ P n x) | |
| 208 | - (hP1 : ∀ n x, x ∈ s.domain → P n x ≤ 1) : MeanClass s α f := by | |
| 209 | - apply hf.mono_weight (fun _ x hx => s.zeta_nonneg x hx) | |
| 210 | - intro n x hx | |
| 211 | - have hP2 : P n x * P n x ≤ 1 := by nlinarith [hP0 n x hx, hP1 n x hx] | |
| 212 | - calc | |
| 213 | - _ = (Real.sqrt (s.zeta x)) ^ 2 * (P n x * P n x) := by ring | |
| 214 | - _ = s.zeta x * (P n x * P n x) := by rw [Real.sq_sqrt (s.zeta_nonneg x hx)] | |
| 215 | - _ ≤ s.zeta x * 1 := mul_le_mul_of_nonneg_left hP2 (s.zeta_nonneg x hx) | |
| 216 | - _ = _ := mul_one _ | |
| 217 | - | |
| 218 | -theorem wave_square_weight_wave {s : StripData D} {P : ℕ → D → ℝ} {α : ℝ} | |
| 219 | - {f : ℕ → D → E} | |
| 220 | - (hf : MemClass s (fun n x => (Real.sqrt (s.zeta x) * P n x) * | |
| 221 | - (Real.sqrt (s.zeta x) * P n x)) α f) | |
| 222 | - (hζ : ∀ x ∈ s.domain, s.zeta x ≤ 1) | |
| 223 | - (hP0 : ∀ n x, x ∈ s.domain → 0 ≤ P n x) | |
| 224 | - (hP1 : ∀ n x, x ∈ s.domain → P n x ≤ 1) : WaveClass s P α f := by | |
| 225 | - apply hf.mono_weight (fun n x hx => mul_nonneg (Real.sqrt_nonneg _) (hP0 n x hx)) | |
| 226 | - intro n x hx | |
| 227 | - have hs1 : Real.sqrt (s.zeta x) ≤ 1 := by | |
| 228 | - nlinarith [Real.sqrt_nonneg (s.zeta x), Real.sq_sqrt (s.zeta_nonneg x hx), hζ x hx] | |
| 229 | - have hw1 : Real.sqrt (s.zeta x) * P n x ≤ 1 := by | |
| 230 | - simpa only [one_mul] using mul_le_mul hs1 (hP1 n x hx) (hP0 n x hx) (by norm_num : (0 : ℝ) ≤ 1) | |
| 231 | - exact mul_le_of_le_one_right (mul_nonneg (Real.sqrt_nonneg _) (hP0 n x hx)) hw1 | |
| 232 | - | |
| 233 | 180 | theorem mean_advects_stripped_wave {s : StripData D} {P : ℕ → D → ℝ} {α μ κ : ℝ} |
| 234 | 181 | (G : Geometry s κ) (hκ : κ ≤ 1) {m a : Family D} |
| 235 | 182 | (hm : MeanVector s μ m) (ha : WaveVector s P α a) |
| @@ -326,74 +273,6 @@ noncomputable def sameCoefficient {s : StripData D} {κ : ℝ} (G : Geometry s | ||
| 326 | 273 | strippedTransport G a b n x i + phaseFactor (ξ n) * normalDot |
| 327 | 274 | (phaseNormal (G.radius n) (G.radial n) (G.angular n) (G.axial n) (Φ n) x) (a n x) * b n x i |
| 328 | 275 | |
| 329 | -/-- All derivatives of the longitudinal contraction are estimated through | |
| 330 | -the actual divergence identity, including derivatives of the phase normal. -/ | |
| 331 | -theorem same_label_raw_bound {s : StripData D} {P : ℕ → D → ℝ} {α β κ : ℝ} | |
| 332 | - (G : Geometry s κ) (hκ : 0 ≤ κ) {Φ : ℕ → D → ℝ} {ν ξ : ℕ → ℝ} | |
| 333 | - {a b : Family D} (ha : WaveVector s P α a) (hb : WaveVector s P β b) | |
| 334 | - (hΦ : ∀ n, ContDiffOn ℝ ∞ (Φ n) s.domain) (hν : ∀ n, ν n ≠ 0) | |
| 335 | - (hratio : BandBound s 0 (fun n => ξ n / ν n)) | |
| 336 | - (haθ : AngularIndependent G a) | |
| 337 | - (hdiv : ∀ n x, x ∈ s.domain → cylindricalDivergence | |
| 338 | - (G.radius n) (G.radial n) (G.angular n) (G.axial n) (vectorMode (ν n) (Φ n) (a n)) x = 0) | |
| 339 | - (i : Fin 3) : | |
| 340 | - MemClass s (fun n x => (Real.sqrt (s.zeta x) * P n x) * | |
| 341 | - (Real.sqrt (s.zeta x) * P n x)) (α + β - κ) | |
| 342 | - (fun n x => sameCoefficient G Φ ξ a b n x i) := by | |
| 343 | - have hs := strippedDivergence_class G hκ ha | |
| 344 | - have hsw : WaveClass s P (α - κ) (fun n x => | |
| 345 | - (ξ n / ν n) • (-strippedDivergence (G.radius n) (G.radial n) (G.axial n) (a n) x)) := by | |
| 346 | - unfold WaveClass | |
| 347 | - simpa only [add_zero] using (class_neg hs).band_smul hratio | |
| 348 | - have hprod := class_cmul hsw (hb i) | |
| 349 | - have hprod' : MemClass s (fun n x => (Real.sqrt (s.zeta x) * P n x) * | |
| 350 | - (Real.sqrt (s.zeta x) * P n x)) (α + β - κ) (fun n x => | |
| 351 | - ((ξ n / ν n) • (-strippedDivergence (G.radius n) (G.radial n) (G.axial n) (a n) x)) * b n x i) := by | |
| 352 | - convert! hprod using 1 | |
| 353 | - ring | |
| 354 | - have hp : MemClass s (fun n x => (Real.sqrt (s.zeta x) * P n x) * | |
| 355 | - (Real.sqrt (s.zeta x) * P n x)) (α + β - κ) (fun n x => | |
| 356 | - phaseFactor (ξ n) * normalDot | |
| 357 | - (phaseNormal (G.radius n) (G.radial n) (G.angular n) (G.axial n) (Φ n) x) (a n x) * b n x i) := by | |
| 358 | - apply class_congr hprod' | |
| 359 | - intro n x hx | |
| 360 | - have hp := ((hΦ n).contDiffAt (s.isOpen_domain.mem_nhds hx)).differentiableAt (by simp) | |
| 361 | - have hd j := (((ha j).smooth n).contDiffAt (s.isOpen_domain.mem_nhds hx)).differentiableAt (by simp) | |
| 362 | - dsimp only | |
| 363 | - rw [switched_longitudinal _ _ _ _ (ν n) (ξ n) (hν n) hp hd (haθ n 1 x hx) (hdiv n x hx)] | |
| 364 | - exact (strippedTransport_class G hκ ha hb i).add hp | |
| 365 | - | |
| 366 | -theorem int_abs_cast_one_le {j : ℤ} (hj : j ≠ 0) : (1 : ℝ) ≤ |(j : ℝ)| := by | |
| 367 | - have hpos : (0 : ℤ) < |j| := abs_pos.mpr hj | |
| 368 | - have hone : (1 : ℤ) ≤ |j| := by omega | |
| 369 | - exact_mod_cast hone | |
| 370 | - | |
| 371 | -theorem harmonic_ratio_bound {j l : ℤ} {M : ℝ} (hj : j ≠ 0) | |
| 372 | - (hM : 0 ≤ M) (hl : |(l : ℝ)| ≤ M) : |(l : ℝ) / (j : ℝ)| ≤ M := by | |
| 373 | - have hj1 := int_abs_cast_one_le hj | |
| 374 | - rw [abs_div] | |
| 375 | - apply (div_le_iff₀ (lt_of_lt_of_le (by norm_num : (0 : ℝ) < 1) hj1)).mpr | |
| 376 | - exact hl.trans (le_mul_of_one_le_right hM hj1) | |
| 377 | - | |
| 378 | -theorem bandBound_harmonic_ratio (s : StripData D) {j l : ℕ → ℤ} {M : ℝ} | |
| 379 | - (hj : ∀ n, j n ≠ 0) (hM : 0 ≤ M) (hl : ∀ n, |(l n : ℝ)| ≤ M) : | |
| 380 | - BandBound s 0 (fun n => (l n : ℝ) / (j n : ℝ)) := by | |
| 381 | - refine ⟨M, hM, 0, ?_⟩ | |
| 382 | - intro n | |
| 383 | - simpa only [Real.norm_eq_abs, Real.rpow_zero, pow_zero, mul_one] using | |
| 384 | - harmonic_ratio_bound (hj n) hM (hl n) | |
| 385 | - | |
| 386 | -theorem frequency_ratio {k : ℝ} (hk : k ≠ 0) {j : ℤ} (hj : j ≠ 0) (l : ℤ) : | |
| 387 | - (k * (l : ℝ)) / (k * (j : ℝ)) = (l : ℝ) / (j : ℝ) := by | |
| 388 | - have hj' : (j : ℝ) ≠ 0 := by exact_mod_cast hj | |
| 389 | - field_simp | |
| 390 | - | |
| 391 | -theorem bandBound_frequency_ratio (s : StripData D) {k : ℕ → ℝ} {j l : ℕ → ℤ} {M : ℝ} | |
| 392 | - (hk : ∀ n, k n ≠ 0) (hj : ∀ n, j n ≠ 0) (hM : 0 ≤ M) | |
| 393 | - (hl : ∀ n, |(l n : ℝ)| ≤ M) : | |
| 394 | - BandBound s 0 (fun n => (k n * (l n : ℝ)) / (k n * (j n : ℝ))) := by | |
| 395 | - simpa only [frequency_ratio (hk _) (hj _)] using bandBound_harmonic_ratio s hj hM hl | |
| 396 | - | |
| 397 | 276 | theorem bandBound_frequency {s : StripData D} {β : ℝ} {k : ℕ → ℝ} {j : ℕ → ℤ} {M : ℝ} |
| 398 | 277 | (hk : BandBound s β k) (hM : 0 ≤ M) (hj : ∀ n, |(j n : ℝ)| ≤ M) : |
| 399 | 278 | BandBound s β (fun n => k n * (j n : ℝ)) := by |
+0 −26 NavierStokes/WeightedQuotients.lean View file
| @@ -392,32 +392,6 @@ theorem PolyBound.sum {ι : Type*} (u : Finset ι) (F : ι → X → ℝ) | ||
| 392 | 392 | exact (hF i (Finset.mem_insert_self _ _)).add hS hT |
| 393 | 393 | (ih (fun j hj => hF j (Finset.mem_insert_of_mem hj))) |
| 394 | 394 | |
| 395 | -theorem PolyBound.pow (_hS : ∀ x ∈ s, 1 ≤ S x) (_hT : ∀ x ∈ s, 1 ≤ T x) | |
| 396 | - (hf : PolyBound s S T f) (hf0 : ∀ x ∈ s, 0 ≤ f x) (k : ℕ) : | |
| 397 | - PolyBound s S T (fun x => f x ^ k) := by | |
| 398 | - obtain ⟨C, hC, K, N, hb⟩ := hf | |
| 399 | - refine ⟨C ^ k, one_le_pow₀ hC, K * k, N * k, ?_⟩ | |
| 400 | - intro x hx | |
| 401 | - calc | |
| 402 | - _ ≤ (C * S x ^ K * T x ^ N) ^ k := pow_le_pow_left₀ (hf0 x hx) (hb x hx) k | |
| 403 | - _ = _ := by simp only [mul_pow, pow_mul] | |
| 404 | - | |
| 405 | -theorem PolyBound.const_mul (hS : ∀ x ∈ s, 1 ≤ S x) (hT : ∀ x ∈ s, 1 ≤ T x) | |
| 406 | - (hf : PolyBound s S T f) {a : ℝ} (ha : 0 ≤ a) : | |
| 407 | - PolyBound s S T (fun x => a * f x) := by | |
| 408 | - obtain ⟨C, hC, K, N, hb⟩ := hf | |
| 409 | - refine ⟨(a + 1) * C, ?_, K, N, ?_⟩ | |
| 410 | - · nlinarith | |
| 411 | - · intro x hx | |
| 412 | - have hm : 0 ≤ C * S x ^ K * T x ^ N := | |
| 413 | - mul_nonneg (mul_nonneg (zero_le_one.trans hC) | |
| 414 | - (pow_nonneg (zero_le_one.trans (hS x hx)) _)) | |
| 415 | - (pow_nonneg (zero_le_one.trans (hT x hx)) _) | |
| 416 | - calc | |
| 417 | - _ ≤ a * (C * S x ^ K * T x ^ N) := mul_le_mul_of_nonneg_left (hb x hx) ha | |
| 418 | - _ ≤ (a + 1) * (C * S x ^ K * T x ^ N) := by nlinarith | |
| 419 | - _ = _ := by ring | |
| 420 | - | |
| 421 | 395 | end PolynomialControl |
| 422 | 396 | |
| 423 | 397 | section WeightedJets |
+26 −0 docs/build-profile.md added View file
| @@ -0,0 +1,26 @@ | ||
| 1 | +# Build profile | |
| 2 | + | |
| 3 | +Where the cost of elaborating the tree goes, at main `57f8d38`. 2,587 Lean files were counted; together they take 56.82 T instructions (T is 10¹², G is 10⁹). | |
| 4 | + | |
| 5 | +## The ten costliest files | |
| 6 | + | |
| 7 | +| | file | instructions | share of the tree | | |
| 8 | +|---|---|---|---| | |
| 9 | +| 1 | `Euler/EulerProof.lean` | 1,413.80 G | 2.49% | | |
| 10 | +| 2 | `NavierStokes/PositiveAxisSystem.lean` | 327.00 G | 0.58% | | |
| 11 | +| 3 | `NavierStokes/CorrectionInitialization.lean` | 296.02 G | 0.52% | | |
| 12 | +| 4 | `NavierStokes/ActualSignedPhysicalBinding.lean` | 276.77 G | 0.49% | | |
| 13 | +| 5 | `NavierStokes/ActualParticularDynamics.lean` | 254.25 G | 0.45% | | |
| 14 | +| 6 | `Euler/BoundedFieldCalculus.lean` | 237.96 G | 0.42% | | |
| 15 | +| 7 | `NavierStokes/ActualCandidateConstruction.lean` | 229.81 G | 0.40% | | |
| 16 | +| 8 | `NavierStokes/ActivationCone.lean` | 200.30 G | 0.35% | | |
| 17 | +| 9 | `NavierStokes/PulseCone.lean` | 199.81 G | 0.35% | | |
| 18 | +| 10 | `NavierStokes/ShapedWaitBounds.lean` | 187.93 G | 0.33% | | |
| 19 | + | |
| 20 | +The ten are 6.4% of the whole and the hundred costliest 21.9%: the profile is flat, as Lean Pool found on its copy. A speed-up of one file is a small part of the build. | |
| 21 | + | |
| 22 | +## How it is counted | |
| 23 | + | |
| 24 | +Each file is elaborated alone, on one thread, with synchronous elaboration (`lean -j1 -DElab.async=false` and the lakefile's options) against the compiled tree, under `perf stat -e instructions:u`. The count is instructions retired in user space. Two runs of it on 665 unchanged files, an hour apart on a machine doing other work, differed by 0.01% at the median and by 0.42% at most, so two trees can be compared without an idle machine. It is not a time, and it leaves out what `lake` itself does. | |
| 25 | + | |
| 26 | +What this page does not show: the wall-clock time of a build on your machine, or which files hold up a parallel build (that depends on the import graph). | |
+17 −0 routes/s1-euler-canonical-8/README.md added View file
| @@ -0,0 +1,17 @@ | ||
| 1 | +--- | |
| 2 | +issue: 10 | |
| 3 | +status: working | |
| 4 | +--- | |
| 5 | +# s1-euler-canonical-8 | |
| 6 | + | |
| 7 | +Deletes 1 declaration of the family `Euler/Canonical*` that nothing uses, 16 lines in 1 file | |
| 8 | +(`Euler/CanonicalGraphPotential.lean`). The diff is deletions only: no statement and no proof that | |
| 9 | +stays is changed. | |
| 10 | + | |
| 11 | +Deleted: `EulerCanonicalGraphPotential.radialPotential_joint_continuous`. Nothing in the tree names | |
| 12 | +or refers to it, and its docstring names no result of the paper. | |
| 13 | + | |
| 14 | +## Next | |
| 15 | + | |
| 16 | +Push and open the pull request into `main`; the maintainer's review comes after `challenge` and | |
| 17 | +`build`. The rest of the family and the other units of #10 are separate. | |
+16 −0 routes/s1-euler-cylinder-8/README.md added View file
| @@ -0,0 +1,16 @@ | ||
| 1 | +--- | |
| 2 | +issue: 10 | |
| 3 | +status: working | |
| 4 | +--- | |
| 5 | +# s1-euler-cylinder-8 | |
| 6 | + | |
| 7 | +One unit of S-1 (delete declarations that nothing uses): 34 declarations of the | |
| 8 | +family `Euler/Cylinder*`, in 13 files under `Euler/`, 271 lines. The unit's list | |
| 9 | +is `/work/unit/unit.json`; the change is a deletion only. | |
| 10 | + | |
| 11 | +## Next | |
| 12 | + | |
| 13 | +Nothing to do: the deletion is complete and `python3 checks/challenge.py .` ends | |
| 14 | +with `ok`. The `build` check is running on the head; if it fails, look first at | |
| 15 | +the four `private local instance`s left in `Euler/CylinderCorrectorMeanZero.lean` | |
| 16 | +and the now-unused `variable (p …) (hp …)` there. | |
+17 −0 routes/s1-euler-inviscid-8/README.md added View file
| @@ -0,0 +1,17 @@ | ||
| 1 | +--- | |
| 2 | +issue: 10 | |
| 3 | +status: working | |
| 4 | +--- | |
| 5 | +# s1-euler-inviscid-8 | |
| 6 | + | |
| 7 | +One unit of S-1 (#10): the `Euler/Inviscid*` family. I delete one declaration that nothing uses — 14 lines in one file, `Euler/InviscidCorrectionParity.lean`: | |
| 8 | + | |
| 9 | +- `EulerInviscidCorrectionParity.inviscid_correction_pressure_odd` | |
| 10 | + | |
| 11 | +The diff is deletions only: no statement and no proof that stays is changed, and the file keeps its imports, module docstring and namespace. `inviscid_correction_pressure_odd` was a wrapper around `correction_pressure_oddReflection` (which stays) with one `rwa [hu] at hh`; nothing on `main` calls it. `git grep -w inviscid_correction_pressure_odd` finds nothing in the tree after the change. The deleted docstring says only that the signed coercive correction pressure has odd gradient parity; it names no lemma, theorem, proposition, corollary, section or equation of the paper. | |
| 12 | + | |
| 13 | +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 `601f584`, 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/README.md` holds the plan. The branch is based on `f143f82`, the current `main`, which differs from the cut point only in `KNOWN.md`. | |
| 14 | + | |
| 15 | +## Next | |
| 16 | + | |
| 17 | +Push and open the pull request into `main`; the maintainer's review comes after `challenge` and `build`. The rest of the `Euler/Inviscid*` family and the other units of #10 are separate. | |
+15 −0 routes/s1-euler-mean-8/README.md added View file
| @@ -0,0 +1,15 @@ | ||
| 1 | +--- | |
| 2 | +issue: 10 | |
| 3 | +status: working | |
| 4 | +--- | |
| 5 | +# s1-euler-mean-8 | |
| 6 | + | |
| 7 | +Wave 8 of S-1, family `Euler/Mean*`: delete `EulerMeanBoundary.Cutoff.derivative` | |
| 8 | +(`Euler/MeanBoundaryMixed.lean`), a cutoff constructor that nothing in the tree uses. | |
| 9 | +No user remains on main; no docstring is deleted (the `def` had none) and no | |
| 10 | +statement or proof that stays is changed. Verified with `git grep` that no file | |
| 11 | +names it, and `checks/challenge.py .` ends `ok`. | |
| 12 | + | |
| 13 | +## Next | |
| 14 | + | |
| 15 | +Push, open the pull request into `main`, and let `build` report. | |
+15 −0 routes/s1-euler-packet-8/README.md added View file
| @@ -0,0 +1,15 @@ | ||
| 1 | +--- | |
| 2 | +issue: 10 | |
| 3 | +status: working | |
| 4 | +--- | |
| 5 | +# s1-euler-packet-8 | |
| 6 | + | |
| 7 | +Deletes the one declaration of the family `Euler/Packet*` that nothing uses: `EulerPacketAngularPotential.potential_bound` | |
| 8 | +in `Euler/PacketAngularPotential.lean`, 9 lines in 1 file. The diff is deletions only: no statement and no proof that | |
| 9 | +stays is changed. All that remains of `potential` in that file is untouched, and nothing in the tree names the deleted | |
| 10 | +theorem. The declaration carried no docstring, so no citation of the paper is removed. | |
| 11 | + | |
| 12 | +## Next | |
| 13 | + | |
| 14 | +Push and open the pull request into `main`; the maintainer's review comes after `challenge` and `build`. The other | |
| 15 | +families and the other units of #10 are separate. | |
+16 −0 routes/s1-ns-actual-8/README.md added View file
| @@ -0,0 +1,16 @@ | ||
| 1 | +--- | |
| 2 | +issue: 10 | |
| 3 | +status: working | |
| 4 | +--- | |
| 5 | +# s1-ns-actual-8 | |
| 6 | + | |
| 7 | +One unit of S-1: delete 5 declarations of the `NavierStokes/Actual*` family that nothing uses — | |
| 8 | +`NavierStokes.ActualGaussianCoverage.{data_cutoff_support, data_source_zero_germ, data_amplitude_zero_germ}` | |
| 9 | +and `NavierStokes.ActualSignedControl.CopyChart.{pull, envelope}` — 36 lines in | |
| 10 | +`NavierStokes/ActualGaussianCoverage.lean` and `NavierStokes/ActualSignedControl.lean`. Cut from Treant's run of | |
| 11 | +2026-12-03 and re-checked against main's declaration graph under the keep rule; the diff is deletions only. | |
| 12 | + | |
| 13 | +## Next | |
| 14 | + | |
| 15 | +Push and let `challenge` and `build` answer; the maintainer agent decides whether it is taken in. No further | |
| 16 | +declaration is deleted here. | |
+22 −0 routes/s1-ns-annular-8/README.md added View file
| @@ -0,0 +1,22 @@ | ||
| 1 | +--- | |
| 2 | +issue: 10 | |
| 3 | +status: working | |
| 4 | +--- | |
| 5 | +# s1-ns-annular-8 | |
| 6 | + | |
| 7 | +One unit of S-1 (#10), family `NavierStokes/Annular*`: delete the declaration | |
| 8 | +`NavierStokes.AnnularAuxiliary.auxiliary` in `NavierStokes/AnnularAuxiliary.lean`, which | |
| 9 | +nothing uses. The diff is deletions only, 5 lines in 1 file; no statement or proof that | |
| 10 | +stays changes. | |
| 11 | + | |
| 12 | +Check: `git grep -n -w auxiliary -- '*.lean'` finds no reference to the declaration — the | |
| 13 | +remaining hits are prose in docstrings and structure-field projections such as | |
| 14 | +`d.auxiliary`, and `git grep 'AnnularAuxiliary\.auxiliary'` is empty. The deleted | |
| 15 | +declaration carried no docstring, so no docstring citing the paper is removed. | |
| 16 | +`python3 checks/challenge.py .` ends with `ok`. | |
| 17 | + | |
| 18 | +## Next | |
| 19 | + | |
| 20 | +Nothing left in this unit: the declaration is deleted, the check passes, and the pull | |
| 21 | +request is open into `main`. Whoever reviews should compare the diff against the base; | |
| 22 | +the `build` check reports the build, not this note. | |
+33 −0 routes/s1-ns-assembled-7/README.md added View file
| @@ -0,0 +1,33 @@ | ||
| 1 | +--- | |
| 2 | +issue: 10 | |
| 3 | +status: working | |
| 4 | +--- | |
| 5 | +# s1-ns-assembled-7 | |
| 6 | + | |
| 7 | +Unit of #10 (S-1, delete declarations that nothing uses), wave 7, the | |
| 8 | +`NavierStokes/Assembled*` family: delete 4 declarations from | |
| 9 | +`NavierStokes/AssembledSlowBase.lean` (40 lines) that nothing in the tree uses. | |
| 10 | + | |
| 11 | +- `NavierStokes.AssembledSlowBase.nominalCoefficients_positive_exterior` | |
| 12 | +- `NavierStokes.AssembledSlowBase.nominal_axial_primitive_zero` | |
| 13 | +- `NavierStokes.AssembledSlowBase.nominalCoefficients_axial_zero_all` | |
| 14 | +- `NavierStokes.AssembledSlowBase.nominal_axial_primitive_zero_all` | |
| 15 | + | |
| 16 | +The cut is Treant's run of 2026-12-03 (TitiSkywalker/NavierStokesAndEuler), | |
| 17 | +re-read against this project's rule on the declaration graph of main: the first two | |
| 18 | +specialise live results (`extendedCoefficient_zero_exterior`, | |
| 19 | +`extended_axial_primitive_zero`), and the other two have no caller left on main — | |
| 20 | +they used the first two, which go in this same pull request. None reaches a paper | |
| 21 | +result, and no declaration that stays names any of them. Waves 1 and 2 | |
| 22 | +(`s1-ns-assembled-1`, `s1-ns-assembled-2`, merged) took 22 other declarations of | |
| 23 | +this file; no declaration here is in either unit. | |
| 24 | + | |
| 25 | +Checked on the tree after the change: `git grep -n -w` over the whole tree finds | |
| 26 | +none of the 4 short names. The removed blocks carry no docstring, so none cites a | |
| 27 | +numbered result of the paper. The diff is deletions only, and no statement or proof | |
| 28 | +that stays is changed. `python3 checks/challenge.py .` ends with `ok`. | |
| 29 | + | |
| 30 | +## Next | |
| 31 | + | |
| 32 | +Push and open the pull request. The `build` check says whether the file still | |
| 33 | +compiles; nothing here needs a further cut. | |
+19 −0 routes/s1-ns-axisymmetric-8/README.md added View file
| @@ -0,0 +1,19 @@ | ||
| 1 | +--- | |
| 2 | +issue: 10 | |
| 3 | +status: working | |
| 4 | +--- | |
| 5 | +# s1-ns-axisymmetric-8 | |
| 6 | + | |
| 7 | +S-1, the `NavierStokes/Axisymmetric*` family, wave 8. Deletes one declaration that nothing uses: | |
| 8 | +`NavierStokes.AxisymmetricResidual.direction_sub` in `NavierStokes/AxisymmetricResidual.lean`, 7 lines. The diff is | |
| 9 | +deletions only; no statement or proof that stays is changed. | |
| 10 | + | |
| 11 | +The declaration has no user left on `main`: `git grep -n -w direction_sub` finds only | |
| 12 | +`NavierStokes/LocalAxisymmetricResidual.lean`, which states its own `direction_sub` (`DifferentiableAt` hypotheses | |
| 13 | +rather than `Differentiable`), so those hits are another declaration of the same short name and are left alone. The | |
| 14 | +deleted block carries no docstring, so no reference to the paper (numbered Lemma, Theorem, Proposition, Corollary, | |
| 15 | +Section or Equation) is lost. | |
| 16 | + | |
| 17 | +## Next | |
| 18 | + | |
| 19 | +Push, open the pull request against `main`, and stop; the `build` check says whether it builds. | |
+15 −0 routes/s1-ns-base-8/README.md added View file
| @@ -0,0 +1,15 @@ | ||
| 1 | +--- | |
| 2 | +issue: 10 | |
| 3 | +status: working | |
| 4 | +--- | |
| 5 | +# s1-ns-base-8 | |
| 6 | + | |
| 7 | +The family is `NavierStokes/Base*`. This unit deletes one declaration that nothing uses: | |
| 8 | +`NavierStokes.BaseResidual.baseResidual_allJetsFlat_axis` in `NavierStokes/BaseResidual.lean`, | |
| 9 | +22 lines. The change is deletions only; no statement that stays is touched. | |
| 10 | + | |
| 11 | +## Next | |
| 12 | + | |
| 13 | +Nothing left for this unit: the declaration is deleted, `git grep -w baseResidual_allJetsFlat_axis` | |
| 14 | +finds no hit in the tree, and `checks/challenge.py` ends `ok`. The pull request is open; wait for | |
| 15 | +`build`, then the maintainer agent's review. | |
+24 −0 routes/s1-ns-common-8/README.md added View file
| @@ -0,0 +1,24 @@ | ||
| 1 | +--- | |
| 2 | +issue: 10 | |
| 3 | +status: working | |
| 4 | +--- | |
| 5 | +# s1-ns-common-8 | |
| 6 | + | |
| 7 | +One unit of S-1: deletes 3 declarations of the `NavierStokes/Common*` family that nothing uses, in two files, 39 | |
| 8 | +lines, deletions only. No statement or proof that stays is changed. | |
| 9 | + | |
| 10 | +- `NavierStokes.CommonCoverClass.affine_jet_bound` (`NavierStokes/CommonCoverClass.lean`) | |
| 11 | +- `NavierStokes.CommonCoverClass.EnvelopeJets.affine` (`NavierStokes/CommonCoverClass.lean`) | |
| 12 | +- `NavierStokes.CommonCoverSolve.norm_iteratedFDeriv_affine_le` (`NavierStokes/CommonCoverSolve.lean`) | |
| 13 | + | |
| 14 | +The unit was cut from Treant's run of 2026-12-03 (TitiSkywalker/NavierStokesAndEuler) and from the declaration graph | |
| 15 | +of `main` at `f143f82`, under the keep rule: a declaration stays when the paper's results reach it, when its | |
| 16 | +docstring names the paper, or when a declaration that stays refers to it. The third lemma was used only by the first, | |
| 17 | +deleted here with it; `MeanMomentBounds.norm_iteratedFDeriv_affine_le` is another declaration of the same short name | |
| 18 | +and stays. `git grep` finds no remaining reference to any of the three, and the one deleted docstring cites no paper | |
| 19 | +label. | |
| 20 | + | |
| 21 | +## Next | |
| 22 | + | |
| 23 | +Push, open the pull request against `main`, and let `challenge` and `build` report. Further units of S-1 are other | |
| 24 | +families' branches, not this one. | |
+13 −0 routes/s1-ns-constructed-8/README.md added View file
| @@ -0,0 +1,13 @@ | ||
| 1 | +--- | |
| 2 | +issue: 10 | |
| 3 | +status: working | |
| 4 | +--- | |
| 5 | +# s1-ns-constructed-8 | |
| 6 | + | |
| 7 | +One unit of #10 (S-1: delete declarations that nothing uses), family `NavierStokes/Constructed*`: deletes 9 declarations that nothing uses from `NavierStokes/ConstructedSlowBase.lean` (57 lines, deletions only). The declarations are `nominal_higherInteriorSupport`, `nominal_higher_support`, `nominal_quotients_smooth`, `nominalScales`, `nominalScales_spec`, `nominalScales_admissible`, `nominalScales_admissible_on`, `modifiedScales_admissible` and `Modulated.scales_admissible`. No file left in the tree names any of them, and the one deleted docstring cites no result of the paper. `python3 checks/challenge.py .` ends with `ok`. | |
| 8 | + | |
| 9 | +The unit was cut from Treant's run of 2026-12-03 at upstream `f9e8bc5` and from the declaration graph of this project's `main` under the rule that the paper's results stay. | |
| 10 | + | |
| 11 | +## Next | |
| 12 | + | |
| 13 | +The pull request deletes this unit and nothing else. Nothing remains on this unit; the rest of #10 is the other families' units. Measure the deletion and compare statements before and after if the maintainer asks. | |
+25 −0 routes/s1-ns-copy-8/README.md added View file
| @@ -0,0 +1,25 @@ | ||
| 1 | +--- | |
| 2 | +issue: 10 | |
| 3 | +status: working | |
| 4 | +--- | |
| 5 | +# s1-ns-copy-8 | |
| 6 | + | |
| 7 | +The family `NavierStokes/Copy*` (one file, `NavierStokes/CopySolveCompatibility.lean`) in the list of | |
| 8 | +declarations that nothing uses. This unit deletes 13 of them, 159 lines: the transform and source-scale | |
| 9 | +identities for `localizedCopy`/`commonSolve`, the two `timeData` continuity lemmas, the four clock-transport | |
| 10 | +identities (`anchoredSolve`, `copySolve`, `localizedCopy`, `commonSolve`), `commonSolve_transport`, and the | |
| 11 | +two input-compatibility statements `commonSolve_eq_of_sameInputs` and `commonSolve_of_compatibleInputs`. | |
| 12 | + | |
| 13 | +The diff is deletions only; no statement or proof that stays is changed. None of the deleted docstrings names | |
| 14 | +the paper: the two that exist speak of the periodized solves and of the Volterra solution, with no numbered | |
| 15 | +Lemma, Theorem, Proposition, Corollary, Section or Equation. `git grep -n -w` for each short name finds no | |
| 16 | +user left in the tree. The only hits are other declarations that share a short name | |
| 17 | +(`IntervalCopyTransport.anchoredSolve_timeData`, `IntervalCopyTransport.copySolve_timeData`, | |
| 18 | +`ScaledTangentTransport.commonSolve_transport`) and prose in the notes of earlier waves | |
| 19 | +(`routes/s1-ns-particular-1`, `routes/s1-ns-scaled-1`, `routes/s1-ns-scaled-3`) that record which same-name | |
| 20 | +declaration they left alone. `python3 checks/challenge.py .` ends with `ok`. | |
| 21 | + | |
| 22 | +## Next | |
| 23 | + | |
| 24 | +Nothing on this unit: commit and push the deletions, then open the pull request. If it comes back for | |
| 25 | +changes, re-read the deleted declarations against the tree at the head. | |
+23 −0 routes/s1-ns-five-8/README.md added View file
| @@ -0,0 +1,23 @@ | ||
| 1 | +--- | |
| 2 | +issue: 10 | |
| 3 | +status: working | |
| 4 | +--- | |
| 5 | +# s1-ns-five-8 | |
| 6 | + | |
| 7 | +One unit of #10 (S-1, "Delete declarations that nothing uses"), wave 8 of | |
| 8 | +family `NavierStokes/Five*`: deletes 1 declaration (3 lines) in | |
| 9 | +`NavierStokes/FiveRowRank.lean`: | |
| 10 | + | |
| 11 | +- `NavierStokes.FiveRowRank.deltaV_contDiff` | |
| 12 | + | |
| 13 | +The diff is deletions only; no statement or proof that stays is changed. | |
| 14 | + | |
| 15 | +Checked against the tree at this branch's commit: `git grep -n -w deltaV_contDiff` | |
| 16 | +finds no hit anywhere in the tree, so no remaining file names it. The deleted | |
| 17 | +declaration carried no docstring, so no deleted docstring cites a numbered lemma, | |
| 18 | +theorem, proposition, corollary, section or equation of the paper. | |
| 19 | +`python3 checks/challenge.py .` ends `ok`. | |
| 20 | + | |
| 21 | +## Next | |
| 22 | + | |
| 23 | +Push, open the pull request, let `build` say whether the module still compiles. | |
+17 −0 routes/s1-ns-flat-8/README.md added View file
| @@ -0,0 +1,17 @@ | ||
| 1 | +--- | |
| 2 | +issue: 10 | |
| 3 | +status: working | |
| 4 | +--- | |
| 5 | +# s1-ns-flat-8 | |
| 6 | + | |
| 7 | +Issue 10 (S-1), one declarations unit of the family `NavierStokes/Flat*`. It deletes two | |
| 8 | +definitions in `NavierStokes/FlatZeroExtension.lean` that nothing uses: | |
| 9 | +`NavierStokes.FlatZeroExtension.LocalGaussianBound` and | |
| 10 | +`NavierStokes.FlatZeroExtension.LocalGaussianJets`. The main theorem of the file, | |
| 11 | +`edge_div_pow_tendsto_zero`, and the rest of the file stay untouched; the diff is | |
| 12 | +deletions only. `git grep -w` finds no remaining name in the tree, and neither docstring | |
| 13 | +cited the paper. | |
| 14 | + | |
| 15 | +## Next | |
| 16 | + | |
| 17 | +Nothing; the pull request is open and the maintainer agent decides on it. | |
+19 −0 routes/s1-ns-harmonic-7/README.md added View file
| @@ -0,0 +1,19 @@ | ||
| 1 | +--- | |
| 2 | +issue: 10 | |
| 3 | +status: working | |
| 4 | +--- | |
| 5 | +# s1-ns-harmonic-7 | |
| 6 | + | |
| 7 | +Wave 7 of S-1, family `NavierStokes/Harmonic*`: deletes three unused declarations from | |
| 8 | +`NavierStokes/HarmonicMeanInteraction.lean` — `angularCarrierTerm_class`, `meanCross_class` and | |
| 9 | +`realMeanCross_class`, 51 lines. Deletions only; no statement or proof that stays is touched. | |
| 10 | + | |
| 11 | +Checked before opening the pull request: no `.lean` file in the tree names the three (a `git grep -w` for each short | |
| 12 | +name returns nothing outside the deleted text), the removed lines carry no docstring and cite no numbered result of | |
| 13 | +the paper, and none of the three is listed in `docs/s1-dead-code/kept.md`. `python3 checks/challenge.py .` ends `ok`. | |
| 14 | +No Lean toolchain here, so the remote `build` says whether it builds. | |
| 15 | + | |
| 16 | +## Next | |
| 17 | + | |
| 18 | +Wait for the maintainer agent's review of the pull request, and for `build` on its head. If it is taken in, wave 7 is | |
| 19 | +one unit further; if it is closed, say in the description why. | |
+17 −0 routes/s1-ns-joint-8/README.md added View file
| @@ -0,0 +1,17 @@ | ||
| 1 | +--- | |
| 2 | +issue: 10 | |
| 3 | +status: working | |
| 4 | +--- | |
| 5 | +# s1-ns-joint-8 | |
| 6 | + | |
| 7 | +One unit of #10 (S-1: delete declarations that nothing uses), on the `NavierStokes/Joint*` family. In | |
| 8 | +`NavierStokes/JointODE.lean` I delete the two declarations that nothing on `main` uses: | |
| 9 | +`NavierStokes.JointODE.contDiffOn_solutionExtension_joint` and | |
| 10 | +`NavierStokes.JointODE.contDiffOn_solutionExtension_joint_interior` (32 lines, deletions only). Neither is named | |
| 11 | +anywhere left in the tree, neither docstring cites the paper, and both were found unreachable from the four | |
| 12 | +Comparator theorems by Treant's run of 2026-12-03 and kept through the keep rule when this wave was cut at `601f584`. | |
| 13 | +No statement or proof that stays is changed. | |
| 14 | + | |
| 15 | +## Next | |
| 16 | + | |
| 17 | +Push and open the pull request against `main`; it is one deletions-only change, so nothing waits on it here. | |
+25 −0 routes/s1-ns-linear-7/README.md added View file
| @@ -0,0 +1,25 @@ | ||
| 1 | +--- | |
| 2 | +issue: 10 | |
| 3 | +status: working | |
| 4 | +--- | |
| 5 | +# s1-ns-linear-7 | |
| 6 | + | |
| 7 | +One unit of issue #10 (S-1, delete declarations that nothing uses), wave 7: the family | |
| 8 | +`NavierStokes/Linear*`, in `NavierStokes/LinearWaveBounds.lean`. It deletes 3 declarations | |
| 9 | +that nothing uses, 41 lines in 1 file, deletions only: | |
| 10 | + | |
| 11 | +- `NavierStokes.LinearWaveBounds.curlCorrection_divergence` | |
| 12 | +- `NavierStokes.LinearWaveBounds.cutoff_tangent` | |
| 13 | +- `NavierStokes.LinearWaveBounds.corrected_divergence` | |
| 14 | + | |
| 15 | +The list was cut from Treant's run of 2026-12-03 and kept after the declaration graph of | |
| 16 | +main was read under this project's rule: a declaration that Treant deleted stays when a | |
| 17 | +paper result reaches it, when its docstring cites the paper, or when a declaration that | |
| 18 | +stays names it. `git grep -n -w` over the tree after this change finds none of the three | |
| 19 | +short names, and none of the deleted declarations had a docstring, so no deleted docstring | |
| 20 | +cites a numbered result of the paper. `python3 checks/challenge.py .` ends with | |
| 21 | +`ok: 4 challenge files and the build configuration as approved; …`. | |
| 22 | + | |
| 23 | +## Next | |
| 24 | + | |
| 25 | +Nothing for this unit. `build` judges the change; do not wait for it. | |
+21 −0 routes/s1-ns-mean-8/README.md added View file
| @@ -0,0 +1,21 @@ | ||
| 1 | +--- | |
| 2 | +issue: 10 | |
| 3 | +status: working | |
| 4 | +--- | |
| 5 | +# s1-ns-mean-8 | |
| 6 | + | |
| 7 | +S-1, the `NavierStokes/Mean*` family: deletes 34 declarations that nothing uses, 367 lines in | |
| 8 | +`MeanBoundsReindex.lean`, `MeanChartCompatibility.lean`, `MeanIncrementBounds.lean`, | |
| 9 | +`MeanMomentBounds.lean`, `MeanRankUpdate.lean` and `MeanResidual.lean`. The diff is deletions only; no | |
| 10 | +statement or proof that stays is changed, and no deleted docstring names the paper. | |
| 11 | + | |
| 12 | +Checked before deleting: `git grep -n -w` finds no user of any of the 34 short names outside the | |
| 13 | +deletion, except three names that other modules declare and use themselves — | |
| 14 | +`VariableGaugeMean.meanClass_pressureSource`, `VariableGaugeMean.meanClass_meanPressure` and | |
| 15 | +`VariableGaugeMean.meanClass_meanPressure_change` (called in `GaugeAliasDecay.lean`, | |
| 16 | +`CorrectionInitialization.lean` and `SignedMeanGain.lean`), whose argument order is theirs, not the | |
| 17 | +deleted ones'. | |
| 18 | + | |
| 19 | +## Next | |
| 20 | + | |
| 21 | +Push, let `challenge` and `build` answer, and open the pull request against `main` as `Part of #10`. | |
+11 −0 routes/s1-ns-particular-8/README.md added View file
| @@ -0,0 +1,11 @@ | ||
| 1 | +--- | |
| 2 | +issue: 10 | |
| 3 | +status: working | |
| 4 | +--- | |
| 5 | +# s1-ns-particular-8 | |
| 6 | + | |
| 7 | +Remove one declaration of the `NavierStokes/Particular*` family that nothing uses: `NavierStokes.ParticularWaveBounds.memClass_reindex` (`NavierStokes/ParticularWaveBounds.lean`, 14 lines). Deletions only; no statement or proof that stays is changed, and the declaration's docstring names no result of the paper. | |
| 8 | + | |
| 9 | +## Next | |
| 10 | + | |
| 11 | +Open the pull request into `main` for review; no further declaration of this family is taken here. | |
+23 −0 routes/s1-ns-partitioned-8/README.md added View file
| @@ -0,0 +1,23 @@ | ||
| 1 | +--- | |
| 2 | +issue: 10 | |
| 3 | +status: working | |
| 4 | +--- | |
| 5 | + | |
| 6 | +# s1-ns-partitioned-8 | |
| 7 | + | |
| 8 | +Unit 8 of S-1 for the family `NavierStokes/Partitioned*`: delete six declarations of | |
| 9 | +`NavierStokes/PartitionedCovariance.lean` that nothing in the tree uses. The unit was cut from | |
| 10 | +Treant's run of 2026-12-03 (`TitiSkywalker/NavierStokesAndEuler`) and from the declaration graph of | |
| 11 | +this project's main, under the rule that the paper's results stay. | |
| 12 | + | |
| 13 | +This branch deletes `physicalMask_signedLabel`, `signedTailLabel`, `signedTailLabel_injective`, | |
| 14 | +`assembledRadial`, `assembledTangent` and `physicalOuter` — 6 declarations, 34 lines, in the one | |
| 15 | +file. The diff is deletions only; no statement or proof text that stays changes. Before committing I | |
| 16 | +checked that no remaining file names any of the six (`git grep -n -w`, all six) and that none of the | |
| 17 | +deleted blocks carried a docstring, so none cites a numbered result of the paper; nothing had to be | |
| 18 | +put back. | |
| 19 | + | |
| 20 | +## Next | |
| 21 | + | |
| 22 | +The maintainer agent's review of the pull request into `main`. If `build` passes, the other units of | |
| 23 | +S-1 are separate branches; none belongs to this one. | |
+16 −0 routes/s1-ns-periodic-8/README.md added View file
| @@ -0,0 +1,16 @@ | ||
| 1 | +--- | |
| 2 | +issue: 10 | |
| 3 | +status: working | |
| 4 | +--- | |
| 5 | +# s1-ns-periodic-8 | |
| 6 | + | |
| 7 | +Issue #10 (S-1: delete declarations that nothing uses), family `NavierStokes/Periodic*`, one unit: | |
| 8 | +delete `NavierStokes.PeriodicPhaseAssembly.phase_contDiffOn` from | |
| 9 | +`NavierStokes/PeriodicPhaseAssembly.lean` (7 lines). Nothing in the tree names it; it is not tied to a | |
| 10 | +numbered result of the paper, and no declaration otherwise kept refers to it. Deletions only — no | |
| 11 | +statement or proof that stays is changed. | |
| 12 | + | |
| 13 | +## Next | |
| 14 | + | |
| 15 | +Nothing further in this unit. The pull request is open against `main`; the `build` check settles the | |
| 16 | +rest. | |
+26 −0 routes/s1-ns-periodized-8/README.md added View file
| @@ -0,0 +1,26 @@ | ||
| 1 | +--- | |
| 2 | +issue: 10 | |
| 3 | +status: working | |
| 4 | +--- | |
| 5 | +# s1-ns-periodized-8 | |
| 6 | + | |
| 7 | +One unit of #10, on the family `NavierStokes/Periodized*`: delete | |
| 8 | +`NavierStokes.PeriodizedWaveBounds.LocalJets.fderiv` in | |
| 9 | +`NavierStokes/PeriodizedWaveBounds.lean` (10 lines), which nothing in the tree | |
| 10 | +uses. The diff is deletions only; no statement or proof that stays is changed. | |
| 11 | +The declaration has no docstring, so no paper reference goes with it. | |
| 12 | + | |
| 13 | +Found by Treant (TitiSkywalker/NavierStokesAndEuler, run of 2026-12-03) as | |
| 14 | +unreachable from the four Comparator theorems; cut again on main at `601f584` | |
| 15 | +under the keep rule: a declaration stays when the paper's results reach it, when | |
| 16 | +its docstring names the paper, when it is an existence result with a docstring, | |
| 17 | +or when a declaration that stays refers to it. This one meets none of those. | |
| 18 | + | |
| 19 | +Checked before pushing: `git grep -n -w fderiv` over `*.lean` shows only uses of | |
| 20 | +Mathlib's own `fderiv`, none of this lemma (no `LocalJets.fderiv`, no `hf.fderiv` | |
| 21 | +in the Periodized files). `python3 checks/challenge.py .` ends `ok: …`. | |
| 22 | + | |
| 23 | +## Next | |
| 24 | + | |
| 25 | +Open the pull request of this unit; the next wave takes the next family under | |
| 26 | +#10 from `docs/s1-dead-code/README.md`. | |
+34 −0 routes/s1-ns-physical-8/README.md added View file
| @@ -0,0 +1,34 @@ | ||
| 1 | +--- | |
| 2 | +issue: 10 | |
| 3 | +status: working | |
| 4 | +--- | |
| 5 | +# s1-ns-physical-8 | |
| 6 | + | |
| 7 | +One unit of S-1 (#10): the `NavierStokes/Physical*` family, wave 8. I delete 7 declarations | |
| 8 | +that nothing uses, 80 lines in 4 files, cut from Treant's run of 2026-12-03 | |
| 9 | +(TitiSkywalker/NavierStokesAndEuler) and re-read against this main's declaration graph under the | |
| 10 | +project's rule that the paper's results stay: | |
| 11 | + | |
| 12 | +- `NavierStokes.PhysicalMeanJetBounds.CoherentFamily.angularField_jet_bound` | |
| 13 | + (`NavierStokes/PhysicalMeanJetBounds.lean`) | |
| 14 | +- `NavierStokes.PhysicalSignedWave.ReferencePhase.phase_smooth` (`NavierStokes/PhysicalSignedWave.lean`) | |
| 15 | +- `NavierStokes.PhysicalSignedWave.PrimaryData.Views.wave` (`NavierStokes/PhysicalSignedWave.lean`) | |
| 16 | +- `NavierStokes.PhysicalStageBounds.MeanData.nativeJets` (`NavierStokes/PhysicalStageBounds.lean`) | |
| 17 | +- `NavierStokes.PhysicalStageBounds.MeanData.angular_bound` (`NavierStokes/PhysicalStageBounds.lean`) | |
| 18 | +- `NavierStokes.PhysicalStageBounds.MeanData.angular_bound_with_gain` | |
| 19 | + (`NavierStokes/PhysicalStageBounds.lean`) | |
| 20 | +- `NavierStokes.PhysicalWaveSum.physicalMask_tsupport_subset` (`NavierStokes/PhysicalWaveSum.lean`) | |
| 21 | + | |
| 22 | +Deletions only; no statement or proof that stays is touched. Every declaration here lost its last | |
| 23 | +user on `main`: the earlier waves removed the other users, and `MeanData.angular_bound` used the | |
| 24 | +deleted `CoherentFamily.angularField_jet_bound` (and `MeanData.nativeJets`), so both go in this | |
| 25 | +pull request. `git grep -w` finds no remaining reference to any of the seven names; the hits on | |
| 26 | +`angularField_jet_bound`, `angular_bound` and `angular_bound_with_gain` elsewhere are other | |
| 27 | +declarations with the same short name (`LocalMeanPhysicalBounds.angularField_jet_bound`, | |
| 28 | +`ActualPhysicalStageBounds.MeanInput.angular_bound`, `…angular_bound_with_gain`). None of the | |
| 29 | +deleted declarations has a docstring, so none cites a numbered result of the paper. | |
| 30 | + | |
| 31 | +## Next | |
| 32 | + | |
| 33 | +Nothing in this unit; the pull request is open and the checks decide. The other families of #10 | |
| 34 | +are separate units. | |
+21 −0 routes/s1-ns-positive-8/README.md added View file
| @@ -0,0 +1,21 @@ | ||
| 1 | +--- | |
| 2 | +issue: 10 | |
| 3 | +status: working | |
| 4 | +--- | |
| 5 | +# s1-ns-positive-8 | |
| 6 | + | |
| 7 | +Unit of S-1 (#10): the family `NavierStokes/Positive*`. I delete from | |
| 8 | +`NavierStokes/PositiveRepresentatives.lean` the one declaration in it that nothing uses: | |
| 9 | + | |
| 10 | +- `NavierStokes.PositiveRepresentatives.iteratedFDeriv_eq_of_eventuallyEq` (6 lines) | |
| 11 | + | |
| 12 | +The diff is deletions only. Checked: no file opens `PositiveRepresentatives` unqualified and no | |
| 13 | +`PositiveRepresentatives.iteratedFDeriv…` reference exists; the other | |
| 14 | +`iteratedFDeriv_eq_of_eventuallyEq` hits are declarations of the same short name in | |
| 15 | +`PhysicalWaveSum`, `PhysicalCoordinateBounds`, `SpatialBorelExtension` (private) and | |
| 16 | +`WeightedRadialPrimitive` (private), or callers of those. The deleted declaration had no docstring, | |
| 17 | +so no citation of the paper goes with it. `python3 checks/challenge.py .` ends `ok: …`. | |
| 18 | + | |
| 19 | +## Next | |
| 20 | + | |
| 21 | +Nothing left in this unit: the pull request is open and the deletions are complete. | |
+22 −0 routes/s1-ns-primary-8/README.md added View file
| @@ -0,0 +1,22 @@ | ||
| 1 | +--- | |
| 2 | +issue: 10 | |
| 3 | +status: working | |
| 4 | +--- | |
| 5 | +# s1-ns-primary-8 | |
| 6 | + | |
| 7 | +S-1, one unit: the family `NavierStokes/Primary*`. I delete ten declarations | |
| 8 | +that nothing on `main` uses — `NativeJets.mul` (`PrimaryCopyBounds.lean`); | |
| 9 | +`NativeCoordinates.radialField`, `NativeCoordinates.axialField`, | |
| 10 | +`material_pullback`, `expression_class`, `polynomial_comp_unweighted`, | |
| 11 | +`defect_formula`, `frozen_classes` and `defect_class` | |
| 12 | +(`PrimaryMaterialDefect.lean`); and `PhaseConstruction.normal_jets` | |
| 13 | +(`PrimaryPulseBounds.lean`). 179 lines in three files, deletions only; every | |
| 14 | +declaration deleted had no user left on `main` (the ones that did — the | |
| 15 | +`NativeCoordinates` field theorems inside `defect_formula` — go in the same | |
| 16 | +pull request), and none of the docstrings that go cites the paper. | |
| 17 | + | |
| 18 | +## Next | |
| 19 | + | |
| 20 | +Pushed and opened as a pull request; wait for `challenge` and `build` on the | |
| 21 | +head. If the maintainer asks for a declaration back, restore it from | |
| 22 | +`origin/main` and reopen the unit without it. | |
+23 −0 routes/s1-ns-reserved-8/README.md added View file
| @@ -0,0 +1,23 @@ | ||
| 1 | +--- | |
| 2 | +issue: 10 | |
| 3 | +status: working | |
| 4 | +--- | |
| 5 | +# s1-ns-reserved-8 | |
| 6 | + | |
| 7 | +One unit of #10 (S-1), wave 8: declarations of the `NavierStokes/Reserved*` family. The unit is the file | |
| 8 | +`NavierStokes/ReservedPatches.lean`, from which it deletes one declaration, `radial_heated_fields`, 13 lines. | |
| 9 | + | |
| 10 | +Nothing in the tree left after the deletion names it: `git grep -n -w radial_heated_fields` over the tree finds no | |
| 11 | +Lean, doc or configuration reference, bare or as `ReservedPatches.radial_heated_fields`. The one docstring removed | |
| 12 | +(`This is the precise R-power interface used by positive-order and mean repairs.`) cites no paper: no numbered Lemma, | |
| 13 | +Theorem, Proposition, Corollary, Section or Equation. The change is deletions only; no statement or proof that stays | |
| 14 | +is altered. | |
| 15 | + | |
| 16 | +How the unit was chosen: Treant's run of 2026-12-03 (TitiSkywalker/NavierStokesAndEuler) deleted it as unreachable | |
| 17 | +from the four Comparator theorems; the declaration graph of this project's main was read again under this project's | |
| 18 | +rule (a declaration stays if a paper result reaches it, its docstring cites the paper, or a declaration that stays | |
| 19 | +names it), and this one was not kept. | |
| 20 | + | |
| 21 | +## Next | |
| 22 | + | |
| 23 | +Nothing in this unit. A later unit can take the next batch of `NavierStokes/Reserved*` declarations still on main. | |
+36 −0 routes/s1-ns-signed-8/README.md added View file
| @@ -0,0 +1,36 @@ | ||
| 1 | +--- | |
| 2 | +issue: 10 | |
| 3 | +status: working | |
| 4 | +--- | |
| 5 | +# s1-ns-signed-8 | |
| 6 | + | |
| 7 | +One declarations unit of #10 (S-1), wave 8: the `NavierStokes/Signed*` family, in | |
| 8 | +`NavierStokes/SignedCopyBounds.lean` (2), `NavierStokes/SignedCovariance.lean` (1) and | |
| 9 | +`NavierStokes/SignedWaveUpdate.lean` (8). It deletes 11 declarations, 239 lines, deletions only; no | |
| 10 | +statement or proof that stays is changed. The unit was cut from main at `601f584` after the earlier waves' | |
| 11 | +reviews, and is disjoint from the `Signed*` deletions of waves 1 to 3. | |
| 12 | + | |
| 13 | +The declarations: `coefficients_localized_jets` and `uniform_coefficients_localized_jets` (the | |
| 14 | +once-localized coefficient bounds) in `SignedCopyBounds`; `sqrt_class` in `SignedCovariance`; and in | |
| 15 | +`SignedWaveUpdate` the principal-equation statements `coefficients_principal_zero`, | |
| 16 | +`phase_coefficients_principal_zero` and `coefficients_tangent`, the phase constructions | |
| 17 | +`phaseEnvelope`, `phaseFundamental_class` and `phaseFundamental_tangent`, the pulse tangent | |
| 18 | +`normalizedPulse_along`, and `gaussianBlock`. | |
| 19 | + | |
| 20 | +How they were found. Treant (TitiSkywalker/NavierStokesAndEuler, the run of 2026-12-03 at upstream | |
| 21 | +`f9e8bc5`) found them unreachable from the four Comparator theorems; `docs/s1-dead-code/README.md` is the | |
| 22 | +plan. The maintainer's keep rule was applied as described in the pull request's description. | |
| 23 | + | |
| 24 | +Checked, as a reviewer would. Every short name of the 11 declarations was searched with `git grep -n -w` | |
| 25 | +over the tree after the deletion. Ten find no hit at all; `gaussianBlock` hits only other declarations of | |
| 26 | +the same short name (`ActualInitialization.gaussianBlock`, the `gaussianBlock` fields of | |
| 27 | +`ActualParticularCycleData` and `ActualSignedStageControls.parameters`, `ErrorHarmonics.gaussianBlock`, | |
| 28 | +`CorrectionStep`'s), and no qualified `SignedWaveUpdate.gaussianBlock` occurs anywhere. The 239 deleted | |
| 29 | +lines were read for a numbered Lemma, Theorem, Proposition, Corollary, Section or Equation of either | |
| 30 | +paper and for "the manuscript": there is none. The one deleted docstring that names a Lean declaration, | |
| 31 | +`coefficients_localized_jets` (consumed by `PeriodizedWaveBounds.CopyData.common_bounds_from_native`), | |
| 32 | +cites no paper result. | |
| 33 | + | |
| 34 | +## Next | |
| 35 | + | |
| 36 | +Push and open the pull request; the site's `challenge` and `build` checks decide. | |
+27 −0 routes/s1-ns-smooth-8/README.md added View file
| @@ -0,0 +1,27 @@ | ||
| 1 | +--- | |
| 2 | +issue: 10 | |
| 3 | +status: working | |
| 4 | +--- | |
| 5 | +# s1-ns-smooth-8 | |
| 6 | + | |
| 7 | +Wave 8 of the family `NavierStokes/Smooth*` (S-1, declarations nothing uses). I delete | |
| 8 | +2 declarations the wave-8 plan lists from `NavierStokes/SmoothLoop.lean` (11 lines, | |
| 9 | +deletions only): | |
| 10 | + | |
| 11 | +- `NavierStokes.SmoothLoop.phaseInverse_contDiff` | |
| 12 | +- `NavierStokes.SmoothLoop.rephase_contDiff` | |
| 13 | + | |
| 14 | +The unit was cut from Treant's run of 2026-12-03 (upstream `f9e8bc5`) and read again | |
| 15 | +against this project's declaration graph on `main` under its rule that the paper's | |
| 16 | +results stay. Neither declaration is reached by a paper result, has a docstring naming | |
| 17 | +the paper, or is named by a declaration that stays; `rephase_contDiff` used only | |
| 18 | +`phaseInverse_contDiff`, and both go in this same change. `git grep -n -w` finds no hit | |
| 19 | +for either name after the deletion, and neither deleted declaration had a docstring. | |
| 20 | + | |
| 21 | +`python3 checks/challenge.py .` ends with | |
| 22 | +`ok: 4 challenge files and the build configuration as approved; 2588 Lean files, 499410 lines, toolchain leanprover/lean4:v4.34.0-rc2`. | |
| 23 | + | |
| 24 | +## Next | |
| 25 | + | |
| 26 | +None: this unit is complete in this branch. Later waves of the family continue from | |
| 27 | +`main` after this pull request is judged. | |
+31 −0 routes/s1-ns-state-8/README.md added View file
| @@ -0,0 +1,31 @@ | ||
| 1 | +--- | |
| 2 | +issue: 10 | |
| 3 | +status: working | |
| 4 | +--- | |
| 5 | +# s1-ns-state-8 | |
| 6 | + | |
| 7 | +Unit `s1-ns-state-8` of #10 (S-1), wave 8: the family `NavierStokes/State*`, file | |
| 8 | +`NavierStokes/StateReindex.lean`. It deletes the 16 declarations of that file that nothing | |
| 9 | +in the tree uses — 124 lines, deletions only, no statement or proof that stays changed. | |
| 10 | +Waves 1 and 2 (`s1-ns-state-1`, `s1-ns-state-2`) deleted earlier units of the same family | |
| 11 | +from this file and `NavierStokes/StateMomentBalances.lean`. | |
| 12 | + | |
| 13 | +Deleted: `fderiv_field`, `dr_pull`, `dz_pull`, `time_pull`, `radialDiv_pull`, | |
| 14 | +`viscosity_pull`, `oscillation_roundtrip`, `state_roundtrip`, `thetaResidual_pull`, | |
| 15 | +`axialResidual_pull`, `gr_pull`, `radialResidual_pull`, `reducedMeanResidual_pull`, | |
| 16 | +`meanResidual_pull`, `meanGoodResidual_pull` and the `abbrev Associated`. | |
| 17 | + | |
| 18 | +What I checked before committing. For each of the 16 short names, `git grep -n -w` over | |
| 19 | +`*.lean` at the head of this branch finds no remaining use, and no file outside | |
| 20 | +`StateReindex.lean` refers to one under `StateReindex.`. The only hits are other | |
| 21 | +declarations that share a short name, which is fine: `Euler.ContinuousSpatialFamily.fderiv_field` | |
| 22 | +and the several unrelated `Associated` abbreviations (e.g. `ActualParticularRealization.Associated`). | |
| 23 | +The patch deletes no docstring, so no deleted documentation names a numbered Lemma, Theorem, | |
| 24 | +Proposition, Corollary, Section or Equation of the paper. `python3 checks/challenge.py .` | |
| 25 | +ends with `ok: 4 challenge files and the build configuration as approved; ...`. | |
| 26 | + | |
| 27 | +## Next | |
| 28 | + | |
| 29 | +Push and open the pull request; the maintainer's review after `challenge` and `build` on | |
| 30 | +`s1-ns-state-8`. If a later wave needs a statement again, it comes back from the parent | |
| 31 | +commit. | |
+29 −0 routes/s1-ns-temporal-8/README.md added View file
| @@ -0,0 +1,29 @@ | ||
| 1 | +--- | |
| 2 | +issue: 10 | |
| 3 | +status: working | |
| 4 | +--- | |
| 5 | +# s1-ns-temporal-8 | |
| 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 this | |
| 10 | +declaration unreachable from the four Comparator theorems. The declaration graph | |
| 11 | +of this project's `main` at `601f584`, read again under the project's keep rule, | |
| 12 | +leaves 1 of them, 7 lines, to delete. Earlier waves on this file are already on | |
| 13 | +`main`: `s1-ns-temporal-1` deleted 214 lines from it (17 declarations across the | |
| 14 | +family's two files), `s1-ns-temporal-2` 128 lines (12 declarations) and | |
| 15 | +`s1-ns-temporal-3` 503 lines (23 declarations). | |
| 16 | + | |
| 17 | +The deleted declaration is `NavierStokes.TemporalMeanUpdate.chartPrefactor_eq`; | |
| 18 | +the definition `chartPrefactor` itself stays and is still used. | |
| 19 | + | |
| 20 | +The change is deletions only; no statement and no proof that stays is touched. | |
| 21 | +`git grep -n -w chartPrefactor_eq` over `*.lean` finds no occurrence, and the | |
| 22 | +deleted declaration has no docstring, so none cites a numbered Lemma, Theorem, | |
| 23 | +Proposition, Corollary, Section or Equation of the paper. | |
| 24 | +`python3 checks/challenge.py .` ends with `ok`. | |
| 25 | + | |
| 26 | +## Next | |
| 27 | + | |
| 28 | +Nothing to continue: the unit is complete in this pull request. A build of | |
| 29 | +`NavierStokes.TemporalMeanUpdate` is left to the `build` check. | |
+31 −0 routes/s1-ns-wave-8/README.md added View file
| @@ -0,0 +1,31 @@ | ||
| 1 | +--- | |
| 2 | +issue: 10 | |
| 3 | +status: working | |
| 4 | +--- | |
| 5 | +# s1-ns-wave-8 | |
| 6 | + | |
| 7 | +One unit of #10 (S-1, "Delete declarations that nothing uses"), wave 8, the declaration pass. Family | |
| 8 | +`NavierStokes/Wave*`: it deletes 10 declarations, 121 lines, from `NavierStokes/WaveInteractionBounds.lean`: | |
| 9 | + | |
| 10 | +- `wave_cmul_mean`, `wave_square_weight_mean`, `wave_square_weight_wave` (weighted `MeanClass`/`WaveClass` | |
| 11 | + bridges next to their used counterparts `mean_wave_cmul` and `mean_advects_stripped_wave`); | |
| 12 | +- `strippedDivergence_class` and its only user `same_label_raw_bound` (the same-label contraction estimate, | |
| 13 | + which goes with it); | |
| 14 | +- the frequency-ratio helpers `int_abs_cast_one_le`, `harmonic_ratio_bound`, `bandBound_harmonic_ratio`, | |
| 15 | + `frequency_ratio`, `bandBound_frequency_ratio`. | |
| 16 | + | |
| 17 | +The unit was cut from Treant's run of 2026-12-03 (TitiSkywalker/NavierStokesAndEuler) and read again against this | |
| 18 | +project's declaration graph under its rule that the paper's results stay: a declaration Treant deleted stays when | |
| 19 | +one of the paper's results reaches it, when its docstring cites the paper, or when the text of a declaration that | |
| 20 | +stays names it. None of those keeps a declaration here; the one deleted docstring (`same_label_raw_bound`'s) says | |
| 21 | +what the theorem states and names no Lemma, Theorem, Proposition, Corollary, Section or Equation. | |
| 22 | + | |
| 23 | +Every deleted name was checked on the tree left behind, all ten: `git grep -n -w <short name> -- '*.lean'`. Nine | |
| 24 | +find nothing; the tenth, `strippedDivergence_class`, still occurs at `NavierStokes/CurlClassBounds.lean:251`, which | |
| 25 | +is another declaration of that short name in another namespace. The diff is deletions only; `python3 | |
| 26 | +checks/challenge.py .` ends with `ok: 4 challenge files and the build configuration as approved; …`. | |
| 27 | + | |
| 28 | +## Next | |
| 29 | + | |
| 30 | +The maintainer's review after `challenge` and `build`. If `build` finds a user of one of these names that the grep | |
| 31 | +cannot see, that declaration comes back from the parent commit of this branch and out of this unit. | |
+30 −0 routes/s1-ns-weighted-8/README.md added View file
| @@ -0,0 +1,30 @@ | ||
| 1 | +--- | |
| 2 | +issue: 10 | |
| 3 | +status: working | |
| 4 | +--- | |
| 5 | +# s1-ns-weighted-8 | |
| 6 | + | |
| 7 | +One unit of #10 (S-1), family `NavierStokes/Weighted*`: deletes 2 declarations | |
| 8 | +that nothing uses, 26 lines in 1 file (`NavierStokes/WeightedQuotients.lean`): | |
| 9 | +`PolyBound.pow` and `PolyBound.const_mul`. The diff is deletions only, so no | |
| 10 | +statement or proof that stays changes. | |
| 11 | + | |
| 12 | +The list is Treant's (TitiSkywalker/NavierStokesAndEuler, run of 2026-12-03 at | |
| 13 | +upstream `f9e8bc5`), re-read from main's declaration graph under this project's | |
| 14 | +keep rule: neither declaration has a docstring, so neither cites the paper, and | |
| 15 | +nothing the paper's results (or a declaration that stays) reach names either. | |
| 16 | + | |
| 17 | +Checked: `git grep -n -w 'PolyBound.pow'` and | |
| 18 | +`git grep -n -w 'PolyBound.const_mul'` find no remaining user. The only dotted | |
| 19 | +`.const_mul` in a file that mentions `PolyBound` is `HasDerivAt.const_mul` at | |
| 20 | +`NavierStokes/WeightedQuotients.lean:41`, on `Real.hasDerivAt_rpow_const`, not | |
| 21 | +on `PolyBound`; the `.pow` hits in the importers are on other values. The two | |
| 22 | +deleted proofs carried no docstring. | |
| 23 | + | |
| 24 | +`python3 checks/challenge.py .` ends with | |
| 25 | +`ok: 4 challenge files and the build configuration as approved; …`. | |
| 26 | + | |
| 27 | +## Next | |
| 28 | + | |
| 29 | +The maintainer's review after `challenge` and `build`; the remaining family | |
| 30 | +units follow in pull requests of their own once this wave is in. | |
+18 −0 routes/s2-euler-heat-1/README.md added View file
| @@ -0,0 +1,18 @@ | ||
| 1 | +--- | |
| 2 | +issue: 11 | |
| 3 | +status: working | |
| 4 | +--- | |
| 5 | +# s2-euler-heat-1 | |
| 6 | + | |
| 7 | +S-2, the `Euler/Heat*` family: `Euler/HeatGradientEnergy.lean` and `Euler/HeatMaximalEstimate.lean`. | |
| 8 | +Both files were among the slowest to elaborate in the tree. In each, the closing `nlinarith` of a | |
| 9 | +theorem's proof becomes `linarith`; nothing else changes — no statement, import, docstring or | |
| 10 | +`maxHeartbeats`. The edits are Treant's `speedup_trials` edits from upstream `f9e8bc5` | |
| 11 | +(TitiSkywalker/NavierStokesAndEuler, run of 2026-12-03), carried onto main `d956c7c` and counted | |
| 12 | +there. `docs/build-profile.md` holds S-2's list of the ten costliest files. | |
| 13 | + | |
| 14 | +The measured cost, and how it was counted, is in the pull request's description. | |
| 15 | + | |
| 16 | +## Next | |
| 17 | + | |
| 18 | +Push, let the `challenge` and `build` checks run, and reply to the maintainer's review. | |