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-assembled-1
Browse files+0 −4 Euler/IntegralPathLimit.lean View file
| @@ -29,10 +29,6 @@ def pathIntegralOperator (T : ℝ) (hT : 0 ≤ T) (a b : ℝ) : C(Icc (0 : ℝ) | ||
| 29 | 29 | intervalIntegral.norm_integral_le_of_norm_le_const (fun t _ => extendPath_norm_le T hT f t) |
| 30 | 30 | exact h.trans_eq (mul_comm _ _)) |
| 31 | 31 | |
| 32 | -/-- The time-integral operator is the literal Bochner interval integral. -/ | |
| 33 | -theorem pathIntegralOperator_apply (T : ℝ) (hT : 0 ≤ T) (a b : ℝ) (f : C(Icc (0 : ℝ) T,E)) : | |
| 34 | - pathIntegralOperator T hT a b f = ∫ t in a..b, extendPath T hT f t := rfl | |
| 35 | - | |
| 36 | 32 | variable [CompleteSpace E] |
| 37 | 33 | |
| 38 | 34 | /-- Interior time derivatives with continuous endpoint traces give the exact integral evolution formula. -/ |
+0 −101 Euler/LinearDuhamelGevrey.lean View file
| @@ -50,105 +50,4 @@ theorem weightedSolution_contDiff {n : ℕ∞ω} (hB : ContDiff ℝ n B) | ||
| 50 | 50 | exact (ContinuousLinearMap.contDiff (𝕜 := ℝ) (n := n) |
| 51 | 51 | (E := C(Icc (0 : ℝ) T,E)) (F := C(Icc (0 : ℝ) T,E)) (normalize g hg)).comp hs |
| 52 | 52 | |
| 53 | -/-- The exact differentiated ODE yields a triangular estimate in the fixed | |
| 54 | -profile norm, with the same homogeneous and Green operators at every order. -/ | |
| 55 | -theorem weightedSolution_derivative_recurrence | |
| 56 | - (hB : ContDiff ℝ ∞ B) (hf : ContDiff ℝ ∞ f) (ha₀ : ContDiff ℝ ∞ a₀) | |
| 57 | - (hg₀ : g ⟨0,le_rfl,hT⟩ = 1) (C : ℝ) (hC : 0 ≤ C) | |
| 58 | - (hU : ∀ x (t s : Icc (0 : ℝ) T), s ≤ t → ‖(U x).propagator t s‖ ≤ C*g t/g s) | |
| 59 | - (x : P) (n : ℕ) : | |
| 60 | - ‖iteratedFDeriv ℝ n (fun y => (U y).weightedSolution g hg (f y) (a₀ y)) x‖ ≤ | |
| 61 | - C*‖iteratedFDeriv ℝ n a₀ x‖ + (C*T)* | |
| 62 | - (‖iteratedFDeriv ℝ n f x‖ + ∑ j ∈ range n, | |
| 63 | - (n.choose (j+1) : ℝ) * ‖iteratedFDeriv ℝ (j+1) (fun y => multiplier (B y)) x‖ * | |
| 64 | - ‖iteratedFDeriv ℝ (n-(j+1)) | |
| 65 | - (fun y => (U y).weightedSolution g hg (f y) (a₀ y)) x‖) := by | |
| 66 | - let u := fun y => (U y).weightedSolution g hg (f y) (a₀ y) | |
| 67 | - have hu := weightedSolution_contDiff T hT B U g hg f a₀ hB hf ha₀ | |
| 68 | - have hfreeze : ∀ y, u y = (U x).weightedInitial g hg (a₀ y) + | |
| 69 | - (U x).weightedForcing g hg (f y + (multiplier (B y)-multiplier (B x)) (u y)) := by | |
| 70 | - intro y | |
| 71 | - have hd : multiplier (B y-B x) = multiplier (B y)-multiplier (B x) := by | |
| 72 | - ext p t | |
| 73 | - rfl | |
| 74 | - simpa only [hd] using (U x).weighted_frozen_solution g hg (U y) (f y) (a₀ y) | |
| 75 | - have hr := EulerFrozenEvolutionGevrey.derivative_recurrence | |
| 76 | - (fun y => multiplier (B y)) u f a₀ (contDiff_multiplier B hB) hu hf ha₀ x | |
| 77 | - ((U x).weightedInitial g hg) ((U x).weightedForcing g hg) hfreeze n | |
| 78 | - exact hr.trans (add_le_add | |
| 79 | - (mul_le_mul_of_nonneg_right ((U x).weightedInitial_norm g hg hg₀ C hC (hU x)) (norm_nonneg _)) | |
| 80 | - (mul_le_mul_of_nonneg_right ((U x).weightedForcing_norm g hg hg₀ C hC (hU x)) (by positivity))) | |
| 81 | - | |
| 82 | -/-- The fixed polynomial amplitude controlling the differentiated forward solve. -/ | |
| 83 | -def forwardCost (T C A D CB : ℝ) : ℝ := 1 + C*A + C*T*(D+CB) | |
| 84 | - | |
| 85 | -/-- The actual forward solve loses one factorial shift. Its radius condition | |
| 86 | -contains only the propagator, coefficient and data amplitudes, and time length. -/ | |
| 87 | -theorem weightedSolution_gevrey | |
| 88 | - (hB : ContDiff ℝ ∞ B) (hf : ContDiff ℝ ∞ f) (ha₀ : ContDiff ℝ ∞ a₀) | |
| 89 | - (hg₀ : g ⟨0,le_rfl,hT⟩ = 1) | |
| 90 | - (C A D CB Rc R : ℝ) (hC : 0 ≤ C) (hA : 0 ≤ A) (hD : 0 ≤ D) (hCB : 0 ≤ CB) | |
| 91 | - (hRc : 0 ≤ Rc) (hR : 2*forwardCost T C A D CB*(Rc+1) ≤ R) | |
| 92 | - (hU : ∀ x (t s : Icc (0 : ℝ) T), s ≤ t → ‖(U x).propagator t s‖ ≤ C*g t/g s) | |
| 93 | - (hcoeff : ∀ j x, ‖iteratedFDeriv ℝ (j+1) B x‖ ≤ CB*(Rc^(j+1)*((j+1).factorial : ℝ)^2)) | |
| 94 | - (d : ℕ) (hforce : ∀ n x, ‖iteratedFDeriv ℝ n f x‖ ≤ D*majorant R d n) | |
| 95 | - (hinitial : ∀ n x, ‖iteratedFDeriv ℝ n a₀ x‖ ≤ A*majorant R d n) | |
| 96 | - (n : ℕ) (x : P) : | |
| 97 | - ‖iteratedFDeriv ℝ n (fun y => (U y).weightedSolution g hg (f y) (a₀ y)) x‖ ≤ | |
| 98 | - majorant R (d+1) n := by | |
| 99 | - let u := fun y => (U y).weightedSolution g hg (f y) (a₀ y) | |
| 100 | - let M := forwardCost T C A D CB | |
| 101 | - have hCT : 0 ≤ C*T := mul_nonneg hC hT | |
| 102 | - have hM : 1 ≤ M := by | |
| 103 | - dsimp [M,forwardCost] | |
| 104 | - nlinarith [mul_nonneg hC hA, mul_nonneg hCT (add_nonneg hD hCB)] | |
| 105 | - have hR0 : 0 ≤ R := le_trans | |
| 106 | - (mul_nonneg (mul_nonneg (by norm_num) (le_trans zero_le_one hM)) (by linarith)) hR | |
| 107 | - have htop : C*A + C*T*D ≤ M := by | |
| 108 | - dsimp [M,forwardCost] | |
| 109 | - nlinarith [mul_nonneg hCT hCB] | |
| 110 | - have hcoef : C*T*CB ≤ M := by | |
| 111 | - dsimp [M,forwardCost] | |
| 112 | - nlinarith [mul_nonneg hC hA, mul_nonneg hCT hD] | |
| 113 | - apply triangular_inverse_majorant M Rc R hM hRc hR d | |
| 114 | - (fun k => majorant R d k) (fun k => ‖iteratedFDeriv ℝ k u x‖) (fun _ => le_rfl) _ n | |
| 115 | - intro k | |
| 116 | - let S : ℝ := ∑ j ∈ range k, (k.choose (j+1) : ℝ) * Rc^(j+1) * | |
| 117 | - ((j+1).factorial : ℝ)^2 * ‖iteratedFDeriv ℝ (k-(j+1)) u x‖ | |
| 118 | - have hS : 0 ≤ S := by dsimp [S]; positivity | |
| 119 | - have hmajor : 0 ≤ majorant R d k := majorant_nonneg R hR0 d k | |
| 120 | - have hcoeffOp (j : ℕ) : | |
| 121 | - ‖iteratedFDeriv ℝ (j+1) (fun y => multiplier (B y)) x‖ ≤ | |
| 122 | - CB*(Rc^(j+1)*((j+1).factorial : ℝ)^2) := by | |
| 123 | - have hl := ContinuousLinearMap.norm_iteratedFDeriv_comp_left | |
| 124 | - (𝕜 := ℝ) (E := P) (F := C(Icc (0 : ℝ) T,E →L[ℝ] E)) | |
| 125 | - (G := C(Icc (0 : ℝ) T,E) →L[ℝ] C(Icc (0 : ℝ) T,E)) | |
| 126 | - (coefficientMap (K := Icc (0 : ℝ) T) (E := E) (F := E)) | |
| 127 | - (x := x) hB.contDiffAt (n := j+1) (by simp) | |
| 128 | - exact hl.trans ((mul_le_mul_of_nonneg_right coefficientMap_norm (norm_nonneg _)).trans | |
| 129 | - (by simpa only [one_mul] using hcoeff j x)) | |
| 130 | - have hsum : (∑ j ∈ range k, (k.choose (j+1) : ℝ) * | |
| 131 | - ‖iteratedFDeriv ℝ (j+1) (fun y => multiplier (B y)) x‖ * | |
| 132 | - ‖iteratedFDeriv ℝ (k-(j+1)) u x‖) ≤ CB*S := by | |
| 133 | - dsimp [S] | |
| 134 | - rw [mul_sum] | |
| 135 | - apply sum_le_sum | |
| 136 | - intro j _ | |
| 137 | - have hh := mul_le_mul_of_nonneg_right | |
| 138 | - (mul_le_mul_of_nonneg_left (hcoeffOp j) (by positivity : (0 : ℝ) ≤ k.choose (j+1))) | |
| 139 | - (norm_nonneg (iteratedFDeriv ℝ (k-(j+1)) u x)) | |
| 140 | - convert hh using 1 | |
| 141 | - ring | |
| 142 | - have hr := weightedSolution_derivative_recurrence T hT B U g hg f a₀ hB hf ha₀ hg₀ C hC hU x k | |
| 143 | - have hb : ‖iteratedFDeriv ℝ k u x‖ ≤ C*(A*majorant R d k) + (C*T)*(D*majorant R d k+CB*S) := | |
| 144 | - hr.trans (add_le_add (mul_le_mul_of_nonneg_left (hinitial k x) hC) | |
| 145 | - (mul_le_mul_of_nonneg_left (add_le_add (hforce k x) hsum) hCT)) | |
| 146 | - change ‖iteratedFDeriv ℝ k u x‖ ≤ M*(majorant R d k+S) | |
| 147 | - apply hb.trans | |
| 148 | - calc | |
| 149 | - _ = (C*A+C*T*D)*majorant R d k+(C*T*CB)*S := by ring | |
| 150 | - _ ≤ M*majorant R d k+M*S := add_le_add | |
| 151 | - (mul_le_mul_of_nonneg_right htop hmajor) (mul_le_mul_of_nonneg_right hcoef hS) | |
| 152 | - _ = _ := by ring | |
| 153 | - | |
| 154 | 53 | end EulerLinearDuhamel |
+0 −7 Euler/LinearDuhamelNaturality.lean View file
| @@ -48,11 +48,4 @@ theorem solution_map (f : C(Icc (0 : ℝ) T,E)) (a₀ : E) : | ||
| 48 | 48 | · change L (U.solution f a₀ ⟨0,le_rfl,hT⟩) = L a₀ |
| 49 | 49 | rw [U.solution_initial] |
| 50 | 50 | |
| 51 | -/-- Pointwise form of the same identity, including both endpoints. -/ | |
| 52 | -theorem solution_map_apply (f : C(Icc (0 : ℝ) T,E)) (a₀ : E) | |
| 53 | - (t : Icc (0 : ℝ) T) : | |
| 54 | - V.solution (L.compLeftContinuous ℝ (Icc (0 : ℝ) T) f) (L a₀) t = | |
| 55 | - L (U.solution f a₀ t) := by | |
| 56 | - exact congrArg (fun p : C(Icc (0 : ℝ) T,F) => p t) (U.solution_map V L hL f a₀) | |
| 57 | - | |
| 58 | 51 | end EulerLinearDuhamel.Evolution |
+0 −38 Euler/LinearDuhamelSymmetry.lean View file
| @@ -19,13 +19,6 @@ variable {T : ℝ} {hT : 0 ≤ T} {B : C(Icc (0 : ℝ) T,E →L[ℝ] E)} | ||
| 19 | 19 | |
| 20 | 20 | namespace Evolution |
| 21 | 21 | |
| 22 | -/-- The true forced path is independent of the fundamental evolution chosen to represent it. -/ | |
| 23 | -theorem solution_independent (U V : Evolution T hT B) (f : C(Icc (0 : ℝ) T,E)) (a₀ : E) : | |
| 24 | - U.solution f a₀ = V.solution f a₀ := by | |
| 25 | - ext t | |
| 26 | - exact V.solution_unique f a₀ (U.solutionReal f a₀) (U.solution_derivative f a₀) | |
| 27 | - (U.solution_initial f a₀) t | |
| 28 | - | |
| 29 | 22 | /-- Sign reversal of both data reverses the actual solution. -/ |
| 30 | 23 | theorem solution_neg (U : Evolution T hT B) (f : C(Icc (0 : ℝ) T,E)) (a₀ : E) : |
| 31 | 24 | U.solution (-f) (-a₀) = -U.solution f a₀ := by |
| @@ -41,35 +34,4 @@ end Evolution | ||
| 41 | 34 | variable {P : Type*} (T : ℝ) (hT : 0 ≤ T) |
| 42 | 35 | (B : P → C(Icc (0 : ℝ) T,E →L[ℝ] E)) (U : ∀ x, Evolution T hT (B x)) |
| 43 | 36 | |
| 44 | -/-- Reflection or any other parameter symmetry is inherited from coefficients | |
| 45 | -and data; no regularity or symmetry of the chosen propagators is required. -/ | |
| 46 | -theorem solution_odd_under (σ : P → P) (hB : ∀ x, B (σ x) = B x) | |
| 47 | - (f : P → C(Icc (0 : ℝ) T,E)) (a₀ : P → E) | |
| 48 | - (hf : ∀ x, f (σ x) = -f x) (ha₀ : ∀ x, a₀ (σ x) = -a₀ x) (x : P) : | |
| 49 | - (U (σ x)).solution (f (σ x)) (a₀ (σ x)) = -(U x).solution (f x) (a₀ x) := by | |
| 50 | - have he := (U x).frozen_solution (U (σ x)) (f (σ x)) (a₀ (σ x)) | |
| 51 | - have hm : multiplier (0 : C(Icc (0 : ℝ) T,E →L[ℝ] E)) = 0 := by | |
| 52 | - ext p t | |
| 53 | - rfl | |
| 54 | - have hcoeff : B (σ x)-B x = 0 := by rw [hB x, sub_self] | |
| 55 | - rw [hcoeff, hm, zero_apply, add_zero] at he | |
| 56 | - calc | |
| 57 | - (U (σ x)).solution (f (σ x)) (a₀ (σ x)) = | |
| 58 | - (U x).initialOperator (a₀ (σ x)) + (U x).forcingOperator (f (σ x)) := he | |
| 59 | - _ = -((U x).initialOperator (a₀ x) + (U x).forcingOperator (f x)) := by | |
| 60 | - rw [hf x, ha₀ x, map_neg, map_neg, neg_add] | |
| 61 | - _ = -(U x).solution (f x) (a₀ x) := by rw [(U x).solution_eq_operators] | |
| 62 | - | |
| 63 | -/-- The actual forward solution stays in the union of the supports of its data. -/ | |
| 64 | -theorem solution_support_subset (f : P → C(Icc (0 : ℝ) T,E)) (a₀ : P → E) : | |
| 65 | - Function.support (fun x => (U x).solution (f x) (a₀ x)) ⊆ | |
| 66 | - Function.support f ∪ Function.support a₀ := by | |
| 67 | - intro x hx | |
| 68 | - by_cases hf : f x = 0 | |
| 69 | - · by_cases ha : a₀ x = 0 | |
| 70 | - · have hz : (U x).solution (f x) (a₀ x) = 0 := by rw [hf, ha, Evolution.solution_zero] | |
| 71 | - exact (hx hz).elim | |
| 72 | - · exact Or.inr ha | |
| 73 | - · exact Or.inl hf | |
| 74 | - | |
| 75 | 37 | end EulerLinearDuhamel |
+0 −7 Euler/LinearDuhamelWeighted.lean View file
| @@ -64,13 +64,6 @@ theorem weightedForcing_norm (hg₀ : g ⟨0,le_rfl,hT⟩ = 1) (C : ℝ) (hC : 0 | ||
| 64 | 64 | def weightedSolution (f : C(Icc (0 : ℝ) T,E)) (a₀ : E) : C(Icc (0 : ℝ) T,E) := |
| 65 | 65 | normalize g hg (U.solution (weight g f) a₀) |
| 66 | 66 | |
| 67 | -/-- The normalized solution is still exactly the two actual data maps. -/ | |
| 68 | -theorem weightedSolution_eq (f : C(Icc (0 : ℝ) T,E)) (a₀ : E) : | |
| 69 | - U.weightedSolution g hg f a₀ = U.weightedInitial g hg a₀ + U.weightedForcing g hg f := by | |
| 70 | - unfold weightedSolution | |
| 71 | - rw [U.solution_eq_operators, map_add] | |
| 72 | - rfl | |
| 73 | - | |
| 74 | 67 | variable {D : C(Icc (0 : ℝ) T,E →L[ℝ] E)} (V : Evolution T hT D) |
| 75 | 68 | |
| 76 | 69 | /-- Freezing the coefficient is an actual identity of constructed solutions. -/ |
+0 −43 Euler/SmoothCoefficientTimeRestriction.lean View file
| @@ -44,33 +44,6 @@ theorem comp_norm_le (A : SmoothCoefficientPath K V) (φ : C(L,K)) : | ||
| 44 | 44 | intro t |
| 45 | 45 | exact A.field.norm_coe_le_norm (φ t) |
| 46 | 46 | |
| 47 | -theorem comp_jet_norm_le (A : SmoothCoefficientPath K V) (φ : C(L,K)) (n : ℕ) : | |
| 48 | - ‖(A.comp φ).jet n‖ ≤ ‖A.jet n‖ := by | |
| 49 | - apply (ContinuousMap.norm_le _ (norm_nonneg _)).2 | |
| 50 | - intro t | |
| 51 | - exact (A.jet n).norm_coe_le_norm (φ t) | |
| 52 | - | |
| 53 | -theorem comp_translation (A : SmoothCoefficientPath K V) (φ : C(L,K)) (a : Space) : | |
| 54 | - translateCoefficientPath (A.comp φ).field a = | |
| 55 | - (translateCoefficientPath A.field a).comp φ := rfl | |
| 56 | - | |
| 57 | -/-- A continuous change of time parameter preserves each literal spatial | |
| 58 | -derivative bound with exactly the same constant. -/ | |
| 59 | -theorem comp_derivative_bound (A : SmoothCoefficientPath K V) (φ : C(L,K)) | |
| 60 | - (n : ℕ) (C : ℝ) | |
| 61 | - (hb : ∀ t x, ‖iteratedFDeriv ℝ n (A.field t : Space → V) x‖ ≤ C) | |
| 62 | - (t : L) (x : Space) : | |
| 63 | - ‖iteratedFDeriv ℝ n ((A.comp φ).field t : Space → V) x‖ ≤ C := | |
| 64 | - hb (φ t) x | |
| 65 | - | |
| 66 | -theorem comp_translation_bound (A : SmoothCoefficientPath K V) (φ : C(L,K)) | |
| 67 | - (n : ℕ) (C : ℝ) (hC : 0 ≤ C) | |
| 68 | - (hb : ∀ t x, ‖iteratedFDeriv ℝ n (A.field t : Space → V) x‖ ≤ C) | |
| 69 | - (a : Space) : | |
| 70 | - ‖iteratedFDeriv ℝ n (translateCoefficientPath (A.comp φ).field) a‖ ≤ C := | |
| 71 | - (A.comp φ).norm_iteratedFDeriv_translation_le n C hC | |
| 72 | - (A.comp_derivative_bound φ n C hb) a | |
| 73 | - | |
| 74 | 47 | end SmoothCoefficientPath |
| 75 | 48 | |
| 76 | 49 | end EulerMeanCoefficients |
| @@ -95,22 +68,6 @@ def initialPath (S τ : ℝ) (hτS : τ ≤ S) : C(Icc (0 : ℝ) S,V) →L[ℝ] | ||
| 95 | 68 | def tailPath (S τ : ℝ) (hτ : 0 ≤ τ) : C(Icc (0 : ℝ) S,V) →L[ℝ] C(Icc (0 : ℝ) (S-τ),V) := |
| 96 | 69 | ContinuousMap.compCLM ℝ V (tailInclusion S τ hτ) |
| 97 | 70 | |
| 98 | -theorem initialPath_norm (S τ : ℝ) (hτS : τ ≤ S) : ‖initialPath (V := V) S τ hτS‖ ≤ 1 := by | |
| 99 | - apply ContinuousLinearMap.opNorm_le_bound _ zero_le_one | |
| 100 | - intro A | |
| 101 | - rw [one_mul] | |
| 102 | - apply (ContinuousMap.norm_le _ (norm_nonneg A)).2 | |
| 103 | - intro t | |
| 104 | - exact A.norm_coe_le_norm _ | |
| 105 | - | |
| 106 | -theorem tailPath_norm (S τ : ℝ) (hτ : 0 ≤ τ) : ‖tailPath (V := V) S τ hτ‖ ≤ 1 := by | |
| 107 | - apply ContinuousLinearMap.opNorm_le_bound _ zero_le_one | |
| 108 | - intro A | |
| 109 | - rw [one_mul] | |
| 110 | - apply (ContinuousMap.norm_le _ (norm_nonneg A)).2 | |
| 111 | - intro t | |
| 112 | - exact A.norm_coe_le_norm _ | |
| 113 | - | |
| 114 | 71 | theorem initial_extend (S τ : ℝ) (hS : 0 ≤ S) (hτ : 0 ≤ τ) (hτS : τ ≤ S) |
| 115 | 72 | (A : C(Icc (0 : ℝ) S,V)) (t : ℝ) (ht : t ∈ Icc (0 : ℝ) τ) : |
| 116 | 73 | extendPath τ hτ (initialPath S τ hτS A) t = extendPath S hS A t := by |
+0 −10 Euler/SmoothCylinderAccelerationComposition.lean View file
| @@ -27,16 +27,6 @@ def materialAccelerationJet (t : Icc (0 : ℝ) T) (q : LiftDomain P) (n : ℕ) : | ||
| 27 | 27 | LiftTangent [×n]→L[ℝ] LiftTangent := |
| 28 | 28 | jetSeries P (materialAcceleration T hT A A₁ t) q n |
| 29 | 29 | |
| 30 | -include hA hA₁ in | |
| 31 | -theorem materialAccelerationJet_local (t : Icc (0 : ℝ) T) (q : LiftDomain P) (n : ℕ) : | |
| 32 | - materialAccelerationJet P T hT A A₁ t q n = | |
| 33 | - iteratedFDeriv ℝ n (EulerMetricTransport.localFieldLift P | |
| 34 | - (descend P (materialAcceleration T hT A A₁ t)) q) 0 := by | |
| 35 | - apply jetSeries_eq_local | |
| 36 | - exact comp_deck P (accelerationField T A A₁ t) | |
| 37 | - (accelerationField_deck P T A A₁ hA hA₁ t) ((flowData T hT A).forward t) | |
| 38 | - (EulerCylinderPeriodicFlow.flow_deck P (flowData T hT A) (velocity_deck P T hT A hA) 0 t) | |
| 39 | - | |
| 40 | 30 | include hA hA₁ hdiv in |
| 41 | 31 | theorem materialAccelerationJet_memLp_and_bound (B R C S C₁ S₁ : ℝ) |
| 42 | 32 | (hB : 0 ≤ B) (hR : 0 < R) (hC : 0 ≤ C) (hS : 0 ≤ S) |
+0 −35 Euler/SmoothCylinderFlow.lean View file
| @@ -28,35 +28,6 @@ theorem velocity_deck (c : AddSubgroup.zmultiples P) (t : ℝ) (z : LiftTangent) | ||
| 28 | 28 | def forward (t : ℝ) : LiftDomain P → LiftDomain P := |
| 29 | 29 | EulerCylinderPeriodicFlow.flow P (flowData T hT A) 0 t |
| 30 | 30 | |
| 31 | -def backward (t : ℝ) : LiftDomain P → LiftDomain P := | |
| 32 | - EulerCylinderPeriodicFlow.flow P (flowData T hT A) t 0 | |
| 33 | - | |
| 34 | -include hA in | |
| 35 | -theorem forward_cover (t : ℝ) (z : LiftTangent) : | |
| 36 | - forward P T hT A t (coveringMap P z)=coveringMap P ((flowData T hT A).forward t z) := | |
| 37 | - EulerCylinderPeriodicFlow.flow_cover P (flowData T hT A) (velocity_deck P T hT A hA) 0 t z | |
| 38 | - | |
| 39 | -include hA in | |
| 40 | -theorem backward_cover (t : ℝ) (z : LiftTangent) : | |
| 41 | - backward P T hT A t (coveringMap P z)=coveringMap P ((flowData T hT A).backward t z) := | |
| 42 | - EulerCylinderPeriodicFlow.flow_cover P (flowData T hT A) (velocity_deck P T hT A hA) t 0 z | |
| 43 | - | |
| 44 | -include hA in | |
| 45 | -theorem forward_joint_continuous : Continuous (Function.uncurry (forward P T hT A)) := | |
| 46 | - EulerCylinderPeriodicFlow.forward_joint_continuous P (flowData T hT A) (velocity_deck P T hT A hA) | |
| 47 | - | |
| 48 | -include hA in | |
| 49 | -theorem backward_joint_continuous : Continuous (Function.uncurry (backward P T hT A)) := | |
| 50 | - EulerCylinderPeriodicFlow.backward_joint_continuous P (flowData T hT A) (velocity_deck P T hT A hA) | |
| 51 | - | |
| 52 | -include hA in | |
| 53 | -theorem backward_forward (t : ℝ) : Function.LeftInverse (backward P T hT A t) (forward P T hT A t) := | |
| 54 | - EulerCylinderPeriodicFlow.flow_inverse P (flowData T hT A) (velocity_deck P T hT A hA) 0 t | |
| 55 | - | |
| 56 | -include hA in | |
| 57 | -theorem forward_backward (t : ℝ) : Function.RightInverse (backward P T hT A t) (forward P T hT A t) := | |
| 58 | - EulerCylinderPeriodicFlow.flow_inverse P (flowData T hT A) (velocity_deck P T hT A hA) t 0 | |
| 59 | - | |
| 60 | 31 | variable (hdiv : ∀ t x, |
| 61 | 32 | LinearMap.trace ℝ LiftTangent (fderiv ℝ (A.field t : LiftTangent → LiftTangent) x).toLinearMap=0) |
| 62 | 33 | |
| @@ -66,10 +37,4 @@ theorem forward_measurePreserving (t : Icc (0 : ℝ) T) : | ||
| 66 | 37 | EulerCylinderPeriodicFlow.flow_measurePreserving P (flowData T hT A) (velocity_deck P T hT A hA) 0 t |
| 67 | 38 | (EulerSmoothBanachFlow.forward_measurePreserving T hT A hdiv volume t) |
| 68 | 39 | |
| 69 | -include hA hdiv in | |
| 70 | -theorem backward_measurePreserving (t : Icc (0 : ℝ) T) : | |
| 71 | - MeasurePreserving (backward P T hT A t) (liftMeasure P) (liftMeasure P) := | |
| 72 | - EulerCylinderPeriodicFlow.flow_measurePreserving P (flowData T hT A) (velocity_deck P T hT A hA) t 0 | |
| 73 | - (EulerSmoothBanachFlow.backward_measurePreserving T hT A hdiv volume t) | |
| 74 | - | |
| 75 | 40 | end EulerSmoothCylinderFlow |
+0 −35 Euler/SmoothCylinderGevrey.lean View file
| @@ -32,44 +32,9 @@ variable (P T : ℝ) [Fact (0 < P)] (hT : 0 ≤ T) | ||
| 32 | 32 | (hA : ∀ (c : AddSubgroup.zmultiples P) (t : Icc (0 : ℝ) T) z, |
| 33 | 33 | A.field t (z.1,(c : ℝ)+z.2)=A.field t z) |
| 34 | 34 | |
| 35 | -theorem displacementJet_bound (B R : ℝ) | |
| 36 | - (hB : 0 ≤ B) (hR : 0 < R) (hsmall : B*R*T ≤ 1/8) | |
| 37 | - (hb : ∀ n, ‖A.jet n‖ ≤ B*R^n*(n.factorial : ℝ)^2) | |
| 38 | - (n : ℕ) (t : Icc (0 : ℝ) T) (q : LiftDomain P) : | |
| 39 | - ‖displacementJet P T hT A t q n‖ ≤ B*(t : ℝ)*(4*R)^n*(n.factorial : ℝ)^2 := | |
| 40 | - EulerSmoothFlowGevrey.displacement_bound T hT A B R hB hR hsmall hb | |
| 41 | - n t t.property (sectionPoint P q) | |
| 42 | - | |
| 43 | 35 | variable (hdiv : ∀ t x, |
| 44 | 36 | LinearMap.trace ℝ LiftTangent (fderiv ℝ (A.field t : LiftTangent → LiftTangent) x).toLinearMap=0) |
| 45 | 37 | |
| 46 | -include hA hdiv in | |
| 47 | -theorem compositionJet_memLp_and_bound (B R C S : ℝ) | |
| 48 | - (hB : 0 ≤ B) (hR : 0 < R) (hC : 0 ≤ C) (hS : 0 ≤ S) | |
| 49 | - (hsmall : B*R*T ≤ 1/8) | |
| 50 | - (hb : ∀ n, ‖A.jet n‖ ≤ B*R^n*(n.factorial : ℝ)^2) | |
| 51 | - (n : ℕ) | |
| 52 | - (hLp : ∀ t : Icc (0 : ℝ) T, ∀ j ≤ n, | |
| 53 | - MemLp (fun q => jetSeries P (A.field t : LiftTangent → LiftTangent) q j) 2 (liftMeasure P)) | |
| 54 | - (hNorm : ∀ t : Icc (0 : ℝ) T, ∀ j ≤ n, | |
| 55 | - (eLpNorm (fun q => jetSeries P (A.field t : LiftTangent → LiftTangent) q j) | |
| 56 | - 2 (liftMeasure P)).toReal ≤ C*S^j*(j.factorial : ℝ)^2) | |
| 57 | - (t : ℝ) : | |
| 58 | - MemLp (fun q => compositionJet P T hT A t q n) 2 (liftMeasure P) ∧ | |
| 59 | - (eLpNorm (fun q => compositionJet P T hT A t q n) 2 (liftMeasure P)).toReal ≤ | |
| 60 | - C*(flowRadius B R T S)^n*(n.factorial : ℝ)^2 := by | |
| 61 | - apply EulerGevreyJetCompositionLp.composition_memLp_and_bound (liftMeasure P) | |
| 62 | - (forward P T hT A (projIcc 0 T hT t)) | |
| 63 | - (forward_measurePreserving P T hT A hA hdiv (projIcc 0 T hT t)) | |
| 64 | - (jetSeries P (forwardCover T hT A t)) (jetSeries P (velocityCover T hT A t)) n | |
| 65 | - ((compositionJet_joint_measurable P T hT A hA n).comp (measurable_const.prodMk measurable_id)).aestronglyMeasurable | |
| 66 | - C (1+B*T) (4*R+1) S hC (by positivity) (by positivity) hS | |
| 67 | - · exact hLp (projIcc 0 T hT t) | |
| 68 | - · exact hNorm (projIcc 0 T hT t) | |
| 69 | - · intro j hj _ q | |
| 70 | - exact forward_positive_bound T hT A B R hB hR hsmall hb j hj | |
| 71 | - (projIcc 0 T hT t) (sectionPoint P q) | |
| 72 | - | |
| 73 | 38 | include hA hdiv in |
| 74 | 39 | theorem displacementJet_memLp_and_bound (B R C S : ℝ) |
| 75 | 40 | (hB : 0 ≤ B) (hR : 0 < R) (hC : 0 ≤ C) (hS : 0 ≤ S) |
+0 −33 Euler/SmoothCylinderJets.lean View file
| @@ -55,23 +55,6 @@ def compositionJet (t : ℝ) (q : LiftDomain P) (n : ℕ) : LiftTangent [×n]→ | ||
| 55 | 55 | (jetSeries P (velocityCover T hT A t) (forward P T hT A (projIcc 0 T hT t) q)).taylorComp |
| 56 | 56 | (jetSeries P (forwardCover T hT A t) q) n |
| 57 | 57 | |
| 58 | -include hA in | |
| 59 | -theorem displacement_cover (t : ℝ) (z : LiftTangent) : | |
| 60 | - displacement P T hT A t (coveringMap P z)=EulerSmoothBanachFlow.displacement T hT A t z := | |
| 61 | - descend_cover P _ (fiber_constant_of_deck P _ (coverDisplacement_deck P T hT A hA t)) z | |
| 62 | - | |
| 63 | -include hA in | |
| 64 | -theorem displacement_smooth (t : ℝ) (q : LiftDomain P) : | |
| 65 | - ContDiff ℝ ∞ (EulerMetricTransport.localFieldLift P (displacement P T hT A t) q) := | |
| 66 | - descend_smooth P _ (coverDisplacement_deck P T hT A hA t) | |
| 67 | - (EulerSmoothBanachFlow.displacement_contDiff T hT A t) q | |
| 68 | - | |
| 69 | -include hA in | |
| 70 | -theorem displacementJet_local (t : ℝ) (q : LiftDomain P) (n : ℕ) : | |
| 71 | - displacementJet P T hT A t q n = | |
| 72 | - iteratedFDeriv ℝ n (EulerMetricTransport.localFieldLift P (displacement P T hT A t) q) 0 := | |
| 73 | - jetSeries_eq_local P _ (coverDisplacement_deck P T hT A hA t) q n | |
| 74 | - | |
| 75 | 58 | include hA in |
| 76 | 59 | theorem compositionJet_eq (t : ℝ) (q : LiftDomain P) (n : ℕ) : |
| 77 | 60 | compositionJet P T hT A t q n = |
| @@ -108,12 +91,6 @@ theorem velocityJetPath_label_continuous (n : ℕ) : | ||
| 108 | 91 | (tensorPathMap n).continuous.comp |
| 109 | 92 | (ContDiff.continuous_iteratedFDeriv (by simp) (velocityFamily_contDiff T hT A)) |
| 110 | 93 | |
| 111 | -omit [Fact (0 < P)] in | |
| 112 | -theorem displacementJetPath_label_continuous (n : ℕ) : | |
| 113 | - Continuous (displacementJetPath T hT A n) := | |
| 114 | - (tensorPathMap n).continuous.comp | |
| 115 | - (ContDiff.continuous_iteratedFDeriv (by simp) (displacementFamily_contDiff T hT A)) | |
| 116 | - | |
| 117 | 94 | include hA in |
| 118 | 95 | theorem compositionJet_joint_measurable (n : ℕ) : |
| 119 | 96 | Measurable (fun z : ℝ × LiftDomain P => compositionJet P T hT A z.1 z.2 n) := by |
| @@ -125,14 +102,4 @@ theorem compositionJet_joint_measurable (n : ℕ) : | ||
| 125 | 102 | ((sectionPoint_measurable P).comp measurable_snd)) |
| 126 | 103 | simpa only [compositionJet_path P T hT A hA,Function.comp_def] using hm |
| 127 | 104 | |
| 128 | -theorem displacementJet_joint_measurable (n : ℕ) : | |
| 129 | - Measurable (fun z : ℝ × LiftDomain P => displacementJet P T hT A z.1 z.2 n) := by | |
| 130 | - have hc : Continuous (fun z : ℝ × LiftTangent => | |
| 131 | - extendPath T hT (displacementJetPath T hT A n z.2) z.1) := | |
| 132 | - ((displacementJetPath_label_continuous T hT A n).comp continuous_snd).eval | |
| 133 | - (continuous_projIcc.comp continuous_fst) | |
| 134 | - have hm := hc.measurable.comp (measurable_fst.prodMk | |
| 135 | - ((sectionPoint_measurable P).comp measurable_snd)) | |
| 136 | - simpa only [displacementJet_path,Function.comp_def] using hm | |
| 137 | - | |
| 138 | 105 | end EulerSmoothCylinderFlow |
+0 −7 Euler/SmoothFieldSobolevTime.lean View file
| @@ -103,11 +103,4 @@ theorem sobolevPath_hasDerivWithinAt (q : ℕ) (t : Icc (0 : ℝ) T) : | ||
| 103 | 103 | simp only [extendPath,sobolevPath,ContinuousMap.coe_mk,Function.comp_def,restrict_sobolev] |
| 104 | 104 | rfl |
| 105 | 105 | |
| 106 | -include hd in | |
| 107 | -theorem sobolevPath_hasDerivAt (q : ℕ) (t : ℝ) (ht : t ∈ Ioo 0 T) : | |
| 108 | - HasDerivAt (extendPath T hT (sobolevPath A hA q)) | |
| 109 | - (sobolevPath B hB q ⟨t,ht.1.le,ht.2.le⟩) t := | |
| 110 | - (sobolevPath_hasDerivWithinAt T hT A B hA hB hd q ⟨t,ht.1.le,ht.2.le⟩).hasDerivAt | |
| 111 | - (Icc_mem_nhds ht.1 ht.2) | |
| 112 | - | |
| 113 | 106 | end EulerSmoothFieldSobolevTime |
+0 −14 Euler/SmoothFlowAcceleration.lean View file
| @@ -70,18 +70,4 @@ theorem velocityFamily_time_derivative | ||
| 70 | 70 | · intro _ s hs |
| 71 | 71 | exact velocityFamily_time_derivative_interior T hT A A₁ htime x s hs |
| 72 | 72 | |
| 73 | -theorem forward_second_time_derivative | |
| 74 | - (htime : SmoothTimeField.TimeDerivative T hT A A₁) | |
| 75 | - (x : E) (t : Icc (0 : ℝ) T) : | |
| 76 | - HasDerivWithinAt (fun s => deriv (fun r => (flowData T hT A).forward r x) s) | |
| 77 | - (accelerationFamily T hT A A₁ x t) (Icc (0 : ℝ) T) t := by | |
| 78 | - apply (velocityFamily_time_derivative T hT A A₁ htime x t).congr_of_mem _ t.property | |
| 79 | - intro s hs | |
| 80 | - rw [((flowData T hT A).forward_hasDerivAt s x).deriv] | |
| 81 | - change (flowData T hT A).velocity s ((flowData T hT A).forward s x) = | |
| 82 | - velocityFamily T hT A x (projIcc 0 T hT s) | |
| 83 | - rw [projIcc_of_mem hT hs] | |
| 84 | - exact EulerBoundedLipschitzFlow.ofTimeInterval_velocity T hT A.field | |
| 85 | - ‖A.derivative.field‖₊ (velocity_lipschitz T A) ⟨s,hs⟩ _ | |
| 86 | - | |
| 87 | 73 | end EulerSmoothBanachFlow |
+0 −10 Euler/SmoothFlowCoefficientPaths.lean View file
| @@ -65,11 +65,6 @@ def displacementCoefficient : SmoothTimeField (Icc (0 : ℝ) T) E E := | ||
| 65 | 65 | (displacementCoefficient T hT A B R hB hR hsmall hb).field t x = |
| 66 | 66 | (flowData T hT A).forward t x-x := rfl |
| 67 | 67 | |
| 68 | -theorem displacementCoefficient_jet_norm (n : ℕ) : | |
| 69 | - ‖(displacementCoefficient T hT A B R hB hR hsmall hb).jet n‖ ≤ | |
| 70 | - B*T*(4*R)^n*(n.factorial : ℝ)^2 := by | |
| 71 | - apply SmoothTimeField.ofPathFamily_jet_norm | |
| 72 | - | |
| 73 | 68 | variable (A₁ : SmoothTimeField (Icc (0 : ℝ) T) E E) |
| 74 | 69 | (htime : SmoothTimeField.TimeDerivative T hT A A₁) |
| 75 | 70 | (B₁ R₁ : ℝ) (hB₁ : 0 ≤ B₁) (hR₁ : 0 ≤ R₁) |
| @@ -98,9 +93,4 @@ def velocityCoefficient : SmoothTimeField (Icc (0 : ℝ) T) E E := | ||
| 98 | 93 | (velocityCoefficient T hT A B R hB hR hsmall hb A₁ htime B₁ R₁ hB₁ hR₁ hb₁).field t x = |
| 99 | 94 | A.field t ((flowData T hT A).forward t x) := rfl |
| 100 | 95 | |
| 101 | -theorem velocityCoefficient_jet_norm (n : ℕ) : | |
| 102 | - ‖(velocityCoefficient T hT A B R hB hR hsmall hb A₁ htime B₁ R₁ hB₁ hR₁ hb₁).jet n‖ ≤ | |
| 103 | - B*(flowRadius B R T R)^n*(n.factorial : ℝ)^2 := by | |
| 104 | - apply SmoothTimeField.ofPathFamily_jet_norm | |
| 105 | - | |
| 106 | 96 | end EulerSmoothBanachFlow |
+0 −33 Euler/SmoothFlowDeformation.lean View file
| @@ -81,37 +81,4 @@ variable (htime : SmoothTimeField.TimeDerivative T hT A A₁) | ||
| 81 | 81 | (B₁ R₁ : ℝ) (hB₁ : 0 ≤ B₁) (hR₁ : 0 ≤ R₁) |
| 82 | 82 | (hb₁ : ∀ n, ‖A₁.jet n‖ ≤ B₁*R₁^n*(n.factorial : ℝ)^2) |
| 83 | 83 | |
| 84 | -def deformationTimeCoefficient : SmoothTimeField (Icc (0 : ℝ) T) E (E →L[ℝ] E) := | |
| 85 | - (velocityCoefficient T hT A B R hB hR hsmall hb A₁ htime B₁ R₁ hB₁ hR₁ hb₁).derivative | |
| 86 | - | |
| 87 | -def deformationSecondCoefficient : SmoothTimeField (Icc (0 : ℝ) T) E (E →L[ℝ] E) := | |
| 88 | - (accelerationCoefficient T hT A B R hB hR hsmall hb A₁).derivative | |
| 89 | - | |
| 90 | -theorem displacementCoefficient_time : SmoothTimeField.TimeDerivative T hT | |
| 91 | - (displacementCoefficient T hT A B R hB hR hsmall hb) | |
| 92 | - (velocityCoefficient T hT A B R hB hR hsmall hb A₁ htime B₁ R₁ hB₁ hR₁ hb₁) := by | |
| 93 | - intro t x | |
| 94 | - exact displacementFamily_time_derivative T hT A x t | |
| 95 | - | |
| 96 | -theorem velocityCoefficient_time : SmoothTimeField.TimeDerivative T hT | |
| 97 | - (velocityCoefficient T hT A B R hB hR hsmall hb A₁ htime B₁ R₁ hB₁ hR₁ hb₁) | |
| 98 | - (accelerationCoefficient T hT A B R hB hR hsmall hb A₁) := by | |
| 99 | - intro t x | |
| 100 | - rw [accelerationCoefficient_apply] | |
| 101 | - exact velocityFamily_time_derivative T hT A A₁ htime x t | |
| 102 | - | |
| 103 | -theorem deformationCoefficient_time : SmoothTimeField.TimeDerivative T hT | |
| 104 | - (deformationCoefficient T hT A B R hB hR hsmall hb) | |
| 105 | - (deformationTimeCoefficient T hT A B R hB hR hsmall hb A₁ htime B₁ R₁ hB₁ hR₁ hb₁) := by | |
| 106 | - have hd := SmoothTimeField.TimeDerivative.derivative T hT _ _ | |
| 107 | - (displacementCoefficient_time T hT A B R hB hR hsmall hb A₁ htime B₁ R₁ hB₁ hR₁ hb₁) | |
| 108 | - intro t x | |
| 109 | - exact (hd t x).const_add (ContinuousLinearMap.id ℝ E) | |
| 110 | - | |
| 111 | -theorem deformationTimeCoefficient_time : SmoothTimeField.TimeDerivative T hT | |
| 112 | - (deformationTimeCoefficient T hT A B R hB hR hsmall hb A₁ htime B₁ R₁ hB₁ hR₁ hb₁) | |
| 113 | - (deformationSecondCoefficient T hT A B R hB hR hsmall hb A₁) := | |
| 114 | - SmoothTimeField.TimeDerivative.derivative T hT _ _ | |
| 115 | - (velocityCoefficient_time T hT A B R hB hR hsmall hb A₁ htime B₁ R₁ hB₁ hR₁ hb₁) | |
| 116 | - | |
| 117 | 84 | end EulerSmoothBanachFlow |
+0 −36 Euler/SmoothFlowJacobian.lean View file
| @@ -79,40 +79,4 @@ theorem forward_fderiv (t : Icc (0 : ℝ) T) (x : E) : | ||
| 79 | 79 | (jacobianEvolution T hT A x).forward t := |
| 80 | 80 | (forward_hasFDerivAt_label T hT A t x).fderiv |
| 81 | 81 | |
| 82 | -def jacobianEquiv (t : Icc (0 : ℝ) T) (x : E) : E ≃L[ℝ] E := | |
| 83 | - ContinuousLinearEquiv.equivOfInverse ((jacobianEvolution T hT A x).forward t) | |
| 84 | - ((jacobianEvolution T hT A x).backward t) | |
| 85 | - (fun v => congrArg (fun L : E →L[ℝ] E => L v) | |
| 86 | - ((jacobianEvolution T hT A x).backward_forward t)) | |
| 87 | - (fun v => congrArg (fun L : E →L[ℝ] E => L v) | |
| 88 | - ((jacobianEvolution T hT A x).forward_backward t)) | |
| 89 | - | |
| 90 | -theorem backward_hasFDerivAt_label (t : Icc (0 : ℝ) T) (x : E) : | |
| 91 | - HasFDerivAt (fun y => (flowData T hT A).backward t y) | |
| 92 | - ((jacobianEvolution T hT A ((flowData T hT A).backward t x)).backward t) x := by | |
| 93 | - apply EulerContinuousInverseDerivative.hasFDerivAt_inverse | |
| 94 | - (fun y => (flowData T hT A).forward t y) (fun y => (flowData T hT A).backward t y) x | |
| 95 | - ((jacobianEvolution T hT A ((flowData T hT A).backward t x)).forward t) | |
| 96 | - · exact ((flowData T hT A).backward_joint_continuous.comp | |
| 97 | - (continuous_const.prodMk continuous_id)).continuousAt | |
| 98 | - · exact forward_hasFDerivAt_label T hT A t _ | |
| 99 | - · exact Filter.Eventually.of_forall ((flowData T hT A).forward_backward t) | |
| 100 | - · intro v | |
| 101 | - exact congrArg (fun L : E →L[ℝ] E => L v) | |
| 102 | - ((jacobianEvolution T hT A ((flowData T hT A).backward t x)).backward_forward t) | |
| 103 | - | |
| 104 | -theorem backward_contDiff (t : Icc (0 : ℝ) T) : | |
| 105 | - ContDiff ℝ ∞ (fun y => (flowData T hT A).backward t y) := by | |
| 106 | - rw [contDiff_iff_contDiffAt] | |
| 107 | - intro x | |
| 108 | - apply EulerSmoothImplicitLift.contDiffAt_of_identity | |
| 109 | - (fun y => (flowData T hT A).backward t y) | |
| 110 | - (fun y => (flowData T hT A).forward t y) id x ∞ (by simp) | |
| 111 | - (((flowData T hT A).backward_joint_continuous.comp | |
| 112 | - (continuous_const.prodMk continuous_id)).continuousAt) | |
| 113 | - (forward_contDiff T hT A t).contDiffAt contDiff_id.contDiffAt | |
| 114 | - (jacobianEquiv T hT A t ((flowData T hT A).backward t x)) | |
| 115 | - · exact forward_hasFDerivAt_label T hT A t _ | |
| 116 | - · exact (flowData T hT A).forward_backward t | |
| 117 | - | |
| 118 | 82 | end EulerSmoothBanachFlow |
+0 −13 Euler/SmoothFlowJets.lean View file
| @@ -51,11 +51,6 @@ def velocityJetPath (n : ℕ) (x : E) : C(Icc (0 : ℝ) T,E [×n]→L[ℝ] E) := | ||
| 51 | 51 | def displacementJetPath (n : ℕ) (x : E) : C(Icc (0 : ℝ) T,E [×n]→L[ℝ] E) := |
| 52 | 52 | tensorPathMap n (iteratedFDeriv ℝ n (displacementFamily T hT A) x) |
| 53 | 53 | |
| 54 | -theorem jetPath_apply (n : ℕ) (x : E) (t : Icc (0 : ℝ) T) : | |
| 55 | - jetPath T hT A n x t = iteratedFDeriv ℝ n | |
| 56 | - (fun y => (flowData T hT A).forward t y) x := | |
| 57 | - tensorPath_iteratedFDeriv _ (pathFamily_contDiff T hT A) n x t | |
| 58 | - | |
| 59 | 54 | theorem velocityJetPath_apply (n : ℕ) (x : E) (t : Icc (0 : ℝ) T) : |
| 60 | 55 | velocityJetPath T hT A n x t = iteratedFDeriv ℝ n |
| 61 | 56 | (fun y => A.field t ((flowData T hT A).forward t y)) x := |
| @@ -127,14 +122,6 @@ theorem displacement_jet_hasDerivWithinAt (n : ℕ) (x : E) (t : Icc (0 : ℝ) T | ||
| 127 | 122 | rw [he, ← velocityJetPath_displacement] |
| 128 | 123 | exact displacementJetPath_hasDerivWithinAt T hT A n x t |
| 129 | 124 | |
| 130 | -theorem displacement_jet_continuous (n : ℕ) (x : E) : | |
| 131 | - Continuous (fun t => iteratedFDeriv ℝ n (displacement T hT A t) x) := by | |
| 132 | - have he : (fun t => iteratedFDeriv ℝ n (displacement T hT A t) x) = | |
| 133 | - extendPath T hT (displacementJetPath T hT A n x) := | |
| 134 | - funext (fun t => (displacementJetPath_apply T hT A n x t).symm) | |
| 135 | - rw [he] | |
| 136 | - exact extendPath_continuous T hT _ | |
| 137 | - | |
| 138 | 125 | theorem velocity_jet_continuous (n : ℕ) (x : E) : |
| 139 | 126 | Continuous (fun t : Icc (0 : ℝ) T => iteratedFDeriv ℝ n |
| 140 | 127 | (fun y => A.field t (y + displacement T hT A t y)) x) := by |
+0 −113 Euler/SmoothFlowJoint.lean View file
| @@ -25,63 +25,6 @@ theorem accelerationFamily_contDiff : ContDiff ℝ ∞ (accelerationFamily T hT | ||
| 25 | 25 | (contDiff_apply _ _ (A.derivative.superposition_contDiff.comp hp) |
| 26 | 26 | (velocityFamily_contDiff T hT A)) |
| 27 | 27 | |
| 28 | -theorem forward_joint_hasFDerivAt (t : ℝ) (ht : t ∈ Ioo 0 T) (x : E) : | |
| 29 | - HasFDerivAt (Function.uncurry (flowData T hT A).forward) | |
| 30 | - (jointDerivative T hT (pathFamily T hT A) (velocityFamily T hT A) t x) (t,x) := by | |
| 31 | - have h := joint_hasFDerivAt T hT (pathFamily T hT A) (velocityFamily T hT A) | |
| 32 | - (pathFamily_contDiff T hT A) (velocityFamily_contDiff T hT A) | |
| 33 | - (pathFamily_time_derivative T hT A) t ht x | |
| 34 | - apply h.congr_of_eventuallyEq | |
| 35 | - filter_upwards [(continuous_fst.tendsto (t,x)).eventually (Ioo_mem_nhds ht.1 ht.2)] with p hp | |
| 36 | - change (flowData T hT A).forward p.1 p.2 = | |
| 37 | - extendPath T hT (pathFamily T hT A p.2) p.1 | |
| 38 | - simp only [extendPath, projIcc_of_mem hT ⟨hp.1.le,hp.2.le⟩, pathFamily_apply] | |
| 39 | - | |
| 40 | -theorem forward_joint_contDiffAt_one (t : ℝ) (ht : t ∈ Ioo 0 T) (x : E) : | |
| 41 | - ContDiffAt ℝ 1 (Function.uncurry (flowData T hT A).forward) (t,x) := by | |
| 42 | - rw [contDiffAt_one_iff] | |
| 43 | - refine ⟨Function.uncurry (jointDerivative T hT (pathFamily T hT A) (velocityFamily T hT A)), | |
| 44 | - {p : ℝ × E | p.1 ∈ Ioo 0 T}, ?_, | |
| 45 | - (jointDerivative_continuous T hT _ _ (pathFamily_contDiff T hT A) | |
| 46 | - (velocityFamily_contDiff T hT A).continuous).continuousOn, ?_⟩ | |
| 47 | - · exact (continuous_fst.tendsto (t,x)).eventually (Ioo_mem_nhds ht.1 ht.2) | |
| 48 | - · intro p hp | |
| 49 | - exact forward_joint_hasFDerivAt T hT A p.1 hp p.2 | |
| 50 | - | |
| 51 | -theorem forward_jointDerivative_contDiffAt_one | |
| 52 | - (htime : SmoothTimeField.TimeDerivative T hT A A₁) | |
| 53 | - (t : ℝ) (ht : t ∈ Ioo 0 T) (x : E) : | |
| 54 | - ContDiffAt ℝ 1 | |
| 55 | - (Function.uncurry (jointDerivative T hT (pathFamily T hT A) (velocityFamily T hT A))) (t,x) := by | |
| 56 | - have hq := joint_contDiffAt_one T hT (velocityFamily T hT A) (accelerationFamily T hT A A₁) | |
| 57 | - (velocityFamily_contDiff T hT A) (accelerationFamily_contDiff T hT A A₁) | |
| 58 | - (velocityFamily_time_derivative T hT A A₁ htime) t ht x | |
| 59 | - have hJ := joint_contDiffAt_one T hT (spatialDerivative T (pathFamily T hT A)) | |
| 60 | - (spatialDerivative T (velocityFamily T hT A)) | |
| 61 | - (spatialDerivative_contDiff T _ (pathFamily_contDiff T hT A)) | |
| 62 | - (spatialDerivative_contDiff T _ (velocityFamily_contDiff T hT A)) | |
| 63 | - (spatialDerivative_time T hT _ _ (pathFamily_contDiff T hT A) | |
| 64 | - (velocityFamily_contDiff T hT A) (pathFamily_time_derivative T hT A)) t ht x | |
| 65 | - have hs := (ContinuousLinearMap.toSpanSingletonLIE ℝ E).toContinuousLinearEquiv.contDiff.contDiffAt.comp | |
| 66 | - (t,x) hq | |
| 67 | - let L : ((ℝ →L[ℝ] E) × (E →L[ℝ] E)) →L[ℝ] ((ℝ × E) →L[ℝ] E) := | |
| 68 | - (ContinuousLinearMap.coprodEquivL (𝕜 := ℝ) (E := ℝ) (F := E) (G := E) ℝ).toContinuousLinearMap | |
| 69 | - exact (ContinuousLinearMap.contDiff (𝕜 := ℝ) (n := 1) | |
| 70 | - (E := (ℝ →L[ℝ] E) × (E →L[ℝ] E)) (F := (ℝ × E) →L[ℝ] E) L).contDiffAt.comp | |
| 71 | - (t,x) (hs.prodMk hJ) | |
| 72 | - | |
| 73 | -theorem forward_joint_contDiffAt_two | |
| 74 | - (htime : SmoothTimeField.TimeDerivative T hT A A₁) | |
| 75 | - (t : ℝ) (ht : t ∈ Ioo 0 T) (x : E) : | |
| 76 | - ContDiffAt ℝ 2 (Function.uncurry (flowData T hT A).forward) (t,x) := by | |
| 77 | - rw [show (2 : ℕ∞ω) = ((1 : ℕ) + 1) from rfl, contDiffAt_succ_iff_hasFDerivAt] | |
| 78 | - refine ⟨Function.uncurry (jointDerivative T hT (pathFamily T hT A) (velocityFamily T hT A)), | |
| 79 | - ⟨{p : ℝ × E | p.1 ∈ Ioo 0 T}, ?_, ?_⟩, | |
| 80 | - forward_jointDerivative_contDiffAt_one T hT A A₁ htime t ht x⟩ | |
| 81 | - · exact (continuous_fst.tendsto (t,x)).eventually (Ioo_mem_nhds ht.1 ht.2) | |
| 82 | - · intro p hp | |
| 83 | - exact forward_joint_hasFDerivAt T hT A p.1 hp p.2 | |
| 84 | - | |
| 85 | 28 | omit [FiniteDimensional ℝ E] in |
| 86 | 29 | def timeLiftEquiv (J : E ≃L[ℝ] E) (v : E) : (ℝ × E) ≃L[ℝ] (ℝ × E) := |
| 87 | 30 | ContinuousLinearEquiv.equivOfInverse |
| @@ -95,61 +38,5 @@ def timeLiftEquiv (J : E ≃L[ℝ] E) (v : E) : (ℝ × E) ≃L[ℝ] (ℝ × E) | ||
| 95 | 38 | (by intro p; ext <;> simp) |
| 96 | 39 | (by intro p; ext <;> simp) |
| 97 | 40 | |
| 98 | -def liftForward (p : ℝ × E) : ℝ × E := (p.1, (flowData T hT A).forward p.1 p.2) | |
| 99 | -def liftBackward (p : ℝ × E) : ℝ × E := (p.1, (flowData T hT A).backward p.1 p.2) | |
| 100 | - | |
| 101 | -theorem liftForward_hasFDerivAt (t : ℝ) (ht : t ∈ Ioo 0 T) (x : E) : | |
| 102 | - HasFDerivAt (liftForward T hT A) | |
| 103 | - (timeLiftEquiv (jacobianEquiv T hT A ⟨t,ht.1.le,ht.2.le⟩ x) | |
| 104 | - (velocityFamily T hT A x ⟨t,ht.1.le,ht.2.le⟩)).toContinuousLinearMap (t,x) := by | |
| 105 | - have h : HasFDerivAt (liftForward T hT A) | |
| 106 | - ((ContinuousLinearMap.fst ℝ ℝ E).prod | |
| 107 | - (jointDerivative T hT (pathFamily T hT A) (velocityFamily T hT A) t x)) (t,x) := | |
| 108 | - hasFDerivAt_fst.prodMk (forward_joint_hasFDerivAt T hT A t ht x) | |
| 109 | - have he : (timeLiftEquiv (jacobianEquiv T hT A ⟨t,ht.1.le,ht.2.le⟩ x) | |
| 110 | - (velocityFamily T hT A x ⟨t,ht.1.le,ht.2.le⟩)).toContinuousLinearMap = | |
| 111 | - (ContinuousLinearMap.fst ℝ ℝ E).prod | |
| 112 | - (jointDerivative T hT (pathFamily T hT A) (velocityFamily T hT A) t x) := by | |
| 113 | - apply ContinuousLinearMap.ext | |
| 114 | - intro p | |
| 115 | - ext | |
| 116 | - · rfl | |
| 117 | - · change p.1 • velocityFamily T hT A x ⟨t,ht.1.le,ht.2.le⟩ + | |
| 118 | - (jacobianEvolution T hT A x).forward ⟨t,ht.1.le,ht.2.le⟩ p.2 = | |
| 119 | - (jointDerivative T hT (pathFamily T hT A) (velocityFamily T hT A) t x) p | |
| 120 | - simp only [jointDerivative, timeSlice, extendPath, | |
| 121 | - projIcc_of_mem hT ⟨ht.1.le,ht.2.le⟩, ContinuousLinearMap.coprod_apply, | |
| 122 | - ContinuousLinearMap.toSpanSingleton_apply] | |
| 123 | - rw [spatialDerivative_apply T _ (pathFamily_contDiff T hT A)] | |
| 124 | - change _ = p.1 • velocityFamily T hT A x ⟨t,ht.1.le,ht.2.le⟩ + | |
| 125 | - fderiv ℝ (fun y => (flowData T hT A).forward t y) x p.2 | |
| 126 | - rw [forward_fderiv T hT A ⟨t,ht.1.le,ht.2.le⟩ x] | |
| 127 | - rw [he] | |
| 128 | - exact h | |
| 129 | - | |
| 130 | -theorem liftBackward_contDiffAt_two | |
| 131 | - (htime : SmoothTimeField.TimeDerivative T hT A A₁) | |
| 132 | - (t : ℝ) (ht : t ∈ Ioo 0 T) (x : E) : | |
| 133 | - ContDiffAt ℝ 2 (liftBackward T hT A) (t,x) := by | |
| 134 | - let y := (flowData T hT A).backward t x | |
| 135 | - have hg : ContDiffAt ℝ 2 (liftForward T hT A) (t,y) := | |
| 136 | - contDiffAt_fst.prodMk (forward_joint_contDiffAt_two T hT A A₁ htime t ht y) | |
| 137 | - apply EulerSmoothImplicitLift.contDiffAt_of_identity | |
| 138 | - (liftBackward T hT A) (liftForward T hT A) id (t,x) 2 (by norm_num) | |
| 139 | - ((continuous_fst.prodMk (flowData T hT A).backward_joint_continuous).continuousAt) | |
| 140 | - hg contDiff_id.contDiffAt | |
| 141 | - (timeLiftEquiv (jacobianEquiv T hT A ⟨t,ht.1.le,ht.2.le⟩ y) | |
| 142 | - (velocityFamily T hT A y ⟨t,ht.1.le,ht.2.le⟩)) | |
| 143 | - · exact liftForward_hasFDerivAt T hT A t ht y | |
| 144 | - · intro p | |
| 145 | - ext | |
| 146 | - · rfl | |
| 147 | - · exact (flowData T hT A).forward_backward p.1 p.2 | |
| 148 | - | |
| 149 | -theorem backward_joint_contDiffAt_two | |
| 150 | - (htime : SmoothTimeField.TimeDerivative T hT A A₁) | |
| 151 | - (t : ℝ) (ht : t ∈ Ioo 0 T) (x : E) : | |
| 152 | - ContDiffAt ℝ 2 (Function.uncurry (flowData T hT A).backward) (t,x) := | |
| 153 | - (liftBackward_contDiffAt_two T hT A A₁ htime t ht x).snd | |
| 154 | 41 | |
| 155 | 42 | end EulerSmoothBanachFlow |
+0 −7 Euler/SmoothFlowParity.lean View file
| @@ -23,9 +23,6 @@ theorem flow_odd (ho : ∀ t, Function.Odd (V.velocity t)) (s t : ℝ) : Functio | ||
| 23 | 23 | theorem forward_odd (ho : ∀ t, Function.Odd (V.velocity t)) (t : ℝ) : |
| 24 | 24 | Function.Odd (V.forward t) := V.flow_odd ho 0 t |
| 25 | 25 | |
| 26 | -theorem backward_odd (ho : ∀ t, Function.Odd (V.velocity t)) (t : ℝ) : | |
| 27 | - Function.Odd (V.backward t) := V.flow_odd ho t 0 | |
| 28 | - | |
| 29 | 26 | end EulerBoundedLipschitzFlow.Data |
| 30 | 27 | |
| 31 | 28 | namespace EulerSmoothBanachFlow |
| @@ -39,8 +36,4 @@ theorem forward_odd (ho : ∀ t, Function.Odd (A.field t : E → E)) (t : ℝ) : | ||
| 39 | 36 | Function.Odd ((flowData T hT A).forward t) := |
| 40 | 37 | (flowData T hT A).forward_odd (fun r => ho (projIcc 0 T hT r)) t |
| 41 | 38 | |
| 42 | -theorem backward_odd (ho : ∀ t, Function.Odd (A.field t : E → E)) (t : ℝ) : | |
| 43 | - Function.Odd ((flowData T hT A).backward t) := | |
| 44 | - (flowData T hT A).backward_odd (fun r => ho (projIcc 0 T hT r)) t | |
| 45 | - | |
| 46 | 39 | end EulerSmoothBanachFlow |
+0 −8 Euler/SmoothFlowVolume.lean View file
| @@ -42,12 +42,4 @@ theorem forward_measurePreserving (t : Icc (0 : ℝ) T) : | ||
| 42 | 42 | · exact ((flowData T hT A).flowHomeomorph 0 t).bijective |
| 43 | 43 | · exact jacobianEvolution_det_one T hT A hdiv t |
| 44 | 44 | |
| 45 | -include hdiv in | |
| 46 | -theorem backward_measurePreserving (t : Icc (0 : ℝ) T) : | |
| 47 | - MeasurePreserving ((flowData T hT A).backward t) μ μ := by | |
| 48 | - let e := (flowData T hT A).flowHomeomorph 0 t | |
| 49 | - have hm : MeasurePreserving e.toMeasurableEquiv μ μ := | |
| 50 | - forward_measurePreserving T hT A hdiv μ t | |
| 51 | - exact MeasurePreserving.symm e.toMeasurableEquiv hm | |
| 52 | - | |
| 53 | 45 | end EulerSmoothBanachFlow |
+0 −29 Euler/SmoothGraphFlow.lean View file
| @@ -64,15 +64,6 @@ theorem graph_displacement_eq (t : Icc (0 : ℝ) T) (x : Vector3) : | ||
| 64 | 64 | rw [graph_flow_cover k m T hT A hgraph] |
| 65 | 65 | rfl |
| 66 | 66 | |
| 67 | -include hgraph in | |
| 68 | -theorem graph_forward_contDiff (t : Icc (0 : ℝ) T) : | |
| 69 | - ContDiff ℝ ∞ (graphFlow k m (flowData T hT A) 0 t) := by | |
| 70 | - have he : graphFlow k m (flowData T hT A) 0 t = | |
| 71 | - (flowData T hT (graphCoefficient k m T A)).forward t := | |
| 72 | - funext (graph_flow_eq k m T hT A hgraph 0 t) | |
| 73 | - rw [he] | |
| 74 | - exact forward_contDiff T hT (graphCoefficient k m T A) t | |
| 75 | - | |
| 76 | 67 | variable (hdiv : ∀ t z, |
| 77 | 68 | LinearMap.trace ℝ LiftTangent (fderiv ℝ (A.field t : LiftTangent → LiftTangent) z).toLinearMap=0) |
| 78 | 69 | |
| @@ -83,24 +74,4 @@ theorem graphCoefficient_trace_zero (t : Icc (0 : ℝ) T) (x : Vector3) : | ||
| 83 | 74 | graphVelocity_trace_zero k m (A.field t) ((A.smooth t).differentiable (by simp)) |
| 84 | 75 | (hgraph t) (hdiv t) x |
| 85 | 76 | |
| 86 | -include hgraph hdiv in | |
| 87 | -theorem graph_forward_measurePreserving (t : Icc (0 : ℝ) T) : | |
| 88 | - MeasurePreserving (graphFlow k m (flowData T hT A) 0 t) volume volume := by | |
| 89 | - have he : graphFlow k m (flowData T hT A) 0 t = | |
| 90 | - (flowData T hT (graphCoefficient k m T A)).forward t := | |
| 91 | - funext (graph_flow_eq k m T hT A hgraph 0 t) | |
| 92 | - rw [he] | |
| 93 | - exact forward_measurePreserving T hT (graphCoefficient k m T A) | |
| 94 | - (graphCoefficient_trace_zero k m T A hgraph hdiv) volume t | |
| 95 | - | |
| 96 | -include hgraph hdiv in | |
| 97 | -theorem graph_backward_measurePreserving (t : Icc (0 : ℝ) T) : | |
| 98 | - MeasurePreserving (graphFlow k m (flowData T hT A) t 0) volume volume := by | |
| 99 | - have he : graphFlow k m (flowData T hT A) t 0 = | |
| 100 | - (flowData T hT (graphCoefficient k m T A)).backward t := | |
| 101 | - funext (graph_flow_eq k m T hT A hgraph t 0) | |
| 102 | - rw [he] | |
| 103 | - exact backward_measurePreserving T hT (graphCoefficient k m T A) | |
| 104 | - (graphCoefficient_trace_zero k m T A hgraph hdiv) volume t | |
| 105 | - | |
| 106 | 77 | end EulerGraphInvariantFlow |
+0 −10 Euler/SmoothL2Series.lean View file
| @@ -46,12 +46,6 @@ theorem partialSum_field (A : ℕ → SmoothL2Field Space) (n : ℕ) (x : Space) | ||
| 46 | 46 | | zero => simp only [partialSum,zeroField,sum_range_zero]; rfl |
| 47 | 47 | | succ n ih => simp only [partialSum,addField_field,ih,sum_range_succ] |
| 48 | 48 | |
| 49 | -theorem partialSum_jet (A : ℕ → SmoothL2Field Space) (n q : ℕ) : | |
| 50 | - (partialSum A n).jetLp q=∑ i ∈ range n, (A i).jetLp q := by | |
| 51 | - induction n with | |
| 52 | - | zero => simp only [partialSum,zeroField_jet,sum_range_zero] | |
| 53 | - | succ n ih => simp only [partialSum,jetLp_addField,ih,sum_range_succ] | |
| 54 | - | |
| 55 | 49 | theorem partialSum_value (A : ℕ → SmoothL2Field Space) (n : ℕ) : |
| 56 | 50 | (partialSum A n).toLp=∑ i ∈ range n, (A i).toLp := by |
| 57 | 51 | induction n with |
| @@ -104,10 +98,6 @@ theorem sumField_jet_tendsto (q : ℕ) : | ||
| 104 | 98 | Tendsto (fun n => (partialSum A n).jetLp q) atTop (𝓝 ((sumField A hA).jetLp q)) := |
| 105 | 99 | (limitData A hA).jet_convergence q ⟨0,le_rfl,le_rfl⟩ |
| 106 | 100 | |
| 107 | -theorem sumField_value_tendsto : | |
| 108 | - Tendsto (fun n => (partialSum A n).toLp) atTop (𝓝 ((sumField A hA).toLp)) := | |
| 109 | - (limitData A hA).toLp_convergence ⟨0,le_rfl,le_rfl⟩ | |
| 110 | - | |
| 111 | 101 | theorem sumField_Hm_tendsto (q : ℕ) : |
| 112 | 102 | Tendsto (fun n => ∑ j ∈ range (q+1), |
| 113 | 103 | ‖(partialSum A n).jetLp j-(sumField A hA).jetLp j‖) atTop (𝓝 0) := by |
+0 −89 Euler/SmoothPathJoint.lean View file
| @@ -18,97 +18,8 @@ variable {E V : Type*} | ||
| 18 | 18 | [NormedAddCommGroup V] [NormedSpace ℝ V] [FiniteDimensional ℝ V] |
| 19 | 19 | (T : ℝ) (hT : 0 ≤ T) (f q : E → C(Icc (0 : ℝ) T,V)) |
| 20 | 20 | |
| 21 | -def timeSlice (t : ℝ) (x : E) : V := extendPath T hT (f x) t | |
| 22 | - | |
| 23 | -omit [NormedSpace ℝ E] [FiniteDimensional ℝ E] [NormedSpace ℝ V] [FiniteDimensional ℝ V] in | |
| 24 | -theorem timeSlice_joint_continuous (hf : Continuous f) : | |
| 25 | - Continuous (Function.uncurry (timeSlice T hT f)) := by | |
| 26 | - unfold timeSlice extendPath | |
| 27 | - fun_prop | |
| 28 | - | |
| 29 | -def spatialDerivative (x : E) : C(Icc (0 : ℝ) T,E →L[ℝ] V) := | |
| 30 | - ((continuousMultilinearCurryFin1 ℝ E V).toContinuousLinearEquiv.toContinuousLinearMap.compLeftContinuous | |
| 31 | - ℝ (Icc (0 : ℝ) T)) (jetFamily T f 1 x) | |
| 32 | - | |
| 33 | -theorem spatialDerivative_contDiff (hf : ContDiff ℝ ∞ f) : | |
| 34 | - ContDiff ℝ ∞ (spatialDerivative T f) := by | |
| 35 | - exact (ContinuousLinearMap.contDiff (𝕜 := ℝ) (n := ∞) | |
| 36 | - (E := C(Icc (0 : ℝ) T,E [×1]→L[ℝ] V)) (F := C(Icc (0 : ℝ) T,E →L[ℝ] V)) | |
| 37 | - ((continuousMultilinearCurryFin1 ℝ E V).toContinuousLinearEquiv.toContinuousLinearMap.compLeftContinuous | |
| 38 | - ℝ (Icc (0 : ℝ) T))).comp (jetFamily_contDiff T f hf 1) | |
| 39 | - | |
| 40 | -theorem spatialDerivative_apply (hf : ContDiff ℝ ∞ f) (x : E) (t : Icc (0 : ℝ) T) : | |
| 41 | - spatialDerivative T f x t = fderiv ℝ (fun y => f y t) x := by | |
| 42 | - change continuousMultilinearCurryFin1 ℝ E V (jetFamily T f 1 x t) = _ | |
| 43 | - rw [jetFamily_apply T f hf] | |
| 44 | - apply ContinuousLinearMap.ext | |
| 45 | - intro v | |
| 46 | - rw [continuousMultilinearCurryFin1_apply, iteratedFDeriv_one_apply] | |
| 47 | - simp | |
| 48 | - | |
| 49 | -theorem timeSlice_hasFDerivAt (hf : ContDiff ℝ ∞ f) (t : ℝ) (x : E) : | |
| 50 | - HasFDerivAt (timeSlice T hT f t) (spatialDerivative T f x (projIcc 0 T hT t)) x := by | |
| 51 | - rw [spatialDerivative_apply T f hf] | |
| 52 | - exact (((ContinuousMap.evalCLM ℝ (projIcc 0 T hT t)).contDiff.comp hf).differentiable | |
| 53 | - (by simp) x).hasFDerivAt | |
| 54 | - | |
| 55 | -def jointDerivative (t : ℝ) (x : E) : (ℝ × E) →L[ℝ] V := | |
| 56 | - (ContinuousLinearMap.toSpanSingleton ℝ (timeSlice T hT q t x)).coprod | |
| 57 | - (timeSlice T hT (spatialDerivative T f) t x) | |
| 58 | - | |
| 59 | -theorem jointDerivative_continuous (hf : ContDiff ℝ ∞ f) (hq : Continuous q) : | |
| 60 | - Continuous (Function.uncurry (jointDerivative T hT f q)) := by | |
| 61 | - exact ((ContinuousLinearMap.toSpanSingletonLIE ℝ V).continuous.comp | |
| 62 | - (timeSlice_joint_continuous T hT q hq)).continuousLinearMapCoprod | |
| 63 | - (timeSlice_joint_continuous T hT (spatialDerivative T f) | |
| 64 | - (spatialDerivative_contDiff T f hf).continuous) | |
| 65 | - | |
| 66 | 21 | variable (hf : ContDiff ℝ ∞ f) (hq : ContDiff ℝ ∞ q) |
| 67 | 22 | (hd : ∀ x (t : Icc (0 : ℝ) T), |
| 68 | 23 | HasDerivWithinAt (extendPath T hT (f x)) (q x t) (Icc (0 : ℝ) T) t) |
| 69 | 24 | |
| 70 | -include hf hq hd in | |
| 71 | -theorem joint_hasFDerivAt (t : ℝ) (ht : t ∈ Ioo 0 T) (x : E) : | |
| 72 | - HasFDerivAt (Function.uncurry (timeSlice T hT f)) (jointDerivative T hT f q t x) (t,x) := by | |
| 73 | - have hloc : ∀ᶠ p : ℝ × E in 𝓝 (t,x), p.1 ∈ Ioo 0 T := | |
| 74 | - (continuous_fst.tendsto (t,x)).eventually (Ioo_mem_nhds ht.1 ht.2) | |
| 75 | - apply HasStrictFDerivAt.hasFDerivAt | |
| 76 | - apply hasStrictFDerivAt_uncurry_coprod | |
| 77 | - (f := timeSlice T hT f) (u := (t,x)) | |
| 78 | - (f₁ := fun s y => ContinuousLinearMap.toSpanSingleton ℝ (timeSlice T hT q s y)) | |
| 79 | - (f₂ := timeSlice T hT (spatialDerivative T f)) | |
| 80 | - · filter_upwards [hloc] with p hp | |
| 81 | - change HasFDerivAt (fun s => timeSlice T hT f s p.2) | |
| 82 | - (ContinuousLinearMap.toSpanSingleton ℝ (timeSlice T hT q p.1 p.2)) p.1 | |
| 83 | - have hh := (hd p.2 ⟨p.1,hp.1.le,hp.2.le⟩).hasDerivAt (Icc_mem_nhds hp.1 hp.2) | |
| 84 | - have he : timeSlice T hT q p.1 p.2 = q p.2 ⟨p.1,hp.1.le,hp.2.le⟩ := by | |
| 85 | - simp only [timeSlice, extendPath, projIcc_of_mem hT ⟨hp.1.le,hp.2.le⟩] | |
| 86 | - rw [he] | |
| 87 | - exact hh.hasFDerivAt | |
| 88 | - · apply Eventually.of_forall | |
| 89 | - intro p | |
| 90 | - exact timeSlice_hasFDerivAt T hT f hf p.1 p.2 | |
| 91 | - · exact ((ContinuousLinearMap.toSpanSingletonLIE ℝ V).continuous.comp | |
| 92 | - (timeSlice_joint_continuous T hT q hq.continuous)).continuousAt | |
| 93 | - · exact (timeSlice_joint_continuous T hT (spatialDerivative T f) | |
| 94 | - (spatialDerivative_contDiff T f hf).continuous).continuousAt | |
| 95 | - | |
| 96 | -include hf hq hd in | |
| 97 | -theorem joint_contDiffAt_one (t : ℝ) (ht : t ∈ Ioo 0 T) (x : E) : | |
| 98 | - ContDiffAt ℝ 1 (Function.uncurry (timeSlice T hT f)) (t,x) := by | |
| 99 | - rw [contDiffAt_one_iff] | |
| 100 | - refine ⟨Function.uncurry (jointDerivative T hT f q), {p : ℝ × E | p.1 ∈ Ioo 0 T}, ?_, | |
| 101 | - (jointDerivative_continuous T hT f q hf hq.continuous).continuousOn, ?_⟩ | |
| 102 | - · exact (continuous_fst.tendsto (t,x)).eventually (Ioo_mem_nhds ht.1 ht.2) | |
| 103 | - · intro p hp | |
| 104 | - exact joint_hasFDerivAt T hT f q hf hq hd p.1 hp p.2 | |
| 105 | - | |
| 106 | -include hf hq hd in | |
| 107 | -theorem spatialDerivative_time (x : E) (t : Icc (0 : ℝ) T) : | |
| 108 | - HasDerivWithinAt (extendPath T hT (spatialDerivative T f x)) | |
| 109 | - (spatialDerivative T q x t) (Icc (0 : ℝ) T) t := by | |
| 110 | - have h := (continuousMultilinearCurryFin1 ℝ E V).toContinuousLinearEquiv.toContinuousLinearMap.hasFDerivAt.comp_hasDerivWithinAt | |
| 111 | - (t : ℝ) (jetFamily_hasDerivWithinAt T hT f q hf hq hd 1 x t) | |
| 112 | - exact h | |
| 113 | - | |
| 114 | 25 | end EulerSmoothPathJoint |
+0 −4 Euler/SmoothPathSuperposition.lean View file
| @@ -103,8 +103,4 @@ private theorem superposition_contDiff_nat (n : ℕ) : | ||
| 103 | 103 | exact contDiff_multiplier A.derivative.superposition |
| 104 | 104 | (ih (Space →L[ℝ] V) A.derivative) |
| 105 | 105 | |
| 106 | -theorem superposition_contDiff (A : SmoothCoefficientPath K V) : | |
| 107 | - ContDiff ℝ ∞ A.superposition := | |
| 108 | - contDiff_infty.mpr (fun n => superposition_contDiff_nat n V A) | |
| 109 | - | |
| 110 | 106 | end EulerMeanCoefficients.SmoothCoefficientPath |
+0 −8 Euler/SmoothPhysicalGraphFlow.lean View file
| @@ -69,14 +69,6 @@ theorem physicalCoefficient_timeDerivative (ell : ℝ) | ||
| 69 | 69 | scaledCoefficient_timeDerivative T hT (graphCoefficient k m T A) ell |
| 70 | 70 | (graphCoefficient k m T A₁) (graphCoefficient_timeDerivative k m T hT A A₁ htime) |
| 71 | 71 | |
| 72 | -include hgraph in | |
| 73 | -theorem physical_flow_eq (ell : ℝ) (hell : ell ≠ 0) (s t : ℝ) (x : Vector3) : | |
| 74 | - (flowData T hT (physicalCoefficient k m T A ell)).flow s t x = | |
| 75 | - ell • ((flowData T hT A).flow s t (graphLinear k m (ell⁻¹ • x))).1 := by | |
| 76 | - rw [physicalCoefficient,scaled_flow_eq T hT (graphCoefficient k m T A) ell hell] | |
| 77 | - rw [← graph_flow_eq k m T hT A hgraph] | |
| 78 | - rfl | |
| 79 | - | |
| 80 | 72 | include hgraph in |
| 81 | 73 | theorem physical_displacement_eq (ell : ℝ) (hell : ell ≠ 0) |
| 82 | 74 | (t : Icc (0 : ℝ) T) (x : Vector3) : |
+0 −20 Euler/SmoothTimeFieldDerivativeBounds.lean View file
| @@ -22,24 +22,4 @@ private local instance (n : ℕ) : NormedSpace ℝ (E →ᵇ (E [×n]→L[ℝ] V | ||
| 22 | 22 | private local instance (n : ℕ) : NormedAddCommGroup (E →ᵇ (E [×n]→L[ℝ] (E →L[ℝ] V))) := inferInstance |
| 23 | 23 | private local instance (n : ℕ) : NormedSpace ℝ (E →ᵇ (E [×n]→L[ℝ] (E →L[ℝ] V))) := inferInstance |
| 24 | 24 | |
| 25 | -theorem derivative_jet_norm_le (A : SmoothTimeField K E V) (n : ℕ) : | |
| 26 | - ‖A.derivative.jet n‖ ≤ ‖A.jet (n+1)‖ := by | |
| 27 | - apply (ContinuousMap.norm_le _ (norm_nonneg _)).2 | |
| 28 | - intro t | |
| 29 | - apply (BoundedContinuousFunction.norm_le (norm_nonneg _)).2 | |
| 30 | - intro x | |
| 31 | - change ‖continuousMultilinearCurryRightEquiv' ℝ n E V (A.jet (n+1) t x)‖ ≤ _ | |
| 32 | - rw [LinearIsometryEquiv.norm_map] | |
| 33 | - exact ((A.jet (n+1) t).norm_coe_le_norm x).trans ((A.jet (n+1)).norm_coe_le_norm t) | |
| 34 | - | |
| 35 | -theorem derivative_field_norm_le (A : SmoothTimeField K E V) : | |
| 36 | - ‖A.derivative.field‖ ≤ ‖A.jet 1‖ := by | |
| 37 | - apply (ContinuousMap.norm_le _ (norm_nonneg _)).2 | |
| 38 | - intro t | |
| 39 | - apply (BoundedContinuousFunction.norm_le (norm_nonneg _)).2 | |
| 40 | - intro x | |
| 41 | - change ‖continuousMultilinearCurryFin1 ℝ E V (A.jet 1 t x)‖ ≤ _ | |
| 42 | - rw [LinearIsometryEquiv.norm_map] | |
| 43 | - exact ((A.jet 1 t).norm_coe_le_norm x).trans ((A.jet 1).norm_coe_le_norm t) | |
| 44 | - | |
| 45 | 25 | end SmoothTimeField |
+0 −19 Euler/SmoothTimeFieldFromPaths.lean View file
| @@ -63,23 +63,4 @@ def ofPathFamily : SmoothTimeField (Icc (0 : ℝ) T) E V where | ||
| 63 | 63 | iteratedFDeriv ℝ n (fun y => f y t) x := |
| 64 | 64 | jetFamily_apply T f hf n x t |
| 65 | 65 | |
| 66 | -theorem ofPathFamily_jet_norm (n : ℕ) : | |
| 67 | - ‖(ofPathFamily T hT f q hf hq hd C D hC hD).jet n‖ ≤ C n := by | |
| 68 | - have hnonneg : 0 ≤ C n := (norm_nonneg _).trans (hC n ⟨0,le_rfl,hT⟩ 0) | |
| 69 | - apply (ContinuousMap.norm_le _ hnonneg).2 | |
| 70 | - intro t | |
| 71 | - apply (BoundedContinuousFunction.norm_le hnonneg).2 | |
| 72 | - intro x | |
| 73 | - rw [ofPathFamily_jet_apply] | |
| 74 | - exact hC n t x | |
| 75 | - | |
| 76 | -theorem ofPathFamily_field_norm : | |
| 77 | - ‖(ofPathFamily T hT f q hf hq hd C D hC hD).field‖ ≤ C 0 := by | |
| 78 | - have hnonneg : 0 ≤ C 0 := (norm_nonneg _).trans (hC 0 ⟨0,le_rfl,hT⟩ 0) | |
| 79 | - apply (ContinuousMap.norm_le _ hnonneg).2 | |
| 80 | - intro t | |
| 81 | - apply (BoundedContinuousFunction.norm_le hnonneg).2 | |
| 82 | - intro x | |
| 83 | - exact value_bound T f C hC t x | |
| 84 | - | |
| 85 | 66 | end SmoothTimeField |
+0 −10 Euler/SmoothTimeFieldTimeJets.lean View file
| @@ -66,14 +66,4 @@ theorem TimeDerivative.derivative (htime : TimeDerivative T hT A A₁) : | ||
| 66 | 66 | (TimeDerivative.jet_pointwise T hT A A₁ htime 1 x t) |
| 67 | 67 | exact h |
| 68 | 68 | |
| 69 | -theorem TimeDerivative.jet_uniform (htime : TimeDerivative T hT A A₁) | |
| 70 | - (n : ℕ) (t : Icc (0 : ℝ) T) : | |
| 71 | - HasDerivWithinAt (extendPath T hT (A.jet n)) | |
| 72 | - (A₁.jet n t) (Icc (0 : ℝ) T) t := by | |
| 73 | - have h := EulerBoundedFieldTimeDerivative.hasDerivWithinAt T hT (A.jet n) (A₁.jet n) | |
| 74 | - (fun s hs x => by | |
| 75 | - simpa only [extendPath, projIcc_of_mem hT hs] using | |
| 76 | - TimeDerivative.jet_pointwise T hT A A₁ htime n x ⟨s,hs⟩) t t.property | |
| 77 | - simpa only [extendPath, projIcc_of_mem hT t.property] using h | |
| 78 | - | |
| 79 | 69 | end SmoothTimeField |
+0 −12 Euler/StrongOperatorDerivative.lean View file
| @@ -31,18 +31,6 @@ theorem hasDerivAt_apply (A : ℝ → E →L[ℝ] F) (u : ℝ → E) (t : ℝ) ( | ||
| 31 | 31 | exact (hfirst.add ha.tendsto_slope).congr' |
| 32 | 32 | (Filter.Eventually.of_forall (fun s => (slope_apply A u t s).symm)) |
| 33 | 33 | |
| 34 | -/-- The same product rule for a one-sided derivative. -/ | |
| 35 | -theorem hasDerivWithinAt_apply (A : ℝ → E →L[ℝ] F) (u : ℝ → E) (t : ℝ) (s : Set ℝ) (u' : E) (a' : F) | |
| 36 | - (hu : HasDerivWithinAt u u' s t) (ha : HasDerivWithinAt (fun r => A r (u t)) a' s t) | |
| 37 | - (hc : ContinuousAt (fun p : ℝ × E => A p.1 p.2) (t, u')) : | |
| 38 | - HasDerivWithinAt (fun r => A r (u r)) (A t u' + a') s t := by | |
| 39 | - apply hasDerivWithinAt_iff_tendsto_slope.mpr | |
| 40 | - have hfirst : Tendsto (fun r => A r (slope u t r)) (𝓝[s \ {t}] t) (𝓝 (A t u')) := | |
| 41 | - hc.tendsto.comp ((show Tendsto (fun r : ℝ => r) (𝓝[s \ {t}] t) (𝓝 t) from nhdsWithin_le_nhds).prodMk_nhds | |
| 42 | - (hasDerivWithinAt_iff_tendsto_slope.mp hu)) | |
| 43 | - exact (hfirst.add (hasDerivWithinAt_iff_tendsto_slope.mp ha)).congr' | |
| 44 | - (Filter.Eventually.of_forall (fun r => (slope_apply A u t r).symm)) | |
| 45 | - | |
| 46 | 34 | end EulerStrongOperatorDerivative |
| 47 | 35 | |
| 48 | 36 | namespace EulerGaussianCylinderHeat |
+0 −8 Euler/TopBlockTimeNorm.lean View file
| @@ -37,12 +37,4 @@ theorem pathLp_quadratic_bound {X Y Z I : Type*} [Fintype I] | ||
| 37 | 37 | simp only [pathLp_norm_sq] |
| 38 | 38 | exact h |
| 39 | 39 | |
| 40 | -/-- All actual order-q H² blocks and the lower H^(q+1) norm control the full H^(q+2) time norm. -/ | |
| 41 | -theorem top_blocks_time_norm (period : ℝ) [Fact (0 < period)] (q : ℕ) | |
| 42 | - (T : ℝ) (hT : 0 ≤ T) (u : C(Icc (0 : ℝ) T, SobolevSpace period (2+q))) : | |
| 43 | - ‖pathLp T hT u‖^2 ≤ | |
| 44 | - ‖pathLp T hT ((restrictOperator period (by omega : 1+q ≤ 2+q)).compLeftContinuous ℝ (Icc (0 : ℝ) T) u)‖^2 + | |
| 45 | - ∑ w : Fin q → Fin 4, ‖pathLp T hT ((wordBlock period 2 q w).compLeftContinuous ℝ (Icc (0 : ℝ) T) u)‖^2 := | |
| 46 | - pathLp_quadratic_bound _ _ (top_blocks_norm_sq period q) T hT u | |
| 47 | - | |
| 48 | 40 | end EulerTopBlockTimeNorm |
+2 −2 KNOWN.md View file
| @@ -16,8 +16,8 @@ What is established about this problem, one fact a line, each with where it come | ||
| 16 | 16 | |
| 17 | 17 | ## Mind |
| 18 | 18 | |
| 19 | -- [mind, checked] A pending build is a queue, not a failure: s1-euler-* and s1-ns-* builds submitted 12-04 16:10–16:20 were still running at 16:38, while build successes for earlier heads landed 16:35–16:37 and challenge passes 16:34–16:38 (job 2876, commit c745f05, commit 1188f6a). | |
| 20 | -- [mind, checked] A challenge verdict counts its own head's tree: successes at 12-04 16:34–16:38 all read 2,590 Lean files but 615,252–617,128 lines, main's heads 616,018–616,920, so a count snapshots one tree (commit ff4bb09, commit 0ce78be, commit 239393c, commit cf8d932). | |
| 19 | +- [mind, checked] A pending build is a queue, not a failure: builds submitted 12-04 16:10–16:28 on s1-euler-* and s1-ns-* were still running at 16:48, some starting only 16:30–16:39, while build successes for other heads landed 16:43–16:48 (job 3157, job 3203, job 3232, commit 014da1d, commit 0ebd20b). | |
| 20 | +- [mind, checked] A challenge verdict counts its own head's tree: successes at 12-04 16:42–16:44 read 2,589–2,590 Lean files and 609,889–615,327 lines, main's heads 609,889–614,223, so a count snapshots one tree (commit af5b347, commit 0a679eb, commit 127f8c0, commit cb98f62). | |
| 21 | 21 | - [mind, checked] A challenge success is filed before the matching build: main's tip 0f1047c reads challenge success at 16:38 with its build queued, and the 02:56–03:23 passes had builds at 03:09–03:52, so a fresh pass can stand without a build (job 3411, commit 7131c8c, commit 828caff). |
| 22 | 22 | - ~~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) |
| 23 | 23 | - 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 −55 NavierStokes/ActualBaseResidual.lean View file
| @@ -813,16 +813,6 @@ theorem basePressure_eq_fixedPressure (n : ℕ) (x : Full) : | ||
| 813 | 813 | basePressure H v upper B n x = fixedPressure H v upper B n x.1 := |
| 814 | 814 | basePressure_angle_eq H v upper B n x.1 x.2 |
| 815 | 815 | |
| 816 | -/-- Full band transition. The auxiliary cover is arbitrary because this is | |
| 817 | -the same physical base field on every free lift. -/ | |
| 818 | -theorem basePressure_band (n m k : ℕ) (x : Point) (theta : ℝ) : | |
| 819 | - basePressure H v upper B n (x, theta) = | |
| 820 | - (ChartScales.Q n / ChartScales.Q m) ^ (2 * CoordinateAlgebra.A F.data.h) * | |
| 821 | - basePressure H v upper B m (GaugeStateCoherence.bandChartEquiv F.data.h n m k x, theta) := by | |
| 822 | - simp only [basePressure, pressureAtScale, physicalPoint_bandChart] | |
| 823 | - rw [← mul_assoc, mul_comm ((ChartScales.Q n / ChartScales.Q m) ^ _) (ChartScales.Q m ^ _), | |
| 824 | - band_power_product] | |
| 825 | - | |
| 826 | 816 | theorem baseError_band (n m k : ℕ) (x : Point) (theta : ℝ) (i : Fin 3) : |
| 827 | 817 | baseError H v upper B n (x, theta) i = |
| 828 | 818 | (ChartScales.Q n / ChartScales.Q m) ^ (2 * CoordinateAlgebra.A F.data.h + 1 / 2) * |
| @@ -864,21 +854,6 @@ theorem errorState_band (U : Set Point) (n m k : ℕ) : | ||
| 864 | 854 | · intro x hx theta i; simp [errorState] |
| 865 | 855 | · intro x hx theta i; simp [errorState] |
| 866 | 856 | |
| 867 | -theorem fixedPressure_band (U : Set Point) (n m k : ℕ) : | |
| 868 | - PhysicalResidualNaturality.ScalarOn U (GaugeStateCoherence.bandChartEquiv F.data.h n m k) | |
| 869 | - (GaugeStateCoherence.bandVelocityScale F.data.h n m * | |
| 870 | - GaugeStateCoherence.bandVelocityScale F.data.h n m) | |
| 871 | - (fixedPressure H v upper B n) (fixedPressure H v upper B m) := by | |
| 872 | - intro x hx | |
| 873 | - have hp : GaugeStateCoherence.bandVelocityScale F.data.h n m * | |
| 874 | - GaugeStateCoherence.bandVelocityScale F.data.h n m = | |
| 875 | - (ChartScales.Q n / ChartScales.Q m) ^ (2 * CoordinateAlgebra.A F.data.h) := by | |
| 876 | - unfold GaugeStateCoherence.bandVelocityScale | |
| 877 | - rw [← Real.rpow_add (div_pos (ChartScales.Q_pos n) (ChartScales.Q_pos m))] | |
| 878 | - congr 1 | |
| 879 | - ring | |
| 880 | - simpa only [fixedPressure, hp] using basePressure_band H v upper B n m k x 0 | |
| 881 | - | |
| 882 | 857 | |
| 883 | 858 | /-- The actual excluded error has no angular dependence on positive time |
| 884 | 859 | and radius; this follows from the proved base equation. -/ |
| @@ -919,36 +894,6 @@ theorem baseError_angle_eq (n : ℕ) {x : Point} (hR : 0 < x.1) (hT : 0 < x.2.1. | ||
| 919 | 894 | exact add_left_cancel he |
| 920 | 895 | |
| 921 | 896 | |
| 922 | -theorem baseError_auxiliary_eq (n : ℕ) (R : ℝ) (s Y Y' : ℝ × ℝ) (theta : ℝ) : | |
| 923 | - baseError H v upper B n ((R, (s, Y)), theta) = | |
| 924 | - baseError H v upper B n ((R, (s, Y')), theta) := rfl | |
| 925 | - | |
| 926 | -theorem basePressure_auxiliary_eq (n : ℕ) (R : ℝ) (s Y Y' : ℝ × ℝ) (theta : ℝ) : | |
| 927 | - basePressure H v upper B n ((R, (s, Y)), theta) = | |
| 928 | - basePressure H v upper B n ((R, (s, Y')), theta) := rfl | |
| 929 | - | |
| 930 | -/-- Fixed-band common-cover specialization of the same physical error field. -/ | |
| 931 | -theorem errorState_common (U : Set Point) (n k : ℕ) : | |
| 932 | - PhysicalResidualNaturality.StateOn U (CommonBaseContext.coverLift k) 1 1 | |
| 933 | - (errorState H v upper B) (errorState H v upper B) n n := by | |
| 934 | - refine ⟨⟨?_, ?_, ?_⟩, ?_, ?_, ?_, ?_, ?_, ?_⟩ | |
| 935 | - · intro x hx; simp [errorState] | |
| 936 | - · intro x hx; simp [errorState] | |
| 937 | - · intro x hx; simp [errorState] | |
| 938 | - · intro x hx; simp [errorState] | |
| 939 | - · intro x hx theta i; simp [errorState] | |
| 940 | - · intro x hx theta; simp [errorState] | |
| 941 | - · intro x hx theta i | |
| 942 | - simp [errorState, baseError, errorAtScale, physicalPoint, cylinderPoint] | |
| 943 | - · intro x hx theta i; simp [errorState] | |
| 944 | - · intro x hx theta i; simp [errorState] | |
| 945 | - | |
| 946 | -theorem fixedPressure_common (U : Set Point) (n k : ℕ) : | |
| 947 | - PhysicalResidualNaturality.ScalarOn U (CommonBaseContext.coverLift k) 1 | |
| 948 | - (fixedPressure H v upper B n) (fixedPressure H v upper B n) := by | |
| 949 | - intro x hx | |
| 950 | - simp [fixedPressure, basePressure, pressureAtScale, physicalPoint, cylinderPoint] | |
| 951 | - | |
| 952 | 897 | end Actual |
| 953 | 898 | |
| 954 | 899 | end NavierStokes.ActualBaseResidual |
+0 −21 NavierStokes/ActualBaseVelocityBounds.lean View file
| @@ -402,10 +402,6 @@ theorem heatLoss_controls_middle {h : ℝ} (hh1 : h < 1 / 2) (m : ℕ) : | ||
| 402 | 402 | have hm : 0 ≤ (m : ℝ) := by positivity |
| 403 | 403 | linarith |
| 404 | 404 | |
| 405 | -theorem heatLoss_mono {n m : ℕ} (hnm : n ≤ m) : heatLoss n ≤ heatLoss m := by | |
| 406 | - unfold heatLoss powerLoss | |
| 407 | - gcongr | |
| 408 | - | |
| 409 | 405 | section Actual |
| 410 | 406 | |
| 411 | 407 | variable {F : OutgoingProfile.Profile} {W : NominalProfile.Witness F} |
| @@ -535,23 +531,6 @@ theorem velocity_rate (upper : ℝ) (B m : ℕ) : | ||
| 535 | 531 | exact (restricted_mem endpoint Sᶜ).mono (fun _ hz => |
| 536 | 532 | (outer_lt_box (W := W) upper).trans (lt_of_not_ge hz)) |
| 537 | 533 | |
| 538 | -/-- A common constant and neighborhood control the entire finite jet. -/ | |
| 539 | -theorem velocity_finite_rate (upper : ℝ) (B m : ℕ) : | |
| 540 | - FiniteJetRate endpoint (PhysicalWaveSum.physicalQ F.data.h) (FinalSlowBase.velocity H v upper B) | |
| 541 | - m (-heatLoss m) := by | |
| 542 | - have hq := endpoint_q_small F.data.h_pos F.data.h_lt_half | |
| 543 | - apply finiteJetRate_of_jetRate (hq.mono (fun _ hz => hz.1)) | |
| 544 | - intro i hi | |
| 545 | - exact (velocity_rate H v upper B i).weaken hq (neg_le_neg (heatLoss_mono hi)) | |
| 546 | - | |
| 547 | -/-- Public statement with the endpoint filter and existential loss explicit. -/ | |
| 548 | -theorem exists_fixed_loss (upper : ℝ) (B : ℕ) : | |
| 549 | - ∀ m : ℕ, ∃ L : ℝ, 0 ≤ L ∧ | |
| 550 | - JetRate (𝓝[SpacetimeEndpoint.openPast 1] (1, (0 : Space))) | |
| 551 | - (PhysicalWaveSum.physicalQ F.data.h) (FinalSlowBase.velocity H v upper B) m (-L) := by | |
| 552 | - intro m | |
| 553 | - exact ⟨heatLoss m, heatLoss_nonneg m, velocity_rate H v upper B m⟩ | |
| 554 | - | |
| 555 | 534 | end Actual |
| 556 | 535 | |
| 557 | 536 | end NavierStokes.ActualBaseVelocityBounds |
+0 −30 NavierStokes/ActualCandidateAssembly.lean View file
| @@ -132,15 +132,6 @@ theorem initialPressure_support (B N0 : ℕ) : | ||
| 132 | 132 | rw [initialPressure, ActualCandidateConstruction.pressureMeanStages_zero] |
| 133 | 133 | exact PhysicalStageSupport.support_add hw hm |
| 134 | 134 | |
| 135 | -theorem initialDirect_support (B N0 : ℕ) : | |
| 136 | - MixedDiagonalExtensions.SublevelShrinkingSupport h PhysicalStageSupport.actualOuterConstant | |
| 137 | - (ActualCandidateConstruction.qbig B N0) (initialDirect B N0) := by | |
| 138 | - have hm := (ActualMeanStageData.initial_shrinkingSupport B N0 | |
| 139 | - (ActualCandidateConstruction.firstBand B N0) (ActualCandidateConstruction.qbig B N0) le_rfl).1 | |
| 140 | - erw [ActualMeanStageData.initialAngularSupport_field] at hm | |
| 141 | - simp only [initialDirect, ActualCandidateConstruction.angularMeanStages_zero] | |
| 142 | - exact hm | |
| 143 | - | |
| 144 | 135 | theorem initialPotential_axisZeroOn (B N0 : ℕ) : |
| 145 | 136 | GermCandidateAssembly.AxisZeroOn |
| 146 | 137 | (MixedAxisPreservation.localDomain h (ActualCandidateConstruction.qbig B N0)) |
| @@ -217,16 +208,6 @@ theorem zerothPotential_eq_initialPotential (B N0 : ℕ) : | ||
| 217 | 208 | rw [zerothPotential, initialPotential_eq_increment] |
| 218 | 209 | rfl |
| 219 | 210 | |
| 220 | -theorem zerothPotential_smooth (B N0 : ℕ) : | |
| 221 | - ContDiffOn ℝ ∞ (zerothPotential B N0) (ActualCandidateConstruction.physicalDomain B N0) := by | |
| 222 | - rw [zerothPotential_eq_initialPotential] | |
| 223 | - exact ActualPhysicalStageBounds.initialPotential_smooth certificate modulation upper B _ _ _ le_rfl le_rfl | |
| 224 | - | |
| 225 | -theorem zerothPressure_smooth (B N0 : ℕ) : | |
| 226 | - ContDiffOn ℝ ∞ (zerothPressure B N0) (ActualCandidateConstruction.physicalDomain B N0) := | |
| 227 | - ((FinalSlowBase.pressure_smooth certificate modulation upper B).mono | |
| 228 | - (fun _ hw => ⟨hw.1, mem_univ _⟩)).add (initialPressure_smooth B N0) | |
| 229 | - | |
| 230 | 211 | /-! ## The particular fields come from the same current state |
| 231 | 212 | |
| 232 | 213 | The valid-band representative uses the common physical floor. Its local |
| @@ -859,13 +840,6 @@ theorem signedPotential_smooth (B N0 : ℕ) | ||
| 859 | 840 | outgoing.data.h_pos outgoing.data.h_lt_half).congr |
| 860 | 841 | (fun _ hw => (signedPotential_eq_native B N0 hN j hw).symm) |
| 861 | 842 | |
| 862 | -theorem signedPressure_smooth (B N0 : ℕ) | |
| 863 | - (hN : ActualCarrierGeometry.geometricThreshold ≤ N0) (j : ℕ) : | |
| 864 | - ContDiffOn ℝ ∞ (signedPressure B N0 hN j) PhysicalWaveSum.preterminal := | |
| 865 | - (((ActualSignedWaveData.signedInputs B N0 hN).pressure j).pressure_smooth | |
| 866 | - outgoing.data.h_pos outgoing.data.h_lt_half).congr | |
| 867 | - (fun _ hw => (signedPressure_eq_native B N0 hN j hw).symm) | |
| 868 | - | |
| 869 | 843 | theorem representations (B N0 : ℕ) |
| 870 | 844 | (hN : ActualCarrierGeometry.geometricThreshold ≤ N0) : |
| 871 | 845 | GluedStageEstimates.ActualRepresentations (runData B N0 hN) (meanCycleInput B N0 hN) |
| @@ -1180,8 +1154,4 @@ theorem selected_witness : | ||
| 1180 | 1154 | witness ActualCandidateConstruction.selectedBudget ActualCandidateConstruction.selectedThreshold |
| 1181 | 1155 | ActualCandidateConstruction.selectedThreshold_geometry |
| 1182 | 1156 | |
| 1183 | -theorem selected_candidate : ProblemStatement.candidateStatement := by | |
| 1184 | - obtain ⟨a, _, ea, eb, ep, forcing, hc, _⟩ := selected_witness | |
| 1185 | - exact ⟨_, _, forcing, hc⟩ | |
| 1186 | - | |
| 1187 | 1157 | end NavierStokes.ActualCandidateAssembly |
+0 −293 NavierStokes/ActualCandidateConstruction.lean View file
| @@ -44,33 +44,12 @@ noncomputable def cycle (B N0 : ℕ) : ℕ → CycleState (Index B N0) := | ||
| 44 | 44 | @[simp] theorem cycle_zero (B N0 : ℕ) : |
| 45 | 45 | cycle B N0 0 = ActualInitialization.initialCycleState B N0 := rfl |
| 46 | 46 | |
| 47 | -theorem cycle_succ (B N0 j : ℕ) : | |
| 48 | - cycle B N0 (j + 1) = (cycle B N0 j).step (parameters B N0) (commonContext B) := rfl | |
| 49 | - | |
| 50 | -theorem cycle_labels (B N0 j : ℕ) : | |
| 51 | - (cycle B N0 j).coefficients.labels = activeLabels standardRegion B N0 := by | |
| 52 | - induction j with | |
| 53 | - | zero => rfl | |
| 54 | - | succ j ih => exact ih | |
| 55 | - | |
| 56 | -theorem cycle_aliasCoefficients (B N0 j : ℕ) : | |
| 57 | - (cycle B N0 j).coefficients.aliasCoefficients = fun _ => 0 := by | |
| 58 | - induction j with | |
| 59 | - | zero => rfl | |
| 60 | - | succ j ih => exact ih | |
| 61 | - | |
| 62 | 47 | theorem cycle_carrier (B N0 j : ℕ) (l : Index B N0) : |
| 63 | 48 | SameCarrier ((cycle B N0 j).coefficients.blocks l) (ActualInitialization.tangentBlock l) := by |
| 64 | 49 | induction j with |
| 65 | 50 | | zero => exact ActualInitialization.primary_tangent_carrier l |
| 66 | 51 | | succ j ih => exact ⟨ih.frequency, ih.phase, ih.angular⟩ |
| 67 | 52 | |
| 68 | -/-- Recomputing the actual constructor at this state selects precisely | |
| 69 | -the fixed parameters used by the recurrence. -/ | |
| 70 | -theorem current_parameters (B N0 j : ℕ) : | |
| 71 | - ActualCycleParameters.parameters (cycle B N0 j) = parameters B N0 := | |
| 72 | - ActualCycleParameters.parameters_eq_fixed _ (cycle_carrier B N0 j) | |
| 73 | - | |
| 74 | 53 | theorem cycle_signed_carrier (B N0 j : ℕ) (l : Index B N0) : |
| 75 | 54 | SameCarrier ((cycle B N0 j).coefficients.blocks l) |
| 76 | 55 | ((parameters B N0).signedBlock (cycle B N0 j).coefficients (commonContext B) |
| @@ -84,22 +63,6 @@ theorem cycle_representation (B N0 j : ℕ) : | ||
| 84 | 63 | (ActualInitialization.initialCycleState B N0) (ActualInitialization.initialCycleState_represents B N0) |
| 85 | 64 | (cycle_signed_carrier B N0) j |
| 86 | 65 | |
| 87 | -theorem cycle_coefficientBands (B N0 j : ℕ) : | |
| 88 | - CoefficientBands (cycle B N0 j).coefficients := | |
| 89 | - CycleState.iterate_bands (parameterSequence B N0) (commonContext B) | |
| 90 | - (ActualInitialization.initialCycleState B N0) (ActualInitialization.coefficients_band B N0) j | |
| 91 | - | |
| 92 | -theorem cycle_residualBand (B N0 j : ℕ) : | |
| 93 | - (cycle B N0 j).coefficients.residualBand = 2 ^ (j + 1) := by | |
| 94 | - induction j with | |
| 95 | - | zero => rfl | |
| 96 | - | succ j ih => | |
| 97 | - change 2 * max (cycle B N0 j).coefficients.residualBand 1 = 2 ^ (j + 1 + 1) | |
| 98 | - have hp : 1 ≤ (2 : ℕ) ^ (j + 1) := Nat.succ_le_iff.mpr (by positivity) | |
| 99 | - rw [ih, max_eq_left hp] | |
| 100 | - simp only [pow_succ] | |
| 101 | - ring | |
| 102 | - | |
| 103 | 66 | theorem cycle_base_error (B N0 j : ℕ) : |
| 104 | 67 | (cycle B N0 j).state.errors.base = ActualInitialization.baseError B := by |
| 105 | 68 | induction j with |
| @@ -110,56 +73,15 @@ theorem cycle_base_error (B N0 j : ℕ) : | ||
| 110 | 73 | rw [CycleParameters.next_base_error] |
| 111 | 74 | exact ih |
| 112 | 75 | |
| 113 | -theorem cycle_reconstructed (B N0 j : ℕ) : | |
| 114 | - (VariableGaugeMean.reconstructState commonGauge (commonContext B) (cycle B N0 j).state).pressure = | |
| 115 | - (cycle B N0 j).state.pressure := by | |
| 116 | - cases j with | |
| 117 | - | zero => exact congrArg State.pressure (ActualInitialization.initialState_reconstructed B N0) | |
| 118 | - | succ j => | |
| 119 | - exact (parameters B N0).next_reconstructed (cycle B N0 j).coefficients | |
| 120 | - (commonContext B) (cycle B N0 j).state | |
| 121 | - | |
| 122 | -noncomputable def initialTemporalAlias (B N0 : ℕ) : Oscillation Point := | |
| 123 | - VariableGaugeMean.temporalAliasState commonGauge h (CorrectionInitialization.CommonWindow.index h) | |
| 124 | - (commonContext B) (ActualInitialization.primaryState B N0) | |
| 125 | - | |
| 126 | -noncomputable def temporalAlias (B N0 j : ℕ) : Oscillation Point := | |
| 127 | - CycleStateCoherence.temporalAliasAt (parameterSequence B N0) (commonContext B) | |
| 128 | - (ActualInitialization.initialCycleState B N0) j | |
| 129 | - | |
| 130 | -/-- Every earlier temporal alias and exactly the current pressure alias | |
| 131 | -remain present, with the signs inherited from the actual state updates. -/ | |
| 132 | -theorem cycle_alias_error (B N0 J : ℕ) : | |
| 133 | - (cycle B N0 J).state.errors.aliasError = initialTemporalAlias B N0 + | |
| 134 | - (∑ j ∈ Finset.range J, temporalAlias B N0 j) + | |
| 135 | - VariableGaugeMean.pressureAliasState commonGauge (commonContext B) (cycle B N0 J).state := by | |
| 136 | - apply CycleStateCoherence.iterate_alias_separated (parameterSequence B N0) (commonContext B) | |
| 137 | - (ActualInitialization.initialCycleState B N0) commonGauge (fun _ => rfl) | |
| 138 | - (initialTemporalAlias B N0) | |
| 139 | - exact (ActualInitialization.initialState_error_components B N0).2.2 | |
| 140 | - | |
| 141 | 76 | /-- One positive band floor is retained for every physical stage. -/ |
| 142 | 77 | noncomputable def firstBand (B N0 : ℕ) : ℕ := max 4 (ActualCycleParameters.bandFloor B N0) |
| 143 | 78 | |
| 144 | 79 | theorem firstBand_four (B N0 : ℕ) : 4 ≤ firstBand B N0 := le_max_left _ _ |
| 145 | 80 | |
| 146 | -theorem firstBand_pos (B N0 : ℕ) : 1 ≤ firstBand B N0 := | |
| 147 | - (by norm_num : 1 ≤ (4 : ℕ)).trans (firstBand_four B N0) | |
| 148 | - | |
| 149 | -theorem firstBand_ge_choice (B N0 : ℕ) : | |
| 150 | - ActualCycleParameters.bandFloor B N0 ≤ firstBand B N0 := le_max_right _ _ | |
| 151 | - | |
| 152 | -theorem firstBand_ge (B N0 : ℕ) : N0 ≤ firstBand B N0 := | |
| 153 | - (ActualCycleParameters.bandFloor_ge B N0).trans (firstBand_ge_choice B N0) | |
| 154 | - | |
| 155 | 81 | noncomputable def qbig (B N0 : ℕ) : ℝ := ChartScales.Q (firstBand B N0) |
| 156 | 82 | |
| 157 | 83 | theorem qbig_pos (B N0 : ℕ) : 0 < qbig B N0 := ChartScales.Q_pos _ |
| 158 | 84 | |
| 159 | -theorem qbig_le_choice (B N0 : ℕ) : | |
| 160 | - qbig B N0 ≤ ChartScales.Q (ActualCycleParameters.bandFloor B N0) := | |
| 161 | - ActualPrimaryCovariance.Q_antitone (firstBand_ge_choice B N0) | |
| 162 | - | |
| 163 | 85 | /-- One extra comparison band keeps every native point with `q/Q < 2` |
| 164 | 86 | inside the original raw field's validity domain. -/ |
| 165 | 87 | noncomputable def residualBand (B N0 : ℕ) : ℕ := firstBand B N0 + 1 |
| @@ -177,29 +99,9 @@ theorem twice_residual_scale (B N0 : ℕ) : | ||
| 177 | 99 | Real.rpow_add (by norm_num : (0 : ℝ) < 2), Real.rpow_neg_one] |
| 178 | 100 | ring |
| 179 | 101 | |
| 180 | -theorem nativeScale_lt_qbig (B N0 n : ℕ) (hn : residualBand B N0 ≤ n) | |
| 181 | - {r : ℝ} (hr : r < 2) : ChartScales.Q n * r < qbig B N0 := by | |
| 182 | - calc | |
| 183 | - ChartScales.Q n * r < ChartScales.Q n * 2 := | |
| 184 | - mul_lt_mul_of_pos_left hr (ChartScales.Q_pos n) | |
| 185 | - _ ≤ ChartScales.Q (residualBand B N0) * 2 := | |
| 186 | - mul_le_mul_of_nonneg_right (ActualPrimaryCovariance.Q_antitone hn) (by norm_num) | |
| 187 | - _ = qbig B N0 := by rw [mul_comm, twice_residual_scale] | |
| 188 | - | |
| 189 | 102 | noncomputable def physicalDomain (B N0 : ℕ) : Set SpaceTime := |
| 190 | 103 | CutStageEstimates.physicalSublevel h (qbig B N0) |
| 191 | 104 | |
| 192 | -theorem physicalDomain_open (B N0 : ℕ) : IsOpen (physicalDomain B N0) := | |
| 193 | - CutStageEstimates.physicalSublevel_open outgoing.data.h_pos outgoing.data.h_lt_half _ | |
| 194 | - | |
| 195 | -theorem initial_invariant (B N0 : ℕ) : | |
| 196 | - CycleAnalyticInvariant ActualInitialization.geometry (commonContext B) | |
| 197 | - (ActualInitialization.tangentBlock (B := B) (N0 := N0)) | |
| 198 | - ActualInitialization.envelope ActualInitialization.labelCarrier | |
| 199 | - (ActualIterationLedger.sigma 0) (cycle B N0 0) := by | |
| 200 | - simp only [ActualIterationLedger.sigma_zero] | |
| 201 | - exact ActualInitialization.initial_invariant B N0 | |
| 202 | - | |
| 203 | 105 | /-! ## One selected initialization -/ |
| 204 | 106 | |
| 205 | 107 | noncomputable def selectedBudget : ℕ := 0 |
| @@ -209,24 +111,8 @@ noncomputable def selectedThreshold : ℕ := ActualCarrierGeometry.startingThres | ||
| 209 | 111 | theorem selectedThreshold_geometry : ActualCarrierGeometry.geometricThreshold ≤ selectedThreshold := |
| 210 | 112 | ActualCarrierGeometry.geometricThreshold_le_startingThreshold 0 |
| 211 | 113 | |
| 212 | -noncomputable def selectedCycle : ℕ → CycleState (Index selectedBudget selectedThreshold) := | |
| 213 | - cycle selectedBudget selectedThreshold | |
| 214 | - | |
| 215 | 114 | noncomputable def selectedQbig : ℝ := qbig selectedBudget selectedThreshold |
| 216 | 115 | |
| 217 | -theorem selectedQbig_pos : 0 < selectedQbig := qbig_pos _ _ | |
| 218 | - | |
| 219 | -theorem selected_initial_invariant : | |
| 220 | - CycleAnalyticInvariant ActualInitialization.geometry (commonContext selectedBudget) | |
| 221 | - (ActualInitialization.tangentBlock (B := selectedBudget) (N0 := selectedThreshold)) | |
| 222 | - ActualInitialization.envelope ActualInitialization.labelCarrier | |
| 223 | - (ActualIterationLedger.sigma 0) (selectedCycle 0) := initial_invariant _ _ | |
| 224 | - | |
| 225 | -theorem selected_initial_meanHypotheses : | |
| 226 | - LiftedMeanResidual.MeanHypotheses ActualInitialMeanEquation.strip.domain | |
| 227 | - (commonContext selectedBudget) (selectedCycle 0).state := | |
| 228 | - ActualInitialMeanEquation.initialized_meanHypotheses _ _ | |
| 229 | - | |
| 230 | 116 | /-! ## Exact finite physical prefixes in any valid polar chart -/ |
| 231 | 117 | |
| 232 | 118 | noncomputable def graph (n : ℕ) : PhysicalResidualBridge.ScaledGraph := |
| @@ -235,16 +121,6 @@ noncomputable def graph (n : ℕ) : PhysicalResidualBridge.ScaledGraph := | ||
| 235 | 121 | noncomputable def basePressure (B n : ℕ) : Full → ℝ := |
| 236 | 122 | ActualBaseResidual.basePressure certificate modulation upper B n |
| 237 | 123 | |
| 238 | -noncomputable def chartVelocity (B N0 : ℕ) (a : ℝ) (i : PolarCharts.Index) (n j : ℕ) : VelocityField := | |
| 239 | - CyclePhysicalPrefixes.velocity a i (graph n) n (commonContext B) (cycle B N0 j).state | |
| 240 | - | |
| 241 | -noncomputable def chartPressure (B N0 : ℕ) (a : ℝ) (i : PolarCharts.Index) (n j : ℕ) : PressureField := | |
| 242 | - CyclePhysicalPrefixes.pressure a i (graph n) n (basePressure B n) (cycle B N0 j).state | |
| 243 | - | |
| 244 | -noncomputable def chartVelocityStages (B N0 : ℕ) (a : ℝ) (i : PolarCharts.Index) (n : ℕ) : ℕ → VelocityField := | |
| 245 | - CyclePhysicalPrefixes.velocityStages (parameterSequence B N0) (commonContext B) | |
| 246 | - (ActualInitialization.initialCycleState B N0) a i (graph n) n | |
| 247 | - | |
| 248 | 124 | noncomputable def chartPressureStages (B N0 : ℕ) (a : ℝ) (i : PolarCharts.Index) (n : ℕ) : ℕ → PressureField := |
| 249 | 125 | CyclePhysicalPrefixes.pressureStages (parameterSequence B N0) (commonContext B) |
| 250 | 126 | (ActualInitialization.initialCycleState B N0) a i (graph n) n (basePressure B n) |
| @@ -257,94 +133,10 @@ noncomputable def chartDirectStages (B N0 : ℕ) (a : ℝ) (i : PolarCharts.Inde | ||
| 257 | 133 | CyclePhysicalPrefixes.directStages (parameterSequence B N0) (commonContext B) |
| 258 | 134 | (ActualInitialization.initialCycleState B N0) a i (graph n) n |
| 259 | 135 | |
| 260 | -theorem chart_velocity_prefix (B N0 : ℕ) (a : ℝ) (i : PolarCharts.Index) (n J : ℕ) : | |
| 261 | - DiagonalJetBounds.uncutPrefix (chartVelocityStages B N0 a i n) (J + 1) = | |
| 262 | - chartVelocity B N0 a i n J := | |
| 263 | - CyclePhysicalPrefixes.velocity_prefix (parameterSequence B N0) (commonContext B) | |
| 264 | - (ActualInitialization.initialCycleState B N0) a i (graph n) n J | |
| 265 | - | |
| 266 | -theorem chart_pressure_prefix (B N0 : ℕ) (a : ℝ) (i : PolarCharts.Index) (n J : ℕ) : | |
| 267 | - DiagonalJetBounds.uncutPrefix (chartPressureStages B N0 a i n) (J + 1) = | |
| 268 | - chartPressure B N0 a i n J := | |
| 269 | - CyclePhysicalPrefixes.pressure_prefix (parameterSequence B N0) (commonContext B) | |
| 270 | - (ActualInitialization.initialCycleState B N0) a i (graph n) n (basePressure B n) J | |
| 271 | - | |
| 272 | -theorem chart_velocity_split (B N0 : ℕ) (a : ℝ) (i : PolarCharts.Index) (n j : ℕ) : | |
| 273 | - chartVelocityStages B N0 a i n j = | |
| 274 | - chartPotentialParts B N0 a i n j + chartDirectStages B N0 a i n j := | |
| 275 | - CyclePhysicalPrefixes.velocityStages_split (parameterSequence B N0) (commonContext B) | |
| 276 | - (ActualInitialization.initialCycleState B N0) a i (graph n) n j | |
| 277 | - | |
| 278 | 136 | /-! The global physical representatives need only agree with an individual |
| 279 | 137 | chart on its open validity set. Finite summation and the genuine residual |
| 280 | 138 | preserve precisely this local agreement. -/ |
| 281 | 139 | |
| 282 | -theorem uncutPrefix_eqOn {V : Type*} [NormedAddCommGroup V] [NormedSpace ℝ V] | |
| 283 | - {U : Set SpaceTime} {f g : ℕ → SpaceTime → V} | |
| 284 | - (hf : ∀ j, EqOn (f j) (g j) U) (N : ℕ) : | |
| 285 | - EqOn (DiagonalJetBounds.uncutPrefix f N) (DiagonalJetBounds.uncutPrefix g N) U := by | |
| 286 | - intro z hz | |
| 287 | - exact Finset.sum_congr rfl (fun j _ => hf j hz) | |
| 288 | - | |
| 289 | -theorem chart_velocity_of_stage_realizations (B N0 : ℕ) (a : ℝ) | |
| 290 | - (i : PolarCharts.Index) (n : ℕ) {U : Set SpaceTime} (hU : IsOpen U) | |
| 291 | - (AP BP : ℕ → VelocityField) (hA : ∀ k, DifferentiableOn ℝ (AP k) U) | |
| 292 | - (hcurl : ∀ k, EqOn (SpatialCurl.spatialCurl (AP k)) | |
| 293 | - (chartPotentialParts B N0 a i n k) U) | |
| 294 | - (hB : ∀ k, EqOn (BP k) (chartDirectStages B N0 a i n k) U) (J : ℕ) : | |
| 295 | - EqOn (MixedDiagonalResidual.uncutVelocity AP BP J) (chartVelocity B N0 a i n J) U := by | |
| 296 | - intro z hz | |
| 297 | - change SpatialCurl.spatialCurl (DiagonalJetBounds.uncutPrefix AP (J + 1)) z + | |
| 298 | - DiagonalJetBounds.uncutPrefix BP (J + 1) z = _ | |
| 299 | - rw [uncutPrefix_eqOn hB (J + 1) hz] | |
| 300 | - exact CyclePhysicalPrefixes.mixedVelocity_prefix (parameterSequence B N0) (commonContext B) | |
| 301 | - (ActualInitialization.initialCycleState B N0) a i (graph n) n hU AP hA hcurl J hz | |
| 302 | - | |
| 303 | -theorem chart_pressure_of_stage_realizations (B N0 : ℕ) (a : ℝ) | |
| 304 | - (i : PolarCharts.Index) (n : ℕ) {U : Set SpaceTime} (PP : ℕ → PressureField) | |
| 305 | - (hP : ∀ k, EqOn (PP k) (chartPressureStages B N0 a i n k) U) (J : ℕ) : | |
| 306 | - EqOn (DiagonalJetBounds.uncutPrefix PP (J + 1)) (chartPressure B N0 a i n J) U := by | |
| 307 | - rw [← chart_pressure_prefix B N0 a i n J] | |
| 308 | - exact uncutPrefix_eqOn hP (J + 1) | |
| 309 | - | |
| 310 | -theorem chart_residual_of_stage_realizations (B N0 : ℕ) (a : ℝ) | |
| 311 | - (i : PolarCharts.Index) (n : ℕ) {U : Set SpaceTime} (hU : IsOpen U) | |
| 312 | - (AP BP : ℕ → VelocityField) (PP : ℕ → PressureField) | |
| 313 | - (hA : ∀ k, DifferentiableOn ℝ (AP k) U) | |
| 314 | - (hcurl : ∀ k, EqOn (SpatialCurl.spatialCurl (AP k)) | |
| 315 | - (chartPotentialParts B N0 a i n k) U) | |
| 316 | - (hB : ∀ k, EqOn (BP k) (chartDirectStages B N0 a i n k) U) | |
| 317 | - (hP : ∀ k, EqOn (PP k) (chartPressureStages B N0 a i n k) U) (J : ℕ) : | |
| 318 | - EqOn (fun z => navierStokesResidual (MixedDiagonalResidual.uncutVelocity AP BP J) | |
| 319 | - (DiagonalJetBounds.uncutPrefix PP (J + 1)) z.1 z.2) | |
| 320 | - (fun z => navierStokesResidual (chartVelocity B N0 a i n J) | |
| 321 | - (chartPressure B N0 a i n J) z.1 z.2) U := by | |
| 322 | - intro z hz | |
| 323 | - apply ResidualRegularity.residual_congr | |
| 324 | - · exact eventually_of_mem (hU.mem_nhds hz) (fun _ hy => | |
| 325 | - chart_velocity_of_stage_realizations B N0 a i n hU AP BP hA hcurl hB J hy) | |
| 326 | - · exact eventually_of_mem (hU.mem_nhds hz) (fun _ hy => | |
| 327 | - chart_pressure_of_stage_realizations B N0 a i n PP hP J hy) | |
| 328 | - | |
| 329 | -theorem chart_residual_jets_of_stage_realizations (B N0 : ℕ) (a : ℝ) | |
| 330 | - (i : PolarCharts.Index) (n : ℕ) {U : Set SpaceTime} (hU : IsOpen U) | |
| 331 | - (AP BP : ℕ → VelocityField) (PP : ℕ → PressureField) | |
| 332 | - (hA : ∀ k, DifferentiableOn ℝ (AP k) U) | |
| 333 | - (hcurl : ∀ k, EqOn (SpatialCurl.spatialCurl (AP k)) | |
| 334 | - (chartPotentialParts B N0 a i n k) U) | |
| 335 | - (hB : ∀ k, EqOn (BP k) (chartDirectStages B N0 a i n k) U) | |
| 336 | - (hP : ∀ k, EqOn (PP k) (chartPressureStages B N0 a i n k) U) (J m : ℕ) : | |
| 337 | - EqOn (iteratedFDeriv ℝ m (fun z => | |
| 338 | - navierStokesResidual (MixedDiagonalResidual.uncutVelocity AP BP J) | |
| 339 | - (DiagonalJetBounds.uncutPrefix PP (J + 1)) z.1 z.2)) | |
| 340 | - (iteratedFDeriv ℝ m (fun z => navierStokesResidual (chartVelocity B N0 a i n J) | |
| 341 | - (chartPressure B N0 a i n J) z.1 z.2)) U := by | |
| 342 | - intro z hz | |
| 343 | - exact (SolenoidalDiagonal.iteratedFDeriv_eventuallyEq | |
| 344 | - (eventually_of_mem (hU.mem_nhds hz) (fun _ hy => | |
| 345 | - chart_residual_of_stage_realizations B N0 a i n hU AP BP PP hA hcurl hB hP J hy)) | |
| 346 | - m).self_of_nhds | |
| 347 | - | |
| 348 | 140 | /-! ## The actual mean fields, with one common physical representative |
| 349 | 141 | |
| 350 | 142 | The selector defining this atlas depends on the physical point and the |
| @@ -365,30 +157,6 @@ noncomputable def meanAngularField (B N0 : ℕ) (degree : ℝ) | ||
| 365 | 157 | fun w => meanField B N0 degree f w • |
| 366 | 158 | PhysicalMeanJetBounds.angularVector (PhysicalGraphBounds.radialProjection w) |
| 367 | 159 | |
| 368 | -theorem meanField_add (B N0 : ℕ) (degree : ℝ) (f g : ActualMeanPhysicalData.Scalar) : | |
| 369 | - meanField B N0 degree (f + g) = meanField B N0 degree f + meanField B N0 degree g := by | |
| 370 | - funext w | |
| 371 | - exact congrFun ((meanAtlas B N0).physical_add standardRegion.carrier degree f g) | |
| 372 | - (PhysicalMeanJetBounds.physicalPoint h w) | |
| 373 | - | |
| 374 | -theorem meanField_sub (B N0 : ℕ) (degree : ℝ) (f g : ActualMeanPhysicalData.Scalar) : | |
| 375 | - meanField B N0 degree (f - g) = meanField B N0 degree f - meanField B N0 degree g := by | |
| 376 | - funext w | |
| 377 | - exact congrFun ((meanAtlas B N0).physical_sub standardRegion.carrier degree f g) | |
| 378 | - (PhysicalMeanJetBounds.physicalPoint h w) | |
| 379 | - | |
| 380 | -theorem meanAngularField_add (B N0 : ℕ) (degree : ℝ) (f g : ActualMeanPhysicalData.Scalar) : | |
| 381 | - meanAngularField B N0 degree (f + g) = | |
| 382 | - meanAngularField B N0 degree f + meanAngularField B N0 degree g := by | |
| 383 | - funext w | |
| 384 | - simp only [meanAngularField, meanField_add, Pi.add_apply, add_smul] | |
| 385 | - | |
| 386 | -theorem meanAngularField_sub (B N0 : ℕ) (degree : ℝ) (f g : ActualMeanPhysicalData.Scalar) : | |
| 387 | - meanAngularField B N0 degree (f - g) = | |
| 388 | - meanAngularField B N0 degree f - meanAngularField B N0 degree g := by | |
| 389 | - funext w | |
| 390 | - simp only [meanAngularField, meanField_sub, Pi.sub_apply, sub_smul] | |
| 391 | - | |
| 392 | 160 | noncomputable def angularNativeStages (B N0 : ℕ) : ℕ → ActualMeanPhysicalData.Scalar := |
| 393 | 161 | fun k => Nat.casesOn k (cycle B N0 0).state.mean.angular |
| 394 | 162 | (fun j => (cycle B N0 (j + 1)).state.mean.angular - (cycle B N0 j).state.mean.angular) |
| @@ -416,40 +184,6 @@ theorem angularNativeStages_succ (B N0 j : ℕ) : | ||
| 416 | 184 | change (_ + _) + _ - _ = _ |
| 417 | 185 | abel |
| 418 | 186 | |
| 419 | -theorem uncutPrefix_succ {V : Type*} [NormedAddCommGroup V] [NormedSpace ℝ V] | |
| 420 | - (f : ℕ → SpaceTime → V) (N : ℕ) : | |
| 421 | - DiagonalJetBounds.uncutPrefix f (N + 1) = DiagonalJetBounds.uncutPrefix f N + f N := by | |
| 422 | - funext w | |
| 423 | - exact Finset.sum_range_succ (fun j => f j w) N | |
| 424 | - | |
| 425 | -theorem angularMeanStages_prefix (B N0 J : ℕ) : | |
| 426 | - DiagonalJetBounds.uncutPrefix (angularMeanStages B N0) (J + 1) = | |
| 427 | - meanAngularField B N0 (CoordinateAlgebra.A h) (cycle B N0 J).state.mean.angular := by | |
| 428 | - induction J with | |
| 429 | - | zero => | |
| 430 | - funext w | |
| 431 | - simp [DiagonalJetBounds.uncutPrefix, angularMeanStages, angularNativeStages] | |
| 432 | - | succ J ih => | |
| 433 | - rw [uncutPrefix_succ, ih] | |
| 434 | - change _ + meanAngularField B N0 (CoordinateAlgebra.A h) | |
| 435 | - ((cycle B N0 (J + 1)).state.mean.angular - (cycle B N0 J).state.mean.angular) = _ | |
| 436 | - rw [meanAngularField_sub] | |
| 437 | - abel | |
| 438 | - | |
| 439 | -theorem pressureMeanStages_prefix (B N0 J : ℕ) : | |
| 440 | - DiagonalJetBounds.uncutPrefix (pressureMeanStages B N0) (J + 1) = | |
| 441 | - meanField B N0 (2 * CoordinateAlgebra.A h) (cycle B N0 J).state.pressure := by | |
| 442 | - induction J with | |
| 443 | - | zero => | |
| 444 | - funext w | |
| 445 | - simp [DiagonalJetBounds.uncutPrefix, pressureMeanStages, pressureNativeStages] | |
| 446 | - | succ J ih => | |
| 447 | - rw [uncutPrefix_succ, ih] | |
| 448 | - change _ + meanField B N0 (2 * CoordinateAlgebra.A h) | |
| 449 | - ((cycle B N0 (J + 1)).state.pressure - (cycle B N0 J).state.pressure) = _ | |
| 450 | - rw [meanField_sub] | |
| 451 | - abel | |
| 452 | - | |
| 453 | 187 | noncomputable def temporalNative (B N0 j : ℕ) : ActualMeanPhysicalData.Scalar := |
| 454 | 188 | VariableGaugeMean.temporalPotential (parameters B N0).gauge (parameters B N0).timeExponent |
| 455 | 189 | (parameters B N0).commonIndex (commonContext B) |
| @@ -484,11 +218,6 @@ theorem pressureMeanStages_zero (B N0 : ℕ) : | ||
| 484 | 218 | abbrev MeanCycleInput (B N0 : ℕ) := |
| 485 | 219 | ActualMeanPhysicalData.InitialCycleInput B N0 (firstBand B N0) (parameterSequence B N0) |
| 486 | 220 | |
| 487 | -theorem parameters_realizes (B N0 j : ℕ) : | |
| 488 | - CycleStateCoherence.Realizes ActualMeanPhysicalData.initialGeometry | |
| 489 | - (parameterSequence B N0 j) (commonContext B) := | |
| 490 | - ActualMeanPhysicalData.initial_realizes B _ _ | |
| 491 | - | |
| 492 | 221 | theorem streamMeanStages_succ {B N0 : ℕ} (H : MeanCycleInput B N0) (j : ℕ) : |
| 493 | 222 | streamMeanStages B N0 (j + 1) = |
| 494 | 223 | ((ActualMeanPhysicalData.initialCycleData H).streamFamily j).angularField := rfl |
| @@ -868,11 +597,6 @@ theorem streamData_field {B N0 : ℕ} (H : MeanCycleInput B N0) (j : ℕ) : | ||
| 868 | 597 | theorem meanStreamSupport_field {B N0 : ℕ} (H : MeanCycleInput B N0) (j : ℕ) : |
| 869 | 598 | (meanStreamSupport H j).field = streamMeanStages B N0 j := streamData_field H j |
| 870 | 599 | |
| 871 | -theorem angularMeanStages_smooth {B N0 : ℕ} (H : MeanCycleInput B N0) (j : ℕ) : | |
| 872 | - ContDiffOn ℝ ∞ (angularMeanStages B N0 j) (physicalDomain B N0) := by | |
| 873 | - rw [← directData_field H j] | |
| 874 | - exact LocalAngularDiagonal.rawSeries_smooth outgoing.data.h_pos outgoing.data.h_lt_half (directData H) j | |
| 875 | - | |
| 876 | 600 | theorem streamMeanStages_smooth {B N0 : ℕ} (H : MeanCycleInput B N0) (j : ℕ) : |
| 877 | 601 | ContDiffOn ℝ ∞ (streamMeanStages B N0 j) (physicalDomain B N0) := by |
| 878 | 602 | rw [← streamData_field H j] |
| @@ -942,14 +666,6 @@ noncomputable def initialPotentialStage (B N0 : ℕ) | ||
| 942 | 666 | streamCount := 1 |
| 943 | 667 | streams _ := ActualMeanStageData.initialStreamSupport B N0 (firstBand B N0) (qbig B N0) le_rfl |
| 944 | 668 | |
| 945 | -noncomputable def positivePotentialStage {B N0 : ℕ} (H : MeanCycleInput B N0) | |
| 946 | - (j : ℕ) (particular signed : MixedAxisPreservation.CopyPotential.{u} h) : | |
| 947 | - MixedAxisPreservation.PotentialStage.{u} h (MixedAxisPreservation.localDomain h (qbig B N0)) where | |
| 948 | - waveCount := 2 | |
| 949 | - waves := ![particular, signed] | |
| 950 | - streamCount := 1 | |
| 951 | - streams _ := meanStreamSupport H (j + 1) | |
| 952 | - | |
| 953 | 669 | theorem initialPotentialStage_field (B N0 : ℕ) |
| 954 | 670 | (wave : MixedAxisPreservation.CopyPotential.{u} h) : |
| 955 | 671 | (initialPotentialStage B N0 wave).field = wave.field + streamMeanStages B N0 0 := by |
| @@ -960,13 +676,4 @@ theorem initialPotentialStage_field (B N0 : ℕ) | ||
| 960 | 676 | simp [streamMeanStages_zero] |
| 961 | 677 | erw [ActualMeanStageData.initialStreamSupport_field] |
| 962 | 678 | |
| 963 | -theorem positivePotentialStage_field {B N0 : ℕ} (H : MeanCycleInput B N0) | |
| 964 | - (j : ℕ) (particular signed : MixedAxisPreservation.CopyPotential.{u} h) : | |
| 965 | - (positivePotentialStage H j particular signed).field = | |
| 966 | - particular.field + signed.field + streamMeanStages B N0 (j + 1) := by | |
| 967 | - funext w | |
| 968 | - change (∑ i : Fin 2, (![particular, signed] i).field w) + | |
| 969 | - (∑ _ : Fin 1, (meanStreamSupport H (j + 1)).field w) = _ | |
| 970 | - simp [Fin.sum_univ_two, meanStreamSupport_field] | |
| 971 | - | |
| 972 | 679 | end NavierStokes.ActualCandidateConstruction |
+0 −17 NavierStokes/ActualCarrierGeometry.lean View file
| @@ -33,16 +33,9 @@ noncomputable def geometricThreshold : ℕ := | ||
| 33 | 33 | before selecting `ActualPrimary.choice`. -/ |
| 34 | 34 | noncomputable def startingThreshold (requested : ℕ) : ℕ := max requested geometricThreshold |
| 35 | 35 | |
| 36 | -theorem requested_le_startingThreshold (requested : ℕ) : requested ≤ startingThreshold requested := | |
| 37 | - le_max_left _ _ | |
| 38 | - | |
| 39 | 36 | theorem geometricThreshold_le_startingThreshold (requested : ℕ) : |
| 40 | 37 | geometricThreshold ≤ startingThreshold requested := le_max_right _ _ |
| 41 | 38 | |
| 42 | -theorem startingThreshold_le_prepared (B requested : ℕ) : | |
| 43 | - startingThreshold requested ≤ (choice B (startingThreshold requested)).prepared.N := | |
| 44 | - ActualPrimary.threshold B (startingThreshold requested) | |
| 45 | - | |
| 46 | 39 | section Cells |
| 47 | 40 | |
| 48 | 41 | variable {B N0 : ℕ} |
| @@ -286,16 +279,6 @@ theorem signedLabel_injective : Function.Injective | ||
| 286 | 279 | have he' := ActualPrimaryCovariance.signedLabelOf_injective he |
| 287 | 280 | exact Prod.ext (congrArg Prod.snd he') (congrArg Prod.fst he') |
| 288 | 281 | |
| 289 | -theorem labelCarrier_window_card (hN : geometricThreshold ≤ N0) | |
| 290 | - (n : ℕ) {x : Point} | |
| 291 | - (hx : x ∈ (BaseContextAssembly.nativeStrip nominal standardRegion).domain) | |
| 292 | - (s : Finset (ActualPrimaryBounds.SignedLabel B N0)) | |
| 293 | - (hs : ∀ l ∈ s, x ∈ ActualInitialExcluded.labelCarrier l n) : s.card ≤ 2250 := by | |
| 294 | - apply LabelSumBounds.window_card_le s | |
| 295 | - (fun l => ActualPrimaryCovariance.signedLabelOf (l.2, l.1)) signedLabel_injective.injOn | |
| 296 | - intro l hl | |
| 297 | - exact ⟨l.2.val.property.1, labelCarrier_window hN l n hx (hs l hl)⟩ | |
| 298 | - | |
| 299 | 282 | end Windows |
| 300 | 283 | |
| 301 | 284 | section Separation |
+0 −22 NavierStokes/ActualCarrierTransport.lean View file
| @@ -35,32 +35,10 @@ variable {B N0 : ℕ} | ||
| 35 | 35 | @[simp] theorem labelCarrier_eq (l : Index B N0) (n : ℕ) : |
| 36 | 36 | ActualCarrierTransportBase.labelCarrier l n = ActualInitialization.labelCarrier l n := rfl |
| 37 | 37 | |
| 38 | -theorem canonical_geometry (l : Index B N0) (n : ℕ) : | |
| 39 | - (ActualParticularStageControls.canonicalParameters (l.2,l.1)).geometry n = | |
| 40 | - geometry l n := rfl | |
| 41 | - | |
| 42 | -theorem canonical_length (l : Index B N0) (n : ℕ) : | |
| 43 | - (ActualParticularStageControls.canonicalParameters (l.2,l.1)).length n = | |
| 44 | - referenceLength l / clock l n := rfl | |
| 45 | - | |
| 46 | 38 | theorem canonical_cutoff (l : Index B N0) (n : ℕ) : |
| 47 | 39 | (ActualParticularStageControls.canonicalParameters (l.2,l.1)).cutoff n = |
| 48 | 40 | ActualGaussianCoverage.nativeCutoff slots.radius (referenceLength l) |
| 49 | 41 | slots.radius_pos (referenceLength_pos l) (clock l n) := |
| 50 | 42 | ActualCarrierTransportBase.cutoff_eq_native l n |
| 51 | 43 | |
| 52 | -theorem fixed_geometry (l : Index B N0) (n : ℕ) : | |
| 53 | - ((ActualCycleParameters.fixedParameters B N0).particular l).geometry n = | |
| 54 | - geometry l n := rfl | |
| 55 | - | |
| 56 | -theorem fixed_length (l : Index B N0) (n : ℕ) : | |
| 57 | - ((ActualCycleParameters.fixedParameters B N0).particular l).length n = | |
| 58 | - referenceLength l / clock l n := rfl | |
| 59 | - | |
| 60 | -theorem fixed_cutoff (l : Index B N0) (n : ℕ) : | |
| 61 | - ((ActualCycleParameters.fixedParameters B N0).particular l).cutoff n = | |
| 62 | - ActualGaussianCoverage.nativeCutoff slots.radius (referenceLength l) | |
| 63 | - slots.radius_pos (referenceLength_pos l) (clock l n) := | |
| 64 | - canonical_cutoff l n | |
| 65 | - | |
| 66 | 44 | end NavierStokes.ActualCarrierTransport |
+0 −12 NavierStokes/ActualCoreSupport.lean View file
| @@ -48,11 +48,6 @@ theorem refinedCarrier_subset_broad {B N0 : ℕ} (l : Index B N0) (n : ℕ) : | ||
| 48 | 48 | refinedCarrier l n ⊆ ActualInitialization.labelCarrier l n := |
| 49 | 49 | closure_minimal (fun _ hx => hx.2.1) (ActualInitialization.labelCarrier_closed l n) |
| 50 | 50 | |
| 51 | -theorem refinedCarrier_nonnegative_time {B N0 : ℕ} (l : Index B N0) (n : ℕ) : | |
| 52 | - refinedCarrier l n ⊆ {x : Point | 0 ≤ x.2.1.1} := | |
| 53 | - closure_minimal (fun _ hx => hx.1.le) | |
| 54 | - (isClosed_le continuous_const continuous_snd.fst.fst) | |
| 55 | - | |
| 56 | 51 | theorem radialRatio_continuousAt {x : Point} (hT : 0 < x.2.1.1) : |
| 57 | 52 | ContinuousAt radialRatio x := by |
| 58 | 53 | have hh : 0 < 2 * ActualPrimary.h := by linarith [ActualPrimary.outgoing.data.h_pos] |
| @@ -108,13 +103,6 @@ theorem mem_refinedCarrier_of_mem {B N0 : ℕ} (l : Index B N0) (n : ℕ) | ||
| 108 | 103 | (hq : nativeQ l n x ∈ Icc (1 / 2 : ℝ) 2) : x ∈ refinedCarrier l n := |
| 109 | 104 | (mem_refinedCarrier_iff l n hT).2 ⟨hb, hr, hq⟩ |
| 110 | 105 | |
| 111 | -theorem radialRatio_fast (x : Point) (Y : TorusInverse.Plane) : | |
| 112 | - radialRatio (x.1, (x.2.1, Y)) = radialRatio x := rfl | |
| 113 | - | |
| 114 | -theorem nativeQ_fast {B N0 : ℕ} (l : Index B N0) (n : ℕ) | |
| 115 | - (x : Point) (Y : TorusInverse.Plane) : | |
| 116 | - nativeQ l n (x.1, (x.2.1, Y)) = nativeQ l n x := rfl | |
| 117 | - | |
| 118 | 106 | section ActualCutoffs |
| 119 | 107 | |
| 120 | 108 | variable {B N0 : ℕ} |
+0 −55 NavierStokes/ActualCurrentCarrierJets.lean View file
| @@ -65,9 +65,6 @@ theorem actualCarrier_character | ||
| 65 | 65 | rw [actualCarrier_phase b hb j l n, ActualParticularBackground.carrier_frequency b hb j l] |
| 66 | 66 | exact harmonic_carrier_eq l n j |
| 67 | 67 | |
| 68 | -theorem paddedCell_eq_phaseCell (n : ℕ) (i : ActualPhaseJetBounds.CopyIndex B N0) : | |
| 69 | - ParticularPaddedBackground.paddedCell n i = ActualPhaseJetBounds.phaseCell n i := rfl | |
| 70 | - | |
| 71 | 68 | theorem mem_cells_iff (n : ℕ) (i : ActualPhaseJetBounds.CopyIndex B N0) (z : Native) : |
| 72 | 69 | z ∈ ParticularPaddedBackground.cells n i ↔ |
| 73 | 70 | ActualParticularBackground.nativeToFull z ∈ ActualPhaseJetBounds.phaseCell n i := Iff.rfl |
| @@ -121,17 +118,6 @@ theorem weightedPhase_smoothNear {n : ℕ} {i : ActualPhaseJetBounds.CopyIndex B | ||
| 121 | 118 | hf.comp ActualParticularBackground.nativeToFull.toContinuousLinearEquiv.contDiff.contDiffOn |
| 122 | 119 | (fun _ hy => hy)⟩ |
| 123 | 120 | |
| 124 | -theorem phase_smoothNear {n : ℕ} {i : ActualPhaseJetBounds.CopyIndex B N0} | |
| 125 | - {z : Native} (hz : z ∈ ParticularPaddedBackground.cells n i) : | |
| 126 | - LocalPhysicalCopyBounds.SmoothNear (phase i.1 n) z := by | |
| 127 | - obtain ⟨U, hU, hx, hf⟩ := weightedPhase_smoothNear hz | |
| 128 | - have hk : (ChartScales.carrier ActualPrimary.h n : ℝ) ≠ 0 := | |
| 129 | - (ActualPrimary.chartCoefficients_frequency_pos i.1.1 i.1.2 n).ne' | |
| 130 | - refine ⟨U, hU, hx, (hf.div_const (ChartScales.carrier ActualPrimary.h n : ℝ)).congr ?_⟩ | |
| 131 | - intro y _ | |
| 132 | - rw [weightedPhase_eq] | |
| 133 | - field_simp [hk] | |
| 134 | - | |
| 135 | 121 | /-- Constants are chosen before the active label, band, copy, point, and |
| 136 | 122 | positive derivative order. Reindexing is an isometry and adds no loss. -/ |
| 137 | 123 | theorem weightedPhase_positive_jets (m : ℕ) : |
| @@ -147,31 +133,6 @@ theorem weightedPhase_positive_jets (m : ℕ) : | ||
| 147 | 133 | rw [StateReindex.norm_iteratedFDeriv_pull] |
| 148 | 134 | exact hb n i _ ((mem_cells_iff n i z).mp hz) r hr hrm |
| 149 | 135 | |
| 150 | -theorem phase_positive_jets (m : ℕ) : | |
| 151 | - ∃ C : ℝ, 1 ≤ C ∧ ∃ p : ℕ, ∀ n (i : ActualPhaseJetBounds.CopyIndex B N0) z, | |
| 152 | - z ∈ ParticularPaddedBackground.cells n i → ∀ r, 1 ≤ r → r ≤ m → | |
| 153 | - ‖iteratedFDeriv ℝ r (phase i.1 n) z‖ ≤ | |
| 154 | - C * ChartScales.S n ^ p * ChartScales.Q n ^ (-(2 * ActualPrimary.h)) := by | |
| 155 | - obtain ⟨C,hC,p,hb⟩ := ActualPhaseJetBounds.phase_positive_jets (B := B) (N0 := N0) m | |
| 156 | - refine ⟨C,hC,p,?_⟩ | |
| 157 | - intro n i z hz r hr hrm | |
| 158 | - change ‖iteratedFDeriv ℝ r (fun y => (ActualPrimary.chartCoefficients i.1.1 i.1.2).phase n | |
| 159 | - (ActualParticularBackground.nativeToFull y)) z‖ ≤ _ | |
| 160 | - rw [StateReindex.norm_iteratedFDeriv_pull] | |
| 161 | - exact hb n i _ ((mem_cells_iff n i z).mp hz) r hr hrm | |
| 162 | - | |
| 163 | -/-- The displayed physical loss is exactly two inverse powers of epsilon. -/ | |
| 164 | -theorem weightedPhase_positive_jets_epsilon (m : ℕ) : | |
| 165 | - ∃ C : ℝ, 1 ≤ C ∧ ∃ p : ℕ, ∀ n (i : ActualPhaseJetBounds.CopyIndex B N0) z, | |
| 166 | - z ∈ ParticularPaddedBackground.cells n i → ∀ r, 1 ≤ r → r ≤ m → | |
| 167 | - ‖iteratedFDeriv ℝ r (weightedPhase i.1 n) z‖ ≤ | |
| 168 | - C * ChartScales.S n ^ p * (ChartScales.epsilon ActualPrimary.h n)⁻¹ ^ 2 := by | |
| 169 | - obtain ⟨C,hC,p,hb⟩ := weightedPhase_positive_jets (B := B) (N0 := N0) m | |
| 170 | - refine ⟨C,hC,p,?_⟩ | |
| 171 | - intro n i z hz r hr hrm | |
| 172 | - rw [ActualPhaseJetBounds.inverse_epsilon_sq] | |
| 173 | - exact hb n i z hz r hr hrm | |
| 174 | - | |
| 175 | 136 | theorem weightedPhase_smoothNear_controlPatch (l : Label B N0) (n : ℕ) |
| 176 | 137 | (k : TorusInverse.Frequency) {z : Native} |
| 177 | 138 | (hz : z ∈ ActualParticularStageControls.controlPatch l n k) : |
| @@ -179,13 +140,6 @@ theorem weightedPhase_smoothNear_controlPatch (l : Label B N0) (n : ℕ) | ||
| 179 | 140 | weightedPhase_smoothNear (n := n) (i := (l,k)) (z := z) |
| 180 | 141 | (ActualParticularStageControls.controlPatch_subset_padded l n k hz) |
| 181 | 142 | |
| 182 | -theorem phase_smoothNear_controlPatch (l : Label B N0) (n : ℕ) | |
| 183 | - (k : TorusInverse.Frequency) {z : Native} | |
| 184 | - (hz : z ∈ ActualParticularStageControls.controlPatch l n k) : | |
| 185 | - LocalPhysicalCopyBounds.SmoothNear (phase l n) z := | |
| 186 | - phase_smoothNear (n := n) (i := (l,k)) (z := z) | |
| 187 | - (ActualParticularStageControls.controlPatch_subset_padded l n k hz) | |
| 188 | - | |
| 189 | 143 | /-- The quantitative statement on the actual retained current-copy cells. |
| 190 | 144 | The cell hypothesis already supplies activeness; no native-band interior |
| 191 | 145 | or separate phase-jet assumption is added. -/ |
| @@ -198,13 +152,4 @@ theorem weightedPhase_positive_jets_controlPatch (m : ℕ) : | ||
| 198 | 152 | exact ⟨C,hC,p,fun l n k z hz r hr hrm => |
| 199 | 153 | hb n (l,k) z (ActualParticularStageControls.controlPatch_subset_padded l n k hz) r hr hrm⟩ |
| 200 | 154 | |
| 201 | -theorem phase_positive_jets_controlPatch (m : ℕ) : | |
| 202 | - ∃ C : ℝ, 1 ≤ C ∧ ∃ p : ℕ, ∀ (l : Label B N0) n k z, | |
| 203 | - z ∈ ActualParticularStageControls.controlPatch l n k → ∀ r, 1 ≤ r → r ≤ m → | |
| 204 | - ‖iteratedFDeriv ℝ r (phase l n) z‖ ≤ | |
| 205 | - C * ChartScales.S n ^ p * ChartScales.Q n ^ (-(2 * ActualPrimary.h)) := by | |
| 206 | - obtain ⟨C,hC,p,hb⟩ := phase_positive_jets (B := B) (N0 := N0) m | |
| 207 | - exact ⟨C,hC,p,fun l n k z hz r hr hrm => | |
| 208 | - hb n (l,k) z (ActualParticularStageControls.controlPatch_subset_padded l n k hz) r hr hrm⟩ | |
| 209 | - | |
| 210 | 155 | end NavierStokes.ActualCurrentCarrierJets |
+0 −7 NavierStokes/ActualCurrentParticularAssembly.lean View file
| @@ -48,13 +48,6 @@ theorem localPressure_eq_sum (x : CycleState (ActualInitialization.Index B N0)) | ||
| 48 | 48 | Equiv.symm_symm, Finset.sum_map, Equiv.toEmbedding_apply, |
| 49 | 49 | ActualCycleParameters.swap_apply] |
| 50 | 50 | |
| 51 | -theorem nativeMode_eq (x : CycleState (ActualInitialization.Index B N0)) | |
| 52 | - (l : ActualInitialization.Index B N0) (j : ℤ) (n : ℕ) | |
| 53 | - (z : PhysicalResidualBridge.Cylinder) (k : Fin 3) : | |
| 54 | - ActualParticularCycleData.nativeMode x l j n z k = | |
| 55 | - (nativeVelocity (ActualCycleParameters.particularState x) (l.2,l.1) j n | |
| 56 | - (ActualWaveRegularity.particularChart z) k).re := rfl | |
| 57 | - | |
| 58 | 51 | theorem particularVelocity_eq_sum {x : CycleState (ActualInitialization.Index B N0)} {σ : ℝ} |
| 59 | 52 | (H : ActualParticularCycleData.Invariant σ x) (n : ℕ) |
| 60 | 53 | (z : PhysicalResidualBridge.Cylinder) (k : Fin 3) : |
+0 −114 NavierStokes/ActualCurrentParticularBounds.lean View file
| @@ -300,32 +300,6 @@ theorem character_comp_positive_jets {Φ : E → ℝ} (hΦ : ContDiff ℝ ∞ Φ | ||
| 300 | 300 | |
| 301 | 301 | variable [FiniteDimensional ℝ E] |
| 302 | 302 | |
| 303 | -theorem mode_jet_bound_local {a : E → ℂ} {Φ : E → ℝ} {x : E} | |
| 304 | - (ha : LocalPhysicalCopyBounds.SmoothNear a x) | |
| 305 | - (hΦ : LocalPhysicalCopyBounds.SmoothNear Φ x) | |
| 306 | - (m : ℕ) {c A B M : ℝ} (hA : 0 ≤ A) (hB : 1 ≤ B) (hM : 1 ≤ M) (hc : |c| ≤ M) | |
| 307 | - (hab : ∀ i ≤ m, ‖iteratedFDeriv ℝ i a x‖ ≤ A) | |
| 308 | - (hΦb : ∀ i, 1 ≤ i → i ≤ m → ‖iteratedFDeriv ℝ i Φ x‖ ≤ B) : | |
| 309 | - ∀ k ≤ m, ‖iteratedFDeriv ℝ k | |
| 310 | - (fun y => a y * PhysicalGraphBounds.character c (Φ y)) x‖ ≤ | |
| 311 | - (2 : ℝ) ^ m * A * ((m.factorial : ℝ) * M ^ m * B ^ m) := by | |
| 312 | - obtain ⟨a', ha', hea⟩ := ha.exists_global_germ | |
| 313 | - obtain ⟨Φ', hΦ', heΦ⟩ := hΦ.exists_global_germ | |
| 314 | - have hprod : (fun y => a y * PhysicalGraphBounds.character c (Φ y)) =ᶠ[𝓝 x] | |
| 315 | - (fun y => a' y * PhysicalGraphBounds.character c (Φ' y)) := by | |
| 316 | - filter_upwards [hea, heΦ] with y hay hφy | |
| 317 | - rw [hay, hφy] | |
| 318 | - have hφbound := character_comp_positive_jets hΦ' x m hB hM hc (by | |
| 319 | - intro i hi him | |
| 320 | - rw [← PhysicalWaveSum.iteratedFDeriv_eq_of_eventuallyEq heΦ i] | |
| 321 | - exact hΦb i hi him) | |
| 322 | - intro k hk | |
| 323 | - rw [PhysicalWaveSum.iteratedFDeriv_eq_of_eventuallyEq hprod k] | |
| 324 | - exact PhysicalGraphBounds.pointwise_product_jet_bound ha' | |
| 325 | - ((PhysicalGraphBounds.character_smooth c).comp hΦ') x hk hA (by positivity) | |
| 326 | - (by intro i hi; rw [← PhysicalWaveSum.iteratedFDeriv_eq_of_eventuallyEq hea i]; exact hab i hi) | |
| 327 | - hφbound | |
| 328 | - | |
| 329 | 303 | theorem smul_mode_jet_bound_local {V : Type*} [NormedAddCommGroup V] |
| 330 | 304 | [NormedSpace ℝ V] [NormedSpace ℂ V] [IsScalarTower ℝ ℂ V] |
| 331 | 305 | {a : E → V} {Φ : E → ℝ} {x : E} |
| @@ -374,17 +348,6 @@ theorem smul_mode_jet_bound_local {V : Type*} [NormedAddCommGroup V] | ||
| 374 | 348 | (pow_le_pow_right₀ (by norm_num) hk) hD) hA |
| 375 | 349 | _ = _ := by dsimp [D]; ring |
| 376 | 350 | |
| 377 | -omit [FiniteDimensional ℝ E] in | |
| 378 | -theorem smoothNear_mode {a : E → ℂ} {Φ : E → ℝ} {x : E} | |
| 379 | - (ha : LocalPhysicalCopyBounds.SmoothNear a x) | |
| 380 | - (hΦ : LocalPhysicalCopyBounds.SmoothNear Φ x) (c : ℝ) : | |
| 381 | - LocalPhysicalCopyBounds.SmoothNear (fun y => a y * PhysicalGraphBounds.character c (Φ y)) x := by | |
| 382 | - obtain ⟨U, hU, hxU, haU⟩ := ha | |
| 383 | - obtain ⟨V, hV, hxV, hΦV⟩ := hΦ | |
| 384 | - exact ⟨U ∩ V, hU.inter hV, ⟨hxU, hxV⟩, | |
| 385 | - (haU.mono inter_subset_left).mul | |
| 386 | - ((PhysicalGraphBounds.character_smooth c).comp_contDiffOn (hΦV.mono inter_subset_right))⟩ | |
| 387 | - | |
| 388 | 351 | end Carrier |
| 389 | 352 | |
| 390 | 353 | /-! ## The current physical graph, with no copy-family premise -/ |
| @@ -570,19 +533,6 @@ theorem actual_native_pressure_bound (x : CycleState (Label B N0)) | ||
| 570 | 533 | (fun l n z hz => (common_control_or_zero x hs hN l j n hz).imp_right And.right) j m |
| 571 | 534 | simpa only [← actual_nativePressure_eq_character x hx] using hb |
| 572 | 535 | |
| 573 | -theorem actual_native_potential_smoothNear (x : CycleState (Label B N0)) | |
| 574 | - (hx : ActualParticularStageControls.PreservesCarriers x) | |
| 575 | - (hs : ActualParticularStageControls.InputSupport x) | |
| 576 | - (hN : ActualCarrierGeometry.geometricThreshold ≤ N0) | |
| 577 | - {α : ℝ} (j : ℤ) (hj : j ≠ 0) | |
| 578 | - (H : LabelSumBounds.UniformWaveClass nativeStrip ActualParticularStageControls.nativeEnvelope | |
| 579 | - α (ActualParticularStageControls.currentSource x j)) | |
| 580 | - (l : Label B N0) (n : ℕ) {z : Native} (hz : z ∈ nativeStrip.domain) : | |
| 581 | - LocalPhysicalCopyBounds.SmoothNear (ActualCurrentParticularPhysical.nativePotential x l j n) z := by | |
| 582 | - rw [actual_nativePotential_eq_character x hx] | |
| 583 | - exact native_modulated_smoothNear (actual_potential_coefficient_class x hx hs hN j hj H) | |
| 584 | - (fun l n z hz => (common_control_or_zero x hs hN l j n hz).imp_right And.left) j l n hz | |
| 585 | - | |
| 586 | 536 | theorem actual_native_pressure_smoothNear (x : CycleState (Label B N0)) |
| 587 | 537 | (hx : ActualParticularStageControls.PreservesCarriers x) |
| 588 | 538 | (hs : ActualParticularStageControls.InputSupport x) |
| @@ -790,70 +740,6 @@ theorem vector_chart_physical_bound {h a b : ℝ} | ||
| 790 | 740 | (hm chart _ hdoma f hf _ ha' hfb i hi) (norm_nonneg _) (by norm_num : (0 : ℝ) ≤ 3) |
| 791 | 741 | simpa only [mul_assoc] using hb |
| 792 | 742 | |
| 793 | -/-- A physical estimate for the literal current-band oscillatory formula. | |
| 794 | -The scalar phase may already include the rounded carrier. Its positive | |
| 795 | -derivatives alone are needed, so no bound on the free angular coordinate | |
| 796 | -is introduced. -/ | |
| 797 | -theorem current_mode_physical_bound {h a b : ℝ} | |
| 798 | - (hh : 0 ≤ h) (hh1 : h ≤ 1 / 2) (ha : 0 < a) | |
| 799 | - (Δ m : ℕ) (gain degree ρ A B H : ℝ) (p r : ℕ) | |
| 800 | - (hρ : 0 ≤ ρ) (hA : 0 ≤ A) (hB : 1 ≤ B) (hH : 0 ≤ H) : | |
| 801 | - ∃ C : ℝ, 0 ≤ C ∧ ∀ n : ℕ, 4 ≤ n → ∀ d : ℕ, d ≤ Δ → | |
| 802 | - ∀ w : SpaceTime, PhysicalGraphBounds.scaledRadial n w ∈ PhysicalGraphBounds.annulus a b → | |
| 803 | - |w.1| ≤ 1 → ∀ q : ℝ, 0 < q → q / 2 ≤ ChartScales.Q n → ChartScales.Q n ≤ 2 * q → | |
| 804 | - ∀ (amp : PhysicalWaveSum.LiftPoint → ℂ) (Φ : PhysicalWaveSum.LiftPoint → ℝ) (c : ℝ), | |
| 805 | - |c| ≤ H → | |
| 806 | - LocalPhysicalCopyBounds.SmoothNear amp (PhysicalWaveSum.commonLift h n d w) → | |
| 807 | - LocalPhysicalCopyBounds.SmoothNear Φ (PhysicalWaveSum.commonLift h n d w) → | |
| 808 | - (∀ i ≤ m, ‖iteratedFDeriv ℝ i amp (PhysicalWaveSum.commonLift h n d w)‖ ≤ | |
| 809 | - A * ChartScales.Q n ^ gain * ChartScales.S n ^ p) → | |
| 810 | - (∀ i, 1 ≤ i → i ≤ m → ‖iteratedFDeriv ℝ i Φ (PhysicalWaveSum.commonLift h n d w)‖ ≤ | |
| 811 | - B * ChartScales.Q n ^ (-ρ) * ChartScales.S n ^ r) → | |
| 812 | - ‖iteratedFDeriv ℝ m (fun y => (ChartScales.Q n ^ (-degree)) • | |
| 813 | - (amp (PhysicalWaveSum.commonLift h n d y) * | |
| 814 | - PhysicalGraphBounds.character c (Φ (PhysicalWaveSum.commonLift h n d y)))) w‖ ≤ | |
| 815 | - C * q ^ (gain - currentLoss degree ρ m) := by | |
| 816 | - let A' : ℝ := (2 : ℝ) ^ m * A * (m.factorial : ℝ) * (1 + H) ^ m * B ^ m | |
| 817 | - have hA' : 0 ≤ A' := by dsimp [A']; positivity | |
| 818 | - obtain ⟨C, hC, hbound⟩ := PhysicalMeanJetBounds.common_stripped_physical_bound_local (E := ℂ) (b := b) | |
| 819 | - hh hh1 ha Δ m (gain - degree - ρ * m) (p + r * m : ℕ) A' hA' | |
| 820 | - refine ⟨C, hC, ?_⟩ | |
| 821 | - intro n hn d hd w hann ht q hq hlo hhi amp Φ c hc hamp hPhi hab hPhib | |
| 822 | - have hQ := ChartScales.Q_pos n | |
| 823 | - have hS : 1 ≤ ChartScales.S n := PhysicalGraphBounds.S_ge_one (by omega) | |
| 824 | - have hQρ : 1 ≤ ChartScales.Q n ^ (-ρ) := | |
| 825 | - Real.one_le_rpow_of_pos_of_le_one_of_nonpos hQ (ChartScales.Q_le_one n) (neg_nonpos.mpr hρ) | |
| 826 | - have hBPhi : 1 ≤ B * ChartScales.Q n ^ (-ρ) * ChartScales.S n ^ r := | |
| 827 | - one_le_mul_of_one_le_of_one_le (one_le_mul_of_one_le_of_one_le hB hQρ) (one_le_pow₀ hS) | |
| 828 | - have hAc : 0 ≤ A * ChartScales.Q n ^ gain * ChartScales.S n ^ p := by positivity | |
| 829 | - have hc' : |c| ≤ 1 + H := hc.trans (by linarith) | |
| 830 | - have hjets := mode_jet_bound_local hamp hPhi m hAc hBPhi (by linarith : 1 ≤ 1 + H) hc' hab hPhib | |
| 831 | - let F : PhysicalWaveSum.LiftPoint → ℂ := fun y => (ChartScales.Q n ^ (-degree)) • | |
| 832 | - (amp y * PhysicalGraphBounds.character c (Φ y)) | |
| 833 | - have hnear : LocalPhysicalCopyBounds.SmoothNear F (PhysicalWaveSum.commonLift h n d w) := by | |
| 834 | - obtain ⟨V, hV, hxV, hs⟩ := smoothNear_mode hamp hPhi c | |
| 835 | - exact ⟨V, hV, hxV, hs.const_smul _⟩ | |
| 836 | - have hFjets : ∀ i ≤ m, ‖iteratedFDeriv ℝ i F (PhysicalWaveSum.commonLift h n d w)‖ ≤ | |
| 837 | - A' * ChartScales.Q n ^ (gain - degree - ρ * m) * | |
| 838 | - ChartScales.S n ^ ((p + r * m : ℕ) : ℝ) := by | |
| 839 | - intro i hi | |
| 840 | - have hcDiff := (smoothNear_mode hamp hPhi c).contDiffAt.of_le (nat_le_infty i) | |
| 841 | - rw [show F = fun y => (ChartScales.Q n ^ (-degree)) • | |
| 842 | - (amp y * PhysicalGraphBounds.character c (Φ y)) from rfl, | |
| 843 | - iteratedFDeriv_const_smul_apply' hcDiff, | |
| 844 | - norm_smul (ChartScales.Q n ^ (-degree) : ℝ) | |
| 845 | - (iteratedFDeriv ℝ i (fun y => amp y * PhysicalGraphBounds.character c (Φ y)) | |
| 846 | - (PhysicalWaveSum.commonLift h n d w)), | |
| 847 | - Real.norm_of_nonneg (Real.rpow_pos_of_pos hQ (-degree)).le] | |
| 848 | - exact (mul_le_mul_of_nonneg_left (hjets i hi) (Real.rpow_pos_of_pos hQ (-degree)).le).trans_eq | |
| 849 | - (by simpa only [Real.rpow_natCast, A'] using | |
| 850 | - mode_majorant_factorization hQ (ChartScales.S n) A B H gain degree ρ p r m) | |
| 851 | - have he := hbound n hn d hd w hann ht q hq hlo hhi F hnear hFjets | |
| 852 | - convert! he using 1 | |
| 853 | - congr 2 | |
| 854 | - unfold currentLoss | |
| 855 | - ring | |
| 856 | - | |
| 857 | 743 | section ActualPhysicalRates |
| 858 | 744 | |
| 859 | 745 | open CorrectionStep CorrectionInitialization CorrectionInitialization.ActualPrimary |
+0 −53 NavierStokes/ActualCurrentParticularPhysical.lean View file
| @@ -481,36 +481,6 @@ theorem copyData_phase {x : CycleState (Label B N0)} | ||
| 481 | 481 | rw [copyData_eq_actual x l j (ActualParticularStageControls.preserves_frequency hx l)] |
| 482 | 482 | exact ActualParticularDynamics.data_phase hx l j |
| 483 | 483 | |
| 484 | -/-- The native smoothness hypotheses are consequences of the actual | |
| 485 | -source class and support theorem; no physical jet estimate is assumed. -/ | |
| 486 | -theorem native_smooth_of_current_source (x : CycleState (Label B N0)) | |
| 487 | - (hx : ActualParticularStageControls.PreservesCarriers x) | |
| 488 | - (hs : ActualParticularStageControls.InputSupport x) | |
| 489 | - (hN : ActualCarrierGeometry.geometricThreshold ≤ N0) | |
| 490 | - {α : ℝ} (j : ℤ) (hj : j ≠ 0) | |
| 491 | - (H : LabelSumBounds.UniformWaveClass | |
| 492 | - (CommonCoverClass.sourceStrip (ActualParticularControl.angleStrip ActualParticularStageControls.slowStrip)) | |
| 493 | - ActualParticularStageControls.nativeEnvelope α (ActualParticularStageControls.currentSource x j)) | |
| 494 | - (l : Label B N0) (hz : RawBoundaryZero x l j) (n : ℕ) : | |
| 495 | - ContDiffOn ℝ ∞ (nativePotential x l j n) nativeDomain ∧ | |
| 496 | - ContDiffOn ℝ ∞ (fun z => (nativePressure x l j n z).re) nativeDomain := by | |
| 497 | - have hc := ActualParticularStageControls.common_bounds x hx hs hN j hj H | |
| 498 | - have ha := (ActualParticularStageControls.native_wave_to_weighted hc.1).each l | |
| 499 | - have hp := (ActualParticularStageControls.native_wave_to_weighted hc.2.2.1).each l | |
| 500 | - have he := copyData_eq_actual x l j (ActualParticularStageControls.preserves_frequency hx l) | |
| 501 | - have ha' : WeightedClasses.MemClass ActualWaveRegularityData.particularFullStrip | |
| 502 | - (fun _ z => Real.sqrt (ActualWaveRegularityData.particularFullStrip.zeta z)) α | |
| 503 | - (copyData x l j).common.amplitude := by | |
| 504 | - rw [he] | |
| 505 | - exact ha | |
| 506 | - have hp' : WeightedClasses.MemClass ActualWaveRegularityData.particularFullStrip | |
| 507 | - (fun _ z => Real.sqrt (ActualWaveRegularityData.particularFullStrip.zeta z)) (α + 1/2) | |
| 508 | - (copyData x l j).common.pressure := by | |
| 509 | - rw [he] | |
| 510 | - exact hp | |
| 511 | - exact ⟨nativePotential_contDiffOn x l j (copyData_phase hx l j) ha' hz n, | |
| 512 | - nativePressure_re_contDiffOn x l j (copyData_phase hx l j) hp' hz n⟩ | |
| 513 | - | |
| 514 | 484 | theorem nativeMap_polar_mem_iff (n : ℕ) (a : ℝ) (i : PolarCharts.Index) (w : SpaceTime) : |
| 515 | 485 | PhysicalParticularWave.nativeMap CorrectionInitialization.ActualPrimary.h (ChartScales.Q n) |
| 516 | 486 | (CommonWindow.index CorrectionInitialization.ActualPrimary.h n) |
| @@ -525,29 +495,6 @@ theorem nativeMap_polar_mem_iff (n : ℕ) (a : ℝ) (i : PolarCharts.Index) (w : | ||
| 525 | 495 | PhysicalResidualBridge.ScaledGraph.map, PhysicalCurlCovariance.polarCoordinates, |
| 526 | 496 | AxisymmetricResidual.pack_two, nativePoint, cylinderPoint] |
| 527 | 497 | |
| 528 | -theorem localModes_contDiffAt_of_current_source (x : CycleState (Label B N0)) | |
| 529 | - (hx : ActualParticularStageControls.PreservesCarriers x) | |
| 530 | - (hs : ActualParticularStageControls.InputSupport x) | |
| 531 | - (hN : ActualCarrierGeometry.geometricThreshold ≤ N0) | |
| 532 | - {α : ℝ} (j : ℤ) (hj : j ≠ 0) | |
| 533 | - (H : LabelSumBounds.UniformWaveClass | |
| 534 | - (CommonCoverClass.sourceStrip (ActualParticularControl.angleStrip ActualParticularStageControls.slowStrip)) | |
| 535 | - ActualParticularStageControls.nativeEnvelope α (ActualParticularStageControls.currentSource x j)) | |
| 536 | - (l : Label B N0) (hz : RawBoundaryZero x l j) (n : ℕ) | |
| 537 | - {a : ℝ} (ha : 0 < a) (i : PolarCharts.Index) {w : SpaceTime} | |
| 538 | - (hw : w ∈ ActualMeanPotentialRealization.cartesianDomain a i) | |
| 539 | - (hm : nativePoint n w ∈ nativeDomain) : | |
| 540 | - ContDiffAt ℝ ∞ (localPotentialMode x l j n) w ∧ | |
| 541 | - ContDiffAt ℝ ∞ (localPressureMode x l j n) w := by | |
| 542 | - have hh := native_smooth_of_current_source x hx hs hN j hj H l hz n | |
| 543 | - have hm' := (nativeMap_polar_mem_iff n a i w).mpr hm | |
| 544 | - exact ⟨localPotentialMode_contDiffAt_of_native x l j | |
| 545 | - (ActualParticularStageControls.preserves_frequency hx l) n ha i hw | |
| 546 | - (hh.1.contDiffAt (nativeDomain_open.mem_nhds hm')), | |
| 547 | - localPressureMode_contDiffAt_of_native x l j | |
| 548 | - (ActualParticularStageControls.preserves_frequency hx l) n ha i hw | |
| 549 | - (hh.2.contDiffAt (nativeDomain_open.mem_nhds hm'))⟩ | |
| 550 | - | |
| 551 | 498 | /-! The literal cycle input discharges the raw endpoint condition. -/ |
| 552 | 499 | |
| 553 | 500 | theorem copyData_particularState (x : CycleState (ActualInitialization.Index B N0)) |
+0 −57 NavierStokes/ActualCurrentWaveSupport.lean View file
| @@ -377,31 +377,6 @@ theorem current_raw_pressure_zero_germs | ||
| 377 | 377 | n hz hr |
| 378 | 378 | exact ⟨hz'.1, hz'.2.2.1⟩ |
| 379 | 379 | |
| 380 | -theorem current_raw_pressure_annulus | |
| 381 | - (hN : ActualCarrierGeometry.geometricThreshold ≤ N0) | |
| 382 | - (x : CorrectionStep.CycleState (ActualCurrentParticularPhysical.Label B N0)) | |
| 383 | - (l : ActualCurrentParticularPhysical.Label B N0) | |
| 384 | - (hs : HarmonicSourceSupport.InputSupportOn ActualInitialization.geometry.domain | |
| 385 | - (ActualCoreSupport.refinedCarrier (l.2,l.1)) (x.coefficients.blocks l) | |
| 386 | - (x.coefficients.gaussian l) (x.coefficients.aliasCoefficients l)) | |
| 387 | - (j : ℤ) (n : ℕ) {z : ActualCurrentParticularPhysical.Native} | |
| 388 | - (hz : z.1.1 ∈ ActualCarrierTransport.parameterDomain) : | |
| 389 | - ((ActualCurrentParticularPhysical.copyData x l j).common.amplitude n z ≠ 0 → | |
| 390 | - ActualCoreSupport.radialRatio (ActualCarrierTransport.associatedPoint z.1.1 z.2) ∈ | |
| 391 | - Icc (PrimaryTargetBounds.leftRadius ActualPrimary.nominal) | |
| 392 | - (PrimaryTargetBounds.rightRadius ActualPrimary.nominal)) ∧ | |
| 393 | - ((ActualCurrentParticularPhysical.copyData x l j).common.pressure n z ≠ 0 → | |
| 394 | - ActualCoreSupport.radialRatio (ActualCarrierTransport.associatedPoint z.1.1 z.2) ∈ | |
| 395 | - Icc (PrimaryTargetBounds.leftRadius ActualPrimary.nominal) | |
| 396 | - (PrimaryTargetBounds.rightRadius ActualPrimary.nominal)) := by | |
| 397 | - constructor | |
| 398 | - · intro hne | |
| 399 | - by_contra hr | |
| 400 | - exact hne (current_raw_pressure_zero_germs hN x l hs j n hz hr).1.eq_of_nhds | |
| 401 | - · intro hne | |
| 402 | - by_contra hr | |
| 403 | - exact hne (current_raw_pressure_zero_germs hN x l hs j n hz hr).2.eq_of_nhds | |
| 404 | - | |
| 405 | 380 | theorem current_native_zero_germs |
| 406 | 381 | (hN : ActualCarrierGeometry.geometricThreshold ≤ N0) |
| 407 | 382 | (x : CorrectionStep.CycleState (ActualCurrentParticularPhysical.Label B N0)) |
| @@ -598,26 +573,6 @@ theorem current_annulus | ||
| 598 | 573 | BandAnnulus.finset_sum (fun _ => ParticularWaveAssembly.modes x.coefficients.residualBand) |
| 599 | 574 | (fun j => (current_mode_annulus hN x l (hs l) j N).2)) |
| 600 | 575 | |
| 601 | -theorem current_local_active_zero | |
| 602 | - (hN : ActualCarrierGeometry.geometricThreshold ≤ N0) | |
| 603 | - (x : CorrectionStep.CycleState (ActualCurrentParticularPhysical.Label B N0)) | |
| 604 | - (hs : ∀ l, HarmonicSourceSupport.InputSupportOn ActualInitialization.geometry.domain | |
| 605 | - (ActualCoreSupport.refinedCarrier (l.2,l.1)) (x.coefficients.blocks l) | |
| 606 | - (x.coefficients.gaussian l) (x.coefficients.aliasCoefficients l)) | |
| 607 | - (n : ℕ) {w : SpaceTime} (hw : w ∈ ValidDyadicBandCover.band ActualPrimary.h n) | |
| 608 | - (hX : (SlowBorelBase.cartesianChart ActualPrimary.h w).2.1 ∉ | |
| 609 | - Icc (NominalConeAssembly.activeLeft ActualPrimary.nominal) | |
| 610 | - (NominalConeAssembly.activeRight ActualPrimary.nominal)) : | |
| 611 | - ActualCurrentParticularPhysical.localPotential x n w = 0 ∧ | |
| 612 | - ActualCurrentParticularPhysical.localPressure x n w = 0 := by | |
| 613 | - have hr : profileRadius ActualPrimary.h w ∉ | |
| 614 | - Icc (PrimaryTargetBounds.leftRadius ActualPrimary.nominal) | |
| 615 | - (PrimaryTargetBounds.rightRadius ActualPrimary.nominal) := | |
| 616 | - fun hp => hX ((profileRadius_mem_iff_active hw.1).mp hp) | |
| 617 | - have hh := current_annulus hN x hs 0 | |
| 618 | - exact ⟨hh.1.zero_of_exterior (Nat.zero_le n) hw hr, | |
| 619 | - hh.2.zero_of_exterior (Nat.zero_le n) hw hr⟩ | |
| 620 | - | |
| 621 | 576 | theorem current_local_axis_germs |
| 622 | 577 | (hN : ActualCarrierGeometry.geometricThreshold ≤ N0) |
| 623 | 578 | (x : CorrectionStep.CycleState (ActualCurrentParticularPhysical.Label B N0)) |
| @@ -673,18 +628,6 @@ theorem current_field_active_germs {w : SpaceTime} | ||
| 673 | 628 | hh.2.field_zero_germ ActualPrimary.outgoing.data.h_pos |
| 674 | 629 | ActualPrimary.outgoing.data.h_lt_half hP hqbig hw hr⟩ |
| 675 | 630 | |
| 676 | -theorem current_field_active_zero {w : SpaceTime} | |
| 677 | - (hw : w ∈ CutStageEstimates.physicalSublevel ActualPrimary.h qbig) | |
| 678 | - (hX : (SlowBorelBase.cartesianChart ActualPrimary.h w).2.1 ∉ | |
| 679 | - Icc (NominalConeAssembly.activeLeft ActualPrimary.nominal) | |
| 680 | - (NominalConeAssembly.activeRight ActualPrimary.nominal)) : | |
| 681 | - ValidDyadicBandCover.field ActualPrimary.h N | |
| 682 | - (ActualCurrentParticularPhysical.localPotential x) w = 0 ∧ | |
| 683 | - ValidDyadicBandCover.field ActualPrimary.h N | |
| 684 | - (ActualCurrentParticularPhysical.localPressure x) w = 0 := by | |
| 685 | - have hh := current_field_active_germs hN x hs hA hP hqbig hw hX | |
| 686 | - exact ⟨hh.1.eq_of_nhds, hh.2.eq_of_nhds⟩ | |
| 687 | - | |
| 688 | 631 | theorem current_field_support : |
| 689 | 632 | MixedDiagonalExtensions.SublevelShrinkingSupport ActualPrimary.h |
| 690 | 633 | PhysicalStageSupport.actualOuterConstant qbig |
+0 −95 NavierStokes/ActualCycleAssembly.lean View file
| @@ -533,29 +533,6 @@ theorem refined_signed_inputSupport (l : Index B N0) (s : StripData Point) | ||
| 533 | 533 | · intro n x hx hn |
| 534 | 534 | exact refined_signed_gaussian_zero l s request n hx hn |
| 535 | 535 | |
| 536 | -theorem refined_tangent_inputSupport (l : Index B N0) (s : StripData Point) | |
| 537 | - (request : ℕ → Point × ℝ → SignedWaveUpdate.Vec2) : | |
| 538 | - HarmonicSourceSupport.InputSupportOn ActualInitialization.geometry.domain | |
| 539 | - (ActualCoreSupport.refinedCarrier l) | |
| 540 | - ((ActualSignedStageControls.parameters l).tangentBlock s request) 0 0 := by | |
| 541 | - apply block_inputSupport_of_zero | |
| 542 | - · intro n x hx hn | |
| 543 | - exact (refined_signed_common_zero l s request n (x := (x,0)) hx hn).1 | |
| 544 | - · intro n x hx hn | |
| 545 | - exact (refined_signed_common_zero l s request n (x := (x,0)) hx hn).2 | |
| 546 | - | |
| 547 | -theorem refined_curl_inputSupport (l : Index B N0) (s : StripData Point) | |
| 548 | - (request : ℕ → Point × ℝ → SignedWaveUpdate.Vec2) : | |
| 549 | - HarmonicSourceSupport.InputSupportOn ActualInitialization.geometry.domain | |
| 550 | - (ActualCoreSupport.refinedCarrier l) | |
| 551 | - ((ActualSignedStageControls.parameters l).curlBlock s request) 0 0 := by | |
| 552 | - apply inputSupport_subBlock _ (refined_tangent_inputSupport l s request) | |
| 553 | - apply block_inputSupport_of_zero | |
| 554 | - · intro n x hx hn | |
| 555 | - exact (refined_signed_common_zero_germs l s request n (x := (x,0)) hx hn).2.1.self_of_nhds | |
| 556 | - · intro n x hx hn | |
| 557 | - exact (refined_signed_common_zero l s request n (x := (x,0)) hx hn).2 | |
| 558 | - | |
| 559 | 536 | end RefinedSignedSupport |
| 560 | 537 | |
| 561 | 538 | |
| @@ -610,20 +587,6 @@ variable {B N0 : ℕ} (hN : ActualCarrierGeometry.geometricThreshold ≤ N0) | ||
| 610 | 587 | theorem parameterDomain_open : IsOpen ActualCarrierTransport.parameterDomain := |
| 611 | 588 | ActualPrimary.standardRegion.isOpen.preimage continuous_snd |
| 612 | 589 | |
| 613 | -include hN in | |
| 614 | -theorem associated_inputSupport | |
| 615 | - {b : HarmonicBlock Point} {G A : HarmonicResidual.BlockCoefficients Point} | |
| 616 | - (hs : HarmonicSourceSupport.InputSupportOn ActualInitialization.geometry.domain | |
| 617 | - (ActualInitialization.labelCarrier l) b G A) : | |
| 618 | - HarmonicSourceSupport.InputSupportOn (ActualCarrierTransport.parameterDomain ×ˢ Set.univ) | |
| 619 | - (ActualCarrierTransport.canonicalSourceRegion l) (StateReindex.block cycleAssoc.symm b) | |
| 620 | - (StateReindex.blockCoefficients cycleAssoc.symm G) (StateReindex.blockCoefficients cycleAssoc.symm A) := by | |
| 621 | - apply inputSupport_reindex_on cycleAssoc.symm hs | |
| 622 | - · intro z hz | |
| 623 | - exact hz.1 | |
| 624 | - · intro n z hz hk | |
| 625 | - exact (ActualCarrierTransport.labelCarrier_iff_canonicalSourceRegion hN l n hz.1 z.2).mp hk | |
| 626 | - | |
| 627 | 590 | theorem canonical_copyData_eq_scalar |
| 628 | 591 | (c : Context (CycleSlow × TorusInverse.Plane)) (u : State (CycleSlow × TorusInverse.Plane)) |
| 629 | 592 | (b : HarmonicBlock (CycleSlow × TorusInverse.Plane)) |
| @@ -669,38 +632,6 @@ variable (c : Context Point) (u : State Point) (b : HarmonicBlock Point) | ||
| 669 | 632 | |
| 670 | 633 | include hN hs |
| 671 | 634 | |
| 672 | -theorem canonical_source_zero_germ (j : ℤ) (n : ℕ) | |
| 673 | - {z : (CycleSlow × ℝ) × TorusInverse.Plane} | |
| 674 | - (hz : z.1.1 ∈ ActualCarrierTransport.parameterDomain) | |
| 675 | - (hn : (z.1.1, z.2) ∉ ActualCarrierTransport.canonicalSourceRegion l n) : | |
| 676 | - ParticularWaveAssembly.sourceFamily (StateReindex.context cycleAssoc.symm c) | |
| 677 | - (StateReindex.state cycleAssoc.symm u) (StateReindex.block cycleAssoc.symm b) | |
| 678 | - (StateReindex.blockCoefficients cycleAssoc.symm G) (StateReindex.blockCoefficients cycleAssoc.symm A) | |
| 679 | - j n =ᶠ[𝓝 z] fun _ => 0 := | |
| 680 | - ActualGaussianCoverage.sourceFamily_zero_germ _ _ _ _ _ (parameterDomain_open.prod isOpen_univ) | |
| 681 | - (ActualCarrierTransport.canonicalSourceRegion_closed l) (associated_inputSupport hN l hs) | |
| 682 | - j n ⟨hz, mem_univ _⟩ hn | |
| 683 | - | |
| 684 | -theorem canonical_copy_zero_germs (j : ℤ) | |
| 685 | - (s : StripData ((CycleSlow × ℝ) × TorusInverse.Plane)) | |
| 686 | - (d : LinearWaveBounds.GraphDirections ((CycleSlow × ℝ) × TorusInverse.Plane)) | |
| 687 | - (n : ℕ) {z : (CycleSlow × ℝ) × TorusInverse.Plane} | |
| 688 | - (hz : z.1.1 ∈ ActualCarrierTransport.parameterDomain) | |
| 689 | - (hn : (z.1.1, z.2) ∉ ActualCarrierTransport.canonicalSourceRegion l n) : | |
| 690 | - let a := (ActualParticularStageControls.canonicalParameters (l.2,l.1)).copyData | |
| 691 | - (StateReindex.context cycleAssoc.symm c) (StateReindex.state cycleAssoc.symm u) | |
| 692 | - (StateReindex.block cycleAssoc.symm b) (StateReindex.blockCoefficients cycleAssoc.symm G) | |
| 693 | - (StateReindex.blockCoefficients cycleAssoc.symm A) j | |
| 694 | - ((a.commonCorrected s d).amplitude n =ᶠ[𝓝 z] fun _ => 0) ∧ | |
| 695 | - (a.common.pressure n =ᶠ[𝓝 z] fun _ => 0) ∧ | |
| 696 | - (a.globalGaussian d n =ᶠ[𝓝 z] fun _ => 0) := by | |
| 697 | - dsimp only | |
| 698 | - rw [canonical_copyData_eq_scalar] | |
| 699 | - exact ScalarParticularSupport.scalarData_zero_germs _ _ _ _ _ _ _ _ _ _ | |
| 700 | - (ActualCarrierTransport.geometry_outer_injective l) ActualCarrierTransport.parameterDomain | |
| 701 | - (ActualCarrierTransport.activeSlowCore l) | |
| 702 | - (fun n z hz hn => canonical_source_zero_germ hN l c u b G A hs j n hz hn) s d n hz hn | |
| 703 | - | |
| 704 | 635 | end CanonicalParticular |
| 705 | 636 | |
| 706 | 637 | section FactorizedCarrier |
| @@ -982,17 +913,6 @@ theorem refined_particular_zero_germs (hN : ActualCarrierGeometry.geometricThres | ||
| 982 | 913 | (refined_carrier_factorization hN l) c u b G A hs j s |
| 983 | 914 | (ActualParticularStageControls.canonicalParameters (l.2,l.1)).directions n hz hns⟩ |
| 984 | 915 | |
| 985 | -/-- The literal recomputed signed request is allowed, so this is the | |
| 986 | -fixed cycle's exact block and Gaussian coefficient support. -/ | |
| 987 | -theorem cycle_refined_signed_inputSupport (x : CycleState (Index B N0)) (c : Context Point) | |
| 988 | - (l : Index B N0) : | |
| 989 | - HarmonicSourceSupport.InputSupportOn ActualInitialization.geometry.domain | |
| 990 | - (ActualCoreSupport.refinedCarrier l) | |
| 991 | - ((ActualCycleParameters.fixedParameters B N0).signedBlock x.coefficients c x.state l) | |
| 992 | - ((ActualCycleParameters.fixedParameters B N0).signedGaussianBlock x.coefficients c x.state l).velocity 0 := | |
| 993 | - refined_signed_inputSupport l ActualInitialization.geometry.strip | |
| 994 | - ((ActualCycleParameters.fixedParameters B N0).signedRequest x.coefficients c x.state) | |
| 995 | - | |
| 996 | 916 | end ConcreteCarriers |
| 997 | 917 | |
| 998 | 918 | section ComputedFamily |
| @@ -1106,10 +1026,6 @@ noncomputable def assemblyOfParticularSupport : | ||
| 1106 | 1026 | ((ActualCycleParameters.fixedParameters B N0).signedRequest x.coefficients |
| 1107 | 1027 | (ActualPrimary.commonContext B) x.state) |
| 1108 | 1028 | |
| 1109 | -theorem assemblyOfParticularSupport_labels : | |
| 1110 | - (assemblyOfParticularSupport x H hσ hpart htangent hcurl hP0 hP1 hN hcarrier hpartSupport).labels = | |
| 1111 | - x.coefficients.labels := rfl | |
| 1112 | - | |
| 1113 | 1029 | /-- The actual geometric constructor. Incoming primitive support is |
| 1114 | 1030 | transported through the particular solve; signed support is proved above. -/ |
| 1115 | 1031 | noncomputable def assembly : |
| @@ -1118,17 +1034,6 @@ noncomputable def assembly : | ||
| 1118 | 1034 | (cycle_particular_inputSupport hN x (ActualPrimary.commonContext B) |
| 1119 | 1035 | (fun l => inputSupport_mono (H.inputSupport l) (hcarrier l))) |
| 1120 | 1036 | |
| 1121 | -theorem assembly_labels : | |
| 1122 | - (assembly x H hσ hpart htangent hcurl hP0 hP1 hN hcarrier).labels = x.coefficients.labels := rfl | |
| 1123 | - | |
| 1124 | -theorem family_primary : | |
| 1125 | - (family x H hσ hpart htangent hcurl hP0 hP1).primary = ActualInitialization.tangentBlock := rfl | |
| 1126 | - | |
| 1127 | -theorem family_tangent : | |
| 1128 | - (family x H hσ hpart htangent hcurl hP0 hP1).tangent = | |
| 1129 | - (ActualCycleParameters.fixedParameters B N0).signedTangent x.coefficients | |
| 1130 | - (ActualPrimary.commonContext B) x.state := rfl | |
| 1131 | - | |
| 1132 | 1037 | /-- The two additional support predicates consumed by mean composition |
| 1133 | 1038 | come from the same assembly and the same finite labels. -/ |
| 1134 | 1039 | theorem assembly_supports : |
+0 −104 NavierStokes/ActualCycleCoherence.lean View file
| @@ -87,22 +87,6 @@ theorem initial_axis (B N0 : ℕ) : AxisCoherent (ActualInitialization.initialAl | ||
| 87 | 87 | theorem initial (B N0 : ℕ) : Coherent (ActualInitialization.initialCycleState B N0) := |
| 88 | 88 | ⟨initial_state B N0, initial_blocks B N0, initial_axis B N0, rfl⟩ |
| 89 | 89 | |
| 90 | -theorem BlocksCoherent.reindex {ι κ : Type} (e : κ ≃ ι) {v : CycleCoefficients ι} | |
| 91 | - (H : BlocksCoherent v) : BlocksCoherent (ActualCycleParameters.reindexCoefficients e v) := by | |
| 92 | - intro l n m k hi | |
| 93 | - exact H (e l) n m k hi | |
| 94 | - | |
| 95 | -theorem Coherent.particular_state {B N0 : ℕ} {x : CycleState (Index B N0)} (H : Coherent x) : | |
| 96 | - StateCoherent (ActualCycleParameters.particularState x).state := H.state | |
| 97 | - | |
| 98 | -theorem Coherent.particular_blocks {B N0 : ℕ} {x : CycleState (Index B N0)} (H : Coherent x) : | |
| 99 | - BlocksCoherent (ActualCycleParameters.particularState x).coefficients := | |
| 100 | - H.blocks.reindex (ActualCycleParameters.swap B N0).symm | |
| 101 | - | |
| 102 | -theorem StateCoherent.atlas {u : State Point} (H : StateCoherent u) (N : ℕ) : | |
| 103 | - (ActualMeanPhysicalData.initialAtlas N).StateOverlap standardRegion.carrier u := | |
| 104 | - fun n _ m _ k hi => H n m k hi | |
| 105 | - | |
| 106 | 90 | theorem Coherent.reference_state {B N0 : ℕ} {x : CycleState (Index B N0)} (H : Coherent x) |
| 107 | 91 | (n m k : ℕ) (hi : CommonWindow.index h n + k = CommonWindow.index h m) : |
| 108 | 92 | ActualReferenceRebase.StateComparison (ActualCycleParameters.particularState x) |
| @@ -731,54 +715,6 @@ theorem step (hS : ∀ l n, IsClosed (S l n)) | ||
| 731 | 715 | Coherent (x.step (ActualCycleParameters.fixedParameters B N0) (commonContext B)) := |
| 732 | 716 | step_of_waves H W C (waves H W C hcover hS hcore) |
| 733 | 717 | |
| 734 | -include H W in | |
| 735 | -theorem next_primitive : | |
| 736 | - MeanStateRegularity.PrimitiveData standardRegion geometry.inner geometry.outer | |
| 737 | - (commonContext B) (x.step (ActualCycleParameters.fixedParameters B N0) (commonContext B)).state := | |
| 738 | - ((ActualCycleParameters.fixedParameters B N0).next_primitive x.coefficients (commonContext B) | |
| 739 | - x.state standardRegion (realizes B N0).inner_pos (realizes B N0).exponent_pos | |
| 740 | - (realizes B N0).length H.primitives (covariance_moving H W).1 (covariance_moving H W).2 | |
| 741 | - (rank_geometry H)).1 | |
| 742 | - | |
| 743 | -include H W C in | |
| 744 | -theorem temporal_potential_overlap (N : ℕ) | |
| 745 | - (HW : ∀ n m k, CommonWindow.index h n + k = CommonWindow.index h m → | |
| 746 | - CycleStateCoherence.CycleWavesOn geometry (ActualCycleParameters.fixedParameters B N0) | |
| 747 | - x.coefficients (commonContext B) x.state (overlap n m) n m k) : | |
| 748 | - (ActualMeanPhysicalData.initialAtlas N).OverlapLaw standardRegion.carrier | |
| 749 | - (CoordinateAlgebra.A h - 1 / 2) | |
| 750 | - (VariableGaugeMean.temporalPotential (ActualCycleParameters.fixedParameters B N0).gauge | |
| 751 | - (ActualCycleParameters.fixedParameters B N0).timeExponent | |
| 752 | - (ActualCycleParameters.fixedParameters B N0).commonIndex (commonContext B) | |
| 753 | - ((ActualCycleParameters.fixedParameters B N0).afterSigned x.coefficients (commonContext B) x.state)) := by | |
| 754 | - have HS : (ActualMeanPhysicalData.initialAtlas N).StateOverlap standardRegion.carrier | |
| 755 | - ((ActualCycleParameters.fixedParameters B N0).afterSigned x.coefficients (commonContext B) x.state) := | |
| 756 | - fun n _ m _ k hi => (transport_of_waves H W C n m k hi (HW n m k hi)).signed | |
| 757 | - exact (ActualMeanPhysicalData.initialAtlas N).temporal_overlap standardRegion | |
| 758 | - (ActualCycleParameters.fixedParameters B N0).gauge (commonContext B) _ | |
| 759 | - (ActualMeanPhysicalData.initial_context_overlap B N) HS | |
| 760 | - (ActualMeanPhysicalData.initial_gauge_overlap N) (stage_primitives H W).signed | |
| 761 | - (realizes B N0).inner_pos (realizes B N0).exponent_pos (realizes B N0).length rfl | |
| 762 | - | |
| 763 | -include H W C in | |
| 764 | -theorem rank_potential_overlap (N : ℕ) | |
| 765 | - (HW : ∀ n m k, CommonWindow.index h n + k = CommonWindow.index h m → | |
| 766 | - CycleStateCoherence.CycleWavesOn geometry (ActualCycleParameters.fixedParameters B N0) | |
| 767 | - x.coefficients (commonContext B) x.state (overlap n m) n m k) : | |
| 768 | - (ActualMeanPhysicalData.initialAtlas N).OverlapLaw standardRegion.carrier | |
| 769 | - (CoordinateAlgebra.A h - 1 / 2) | |
| 770 | - (VariableGaugeMean.rankPotential (ActualCycleParameters.fixedParameters B N0).gauge | |
| 771 | - (ActualCycleParameters.fixedParameters B N0).rank (commonContext B) | |
| 772 | - ((ActualCycleParameters.fixedParameters B N0).afterTemporal x.coefficients (commonContext B) x.state)) := by | |
| 773 | - have HS : (ActualMeanPhysicalData.initialAtlas N).StateOverlap standardRegion.carrier | |
| 774 | - ((ActualCycleParameters.fixedParameters B N0).afterTemporal x.coefficients (commonContext B) x.state) := | |
| 775 | - fun n _ m _ k hi => (transport_of_waves H W C n m k hi (HW n m k hi)).temporal | |
| 776 | - exact (ActualMeanPhysicalData.initialAtlas N).rank_overlap standardRegion | |
| 777 | - (ActualCycleParameters.fixedParameters B N0).gauge (ActualCycleParameters.fixedParameters B N0).rank | |
| 778 | - (commonContext B) _ (ActualMeanPhysicalData.initial_context_overlap B N) HS | |
| 779 | - (ActualMeanPhysicalData.initial_gauge_overlap N) (ActualMeanPhysicalData.initial_rank_overlap N) | |
| 780 | - (stage_primitives H W).temporal (stage_primitives H W).rankGeometry | |
| 781 | - | |
| 782 | 718 | end Step |
| 783 | 719 | |
| 784 | 720 | /-! ## The fixed actual recurrence and the mean atlas input -/ |
| @@ -787,19 +723,10 @@ noncomputable def state (B N0 : ℕ) : ℕ → CycleState (Index B N0) := | ||
| 787 | 723 | CycleState.iterate (fun _ => ActualCycleParameters.fixedParameters B N0) |
| 788 | 724 | (commonContext B) (ActualInitialization.initialCycleState B N0) |
| 789 | 725 | |
| 790 | -theorem state_zero (B N0 : ℕ) : state B N0 0 = ActualInitialization.initialCycleState B N0 := rfl | |
| 791 | - | |
| 792 | -theorem state_succ (B N0 j : ℕ) : state B N0 (j + 1) = | |
| 793 | - (state B N0 j).step (ActualCycleParameters.fixedParameters B N0) (commonContext B) := rfl | |
| 794 | - | |
| 795 | 726 | theorem state_labels (B N0 j : ℕ) : |
| 796 | 727 | (state B N0 j).coefficients.labels = activeLabels standardRegion B N0 := |
| 797 | 728 | CycleStateCoherence.iterate_labels _ _ _ j |
| 798 | 729 | |
| 799 | -theorem state_aliasCoefficients (B N0 j : ℕ) : | |
| 800 | - (state B N0 j).coefficients.aliasCoefficients = 0 := | |
| 801 | - CycleStateCoherence.iterate_aliasCoefficients _ _ _ j | |
| 802 | - | |
| 803 | 730 | /-- Collection of the already proved actual transport laws into precisely |
| 804 | 731 | the input used by the physical mean atlas. Its covariance fields are |
| 805 | 732 | derived from the same stage data as the analytic induction. -/ |
| @@ -832,37 +759,6 @@ variable (B N0 : ℕ) (sigma : ℕ → ℝ) (S : Index B N0 → ℕ → Set Poin | ||
| 832 | 759 | (hcover : ∀ l n z, z ∈ ActualInitialization.geometry.domain → z ∈ S l n → |
| 833 | 760 | l ∈ activeLabels standardRegion B N0 n) |
| 834 | 761 | |
| 835 | -include H W hS hcore hcover in | |
| 836 | -/-- The geometric induction uses the same fixed recurrence and supplied | |
| 837 | -analytic stage data; no sequence of coherent states is assumed. -/ | |
| 838 | -theorem iterate_coherent (j : ℕ) : Coherent (state B N0 j) := by | |
| 839 | - induction j with | |
| 840 | - | zero => exact initial B N0 | |
| 841 | - | succ j ih => | |
| 842 | - exact step (H j) (W j) ih | |
| 843 | - (fun l n z hz hs => by | |
| 844 | - change l ∈ (state B N0 j).coefficients.labels n | |
| 845 | - rw [state_labels] | |
| 846 | - exact hcover l n z hz hs) hS hcore | |
| 847 | - | |
| 848 | -include H W hS hcore hcover in | |
| 849 | -theorem iterate_waves (j n m k : ℕ) | |
| 850 | - (hi : CommonWindow.index h n + k = CommonWindow.index h m) : | |
| 851 | - CycleStateCoherence.CycleWavesOn geometry (ActualCycleParameters.fixedParameters B N0) | |
| 852 | - (state B N0 j).coefficients (commonContext B) (state B N0 j).state (overlap n m) n m k := | |
| 853 | - waves (H j) (W j) (iterate_coherent B N0 sigma S H W hS hcore hcover j) | |
| 854 | - (fun l n z hz hs => by | |
| 855 | - rw [state_labels] | |
| 856 | - exact hcover l n z hz hs) hS hcore n m k hi | |
| 857 | - | |
| 858 | -include H W hS hcore hcover in | |
| 859 | -/-- The actual mean-atlas input is derived from the same analytic | |
| 860 | -recurrence; its wave and covariance transports are conclusions. -/ | |
| 861 | -theorem mean_input (N : ℕ) : | |
| 862 | - ActualMeanPhysicalData.InitialCycleInput B N0 N (fun _ => ActualCycleParameters.fixedParameters B N0) := | |
| 863 | - mean_input_of_transport B N0 N sigma S H W | |
| 864 | - (iterate_waves B N0 sigma S H W hS hcore hcover) | |
| 865 | - | |
| 866 | 762 | end Iteration |
| 867 | 763 | |
| 868 | 764 | end NavierStokes.ActualCycleCoherence |
+0 −62 NavierStokes/ActualCycleGeometry.lean View file
| @@ -41,10 +41,6 @@ noncomputable def similarityData : ActualCycleExcluded.SimilarityData where | ||
| 41 | 41 | slow_one := BaseContextAssembly.one_le_slowScale |
| 42 | 42 | slow_scale := fun _ => le_max_right _ _ |
| 43 | 43 | |
| 44 | -theorem strip_eq : similarityData.strip = ActualInitialization.strip := rfl | |
| 45 | - | |
| 46 | -theorem strip_eq_geometry : similarityData.strip = ActualInitialization.geometry.strip := rfl | |
| 47 | - | |
| 48 | 44 | /-- The normalization factor is exactly one, so the similarity gauge agrees |
| 49 | 45 | with the common reconstruction used by initialization. -/ |
| 50 | 46 | theorem gauge_eq : similarityData.gauge = ActualPrimary.commonGauge := |
| @@ -53,62 +49,4 @@ theorem gauge_eq : similarityData.gauge = ActualPrimary.commonGauge := | ||
| 53 | 49 | theorem gauge_eq_geometry : similarityData.gauge = ActualInitialization.geometry.gauge := |
| 54 | 50 | gauge_eq |
| 55 | 51 | |
| 56 | -theorem region_eq : similarityData.region = ActualInitialization.geometry.region := rfl | |
| 57 | - | |
| 58 | -theorem inner_eq : similarityData.inner = ActualInitialization.geometry.patch.a := rfl | |
| 59 | - | |
| 60 | -theorem outer_eq : similarityData.outer = ActualInitialization.geometry.patch.b := rfl | |
| 61 | - | |
| 62 | -theorem index_eq : similarityData.index = CommonWindow.index ActualPrimary.h := rfl | |
| 63 | - | |
| 64 | -theorem index_bounds : CommonBaseContext.IndexBounds similarityData.h | |
| 65 | - similarityData.index similarityData.gap := | |
| 66 | - CommonWindow.indexBounds ActualPrimary.h ActualPrimary.outgoing.data.h_pos.le | |
| 67 | - | |
| 68 | -theorem slow_eq : similarityData.slow = BaseContextAssembly.slowScale := rfl | |
| 69 | - | |
| 70 | -theorem epsilon_eq : similarityData.strip.epsilon = ChartScales.epsilon ActualPrimary.h := rfl | |
| 71 | - | |
| 72 | -theorem fast_eq (B : ℕ) : (ActualPrimary.commonContext B).operators.fastCoefficient = | |
| 73 | - fun n => ChartScales.Tg ^ similarityData.index n * | |
| 74 | - ChartScales.Q n ^ (1 + similarityData.h) := rfl | |
| 75 | - | |
| 76 | -theorem temporal_eq (B : ℕ) : (ActualPrimary.commonContext B).operators.vT = | |
| 77 | - (0, (0, TorusInverse.vector .temporal)) := rfl | |
| 78 | - | |
| 79 | -/-- Changing either wave family leaves the entire similarity certificate | |
| 80 | -unchanged. The rank stage is the actual reserved rank construction. -/ | |
| 81 | -theorem compatible {ι : Type} (B : ℕ) | |
| 82 | - (particular : ι → ParticularParameters CycleSlow) | |
| 83 | - (signed : ι → PeriodizedSignedParameters CyclePoint TorusInverse.Frequency) : | |
| 84 | - ActualCycleExcluded.Compatible similarityData | |
| 85 | - (CycleParameters.ofGeometry ActualInitialization.geometry ActualPrimary.h | |
| 86 | - (CommonWindow.index ActualPrimary.h) ActualInitialization.axial | |
| 87 | - particular signed ActualPrimary.rankData) | |
| 88 | - (ActualPrimary.commonContext B) where | |
| 89 | - gauge := gauge_eq.symm | |
| 90 | - strip := strip_eq_geometry.symm | |
| 91 | - time := rfl | |
| 92 | - index := rfl | |
| 93 | - fast := fast_eq B | |
| 94 | - temporal := temporal_eq B | |
| 95 | - | |
| 96 | -/-- The actual operator bounds on precisely the strip in the certificate. -/ | |
| 97 | -theorem operators (B : ℕ) : | |
| 98 | - MeanIncrementBounds.OperatorBounds similarityData.strip | |
| 99 | - (ActualPrimary.commonContext B).operators ChartScales.kappa := | |
| 100 | - ActualInitialization.operators B | |
| 101 | - | |
| 102 | -/-- These bounds concern the actual same-profile base in the common context. -/ | |
| 103 | -theorem base_bounds (B : ℕ) : | |
| 104 | - MeanIncrementBounds.BaseBounds similarityData.strip (ActualPrimary.commonContext B).base := | |
| 105 | - ActualInitialization.base_bounds B | |
| 106 | - | |
| 107 | -theorem radius_pos (B : ℕ) (x : Point) (hx : x ∈ similarityData.strip.domain) : | |
| 108 | - 0 < (ActualPrimary.commonContext B).operators.radius x := | |
| 109 | - ActualInitialization.radius_pos B x hx | |
| 110 | - | |
| 111 | -theorem strip_time (x : Point) (hx : x ∈ similarityData.strip.domain) : 0 < x.2.1.1 := | |
| 112 | - ActualInitialization.strip_time x hx | |
| 113 | - | |
| 114 | 52 | end NavierStokes.ActualCycleGeometry |
+0 −206 NavierStokes/ActualCycleParameters.lean View file
| @@ -40,19 +40,6 @@ noncomputable def reindexState {ι κ : Type} (e : κ ≃ ι) | ||
| 40 | 40 | coefficients := reindexCoefficients e x.coefficients |
| 41 | 41 | axisymmetricAlias := x.axisymmetricAlias |
| 42 | 42 | |
| 43 | -noncomputable def reindexParameters {ι κ : Type} (e : κ ≃ ι) | |
| 44 | - (p : CycleParameters ι) : CycleParameters κ where | |
| 45 | - gauge := p.gauge | |
| 46 | - strip := p.strip | |
| 47 | - patch := p.patch | |
| 48 | - coordinate := p.coordinate | |
| 49 | - timeExponent := p.timeExponent | |
| 50 | - commonIndex := p.commonIndex | |
| 51 | - axial := p.axial | |
| 52 | - particular l := p.particular (e l) | |
| 53 | - signed l := p.signed (e l) | |
| 54 | - rank := p.rank | |
| 55 | - | |
| 56 | 43 | @[simp] theorem reindexCoefficients_mem {ι κ : Type} (e : κ ≃ ι) |
| 57 | 44 | (v : CycleCoefficients ι) (n : ℕ) (l : κ) : |
| 58 | 45 | l ∈ (reindexCoefficients e v).labels n ↔ e l ∈ v.labels n := by |
| @@ -69,56 +56,6 @@ noncomputable def reindexParameters {ι κ : Type} (e : κ ≃ ι) | ||
| 69 | 56 | (x : CycleState ι) : |
| 70 | 57 | (reindexState e x).coefficients.residualBand = x.coefficients.residualBand := rfl |
| 71 | 58 | |
| 72 | -theorem reindexCoefficients_symm {ι κ : Type} (e : κ ≃ ι) | |
| 73 | - (v : CycleCoefficients ι) : | |
| 74 | - reindexCoefficients e.symm (reindexCoefficients e v) = v := by | |
| 75 | - classical | |
| 76 | - rcases v with ⟨labels, blocks, gaussian, aliasCoefficients, residualBand⟩ | |
| 77 | - simp only [reindexCoefficients] | |
| 78 | - congr 1 | |
| 79 | - · funext n | |
| 80 | - ext l | |
| 81 | - simp | |
| 82 | - · funext l | |
| 83 | - simp | |
| 84 | - · funext l | |
| 85 | - simp | |
| 86 | - · funext l | |
| 87 | - simp | |
| 88 | - | |
| 89 | -theorem reindexState_symm {ι κ : Type} (e : κ ≃ ι) | |
| 90 | - (x : CycleState ι) : reindexState e.symm (reindexState e x) = x := by | |
| 91 | - rcases x with ⟨state, coefficients, axis⟩ | |
| 92 | - simp only [reindexState, reindexCoefficients_symm] | |
| 93 | - | |
| 94 | -theorem reindexCoefficients_sum {ι κ : Type} (e : κ ≃ ι) | |
| 95 | - (v : CycleCoefficients ι) {E : Type*} [AddCommMonoid E] | |
| 96 | - (n : ℕ) (f : ι → E) : | |
| 97 | - (∑ l ∈ (reindexCoefficients e v).labels n, f (e l)) = ∑ l ∈ v.labels n, f l := by | |
| 98 | - classical | |
| 99 | - simp [reindexCoefficients] | |
| 100 | - | |
| 101 | -theorem reindexState_representation {ι κ : Type} (e : κ ≃ ι) | |
| 102 | - (x : CycleState ι) | |
| 103 | - (H : CycleRepresentation x.coefficients x.state x.axisymmetricAlias) : | |
| 104 | - CycleRepresentation (reindexState e x).coefficients (reindexState e x).state | |
| 105 | - (reindexState e x).axisymmetricAlias := by | |
| 106 | - constructor | |
| 107 | - · intro n z i | |
| 108 | - simpa [reindexState, reindexCoefficients] using H.velocity n z i | |
| 109 | - · intro n z | |
| 110 | - simpa [reindexState, reindexCoefficients] using H.pressure n z | |
| 111 | - · intro n z i | |
| 112 | - simpa [reindexState, reindexCoefficients] using H.gaussian n z i | |
| 113 | - · intro n z i | |
| 114 | - simpa [reindexState, reindexCoefficients] using H.aliasError n z i | |
| 115 | - | |
| 116 | -theorem reindexState_bands {ι κ : Type} (e : κ ≃ ι) | |
| 117 | - (x : CycleState ι) (H : CoefficientBands x.coefficients) : | |
| 118 | - CoefficientBands (reindexState e x).coefficients := | |
| 119 | - ⟨fun l => H.velocityPressure (e l), fun l => H.gaussian (e l), | |
| 120 | - fun l => H.aliasError (e l)⟩ | |
| 121 | - | |
| 122 | 59 | /-! ## The two label orders describe the same primary choice -/ |
| 123 | 60 | |
| 124 | 61 | abbrev Index (B N0 : ℕ) := ActualInitialization.Index B N0 |
| @@ -157,10 +94,6 @@ noncomputable def particularState {B N0 : ℕ} (x : CycleState (Index B N0)) : | ||
| 157 | 94 | simpa only [particularState, reindexState, Equiv.symm_apply_apply] using |
| 158 | 95 | reindexCoefficients_mem (swap B N0).symm x.coefficients n (swap B N0 l) |
| 159 | 96 | |
| 160 | -theorem particularState_roundtrip {B N0 : ℕ} (x : CycleState (Index B N0)) : | |
| 161 | - reindexState (swap B N0) (particularState x) = x := | |
| 162 | - reindexState_symm (swap B N0).symm x | |
| 163 | - | |
| 164 | 97 | /-! ## The actual four-stage parameter constructor -/ |
| 165 | 98 | |
| 166 | 99 | noncomputable def parameters {B N0 : ℕ} (x : CycleState (Index B N0)) : |
| @@ -170,19 +103,6 @@ noncomputable def parameters {B N0 : ℕ} (x : CycleState (Index B N0)) : | ||
| 170 | 103 | (fun l => ActualParticularStageControls.parameters (particularState x) (swap B N0 l)) |
| 171 | 104 | ActualSignedStageControls.parameters ActualPrimary.rankData |
| 172 | 105 | |
| 173 | -/-- The same literal builder expressed in the particular solver's label | |
| 174 | -order. This has no additional geometric or analytic choices. -/ | |
| 175 | -noncomputable def parametersInParticularOrder {B N0 : ℕ} | |
| 176 | - (x : CycleState (ParticularIndex B N0)) : CycleParameters (ParticularIndex B N0) := | |
| 177 | - CycleParameters.ofGeometry ActualInitialization.geometry ActualPrimary.h | |
| 178 | - (CommonWindow.index ActualPrimary.h) ActualInitialization.axial | |
| 179 | - (ActualParticularStageControls.parameters x) | |
| 180 | - (fun l => ActualSignedStageControls.parameters ((swap B N0).symm l)) ActualPrimary.rankData | |
| 181 | - | |
| 182 | -theorem parameters_swap {B N0 : ℕ} (x : CycleState (Index B N0)) : | |
| 183 | - reindexParameters (swap B N0).symm (parameters x) = | |
| 184 | - parametersInParticularOrder (particularState x) := rfl | |
| 185 | - | |
| 186 | 106 | @[simp] theorem parameters_gauge {B N0 : ℕ} (x : CycleState (Index B N0)) : |
| 187 | 107 | (parameters x).gauge = ActualPrimary.commonGauge := rfl |
| 188 | 108 | |
| @@ -216,40 +136,12 @@ theorem parameters_swap {B N0 : ℕ} (x : CycleState (Index B N0)) : | ||
| 216 | 136 | (l : Index B N0) : |
| 217 | 137 | (parameters x).signed l = ActualSignedStageControls.parameters l := rfl |
| 218 | 138 | |
| 219 | -theorem parameters_indexBounds {B N0 : ℕ} (x : CycleState (Index B N0)) : | |
| 220 | - CommonBaseContext.IndexBounds ActualPrimary.h (parameters x).commonIndex | |
| 221 | - (CommonWindow.gap ActualPrimary.h) := | |
| 222 | - CommonWindow.indexBounds ActualPrimary.h ActualPrimary.outgoing.data.h_pos.le | |
| 223 | - | |
| 224 | -theorem parameters_geometry_operators {B N0 : ℕ} (_x : CycleState (Index B N0)) : | |
| 225 | - ActualInitialization.geometry.operators = (ActualPrimary.commonContext B).operators := rfl | |
| 226 | - | |
| 227 | -theorem parameters_compatible {B N0 : ℕ} (x : CycleState (Index B N0)) : | |
| 228 | - ActualCycleExcluded.Compatible ActualCycleGeometry.similarityData (parameters x) | |
| 229 | - (ActualPrimary.commonContext B) := | |
| 230 | - ActualCycleGeometry.compatible B | |
| 231 | - (fun l => ActualParticularStageControls.parameters (particularState x) (swap B N0 l)) | |
| 232 | - ActualSignedStageControls.parameters | |
| 233 | - | |
| 234 | 139 | /-- The physical band floor belongs to the already selected primary |
| 235 | 140 | choice and does not change with the current correction state. -/ |
| 236 | 141 | noncomputable def bandFloor (B N0 : ℕ) : ℕ := (ActualPrimary.choice B N0).prepared.N |
| 237 | 142 | |
| 238 | 143 | noncomputable def sourceBand {B N0 : ℕ} (l : Index B N0) : ℕ := BaseChartJets.cellBand l.1 |
| 239 | 144 | |
| 240 | -theorem bandFloor_ge (B N0 : ℕ) : N0 ≤ bandFloor B N0 := ActualPrimary.threshold B N0 | |
| 241 | - | |
| 242 | -theorem sourceBand_ge_floor {B N0 : ℕ} (l : Index B N0) : | |
| 243 | - bandFloor B N0 ≤ sourceBand l := l.1.property | |
| 244 | - | |
| 245 | -theorem particular_reference_band {B N0 : ℕ} (l : Index B N0) : | |
| 246 | - (ActualParticularStageControls.reference (swap B N0 l)).band = sourceBand l := rfl | |
| 247 | - | |
| 248 | -theorem particular_gap {B N0 : ℕ} (l : Index B N0) (n : ℕ) : | |
| 249 | - ActualParticularStageControls.gap (swap B N0 l) n = | |
| 250 | - ChartScales.nativeIndex ActualPrimary.h (sourceBand l) - | |
| 251 | - CommonWindow.index ActualPrimary.h n := rfl | |
| 252 | - | |
| 253 | 145 | theorem activeLabel_band {B N0 : ℕ} (n : ℕ) (l : Index B N0) |
| 254 | 146 | (hl : l ∈ ActualPrimary.activeLabels ActualPrimary.standardRegion B N0 n) : |
| 255 | 147 | sourceBand l ∈ CommonWindow.levels n := by |
| @@ -266,59 +158,8 @@ theorem activeLabel_index {B N0 : ℕ} (n : ℕ) (l : Index B N0) | ||
| 266 | 158 | ChartScales.nativeIndex ActualPrimary.h (sourceBand l) := |
| 267 | 159 | CommonWindow.index_le (activeLabel_band n l hl) |
| 268 | 160 | |
| 269 | -theorem activeLabel_particular {B N0 : ℕ} (n : ℕ) (hn : 1 ≤ n) (l : Index B N0) | |
| 270 | - (hl : l ∈ ActualPrimary.activeLabels ActualPrimary.standardRegion B N0 n) : | |
| 271 | - 1 ≤ n ∧ BaseChartJets.cellBand (swap B N0 l).2 ∈ CommonWindow.levels n := | |
| 272 | - ⟨hn, activeLabel_band n l hl⟩ | |
| 273 | - | |
| 274 | 161 | /-! The particular source really is the current stored residual. -/ |
| 275 | 162 | |
| 276 | -theorem particular_assembly_context {B N0 : ℕ} (x : CycleState (Index B N0)) | |
| 277 | - (l : Index B N0) : | |
| 278 | - (ActualParticularStageControls.assembly (particularState x) (swap B N0 l)).context = | |
| 279 | - StateReindex.context cycleAssoc.symm (ActualPrimary.commonContext B) := rfl | |
| 280 | - | |
| 281 | -theorem particular_assembly_state {B N0 : ℕ} (x : CycleState (Index B N0)) | |
| 282 | - (l : Index B N0) : | |
| 283 | - (ActualParticularStageControls.assembly (particularState x) (swap B N0 l)).state = | |
| 284 | - StateReindex.state cycleAssoc.symm x.state := rfl | |
| 285 | - | |
| 286 | -theorem particular_assembly_carrier {B N0 : ℕ} (x : CycleState (Index B N0)) | |
| 287 | - (l : Index B N0) : | |
| 288 | - (ActualParticularStageControls.assembly (particularState x) (swap B N0 l)).carrierBlock = | |
| 289 | - StateReindex.block cycleAssoc.symm (x.coefficients.blocks l) := rfl | |
| 290 | - | |
| 291 | -theorem particular_assembly_gaussian {B N0 : ℕ} (x : CycleState (Index B N0)) | |
| 292 | - (l : Index B N0) : | |
| 293 | - (ActualParticularStageControls.assembly (particularState x) (swap B N0 l)).gaussianInput = | |
| 294 | - StateReindex.blockCoefficients cycleAssoc.symm (x.coefficients.gaussian l) := rfl | |
| 295 | - | |
| 296 | -theorem particular_assembly_alias {B N0 : ℕ} (x : CycleState (Index B N0)) | |
| 297 | - (l : Index B N0) : | |
| 298 | - (ActualParticularStageControls.assembly (particularState x) (swap B N0 l)).aliasInput = | |
| 299 | - StateReindex.blockCoefficients cycleAssoc.symm (x.coefficients.aliasCoefficients l) := rfl | |
| 300 | - | |
| 301 | -theorem particular_source {B N0 : ℕ} (x : CycleState (Index B N0)) | |
| 302 | - (l : Index B N0) (j : ℤ) : | |
| 303 | - (((parameters x).particular l).copyData | |
| 304 | - (StateReindex.context cycleAssoc.symm (ActualPrimary.commonContext B)) | |
| 305 | - (StateReindex.state cycleAssoc.symm x.state) | |
| 306 | - (StateReindex.block cycleAssoc.symm (x.coefficients.blocks l)) | |
| 307 | - (StateReindex.blockCoefficients cycleAssoc.symm (x.coefficients.gaussian l)) | |
| 308 | - (StateReindex.blockCoefficients cycleAssoc.symm (x.coefficients.aliasCoefficients l)) j).source = | |
| 309 | - ParticularWaveAssembly.sourceFamily | |
| 310 | - (StateReindex.context cycleAssoc.symm (ActualPrimary.commonContext B)) | |
| 311 | - (StateReindex.state cycleAssoc.symm x.state) | |
| 312 | - (StateReindex.block cycleAssoc.symm (x.coefficients.blocks l)) | |
| 313 | - (StateReindex.blockCoefficients cycleAssoc.symm (x.coefficients.gaussian l)) | |
| 314 | - (StateReindex.blockCoefficients cycleAssoc.symm (x.coefficients.aliasCoefficients l)) j := rfl | |
| 315 | - | |
| 316 | -theorem signed_request {B N0 : ℕ} (x : CycleState (Index B N0)) : | |
| 317 | - (parameters x).signedRequest x.coefficients (ActualPrimary.commonContext B) x.state = | |
| 318 | - LocalSignedRequest.fullRequest ActualInitialization.strip ActualInitialization.patch | |
| 319 | - (2 * ActualPrimary.h) (ActualPrimary.commonContext B) | |
| 320 | - ((parameters x).afterParticular x.coefficients (ActualPrimary.commonContext B) x.state) := rfl | |
| 321 | - | |
| 322 | 163 | /-! ## The signed update uses the initialized primary carrier -/ |
| 323 | 164 | |
| 324 | 165 | theorem signed_frequency (p : PeriodizedSignedParameters CyclePoint TorusInverse.Frequency) |
| @@ -374,42 +215,6 @@ theorem signed_tangent_carrier {B N0 : ℕ} (l : Index B N0) | ||
| 374 | 215 | exact ⟨hs.frequency.trans hp.frequency.symm, hs.phase.trans hp.phase.symm, |
| 375 | 216 | hs.angular.trans hp.angular.symm⟩ |
| 376 | 217 | |
| 377 | -theorem parameters_signed_carrier {B N0 : ℕ} (x : CycleState (Index B N0)) | |
| 378 | - (c : Context CyclePoint) (l : Index B N0) | |
| 379 | - (H : SameCarrier (x.coefficients.blocks l) (ActualInitialization.tangentBlock l)) : | |
| 380 | - SameCarrier (x.coefficients.blocks l) | |
| 381 | - ((parameters x).signedBlock x.coefficients c x.state l) := by | |
| 382 | - have hs := signed_tangent_carrier l (parameters x).strip | |
| 383 | - ((parameters x).signedRequest x.coefficients c x.state) | |
| 384 | - exact ⟨hs.frequency.trans H.frequency, hs.phase.trans H.phase, hs.angular.trans H.angular⟩ | |
| 385 | - | |
| 386 | -theorem parameters_particular_carrier {B N0 : ℕ} (x : CycleState (Index B N0)) | |
| 387 | - (c : Context CyclePoint) (l : Index B N0) : | |
| 388 | - SameCarrier (x.coefficients.blocks l) | |
| 389 | - ((parameters x).particularBlock x.coefficients c x.state l) := | |
| 390 | - (parameters x).particular_carrier x.coefficients c x.state l | |
| 391 | - | |
| 392 | -theorem parameters_gaussian_carrier {B N0 : ℕ} (x : CycleState (Index B N0)) | |
| 393 | - (c : Context CyclePoint) (l : Index B N0) : | |
| 394 | - SameCarrier (x.coefficients.blocks l) | |
| 395 | - ((parameters x).particularGaussianBlock x.coefficients c x.state l) := | |
| 396 | - (parameters x).particularGaussian_carrier x.coefficients c x.state l | |
| 397 | - | |
| 398 | -theorem invariant_signed_carrier {B N0 : ℕ} {x : CycleState (Index B N0)} | |
| 399 | - {P : Index B N0 → ℕ → CyclePoint → ℝ} | |
| 400 | - {labelCarrier : Index B N0 → ℕ → Set CyclePoint} {sigma : ℝ} | |
| 401 | - (H : CycleAnalyticInvariant ActualInitialization.geometry (ActualPrimary.commonContext B) | |
| 402 | - ActualInitialization.tangentBlock P labelCarrier sigma x) (l : Index B N0) : | |
| 403 | - SameCarrier (x.coefficients.blocks l) | |
| 404 | - ((parameters x).signedBlock x.coefficients (ActualPrimary.commonContext B) x.state l) := | |
| 405 | - parameters_signed_carrier x _ l (H.carrier l) | |
| 406 | - | |
| 407 | -theorem initial_signed_carrier (B N0 : ℕ) (l : Index B N0) : | |
| 408 | - let x := ActualInitialization.initialCycleState B N0 | |
| 409 | - SameCarrier (x.coefficients.blocks l) | |
| 410 | - ((parameters x).signedBlock x.coefficients (ActualPrimary.commonContext B) x.state l) := | |
| 411 | - parameters_signed_carrier _ _ l (ActualInitialization.primary_tangent_carrier l) | |
| 412 | - | |
| 413 | 218 | /-! ## The same fixed primitives at every valid state -/ |
| 414 | 219 | |
| 415 | 220 | noncomputable def fixedParameters (B N0 : ℕ) : CycleParameters (Index B N0) := |
| @@ -449,13 +254,6 @@ noncomputable def fixedParameters (B N0 : ℕ) : CycleParameters (Index B N0) := | ||
| 449 | 254 | @[simp] theorem fixedParameters_rank (B N0 : ℕ) : |
| 450 | 255 | (fixedParameters B N0).rank = ActualPrimary.rankData := rfl |
| 451 | 256 | |
| 452 | -theorem fixedParameters_compatible (B N0 : ℕ) : | |
| 453 | - ActualCycleExcluded.Compatible ActualCycleGeometry.similarityData (fixedParameters B N0) | |
| 454 | - (ActualPrimary.commonContext B) := | |
| 455 | - ActualCycleGeometry.compatible B | |
| 456 | - (fun l => ActualParticularStageControls.canonicalParameters (swap B N0 l)) | |
| 457 | - ActualSignedStageControls.parameters | |
| 458 | - | |
| 459 | 257 | theorem current_frequency {B N0 : ℕ} (x : CycleState (Index B N0)) (l : Index B N0) |
| 460 | 258 | (H : SameCarrier (x.coefficients.blocks l) (ActualInitialization.tangentBlock l)) (n : ℕ) : |
| 461 | 259 | (x.coefficients.blocks l).frequency n = ChartScales.carrier ActualPrimary.h n := by |
| @@ -492,10 +290,6 @@ theorem invariant_parameters_eq_fixed {B N0 : ℕ} {x : CycleState (Index B N0)} | ||
| 492 | 290 | ActualInitialization.tangentBlock P labelCarrier sigma x) : |
| 493 | 291 | parameters x = fixedParameters B N0 := parameters_eq_fixed x H.carrier |
| 494 | 292 | |
| 495 | -theorem initial_parameters_eq_fixed (B N0 : ℕ) : | |
| 496 | - parameters (ActualInitialization.initialCycleState B N0) = fixedParameters B N0 := | |
| 497 | - parameters_eq_fixed _ ActualInitialization.primary_tangent_carrier | |
| 498 | - | |
| 499 | 293 | theorem fixedParameters_signed_carrier {B N0 : ℕ} (x : CycleState (Index B N0)) |
| 500 | 294 | (c : Context CyclePoint) (l : Index B N0) |
| 501 | 295 | (H : SameCarrier (x.coefficients.blocks l) (ActualInitialization.tangentBlock l)) : |
+0 −22 NavierStokes/ActualCyclePeriodicity.lean View file
| @@ -353,28 +353,6 @@ theorem state_phase_translation (l : Index B N0) (n : ℕ) | ||
| 353 | 353 | simpa only [ActualPrimaryCoherence.chartDeck, pointDeck, Prod.add_def, add_zero] using |
| 354 | 354 | ActualPrimaryCoherence.chart_phase_periodic l.2 l.1 n hn k (z, 0) |
| 355 | 355 | |
| 356 | -include H in | |
| 357 | -/-- The per-label real velocity, pressure, and retained Gaussian field | |
| 358 | -have the same periods as their literal coefficients. -/ | |
| 359 | -theorem fields_ordered (h : Periodic x) (l : Index B N0) (n : ℕ) | |
| 360 | - (hn : ActualWaveRegularityData.Ordered l n) (k : TorusInverse.Frequency) (θ : ℝ) : | |
| 361 | - TranslationOn ActualInitialization.geometry.domain (pointDeck k) | |
| 362 | - (fun z => (x.coefficients.blocks l).oscillation n (z, θ)) ∧ | |
| 363 | - TranslationOn ActualInitialization.geometry.domain (pointDeck k) | |
| 364 | - (fun z => (x.coefficients.blocks l).oscillatoryPressure n (z, θ)) ∧ | |
| 365 | - TranslationOn ActualInitialization.geometry.domain (pointDeck k) | |
| 366 | - (fun z => coefficientField (x.coefficients.blocks l) (x.coefficients.gaussian l) n (z, θ)) := by | |
| 367 | - have hΦ := state_phase_translation H l n hn k | |
| 368 | - refine ⟨?_, ?_, ?_⟩ | |
| 369 | - · intro z hz | |
| 370 | - funext i | |
| 371 | - exact congrArg Complex.re ((h.velocity l n hn k i).field hΦ _ _ θ z hz) | |
| 372 | - · intro z hz | |
| 373 | - exact congrArg Complex.re ((h.pressure l n hn k).field hΦ _ _ θ z hz) | |
| 374 | - · intro z hz | |
| 375 | - funext i | |
| 376 | - exact congrArg Complex.re ((h.gaussian l n hn k i).field hΦ _ _ θ z hz) | |
| 377 | - | |
| 378 | 356 | include H in |
| 379 | 357 | /-- Every actual residual coefficient has the common periods on an ordered band. |
| 380 | 358 | This uses the separate per-label hypotheses, not merely the total velocity. -/ |
+0 −99 NavierStokes/ActualCyclePreservation.lean View file
| @@ -142,16 +142,10 @@ end CurrentState | ||
| 142 | 142 | |
| 143 | 143 | /-! The actual label set is unchanged by every correction. -/ |
| 144 | 144 | |
| 145 | -theorem step_labels {B N0 : ℕ} (x : CycleState (Index B N0)) : | |
| 146 | - (x.step (ActualCycleParameters.fixedParameters B N0) (ActualPrimary.commonContext B)).coefficients.labels = | |
| 147 | - x.coefficients.labels := rfl | |
| 148 | - | |
| 149 | 145 | noncomputable def state (B N0 : ℕ) : ℕ → CycleState (Index B N0) := |
| 150 | 146 | CycleState.iterate (fun _ => ActualCycleParameters.fixedParameters B N0) |
| 151 | 147 | (ActualPrimary.commonContext B) (ActualInitialization.initialCycleState B N0) |
| 152 | 148 | |
| 153 | -theorem state_zero (B N0 : ℕ) : state B N0 0 = ActualInitialization.initialCycleState B N0 := rfl | |
| 154 | - | |
| 155 | 149 | theorem state_succ (B N0 n : ℕ) : |
| 156 | 150 | state B N0 (n+1) = (state B N0 n).step (ActualCycleParameters.fixedParameters B N0) |
| 157 | 151 | (ActualPrimary.commonContext B) := rfl |
| @@ -601,20 +595,6 @@ noncomputable def stepData_of_waves (H : Invariant σ x) | ||
| 601 | 595 | |
| 602 | 596 | end Assembly |
| 603 | 597 | |
| 604 | -/-- In a band with no compatible common cover, the actual incoming | |
| 605 | -source has a zero germ throughout the complete slow cylinder. -/ | |
| 606 | -theorem residualSource_zero_germ_of_not_ordered {B N0 : ℕ} {σ : ℝ} | |
| 607 | - {x : CycleState (Index B N0)} (H : Invariant σ x) | |
| 608 | - (l : Index B N0) (n : ℕ) (hn : ¬ActualWaveRegularityData.Ordered l n) | |
| 609 | - (j : ℤ) {z : Point} (hz : z ∈ (G).domain) : | |
| 610 | - ParticularWaveAssembly.residualSource (ActualPrimary.commonContext B) x.state | |
| 611 | - (x.coefficients.blocks l) (x.coefficients.gaussian l) | |
| 612 | - (x.coefficients.aliasCoefficients l) j n =ᶠ[𝓝 z] fun _ => 0 := by | |
| 613 | - apply HarmonicSourceSupport.residualSource_zero_germ_on _ _ _ _ _ | |
| 614 | - (G).domain_open (ActualCoreSupport.refinedCarrier_closed l) (H.inputSupport l) j n hz | |
| 615 | - intro hc | |
| 616 | - exact hn (ActualCycleParameters.activeLabel_index n l (core_active l n hz hc)) | |
| 617 | - | |
| 618 | 598 | section SignedEquations |
| 619 | 599 | variable {B N0 : ℕ} {σ : ℝ} {x : CycleState (Index B N0)} |
| 620 | 600 | local notation "p" => ActualCycleParameters.fixedParameters B N0 |
| @@ -652,32 +632,6 @@ theorem signed_inputSupport (l : Index B N0) : | ||
| 652 | 632 | |
| 653 | 633 | end SignedEquations |
| 654 | 634 | |
| 655 | -noncomputable def nativeParticularData {B N0 : ℕ} (x : CycleState (Index B N0)) | |
| 656 | - (l : Index B N0) (j : ℤ) := | |
| 657 | - (ActualParticularStageControls.canonicalParameters (l.2,l.1)).copyData | |
| 658 | - (StateReindex.context cycleAssoc.symm (ActualPrimary.commonContext B)) | |
| 659 | - (StateReindex.state cycleAssoc.symm x.state) | |
| 660 | - (StateReindex.block cycleAssoc.symm (x.coefficients.blocks l)) | |
| 661 | - (StateReindex.blockCoefficients cycleAssoc.symm (x.coefficients.gaussian l)) | |
| 662 | - (StateReindex.blockCoefficients cycleAssoc.symm (x.coefficients.aliasCoefficients l)) j | |
| 663 | - | |
| 664 | -theorem nativeParticular_inactive {B N0 : ℕ} {σ : ℝ} {x : CycleState (Index B N0)} | |
| 665 | - (H : Invariant σ x) (hN : ActualCarrierGeometry.geometricThreshold ≤ N0) | |
| 666 | - (l : Index B N0) (n : ℕ) (hn : ¬ActualWaveRegularityData.Ordered l n) (j : ℤ) | |
| 667 | - {z : ActualParticularStageControls.Native} | |
| 668 | - (hz : z ∈ ActualWaveRegularity.nativeDomain ActualWaveRegularity.particularChart | |
| 669 | - ActualPrimary.standardRegion) : | |
| 670 | - (nativeParticularData x l j).common.amplitude n =ᶠ[𝓝 z] fun _ => 0 := by | |
| 671 | - have hp : z.1.1 ∈ ActualCarrierTransport.parameterDomain := hz.1 | |
| 672 | - apply ActualCycleAssembly.common_raw_zero_germ_of_factorization l | |
| 673 | - (ActualCoreSupport.refinedCarrier l) (ActualCycleAssembly.refinedSlowCore l) | |
| 674 | - (ActualCoreSupport.refinedCarrier_closed l) (ActualCycleAssembly.refined_carrier_factorization hN l) | |
| 675 | - (ActualPrimary.commonContext B) x.state (x.coefficients.blocks l) | |
| 676 | - (x.coefficients.gaussian l) (x.coefficients.aliasCoefficients l) (H.inputSupport l) j n hp | |
| 677 | - intro hs | |
| 678 | - have hc := (ActualCycleAssembly.refined_carrier_factorization hN l n z.1.1 hp z.2).mpr hs | |
| 679 | - exact hn (ActualCycleParameters.activeLabel_index n l (core_active l n hp hc)) | |
| 680 | - | |
| 681 | 635 | |
| 682 | 636 | section Factory |
| 683 | 637 | variable {B N0 : ℕ} {σ : ℝ} {x : CycleState (Index B N0)} |
| @@ -752,15 +706,6 @@ theorem stepResult_of_particular (H : Invariant σ x) | ||
| 752 | 706 | CorrectionAnalyticStep.step _ _ _ _ _ _ _ _ _ _ _ _ |
| 753 | 707 | (staticData B) H hσ kappa_small (stepData_of_particular H hN hσ hl P) |
| 754 | 708 | |
| 755 | -theorem afterTemporal_debt_of_particular (H : Invariant σ x) | |
| 756 | - (hN : ActualCarrierGeometry.geometricThreshold ≤ N0) (hσ : 1/5 ≤ σ) | |
| 757 | - (hl : (v).labels = ActualPrimary.activeLabels ActualPrimary.standardRegion B N0) | |
| 758 | - (P : ActualParticularCycleData.Data x σ) : | |
| 759 | - UnweightedClass ActualInitialization.slowStrip (1+σ-2*κ) | |
| 760 | - (debt c (ActualIntermediateDebtBounds.postTemporal x)) := | |
| 761 | - ActualIntermediateDebtBounds.afterTemporal_debt_from_stepData | |
| 762 | - (staticData B) H hσ (P.inputs H hN) (stepData_of_particular H hN hσ hl P) | |
| 763 | - | |
| 764 | 709 | end Factory |
| 765 | 710 | |
| 766 | 711 | /-- The actual run retains analytic bounds, full chart coherence, and |
| @@ -842,11 +787,6 @@ theorem state_coherent (B N0 : ℕ) | ||
| 842 | 787 | ActualCycleCoherence.Coherent (state B N0 j) := |
| 843 | 788 | (state_runInvariant B N0 hN j).coherent |
| 844 | 789 | |
| 845 | -theorem state_periodic (B N0 : ℕ) | |
| 846 | - (hN : ActualCarrierGeometry.geometricThreshold ≤ N0) (j : ℕ) : | |
| 847 | - ActualCyclePeriodicity.Periodic (state B N0 j) := | |
| 848 | - (state_runInvariant B N0 hN j).periodic | |
| 849 | - | |
| 850 | 790 | theorem state_particularData (B N0 : ℕ) |
| 851 | 791 | (hN : ActualCarrierGeometry.geometricThreshold ≤ N0) (j : ℕ) : |
| 852 | 792 | ActualParticularCycleData.Data (state B N0 j) (ActualIterationLedger.sigma j) := |
| @@ -879,28 +819,6 @@ noncomputable def state_stepData (B N0 : ℕ) | ||
| 879 | 819 | (ActualIterationLedger.sigma_admissible j) (state_labels B N0 j) |
| 880 | 820 | (state_particularData B N0 hN j) |
| 881 | 821 | |
| 882 | -theorem state_result (B N0 : ℕ) | |
| 883 | - (hN : ActualCarrierGeometry.geometricThreshold ≤ N0) (j : ℕ) : | |
| 884 | - CorrectionAnalyticStep.StepResult ActualInitialization.geometry ActualPrimary.h | |
| 885 | - (CommonWindow.index ActualPrimary.h) ActualInitialization.axial | |
| 886 | - (fun l => ActualParticularStageControls.canonicalParameters (l.2,l.1)) | |
| 887 | - ActualSignedStageControls.parameters ActualPrimary.rankData (ActualPrimary.commonContext B) | |
| 888 | - (state B N0 j) ActualInitialization.tangentBlock ActualInitialization.envelope | |
| 889 | - ActualCoreSupport.refinedCarrier (σ := ActualIterationLedger.sigma j) («κ» := ChartScales.kappa) := | |
| 890 | - stepResult_of_particular (state_invariant B N0 hN j) hN | |
| 891 | - (ActualIterationLedger.sigma_admissible j) (state_labels B N0 j) | |
| 892 | - (state_particularData B N0 hN j) | |
| 893 | - | |
| 894 | -theorem state_afterTemporal_debt (B N0 : ℕ) | |
| 895 | - (hN : ActualCarrierGeometry.geometricThreshold ≤ N0) (j : ℕ) : | |
| 896 | - UnweightedClass ActualInitialization.slowStrip | |
| 897 | - (1+ActualIterationLedger.sigma j-2*ChartScales.kappa) | |
| 898 | - (debt (ActualPrimary.commonContext B) | |
| 899 | - (ActualIntermediateDebtBounds.postTemporal (state B N0 j))) := | |
| 900 | - afterTemporal_debt_of_particular (state_invariant B N0 hN j) hN | |
| 901 | - (ActualIterationLedger.sigma_admissible j) (state_labels B N0 j) | |
| 902 | - (state_particularData B N0 hN j) | |
| 903 | - | |
| 904 | 822 | theorem state_wave_transport (B N0 : ℕ) |
| 905 | 823 | (hN : ActualCarrierGeometry.geometricThreshold ≤ N0) (j n m k : ℕ) |
| 906 | 824 | (hi : CommonWindow.index ActualPrimary.h n + k = CommonWindow.index ActualPrimary.h m) : |
| @@ -911,22 +829,5 @@ theorem state_wave_transport (B N0 : ℕ) | ||
| 911 | 829 | wave_transport_of_particular (state_runInvariant B N0 hN j) hN |
| 912 | 830 | (ActualIterationLedger.sigma_admissible j) (state_particularData B N0 hN j) n m k hi |
| 913 | 831 | |
| 914 | -theorem state_covariance_moving (B N0 : ℕ) | |
| 915 | - (hN : ActualCarrierGeometry.geometricThreshold ≤ N0) (j : ℕ) : | |
| 916 | - (∀ i k, GaugeMomentBalances.MovingField ActualPrimary.standardRegion | |
| 917 | - ActualInitialization.patch.a ActualInitialization.patch.b | |
| 918 | - (SignedMeanGain.covarianceIncrement (state B N0 j).state.oscillation | |
| 919 | - ((ActualCycleParameters.fixedParameters B N0).particularVelocity (state B N0 j).coefficients | |
| 920 | - (ActualPrimary.commonContext B) (state B N0 j).state) i k)) ∧ | |
| 921 | - (∀ i k, GaugeMomentBalances.MovingField ActualPrimary.standardRegion | |
| 922 | - ActualInitialization.patch.a ActualInitialization.patch.b | |
| 923 | - (SignedMeanGain.covarianceIncrement | |
| 924 | - ((ActualCycleParameters.fixedParameters B N0).afterParticular (state B N0 j).coefficients | |
| 925 | - (ActualPrimary.commonContext B) (state B N0 j).state).oscillation | |
| 926 | - ((ActualCycleParameters.fixedParameters B N0).signedVelocity (state B N0 j).coefficients | |
| 927 | - (ActualPrimary.commonContext B) (state B N0 j).state) i k)) := | |
| 928 | - (state_waveData B N0 hN j).covariance_moving (state_invariant B N0 hN j).oscillationSmooth | |
| 929 | - (state_invariant B N0 hN j).oscillationPeriodic | |
| 930 | - | |
| 931 | 832 | |
| 932 | 833 | end NavierStokes.ActualCyclePreservation |
+0 −13 NavierStokes/ActualCycleResidualBounds.lean View file
| @@ -68,12 +68,6 @@ theorem source_zero (l : Index B N0) (n : ℕ) (i : Fin 3) : (source x l).veloci | ||
| 68 | 68 | theorem source_carrier (l : Index B N0) : CorrectionStep.SameCarrier (source x l) (ActualInitialization.primaryBlock l) := |
| 69 | 69 | ⟨(H.carrier l).frequency, (H.carrier l).phase, (H.carrier l).angular⟩ |
| 70 | 70 | |
| 71 | -theorem source_fullPhase (l : Index B N0) (j : ℤ) (n : ℕ) : | |
| 72 | - fullPhase (source x l) j n = fullPhase (ActualInitialization.primaryBlock l) j n := by | |
| 73 | - funext z | |
| 74 | - simp only [fullPhase, (H.source_carrier l).frequency, (H.source_carrier l).phase, | |
| 75 | - (H.source_carrier l).angular] | |
| 76 | - | |
| 77 | 71 | theorem source_zero_germ (l : Index B N0) (j : ℤ) (n : ℕ) {z : Point} |
| 78 | 72 | (hz : z ∈ ActualInitialization.geometry.domain) (hout : z ∉ labelCarrier l n) : |
| 79 | 73 | (fun y => fun i => (source x l).velocity n i j y) =ᶠ[𝓝 z] fun _ => 0 := by |
| @@ -1144,9 +1138,6 @@ abbrev PhysicalData (B N : ℕ) (s : State Point) (u : VelocityField) (P : Press | ||
| 1144 | 1138 | |
| 1145 | 1139 | noncomputable def fixedLoss (m : ℕ) : ℝ := physicalLoss ActualPrimary.h (2 * ActualPrimary.h) m |
| 1146 | 1140 | |
| 1147 | -theorem fixedLoss_eq_ledger (m : ℕ) : | |
| 1148 | - fixedLoss m = ActualIterationLedger.residualLoss ActualPrimary.h (2 * ActualPrimary.h) m := rfl | |
| 1149 | - | |
| 1150 | 1141 | namespace Invariant |
| 1151 | 1142 | |
| 1152 | 1143 | variable {B N0 N : ℕ} {σ : ℝ} {x : CycleState (Index B N0)} (H : Invariant σ x) |
| @@ -1173,10 +1164,6 @@ theorem residual_jetRate {u : VelocityField} {P : PressureField} | ||
| 1173 | 1164 | |
| 1174 | 1165 | end Invariant |
| 1175 | 1166 | |
| 1176 | -theorem initial_invariant (B N0 : ℕ) : | |
| 1177 | - Invariant (1/5) (ActualInitialization.initialCycleState B N0) := | |
| 1178 | - ActualInitialization.initial_invariant B N0 | |
| 1179 | - | |
| 1180 | 1167 | theorem origin_positive_small : ∀ᶠ w in GlobalBaseError.originPast, |
| 1181 | 1168 | 0 < physicalQ ActualPrimary.h w ∧ physicalQ ActualPrimary.h w ≤ 1 := by |
| 1182 | 1169 | have hs := (GlobalBaseError.originPast_q_tendsto_zero ActualPrimary.outgoing.data.h_pos |
+0 −206 NavierStokes/ActualEndpointInputs.lean View file
| @@ -38,75 +38,6 @@ section InitialModels | ||
| 38 | 38 | variable {DA DP : Type} [NormedAddCommGroup DA] [NormedSpace ℝ DA] |
| 39 | 39 | [NormedAddCommGroup DP] [NormedSpace ℝ DP] {IA KA IP KP : Type*} |
| 40 | 40 | |
| 41 | -/-- The exact base and bounded finite initial potential correction. -/ | |
| 42 | -noncomputable def initialPotentialModel (B N0 N : ℕ) (hN : 4 ≤ N) | |
| 43 | - (WA : PhysicalStageBounds.WaveData h DA IA KA (Fin 3)) : VelocityField := | |
| 44 | - ActualPhysicalStageBounds.initialPotential certificate modulation upper B WA | |
| 45 | - (ActualPhysicalStageBounds.actualInitialTemporalInput B N0 N hN) | |
| 46 | - (ActualPhysicalStageBounds.actualInitialRankInput B N0 N hN) | |
| 47 | - | |
| 48 | -noncomputable def initialDirectModel (B N0 N : ℕ) : VelocityField := | |
| 49 | - (ActualMeanPhysicalData.initialAngularFamily B N0 N).angularField | |
| 50 | - | |
| 51 | -/-- The pressure of the same summed base and the actual finite initial | |
| 52 | -wave and mean-pressure correction. -/ | |
| 53 | -noncomputable def initialPressureModel (B N0 N : ℕ) (hN : 4 ≤ N) | |
| 54 | - (WP : PhysicalStageBounds.WaveData h DP IP KP Unit) : PressureField := | |
| 55 | - fun w => FinalSlowBase.pressure certificate modulation upper B w + | |
| 56 | - ActualPhysicalStageBounds.initialPressureIncrement WP | |
| 57 | - (ActualPhysicalStageBounds.actualInitialPressureInput B N0 N hN) w | |
| 58 | - | |
| 59 | -theorem initialPotentialModel_eq (B N0 N : ℕ) (hN : 4 ≤ N) | |
| 60 | - (WA : PhysicalStageBounds.WaveData h DA IA KA (Fin 3)) (w : SpaceTime) : | |
| 61 | - initialPotentialModel B N0 N hN WA w = | |
| 62 | - TailGaugePotential.finalPotential certificate modulation upper B w + | |
| 63 | - (WA.vector w + (ActualMeanPhysicalData.initialStreamFamily B N0 N).angularField w) := by | |
| 64 | - change _ + (WA.vector w + (ActualMeanPhysicalData.initialTemporalFamily B N0 N).angularField w + | |
| 65 | - (ActualMeanPhysicalData.initialRankFamily B N0 N).angularField w) = _ | |
| 66 | - rw [ActualMeanPhysicalData.initialStream_angularField] | |
| 67 | - simp only [Pi.add_apply] | |
| 68 | - abel | |
| 69 | - | |
| 70 | -theorem initialPressureModel_eq (B N0 N : ℕ) (hN : 4 ≤ N) | |
| 71 | - (WP : PhysicalStageBounds.WaveData h DP IP KP Unit) (w : SpaceTime) : | |
| 72 | - initialPressureModel B N0 N hN WP w = | |
| 73 | - FinalSlowBase.pressure certificate modulation upper B w + | |
| 74 | - (WP.pressure w + (ActualMeanPhysicalData.initialPressureFamily B N0 N).field w) := rfl | |
| 75 | - | |
| 76 | -theorem initialPotentialModel_extension (B N0 N : ℕ) (hN : 4 ≤ N) | |
| 77 | - (WA : PhysicalStageBounds.WaveData h DA IA KA (Fin 3)) | |
| 78 | - {qbig : ℝ} (hq : qbig ≤ ChartScales.Q N) {x : Space} (hx : x 2 ≠ 0) | |
| 79 | - (hqx : EndpointCoordinates.endpointRoot (2 * h) (x 2) < qbig) : | |
| 80 | - Nonempty (JointResidualLimits.OneSidedExtension (initialPotentialModel B N0 N hN WA) x) := by | |
| 81 | - have hx0 : x ≠ 0 := by intro he; exact hx (by simp [he]) | |
| 82 | - have hb := TailGaugePotential.finalPotential_awayExtensions certificate modulation upper B x hx0 | |
| 83 | - have hi := OffplaneJetExtensions.initialIncrement_extension WA | |
| 84 | - (ActualPhysicalStageBounds.actualInitialTemporalInput B N0 N hN) | |
| 85 | - (ActualPhysicalStageBounds.actualInitialRankInput B N0 N hN) | |
| 86 | - outgoing.data.h_pos outgoing.data.h_lt_half (hq.trans (ChartScales.Q_le_one N)) hq hq hx hqx | |
| 87 | - exact OffplaneJetExtensions.extension_add hb hi | |
| 88 | - | |
| 89 | -theorem initialDirectModel_extension (B N0 N : ℕ) (hN : 4 ≤ N) | |
| 90 | - {qbig : ℝ} (hq : qbig ≤ ChartScales.Q N) {x : Space} (hx : x 2 ≠ 0) | |
| 91 | - (hqx : EndpointCoordinates.endpointRoot (2 * h) (x 2) < qbig) : | |
| 92 | - Nonempty (JointResidualLimits.OneSidedExtension (initialDirectModel B N0 N) x) := | |
| 93 | - OffplaneJetExtensions.mean_angular_extension | |
| 94 | - (ActualPhysicalStageBounds.actualInitialAngularInput B N0 N hN) | |
| 95 | - outgoing.data.h_pos outgoing.data.h_lt_half (hq.trans (ChartScales.Q_le_one N)) hq hx hqx | |
| 96 | - | |
| 97 | -theorem initialPressureModel_extension (B N0 N : ℕ) (hN : 4 ≤ N) | |
| 98 | - (WP : PhysicalStageBounds.WaveData h DP IP KP Unit) | |
| 99 | - {qbig : ℝ} (hq : qbig ≤ ChartScales.Q N) {x : Space} (hx : x 2 ≠ 0) | |
| 100 | - (hqx : EndpointCoordinates.endpointRoot (2 * h) (x 2) < qbig) : | |
| 101 | - Nonempty (JointResidualLimits.OneSidedExtension (initialPressureModel B N0 N hN WP) x) := by | |
| 102 | - have hb : Nonempty (JointResidualLimits.OneSidedExtension | |
| 103 | - (FinalSlowBase.pressure certificate modulation upper B) x) := | |
| 104 | - ⟨SlowBaseEndpoint.finalPressureNonzeroAxial certificate modulation upper B hx⟩ | |
| 105 | - have hi := OffplaneJetExtensions.initialPressureIncrement_extension WP | |
| 106 | - (ActualPhysicalStageBounds.actualInitialPressureInput B N0 N hN) | |
| 107 | - outgoing.data.h_pos outgoing.data.h_lt_half (hq.trans (ChartScales.Q_le_one N)) hq hx hqx | |
| 108 | - exact OffplaneJetExtensions.extension_add hb hi | |
| 109 | - | |
| 110 | 41 | end InitialModels |
| 111 | 42 | |
| 112 | 43 | section RawFamilies |
| @@ -114,91 +45,6 @@ section RawFamilies | ||
| 114 | 45 | variable {DA DP : Type} [NormedAddCommGroup DA] [NormedSpace ℝ DA] |
| 115 | 46 | [NormedAddCommGroup DP] [NormedSpace ℝ DP] {IA KA IP KP : Type*} |
| 116 | 47 | |
| 117 | -/-- The physical bounds and exact initial representations supply all | |
| 118 | -three endpoint inputs, including index zero. No extension or endpoint | |
| 119 | -limit is assumed for any raw stage. -/ | |
| 120 | -theorem endpointInputs_of_representations (B N0 N : ℕ) (hN : 4 ≤ N) | |
| 121 | - {qbig : ℝ} (hq : qbig ≤ ChartScales.Q N) | |
| 122 | - (WA : PhysicalStageBounds.WaveData h DA IA KA (Fin 3)) | |
| 123 | - (WP : PhysicalStageBounds.WaveData h DP IP KP Unit) | |
| 124 | - {A V : ℕ → VelocityField} {P : ℕ → PressureField} | |
| 125 | - (E : MixedCandidateAssembly.StageEstimates h qbig A V P) | |
| 126 | - (hA : EqOn (A 0) (initialPotentialModel B N0 N hN WA) (CutStageEstimates.physicalSublevel h qbig)) | |
| 127 | - (hV : EqOn (V 0) (initialDirectModel B N0 N) (CutStageEstimates.physicalSublevel h qbig)) | |
| 128 | - (hP : EqOn (P 0) (initialPressureModel B N0 N hN WP) (CutStageEstimates.physicalSublevel h qbig)) : | |
| 129 | - EndpointInputs h qbig A V P := by | |
| 130 | - have hq1 := hq.trans (ChartScales.Q_le_one N) | |
| 131 | - constructor | |
| 132 | - · intro x hx hqx j | |
| 133 | - cases j with | |
| 134 | - | zero => | |
| 135 | - exact OffplaneJetExtensions.extension_of_eqOn_sublevel outgoing.data.h_pos outgoing.data.h_lt_half | |
| 136 | - hA hx hqx (initialPotentialModel_extension B N0 N hN WA hq hx hqx) | |
| 137 | - | succ j => | |
| 138 | - exact OffplaneJetExtensions.rawStage_extension outgoing.data.h_pos outgoing.data.h_lt_half hq1 | |
| 139 | - E.potential_bound (Nat.succ_le_succ (Nat.zero_le j)) (E.potential_smooth (j + 1)) hx hqx | |
| 140 | - · intro x hx hqx j | |
| 141 | - cases j with | |
| 142 | - | zero => | |
| 143 | - exact OffplaneJetExtensions.extension_of_eqOn_sublevel outgoing.data.h_pos outgoing.data.h_lt_half | |
| 144 | - hV hx hqx (initialDirectModel_extension B N0 N hN hq hx hqx) | |
| 145 | - | succ j => | |
| 146 | - exact OffplaneJetExtensions.rawStage_extension outgoing.data.h_pos outgoing.data.h_lt_half hq1 | |
| 147 | - E.direct_bound (Nat.succ_le_succ (Nat.zero_le j)) (E.direct_smooth (j + 1)) hx hqx | |
| 148 | - · intro x hx hqx j | |
| 149 | - cases j with | |
| 150 | - | zero => | |
| 151 | - exact OffplaneJetExtensions.extension_of_eqOn_sublevel outgoing.data.h_pos outgoing.data.h_lt_half | |
| 152 | - hP hx hqx (initialPressureModel_extension B N0 N hN WP hq hx hqx) | |
| 153 | - | succ j => | |
| 154 | - exact OffplaneJetExtensions.rawStage_extension outgoing.data.h_pos outgoing.data.h_lt_half hq1 | |
| 155 | - E.pressure_bound (Nat.succ_le_succ (Nat.zero_le j)) (E.pressure_smooth (j + 1)) hx hqx | |
| 156 | - | |
| 157 | -/-- Application to the literal raw families expected by | |
| 158 | -`MixedCandidateAssembly.candidate_of_finite_stages`. The remaining | |
| 159 | -equalities identify the produced physical fields, not their endpoint jets. -/ | |
| 160 | -theorem actual_stage_endpoints (B N0 N : ℕ) (hN : 4 ≤ N) | |
| 161 | - {qbig : ℝ} (hq : qbig ≤ ChartScales.Q N) | |
| 162 | - (WA : PhysicalStageBounds.WaveData h DA IA KA (Fin 3)) | |
| 163 | - (WP : PhysicalStageBounds.WaveData h DP IP KP Unit) | |
| 164 | - (initial : MixedAxisPreservation.PotentialStage.{u} h (MixedAxisPreservation.localDomain h qbig)) | |
| 165 | - (stages : ℕ → MixedAxisPreservation.PotentialStage.{u} h (MixedAxisPreservation.localDomain h qbig)) | |
| 166 | - (direct : ℕ → DirectAngularDiagonal.AngularData (LocalAngularDiagonal.localSlowDomain h qbig)) | |
| 167 | - (pInitial : PressureField) (pStages : ℕ → PressureField) | |
| 168 | - (E : MixedCandidateAssembly.StageEstimates h qbig | |
| 169 | - (MixedCandidateAssembly.potentialStages certificate modulation upper B initial stages) | |
| 170 | - (LocalAngularDiagonal.rawSeries direct) | |
| 171 | - (MixedCandidateAssembly.pressureStages certificate modulation upper B pInitial pStages)) | |
| 172 | - (hInitial : EqOn initial.field | |
| 173 | - (fun w => WA.vector w + (ActualMeanPhysicalData.initialStreamFamily B N0 N).angularField w) | |
| 174 | - (CutStageEstimates.physicalSublevel h qbig)) | |
| 175 | - (hDirect : EqOn (LocalAngularDiagonal.rawSeries direct 0) (initialDirectModel B N0 N) | |
| 176 | - (CutStageEstimates.physicalSublevel h qbig)) | |
| 177 | - (hPressure : EqOn pInitial | |
| 178 | - (fun w => WP.pressure w + (ActualMeanPhysicalData.initialPressureFamily B N0 N).field w) | |
| 179 | - (CutStageEstimates.physicalSublevel h qbig)) : | |
| 180 | - EndpointInputs h qbig | |
| 181 | - (MixedCandidateAssembly.potentialStages certificate modulation upper B initial stages) | |
| 182 | - (LocalAngularDiagonal.rawSeries direct) | |
| 183 | - (MixedCandidateAssembly.pressureStages certificate modulation upper B pInitial pStages) := by | |
| 184 | - refine endpointInputs_of_representations B N0 N hN hq WA WP E ?_ hDirect ?_ | |
| 185 | - · intro w hw | |
| 186 | - change TailGaugePotential.finalPotential certificate modulation upper B w + initial.field w = _ | |
| 187 | - rw [initialPotentialModel_eq] | |
| 188 | - exact congrArg (fun z => TailGaugePotential.finalPotential certificate modulation upper B w + z) (hInitial hw) | |
| 189 | - · intro w hw | |
| 190 | - rw [MixedCandidateAssembly.pressureStages_zero, initialPressureModel_eq] | |
| 191 | - exact congrArg (fun z => FinalSlowBase.pressure certificate modulation upper B w + z) (hPressure hw) | |
| 192 | - | |
| 193 | -/-- The chosen direct angular constructor supplies its stage-zero | |
| 194 | -representation by its proved global field identity. -/ | |
| 195 | -theorem direct_initial_representation (B N0 N : ℕ) {qbig : ℝ} (hq : qbig ≤ ChartScales.Q N) | |
| 196 | - (direct : ℕ → DirectAngularDiagonal.AngularData (LocalAngularDiagonal.localSlowDomain h qbig)) | |
| 197 | - (hDirect : direct 0 = ActualMeanStageData.initialAngularData B N0 N qbig hq) : | |
| 198 | - LocalAngularDiagonal.rawSeries direct 0 = initialDirectModel B N0 N := by | |
| 199 | - rw [LocalAngularDiagonal.rawSeries_eq, hDirect, ActualMeanStageData.initialAngularData_field] | |
| 200 | - rfl | |
| 201 | - | |
| 202 | 48 | end RawFamilies |
| 203 | 49 | |
| 204 | 50 | section ActualRun |
| @@ -211,58 +57,6 @@ variable {B N0 N : ℕ} | ||
| 211 | 57 | [NormedAddCommGroup DP0] [NormedSpace ℝ DP0] |
| 212 | 58 | {IP KP IS KS IA0 KA0 IP0 KP0 : Type*} |
| 213 | 59 | |
| 214 | -/-- Direct application to the fixed actual run. Native wave and mean data | |
| 215 | -and their exact physical representations already imply the endpoint | |
| 216 | -inputs; no finite-residual estimate or completed `StageEstimates` record | |
| 217 | -is required for this conclusion. -/ | |
| 218 | -theorem endpointInputs_of_run | |
| 219 | - (R : ActualStageEstimates.RunData B N0) | |
| 220 | - (M : ActualMeanPhysicalData.InitialCycleInput B N0 N | |
| 221 | - (fun _ => ActualCycleParameters.fixedParameters B N0)) | |
| 222 | - (hN : 4 ≤ N) | |
| 223 | - (W : ActualStageEstimates.WaveInputs DP IP KP DS IS KS) | |
| 224 | - (WA : PhysicalStageBounds.WaveData h DA0 IA0 KA0 (Fin 3)) | |
| 225 | - (WP : PhysicalStageBounds.WaveData h DP0 IP0 KP0 Unit) | |
| 226 | - {qbig : ℝ} {A V : ℕ → VelocityField} {P : ℕ → PressureField} | |
| 227 | - (e : ActualStageEstimates.Representations R M hN W qbig WA WP A V P) | |
| 228 | - (hq : qbig ≤ ChartScales.Q N) : EndpointInputs h qbig A V P := by | |
| 229 | - let Cyc := ActualStageEstimates.cycleInputs R M hN W | |
| 230 | - obtain ⟨CA, CV, CP, _, ha, hv, hp⟩ := | |
| 231 | - ActualPhysicalStageBounds.CycleInputs.represented_raw_bounds Cyc | |
| 232 | - (ActualStageEstimates.cycleInputs_metadata R M hN W) | |
| 233 | - (ActualStageEstimates.cycleInputs_validScale R M hN W hq) | |
| 234 | - outgoing.data.h_pos outgoing.data.h_lt_half ActualCyclePreservation.kappa_small | |
| 235 | - A V P e.potential_succ e.direct_succ e.pressure_succ | |
| 236 | - have hsA := e.potential_smooth R M hN W WA WP hq | |
| 237 | - have hsV := e.direct_smooth R M hN W WA WP hq | |
| 238 | - have hsP := e.pressure_smooth R M hN W WA WP hq | |
| 239 | - have hq1 := hq.trans (ChartScales.Q_le_one N) | |
| 240 | - constructor | |
| 241 | - · intro x hx hqx j | |
| 242 | - cases j with | |
| 243 | - | zero => | |
| 244 | - exact OffplaneJetExtensions.extension_of_eqOn_sublevel outgoing.data.h_pos outgoing.data.h_lt_half | |
| 245 | - e.potential_zero hx hqx (initialPotentialModel_extension B N0 N hN WA hq hx hqx) | |
| 246 | - | succ j => | |
| 247 | - exact OffplaneJetExtensions.rawStage_extension outgoing.data.h_pos outgoing.data.h_lt_half hq1 | |
| 248 | - ha (Nat.succ_le_succ (Nat.zero_le j)) (hsA (j + 1)) hx hqx | |
| 249 | - · intro x hx hqx j | |
| 250 | - cases j with | |
| 251 | - | zero => | |
| 252 | - exact OffplaneJetExtensions.extension_of_eqOn_sublevel outgoing.data.h_pos outgoing.data.h_lt_half | |
| 253 | - e.direct_zero hx hqx (initialDirectModel_extension B N0 N hN hq hx hqx) | |
| 254 | - | succ j => | |
| 255 | - exact OffplaneJetExtensions.rawStage_extension outgoing.data.h_pos outgoing.data.h_lt_half hq1 | |
| 256 | - hv (Nat.succ_le_succ (Nat.zero_le j)) (hsV (j + 1)) hx hqx | |
| 257 | - · intro x hx hqx j | |
| 258 | - cases j with | |
| 259 | - | zero => | |
| 260 | - exact OffplaneJetExtensions.extension_of_eqOn_sublevel outgoing.data.h_pos outgoing.data.h_lt_half | |
| 261 | - e.pressure_zero hx hqx (initialPressureModel_extension B N0 N hN WP hq hx hqx) | |
| 262 | - | succ j => | |
| 263 | - exact OffplaneJetExtensions.rawStage_extension outgoing.data.h_pos outgoing.data.h_lt_half hq1 | |
| 264 | - hp (Nat.succ_le_succ (Nat.zero_le j)) (hsP (j + 1)) hx hqx | |
| 265 | - | |
| 266 | 60 | end ActualRun |
| 267 | 61 | |
| 268 | 62 | end NavierStokes.ActualEndpointInputs |
+0 −8 NavierStokes/ActualExteriorPrefix.lean View file
| @@ -148,14 +148,6 @@ theorem prefix_exterior (J : ℕ) {w : SpaceTime} (ht : w ∈ preterminal) | ||
| 148 | 148 | have hw := mem_exteriorDomain.mpr ⟨ht, hq, hout⟩ |
| 149 | 149 | exact ⟨H.velocity_prefix_eqOn J hw, H.pressure_prefix_eqOn J hw⟩ |
| 150 | 150 | |
| 151 | -theorem prefix_germs (J : ℕ) {w : SpaceTime} (hw : w ∈ exteriorDomain Nr) : | |
| 152 | - MixedDiagonalResidual.uncutVelocity A D J =ᶠ[𝓝 w] | |
| 153 | - FinalSlowBase.velocity ActualPrimary.certificate ActualPrimary.modulation ActualPrimary.upper B ∧ | |
| 154 | - DiagonalJetBounds.uncutPrefix P (J + 1) =ᶠ[𝓝 w] | |
| 155 | - FinalSlowBase.pressure ActualPrimary.certificate ActualPrimary.modulation ActualPrimary.upper B := | |
| 156 | - ⟨eqOn_exterior_germ (H.velocity_prefix_eqOn J) hw, | |
| 157 | - eqOn_exterior_germ (H.pressure_prefix_eqOn J) hw⟩ | |
| 158 | - | |
| 159 | 151 | end ExteriorStages |
| 160 | 152 | |
| 161 | 153 | end NavierStokes.ActualExteriorPrefix |
+0 −536 NavierStokes/ActualGaussianCoverage.lean View file
| @@ -26,11 +26,6 @@ theorem normalized_clock {L c : ℝ} (hL : L ≠ 0) (_hc : c ≠ 0) (v : ℝ) : | ||
| 26 | 26 | c * v / L = v / (L / c) := by |
| 27 | 27 | field_simp |
| 28 | 28 | |
| 29 | -theorem slotCutoff_clock {L c : ℝ} (hL : L ≠ 0) (hc : c ≠ 0) (v : ℝ) : | |
| 30 | - GaussianTailFlat.slotCutoff L (c * v) = GaussianTailFlat.slotCutoff (L / c) v := by | |
| 31 | - unfold GaussianTailFlat.slotCutoff | |
| 32 | - rw [normalized_clock hL hc] | |
| 33 | - | |
| 34 | 29 | noncomputable def gaussianRate (lam u : ℝ) : ℝ := |
| 35 | 30 | u * GaussianEnvelope.referenceMinSlope lam u / 2 |
| 36 | 31 | |
| @@ -106,18 +101,6 @@ theorem envelope_uniform_bound {lam0 u0 : ℝ} (_hlam0 : 0 < lam0) (hu0 : 0 < u0 | ||
| 106 | 101 | (ScaledActualParticularControl.length_pos F clock l n).le |
| 107 | 102 | nlinarith |
| 108 | 103 | |
| 109 | -theorem length_uniform_lower {ell : ℝ} | |
| 110 | - (hL : ∀ l n, ell * ChartScales.S n ≤ F.L (l, n)) (l : Label) (n : ℕ) : | |
| 111 | - (ell / clock.upper) * ChartScales.S n ≤ ScaledActualParticularControl.length F clock l n := by | |
| 112 | - have hu : 0 < clock.upper := zero_lt_one.trans_le clock.upper_one | |
| 113 | - have hs : 0 ≤ ChartScales.S n := sq_nonneg _ | |
| 114 | - change (ell / clock.upper) * ChartScales.S n ≤ F.L (l, n) / clock.value l n | |
| 115 | - calc | |
| 116 | - _ = (ell * ChartScales.S n) / clock.upper := by ring | |
| 117 | - _ ≤ F.L (l, n) / clock.upper := div_le_div_of_nonneg_right (hL l n) hu.le | |
| 118 | - _ ≤ F.L (l, n) / clock.value l n := | |
| 119 | - div_le_div_of_nonneg_left (F.L_pos (l, n)).le (clock.value_pos l n) (clock.bounds l n).2 | |
| 120 | - | |
| 121 | 104 | end ScaledEnvelope |
| 122 | 105 | |
| 123 | 106 | /-! ## Compact whole-path zero germs for the genuine Volterra solve -/ |
| @@ -158,9 +141,6 @@ noncomputable def referenceWindow (r L : ℝ) (hr : 0 < r) (hL : 0 < L) : | ||
| 158 | 141 | padding := padding r L |
| 159 | 142 | padding_pos := padding_pos hr hL |
| 160 | 143 | |
| 161 | -theorem referenceWindow_core (r L : ℝ) (hr : 0 < r) (hL : 0 < L) : | |
| 162 | - (referenceWindow r L hr hL).core = WaveEnvelopeTransport.rectangle r L := rfl | |
| 163 | - | |
| 164 | 144 | /-- This cutoff is separate from every dyadic, radial and slow source |
| 165 | 145 | mask. The outer padding is transported together with the Gaussian. -/ |
| 166 | 146 | noncomputable def nativeCutoff (r L : ℝ) (hr : 0 < r) (hL : 0 < L) (c : ℝ) : Plane → ℝ := |
| @@ -315,21 +295,6 @@ theorem sourceFamily_zero_germ | ||
| 315 | 295 | (HarmonicSourceSupport.residualSource_zero_germ_on ctx u b G A hU hK hs j n hx hn).comp_tendsto |
| 316 | 296 | (continuous_fst.fst.prodMk continuous_snd).continuousAt |
| 317 | 297 | |
| 318 | -omit [NormedAddCommGroup P] [NormedSpace ℝ P] in | |
| 319 | -theorem sourceSupport_mono | |
| 320 | - {U : Set (P × Plane)} {K T : ℕ → Set (P × Plane)} | |
| 321 | - {b : CorrectionState.HarmonicBlock (P × Plane)} | |
| 322 | - {G A : HarmonicResidual.BlockCoefficients (P × Plane)} | |
| 323 | - (hs : HarmonicSourceSupport.InputSupportOn U K b G A) (hKT : ∀ n, K n ⊆ T n) : | |
| 324 | - HarmonicSourceSupport.InputSupportOn U T b G A := by | |
| 325 | - have hm {f : HarmonicFields.Coefficients (P × Plane)} {n : ℕ} | |
| 326 | - (hf : HarmonicSourceSupport.NonzeroSupportedOn U (K n) f) : | |
| 327 | - HarmonicSourceSupport.NonzeroSupportedOn U (T n) f := by | |
| 328 | - intro j hj x hx hn | |
| 329 | - exact hf j hj x hx (fun h => hn (hKT n h)) | |
| 330 | - exact ⟨fun n i => hm (hs.velocity n i), fun n => hm (hs.pressure n), | |
| 331 | - fun n i => hm (hs.gaussian n i), fun n i => hm (hs.aliasError n i)⟩ | |
| 332 | - | |
| 333 | 298 | end ActualSource |
| 334 | 299 | |
| 335 | 300 | theorem transported_outer_injective (g : Geometry) (gap : ℕ) {r L c : ℝ} |
| @@ -346,14 +311,6 @@ theorem transported_outer_injective (g : Geometry) (gap : ℕ) {r L c : ℝ} | ||
| 346 | 311 | CopySolveCompatibility.refineGeometry, CopySolveCompatibility.timeGeometry, |
| 347 | 312 | CommonCoverClass.scaledBasis_apply, zero_add, Prod.mk_zero_zero, map_zero, add_zero] |
| 348 | 313 | |
| 349 | -theorem reference_outer_separated (g : Geometry) {r L : ℝ} (hr : 0 < r) (hL : 0 < L) | |
| 350 | - (hinj : InjOn TorusAverages.quotientPoint | |
| 351 | - ((fun z => g.center + g.basis z) '' (referenceWindow r L hr hL).outer)) : | |
| 352 | - WaveEnvelopeTransport.Separated g r L := by | |
| 353 | - apply hinj.mono | |
| 354 | - rintro _ ⟨z, hz, rfl⟩ | |
| 355 | - exact ⟨z, (referenceWindow r L hr hL).core_subset_outer hz, rfl⟩ | |
| 356 | - | |
| 357 | 314 | /-! ## One literal family of scaled solves and cutoffs -/ |
| 358 | 315 | |
| 359 | 316 | section Family |
| @@ -403,23 +360,6 @@ theorem data_cutoff_support (l : Label) (n : ℕ) (k : Frequency) : | ||
| 403 | 360 | (outerFamily F clock r l n) k := |
| 404 | 361 | native_cutoff_support _ (nativeCutoff_support (hr l n) (F.L_pos (l,n)) (clock.value_pos l n)) k |
| 405 | 362 | |
| 406 | -theorem data_central (s : StripData P) (χ : P →L[ℝ] PhaseCalculus.Slow) | |
| 407 | - (φ : (Label × ℕ) → PhaseCalculus.Slow →L[ℝ] PhaseCalculus.Slow) | |
| 408 | - (l : Label) (n : ℕ) (k : Frequency) {x : (P × ℝ) × Plane} | |
| 409 | - (hx : x ∈ analyticPatches F clock reference gap r s χ φ l n k) | |
| 410 | - (hm : |theta F clock l n | |
| 411 | - ((ScaledActualParticularControl.geometry reference gap clock l n).coordinates k x.2).2 - 1 / 2| < 1 / 5) : | |
| 412 | - (data F clock reference gap r hr base tangent ctx u b G A j l).cutoff n k | |
| 413 | - =ᶠ[𝓝 x] fun _ => 1 := by | |
| 414 | - have hrect : (ScaledActualParticularControl.geometry reference gap clock l n).coordinates k x.2 ∈ | |
| 415 | - WaveEnvelopeTransport.rectangle (r l n) (F.L (l,n) / clock.value l n) := | |
| 416 | - ⟨hx.2, hx.1.2.2.1.le, hx.1.2.2.2.le⟩ | |
| 417 | - have hg := nativeCutoff_central_germ (hr l n) (F.L_pos (l,n)) (clock.value_pos l n) | |
| 418 | - hrect (by simpa only [theta_eq, ScaledActualParticularControl.length] using hm) | |
| 419 | - exact hg.comp_tendsto | |
| 420 | - (((ScaledActualParticularControl.geometry reference gap clock l n).coordinates_contDiff k).continuous.comp | |
| 421 | - continuous_snd).continuousAt | |
| 422 | - | |
| 423 | 363 | variable (s : StripData P) (S : Label → ℕ → Set P) (hS : ∀ l n, IsClosed (S l n)) |
| 424 | 364 | (hsupport : ∀ l, HarmonicSourceSupport.InputSupportOn (s.domain ×ˢ univ) |
| 425 | 365 | (sourceRegions F clock reference gap r S l) (b l) (G l) (A l)) |
| @@ -444,88 +384,6 @@ theorem data_amplitude_zero_germ (l : Label) (n : ℕ) (k : Frequency) {x : (P | ||
| 444 | 384 | exact data_source_zero_germ F clock reference gap r hr base tangent ctx u b G A j |
| 445 | 385 | s S hS hsupport l n (x := (x.1, _)) hx (hn v hv) |
| 446 | 386 | |
| 447 | -/-- The source is supported in an actual closed slow core and in the | |
| 448 | -Gaussian support rectangle. On the rest of a padded copy, either the | |
| 449 | -Gaussian cutoff is zero or the entire source path is zero. -/ | |
| 450 | -theorem data_outside (χ : P →L[ℝ] PhaseCalculus.Slow) | |
| 451 | - (φ : (Label × ℕ) → PhaseCalculus.Slow →L[ℝ] PhaseCalculus.Slow) | |
| 452 | - (hinside : ∀ l n p, p ∈ s.domain → p ∈ S l n → φ (l,n) (χ p) ∈ D.carrier (l,n)) | |
| 453 | - (hinj : ∀ l n, InjOn TorusAverages.quotientPoint | |
| 454 | - ((fun z => (reference l n).center + (reference l n).basis z) '' | |
| 455 | - (referenceWindow (r l n) (F.L (l,n)) (hr l n) (F.L_pos (l,n))).outer)) | |
| 456 | - (l : Label) (n : ℕ) (k : Frequency) {x : (P × ℝ) × Plane} | |
| 457 | - (hx : x ∈ (CommonCoverClass.sourceStrip (ActualParticularControl.angleStrip s)).domain) | |
| 458 | - (hk : x ∈ nativeCell (ScaledActualParticularControl.geometry reference gap clock l n) | |
| 459 | - (outerFamily F clock r l n) k) | |
| 460 | - (hnot : x ∉ analyticPatches F clock reference gap r s χ φ l n k) : | |
| 461 | - (((data F clock reference gap r hr base tangent ctx u b G A j l).cutoff n k | |
| 462 | - =ᶠ[𝓝 x] fun _ => 0) ∧ | |
| 463 | - ((data F clock reference gap r hr base tangent ctx u b G A j l).source n | |
| 464 | - =ᶠ[𝓝 x] fun _ => 0)) ∨ | |
| 465 | - (((data F clock reference gap r hr base tangent ctx u b G A j l).amplitude n k | |
| 466 | - =ᶠ[𝓝 x] fun _ => 0) ∧ | |
| 467 | - ((data F clock reference gap r hr base tangent ctx u b G A j l).source n | |
| 468 | - =ᶠ[𝓝 x] fun _ => 0)) := by | |
| 469 | - let g := ScaledActualParticularControl.geometry reference gap clock l n | |
| 470 | - have hi : InjOn TorusAverages.quotientPoint | |
| 471 | - ((fun z => g.center + g.basis z) '' outerCell (r l n) (F.L (l,n)) (clock.value l n)) := | |
| 472 | - transported_outer_injective (reference l n) (gap l n) (hr l n) (F.L_pos (l,n)) | |
| 473 | - (clock.value_pos l n) (hinj l n) | |
| 474 | - have hk' : g.coordinates k x.2 ∈ outerCell (r l n) (F.L (l,n)) (clock.value l n) := hk | |
| 475 | - have hx' : x.1.1 ∈ s.domain := hx | |
| 476 | - by_cases hp : φ (l,n) (χ x.1.1) ∈ D.carrier (l,n) | |
| 477 | - · by_cases hxi : (g.coordinates k x.2).1 ∈ Icc (-(r l n)) (r l n) | |
| 478 | - · have hv : (g.coordinates k x.2).2 ∉ Ioo 0 (ScaledActualParticularControl.length F clock l n) := by | |
| 479 | - intro hv | |
| 480 | - exact hnot ⟨⟨hx, hp, hv⟩, hxi⟩ | |
| 481 | - have hg := nativeCutoff_time_zero_germ (hr l n) (F.L_pos (l,n)) (clock.value_pos l n) hv | |
| 482 | - refine Or.inl ⟨hg.comp_tendsto ((g.coordinates_contDiff k).continuous.comp continuous_snd).continuousAt, ?_⟩ | |
| 483 | - apply data_source_zero_germ F clock reference gap r hr base tangent ctx u b G A j s S hS hsupport l n hx' | |
| 484 | - intro hs | |
| 485 | - obtain ⟨i, hi'⟩ := mem_iUnion.mp hs.2 | |
| 486 | - exact (other_sourceCell_excluded g (hr l n) (F.L_pos (l,n)) (clock.value_pos l n) hi hk' | |
| 487 | - (fun h => hv (sourceCell_time (F.L_pos (l,n)) (clock.value_pos l n) h)) i) hi' | |
| 488 | - · refine Or.inr ⟨?_, ?_⟩ | |
| 489 | - · apply data_amplitude_zero_germ F clock reference gap r hr base tangent ctx u b G A j s S hS hsupport l n k hx' | |
| 490 | - intro v hv hs | |
| 491 | - obtain ⟨i, hi'⟩ := mem_iUnion.mp hs.2 | |
| 492 | - exact path_sourceCell_excluded g (hr l n) (F.L_pos (l,n)) (clock.value_pos l n) hi hk' hxi v hv i hi' | |
| 493 | - · apply data_source_zero_germ F clock reference gap r hr base tangent ctx u b G A j s S hS hsupport l n hx' | |
| 494 | - intro hs | |
| 495 | - obtain ⟨i, hi'⟩ := mem_iUnion.mp hs.2 | |
| 496 | - exact (other_sourceCell_excluded g (hr l n) (F.L_pos (l,n)) (clock.value_pos l n) hi hk' | |
| 497 | - (fun h => hxi h.1) i) hi' | |
| 498 | - · have hp' : x.1.1 ∉ S l n := fun h => hp (hinside l n _ hx' h) | |
| 499 | - refine Or.inr ⟨?_, ?_⟩ | |
| 500 | - · apply data_amplitude_zero_germ F clock reference gap r hr base tangent ctx u b G A j s S hS hsupport l n k hx' | |
| 501 | - intro _ _ hs | |
| 502 | - exact hp' hs.1 | |
| 503 | - · apply data_source_zero_germ F clock reference gap r hr base tangent ctx u b G A j s S hS hsupport l n hx' | |
| 504 | - intro hs | |
| 505 | - exact hp' hs.1 | |
| 506 | - | |
| 507 | -omit hS in | |
| 508 | -theorem data_source_complement (β : ℝ) : | |
| 509 | - LocalizedGaussianBounds.UniformComplementJets | |
| 510 | - (CommonCoverClass.sourceStrip (ActualParticularControl.angleStrip s)) (fun _ _ _ => 1) β | |
| 511 | - (fun l n => nativeCell (ScaledActualParticularControl.geometry reference gap clock l n) | |
| 512 | - (outerFamily F clock r l n)) | |
| 513 | - (fun l => (data F clock reference gap r hr base tangent ctx u b G A j l).source) := by | |
| 514 | - have hlarge l : HarmonicSourceSupport.InputSupportOn (s.domain ×ˢ univ) | |
| 515 | - (fun n => HarmonicSourceSupport.nativeUnion | |
| 516 | - (ScaledActualParticularControl.geometry reference gap clock l n) (outerFamily F clock r l n)) | |
| 517 | - (b l) (G l) (A l) := by | |
| 518 | - apply sourceSupport_mono (hsupport l) | |
| 519 | - intro n x hx | |
| 520 | - obtain ⟨k, hk⟩ := mem_iUnion.mp hx.2 | |
| 521 | - exact mem_iUnion.mpr ⟨k, sourceCell_subset_outer (hr l n) (F.L_pos (l,n)) (clock.value_pos l n) hk⟩ | |
| 522 | - exact LocalizedGaussianBounds.uniform_source_complement_of_harmonicSupport | |
| 523 | - (data F clock reference gap r hr base tangent ctx u b G A j) | |
| 524 | - ctx u b G A (ScaledActualParticularControl.geometry reference gap clock) (outerFamily F clock r) | |
| 525 | - (fun l n => outerCell_compact _ _ _) (s.isOpen_domain.prod isOpen_univ) hlarge | |
| 526 | - (CommonCoverClass.sourceStrip (ActualParticularControl.angleStrip s)) (fun _ hx => ⟨hx, mem_univ _⟩) | |
| 527 | - (fun _ => j) (fun _ => rfl) β | |
| 528 | - | |
| 529 | 387 | end Family |
| 530 | 388 | |
| 531 | 389 | /-! ## Uniform jets of the actual Gaussian clock cutoff -/ |
| @@ -675,51 +533,6 @@ variable {Label P : Type} [NormedAddCommGroup P] [NormedSpace ℝ P] | ||
| 675 | 533 | (s : StripData P) (χ : P →L[ℝ] PhaseCalculus.Slow) |
| 676 | 534 | (φ : (Label × ℕ) → PhaseCalculus.Slow →L[ℝ] PhaseCalculus.Slow) |
| 677 | 535 | |
| 678 | -/-- On the analytic native cell the outer padding is identically one | |
| 679 | -nearby, leaving exactly the normalized Gaussian profile. -/ | |
| 680 | -theorem data_cutoff_gaussian_germ (l : Label) (n : ℕ) (k : Frequency) {x : (P × ℝ) × Plane} | |
| 681 | - (hx : x ∈ analyticPatches F clock reference gap r s χ φ l n k) : | |
| 682 | - (data F clock reference gap r hr base tangent ctx u b G A j l).cutoff n k =ᶠ[𝓝 x] | |
| 683 | - fun y => GaussianTailFlat.profile (theta F clock l n | |
| 684 | - ((ScaledActualParticularControl.geometry reference gap clock l n).coordinates k y.2).2) := by | |
| 685 | - let g := ScaledActualParticularControl.geometry reference gap clock l n | |
| 686 | - have hm : CopySolveCompatibility.nativeTimeMap 0 (clock.value l n) (g.coordinates k x.2) ∈ | |
| 687 | - (referenceWindow (r l n) (F.L (l,n)) (hr l n) (F.L_pos (l,n))).core := by | |
| 688 | - change (g.coordinates k x.2).1 ∈ Icc (-(r l n)) (r l n) ∧ | |
| 689 | - 0 + clock.value l n * (g.coordinates k x.2).2 ∈ Icc 0 (F.L (l,n)) | |
| 690 | - simp only [zero_add] | |
| 691 | - exact And.intro hx.2 (ScaledActualParticularControl.clock_mem F clock | |
| 692 | - ⟨hx.1.2.2.1.le, hx.1.2.2.2.le⟩) | |
| 693 | - have hc : Continuous (fun y : (P × ℝ) × Plane => | |
| 694 | - CopySolveCompatibility.nativeTimeMap 0 (clock.value l n) (g.coordinates k y.2)) := | |
| 695 | - (CopySolveCompatibility.nativeTimeMap_continuous _ _).comp | |
| 696 | - ((g.coordinates_contDiff k).continuous.comp continuous_snd) | |
| 697 | - have he := ((referenceWindow (r l n) (F.L (l,n)) (hr l n) | |
| 698 | - (F.L_pos (l,n))).cutoff_germ hm).comp_tendsto hc.continuousAt | |
| 699 | - filter_upwards [he] with y hy | |
| 700 | - dsimp only [Function.comp_def] at hy | |
| 701 | - change (referenceWindow (r l n) (F.L (l,n)) (hr l n) (F.L_pos (l,n))).cutoff | |
| 702 | - (CopySolveCompatibility.nativeTimeMap 0 (clock.value l n) (g.coordinates k y.2)) * _ = _ | |
| 703 | - rw [hy, one_mul] | |
| 704 | - rfl | |
| 705 | - | |
| 706 | -theorem data_cutoff_jets {u0 : ℝ} (hu0 : 0 < u0) (hu : ∀ l n, F.u (l,n) = u0) | |
| 707 | - (hcost : ∃ K : ℝ, 1 ≤ K ∧ ∃ p : ℕ, ∀ l n, | |
| 708 | - CommonCoverClass.argumentCost (ScaledActualParticularControl.geometry reference gap clock l n) ≤ | |
| 709 | - K * s.slow n ^ p) : | |
| 710 | - UniformLocalJets (CommonCoverClass.sourceStrip (ActualParticularControl.angleStrip s)) | |
| 711 | - (fun _ _ _ => 1) 0 (analyticPatches F clock reference gap r s χ φ) | |
| 712 | - (fun l => (data F clock reference gap r hr base tangent ctx u b G A j l).cutoff) := by | |
| 713 | - have hj := gaussian_clock_uniform_jets F clock | |
| 714 | - (CommonCoverClass.sourceStrip (ActualParticularControl.angleStrip s)) | |
| 715 | - (analyticPatches F clock reference gap r s χ φ) | |
| 716 | - (ScaledActualParticularControl.geometry reference gap clock) hu0 hu hcost | |
| 717 | - apply LocalizedWaveBounds.LocalClass.to_uniformLocalJets | |
| 718 | - apply (LocalizedWaveBounds.LocalClass.of_uniformLocalJets (fun _ _ _ _ => zero_le_one) hj).congr_germ | |
| 719 | - intro n li x hx hi | |
| 720 | - exact (data_cutoff_gaussian_germ F clock reference gap r hr base tangent ctx u b G A j | |
| 721 | - s χ φ li.1 n li.2 hi).symm | |
| 722 | - | |
| 723 | 536 | end CutoffJets |
| 724 | 537 | |
| 725 | 538 | /-! ## The actual complex solve inherits the modal amplitude estimates -/ |
| @@ -729,28 +542,6 @@ section ModalAmplitude | ||
| 729 | 542 | variable {P Label : Type} [NormedAddCommGroup P] [NormedSpace ℝ P] |
| 730 | 543 | [Countable Label] [Nonempty Label] |
| 731 | 544 | |
| 732 | -theorem complex_amplitude_uniform_jets {s : StripData (P × Plane)} {α : ℝ} | |
| 733 | - (t : Label → ℕ → TangentData P ProblemStatement.Space) | |
| 734 | - (source : Label → ℕ → P × Plane → ComplexVector) | |
| 735 | - (g : Label → ℕ → Geometry) (L : Label → ℕ → ℝ) (hL : ∀ l n, 0 < L l n) | |
| 736 | - (envelope : Label → ℕ → ℝ → ℝ) (W : Label → ℕ → P × Plane → ℝ) | |
| 737 | - (d : Label → ℕ → PrimaryODE.FrameData (P × ℝ)) (harmonic : ℤ) | |
| 738 | - (C : Label → ℕ → Frequency → Set (P × Plane)) | |
| 739 | - (hr : ParticularCopyBounds.UniformModalControl s α d | |
| 740 | - (fun l n => realData (t l n) (source l n)) harmonic g L envelope C) | |
| 741 | - (hi : ParticularCopyBounds.UniformModalControl s α d | |
| 742 | - (fun l n => imagData (t l n) (source l n)) harmonic g L envelope C) | |
| 743 | - (hW : ∀ l n x, x ∈ s.domain → 0 ≤ W l n x) | |
| 744 | - (hcompare : ∀ l n k x, x ∈ s.domain → x ∈ C l n k → | |
| 745 | - envelope l n ((g l n).coordinates k x.2).2 ≤ W l n x) : | |
| 746 | - UniformLocalJets s (fun l n x => Real.sqrt (s.zeta x) * W l n x) α C | |
| 747 | - (fun l n k => complexCopyVelocity (t l n) (source l n) (g l n) (hL l n).le k) := by | |
| 748 | - have hw l n x hx := mul_nonneg (Real.sqrt_nonneg (s.zeta x)) (hW l n x hx) | |
| 749 | - have hreal := LocalizedWaveBounds.LocalClass.of_uniformLocalJets hw (hr.localJets hL W hcompare) | |
| 750 | - have himag := LocalizedWaveBounds.LocalClass.of_uniformLocalJets hw (hi.localJets hL W hcompare) | |
| 751 | - exact ((hreal.map CurlClassBounds.complexify).add | |
| 752 | - (himag.map ((complexScale Complex.I).comp CurlClassBounds.complexify))).to_uniformLocalJets | |
| 753 | - | |
| 754 | 545 | end ModalAmplitude |
| 755 | 546 | |
| 756 | 547 | /-! ## The all-powers bound for the assembled, actual Gaussian error -/ |
| @@ -763,31 +554,6 @@ variable {Label P : Type} [NormedAddCommGroup P] [NormedSpace ℝ P] | ||
| 763 | 554 | (reference : Label → ℕ → Geometry) (gap : Label → ℕ → ℕ) |
| 764 | 555 | (r : Label → ℕ → ℝ) (hr : ∀ l n, 0 < r l n) |
| 765 | 556 | |
| 766 | -noncomputable def fieldEnvelope : Label → ℕ → (P × ℝ) × Plane → ℝ := | |
| 767 | - ActualParticularControl.groupedEnvelope | |
| 768 | - (ScaledActualParticularControl.geometry reference gap clock) r | |
| 769 | - (ScaledActualParticularControl.length F clock) (ScaledActualParticularControl.envelope F clock) | |
| 770 | - | |
| 771 | -omit [NormedAddCommGroup P] [NormedSpace ℝ P] in | |
| 772 | -theorem fieldEnvelope_nonneg (l : Label) (n : ℕ) (x : (P × ℝ) × Plane) : | |
| 773 | - 0 ≤ fieldEnvelope F clock reference gap r l n x := | |
| 774 | - WaveEnvelopeTransport.copyEnvelope_nonneg _ _ _ (fun v => | |
| 775 | - (referenceP_pos (F.lam (l,n)) (F.u (l,n)) (F.L (l,n)) (clock.value l n * v)).le) x.2 | |
| 776 | - | |
| 777 | -theorem fieldEnvelope_eq (s : StripData P) (χ : P →L[ℝ] PhaseCalculus.Slow) | |
| 778 | - (φ : (Label × ℕ) → PhaseCalculus.Slow →L[ℝ] PhaseCalculus.Slow) | |
| 779 | - (hinj : ∀ l n, InjOn TorusAverages.quotientPoint | |
| 780 | - ((fun z => (reference l n).center + (reference l n).basis z) '' | |
| 781 | - (referenceWindow (r l n) (F.L (l,n)) (hr l n) (F.L_pos (l,n))).outer)) | |
| 782 | - {l : Label} {n : ℕ} {k : Frequency} {x : (P × ℝ) × Plane} | |
| 783 | - (hx : x ∈ analyticPatches F clock reference gap r s χ φ l n k) : | |
| 784 | - fieldEnvelope F clock reference gap r l n x = | |
| 785 | - ScaledActualParticularControl.envelope F clock l n | |
| 786 | - ((ScaledActualParticularControl.geometry reference gap clock l n).coordinates k x.2).2 := | |
| 787 | - ScaledActualParticularControl.patch_envelope (ActualParticularControl.angleStrip s) F | |
| 788 | - (χ.comp (ContinuousLinearMap.fst ℝ P ℝ)) φ clock reference gap r | |
| 789 | - (fun l n => reference_outer_separated _ (hr l n) (F.L_pos (l,n)) (hinj l n)) hx | |
| 790 | - | |
| 791 | 557 | noncomputable def cells |
| 792 | 558 | (hinj : ∀ l n, InjOn TorusAverages.quotientPoint |
| 793 | 559 | ((fun z => (reference l n).center + (reference l n).basis z) '' |
| @@ -807,84 +573,6 @@ variable [Countable Label] [Nonempty Label] | ||
| 807 | 573 | (s : StripData P) (χ : P →L[ℝ] PhaseCalculus.Slow) |
| 808 | 574 | (φ : (Label × ℕ) → PhaseCalculus.Slow →L[ℝ] PhaseCalculus.Slow) |
| 809 | 575 | |
| 810 | -/-- Every real power is gained by the literal global Gaussian error, | |
| 811 | -including its uncovered-source term. The source support assumptions are | |
| 812 | -on the incoming harmonic coefficients; all output zero germs and all | |
| 813 | -cutoff estimates are derived. The modal controls are precisely those | |
| 814 | -constructed by `ScaledActualParticularControl`. -/ | |
| 815 | -theorem globalGaussian_all_gains | |
| 816 | - (frame : Label → ℕ → PrimaryODE.FrameData ((P × ℝ) × ℝ)) | |
| 817 | - {α lam0 u0 ell : ℝ} (hlam0 : 0 < lam0) (hu0 : 0 < u0) (hell : 0 < ell) | |
| 818 | - (hlam : ∀ l n, lam0 ≤ F.lam (l,n)) (hu : ∀ l n, F.u (l,n) = u0) | |
| 819 | - (hL : ∀ l n, ell * ChartScales.S n ≤ F.L (l,n)) | |
| 820 | - (hinj : ∀ l n, InjOn TorusAverages.quotientPoint | |
| 821 | - ((fun z => (reference l n).center + (reference l n).basis z) '' | |
| 822 | - (referenceWindow (r l n) (F.L (l,n)) (hr l n) (F.L_pos (l,n))).outer)) | |
| 823 | - (S : Label → ℕ → Set P) (hS : ∀ l n, IsClosed (S l n)) | |
| 824 | - (hsupport : ∀ l, HarmonicSourceSupport.InputSupportOn (s.domain ×ˢ univ) | |
| 825 | - (sourceRegions F clock reference gap r S l) (b l) (G l) (A l)) | |
| 826 | - (hinside : ∀ l n p, p ∈ s.domain → p ∈ S l n → φ (l,n) (χ p) ∈ D.carrier (l,n)) | |
| 827 | - (hreal : ParticularCopyBounds.UniformModalControl | |
| 828 | - (CommonCoverClass.sourceStrip (ActualParticularControl.angleStrip s)) α frame | |
| 829 | - (fun l n => realData (tangent l n) (ParticularWaveAssembly.sourceFamily ctx u (b l) (G l) (A l) j n)) | |
| 830 | - j (ScaledActualParticularControl.geometry reference gap clock) | |
| 831 | - (ScaledActualParticularControl.length F clock) (ScaledActualParticularControl.envelope F clock) | |
| 832 | - (analyticPatches F clock reference gap r s χ φ)) | |
| 833 | - (himag : ParticularCopyBounds.UniformModalControl | |
| 834 | - (CommonCoverClass.sourceStrip (ActualParticularControl.angleStrip s)) α frame | |
| 835 | - (fun l n => imagData (tangent l n) (ParticularWaveAssembly.sourceFamily ctx u (b l) (G l) (A l) j n)) | |
| 836 | - j (ScaledActualParticularControl.geometry reference gap clock) | |
| 837 | - (ScaledActualParticularControl.length F clock) (ScaledActualParticularControl.envelope F clock) | |
| 838 | - (analyticPatches F clock reference gap r s χ φ)) | |
| 839 | - (hsource : UniformLocalJets | |
| 840 | - (CommonCoverClass.sourceStrip (ActualParticularControl.angleStrip s)) | |
| 841 | - (fun l n x => Real.sqrt (s.zeta x.1.1) * fieldEnvelope F clock reference gap r l n x) α | |
| 842 | - (analyticPatches F clock reference gap r s χ φ) | |
| 843 | - (fun l n _ => ParticularWaveAssembly.sourceFamily ctx u (b l) (G l) (A l) j n)) | |
| 844 | - (dirs : LinearWaveBounds.GraphDirections ((P × ℝ) × Plane)) | |
| 845 | - (hfast : BandBound (CommonCoverClass.sourceStrip (ActualParticularControl.angleStrip s)) 0 dirs.fastScale) | |
| 846 | - (edges : GaussianTailFlat.FlatEdges (CommonCoverClass.sourceStrip (ActualParticularControl.angleStrip s))) | |
| 847 | - (scales : GaussianTailFlat.BandScaleControl (CommonCoverClass.sourceStrip (ActualParticularControl.angleStrip s))) | |
| 848 | - (β : ℝ) : | |
| 849 | - LabelSumBounds.UniformClass (CommonCoverClass.sourceStrip (ActualParticularControl.angleStrip s)) | |
| 850 | - (fun _ _ _ => 1) β | |
| 851 | - (fun l => (data F clock reference gap r hr base tangent ctx u b G A j l).globalGaussian dirs) := by | |
| 852 | - have hw l n x (_ : x ∈ (CommonCoverClass.sourceStrip (ActualParticularControl.angleStrip s)).domain) := | |
| 853 | - fieldEnvelope_nonneg F clock reference gap r l n x | |
| 854 | - have he l n k x (_ : x ∈ (CommonCoverClass.sourceStrip (ActualParticularControl.angleStrip s)).domain) | |
| 855 | - (hx : x ∈ analyticPatches F clock reference gap r s χ φ l n k) := | |
| 856 | - (fieldEnvelope_eq F clock reference gap r hr s χ φ hinj hx).ge | |
| 857 | - have hamp := complex_amplitude_uniform_jets tangent | |
| 858 | - (fun l => ParticularWaveAssembly.sourceFamily ctx u (b l) (G l) (A l) j) | |
| 859 | - (ScaledActualParticularControl.geometry reference gap clock) | |
| 860 | - (ScaledActualParticularControl.length F clock) (ScaledActualParticularControl.length_pos F clock) | |
| 861 | - (ScaledActualParticularControl.envelope F clock) (fieldEnvelope F clock reference gap r) | |
| 862 | - frame j (analyticPatches F clock reference gap r s χ φ) hreal himag hw he | |
| 863 | - apply LocalizedGaussianBounds.uniform_globalGaussian_all_gains_from_supported_native | |
| 864 | - (data F clock reference gap r hr base tangent ctx u b G A j) | |
| 865 | - (cells F clock reference gap r hr hinj) | |
| 866 | - (data_cutoff_support F clock reference gap r hr base tangent ctx u b G A j) | |
| 867 | - dirs (analyticPatches F clock reference gap r s χ φ) hw | |
| 868 | - (data_cutoff_jets F clock reference gap r hr base tangent ctx u b G A j s χ φ hu0 hu | |
| 869 | - ⟨hreal.constant, hreal.constant_ge_one, hreal.coordinate_power, hreal.coordinate_bound⟩) | |
| 870 | - hfast hamp hsource edges scales | |
| 871 | - (fun l n k x => theta F clock l n | |
| 872 | - ((ScaledActualParticularControl.geometry reference gap clock l n).coordinates k x.2).2) | |
| 873 | - (ScaledActualParticularControl.length F clock) (ScaledActualParticularControl.length_pos F clock) | |
| 874 | - (ell / clock.upper) (div_pos hell (zero_lt_one.trans_le clock.upper_one)) | |
| 875 | - (length_uniform_lower F clock hL) | |
| 876 | - (mul_pos (gaussianRate_pos hlam0 hu0) clock.lower_pos) | |
| 877 | - ?_ ?_ ?_ β | |
| 878 | - (data_source_complement F clock reference gap r hr base tangent ctx u b G A j s S hsupport β) | |
| 879 | - · intro l n k x hx hc | |
| 880 | - rw [fieldEnvelope_eq F clock reference gap r hr s χ φ hinj hc] | |
| 881 | - exact envelope_uniform_bound F clock hlam0 hu0 hlam hu l n ⟨hc.1.2.2.1.le, hc.1.2.2.2.le⟩ | |
| 882 | - · intro l n k x hx hc hm | |
| 883 | - exact Or.inl (data_central F clock reference gap r hr base tangent ctx u b G A j s χ φ l n k hc hm) | |
| 884 | - · intro l n k x hx hk hn | |
| 885 | - exact data_outside F clock reference gap r hr base tangent ctx u b G A j s S hS hsupport | |
| 886 | - χ φ hinside hinj l n k hx hk hn | |
| 887 | - | |
| 888 | 576 | end AllGains |
| 889 | 577 | |
| 890 | 578 | section CurrentSourceJets |
| @@ -892,36 +580,6 @@ section CurrentSourceJets | ||
| 892 | 580 | variable {Label P : Type} [NormedAddCommGroup P] [NormedSpace ℝ P] |
| 893 | 581 | {D : PhaseJetBounds.Domain (Label × ℕ) PhaseCalculus.Slow} |
| 894 | 582 | |
| 895 | -/-- The local source estimate consumed above follows from the actual | |
| 896 | -current harmonic residual classes, with the angular variable inserted | |
| 897 | -by the literal source-family definition. -/ | |
| 898 | -theorem source_jets_of_residual_classes | |
| 899 | - (F : PhaseConstruction D) (clock : ActualSignedControl.PositiveScale Label) | |
| 900 | - (reference : Label → ℕ → Geometry) (gap : Label → ℕ → ℕ) (r : Label → ℕ → ℝ) | |
| 901 | - (s : StripData P) (χ : P →L[ℝ] PhaseCalculus.Slow) | |
| 902 | - (φ : (Label × ℕ) → PhaseCalculus.Slow →L[ℝ] PhaseCalculus.Slow) | |
| 903 | - (ctx : CorrectionState.Context (P × Plane)) (u : CorrectionState.State (P × Plane)) | |
| 904 | - (b : Label → CorrectionState.HarmonicBlock (P × Plane)) | |
| 905 | - (G A : Label → HarmonicResidual.BlockCoefficients (P × Plane)) (j : ℤ) (α : ℝ) | |
| 906 | - (h : ∀ i : Fin 3, LabelSumBounds.UniformWaveClass (CommonCoverClass.sourceStrip s) | |
| 907 | - (ActualParticularControl.groupedEnvelope | |
| 908 | - (ScaledActualParticularControl.geometry reference gap clock) r | |
| 909 | - (ScaledActualParticularControl.length F clock) (ScaledActualParticularControl.envelope F clock)) α | |
| 910 | - (fun l n x => (HarmonicResidual.residualBlock ctx u (b l) (G l) (A l)).velocity n i j x)) : | |
| 911 | - UniformLocalJets (CommonCoverClass.sourceStrip (ActualParticularControl.angleStrip s)) | |
| 912 | - (fun l n x => Real.sqrt (s.zeta x.1.1) * fieldEnvelope F clock reference gap r l n x) α | |
| 913 | - (analyticPatches F clock reference gap r s χ φ) | |
| 914 | - (fun l n _ => ParticularWaveAssembly.sourceFamily ctx u (b l) (G l) (A l) j n) := by | |
| 915 | - have hs := ActualParticularControl.sourceFamily_uniform s | |
| 916 | - (ScaledActualParticularControl.geometry reference gap clock) r | |
| 917 | - (ScaledActualParticularControl.length F clock) (ScaledActualParticularControl.envelope F clock) | |
| 918 | - α ctx u b G A (fun _ => j) h | |
| 919 | - refine ⟨fun l n _ x hx _ => (hs.smooth l n).contDiffAt | |
| 920 | - ((CommonCoverClass.sourceStrip (ActualParticularControl.angleStrip s)).isOpen_domain.mem_nhds hx), ?_⟩ | |
| 921 | - intro m | |
| 922 | - obtain ⟨C, hC, p, hb⟩ := hs.bounds m | |
| 923 | - exact ⟨C, hC, p, fun l n _ x hx _ k hk => hb l n x hx k hk⟩ | |
| 924 | - | |
| 925 | 583 | end CurrentSourceJets |
| 926 | 584 | |
| 927 | 585 | /-! ## Bindings to the selected reference window and primary family -/ |
| @@ -929,24 +587,6 @@ end CurrentSourceJets | ||
| 929 | 587 | noncomputable def referenceCutoff (r L : ℝ) (hr : 0 < r) (hL : 0 < L) (z : Plane) : ℝ := |
| 930 | 588 | (referenceWindow r L hr hL).cutoff z * GaussianTailFlat.slotCutoff L z.2 |
| 931 | 589 | |
| 932 | -theorem nativeCutoff_eq_reference_transport {r L c : ℝ} (hr : 0 < r) (hL : 0 < L) : | |
| 933 | - nativeCutoff r L hr hL c = referenceCutoff r L hr hL ∘ | |
| 934 | - CopySolveCompatibility.nativeTimeMap 0 c := by | |
| 935 | - funext z | |
| 936 | - simp only [nativeCutoff, referenceCutoff, Function.comp_def, | |
| 937 | - CopySolveCompatibility.nativeTimeMap, zero_add] | |
| 938 | - | |
| 939 | -theorem referenceCutoff_support {r L : ℝ} (hr : 0 < r) (hL : 0 < L) : | |
| 940 | - support (referenceCutoff r L hr hL) ⊆ univ ×ˢ Icc 0 L := by | |
| 941 | - intro z hz | |
| 942 | - have hg : GaussianTailFlat.profile (z.2 / L) ≠ 0 := (mul_ne_zero_iff.mp hz).2 | |
| 943 | - have hd : |z.2 / L - 1 / 2| < 1 / 3 := by | |
| 944 | - exact lt_of_not_ge (fun h => hg (GaussianTailFlat.profile_zero h)) | |
| 945 | - have hlo : 0 ≤ z.2 / L := by linarith [(abs_lt.mp hd).1] | |
| 946 | - have hhi : z.2 / L ≤ 1 := by linarith [(abs_lt.mp hd).2] | |
| 947 | - exact ⟨mem_univ _, by simpa only [zero_mul] using (le_div_iff₀ hL).mp hlo, | |
| 948 | - (div_le_one hL).mp hhi⟩ | |
| 949 | - | |
| 950 | 590 | theorem mem_sourceCell_clock {r L c : ℝ} (hc : 0 < c) (z : Plane) : |
| 951 | 591 | z ∈ sourceCell r L c ↔ |
| 952 | 592 | CopySolveCompatibility.nativeTimeMap 0 c z ∈ sourceCell r L 1 := by |
| @@ -965,10 +605,6 @@ variable {D h : ℝ} {vr vt : Plane} | ||
| 965 | 605 | theorem actual_slot_length_pos (m : ℕ) : 0 < ChartScales.slotLength sys.radius h m := |
| 966 | 606 | div_pos (mul_pos (by norm_num) sys.radius_pos) (ChartScales.timeCoefficient_pos h m) |
| 967 | 607 | |
| 968 | -theorem referenceWindow_eq_actual (m : ℕ) : | |
| 969 | - referenceWindow sys.radius (ChartScales.slotLength sys.radius h m) sys.radius_pos | |
| 970 | - (actual_slot_length_pos sys m) = ActualSignedGeometry.clockWindow sys m := rfl | |
| 971 | - | |
| 972 | 608 | /-- The actual slot system supplies the geometric injectivity needed |
| 973 | 609 | for finite periodization cells, including their outer padding. -/ |
| 974 | 610 | theorem actual_outer_injective (hh : 0 ≤ h) {l : SlotColoring.Label} (hl : 4 ≤ l.1) |
| @@ -980,16 +616,6 @@ theorem actual_outer_injective (hh : 0 ≤ h) {l : SlotColoring.Label} (hl : 4 | ||
| 980 | 616 | (actual_slot_length_pos sys l.1)).outer) := |
| 981 | 617 | ActualSignedGeometry.clockWindow_injective sys hdet hh hl gap |
| 982 | 618 | |
| 983 | -theorem actual_scaled_slot_lower (hh : 0 ≤ h) {m : ℕ} (hm : 4 ≤ m) | |
| 984 | - {c upper : ℝ} (hc : 0 < c) (hcU : c ≤ upper) : | |
| 985 | - (2 * sys.radius / upper) * ChartScales.S m ≤ ChartScales.slotLength sys.radius h m / c := by | |
| 986 | - have hU := hc.trans_le hcU | |
| 987 | - calc | |
| 988 | - _ = (2 * sys.radius * ChartScales.S m) / upper := by ring | |
| 989 | - _ ≤ ChartScales.slotLength sys.radius h m / upper := | |
| 990 | - div_le_div_of_nonneg_right (ChartScales.slotLength_bounds sys.radius h sys.radius_pos.le hh hm).1 hU.le | |
| 991 | - _ ≤ _ := div_le_div_of_nonneg_left (actual_slot_length_pos sys m).le hc hcU | |
| 992 | - | |
| 993 | 619 | end ActualWindow |
| 994 | 620 | |
| 995 | 621 | section ActualParametersAndMasks |
| @@ -1027,83 +653,8 @@ noncomputable def actualSourceCore (L : PrimaryGeometryAssembly.Index W a.N) : S | ||
| 1027 | 653 | actualSlowCore H v a L ×ˢ sourceCell r0 |
| 1028 | 654 | (ChartScales.slotLength r0 profile.data.h (BaseChartJets.cellBand L)) 1 |
| 1029 | 655 | |
| 1030 | -theorem actualSourceCore_closed (L : PrimaryGeometryAssembly.Index W a.N) : | |
| 1031 | - IsClosed (actualSourceCore H v a L) := | |
| 1032 | - (actualSlowCore_closed H v a L).prod (sourceCell_compact _ _ _).isClosed | |
| 1033 | - | |
| 1034 | -include hr0 in | |
| 1035 | -/-- The full actual source mask retains all its factors. Its support is | |
| 1036 | -contained in the closed slow core and the Gaussian support rectangle; | |
| 1037 | -none of the dyadic or radial factors is asserted to equal one. -/ | |
| 1038 | -theorem actualMask_support (L : PrimaryGeometryAssembly.Index W a.N) : | |
| 1039 | - support (ActualSignedGeometry.nativeCutoff H v a L) ⊆ actualSourceCore H v a L := by | |
| 1040 | - intro x hx | |
| 1041 | - change ActualSignedGeometry.nativeCutoff H v a L x ≠ 0 at hx | |
| 1042 | - simp only [ActualSignedGeometry.nativeCutoff, mul_ne_zero_iff] at hx | |
| 1043 | - have hL : 0 < ChartScales.slotLength r0 profile.data.h (BaseChartJets.cellBand L) := | |
| 1044 | - div_pos (mul_pos (by norm_num) hr0) (ChartScales.timeCoefficient_pos _ _) | |
| 1045 | - have hs : x.1 ∈ actualSlowCore H v a L := subset_closure hx.1.1.2 | |
| 1046 | - have htrans : x.2.1 ∈ Ioo (-r0) r0 := by | |
| 1047 | - rw [← PartitionedCovariance.cutoff_support hr0] | |
| 1048 | - exact hx.1.2 | |
| 1049 | - have hg : |x.2.2 / ChartScales.slotLength r0 profile.data.h (BaseChartJets.cellBand L) - 1 / 2| < 1 / 3 := | |
| 1050 | - lt_of_not_ge (fun h => hx.2 (GaussianTailFlat.profile_zero h)) | |
| 1051 | - have hlow : (1 / 6 : ℝ) < x.2.2 / ChartScales.slotLength r0 profile.data.h (BaseChartJets.cellBand L) := by | |
| 1052 | - linarith [(abs_lt.mp hg).1] | |
| 1053 | - have hhigh : x.2.2 / ChartScales.slotLength r0 profile.data.h (BaseChartJets.cellBand L) < 5 / 6 := by | |
| 1054 | - linarith [(abs_lt.mp hg).2] | |
| 1055 | - refine ⟨hs, ⟨htrans.1.le, htrans.2.le⟩, ?_, ?_⟩ | |
| 1056 | - · change (ChartScales.slotLength r0 profile.data.h (BaseChartJets.cellBand L) / 1) / 6 ≤ x.2.2 | |
| 1057 | - simpa only [div_eq_mul_inv, inv_one, mul_one, one_mul, mul_comm] using (lt_div_iff₀ hL).mp hlow |>.le | |
| 1058 | - · have ht := ((div_lt_iff₀ hL).mp hhigh).le | |
| 1059 | - change x.2.2 ≤ 5 * (ChartScales.slotLength r0 profile.data.h (BaseChartJets.cellBand L) / 1) / 6 | |
| 1060 | - simpa only [div_eq_mul_inv, inv_one, mul_one, one_mul, mul_comm, mul_assoc, mul_left_comm] using ht | |
| 1061 | - | |
| 1062 | -include hr0 in | |
| 1063 | -theorem actualMask_tsupport (L : PrimaryGeometryAssembly.Index W a.N) : | |
| 1064 | - tsupport (ActualSignedGeometry.nativeCutoff H v a L) ⊆ actualSourceCore H v a L := | |
| 1065 | - closure_minimal (actualMask_support H v a hr0 L) (actualSourceCore_closed H v a L) | |
| 1066 | - | |
| 1067 | -include hr0 in | |
| 1068 | -theorem actualMask_jet_support (L : PrimaryGeometryAssembly.Index W a.N) (m : ℕ) : | |
| 1069 | - tsupport (iteratedFDeriv ℝ m (ActualSignedGeometry.nativeCutoff H v a L)) ⊆ actualSourceCore H v a L := | |
| 1070 | - (tsupport_iteratedFDeriv_subset (𝕜 := ℝ) m).trans (actualMask_tsupport H v a hr0 L) | |
| 1071 | - | |
| 1072 | 656 | variable {P : Type} [NormedAddCommGroup P] [NormedSpace ℝ P] |
| 1073 | 657 | |
| 1074 | -include hr0 in | |
| 1075 | -/-- Clock transport of the full actual mask supplies the exact closed | |
| 1076 | -source region used above. The spatial mask remains part of the source. -/ | |
| 1077 | -theorem actualMask_transported_support (L : PrimaryGeometryAssembly.Index W a.N) | |
| 1078 | - (χ : P →L[ℝ] PhaseCalculus.Slow) (g : Geometry) (k : Frequency) {c : ℝ} (hc : 0 < c) : | |
| 1079 | - support (fun x : P × Plane => ActualSignedGeometry.nativeCutoff H v a L | |
| 1080 | - (χ x.1, CopySolveCompatibility.nativeTimeMap 0 c (g.coordinates k x.2))) ⊆ | |
| 1081 | - sourceRegion (χ ⁻¹' actualSlowCore H v a L) g r0 | |
| 1082 | - (ChartScales.slotLength r0 profile.data.h (BaseChartJets.cellBand L)) c := by | |
| 1083 | - intro x hx | |
| 1084 | - have hs := actualMask_support H v a hr0 L hx | |
| 1085 | - exact ⟨hs.1, mem_iUnion.mpr ⟨k, (mem_sourceCell_clock hc _).mpr hs.2⟩⟩ | |
| 1086 | - | |
| 1087 | -include hr0 in | |
| 1088 | -theorem actualMask_transported_tsupport (L : PrimaryGeometryAssembly.Index W a.N) | |
| 1089 | - (χ : P →L[ℝ] PhaseCalculus.Slow) (g : Geometry) (k : Frequency) {c : ℝ} (hc : 0 < c) : | |
| 1090 | - tsupport (fun x : P × Plane => ActualSignedGeometry.nativeCutoff H v a L | |
| 1091 | - (χ x.1, CopySolveCompatibility.nativeTimeMap 0 c (g.coordinates k x.2))) ⊆ | |
| 1092 | - sourceRegion (χ ⁻¹' actualSlowCore H v a L) g r0 | |
| 1093 | - (ChartScales.slotLength r0 profile.data.h (BaseChartJets.cellBand L)) c := | |
| 1094 | - closure_minimal (actualMask_transported_support H v a hr0 L χ g k hc) | |
| 1095 | - (sourceRegion_closed ((actualSlowCore_closed H v a L).preimage χ.continuous) _ _ _ _) | |
| 1096 | - | |
| 1097 | -include hr0 in | |
| 1098 | -theorem actualMask_transported_jet_support (L : PrimaryGeometryAssembly.Index W a.N) | |
| 1099 | - (χ : P →L[ℝ] PhaseCalculus.Slow) (g : Geometry) (k : Frequency) {c : ℝ} (hc : 0 < c) (m : ℕ) : | |
| 1100 | - tsupport (iteratedFDeriv ℝ m (fun x : P × Plane => ActualSignedGeometry.nativeCutoff H v a L | |
| 1101 | - (χ x.1, CopySolveCompatibility.nativeTimeMap 0 c (g.coordinates k x.2)))) ⊆ | |
| 1102 | - sourceRegion (χ ⁻¹' actualSlowCore H v a L) g r0 | |
| 1103 | - (ChartScales.slotLength r0 profile.data.h (BaseChartJets.cellBand L)) c := | |
| 1104 | - (tsupport_iteratedFDeriv_subset (𝕜 := ℝ) m).trans | |
| 1105 | - (actualMask_transported_tsupport H v a hr0 L χ g k hc) | |
| 1106 | - | |
| 1107 | 658 | end ActualParametersAndMasks |
| 1108 | 659 | |
| 1109 | 660 | /-! ## A weighted companion for physical edge estimates -/ |
| @@ -1257,93 +808,6 @@ variable [Countable Label] [Nonempty Label] | ||
| 1257 | 808 | (s : StripData P) (χ : P →L[ℝ] PhaseCalculus.Slow) |
| 1258 | 809 | (φ : (Label × ℕ) → PhaseCalculus.Slow →L[ℝ] PhaseCalculus.Slow) |
| 1259 | 810 | |
| 1260 | -/-- The actual Gaussian error retains precisely the flat `sqrt(zeta)` | |
| 1261 | -weight at every decay exponent. This companion is suitable for the | |
| 1262 | -physical local-source bounds; no completed edge extension is assumed. -/ | |
| 1263 | -theorem globalGaussian_weighted_all_gains | |
| 1264 | - (frame : Label → ℕ → PrimaryODE.FrameData ((P × ℝ) × ℝ)) | |
| 1265 | - {α lam0 u0 ell : ℝ} (hlam0 : 0 < lam0) (hu0 : 0 < u0) (hell : 0 < ell) | |
| 1266 | - (hlam : ∀ l n, lam0 ≤ F.lam (l,n)) (hu : ∀ l n, F.u (l,n) = u0) | |
| 1267 | - (hL : ∀ l n, ell * ChartScales.S n ≤ F.L (l,n)) | |
| 1268 | - (hinj : ∀ l n, InjOn TorusAverages.quotientPoint | |
| 1269 | - ((fun z => (reference l n).center + (reference l n).basis z) '' | |
| 1270 | - (referenceWindow (r l n) (F.L (l,n)) (hr l n) (F.L_pos (l,n))).outer)) | |
| 1271 | - (S : Label → ℕ → Set P) (hS : ∀ l n, IsClosed (S l n)) | |
| 1272 | - (hsupport : ∀ l, HarmonicSourceSupport.InputSupportOn (s.domain ×ˢ univ) | |
| 1273 | - (sourceRegions F clock reference gap r S l) (b l) (G l) (A l)) | |
| 1274 | - (hinside : ∀ l n p, p ∈ s.domain → p ∈ S l n → φ (l,n) (χ p) ∈ D.carrier (l,n)) | |
| 1275 | - (hreal : ParticularCopyBounds.UniformModalControl | |
| 1276 | - (CommonCoverClass.sourceStrip (ActualParticularControl.angleStrip s)) α frame | |
| 1277 | - (fun l n => realData (tangent l n) (ParticularWaveAssembly.sourceFamily ctx u (b l) (G l) (A l) j n)) | |
| 1278 | - j (ScaledActualParticularControl.geometry reference gap clock) | |
| 1279 | - (ScaledActualParticularControl.length F clock) (ScaledActualParticularControl.envelope F clock) | |
| 1280 | - (analyticPatches F clock reference gap r s χ φ)) | |
| 1281 | - (himag : ParticularCopyBounds.UniformModalControl | |
| 1282 | - (CommonCoverClass.sourceStrip (ActualParticularControl.angleStrip s)) α frame | |
| 1283 | - (fun l n => imagData (tangent l n) (ParticularWaveAssembly.sourceFamily ctx u (b l) (G l) (A l) j n)) | |
| 1284 | - j (ScaledActualParticularControl.geometry reference gap clock) | |
| 1285 | - (ScaledActualParticularControl.length F clock) (ScaledActualParticularControl.envelope F clock) | |
| 1286 | - (analyticPatches F clock reference gap r s χ φ)) | |
| 1287 | - (hsource : UniformLocalJets | |
| 1288 | - (CommonCoverClass.sourceStrip (ActualParticularControl.angleStrip s)) | |
| 1289 | - (fun l n x => Real.sqrt (s.zeta x.1.1) * fieldEnvelope F clock reference gap r l n x) α | |
| 1290 | - (analyticPatches F clock reference gap r s χ φ) | |
| 1291 | - (fun l n _ => ParticularWaveAssembly.sourceFamily ctx u (b l) (G l) (A l) j n)) | |
| 1292 | - (dirs : LinearWaveBounds.GraphDirections ((P × ℝ) × Plane)) | |
| 1293 | - (hfast : BandBound (CommonCoverClass.sourceStrip (ActualParticularControl.angleStrip s)) 0 dirs.fastScale) | |
| 1294 | - (scales : GaussianTailFlat.BandScaleControl (CommonCoverClass.sourceStrip (ActualParticularControl.angleStrip s))) | |
| 1295 | - (β : ℝ) : | |
| 1296 | - LabelSumBounds.UniformClass (CommonCoverClass.sourceStrip (ActualParticularControl.angleStrip s)) | |
| 1297 | - (fun _ _ x => Real.sqrt (s.zeta x.1.1)) β | |
| 1298 | - (fun l => (data F clock reference gap r hr base tangent ctx u b G A j l).globalGaussian dirs) := by | |
| 1299 | - have hw l n x (_ : x ∈ (CommonCoverClass.sourceStrip (ActualParticularControl.angleStrip s)).domain) := | |
| 1300 | - fieldEnvelope_nonneg F clock reference gap r l n x | |
| 1301 | - have he l n k x (_ : x ∈ (CommonCoverClass.sourceStrip (ActualParticularControl.angleStrip s)).domain) | |
| 1302 | - (hx : x ∈ analyticPatches F clock reference gap r s χ φ l n k) := | |
| 1303 | - (fieldEnvelope_eq F clock reference gap r hr s χ φ hinj hx).ge | |
| 1304 | - have hamp := complex_amplitude_uniform_jets tangent | |
| 1305 | - (fun l => ParticularWaveAssembly.sourceFamily ctx u (b l) (G l) (A l) j) | |
| 1306 | - (ScaledActualParticularControl.geometry reference gap clock) | |
| 1307 | - (ScaledActualParticularControl.length F clock) (ScaledActualParticularControl.length_pos F clock) | |
| 1308 | - (ScaledActualParticularControl.envelope F clock) (fieldEnvelope F clock reference gap r) | |
| 1309 | - frame j (analyticPatches F clock reference gap r s χ φ) hreal himag hw he | |
| 1310 | - have hcomp : LocalizedGaussianBounds.UniformComplementJets | |
| 1311 | - (CommonCoverClass.sourceStrip (ActualParticularControl.angleStrip s)) | |
| 1312 | - (fun _ _ x => Real.sqrt (s.zeta x.1.1)) β | |
| 1313 | - (fun l => (cells F clock reference gap r hr hinj l).carrier) | |
| 1314 | - (fun l => (data F clock reference gap r hr base tangent ctx u b G A j l).source) := by | |
| 1315 | - apply LocalizedGaussianBounds.UniformComplementJets.of_zero_germs | |
| 1316 | - intro l n x hx hn | |
| 1317 | - apply data_source_zero_germ F clock reference gap r hr base tangent ctx u b G A j | |
| 1318 | - s S hS hsupport l n hx | |
| 1319 | - intro hreg | |
| 1320 | - obtain ⟨k,hk⟩ := mem_iUnion.mp hreg.2 | |
| 1321 | - exact hn k (sourceCell_subset_outer (hr l n) (F.L_pos (l,n)) (clock.value_pos l n) hk) | |
| 1322 | - apply uniform_globalGaussian_weighted_from_supported_native | |
| 1323 | - (data F clock reference gap r hr base tangent ctx u b G A j) | |
| 1324 | - (cells F clock reference gap r hr hinj) | |
| 1325 | - (data_cutoff_support F clock reference gap r hr base tangent ctx u b G A j) | |
| 1326 | - dirs (analyticPatches F clock reference gap r s χ φ) hw | |
| 1327 | - (data_cutoff_jets F clock reference gap r hr base tangent ctx u b G A j s χ φ hu0 hu | |
| 1328 | - ⟨hreal.constant, hreal.constant_ge_one, hreal.coordinate_power, hreal.coordinate_bound⟩) | |
| 1329 | - hfast hamp hsource scales | |
| 1330 | - (fun l n k x => theta F clock l n | |
| 1331 | - ((ScaledActualParticularControl.geometry reference gap clock l n).coordinates k x.2).2) | |
| 1332 | - (ScaledActualParticularControl.length F clock) (ScaledActualParticularControl.length_pos F clock) | |
| 1333 | - (ell / clock.upper) (div_pos hell (zero_lt_one.trans_le clock.upper_one)) | |
| 1334 | - (length_uniform_lower F clock hL) | |
| 1335 | - (mul_pos (gaussianRate_pos hlam0 hu0) clock.lower_pos) | |
| 1336 | - ?_ ?_ ?_ β | |
| 1337 | - hcomp | |
| 1338 | - · intro l n k x hx hc | |
| 1339 | - rw [fieldEnvelope_eq F clock reference gap r hr s χ φ hinj hc] | |
| 1340 | - exact envelope_uniform_bound F clock hlam0 hu0 hlam hu l n ⟨hc.1.2.2.1.le, hc.1.2.2.2.le⟩ | |
| 1341 | - · intro l n k x hx hc hm | |
| 1342 | - exact Or.inl (data_central F clock reference gap r hr base tangent ctx u b G A j s χ φ l n k hc hm) | |
| 1343 | - · intro l n k x hx hk hn | |
| 1344 | - exact data_outside F clock reference gap r hr base tangent ctx u b G A j s S hS hsupport | |
| 1345 | - χ φ hinside hinj l n k hx hk hn | |
| 1346 | - | |
| 1347 | 811 | end ActualWeighted |
| 1348 | 812 | |
| 1349 | 813 | end NavierStokes.ActualGaussianCoverage |
+0 −297 NavierStokes/ActualInitialExcluded.lean View file
| @@ -498,18 +498,6 @@ theorem normalizedBase_prefix (alpha : ℝ) (m : ℕ) : | ||
| 498 | 498 | rw [ChartScales.epsilon, ← Real.rpow_mul (ChartScales.Q_pos n).le] |
| 499 | 499 | exact Real.rpow_le_rpow_of_exponent_ge (ChartScales.Q_pos n) (ChartScales.Q_le_one n) hexp |
| 500 | 500 | |
| 501 | -theorem normalizedBase_envelope (alpha : ℝ) : | |
| 502 | - PrimaryPulseBounds.EnvelopeJets (BaseChartJets.unitScale (BaseContextAssembly.phaseDomain W U ℕ)) | |
| 503 | - (fun n _ => ChartScales.epsilon F.data.h n ^ alpha) (normalizedBase H v upper B) := by | |
| 504 | - refine ⟨fun n _ _ => (Real.rpow_pos_of_pos (ChartScales.epsilon_pos F.data.h n) _).le, | |
| 505 | - normalizedBase_smooth H v upper B U, ?_⟩ | |
| 506 | - intro m | |
| 507 | - obtain ⟨C, hC, hb⟩ := normalizedBase_prefix H v upper B U alpha m | |
| 508 | - refine ⟨C + 1, by linarith, 0, fun n p hp j hj => ?_⟩ | |
| 509 | - simpa only [pow_zero, mul_one] using (hb n p hp j hj).trans | |
| 510 | - (mul_le_mul_of_nonneg_right (by linarith : C ≤ C + 1) | |
| 511 | - (Real.rpow_pos_of_pos (ChartScales.epsilon_pos F.data.h n) alpha).le) | |
| 512 | - | |
| 513 | 501 | theorem baseError_zero_angle (n : ℕ) (x : BaseContextAssembly.Point) (i : Fin 3) : |
| 514 | 502 | ActualBaseResidual.baseError H v upper B n (x, 0) i = |
| 515 | 503 | normalizedBase H v upper B n (BaseContextAssembly.slowCoordinates x) i := by |
| @@ -520,29 +508,6 @@ theorem baseError_zero_angle (n : ℕ) (x : BaseContextAssembly.Point) (i : Fin | ||
| 520 | 508 | congr 1 |
| 521 | 509 | fin_cases i <;> simp |
| 522 | 510 | |
| 523 | -/-- Every actual base-error component has all powers on the full free | |
| 524 | -auxiliary lift. No vanishing edge-weight premise is imposed on this term. -/ | |
| 525 | -theorem baseError_component_class (alpha : ℝ) (i : Fin 3) : | |
| 526 | - UnweightedClass (BaseContextAssembly.nativeStrip W U) alpha | |
| 527 | - (fun n x => ActualBaseResidual.baseError H v upper B n (x, 0) i) := by | |
| 528 | - have hh := BaseContextAssembly.envelope_pullback (BaseContextAssembly.nativeStrip W U) | |
| 529 | - (normalizedBase_envelope H v upper B U alpha) | |
| 530 | - (fun _ => BaseContextAssembly.slowCoordinates_maps W U) (fun _ => rfl) | |
| 531 | - have hi := hh.map (AxisymmetricFields.projection i) | |
| 532 | - apply WaveInteractionBounds.class_congr hi | |
| 533 | - intro n x _ | |
| 534 | - exact (baseError_zero_angle H v upper B n x i).symm | |
| 535 | - | |
| 536 | -theorem baseError_angle_component_class (alpha : ℝ) (i : Fin 3) : | |
| 537 | - UnweightedClass (HarmonicWaveInteraction.productStrip (BaseContextAssembly.nativeStrip W U)) alpha | |
| 538 | - (fun n x => ActualBaseResidual.baseError H v upper B n x i) := by | |
| 539 | - have hh := HarmonicWaveInteraction.class_lift (baseError_component_class H v upper B U alpha i) | |
| 540 | - apply WaveInteractionBounds.class_congr hh | |
| 541 | - intro n x hx | |
| 542 | - exact (ActualBaseResidual.baseError_angle_eq H v upper B n | |
| 543 | - (BaseContextAssembly.nativeStrip_radius W U hx) (BaseContextAssembly.nativeStrip_time W U hx) | |
| 544 | - x.2 i).symm | |
| 545 | - | |
| 546 | 511 | end NormalizedBase |
| 547 | 512 | |
| 548 | 513 | section NativeGaussianBounds |
| @@ -795,14 +760,6 @@ theorem nativeGaussian_source_support (l : SignedLabel B N0) : | ||
| 795 | 760 | simpa only [div_eq_mul_inv, inv_one, mul_one, one_mul, mul_comm, mul_assoc, mul_left_comm] using |
| 796 | 761 | (div_le_iff₀ hL).mp hhi |
| 797 | 762 | |
| 798 | -theorem nativeGaussian_source_tsupport (l : SignedLabel B N0) : | |
| 799 | - tsupport (nativeGaussian l) ⊆ | |
| 800 | - ActualGaussianCoverage.actualSourceCore ActualPrimary.certificate ActualPrimary.modulation | |
| 801 | - (ActualPrimary.choice B N0).prepared l.2 := | |
| 802 | - closure_minimal (nativeGaussian_source_support l) | |
| 803 | - (ActualGaussianCoverage.actualSourceCore_closed ActualPrimary.certificate ActualPrimary.modulation | |
| 804 | - (ActualPrimary.choice B N0).prepared l.2) | |
| 805 | - | |
| 806 | 763 | end InitialLabelSupport |
| 807 | 764 | |
| 808 | 765 | section ActualGaussianIdentification |
| @@ -986,19 +943,6 @@ theorem gaussianCoefficient_all_gains (β : ℝ) (i : Fin 3) (j : ℤ) : | ||
| 986 | 943 | (fun l n x => chartGaussian l n (x, 0) i) := hs.map (ContinuousLinearMap.proj i) |
| 987 | 944 | exact UniformBlockBounds.pair_uniform hi 1 j |
| 988 | 945 | |
| 989 | -theorem gaussianCoefficient_zero (l : SignedLabel B N0) (n : ℕ) (i : Fin 3) (j : ℤ) | |
| 990 | - {x : Point} (hx : x ∉ labelCarrier l n) : | |
| 991 | - ErrorHarmonics.conjugatePair 1 (fun y => chartGaussian l n (y, 0) i) j x = 0 := by | |
| 992 | - have hz : chartGaussian l n (x, 0) = 0 := (chartGaussian_zero_germ l n hx).eq_of_nhds | |
| 993 | - simp only [ParticularWaveAssembly.pair_apply, hz, Pi.zero_apply, zero_div] | |
| 994 | - split_ifs <;> simp | |
| 995 | - | |
| 996 | -theorem gaussianCoefficient_support (l : SignedLabel B N0) (n : ℕ) (i : Fin 3) : | |
| 997 | - HarmonicSourceSupport.NonzeroSupported (labelCarrier l n) | |
| 998 | - (ErrorHarmonics.conjugatePair 1 (fun y => chartGaussian l n (y, 0) i)) := by | |
| 999 | - intro j _ x hx | |
| 1000 | - exact gaussianCoefficient_zero l n i j hx | |
| 1001 | - | |
| 1002 | 946 | end ActualGaussianIdentification |
| 1003 | 947 | |
| 1004 | 948 | section FlatProducts |
| @@ -1007,46 +951,6 @@ variable {D : Type} {I : Type*} [NormedAddCommGroup D] [NormedSpace ℝ D] | ||
| 1007 | 951 | {s : StripData D} {w : I → ℕ → D → ℝ} {K : I → ℕ → Set D} |
| 1008 | 952 | {f g : I → ℕ → D → ℂ} |
| 1009 | 953 | |
| 1010 | -/-- Only carrier jets on the actual coefficient support are used. Their | |
| 1011 | -fixed-order loss is absorbed by the independently proved all-power input. -/ | |
| 1012 | -theorem uniform_flat_mul | |
| 1013 | - (hf : ∀ α : ℝ, LabelSumBounds.UniformClass s w α f) | |
| 1014 | - (hg : ∀ i n, ContDiffOn ℝ ∞ (g i n) s.domain) | |
| 1015 | - (hz : ∀ i n x, x ∈ s.domain → x ∉ K i n → f i n =ᶠ[𝓝 x] fun _ => 0) | |
| 1016 | - (hb : ∀ m : ℕ, ∃ C : ℝ, 0 ≤ C ∧ ∃ p : ℕ, ∃ r : ℝ, | |
| 1017 | - ∀ i n x, x ∈ s.domain → x ∈ K i n → ∀ j ≤ m, | |
| 1018 | - ‖iteratedFDeriv ℝ j (g i n) x‖ ≤ majorant s (fun _ _ => 1) r C p n x) | |
| 1019 | - (β : ℝ) : LabelSumBounds.UniformClass s w β (fun i n x => f i n x * g i n x) := by | |
| 1020 | - refine ⟨(hf β).weight_nonneg, fun i n => ((hf β).smooth i n).mul (hg i n), ?_⟩ | |
| 1021 | - intro m | |
| 1022 | - obtain ⟨B, hB, q, r, hgb⟩ := hb m | |
| 1023 | - obtain ⟨A, hA, p, hfb⟩ := (hf (β-r)).bounds m | |
| 1024 | - let c := ‖ContinuousLinearMap.mul ℝ ℂ‖ * (2 : ℝ)^m * A * B | |
| 1025 | - refine ⟨c, by dsimp [c]; positivity, p+q, ?_⟩ | |
| 1026 | - intro i n x hx j hj | |
| 1027 | - by_cases hK : x ∈ K i n | |
| 1028 | - · have h := LabelSumBounds.bilinear_jet_bound (ContinuousLinearMap.mul ℝ ℂ) | |
| 1029 | - s.isOpen_domain ((hf (β-r)).smooth i n) (hg i n) hx hj | |
| 1030 | - (majorant_nonneg s (w i) (β-r) hA p n x ((hf (β-r)).weight_nonneg i n x hx)) | |
| 1031 | - (majorant_nonneg s (fun _ _ => 1) r hB q n x zero_le_one) | |
| 1032 | - (hfb i n x hx) (hgb i n x hx hK) | |
| 1033 | - refine h.trans_eq ?_ | |
| 1034 | - calc | |
| 1035 | - _ = (‖ContinuousLinearMap.mul ℝ ℂ‖ * (2 : ℝ)^m) * | |
| 1036 | - (majorant s (w i) (β-r) A p n x * majorant s (fun _ _ => 1) r B q n x) := by ring | |
| 1037 | - _ = _ := by | |
| 1038 | - rw [majorant_mul] | |
| 1039 | - simp only [mul_one, sub_add_cancel] | |
| 1040 | - unfold majorant c | |
| 1041 | - ring | |
| 1042 | - · have he : (fun y => f i n y * g i n y) =ᶠ[𝓝 x] fun _ => 0 := by | |
| 1043 | - filter_upwards [hz i n x hx hK] with y hy | |
| 1044 | - rw [hy, zero_mul] | |
| 1045 | - rw [PeriodizedWaveBounds.jets_eq_of_germ he j] | |
| 1046 | - simpa only [iteratedFDeriv_fun_zero, Pi.zero_apply, norm_zero] using | |
| 1047 | - majorant_nonneg s (w i) β (by dsimp [c]; positivity) (p+q) n x | |
| 1048 | - ((hf β).weight_nonneg i n x hx) | |
| 1049 | - | |
| 1050 | 954 | end FlatProducts |
| 1051 | 955 | |
| 1052 | 956 | section FullGaussian |
| @@ -1058,24 +962,6 @@ variable {B N0 : ℕ} | ||
| 1058 | 962 | noncomputable abbrev gaussianStrip : StripData ActualPrimary.FullPoint := |
| 1059 | 963 | HarmonicWaveInteraction.productStrip strip |
| 1060 | 964 | |
| 1061 | -noncomputable def chartCarrier (l : SignedLabel B N0) (n : ℕ) : ActualPrimary.FullPoint → ℂ := | |
| 1062 | - HarmonicCalculus.carrier ((ActualPrimary.chartCoefficients l.1 l.2).frequency n) | |
| 1063 | - ((ActualPrimary.chartCoefficients l.1 l.2).phase n) | |
| 1064 | - | |
| 1065 | -theorem chartCarrier_smooth (l : SignedLabel B N0) (n : ℕ) : | |
| 1066 | - ContDiffOn ℝ ∞ (chartCarrier l n) gaussianStrip.domain := | |
| 1067 | - HarmonicCalculus.contDiffOn_carrier ((ActualPrimary.chartCoefficients l.1 l.2).frequency n) | |
| 1068 | - (ActualPrimaryCoherence.piece_phase_smooth ActualPrimary.standardRegion l.1 l.2 n) | |
| 1069 | - | |
| 1070 | -noncomputable def gaussianField (l : SignedLabel B N0) : | |
| 1071 | - ℕ → ActualPrimary.FullPoint → Fin 3 → ℝ := | |
| 1072 | - (ActualPrimary.piece ActualPrimary.standardRegion l.1 l.2).excluded | |
| 1073 | - | |
| 1074 | -theorem gaussianField_eq (l : SignedLabel B N0) (n : ℕ) (x : ActualPrimary.FullPoint) (i : Fin 3) : | |
| 1075 | - gaussianField l n x i = (chartGaussian l n x i * HarmonicCalculus.carrier | |
| 1076 | - ((ActualPrimary.chartCoefficients l.1 l.2).frequency n) | |
| 1077 | - ((ActualPrimary.chartCoefficients l.1 l.2).phase n) x).re := rfl | |
| 1078 | - | |
| 1079 | 965 | theorem chartGaussian_cut_support (l : SignedLabel B N0) (n : ℕ) {x : ActualPrimary.FullPoint} |
| 1080 | 966 | (hx : chartGaussian l n x ≠ 0) : |
| 1081 | 967 | x ∈ support (((ActualPrimary.chartCoefficients l.1 l.2).withCutoff |
| @@ -1096,107 +982,6 @@ theorem chartGaussian_cut_support (l : SignedLabel B N0) (n : ℕ) {x : ActualPr | ||
| 1096 | 982 | _root_.zero_apply, Pi.zero_apply, zero_smul, smul_zero, add_zero]) |
| 1097 | 983 | exact smul_ne_zero hψ ha |
| 1098 | 984 | |
| 1099 | -theorem chartGaussian_zero_off_cut (l : SignedLabel B N0) (n : ℕ) {x : ActualPrimary.FullPoint} | |
| 1100 | - (hx : x ∉ tsupport (((ActualPrimary.chartCoefficients l.1 l.2).withCutoff | |
| 1101 | - (ActualPrimary.chartCutoff l.1 l.2)).amplitude n)) : | |
| 1102 | - chartGaussian l n =ᶠ[𝓝 x] fun _ => 0 := by | |
| 1103 | - apply notMem_tsupport_iff_eventuallyEq.mp | |
| 1104 | - exact fun hz => hx (closure_mono (fun y hy => chartGaussian_cut_support l n hy) hz) | |
| 1105 | - | |
| 1106 | -theorem gaussianField_window (l : SignedLabel B N0) (n : ℕ) {x : ActualPrimary.FullPoint} | |
| 1107 | - (hx : x ∈ gaussianStrip.domain) (i : Fin 3) (hn : gaussianField l n x i ≠ 0) : | |
| 1108 | - ActualPrimaryCovariance.physicalWindow n x.1 ∈ | |
| 1109 | - LabelSumBounds.closedWindow (CoordinateAlgebra.D ActualPrimary.h) | |
| 1110 | - (ActualPrimaryCovariance.signedLabelOf (l.2,l.1)) := by | |
| 1111 | - have hc : chartGaussian l n x ≠ 0 := by | |
| 1112 | - intro hz | |
| 1113 | - exact hn (by simp only [gaussianField_eq, hz, Pi.zero_apply, zero_mul, Complex.zero_re]) | |
| 1114 | - exact (ActualPrimaryCovariance.piece_support (l.2,l.1) n x.1 hx x.2 | |
| 1115 | - (subset_tsupport _ (chartGaussian_cut_support l n hc))).1 | |
| 1116 | - | |
| 1117 | -theorem gaussianField_zero_germ (l : SignedLabel B N0) (n : ℕ) (i : Fin 3) | |
| 1118 | - {x : ActualPrimary.FullPoint} (hx : x.1 ∉ labelCarrier l n) : | |
| 1119 | - (fun y => gaussianField l n y i) =ᶠ[𝓝 x] fun _ => 0 := by | |
| 1120 | - filter_upwards [chartGaussian_zero_germ l n hx] with y hy | |
| 1121 | - simp only [gaussianField_eq, hy, Pi.zero_apply, zero_mul, Complex.zero_re] | |
| 1122 | - | |
| 1123 | -theorem gaussianField_all_gains_of_carrier | |
| 1124 | - (hc : ∀ m : ℕ, ∃ C : ℝ, 0 ≤ C ∧ ∃ p : ℕ, ∃ r : ℝ, | |
| 1125 | - ∀ (l : SignedLabel B N0) n x, x ∈ gaussianStrip.domain → | |
| 1126 | - x ∈ tsupport (((ActualPrimary.chartCoefficients l.1 l.2).withCutoff | |
| 1127 | - (ActualPrimary.chartCutoff l.1 l.2)).amplitude n) → ∀ j ≤ m, | |
| 1128 | - ‖iteratedFDeriv ℝ j (HarmonicCalculus.carrier | |
| 1129 | - ((ActualPrimary.chartCoefficients l.1 l.2).frequency n) | |
| 1130 | - ((ActualPrimary.chartCoefficients l.1 l.2).phase n)) x‖ ≤ | |
| 1131 | - majorant gaussianStrip (fun _ _ => 1) r C p n x) | |
| 1132 | - (β : ℝ) (i : Fin 3) : | |
| 1133 | - LabelSumBounds.UniformClass gaussianStrip (fun _ _ x => Real.sqrt (strip.zeta x.1)) β | |
| 1134 | - (fun l : SignedLabel B N0 => fun n x => gaussianField l n x i) := by | |
| 1135 | - have hf : LabelSumBounds.UniformClass gaussianStrip | |
| 1136 | - (fun _ : SignedLabel B N0 => fun _ x => Real.sqrt (strip.zeta x.1)) β | |
| 1137 | - (fun l n x => chartGaussian l n x i * chartCarrier l n x) := | |
| 1138 | - uniform_flat_mul (s := gaussianStrip) | |
| 1139 | - (f := fun (l : SignedLabel B N0) n x => chartGaussian l n x i) | |
| 1140 | - (g := chartCarrier (B := B) (N0 := N0)) | |
| 1141 | - (fun α => (chartGaussian_all_gains (B := B) (N0 := N0) α).map (ContinuousLinearMap.proj i)) | |
| 1142 | - (chartCarrier_smooth (B := B) (N0 := N0)) | |
| 1143 | - (K := fun (l : SignedLabel B N0) n => tsupport (((ActualPrimary.chartCoefficients l.1 l.2).withCutoff | |
| 1144 | - (ActualPrimary.chartCutoff l.1 l.2)).amplitude n)) | |
| 1145 | - (fun l n x _ hx => by | |
| 1146 | - filter_upwards [chartGaussian_zero_off_cut l n hx] with y hy | |
| 1147 | - exact congrFun hy i) | |
| 1148 | - hc β | |
| 1149 | - apply (hf.map Complex.reCLM).congr | |
| 1150 | - intro l n x _ | |
| 1151 | - exact (gaussianField_eq l n x i).symm | |
| 1152 | - | |
| 1153 | -noncomputable def initialGaussian (B N0 : ℕ) : ℕ → ActualPrimary.FullPoint → Fin 3 → ℝ := | |
| 1154 | - LabelSumBounds.fieldSum (ActualPrimary.activeLabels ActualPrimary.standardRegion B N0) | |
| 1155 | - (fun l => (ActualPrimary.piece ActualPrimary.standardRegion l.2 l.1).excluded) | |
| 1156 | - | |
| 1157 | -/-- The number of active labels may grow, but at most the fixed geometric | |
| 1158 | -overlap number contributes to an actual derivative at one point. -/ | |
| 1159 | -theorem initialGaussian_class_of_fields (β : ℝ) (i : Fin 3) | |
| 1160 | - (hf : LabelSumBounds.UniformClass gaussianStrip | |
| 1161 | - (fun _ _ x => Real.sqrt (strip.zeta x.1)) β | |
| 1162 | - (fun l : SignedLabel B N0 => fun n x => gaussianField l n x i)) : | |
| 1163 | - MemClass gaussianStrip (fun _ x => Real.sqrt (strip.zeta x.1)) β | |
| 1164 | - (fun n x => initialGaussian B N0 n x i) := by | |
| 1165 | - have h := hf.reindex (fun l : ActualPrimary.Label B N0 × Fin 2 => (l.2,l.1)) | |
| 1166 | - have hχ (n : ℕ) : ContinuousOn | |
| 1167 | - (fun x : ActualPrimary.FullPoint => ActualPrimaryCovariance.physicalWindow n x.1) | |
| 1168 | - gaussianStrip.domain := | |
| 1169 | - (ActualPrimaryCovariance.physicalWindow_continuousOn n).comp | |
| 1170 | - continuous_fst.continuousOn (fun _ hx => hx) | |
| 1171 | - exact LabelSumBounds.window_sum_memClass (s := gaussianStrip) | |
| 1172 | - (w := fun _ x => Real.sqrt (strip.zeta x.1)) | |
| 1173 | - (ActualPrimary.activeLabels ActualPrimary.standardRegion B N0) | |
| 1174 | - (fun _ => ActualPrimaryCovariance.signedLabelOf) | |
| 1175 | - (fun _ => ActualPrimaryCovariance.signedLabelOf_injective.injOn) | |
| 1176 | - (fun _ l _ => l.1.val.property.1) | |
| 1177 | - (CoordinateAlgebra.D ActualPrimary.h) | |
| 1178 | - (fun n x => ActualPrimaryCovariance.physicalWindow n x.1) | |
| 1179 | - hχ h | |
| 1180 | - (fun _ _ _ => Real.sqrt_nonneg _) | |
| 1181 | - (fun n l _ x hx hn => gaussianField_window (l.2,l.1) n hx i hn) | |
| 1182 | - | |
| 1183 | -theorem strip_zeta_le_one (x : Point) : strip.zeta x ≤ 1 := | |
| 1184 | - GaugeExcludedBounds.movingStrip_zeta_le_one ActualPrimary.standardRegion | |
| 1185 | - (PrimaryTargetBounds.leftRadius_pos ActualPrimary.nominal) | |
| 1186 | - (div_pos (FinalSlowBase.edgeExponent_pos ActualPrimary.nominal) (by norm_num)) zero_lt_one | |
| 1187 | - (ChartScales.epsilon ActualPrimary.h) BaseContextAssembly.slowScale | |
| 1188 | - (ChartScales.epsilon_pos ActualPrimary.h) | |
| 1189 | - (ChartScales.epsilon_le_one ActualPrimary.h ActualPrimary.outgoing.data.h_pos.le) | |
| 1190 | - BaseContextAssembly.one_le_slowScale x | |
| 1191 | - | |
| 1192 | -theorem initialGaussian_unweighted_of_fields (β : ℝ) (i : Fin 3) | |
| 1193 | - (hf : LabelSumBounds.UniformClass gaussianStrip | |
| 1194 | - (fun _ _ x => Real.sqrt (strip.zeta x.1)) β | |
| 1195 | - (fun l : SignedLabel B N0 => fun n x => gaussianField l n x i)) : | |
| 1196 | - UnweightedClass gaussianStrip β (fun n x => initialGaussian B N0 n x i) := | |
| 1197 | - (initialGaussian_class_of_fields β i hf).mono_weight (fun _ _ _ => zero_le_one) | |
| 1198 | - (fun _ x _ => Real.sqrt_le_one.mpr (strip_zeta_le_one x.1)) | |
| 1199 | - | |
| 1200 | 985 | end FullGaussian |
| 1201 | 986 | |
| 1202 | 987 | section InitialAliases |
| @@ -1287,100 +1072,18 @@ theorem initialAlias_all_gains (B N0 : ℕ) (β : ℝ) : | ||
| 1287 | 1072 | initialAlias_all_gains_of_data (ActualInitialMean.primary_mean_data B N0) |
| 1288 | 1073 | (ActualInitialMean.rank_bounds B N0).cumulative β |
| 1289 | 1074 | |
| 1290 | -theorem initializedAlias_all_gains (B N0 : ℕ) (β : ℝ) : | |
| 1291 | - MeanClass gaussianStrip β (ActualInitialMean.initialized B N0).errors.aliasError := by | |
| 1292 | - have ht := (temporalAlias_all_gains_of_primaryData (ActualInitialMean.primary_mean_data B N0) β).2 | |
| 1293 | - have hp := (pressureAlias_all_gains_of_cumulative (ActualInitialMean.primary_mean_data B N0) | |
| 1294 | - (ActualInitialMean.rank_bounds B N0).cumulative β).2 | |
| 1295 | - have he : (ActualInitialMean.initialized B N0).errors.aliasError = | |
| 1296 | - VariableGaugeMean.temporalAliasState ActualPrimary.commonGauge ActualPrimary.h | |
| 1297 | - (CommonWindow.index ActualPrimary.h) (ActualPrimary.commonContext B) (ActualInitialMean.primary B N0) + | |
| 1298 | - VariableGaugeMean.pressureAliasState ActualPrimary.commonGauge (ActualPrimary.commonContext B) | |
| 1299 | - (ActualInitialMean.ranked B N0) := ActualInitialCoherence.initialized_aliases B N0 | |
| 1300 | - rw [he] | |
| 1301 | - exact ht.add hp | |
| 1302 | - | |
| 1303 | -theorem initializedAlias_unweighted (B N0 : ℕ) (β : ℝ) : | |
| 1304 | - UnweightedClass gaussianStrip β (ActualInitialMean.initialized B N0).errors.aliasError := | |
| 1305 | - GaugeExcludedBounds.meanClass_unweighted (initializedAlias_all_gains B N0 β) | |
| 1306 | - (fun x _ => strip_zeta_le_one x.1) | |
| 1307 | - | |
| 1308 | 1075 | end InitialAliases |
| 1309 | 1076 | |
| 1310 | 1077 | section TotalExcluded |
| 1311 | 1078 | |
| 1312 | 1079 | open CorrectionInitialization ActualPrimaryBounds |
| 1313 | 1080 | |
| 1314 | -theorem initialized_errors_formula (B N0 : ℕ) : | |
| 1315 | - (ActualInitialMean.initialized B N0).errors.total = | |
| 1316 | - ActualBaseResidual.baseError ActualPrimary.certificate ActualPrimary.modulation ActualPrimary.upper B + | |
| 1317 | - initialGaussian B N0 + (ActualInitialMean.initialized B N0).errors.aliasError := by | |
| 1318 | - obtain ⟨hb, hg, _⟩ := GaugeInitialization.initializedBands_error_components | |
| 1319 | - ActualPrimary.commonGauge ActualPrimary.rankData ActualPrimary.h (CommonWindow.index ActualPrimary.h) | |
| 1320 | - ActualInitialMean.axial (ActualPrimary.commonContext B) | |
| 1321 | - (ActualPrimary.activeLabels ActualPrimary.standardRegion B N0) ActualInitialMean.primaryPiece | |
| 1322 | - (ActualInitialMean.baseError B) | |
| 1323 | - change (ActualInitialMean.initialized B N0).errors.base = _ at hb | |
| 1324 | - change (ActualInitialMean.initialized B N0).errors.gaussian = initialGaussian B N0 at hg | |
| 1325 | - simp only [CorrectionState.ExcludedErrors.total, hb, hg] | |
| 1326 | - rfl | |
| 1327 | - | |
| 1328 | -/-- The remaining Gaussian premise is an estimate for the literal full | |
| 1329 | -field; the base and both aliases in this formula are already constructed. -/ | |
| 1330 | -theorem initializedErrors_all_gains_of_gaussian (B N0 : ℕ) (β : ℝ) (i : Fin 3) | |
| 1331 | - (hg : UnweightedClass gaussianStrip β (fun n x => initialGaussian B N0 n x i)) : | |
| 1332 | - UnweightedClass gaussianStrip β (fun n x => (ActualInitialMean.initialized B N0).errors.total n x i) := by | |
| 1333 | - have hb := baseError_angle_component_class ActualPrimary.certificate ActualPrimary.modulation | |
| 1334 | - ActualPrimary.upper B ActualPrimary.standardRegion β i | |
| 1335 | - have ha := (initializedAlias_unweighted B N0 β).map (ContinuousLinearMap.proj i) | |
| 1336 | - apply WaveInteractionBounds.class_congr ((hb.add hg).add ha) | |
| 1337 | - intro n x _ | |
| 1338 | - exact (congrArg (fun f => f n x i) (initialized_errors_formula B N0)).symm | |
| 1339 | - | |
| 1340 | 1081 | end TotalExcluded |
| 1341 | 1082 | |
| 1342 | 1083 | section ConstructedEndpoint |
| 1343 | 1084 | |
| 1344 | 1085 | open CorrectionInitialization ActualPrimaryBounds |
| 1345 | 1086 | |
| 1346 | -/-- All actual derivatives of the restored primary Gaussian field retain | |
| 1347 | -the flat edge weight, uniformly over the whole label family. -/ | |
| 1348 | -theorem gaussianField_all_gains (B N0 : ℕ) (β : ℝ) (i : Fin 3) : | |
| 1349 | - LabelSumBounds.UniformClass gaussianStrip (fun _ _ x => Real.sqrt (strip.zeta x.1)) β | |
| 1350 | - (fun l : SignedLabel B N0 => fun n x => gaussianField l n x i) := | |
| 1351 | - gaussianField_all_gains_of_carrier | |
| 1352 | - (ActualPhaseJetBounds.carrier_jets_cut (B := B) (N0 := N0)) β i | |
| 1353 | - | |
| 1354 | -theorem initialGaussian_all_gains (B N0 : ℕ) (β : ℝ) (i : Fin 3) : | |
| 1355 | - MemClass gaussianStrip (fun _ x => Real.sqrt (strip.zeta x.1)) β | |
| 1356 | - (fun n x => initialGaussian B N0 n x i) := | |
| 1357 | - initialGaussian_class_of_fields β i (gaussianField_all_gains B N0 β i) | |
| 1358 | - | |
| 1359 | -theorem initialGaussian_unweighted (B N0 : ℕ) (β : ℝ) (i : Fin 3) : | |
| 1360 | - UnweightedClass gaussianStrip β (fun n x => initialGaussian B N0 n x i) := | |
| 1361 | - initialGaussian_unweighted_of_fields β i (gaussianField_all_gains B N0 β i) | |
| 1362 | - | |
| 1363 | -/-- The actual full excluded error of the literal initialized state has | |
| 1364 | -every positive power (indeed every real power), on the whole angular and | |
| 1365 | -free auxiliary lift. There is no supplied output-bound premise. -/ | |
| 1366 | -theorem initializedErrors_all_gains (B N0 : ℕ) (β : ℝ) (i : Fin 3) : | |
| 1367 | - UnweightedClass gaussianStrip β | |
| 1368 | - (fun n x => (ActualInitialMean.initialized B N0).errors.total n x i) := | |
| 1369 | - initializedErrors_all_gains_of_gaussian B N0 β i (initialGaussian_unweighted B N0 β i) | |
| 1370 | - | |
| 1371 | -theorem initializedErrors_vector_all_gains (B N0 : ℕ) (β : ℝ) : | |
| 1372 | - UnweightedClass gaussianStrip β (ActualInitialMean.initialized B N0).errors.total := by | |
| 1373 | - have h0 := (initializedErrors_all_gains B N0 β 0).map | |
| 1374 | - (ContinuousLinearMap.single ℝ (fun _ : Fin 3 => ℝ) 0) | |
| 1375 | - have h1 := (initializedErrors_all_gains B N0 β 1).map | |
| 1376 | - (ContinuousLinearMap.single ℝ (fun _ : Fin 3 => ℝ) 1) | |
| 1377 | - have h2 := (initializedErrors_all_gains B N0 β 2).map | |
| 1378 | - (ContinuousLinearMap.single ℝ (fun _ : Fin 3 => ℝ) 2) | |
| 1379 | - apply WaveInteractionBounds.class_congr ((h0.add h1).add h2) | |
| 1380 | - intro n x _ | |
| 1381 | - ext i | |
| 1382 | - fin_cases i <;> simp | |
| 1383 | - | |
| 1384 | 1087 | end ConstructedEndpoint |
| 1385 | 1088 | |
| 1386 | 1089 | end NavierStokes.ActualInitialExcluded |
+0 −18 NavierStokes/ActualInitialMean.lean View file
| @@ -656,22 +656,4 @@ theorem initial_zeroMasses (B N0 : ℕ) : | ||
| 656 | 656 | GaugeMassPreservation.ZeroMassesOn ActualPrimary.standardRegion.carrier (initialized B N0) := |
| 657 | 657 | (initial_bounds B N0).2.2.2 |
| 658 | 658 | |
| 659 | -theorem initial_mean_smooth (B N0 : ℕ) : | |
| 660 | - MeanIncrementBounds.SmoothTriple (PhysicalMeanDomain.slowDomain ActualPrimary.standardRegion.carrier) | |
| 661 | - (initialized B N0).mean := | |
| 662 | - (rank_bounds B N0).mean_smooth | |
| 663 | - | |
| 664 | -theorem initial_mean_support (B N0 : ℕ) : | |
| 665 | - CorrectionStep.GaugeSupportedTriple ActualPrimary.commonGauge.radial.inner ActualPrimary.commonGauge.radial.outer | |
| 666 | - (VariableGaugeMean.qLength (2 * ActualPrimary.h)) ActualPrimary.standardRegion.carrier | |
| 667 | - (initialized B N0).mean := | |
| 668 | - (rank_bounds B N0).mean_support | |
| 669 | - | |
| 670 | -theorem initialized_formula (B N0 : ℕ) : | |
| 671 | - initialized B N0 = GaugeInitialization.initializedBands ActualPrimary.commonGauge ActualPrimary.rankData | |
| 672 | - ActualPrimary.h (CommonWindow.index ActualPrimary.h) ((0, 1), 0) (ActualPrimary.commonContext B) | |
| 673 | - (ActualPrimary.activeLabels ActualPrimary.standardRegion B N0) | |
| 674 | - (fun l => ActualPrimary.piece ActualPrimary.standardRegion l.2 l.1) | |
| 675 | - (ActualBaseResidual.baseError ActualPrimary.certificate ActualPrimary.modulation ActualPrimary.upper B) := rfl | |
| 676 | - | |
| 677 | 659 | end NavierStokes.ActualInitialMean |
+0 −12 NavierStokes/ActualInitialMeanEquation.lean View file
| @@ -380,10 +380,6 @@ theorem seed_oscillation_divergence (B N0 n : ℕ) {x : Full} | ||
| 380 | 380 | (ActualPrimaryCoherence.positiveChart_open.mem_nhds (strip_time hx.1))).differentiableAt (by simp))] |
| 381 | 381 | exact Finset.sum_eq_zero (fun l _ => piece_divergence l n ⟨strip_radius hx.1, strip_time hx.1⟩) |
| 382 | 382 | |
| 383 | -theorem primary_oscillation (B N0 : ℕ) : | |
| 384 | - (ActualInitialCoherence.primary B N0).oscillation = | |
| 385 | - (ActualInitialCoherence.seed B N0).oscillation := rfl | |
| 386 | - | |
| 387 | 383 | theorem temporal_oscillation (B N0 : ℕ) : |
| 388 | 384 | (ActualInitialCoherence.temporal B N0).oscillation = |
| 389 | 385 | (ActualInitialCoherence.seed B N0).oscillation := by |
| @@ -627,12 +623,4 @@ theorem initialized_meanHypotheses (B N0 : ℕ) : | ||
| 627 | 623 | (initialized_angularData B N0) (fun n _ hx => base_divergence B n hx) |
| 628 | 624 | (fun n _ hx => initialized_fullDivergence B N0 n hx) |
| 629 | 625 | |
| 630 | -/-- Exact mean equation, with the same Gaussian and alias errors retained | |
| 631 | -by `initializedBands`. -/ | |
| 632 | -theorem initialized_angularMean_fullGoodResidual (B N0 n : ℕ) {x : Point} | |
| 633 | - (hx : x ∈ strip.domain) (i : Fin 3) : | |
| 634 | - angularMeanVector (fullGoodResidual (commonContext B) (ActualInitialCoherence.initialized B N0)) n x i = | |
| 635 | - (ActualInitialCoherence.initialized B N0).meanGoodResidual (commonContext B) n x i := | |
| 636 | - LiftedMeanResidual.angularMean_fullGoodResidual (initialized_meanHypotheses B N0) n hx i | |
| 637 | - | |
| 638 | 626 | end NavierStokes.ActualInitialMeanEquation |
+0 −193 NavierStokes/ActualInitialization.lean View file
| @@ -43,9 +43,6 @@ noncomputable def primaryBlock (l : Index B N0) : HarmonicBlock Point := | ||
| 43 | 43 | noncomputable def tangentBlock (l : Index B N0) : HarmonicBlock Point := |
| 44 | 44 | (primaryPiece l).tangentBlock (phase l) (angularMode l) |
| 45 | 45 | |
| 46 | -noncomputable def curlBlock (l : Index B N0) : HarmonicBlock Point := | |
| 47 | - (primaryPiece l).differenceBlock (phase l) (angularMode l) | |
| 48 | - | |
| 49 | 46 | noncomputable def gaussianBlock (l : Index B N0) : HarmonicBlock Point := |
| 50 | 47 | (primaryPiece l).excludedBlock (phase l) (angularMode l) |
| 51 | 48 | |
| @@ -101,26 +98,11 @@ theorem tangentBlock_represents (l : Index B N0) : | ||
| 101 | 98 | ((primaryPiece l).coefficients.withCutoff (primaryPiece l).cutoff) |
| 102 | 99 | (phase l) (angularMode l) (tangent_amplitude_angle l) (phase_split l) n x i |
| 103 | 100 | |
| 104 | -theorem curlBlock_represents (l : Index B N0) : | |
| 105 | - (curlBlock l).oscillation = (primaryPiece l).velocity - (primaryPiece l).tangentVelocity := | |
| 106 | - (primaryPiece l).differenceBlock_represents (phase l) (angularMode l) | |
| 107 | - (exact_amplitude_angle l) (tangent_amplitude_angle l) (phase_split l) | |
| 108 | - | |
| 109 | 101 | theorem gaussianBlock_represents (l : Index B N0) : |
| 110 | 102 | (gaussianBlock l).oscillation = (primaryPiece l).excluded := |
| 111 | 103 | (primaryPiece l).excludedBlock_represents (phase l) (angularMode l) |
| 112 | 104 | (cutoff_smooth l) (cutoff_angle l) (amplitude_angle l) (phase_split l) |
| 113 | 105 | |
| 114 | -theorem gaussian_mean_zero (l : Index B N0) : | |
| 115 | - CorrectionStep.angularMeanVector (primaryPiece l).excluded = 0 := | |
| 116 | - (primaryPiece l).excluded_mean_zero (phase l) (angularMode l) (angularMode_ne_zero l) | |
| 117 | - (cutoff_smooth l) (cutoff_angle l) (amplitude_angle l) (phase_split l) | |
| 118 | - | |
| 119 | -theorem gaussian_angularContinuous (l : Index B N0) : | |
| 120 | - CorrectionStep.AngularContinuous (primaryPiece l).excluded := | |
| 121 | - (primaryPiece l).excluded_angularContinuous (phase l) (angularMode l) | |
| 122 | - (cutoff_smooth l) (cutoff_angle l) (amplitude_angle l) (phase_split l) | |
| 123 | - | |
| 124 | 106 | theorem primaryBlock_band (l : Index B N0) : (primaryBlock l).BandLimited 1 := |
| 125 | 107 | PrimaryHarmonics.block_band _ _ _ |
| 126 | 108 | |
| @@ -187,11 +169,6 @@ noncomputable def initialCycleState (B N0 : ℕ) : CorrectionStep.CycleState (In | ||
| 187 | 169 | coefficients := coefficients B N0 |
| 188 | 170 | axisymmetricAlias := initialAlias B N0 |
| 189 | 171 | |
| 190 | -theorem initialState_eq_bands (B N0 : ℕ) : | |
| 191 | - initialState B N0 = GaugeInitialization.initializedBands ActualPrimary.commonGauge ActualPrimary.rankData | |
| 192 | - ActualPrimary.h (CommonWindow.index ActualPrimary.h) axial (ActualPrimary.commonContext B) | |
| 193 | - (coefficients B N0).labels primaryPiece (baseError B) := rfl | |
| 194 | - | |
| 195 | 172 | theorem initialState_error_components (B N0 : ℕ) : |
| 196 | 173 | (initialState B N0).errors.base = baseError B ∧ |
| 197 | 174 | (initialState B N0).errors.gaussian = |
| @@ -296,16 +273,6 @@ theorem initialResidualBlock_band (l : Index B N0) : (initialResidualBlock l).Ba | ||
| 296 | 273 | exact HarmonicResidual.residualBlock_band (ActualPrimary.commonContext B) (initialState B N0) |
| 297 | 274 | (primaryBlock l) (gaussianBlock l).velocity 0 (primaryBlock_band l) hG hA |
| 298 | 275 | |
| 299 | -theorem initialResidualBlock_zeroMode (l : Index B N0) : | |
| 300 | - HarmonicWaveInteraction.ZeroMode (initialResidualBlock l) := | |
| 301 | - HarmonicResidual.residualBlock_zero_mode (ActualPrimary.commonContext B) (initialState B N0) | |
| 302 | - (primaryBlock l) (gaussianBlock l).velocity 0 | |
| 303 | - | |
| 304 | -theorem initialResidualBlock_symmetric (l : Index B N0) (n : ℕ) (i : Fin 3) : | |
| 305 | - HarmonicFields.ConjugateSymmetric ((initialResidualBlock l).velocity n i) := | |
| 306 | - HarmonicResidual.residualBlock_conjugate (ActualPrimary.commonContext B) (initialState B N0) | |
| 307 | - (primaryBlock l) (gaussianBlock l).velocity 0 n i | |
| 308 | - | |
| 309 | 276 | end NavierStokes.ActualInitialization |
| 310 | 277 | |
| 311 | 278 | namespace NavierStokes.ActualInitialization |
| @@ -416,11 +383,6 @@ theorem radius_pos (B : ℕ) (x : Point) (hx : x ∈ strip.domain) : | ||
| 416 | 383 | theorem strip_time (x : Point) (hx : x ∈ strip.domain) : 0 < x.2.1.1 := |
| 417 | 384 | BaseContextAssembly.nativeStrip_time ActualPrimary.nominal ActualPrimary.standardRegion hx |
| 418 | 385 | |
| 419 | -theorem tangent_coefficients_uniform (B N0 : ℕ) (i : Fin 3) (j : ℤ) : | |
| 420 | - LabelSumBounds.UniformWaveClass strip envelope (1/2) | |
| 421 | - (fun l : Index B N0 => fun n x => (tangentBlock l).velocity n i j x) := | |
| 422 | - (ActualPrimaryBounds.tangent_block_uniform.1 i j).reindex Prod.swap | |
| 423 | - | |
| 424 | 386 | /-- The exact curl construction retains the same pressure coefficient. -/ |
| 425 | 387 | theorem pressure_coefficients_uniform (B N0 : ℕ) (j : ℤ) : |
| 426 | 388 | LabelSumBounds.UniformWaveClass strip envelope 1 |
| @@ -662,8 +624,6 @@ noncomputable def geometry : SignedMeanGain.Geometry where | ||
| 662 | 624 | time := (1, 0) |
| 663 | 625 | temporal := TorusInverse.vector .temporal |
| 664 | 626 | |
| 665 | -theorem geometry_strip : geometry.strip = strip := rfl | |
| 666 | -theorem geometry_slowStrip : geometry.slowStrip = slowStrip := rfl | |
| 667 | 627 | theorem geometry_operators (B : ℕ) : geometry.operators = (ActualPrimary.commonContext B).operators := rfl |
| 668 | 628 | |
| 669 | 629 | theorem initial_primitive (B N0 : ℕ) : |
| @@ -736,40 +696,6 @@ theorem exact_pressure_smooth_full {B N0 : ℕ} (l : Index B N0) (n : ℕ) : | ||
| 736 | 696 | ((ActualPrimaryBounds.chart_cut_pressure_uniform.each (l.2,l.1)).smooth n).mono |
| 737 | 697 | (fun _ hx => hx.1) |
| 738 | 698 | |
| 739 | -theorem initial_meanGood (B N0 n : ℕ) {x : Point} (hT : 0 < x.2.1.1) (i : Fin 3) : | |
| 740 | - (initialState B N0).meanGoodResidual (ActualPrimary.commonContext B) n x i = | |
| 741 | - (initialState B N0).reducedMeanResidual (ActualPrimary.commonContext B) n x i - | |
| 742 | - initialAlias B N0 n x i := | |
| 743 | - ActualInitialMean.initialized_meanGood B N0 n hT i | |
| 744 | - | |
| 745 | -theorem initialAlias_radial (B N0 n : ℕ) (x : Point) : | |
| 746 | - initialAlias B N0 n x 0 = VariableGaugeMean.pressureAliasState ActualPrimary.commonGauge | |
| 747 | - (ActualPrimary.commonContext B) (initialState B N0) n (x, 0) 0 := by | |
| 748 | - simp only [initialAlias, VariableGaugeMean.temporalAliasState, Matrix.cons_val_zero, zero_add] | |
| 749 | - rfl | |
| 750 | - | |
| 751 | -/-- The remaining radial mean is controlled by the actual measured pressure debt. -/ | |
| 752 | -theorem initial_radial_mean_class (B N0 : ℕ) {alpha : ℝ} | |
| 753 | - (hdebt : UnweightedClass slowStrip alpha | |
| 754 | - (pressureDefect (ActualPrimary.commonContext B) (initialState B N0))) : | |
| 755 | - MeanClass strip alpha (fun n x => | |
| 756 | - (initialState B N0).meanGoodResidual (ActualPrimary.commonContext B) n x 0) := by | |
| 757 | - have hr : GaugeRadialResidualBounds.RadialMatch geometry.region.carrier geometry.gauge | |
| 758 | - (ActualPrimary.commonContext B).operators := by | |
| 759 | - rw [← geometry_operators B] | |
| 760 | - exact GaugeRadialResidualBounds.RadialMatch.nativeOperators geometry.region.carrier | |
| 761 | - geometry.gauge geometry.epsilon geometry.fast geometry.axial geometry.time geometry.temporal | |
| 762 | - have hclass := GaugeRadialResidualBounds.radialMinusAlias_class geometry.region geometry.gauge | |
| 763 | - geometry.inner_pos geometry.exponent_pos geometry.left_pos geometry.right_pos | |
| 764 | - geometry.epsilon geometry.slow geometry.epsilon_pos geometry.epsilon_le_one geometry.slow_ge_one | |
| 765 | - geometry.length_eq (ActualPrimary.commonContext B) (initialState B N0) | |
| 766 | - (initial_primitive B N0) hr rfl hdebt | |
| 767 | - apply MeanIncrementBounds.class_congr hclass | |
| 768 | - intro n x hx | |
| 769 | - change (initialState B N0).meanGoodResidual (ActualPrimary.commonContext B) n x 0 = _ | |
| 770 | - rw [initial_meanGood B N0 n (strip_time x hx) 0, initialAlias_radial] | |
| 771 | - rfl | |
| 772 | - | |
| 773 | 699 | end NavierStokes.ActualInitialization |
| 774 | 700 | |
| 775 | 701 | namespace NavierStokes.ActualInitialization |
| @@ -790,33 +716,6 @@ theorem primary_coefficients_smooth {B N0 : ℕ} (l : Index B N0) (n : ℕ) (i : | ||
| 790 | 716 | exact (exact_amplitude_smooth_full l n i).comp |
| 791 | 717 | (HarmonicWaveInteraction.inclusion (D := Point)).contDiff.contDiffOn (fun _ hx => ⟨hx, trivial⟩) |
| 792 | 718 | |
| 793 | -theorem primary_pressure_smooth {B N0 : ℕ} (l : Index B N0) (n : ℕ) : | |
| 794 | - SmoothCoefficients strip.domain ((primaryBlock l).pressure n) := by | |
| 795 | - apply smooth_conjugatePair | |
| 796 | - exact (exact_pressure_smooth_full l n).comp | |
| 797 | - (HarmonicWaveInteraction.inclusion (D := Point)).contDiff.contDiffOn (fun _ hx => ⟨hx, trivial⟩) | |
| 798 | - | |
| 799 | -theorem gaussian_coefficients_smooth {B N0 : ℕ} (l : Index B N0) (n : ℕ) (i : Fin 3) : | |
| 800 | - SmoothCoefficients strip.domain ((gaussianBlock l).velocity n i) := by | |
| 801 | - have hm : MapsTo (ActualPrimaryCoherence.absoluteChart n) | |
| 802 | - (HarmonicResidual.liftDomain strip.domain) ActualPrimaryCoherence.positiveAbsolute := by | |
| 803 | - intro x hx | |
| 804 | - exact mul_pos (ChartScales.Q_pos n) (strip_time x.1 hx.1) | |
| 805 | - have he : LinearWaveBounds.excludedSlotError (primaryPiece l).directions (primaryPiece l).cutoff | |
| 806 | - (primaryPiece l).coefficients.amplitude 0 n = | |
| 807 | - fun x => ChartScales.Q n ^ (2 * CoordinateAlgebra.A ActualPrimary.h + 1/2) • | |
| 808 | - ActualPrimaryCoherence.absoluteGaussianCoefficient l.2 l.1 (ActualPrimaryCoherence.absoluteChart n x) := | |
| 809 | - funext (ActualPrimaryCoherence.gaussianCoefficient_representation ActualPrimary.standardRegion l.2 l.1 n) | |
| 810 | - have hs : ContDiffOn ℝ ∞ (LinearWaveBounds.excludedSlotError (primaryPiece l).directions | |
| 811 | - (primaryPiece l).cutoff (primaryPiece l).coefficients.amplitude 0 n) | |
| 812 | - (HarmonicResidual.liftDomain strip.domain) := by | |
| 813 | - rw [he] | |
| 814 | - exact ((ActualPrimaryCoherence.absoluteGaussianCoefficient_smooth l.2 l.1).comp | |
| 815 | - (ActualPrimaryCoherence.absoluteChart n).contDiff.contDiffOn hm).const_smul _ | |
| 816 | - apply smooth_conjugatePair | |
| 817 | - exact (contDiffOn_pi.mp hs i).comp | |
| 818 | - (HarmonicWaveInteraction.inclusion (D := Point)).contDiff.contDiffOn (fun _ hx => ⟨hx, trivial⟩) | |
| 819 | - | |
| 820 | 719 | /-- Harmonic solenoidality is extracted from the actual corrected curl. -/ |
| 821 | 720 | theorem primary_modeSolenoidal {B N0 : ℕ} (l : Index B N0) : |
| 822 | 721 | ModeSolenoidal strip (ActualPrimary.commonContext B) (primaryBlock l) := by |
| @@ -843,51 +742,6 @@ theorem primary_pressure_zero {B N0 : ℕ} (l : Index B N0) (n : ℕ) : | ||
| 843 | 742 | theorem primary_tangent_carrier {B N0 : ℕ} (l : Index B N0) : |
| 844 | 743 | CorrectionStep.SameCarrier (primaryBlock l) (tangentBlock l) := ⟨rfl, rfl, rfl⟩ |
| 845 | 744 | |
| 846 | -/-- All assumptions of local harmonic extraction follow from the actual | |
| 847 | -initial state and the proved support separation of its primary pieces. -/ | |
| 848 | -theorem initial_extraction_regular (B N0 n : ℕ) : | |
| 849 | - LocalResidualGrouping.ExtractionRegular strip.domain (ActualPrimary.commonContext B) | |
| 850 | - (initialState B N0) (coefficients B N0).labels (coefficients B N0).blocks | |
| 851 | - (coefficients B N0).gaussian (coefficients B N0).aliasCoefficients n := by | |
| 852 | - constructor | |
| 853 | - · exact contextFrame_regular (ActualPrimary.commonContext B) n contDiffOn_fst | |
| 854 | - (fun x hx => (radius_pos B x hx).ne') ((operators B).radialProfile.smooth n) | |
| 855 | - · intro i | |
| 856 | - fin_cases i | |
| 857 | - · exact Complex.ofRealCLM.contDiff.comp_contDiffOn ((base_bounds B).radial.smooth n) | |
| 858 | - · exact Complex.ofRealCLM.contDiff.comp_contDiffOn ((base_bounds B).angular.smooth n) | |
| 859 | - · exact Complex.ofRealCLM.contDiff.comp_contDiffOn ((base_bounds B).axial.smooth n) | |
| 860 | - · intro i | |
| 861 | - have hm := (initial_primitive B N0).mean | |
| 862 | - fin_cases i | |
| 863 | - · exact Complex.ofRealCLM.contDiff.comp_contDiffOn ((hm.radial.smooth n).mono geometry.strip_subset) | |
| 864 | - · exact Complex.ofRealCLM.contDiff.comp_contDiffOn ((hm.angular.smooth n).mono geometry.strip_subset) | |
| 865 | - · exact Complex.ofRealCLM.contDiff.comp_contDiffOn ((hm.axial.smooth n).mono geometry.strip_subset) | |
| 866 | - · exact (((initial_primitive B N0).pressure geometry.inner_pos geometry.exponent_pos | |
| 867 | - geometry.length_eq rfl).smooth n).mono geometry.strip_subset | |
| 868 | - · intro l hl | |
| 869 | - exact ⟨phase_smooth l n, fun i => (primary_coefficients_smooth l n i).realCoefficients, | |
| 870 | - (primary_pressure_smooth l n).realCoefficients⟩ | |
| 871 | - · intro l hl i | |
| 872 | - exact gaussian_coefficients_smooth l n i | |
| 873 | - · intro l hl i | |
| 874 | - exact smoothCoefficients_zero strip.domain | |
| 875 | - · intro l hl m hm hlm | |
| 876 | - change Disjoint (liftDomain strip.domain ∩ tsupport ((primaryBlock l).oscillation n)) | |
| 877 | - (liftDomain strip.domain ∩ tsupport ((primaryBlock m).oscillation n)) | |
| 878 | - rw [(primaryBlock_represents l).1, (primaryBlock_represents m).1, | |
| 879 | - LocalResidualGrouping.liftDomain_eq_preimage] | |
| 880 | - exact ActualPrimaryCovariance.velocity_tsupport_disjoint n hlm | |
| 881 | - · intro l hl | |
| 882 | - exact angularMode_ne_zero l n | |
| 883 | - | |
| 884 | -theorem initial_goodWave_grouped (B N0 n : ℕ) {x : Point × ℝ} | |
| 885 | - (hx : x.1 ∈ strip.domain) (i : Fin 3) : | |
| 886 | - CorrectionStep.fullGoodWaveResidual (ActualPrimary.commonContext B) (initialState B N0) n x i = | |
| 887 | - ∑ l ∈ (coefficients B N0).labels n, (initialResidualBlock l).oscillation n x i := | |
| 888 | - (initialCycleState_represents B N0).fullGoodWaveResidual_grouped_local strip.isOpen_domain | |
| 889 | - (initial_extraction_regular B N0 n) ⟨hx, trivial⟩ i | |
| 890 | - | |
| 891 | 745 | end NavierStokes.ActualInitialization |
| 892 | 746 | |
| 893 | 747 | namespace NavierStokes.ActualInitialization |
| @@ -1466,52 +1320,5 @@ theorem initial_invariant (B N0 : ℕ) : | ||
| 1466 | 1320 | axisFlat := initial_axis_flat B N0 |
| 1467 | 1321 | baseAngular := initial_base_angular B N0 |
| 1468 | 1322 | |
| 1469 | -/-- The radial component is included: all three actual good mean | |
| 1470 | -residuals have exponent six fifths. -/ | |
| 1471 | -theorem initial_mean_all_components (B N0 : ℕ) (i : Fin 3) : | |
| 1472 | - MeanClass strip (6/5) (fun n x => | |
| 1473 | - (initialState B N0).meanGoodResidual (ActualPrimary.commonContext B) n x i) := by | |
| 1474 | - have he : (1 + (1 : ℝ)/5) = 6/5 := by norm_num | |
| 1475 | - fin_cases i | |
| 1476 | - · apply initial_radial_mean_class | |
| 1477 | - simpa only [debt, Matrix.cons_val_zero, he] using initial_debt B N0 0 | |
| 1478 | - · have hc := (initial_mean B N0).angular | |
| 1479 | - simp only [he] at hc | |
| 1480 | - exact hc | |
| 1481 | - · have hc := (initial_mean B N0).axial | |
| 1482 | - simp only [he] at hc | |
| 1483 | - exact hc | |
| 1484 | - | |
| 1485 | -theorem initial_fullDivergence (B N0 n : ℕ) {x : Point × ℝ} (hx : x.1 ∈ strip.domain) : | |
| 1486 | - CorrectionStep.fullDivergence (ActualPrimary.commonContext B) (initialState B N0) n x = 0 := | |
| 1487 | - ActualInitialMeanEquation.initialized_fullDivergence B N0 n ⟨hx,trivial⟩ | |
| 1488 | - | |
| 1489 | -/-- Exact decomposition of the actual differentiated PDE, with both the | |
| 1490 | -mean and every stored excluded error retained. -/ | |
| 1491 | -theorem initial_fullResidual (B N0 n : ℕ) {x : Point × ℝ} (hx : x.1 ∈ strip.domain) (i : Fin 3) : | |
| 1492 | - CorrectionStep.fullResidual (ActualPrimary.commonContext B) (initialState B N0) n x i = | |
| 1493 | - (∑ l ∈ (coefficients B N0).labels n, (initialResidualBlock l).oscillation n x i) + | |
| 1494 | - (initialState B N0).meanGoodResidual (ActualPrimary.commonContext B) n x.1 i + | |
| 1495 | - (initialState B N0).errors.total n x i := by | |
| 1496 | - have he := congrArg (fun f : Oscillation Point => f n x i) | |
| 1497 | - (CorrectionStep.fullResidual_decomposition (ActualPrimary.commonContext B) (initialState B N0)) | |
| 1498 | - change CorrectionStep.fullResidual _ _ n x i = CorrectionStep.fullGoodWaveResidual _ _ n x i + | |
| 1499 | - CorrectionStep.angularMeanVector (CorrectionStep.fullGoodResidual _ _) n x.1 i + _ at he | |
| 1500 | - rw [initial_goodWave_grouped B N0 n hx i, | |
| 1501 | - CorrectionStep.angularMean_fullGoodResidual (initial_meanHypotheses B N0) n hx i] at he | |
| 1502 | - exact he | |
| 1503 | - | |
| 1504 | - | |
| 1505 | -/-- All derivatives of the complete stored excluded error satisfy estimates for every | |
| 1506 | -power on the full angular and auxiliary lift. -/ | |
| 1507 | -theorem initial_excluded_all_gains (B N0 : ℕ) (beta : ℝ) : | |
| 1508 | - UnweightedClass (HarmonicWaveInteraction.productStrip strip) beta | |
| 1509 | - (initialState B N0).errors.total := | |
| 1510 | - ActualInitialExcluded.initializedErrors_vector_all_gains B N0 beta | |
| 1511 | - | |
| 1512 | -theorem initial_excluded_component_all_gains (B N0 : ℕ) (beta : ℝ) (i : Fin 3) : | |
| 1513 | - UnweightedClass (HarmonicWaveInteraction.productStrip strip) beta | |
| 1514 | - (fun n x => (initialState B N0).errors.total n x i) := | |
| 1515 | - ActualInitialExcluded.initializedErrors_all_gains B N0 beta i | |
| 1516 | 1323 | |
| 1517 | 1324 | end NavierStokes.ActualInitialization |
+0 −228 NavierStokes/ActualIterationLedger.lean View file
| @@ -41,12 +41,6 @@ theorem sigma_succ (J : ℕ) : sigma (J + 1) = sigma J + 1 / 10 := | ||
| 41 | 41 | theorem sigma_admissible (J : ℕ) : 1 / 5 ≤ sigma J := |
| 42 | 42 | ExponentLedger.stage_parameter_admissible J |
| 43 | 43 | |
| 44 | -theorem sigma_strictMono : StrictMono sigma := by | |
| 45 | - intro j k hjk | |
| 46 | - have hk : (j : ℝ) < k := by exact_mod_cast hjk | |
| 47 | - simp only [sigma_formula] | |
| 48 | - linarith | |
| 49 | - | |
| 50 | 44 | @[simp] theorem inputSigma_succ (j : ℕ) : inputSigma (j + 1) = sigma j := by |
| 51 | 45 | simp [inputSigma] |
| 52 | 46 | |
| @@ -55,23 +49,8 @@ theorem inputSigma_formula {j : ℕ} (hj : 1 ≤ j) : | ||
| 55 | 49 | simp only [inputSigma, sigma_formula, Nat.cast_sub hj, Nat.cast_one] |
| 56 | 50 | ring |
| 57 | 51 | |
| 58 | -theorem inputSigma_index {j : ℕ} (hj : 1 ≤ j) : inputSigma j + 1 / 10 = sigma j := by | |
| 59 | - rw [inputSigma_formula hj, sigma_formula] | |
| 60 | - ring | |
| 61 | - | |
| 62 | -theorem inputSigma_admissible (j : ℕ) : 1 / 5 ≤ inputSigma j := sigma_admissible _ | |
| 63 | - | |
| 64 | 52 | @[simp] theorem gain_zero (h : ℝ) : gain h 0 = 0 := by simp [gain] |
| 65 | 53 | |
| 66 | -theorem gain_succ (h : ℝ) (j : ℕ) : gain h (j + 1) = gain h j + h / 10 := by | |
| 67 | - simp only [gain, Nat.cast_add, Nat.cast_one] | |
| 68 | - ring | |
| 69 | - | |
| 70 | -theorem gain_eq_accuracy (h : ℝ) (J : ℕ) : gain h J = h * (sigma J - 1 / 5) := by | |
| 71 | - rw [sigma_formula] | |
| 72 | - unfold gain | |
| 73 | - ring | |
| 74 | - | |
| 75 | 54 | theorem gain_nonneg {h : ℝ} (hh : 0 ≤ h) (j : ℕ) : 0 ≤ gain h j := by |
| 76 | 55 | unfold gain |
| 77 | 56 | positivity |
| @@ -86,12 +65,6 @@ theorem gain_monotone {h : ℝ} (hh : 0 ≤ h) : Monotone (gain h) := by | ||
| 86 | 65 | have hk : (j : ℝ) ≤ k := by exact_mod_cast hjk |
| 87 | 66 | exact div_le_div_of_nonneg_right (mul_le_mul_of_nonneg_left hk hh) (by norm_num) |
| 88 | 67 | |
| 89 | -theorem gain_strictMono {h : ℝ} (hh : 0 < h) : StrictMono (gain h) := by | |
| 90 | - intro j k hjk | |
| 91 | - have hk : (j : ℝ) < k := by exact_mod_cast hjk | |
| 92 | - exact (div_lt_div_iff_of_pos_right (by norm_num : (0 : ℝ) < 10)).mpr | |
| 93 | - (mul_lt_mul_of_pos_left hk hh) | |
| 94 | - | |
| 95 | 68 | theorem gain_add_tendsto_atTop {h : ℝ} (hh : 0 < h) (a : ℝ) : |
| 96 | 69 | Tendsto (fun j => gain h j + a) atTop atTop := by |
| 97 | 70 | apply Filter.tendsto_atTop.mpr |
| @@ -107,27 +80,6 @@ theorem gain_add_tendsto_atTop {h : ℝ} (hh : 0 < h) (a : ℝ) : | ||
| 107 | 80 | theorem gain_tendsto_atTop {h : ℝ} (hh : 0 < h) : Tendsto (gain h) atTop atTop := by |
| 108 | 81 | simpa only [add_zero] using gain_add_tendsto_atTop hh 0 |
| 109 | 82 | |
| 110 | -theorem sigma_tendsto_atTop : Tendsto sigma atTop atTop := by | |
| 111 | - have hs := gain_add_tendsto_atTop (by norm_num : (0 : ℝ) < 1) (1 / 5) | |
| 112 | - simp only [gain, one_mul, add_comm] at hs ⊢ | |
| 113 | - exact hs | |
| 114 | - | |
| 115 | -theorem kappa_admissible : 0 ≤ kappa ∧ kappa ≤ 1 / 100000 := by norm_num [kappa] | |
| 116 | - | |
| 117 | -theorem kappa_pos : 0 < kappa := by norm_num [kappa] | |
| 118 | - | |
| 119 | -theorem all_cycle_margins (n : ℕ) {κ : ℝ} (hκ : κ ≤ 1 / 100000) : | |
| 120 | - ExponentLedger.waveExponent (sigma (n + 1)) < | |
| 121 | - ExponentLedger.waveExponent (sigma n) + ExponentLedger.particularGain (sigma n) κ ∧ | |
| 122 | - ExponentLedger.waveExponent (sigma (n + 1)) < | |
| 123 | - ExponentLedger.waveExponent (sigma n) + ExponentLedger.signedGain (sigma n) κ ∧ | |
| 124 | - ExponentLedger.waveExponent (sigma (n + 1)) < ExponentLedger.meanUpdateExponent (sigma n) κ ∧ | |
| 125 | - ExponentLedger.meanExponent (sigma (n + 1)) < | |
| 126 | - ExponentLedger.meanExponent (sigma n) + min (17 / 100) (1 - 4 * κ) ∧ | |
| 127 | - ExponentLedger.meanExponent (sigma (n + 1)) < | |
| 128 | - ExponentLedger.meanExponent (sigma n) + 9 / 10 - 4 * κ := | |
| 129 | - ExponentLedger.all_stage_arithmetic n hκ | |
| 130 | - | |
| 131 | 83 | /-! ## The native increment exponents and their physical comparison -/ |
| 132 | 84 | |
| 133 | 85 | /-- Conservative class for the actual wave potential. The local inverse |
| @@ -140,8 +92,6 @@ noncomputable def wavePressureNative (κ : ℝ) (j : ℕ) : ℝ := waveNative κ | ||
| 140 | 92 | noncomputable def meanNative (κ : ℝ) (j : ℕ) : ℝ := |
| 141 | 93 | ExponentLedger.meanUpdateExponent (inputSigma j) κ |
| 142 | 94 | |
| 143 | -noncomputable def radialNative (κ : ℝ) (j : ℕ) : ℝ := meanNative κ j + 1 | |
| 144 | - | |
| 145 | 95 | theorem waveNative_formula (κ : ℝ) {j : ℕ} (hj : 1 ≤ j) : |
| 146 | 96 | waveNative κ j = (j : ℝ) / 10 + (3 / 5 - κ) := by |
| 147 | 97 | rw [waveNative, ExponentLedger.waveExponent, inputSigma_formula hj] |
| @@ -157,11 +107,6 @@ theorem meanNative_formula (κ : ℝ) {j : ℕ} (hj : 1 ≤ j) : | ||
| 157 | 107 | rw [meanNative, ExponentLedger.meanUpdateExponent, ExponentLedger.meanExponent, inputSigma_formula hj] |
| 158 | 108 | ring |
| 159 | 109 | |
| 160 | -theorem radialNative_formula (κ : ℝ) {j : ℕ} (hj : 1 ≤ j) : | |
| 161 | - radialNative κ j = (j : ℝ) / 10 + (21 / 10 - 2 * κ) := by | |
| 162 | - rw [radialNative, meanNative_formula κ hj] | |
| 163 | - ring | |
| 164 | - | |
| 165 | 110 | theorem wave_physical_gap (h κ : ℝ) {j : ℕ} (hj : 1 ≤ j) : |
| 166 | 111 | h * waveNative κ j = gain h j + h * (3 / 5 - κ) := by |
| 167 | 112 | rw [waveNative_formula κ hj] |
| @@ -195,12 +140,6 @@ theorem gain_le_mean {h κ : ℝ} (hh : 0 ≤ h) (hκ : κ ≤ 1 / 100000) {j : | ||
| 195 | 140 | rw [mean_physical_gap h κ hj] |
| 196 | 141 | exact le_add_of_nonneg_right (mul_nonneg hh (by linarith)) |
| 197 | 142 | |
| 198 | -theorem gain_le_radial {h κ : ℝ} (hh : 0 ≤ h) (hκ : κ ≤ 1 / 100000) {j : ℕ} (hj : 1 ≤ j) : | |
| 199 | - gain h j ≤ h * radialNative κ j := by | |
| 200 | - have he := gain_le_mean hh hκ hj | |
| 201 | - unfold radialNative | |
| 202 | - nlinarith | |
| 203 | - | |
| 204 | 143 | structure Offsets where |
| 205 | 144 | wavePotential : ℝ |
| 206 | 145 | meanStream : ℝ |
| @@ -208,112 +147,25 @@ structure Offsets where | ||
| 208 | 147 | wavePressure : ℝ |
| 209 | 148 | meanPressure : ℝ |
| 210 | 149 | |
| 211 | -/-- These five constants do not depend on an increment or derivative index. -/ | |
| 212 | -noncomputable def offsets (h : ℝ) : Offsets := | |
| 213 | - ⟨h, 0, 0, 2 * CoordinateAlgebra.A h, 0⟩ | |
| 214 | - | |
| 215 | -theorem fixed_offset_inequalities {h κ : ℝ} (hh : 0 ≤ h) (hκ : κ ≤ 1 / 100000) | |
| 216 | - {j : ℕ} (hj : 1 ≤ j) : | |
| 217 | - gain h j ≤ h * waveNative κ j + (-h) + (offsets h).wavePotential ∧ | |
| 218 | - gain h j ≤ h * meanNative κ j + (offsets h).meanStream ∧ | |
| 219 | - gain h j ≤ h * meanNative κ j + (offsets h).directAngular ∧ | |
| 220 | - gain h j ≤ h * wavePressureNative κ j + (-(2 * CoordinateAlgebra.A h)) + (offsets h).wavePressure ∧ | |
| 221 | - gain h j ≤ h * meanNative κ j + (offsets h).meanPressure := by | |
| 222 | - simpa only [offsets, add_assoc, neg_add_cancel, add_zero] using | |
| 223 | - And.intro (gain_le_wave hh hκ hj) (And.intro (gain_le_mean hh hκ hj) | |
| 224 | - (And.intro (gain_le_mean hh hκ hj) (And.intro (gain_le_wavePressure hh hκ hj) (gain_le_mean hh hκ hj)))) | |
| 225 | - | |
| 226 | 150 | /-! ## Residual indexing after a finite number of cycles -/ |
| 227 | 151 | |
| 228 | 152 | noncomputable def residualWave (J : ℕ) : ℝ := ExponentLedger.waveExponent (sigma J) |
| 229 | -noncomputable def residualMean (J : ℕ) : ℝ := ExponentLedger.meanExponent (sigma J) | |
| 230 | 153 | |
| 231 | 154 | theorem residualWave_formula (J : ℕ) : residualWave J = (J : ℝ) / 10 + 7 / 10 := by |
| 232 | 155 | rw [residualWave, ExponentLedger.waveExponent, sigma_formula] |
| 233 | 156 | ring |
| 234 | 157 | |
| 235 | -theorem residualMean_formula (J : ℕ) : residualMean J = (J : ℝ) / 10 + 6 / 5 := by | |
| 236 | - rw [residualMean, ExponentLedger.meanExponent, sigma_formula] | |
| 237 | - ring | |
| 238 | - | |
| 239 | -theorem cycle_wave_output (n : ℕ) : | |
| 240 | - ExponentLedger.waveExponent (sigma n) + 1 / 10 = residualWave (n + 1) := by | |
| 241 | - rw [residualWave, sigma_succ, ExponentLedger.wave_increment] | |
| 242 | - | |
| 243 | -theorem cycle_mean_output (n : ℕ) : | |
| 244 | - ExponentLedger.meanExponent (sigma n) + 1 / 10 = residualMean (n + 1) := by | |
| 245 | - rw [residualMean, sigma_succ, ExponentLedger.mean_increment] | |
| 246 | - | |
| 247 | -theorem residual_minimum (J : ℕ) : min (residualWave J) (residualMean J) = residualWave J := by | |
| 248 | - apply min_eq_left | |
| 249 | - rw [residualWave_formula, residualMean_formula] | |
| 250 | - linarith | |
| 251 | - | |
| 252 | 158 | theorem residual_physical_gap (h : ℝ) (J : ℕ) : |
| 253 | 159 | h * residualWave J = gain h J + 7 * h / 10 := by |
| 254 | 160 | rw [residualWave_formula] |
| 255 | 161 | unfold gain |
| 256 | 162 | ring |
| 257 | 163 | |
| 258 | -theorem residual_mean_physical_gap (h : ℝ) (J : ℕ) : | |
| 259 | - h * residualMean J = gain h J + 6 * h / 5 := by | |
| 260 | - rw [residualMean_formula] | |
| 261 | - unfold gain | |
| 262 | - ring | |
| 263 | - | |
| 264 | 164 | theorem gain_le_residualWave {h : ℝ} (hh : 0 ≤ h) (J : ℕ) : |
| 265 | 165 | gain h J ≤ h * residualWave J := by |
| 266 | 166 | rw [residual_physical_gap] |
| 267 | 167 | linarith |
| 268 | 168 | |
| 269 | -theorem gain_le_residualMean {h : ℝ} (hh : 0 ≤ h) (J : ℕ) : | |
| 270 | - gain h J ≤ h * residualMean J := by | |
| 271 | - rw [residual_mean_physical_gap] | |
| 272 | - linarith | |
| 273 | - | |
| 274 | -theorem gain_le_residualMinimum {h : ℝ} (hh : 0 ≤ h) (J : ℕ) : | |
| 275 | - gain h J ≤ h * min (residualWave J) (residualMean J) := by | |
| 276 | - rw [residual_minimum] | |
| 277 | - exact gain_le_residualWave hh J | |
| 278 | - | |
| 279 | -theorem gain_after_cycle {h : ℝ} (hh : 0 ≤ h) (n : ℕ) : | |
| 280 | - gain h (n + 1) ≤ h * (ExponentLedger.waveExponent (sigma n) + 1 / 10) := by | |
| 281 | - rw [cycle_wave_output] | |
| 282 | - exact gain_le_residualWave hh (n + 1) | |
| 283 | - | |
| 284 | -/-- The full-phase derivative cost is a fixed parameter `beta`, not a | |
| 285 | -stage-dependent loss. -/ | |
| 286 | -noncomputable def residualLoss (h beta : ℝ) (m : ℕ) : ℝ := | |
| 287 | - PhysicalGraphBounds.graphLoss m + 1 + (2 * CoordinateAlgebra.A h + 1 / 2) + beta * m | |
| 288 | - | |
| 289 | -noncomputable def residualRate (h beta : ℝ) (J m : ℕ) : ℝ := | |
| 290 | - h * residualWave J - residualLoss h beta m | |
| 291 | - | |
| 292 | -theorem residualRate_eq (h beta : ℝ) (J m : ℕ) : | |
| 293 | - residualRate h beta J m = gain h J + (7 * h / 10 - residualLoss h beta m) := by | |
| 294 | - rw [residualRate, residual_physical_gap] | |
| 295 | - ring | |
| 296 | - | |
| 297 | -theorem gain_le_residual_rate {h : ℝ} (hh : 0 ≤ h) (beta : ℝ) (J m : ℕ) : | |
| 298 | - gain h J - residualLoss h beta m ≤ residualRate h beta J m := by | |
| 299 | - rw [residualRate_eq] | |
| 300 | - linarith | |
| 301 | - | |
| 302 | -theorem residualRate_tendsto_atTop {h : ℝ} (hh : 0 < h) (beta : ℝ) (m : ℕ) : | |
| 303 | - Tendsto (fun J => residualRate h beta J m) atTop atTop := by | |
| 304 | - simpa only [residualRate_eq] using gain_add_tendsto_atTop hh (7 * h / 10 - residualLoss h beta m) | |
| 305 | - | |
| 306 | -theorem eventually_residualRate_ge {h : ℝ} (hh : 0 < h) (beta : ℝ) (m : ℕ) (a : ℝ) : | |
| 307 | - ∀ᶠ J in atTop, a ≤ residualRate h beta J m := | |
| 308 | - (residualRate_tendsto_atTop hh beta m).eventually (eventually_ge_atTop a) | |
| 309 | - | |
| 310 | -theorem residual_bound_with_gain {V : Type*} [NormedAddCommGroup V] | |
| 311 | - {h beta C q : ℝ} (hh : 0 ≤ h) (hC : 0 ≤ C) (hq : 0 < q) (hq1 : q ≤ 1) | |
| 312 | - (J m : ℕ) {v : V} (hv : ‖v‖ ≤ C * q ^ residualRate h beta J m) : | |
| 313 | - ‖v‖ ≤ C * q ^ (gain h J - residualLoss h beta m) := | |
| 314 | - hv.trans (mul_le_mul_of_nonneg_left | |
| 315 | - (Real.rpow_le_rpow_of_exponent_ge hq hq1 (gain_le_residual_rate hh beta J m)) hC) | |
| 316 | - | |
| 317 | 169 | /-! ## Binding the ledger to the actual physical-stage interface -/ |
| 318 | 170 | |
| 319 | 171 | section StageInputs |
| @@ -347,86 +199,6 @@ variable {WA : ℕ → WaveData h DA IA KA (Fin 3)} | ||
| 347 | 199 | {WP : ℕ → WaveData h DP IP KP Unit} |
| 348 | 200 | {MP : ℕ → MeanData h (2 * CoordinateAlgebra.A h)} |
| 349 | 201 | |
| 350 | -theorem StageMetadata.gain_inequalities (H : StageMetadata WA MA MB WP MP κ) | |
| 351 | - (hh : 0 ≤ h) (hκ : κ ≤ 1 / 100000) : | |
| 352 | - (∀ j, 1 ≤ j → gain h j ≤ h * (WA j).alpha + (WA j).shift + (offsets h).wavePotential) ∧ | |
| 353 | - (∀ j, 1 ≤ j → gain h j ≤ h * (MA j).alpha + (offsets h).meanStream) ∧ | |
| 354 | - (∀ j, 1 ≤ j → gain h j ≤ h * (MB j).alpha + (offsets h).directAngular) ∧ | |
| 355 | - (∀ j, 1 ≤ j → gain h j ≤ h * (WP j).alpha + (WP j).shift + (offsets h).wavePressure) ∧ | |
| 356 | - (∀ j, 1 ≤ j → gain h j ≤ h * (MP j).alpha + (offsets h).meanPressure) := by | |
| 357 | - refine ⟨?_, ?_, ?_, ?_, ?_⟩ | |
| 358 | - · intro j hj | |
| 359 | - have ha := mul_le_mul_of_nonneg_left (H.wavePotential j hj) hh | |
| 360 | - have hs := H.wavePotentialShift j hj | |
| 361 | - have hg := gain_le_wave hh hκ hj | |
| 362 | - dsimp only [offsets] | |
| 363 | - linarith | |
| 364 | - · intro j hj | |
| 365 | - have ha := mul_le_mul_of_nonneg_left (H.meanStream j hj) hh | |
| 366 | - simpa only [offsets, add_zero] using (gain_le_mean hh hκ hj).trans ha | |
| 367 | - · intro j hj | |
| 368 | - have ha := mul_le_mul_of_nonneg_left (H.directAngular j hj) hh | |
| 369 | - simpa only [offsets, add_zero] using (gain_le_mean hh hκ hj).trans ha | |
| 370 | - · intro j hj | |
| 371 | - have ha := mul_le_mul_of_nonneg_left (H.wavePressure j hj) hh | |
| 372 | - have hs := H.wavePressureShift j hj | |
| 373 | - have hg := gain_le_wavePressure hh hκ hj | |
| 374 | - dsimp only [offsets] | |
| 375 | - linarith | |
| 376 | - · intro j hj | |
| 377 | - have ha := mul_le_mul_of_nonneg_left (H.meanPressure j hj) hh | |
| 378 | - simpa only [offsets, add_zero] using (gain_le_mean hh hκ hj).trans ha | |
| 379 | - | |
| 380 | -/-- All five arithmetic premises of `derived_stage_inputs` are discharged | |
| 381 | -for the one explicit gain sequence. Analytic input data remain explicit. -/ | |
| 382 | -theorem StageMetadata.derived_stage_inputs (H : StageMetadata WA MA MB WP MP κ) | |
| 383 | - (hh : 0 < h) (hh1 : h < 1 / 2) (hκ : 0 ≤ κ ∧ κ ≤ 1 / 100000) | |
| 384 | - (baseA : VelocityField) (baseP : PressureField) | |
| 385 | - (hbaseA : ContDiffOn ℝ ∞ baseA (CutStageEstimates.physicalSublevel h qbig)) | |
| 386 | - (hbaseP : ContDiffOn ℝ ∞ baseP (CutStageEstimates.physicalSublevel h qbig)) | |
| 387 | - (hqA : ∀ j, qbig ≤ ChartScales.Q (MA j).firstBand) | |
| 388 | - (hqB : ∀ j, qbig ≤ ChartScales.Q (MB j).firstBand) | |
| 389 | - (hqP : ∀ j, qbig ≤ ChartScales.Q (MP j).firstBand) : | |
| 390 | - ∃ CA CB CP : ℕ → ℕ → ℝ, | |
| 391 | - (∀ j, ContDiffOn ℝ ∞ (potentialStages baseA WA MA j) | |
| 392 | - (CutStageEstimates.physicalSublevel h qbig)) ∧ | |
| 393 | - (∀ j, ContDiffOn ℝ ∞ (directStages MB j) | |
| 394 | - (CutStageEstimates.physicalSublevel h qbig)) ∧ | |
| 395 | - (∀ j, ContDiffOn ℝ ∞ (pressureStages baseP WP MP j) | |
| 396 | - (CutStageEstimates.physicalSublevel h qbig)) ∧ | |
| 397 | - CutStageEstimates.RawStageBounds (PhysicalWaveSum.physicalQ h) | |
| 398 | - (potentialStages baseA WA MA) (gain h) | |
| 399 | - (potentialLoss h (offsets h).wavePotential (offsets h).meanStream) CA (fun _ _ => 0) | |
| 400 | - (PhysicalWaveSum.preterminal ∩ CutStageEstimates.physicalSublevel h qbig) ∧ | |
| 401 | - CutStageEstimates.RawStageBounds (PhysicalWaveSum.physicalQ h) | |
| 402 | - (directStages MB) (gain h) (directLoss h (offsets h).directAngular) CB (fun _ _ => 0) | |
| 403 | - (PhysicalWaveSum.preterminal ∩ CutStageEstimates.physicalSublevel h qbig) ∧ | |
| 404 | - CutStageEstimates.RawStageBounds (PhysicalWaveSum.physicalQ h) | |
| 405 | - (pressureStages baseP WP MP) (gain h) | |
| 406 | - (pressureLoss h (offsets h).wavePressure (offsets h).meanPressure) CP (fun _ _ => 0) | |
| 407 | - (PhysicalWaveSum.preterminal ∩ CutStageEstimates.physicalSublevel h qbig) := by | |
| 408 | - obtain ⟨hWA, hMA, hMB, hWP, hMP⟩ := H.gain_inequalities hh.le hκ.2 | |
| 409 | - exact PhysicalStageBounds.derived_stage_inputs baseA baseP WA MA MB WP MP hh hh1 | |
| 410 | - hbaseA hbaseP hqA hqB hqP (gain h) (offsets h).wavePotential (offsets h).meanStream | |
| 411 | - (offsets h).directAngular (offsets h).wavePressure (offsets h).meanPressure | |
| 412 | - hWA hMA hMB hWP hMP | |
| 413 | - | |
| 414 | 202 | end StageInputs |
| 415 | 203 | |
| 416 | -/-- A single fixed κ, the explicit accuracy sequence, and the explicit | |
| 417 | -gain work simultaneously at every stage. No iteration is asserted here. -/ | |
| 418 | -theorem fixed_ledger {h : ℝ} (hh : 0 < h) : | |
| 419 | - (0 ≤ kappa ∧ kappa ≤ 1 / 100000) ∧ sigma 0 = 1 / 5 ∧ | |
| 420 | - (∀ n, sigma (n + 1) = sigma n + 1 / 10) ∧ gain h 0 = 0 ∧ | |
| 421 | - (∀ j, 1 ≤ j → 0 < gain h j) ∧ Monotone (gain h) ∧ Tendsto (gain h) atTop atTop ∧ | |
| 422 | - (∀ j, 1 ≤ j → | |
| 423 | - gain h j ≤ h * waveNative kappa j + (-h) + (offsets h).wavePotential ∧ | |
| 424 | - gain h j ≤ h * meanNative kappa j + (offsets h).meanStream ∧ | |
| 425 | - gain h j ≤ h * meanNative kappa j + (offsets h).directAngular ∧ | |
| 426 | - gain h j ≤ h * wavePressureNative kappa j + (-(2 * CoordinateAlgebra.A h)) + (offsets h).wavePressure ∧ | |
| 427 | - gain h j ≤ h * meanNative kappa j + (offsets h).meanPressure) := | |
| 428 | - ⟨kappa_admissible, sigma_zero, sigma_succ, gain_zero h, fun _ hj => gain_pos hh hj, | |
| 429 | - gain_monotone hh.le, gain_tendsto_atTop hh, | |
| 430 | - fun _ hj => fixed_offset_inequalities hh.le kappa_admissible.2 hj⟩ | |
| 431 | - | |
| 432 | 204 | end NavierStokes.ActualIterationLedger |
+0 −48 NavierStokes/ActualMeanExterior.lean View file
| @@ -92,20 +92,6 @@ theorem exterior_zero | ||
| 92 | 92 | have hg := exterior_zero_germs D Hm ht hq he |
| 93 | 93 | exact ⟨hg.1.eq_of_nhds, hg.2.eq_of_nhds⟩ |
| 94 | 94 | |
| 95 | -/-- The direct angular-field constructor used for both angular velocity and | |
| 96 | -stream potentials retains the same exact exterior zero. -/ | |
| 97 | -theorem actualAngularData_exterior | |
| 98 | - (D : CoherentFamily h degree N Δ standardRegion.carrier ℝ) | |
| 99 | - (Hm : GaugeMomentBalances.MovingField standardRegion commonGauge.radial.inner | |
| 100 | - commonGauge.radial.outer D.native) | |
| 101 | - (qbig : ℝ) (hbound : qbig ≤ ChartScales.Q N) | |
| 102 | - {w : SpaceTime} (ht : w ∈ preterminal) | |
| 103 | - (hq : physicalQ h w < qbig) (he : w ∉ ActualPolarCoverage.active) : | |
| 104 | - DirectAngularDiagonal.angularField | |
| 105 | - (ActualMeanStageData.actualAngularData D Hm qbig hbound).scalar w = 0 := by | |
| 106 | - rw [ActualMeanStageData.actualAngularData_field] | |
| 107 | - exact (exterior_zero D Hm ht (hq.le.trans hbound) he).2 | |
| 108 | - | |
| 109 | 95 | end Support |
| 110 | 96 | |
| 111 | 97 | /-! ## The same initialized fields -/ |
| @@ -128,16 +114,6 @@ theorem initialPressure_exterior : | ||
| 128 | 114 | (initialPressureFamily B N0 N).angularField w = 0 := |
| 129 | 115 | exterior_zero (initialPressureFamily B N0 N) (initial_pressure_moving B N0) ht hq he |
| 130 | 116 | |
| 131 | -theorem initialTemporal_exterior : | |
| 132 | - (initialTemporalFamily B N0 N).field w = 0 ∧ | |
| 133 | - (initialTemporalFamily B N0 N).angularField w = 0 := | |
| 134 | - exterior_zero (initialTemporalFamily B N0 N) (initialTemporal_moving B N0) ht hq he | |
| 135 | - | |
| 136 | -theorem initialRank_exterior : | |
| 137 | - (initialRankFamily B N0 N).field w = 0 ∧ | |
| 138 | - (initialRankFamily B N0 N).angularField w = 0 := | |
| 139 | - exterior_zero (initialRankFamily B N0 N) (initialRank_moving B N0) ht hq he | |
| 140 | - | |
| 141 | 117 | /-- The full initialized stream is the literal temporal-plus-rank stream. -/ |
| 142 | 118 | theorem initialStream_exterior : |
| 143 | 119 | (initialStreamFamily B N0 N).field w = 0 ∧ |
| @@ -166,18 +142,6 @@ private theorem seed_reconstructed : | ||
| 166 | 142 | |
| 167 | 143 | include ht hq he |
| 168 | 144 | |
| 169 | -theorem cycleAngular_exterior : | |
| 170 | - ((initialCycleData H).angularFamily j).field w = 0 ∧ | |
| 171 | - ((initialCycleData H).angularFamily j).angularField w = 0 := | |
| 172 | - exterior_zero ((initialCycleData H).angularFamily j) | |
| 173 | - ((initialCycleData H).primitives j).mean.angular ht hq he | |
| 174 | - | |
| 175 | -theorem cyclePressure_exterior : | |
| 176 | - ((initialCycleData H).pressureFamily j).field w = 0 ∧ | |
| 177 | - ((initialCycleData H).pressureFamily j).angularField w = 0 := | |
| 178 | - exterior_zero ((initialCycleData H).pressureFamily j) | |
| 179 | - ((initialCycleData H).pressure_moving seed_reconstructed j) ht hq he | |
| 180 | - | |
| 181 | 145 | theorem cycleAngularIncrement_exterior : |
| 182 | 146 | ((initialCycleData H).angularIncrementFamily j).field w = 0 ∧ |
| 183 | 147 | ((initialCycleData H).angularIncrementFamily j).angularField w = 0 := |
| @@ -190,18 +154,6 @@ theorem cyclePressureIncrement_exterior : | ||
| 190 | 154 | exterior_zero ((initialCycleData H).pressureIncrementFamily j) |
| 191 | 155 | ((initialCycleData H).pressureIncrement_moving seed_reconstructed j) ht hq he |
| 192 | 156 | |
| 193 | -theorem cycleTemporal_exterior : | |
| 194 | - ((initialCycleData H).temporalFamily j).field w = 0 ∧ | |
| 195 | - ((initialCycleData H).temporalFamily j).angularField w = 0 := | |
| 196 | - exterior_zero ((initialCycleData H).temporalFamily j) | |
| 197 | - ((initialCycleData H).temporal_moving j) ht hq he | |
| 198 | - | |
| 199 | -theorem cycleRank_exterior : | |
| 200 | - ((initialCycleData H).rankFamily j).field w = 0 ∧ | |
| 201 | - ((initialCycleData H).rankFamily j).angularField w = 0 := | |
| 202 | - exterior_zero ((initialCycleData H).rankFamily j) | |
| 203 | - ((initialCycleData H).rank_moving j) ht hq he | |
| 204 | - | |
| 205 | 157 | theorem cycleStream_exterior : |
| 206 | 158 | ((initialCycleData H).streamFamily j).field w = 0 ∧ |
| 207 | 159 | ((initialCycleData H).streamFamily j).angularField w = 0 := |
+0 −126 NavierStokes/ActualMeanPhysicalData.lean View file
| @@ -192,15 +192,9 @@ theorem Atlas.StateOverlap.pressure {h : ℝ} {N Δ : ℕ} {A : Atlas h N Δ} | ||
| 192 | 192 | intro n hn m hm k hk x hx |
| 193 | 193 | simpa only [velocityScale_square] using (H n hn m hm k hk).pressure x hx |
| 194 | 194 | |
| 195 | -noncomputable def Atlas.radialFamily {h : ℝ} {N Δ : ℕ} (A : Atlas h N Δ) | |
| 196 | - {U : Set Plane} {u : CorrectionState.State Point} (H : A.StateOverlap U u) := A.family H.radial | |
| 197 | - | |
| 198 | 195 | noncomputable def Atlas.angularFamily {h : ℝ} {N Δ : ℕ} (A : Atlas h N Δ) |
| 199 | 196 | {U : Set Plane} {u : CorrectionState.State Point} (H : A.StateOverlap U u) := A.family H.angular |
| 200 | 197 | |
| 201 | -noncomputable def Atlas.axialFamily {h : ℝ} {N Δ : ℕ} (A : Atlas h N Δ) | |
| 202 | - {U : Set Plane} {u : CorrectionState.State Point} (H : A.StateOverlap U u) := A.family H.axial | |
| 203 | - | |
| 204 | 198 | noncomputable def Atlas.pressureFamily {h : ℝ} {N Δ : ℕ} (A : Atlas h N Δ) |
| 205 | 199 | {U : Set Plane} {u : CorrectionState.State Point} (H : A.StateOverlap U u) := A.family H.pressure |
| 206 | 200 | |
| @@ -215,15 +209,9 @@ theorem initialized_overlap (B N0 N : ℕ) : | ||
| 215 | 209 | intro n hn m hm k hk |
| 216 | 210 | exact ActualInitialCoherence.initialized_on_overlap B N0 n m k hk |
| 217 | 211 | |
| 218 | -noncomputable def initialRadialFamily (B N0 N : ℕ) := | |
| 219 | - (initialAtlas N).radialFamily (initialized_overlap B N0 N) | |
| 220 | - | |
| 221 | 212 | noncomputable def initialAngularFamily (B N0 N : ℕ) := |
| 222 | 213 | (initialAtlas N).angularFamily (initialized_overlap B N0 N) |
| 223 | 214 | |
| 224 | -noncomputable def initialAxialFamily (B N0 N : ℕ) := | |
| 225 | - (initialAtlas N).axialFamily (initialized_overlap B N0 N) | |
| 226 | - | |
| 227 | 215 | noncomputable def initialPressureFamily (B N0 N : ℕ) := |
| 228 | 216 | (initialAtlas N).pressureFamily (initialized_overlap B N0 N) |
| 229 | 217 | |
| @@ -266,46 +254,18 @@ theorem initial_nativeJets_of_class {α : ℝ} {f : Scalar} | ||
| 266 | 254 | intro n hn |
| 267 | 255 | simpa only [one_mul, pow_one] using slowScale_le_S (hN.trans hn) |
| 268 | 256 | |
| 269 | -theorem initialRadial_nativeJets (B N0 N : ℕ) (hN : 1 ≤ N) : | |
| 270 | - PhysicalMeanJetBounds.NativeJets N standardRegion.carrier (h * (19 / 10)) | |
| 271 | - (initialRadialFamily B N0 N).native := | |
| 272 | - initial_nativeJets_of_class (initial_mean_moving B N0).radial | |
| 273 | - (ActualInitialMean.initial_cumulative_bounds B N0).velocity.radial N hN | |
| 274 | - | |
| 275 | 257 | theorem initialAngular_nativeJets (B N0 N : ℕ) (hN : 1 ≤ N) : |
| 276 | 258 | PhysicalMeanJetBounds.NativeJets N standardRegion.carrier (h * (9 / 10)) |
| 277 | 259 | (initialAngularFamily B N0 N).native := |
| 278 | 260 | initial_nativeJets_of_class (initial_mean_moving B N0).angular |
| 279 | 261 | (ActualInitialMean.initial_cumulative_bounds B N0).velocity.angular N hN |
| 280 | 262 | |
| 281 | -theorem initialAxial_nativeJets (B N0 N : ℕ) (hN : 1 ≤ N) : | |
| 282 | - PhysicalMeanJetBounds.NativeJets N standardRegion.carrier (h * (9 / 10)) | |
| 283 | - (initialAxialFamily B N0 N).native := | |
| 284 | - initial_nativeJets_of_class (initial_mean_moving B N0).axial | |
| 285 | - (ActualInitialMean.initial_cumulative_bounds B N0).velocity.axial N hN | |
| 286 | - | |
| 287 | 263 | theorem initialPressure_nativeJets (B N0 N : ℕ) (hN : 1 ≤ N) : |
| 288 | 264 | PhysicalMeanJetBounds.NativeJets N standardRegion.carrier (h * (9 / 10)) |
| 289 | 265 | (initialPressureFamily B N0 N).native := |
| 290 | 266 | initial_nativeJets_of_class (initial_pressure_moving B N0) |
| 291 | 267 | (ActualInitialMean.initial_cumulative_bounds B N0).pressure N hN |
| 292 | 268 | |
| 293 | -theorem initialAngular_field_eq (B N0 N n : ℕ) (hn : N ≤ n) {w : SpaceTime} | |
| 294 | - (ht : w ∈ PhysicalWaveSum.preterminal) | |
| 295 | - (hu : (PhysicalMeanJetBounds.graph h n ((initialAtlas N).gap n) w).2.1 ∈ standardRegion.carrier) : | |
| 296 | - (initialAngularFamily B N0 N).field w = ChartScales.Q n ^ (-CoordinateAlgebra.A h) * | |
| 297 | - (ActualInitialCoherence.initialized B N0).mean.angular n | |
| 298 | - (PhysicalMeanJetBounds.graph h n ((initialAtlas N).gap n) w) := | |
| 299 | - (initialAngularFamily B N0 N).field_eq n hn ht hu | |
| 300 | - | |
| 301 | -theorem initialPressure_field_eq (B N0 N n : ℕ) (hn : N ≤ n) {w : SpaceTime} | |
| 302 | - (ht : w ∈ PhysicalWaveSum.preterminal) | |
| 303 | - (hu : (PhysicalMeanJetBounds.graph h n ((initialAtlas N).gap n) w).2.1 ∈ standardRegion.carrier) : | |
| 304 | - (initialPressureFamily B N0 N).field w = ChartScales.Q n ^ (-(2 * CoordinateAlgebra.A h)) * | |
| 305 | - (ActualInitialCoherence.initialized B N0).pressure n | |
| 306 | - (PhysicalMeanJetBounds.graph h n ((initialAtlas N).gap n) w) := | |
| 307 | - (initialPressureFamily B N0 N).field_eq n hn ht hu | |
| 308 | - | |
| 309 | 269 | /-! ## Scalar stream overlap from the actual primitive operators -/ |
| 310 | 270 | |
| 311 | 271 | def Atlas.ContextOverlap {h : ℝ} {N Δ : ℕ} (A : Atlas h N Δ) |
| @@ -663,10 +623,6 @@ theorem stage_transport (j : ℕ) (n : ℕ) (hn : N ≤ n) (m : ℕ) (hm : N ≤ | ||
| 663 | 623 | · exact D.rank_geometry j |
| 664 | 624 | · exact D.waves n hn m hm k hk j |
| 665 | 625 | |
| 666 | -noncomputable def radialFamily (j : ℕ) := D.atlas.radialFamily (D.state_overlap j) | |
| 667 | -noncomputable def angularFamily (j : ℕ) := D.atlas.angularFamily (D.state_overlap j) | |
| 668 | -noncomputable def axialFamily (j : ℕ) := D.atlas.axialFamily (D.state_overlap j) | |
| 669 | -noncomputable def pressureFamily (j : ℕ) := D.atlas.pressureFamily (D.state_overlap j) | |
| 670 | 626 | |
| 671 | 627 | noncomputable def temporalScalar (_D : CycleData G N Δ p c seed U) (j : ℕ) : Scalar := |
| 672 | 628 | VariableGaugeMean.temporalPotential (p j).gauge (p j).timeExponent (p j).commonIndex c |
| @@ -847,15 +803,6 @@ theorem Atlas.physical_add {h : ℝ} {N Δ : ℕ} (A : Atlas h N Δ) | ||
| 847 | 803 | · simp only [Atlas.physical, dite_eq_left hz, Pi.add_apply, mul_add] |
| 848 | 804 | · simp only [Atlas.physical, dite_eq_right hz, Pi.add_apply, zero_add] |
| 849 | 805 | |
| 850 | -theorem Atlas.physical_sub {h : ℝ} {N Δ : ℕ} (A : Atlas h N Δ) | |
| 851 | - (U : Set Plane) (d : ℝ) (f g : Scalar) : | |
| 852 | - A.physical U d (f - g) = A.physical U d f - A.physical U d g := by | |
| 853 | - classical | |
| 854 | - funext z | |
| 855 | - by_cases hz : ∃ n, A.Valid U z n | |
| 856 | - · simp only [Atlas.physical, dite_eq_left hz, Pi.sub_apply, mul_sub] | |
| 857 | - · simp only [Atlas.physical, dite_eq_right hz, Pi.sub_apply, sub_self] | |
| 858 | - | |
| 859 | 806 | noncomputable def initialStreamFamily (B N0 N : ℕ) := |
| 860 | 807 | (initialAtlas N).family ((initialTemporal_overlap B N0 N).add (initialRank_overlap B N0 N)) |
| 861 | 808 | |
| @@ -864,12 +811,6 @@ theorem initialStream_moving (B N0 : ℕ) : | ||
| 864 | 811 | (initialTemporalScalar B N0 + initialRankScalar B N0) := |
| 865 | 812 | MeanStateRegularity.MovingField.add (initialTemporal_moving B N0) (initialRank_moving B N0) |
| 866 | 813 | |
| 867 | -theorem initialStream_nativeJets (B N0 N : ℕ) (hN : 1 ≤ N) : | |
| 868 | - PhysicalMeanJetBounds.NativeJets N standardRegion.carrier (h * (1 - ChartScales.kappa)) | |
| 869 | - (initialStreamFamily B N0 N).native := | |
| 870 | - initial_nativeJets_of_class (initialStream_moving B N0) | |
| 871 | - ((initialTemporal_class B N0).add (initialRank_class B N0)) N hN | |
| 872 | - | |
| 873 | 814 | namespace CycleData |
| 874 | 815 | |
| 875 | 816 | variable {ι : Type} {G : CycleStateCoherence.Geometry} {N Δ : ℕ} |
| @@ -898,10 +839,6 @@ theorem angularIncrement_native (j : ℕ) : | ||
| 898 | 839 | change (_ + _) + _ - _ = _ |
| 899 | 840 | abel |
| 900 | 841 | |
| 901 | -theorem pressureIncrement_native (j : ℕ) : | |
| 902 | - (D.pressureIncrementFamily j).native = (CycleState.iterate p c seed (j+1)).state.pressure - | |
| 903 | - (CycleState.iterate p c seed j).state.pressure := rfl | |
| 904 | - | |
| 905 | 842 | theorem angularIncrement_moving (j : ℕ) : |
| 906 | 843 | GaugeMomentBalances.MovingField U G.inner G.outer (D.angularIncrementFamily j).native := |
| 907 | 844 | MeanStateRegularity.MovingField.sub (D.primitives (j+1)).mean.angular (D.primitives j).mean.angular |
| @@ -925,25 +862,6 @@ section RunJets | ||
| 925 | 862 | variable {B N0 N : ℕ} {p : ℕ → CycleParameters (ActualInitialization.Index B N0)} |
| 926 | 863 | (H : InitialCycleInput B N0 N p) |
| 927 | 864 | |
| 928 | -theorem cycleAngular_nativeJets (j : ℕ) (hN : 1 ≤ N) | |
| 929 | - (HC : CorrectionState.CumulativeBounds ActualInitialMean.strip | |
| 930 | - (CycleState.iterate p (commonContext B) (ActualInitialization.initialCycleState B N0) j).state) : | |
| 931 | - PhysicalMeanJetBounds.NativeJets N standardRegion.carrier (h * (9 / 10)) | |
| 932 | - ((initialCycleData H).angularFamily j).native := | |
| 933 | - initial_nativeJets_of_class ((initialCycleData H).primitives j).mean.angular HC.velocity.angular N hN | |
| 934 | - | |
| 935 | -theorem cyclePressure_nativeJets (j : ℕ) (hN : 1 ≤ N) | |
| 936 | - (HC : CorrectionState.CumulativeBounds ActualInitialMean.strip | |
| 937 | - (CycleState.iterate p (commonContext B) (ActualInitialization.initialCycleState B N0) j).state) : | |
| 938 | - PhysicalMeanJetBounds.NativeJets N standardRegion.carrier (h * (9 / 10)) | |
| 939 | - ((initialCycleData H).pressureFamily j).native := by | |
| 940 | - have hs : (VariableGaugeMean.reconstructState initialGeometry.gauge (commonContext B) | |
| 941 | - (ActualInitialization.initialCycleState B N0).state).pressure = | |
| 942 | - (ActualInitialization.initialCycleState B N0).state.pressure := by | |
| 943 | - rw [initialGeometry_gauge] | |
| 944 | - rfl | |
| 945 | - exact initial_nativeJets_of_class ((initialCycleData H).pressure_moving hs j) HC.pressure N hN | |
| 946 | - | |
| 947 | 865 | theorem angularIncrement_nativeJets (j : ℕ) (hN : 1 ≤ N) {α : ℝ} |
| 948 | 866 | (HT : MeanIncrementBounds.IncrementBounds ActualInitialMean.strip α |
| 949 | 867 | ((p j).temporalIncrement |
| @@ -993,28 +911,6 @@ theorem Atlas.field_on_chart {h d : ℝ} {N Δ : ℕ} (A : Atlas h N Δ) | ||
| 993 | 911 | change ChartScales.Q n ^ (-d) * f n (PhysicalMeanJetBounds.graph h n (A.gap n) w) = _ |
| 994 | 912 | rw [hc] |
| 995 | 913 | |
| 996 | -theorem Atlas.stream_curl {h : ℝ} {N Δ : ℕ} (A : Atlas h N Δ) | |
| 997 | - {U : Set Plane} (hU : IsOpen U) {f : Scalar} | |
| 998 | - (H : A.OverlapLaw U (CoordinateAlgebra.A h - 1 / 2) f) | |
| 999 | - (hf : ∀ n ≥ N, ContDiffOn ℝ ∞ (f n) (PhysicalMeanDomain.slowDomain U)) | |
| 1000 | - {a : ℝ} (ha : 0 < a) (j : PolarCharts.Index) (n : ℕ) (hn : N ≤ n) | |
| 1001 | - {w : SpaceTime} (ht : w ∈ PhysicalWaveSum.preterminal) | |
| 1002 | - (hu : (PhysicalMeanJetBounds.graph h n (A.gap n) w).2.1 ∈ U) | |
| 1003 | - (hw : w ∈ ActualMeanPotentialRealization.cartesianDomain a j) : | |
| 1004 | - SpatialCurl.spatialCurl (A.family H).angularField w = | |
| 1005 | - let G := PhysicalResidualBridge.commonGraph (ChartScales.Q n) h (A.index n) | |
| 1006 | - CyclePhysicalPrefixes.polarVelocityMap a j | |
| 1007 | - (CyclePhysicalPrefixes.velocityMap G (ActualMeanPotentialRealization.meridional G (f n))) w := by | |
| 1008 | - have hc := ActualMeanPotentialRealization.coherent_angularField_curl ha j (A.family H) | |
| 1009 | - hU n hn ht hu hw ((hf n hn).contDiffAt ((PhysicalMeanDomain.slowDomain_open hU).mem_nhds hu)) | |
| 1010 | - change SpatialCurl.spatialCurl (A.family H).angularField w = | |
| 1011 | - CyclePhysicalPrefixes.polarVelocityMap a j (CyclePhysicalPrefixes.velocityMap | |
| 1012 | - (PhysicalResidualBridge.commonGraph (ChartScales.Q n) h (ChartScales.nativeIndex h n - A.gap n)) | |
| 1013 | - (ActualMeanPotentialRealization.meridional | |
| 1014 | - (PhysicalResidualBridge.commonGraph (ChartScales.Q n) h (ChartScales.nativeIndex h n - A.gap n)) | |
| 1015 | - (f n))) w at hc | |
| 1016 | - simpa only [A.index_eq hn] using hc | |
| 1017 | - | |
| 1018 | 914 | theorem Atlas.angular_field {h : ℝ} {N Δ : ℕ} (A : Atlas h N Δ) |
| 1019 | 915 | {U : Set Plane} {f : Scalar} (H : A.OverlapLaw U (CoordinateAlgebra.A h) f) |
| 1020 | 916 | {a : ℝ} (ha : 0 < a) (j : PolarCharts.Index) (n : ℕ) (hn : N ≤ n) |
| @@ -1071,19 +967,6 @@ theorem Atlas.family_add_angular {h d : ℝ} {N Δ : ℕ} (A : Atlas h N Δ) | ||
| 1071 | 967 | simp only [PhysicalMeanJetBounds.CoherentFamily.angularField, A.family_add_field Hf Hg, |
| 1072 | 968 | Pi.add_apply, add_smul] |
| 1073 | 969 | |
| 1074 | -theorem Atlas.family_sub_field {h d : ℝ} {N Δ : ℕ} (A : Atlas h N Δ) | |
| 1075 | - {U : Set Plane} {f g : Scalar} (Hf : A.OverlapLaw U d f) (Hg : A.OverlapLaw U d g) : | |
| 1076 | - (A.family (Hf.sub Hg)).field = (A.family Hf).field - (A.family Hg).field := by | |
| 1077 | - funext w | |
| 1078 | - exact congrFun (A.physical_sub U d f g) (PhysicalMeanJetBounds.physicalPoint h w) | |
| 1079 | - | |
| 1080 | -theorem Atlas.family_sub_angular {h d : ℝ} {N Δ : ℕ} (A : Atlas h N Δ) | |
| 1081 | - {U : Set Plane} {f g : Scalar} (Hf : A.OverlapLaw U d f) (Hg : A.OverlapLaw U d g) : | |
| 1082 | - (A.family (Hf.sub Hg)).angularField = (A.family Hf).angularField - (A.family Hg).angularField := by | |
| 1083 | - funext w | |
| 1084 | - simp only [PhysicalMeanJetBounds.CoherentFamily.angularField, A.family_sub_field Hf Hg, | |
| 1085 | - Pi.sub_apply, sub_smul] | |
| 1086 | - | |
| 1087 | 970 | theorem initialStream_angularField (B N0 N : ℕ) : |
| 1088 | 971 | (initialStreamFamily B N0 N).angularField = |
| 1089 | 972 | (initialTemporalFamily B N0 N).angularField + (initialRankFamily B N0 N).angularField := |
| @@ -1099,15 +982,6 @@ theorem stream_angularField (j : ℕ) : | ||
| 1099 | 982 | (D.streamFamily j).angularField = (D.temporalFamily j).angularField + (D.rankFamily j).angularField := |
| 1100 | 983 | D.atlas.family_add_angular (D.temporalScalar_overlap j) (D.rankScalar_overlap j) |
| 1101 | 984 | |
| 1102 | -theorem angularIncrement_angularField (j : ℕ) : | |
| 1103 | - (D.angularIncrementFamily j).angularField = | |
| 1104 | - (D.angularFamily (j+1)).angularField - (D.angularFamily j).angularField := | |
| 1105 | - D.atlas.family_sub_angular (D.state_overlap (j+1)).angular (D.state_overlap j).angular | |
| 1106 | - | |
| 1107 | -theorem pressureIncrement_field (j : ℕ) : | |
| 1108 | - (D.pressureIncrementFamily j).field = (D.pressureFamily (j+1)).field - (D.pressureFamily j).field := | |
| 1109 | - D.atlas.family_sub_field (D.state_overlap (j+1)).pressure (D.state_overlap j).pressure | |
| 1110 | - | |
| 1111 | 985 | end CycleData |
| 1112 | 986 | |
| 1113 | 987 | /-! ## Actual temporal-source and measured-debt class inputs -/ |
+0 −223 NavierStokes/ActualMeanPotentialRealization.lean View file
| @@ -290,31 +290,6 @@ theorem meridional_rank (g : VariableGaugeMean.GaugeData (ℝ × ℝ)) (r : Corr | ||
| 290 | 290 | fin_cases i <;> simp [meridional, CyclePhysicalPrefixes.meridionalComponents, |
| 291 | 291 | VariableGaugeMean.rankIncrementState, H.epsilon, H.exponent, H.frequency, H.radialVector] |
| 292 | 292 | |
| 293 | -theorem temporalPotential_curl {a : ℝ} (ha : 0 < a) (j : PolarCharts.Index) | |
| 294 | - (g : VariableGaugeMean.GaugeData (ℝ × ℝ)) (h : ℝ) (index : ℕ → ℕ) | |
| 295 | - (c : CorrectionState.Context Point) (u : CorrectionState.State Point) | |
| 296 | - (G : ScaledGraph) (hl : 0 < G.radialScale) (n : ℕ) (H : GaugeMatches g c G n) | |
| 297 | - {w : SpaceTime} (hw : w ∈ cartesianDomain a j) | |
| 298 | - (hΨ : ContDiffAt ℝ ∞ (VariableGaugeMean.temporalPotential g h index c u n) | |
| 299 | - (chartPoint G (PhysicalCurlCovariance.polarCoordinates a j w))) : | |
| 300 | - SpatialCurl.spatialCurl (cartesianPotential a j G (VariableGaugeMean.temporalPotential g h index c u n)) w = | |
| 301 | - CyclePhysicalPrefixes.polarVelocityMap a j (CyclePhysicalPrefixes.velocityMap G | |
| 302 | - (CyclePhysicalPrefixes.meridionalComponents | |
| 303 | - (VariableGaugeMean.temporalIncrementState g h index axial c u) n)) w := by | |
| 304 | - rw [cartesianPotential_curl ha j G hl hw hΨ, meridional_temporal g h index c u G n H] | |
| 305 | - | |
| 306 | -theorem rankPotential_curl {a : ℝ} (ha : 0 < a) (j : PolarCharts.Index) | |
| 307 | - (g : VariableGaugeMean.GaugeData (ℝ × ℝ)) (r : CorrectionState.RankData (ℝ × ℝ)) | |
| 308 | - (c : CorrectionState.Context Point) (u : CorrectionState.State Point) | |
| 309 | - (G : ScaledGraph) (hl : 0 < G.radialScale) (n : ℕ) (H : GaugeMatches g c G n) | |
| 310 | - {w : SpaceTime} (hw : w ∈ cartesianDomain a j) | |
| 311 | - (hΨ : ContDiffAt ℝ ∞ (VariableGaugeMean.rankPotential g r c u n) | |
| 312 | - (chartPoint G (PhysicalCurlCovariance.polarCoordinates a j w))) : | |
| 313 | - SpatialCurl.spatialCurl (cartesianPotential a j G (VariableGaugeMean.rankPotential g r c u n)) w = | |
| 314 | - CyclePhysicalPrefixes.polarVelocityMap a j (CyclePhysicalPrefixes.velocityMap G | |
| 315 | - (CyclePhysicalPrefixes.meridionalComponents (VariableGaugeMean.rankIncrementState g r axial c u) n)) w := by | |
| 316 | - rw [cartesianPotential_curl ha j G hl hw hΨ, meridional_rank g r c u G n H] | |
| 317 | - | |
| 318 | 293 | /-! ## Identification with the coherent physical mean potential -/ |
| 319 | 294 | |
| 320 | 295 | theorem projection_forward (z : SpaceTime) : |
| @@ -424,50 +399,6 @@ theorem coherent_angularField_germ {a h : ℝ} (ha : 0 < a) (j : PolarCharts.Ind | ||
| 424 | 399 | filter_upwards [(cartesianDomain_open a j).mem_nhds hw] with z hz |
| 425 | 400 | exact bandAngularField_eq_cartesianPotential ha j h n (D.gap n) (D.gap_native n hn) (D.native n) hz |
| 426 | 401 | |
| 427 | -/-- This is a curl identity for the coherent physical field itself, obtained | |
| 428 | -from its proved value coherence and the actual Cartesian derivative. -/ | |
| 429 | -theorem coherent_angularField_curl {a h : ℝ} (ha : 0 < a) (j : PolarCharts.Index) | |
| 430 | - {N Δ : ℕ} {U : Set (ℝ × ℝ)} | |
| 431 | - (D : PhysicalMeanJetBounds.CoherentFamily h (CoordinateAlgebra.A h - 1 / 2) N Δ U ℝ) | |
| 432 | - (hU : IsOpen U) (n : ℕ) (hn : N ≤ n) {w : SpaceTime} | |
| 433 | - (ht : w ∈ PhysicalWaveSum.preterminal) (hu : (PhysicalMeanJetBounds.graph h n (D.gap n) w).2.1 ∈ U) | |
| 434 | - (hw : w ∈ cartesianDomain a j) | |
| 435 | - (hΨ : ContDiffAt ℝ ∞ (D.native n) (PhysicalMeanJetBounds.graph h n (D.gap n) w)) : | |
| 436 | - SpatialCurl.spatialCurl D.angularField w = | |
| 437 | - let G := PhysicalResidualBridge.commonGraph (ChartScales.Q n) h (ChartScales.nativeIndex h n - D.gap n) | |
| 438 | - CyclePhysicalPrefixes.polarVelocityMap a j (CyclePhysicalPrefixes.velocityMap G (meridional G (D.native n))) w := by | |
| 439 | - rw [PhysicalCurlCovariance.spatialCurl_congr (coherent_angularField_germ ha j D hU n hn ht hu hw)] | |
| 440 | - apply cartesianPotential_curl ha j _ (Real.rpow_pos_of_pos (ChartScales.Q_pos n) _) hw | |
| 441 | - rwa [chartPoint_eq_graph ha j h n (D.gap n) (D.gap_native n hn) hw] | |
| 442 | - | |
| 443 | -/-- For the reconstructed mean stream, smoothness of the scalar potential is | |
| 444 | -proved from the supported axial source. No curl identity or smoothness of the | |
| 445 | -output is an input. The radial exponent and frequency are the physical ones. -/ | |
| 446 | -theorem reconstructStream_curl {a b h ρ : ℝ} (hρ : 0 < ρ) (j : PolarCharts.Index) | |
| 447 | - (U : LocalSignedRequest.SlowRegion (2 * h)) {N Δ : ℕ} | |
| 448 | - (D : PhysicalMeanJetBounds.CoherentFamily h (CoordinateAlgebra.A h) N Δ U.carrier ℝ) | |
| 449 | - (hh : 0 < h) (hh1 : h < 1 / 2) (ha : 0 < a) (hab : a < b) | |
| 450 | - (hf : ∀ n ≥ N, ContDiffOn ℝ ∞ (D.native n) (PhysicalMeanDomain.slowDomain U.carrier)) | |
| 451 | - (hs : PhysicalMeanJetBounds.NativeSupport h a b N U.carrier D.native) | |
| 452 | - (n : ℕ) (hn : N ≤ n) {w : SpaceTime} | |
| 453 | - (ht : w ∈ PhysicalWaveSum.preterminal) | |
| 454 | - (hu : (PhysicalMeanJetBounds.graph h n (D.gap n) w).2.1 ∈ U.carrier) | |
| 455 | - (hw : w ∈ cartesianDomain ρ j) : | |
| 456 | - let R := D.reconstructStream hh hh1 ha hab (ChartScales.radialExponent_pos h hh.le) | |
| 457 | - 1 U.isOpen hf hs | |
| 458 | - SpatialCurl.spatialCurl R.angularField w = | |
| 459 | - let G := PhysicalResidualBridge.commonGraph (ChartScales.Q n) h | |
| 460 | - (ChartScales.nativeIndex h n - D.gap n) | |
| 461 | - CyclePhysicalPrefixes.polarVelocityMap ρ j | |
| 462 | - (CyclePhysicalPrefixes.velocityMap G (meridional G (R.native n))) w := by | |
| 463 | - dsimp only | |
| 464 | - apply coherent_angularField_curl hρ j | |
| 465 | - (D.reconstructStream hh hh1 ha hab (ChartScales.radialExponent_pos h hh.le) 1 U.isOpen hf hs) | |
| 466 | - U.isOpen n hn ht hu hw | |
| 467 | - exact (VariableGaugeMean.streamPotential_q_contDiffOn U ha hab | |
| 468 | - (ChartScales.radialExponent_pos h hh.le) _ _ (hf n hn) (hs n hn)).contDiffAt | |
| 469 | - ((PhysicalMeanDomain.slowDomain_open U.isOpen).mem_nhds hu) | |
| 470 | - | |
| 471 | 402 | /-! ## Finite sums of the actual potentials -/ |
| 472 | 403 | |
| 473 | 404 | theorem cartesianPotential_finset_curl {ι : Type} (S : Finset ι) |
| @@ -508,84 +439,12 @@ theorem meridionalComponents_updated (m t : MeanIncrementBounds.Triple Point) (n | ||
| 508 | 439 | funext x i |
| 509 | 440 | fin_cases i <;> simp [CyclePhysicalPrefixes.meridionalComponents, MeanIncrementBounds.updated] |
| 510 | 441 | |
| 511 | -/-- The temporal and rank inputs may be successive actual states. Their | |
| 512 | -potentials realize exactly the radial/axial parts of those literal increments. -/ | |
| 513 | -theorem temporal_rank_curl {a : ℝ} (ha : 0 < a) (j : PolarCharts.Index) | |
| 514 | - (g : VariableGaugeMean.GaugeData (ℝ × ℝ)) (r : CorrectionState.RankData (ℝ × ℝ)) | |
| 515 | - (h : ℝ) (index : ℕ → ℕ) (c : CorrectionState.Context Point) | |
| 516 | - (ut ur : CorrectionState.State Point) (G : ScaledGraph) (hl : 0 < G.radialScale) | |
| 517 | - (n : ℕ) (H : GaugeMatches g c G n) {w : SpaceTime} (hw : w ∈ cartesianDomain a j) | |
| 518 | - (ht : ContDiffAt ℝ ∞ (VariableGaugeMean.temporalPotential g h index c ut n) | |
| 519 | - (chartPoint G (PhysicalCurlCovariance.polarCoordinates a j w))) | |
| 520 | - (hr : ContDiffAt ℝ ∞ (VariableGaugeMean.rankPotential g r c ur n) | |
| 521 | - (chartPoint G (PhysicalCurlCovariance.polarCoordinates a j w))) : | |
| 522 | - SpatialCurl.spatialCurl | |
| 523 | - (cartesianPotential a j G (VariableGaugeMean.temporalPotential g h index c ut n) + | |
| 524 | - cartesianPotential a j G (VariableGaugeMean.rankPotential g r c ur n)) w = | |
| 525 | - CyclePhysicalPrefixes.polarVelocityMap a j (CyclePhysicalPrefixes.velocityMap G | |
| 526 | - (CyclePhysicalPrefixes.meridionalComponents | |
| 527 | - (VariableGaugeMean.temporalIncrementState g h index axial c ut) n + | |
| 528 | - CyclePhysicalPrefixes.meridionalComponents | |
| 529 | - (VariableGaugeMean.rankIncrementState g r axial c ur) n)) w := by | |
| 530 | - rw [cartesianPotential_add_curl ha j G hl _ _ hw ht hr, | |
| 531 | - meridional_temporal g h index c ut G n H, meridional_rank g r c ur G n H] | |
| 532 | - | |
| 533 | 442 | open CorrectionState CorrectionStep |
| 534 | 443 | |
| 535 | -/-- The two scalar streams are evaluated at the actual successive states of | |
| 536 | -the four-stage cycle. -/ | |
| 537 | -noncomputable def cycleMeanPotential {ι : Type} (p : CycleParameters ι) | |
| 538 | - (v : CycleCoefficients ι) (c : Context Point) (u : State Point) | |
| 539 | - (a : ℝ) (j : PolarCharts.Index) (G : ScaledGraph) (n : ℕ) : VelocityField := | |
| 540 | - cartesianPotential a j G | |
| 541 | - (VariableGaugeMean.temporalPotential p.gauge p.timeExponent p.commonIndex c (p.afterSigned v c u) n) + | |
| 542 | - cartesianPotential a j G | |
| 543 | - (VariableGaugeMean.rankPotential p.gauge p.rank c (p.afterTemporal v c u) n) | |
| 544 | - | |
| 545 | -theorem cycleMeanPotential_curl {ι : Type} (p : CycleParameters ι) (v : CycleCoefficients ι) | |
| 546 | - (c : Context Point) (u : State Point) {a : ℝ} (ha : 0 < a) (j : PolarCharts.Index) | |
| 547 | - (G : ScaledGraph) (hl : 0 < G.radialScale) (n : ℕ) (H : GaugeMatches p.gauge c G n) | |
| 548 | - (hax : p.axial = axial) {w : SpaceTime} (hw : w ∈ cartesianDomain a j) | |
| 549 | - (ht : ContDiffAt ℝ ∞ | |
| 550 | - (VariableGaugeMean.temporalPotential p.gauge p.timeExponent p.commonIndex c (p.afterSigned v c u) n) | |
| 551 | - (chartPoint G (PhysicalCurlCovariance.polarCoordinates a j w))) | |
| 552 | - (hr : ContDiffAt ℝ ∞ (VariableGaugeMean.rankPotential p.gauge p.rank c (p.afterTemporal v c u) n) | |
| 553 | - (chartPoint G (PhysicalCurlCovariance.polarCoordinates a j w))) : | |
| 554 | - SpatialCurl.spatialCurl (cycleMeanPotential p v c u a j G n) w = | |
| 555 | - CyclePhysicalPrefixes.polarVelocityMap a j (CyclePhysicalPrefixes.velocityMap G | |
| 556 | - (CyclePhysicalPrefixes.meridionalComponents (p.temporalIncrement v c u) n + | |
| 557 | - CyclePhysicalPrefixes.meridionalComponents (p.rankIncrement v c u) n)) w := by | |
| 558 | - simpa only [cycleMeanPotential, CycleParameters.temporalIncrement, CycleParameters.rankIncrement, hax] | |
| 559 | - using temporal_rank_curl ha j p.gauge p.rank p.timeExponent p.commonIndex c | |
| 560 | - (p.afterSigned v c u) (p.afterTemporal v c u) G hl n H hw ht hr | |
| 561 | - | |
| 562 | -theorem cycleMeanPotential_smoothAt {ι : Type} (p : CycleParameters ι) (v : CycleCoefficients ι) | |
| 563 | - (c : Context Point) (u : State Point) {a : ℝ} (ha : 0 < a) (j : PolarCharts.Index) | |
| 564 | - (G : ScaledGraph) (hl : 0 < G.radialScale) (n : ℕ) {w : SpaceTime} (hw : w ∈ cartesianDomain a j) | |
| 565 | - (ht : ContDiffAt ℝ ∞ | |
| 566 | - (VariableGaugeMean.temporalPotential p.gauge p.timeExponent p.commonIndex c (p.afterSigned v c u) n) | |
| 567 | - (chartPoint G (PhysicalCurlCovariance.polarCoordinates a j w))) | |
| 568 | - (hr : ContDiffAt ℝ ∞ (VariableGaugeMean.rankPotential p.gauge p.rank c (p.afterTemporal v c u) n) | |
| 569 | - (chartPoint G (PhysicalCurlCovariance.polarCoordinates a j w))) : | |
| 570 | - ContDiffAt ℝ ∞ (cycleMeanPotential p v c u a j G n) w := | |
| 571 | - (cartesianPotential_smoothAt ha j G (mul_pos hl (polarCoordinates_valid ha j hw).1).ne' ht).add | |
| 572 | - (cartesianPotential_smoothAt ha j G (mul_pos hl (polarCoordinates_valid ha j hw).1).ne' hr) | |
| 573 | - | |
| 574 | 444 | /-! ## The actual initialized mean -/ |
| 575 | 445 | |
| 576 | 446 | open CorrectionInitialization CorrectionInitialization.GaugeInitialization |
| 577 | 447 | |
| 578 | -noncomputable def initializedMeanPotential {ι : Type} | |
| 579 | - (g : VariableGaugeMean.GaugeData (ℝ × ℝ)) (r : RankData (ℝ × ℝ)) | |
| 580 | - (h : ℝ) (index : ℕ → ℕ) (c : Context Point) | |
| 581 | - (labels : ℕ → Finset ι) (pieces : ι → PrimaryPiece (Point × ℝ)) | |
| 582 | - (baseError : Oscillation Point) (a : ℝ) (j : PolarCharts.Index) (G : ScaledGraph) (n : ℕ) : | |
| 583 | - VelocityField := | |
| 584 | - cartesianPotential a j G (VariableGaugeMean.temporalPotential g h index c | |
| 585 | - (primaryBands g c labels pieces baseError) n) + | |
| 586 | - cartesianPotential a j G (VariableGaugeMean.rankPotential g r c | |
| 587 | - (temporalBands g h index axial c labels pieces baseError) n) | |
| 588 | - | |
| 589 | 448 | theorem initializedBands_mean {ι : Type} |
| 590 | 449 | (g : VariableGaugeMean.GaugeData (ℝ × ℝ)) (r : RankData (ℝ × ℝ)) |
| 591 | 450 | (h : ℝ) (index : ℕ → ℕ) (c : Context Point) |
| @@ -603,88 +462,6 @@ theorem initializedBands_mean {ι : Type} | ||
| 603 | 462 | (temporalBands g h index axial c labels pieces baseError)) = _ |
| 604 | 463 | simp only [MeanIncrementBounds.updated, zero_add] |
| 605 | 464 | |
| 606 | -/-- The initial mean potential is the sum of the two actual initialized | |
| 607 | -streams. Its curl equals the initialized mean's meridional components. -/ | |
| 608 | -theorem initializedMeanPotential_curl {ι : Type} | |
| 609 | - (g : VariableGaugeMean.GaugeData (ℝ × ℝ)) (r : RankData (ℝ × ℝ)) | |
| 610 | - (h : ℝ) (index : ℕ → ℕ) (c : Context Point) | |
| 611 | - (labels : ℕ → Finset ι) (pieces : ι → PrimaryPiece (Point × ℝ)) | |
| 612 | - (baseError : Oscillation Point) {a : ℝ} (ha : 0 < a) (j : PolarCharts.Index) | |
| 613 | - (G : ScaledGraph) (hl : 0 < G.radialScale) (n : ℕ) (H : GaugeMatches g c G n) | |
| 614 | - {w : SpaceTime} (hw : w ∈ cartesianDomain a j) | |
| 615 | - (ht : ContDiffAt ℝ ∞ (VariableGaugeMean.temporalPotential g h index c | |
| 616 | - (primaryBands g c labels pieces baseError) n) | |
| 617 | - (chartPoint G (PhysicalCurlCovariance.polarCoordinates a j w))) | |
| 618 | - (hr : ContDiffAt ℝ ∞ (VariableGaugeMean.rankPotential g r c | |
| 619 | - (temporalBands g h index axial c labels pieces baseError) n) | |
| 620 | - (chartPoint G (PhysicalCurlCovariance.polarCoordinates a j w))) : | |
| 621 | - SpatialCurl.spatialCurl (initializedMeanPotential g r h index c labels pieces baseError a j G n) w = | |
| 622 | - CyclePhysicalPrefixes.polarVelocityMap a j (CyclePhysicalPrefixes.velocityMap G | |
| 623 | - (CyclePhysicalPrefixes.meridionalComponents | |
| 624 | - (initializedBands g r h index axial c labels pieces baseError).mean n)) w := by | |
| 625 | - rw [initializedBands_mean, meridionalComponents_updated] | |
| 626 | - exact temporal_rank_curl ha j g r h index c _ _ G hl n H hw ht hr | |
| 627 | - | |
| 628 | 465 | /-! ## Finite prefixes of the literal iteration -/ |
| 629 | 466 | |
| 630 | -noncomputable def meanIncrementComponents {ι : Type} (p : CycleParameters ι) | |
| 631 | - (v : CycleCoefficients ι) (c : Context Point) (u : State Point) (n : ℕ) : | |
| 632 | - CyclePhysicalPrefixes.Components := | |
| 633 | - CyclePhysicalPrefixes.meridionalComponents (p.temporalIncrement v c u) n + | |
| 634 | - CyclePhysicalPrefixes.meridionalComponents (p.rankIncrement v c u) n | |
| 635 | - | |
| 636 | -theorem meridionalComponents_next {ι : Type} (p : CycleParameters ι) | |
| 637 | - (v : CycleCoefficients ι) (c : Context Point) (u : State Point) (n : ℕ) : | |
| 638 | - CyclePhysicalPrefixes.meridionalComponents (p.next v c u).mean n = | |
| 639 | - CyclePhysicalPrefixes.meridionalComponents u.mean n + meanIncrementComponents p v c u n := by | |
| 640 | - rw [p.next_mean, meridionalComponents_updated, meridionalComponents_updated] | |
| 641 | - exact add_assoc _ _ _ | |
| 642 | - | |
| 643 | -theorem meridionalComponents_iterate {ι : Type} (p : ℕ → CycleParameters ι) | |
| 644 | - (c : Context Point) (seed : CycleState ι) (n J : ℕ) : | |
| 645 | - CyclePhysicalPrefixes.meridionalComponents (CycleState.iterate p c seed J).state.mean n = | |
| 646 | - CyclePhysicalPrefixes.meridionalComponents seed.state.mean n + | |
| 647 | - ∑ k ∈ Finset.range J, meanIncrementComponents (p k) | |
| 648 | - (CycleState.iterate p c seed k).coefficients c (CycleState.iterate p c seed k).state n := by | |
| 649 | - induction J with | |
| 650 | - | zero => simp only [CycleState.iterate_zero, Finset.range_zero, Finset.sum_empty, add_zero] | |
| 651 | - | succ J ih => | |
| 652 | - change CyclePhysicalPrefixes.meridionalComponents | |
| 653 | - ((p J).next (CycleState.iterate p c seed J).coefficients c (CycleState.iterate p c seed J).state).mean n = _ | |
| 654 | - rw [meridionalComponents_next, ih, Finset.sum_range_succ, add_assoc] | |
| 655 | - | |
| 656 | -/-- The finite sum is evaluated on the actual successive cycle states. -/ | |
| 657 | -noncomputable def cycleMeanPrefix {ι : Type} (p : ℕ → CycleParameters ι) | |
| 658 | - (c : Context Point) (seed : CycleState ι) | |
| 659 | - (a : ℝ) (j : PolarCharts.Index) (G : ScaledGraph) (n J : ℕ) : VelocityField := | |
| 660 | - fun w => ∑ k ∈ Finset.range J, cycleMeanPotential (p k) | |
| 661 | - (CycleState.iterate p c seed k).coefficients c (CycleState.iterate p c seed k).state a j G n w | |
| 662 | - | |
| 663 | -theorem cycleMeanPrefix_curl {ι : Type} (p : ℕ → CycleParameters ι) | |
| 664 | - (c : Context Point) (seed : CycleState ι) {a : ℝ} (ha : 0 < a) | |
| 665 | - (j : PolarCharts.Index) (G : ScaledGraph) (hl : 0 < G.radialScale) (n J : ℕ) | |
| 666 | - (H : ∀ k < J, GaugeMatches (p k).gauge c G n) | |
| 667 | - (hax : ∀ k < J, (p k).axial = axial) {w : SpaceTime} (hw : w ∈ cartesianDomain a j) | |
| 668 | - (ht : ∀ k < J, ContDiffAt ℝ ∞ | |
| 669 | - (VariableGaugeMean.temporalPotential (p k).gauge (p k).timeExponent (p k).commonIndex c | |
| 670 | - ((p k).afterSigned (CycleState.iterate p c seed k).coefficients c (CycleState.iterate p c seed k).state) n) | |
| 671 | - (chartPoint G (PhysicalCurlCovariance.polarCoordinates a j w))) | |
| 672 | - (hr : ∀ k < J, ContDiffAt ℝ ∞ | |
| 673 | - (VariableGaugeMean.rankPotential (p k).gauge (p k).rank c | |
| 674 | - ((p k).afterTemporal (CycleState.iterate p c seed k).coefficients c (CycleState.iterate p c seed k).state) n) | |
| 675 | - (chartPoint G (PhysicalCurlCovariance.polarCoordinates a j w))) : | |
| 676 | - SpatialCurl.spatialCurl (cycleMeanPrefix p c seed a j G n J) w = | |
| 677 | - CyclePhysicalPrefixes.polarVelocityMap a j (CyclePhysicalPrefixes.velocityMap G | |
| 678 | - (CyclePhysicalPrefixes.meridionalComponents (CycleState.iterate p c seed J).state.mean n - | |
| 679 | - CyclePhysicalPrefixes.meridionalComponents seed.state.mean n)) w := by | |
| 680 | - rw [meridionalComponents_iterate, add_sub_cancel_left] | |
| 681 | - unfold cycleMeanPrefix | |
| 682 | - rw [PhysicalParticularWave.spatialCurl_finset_sum _ _ (fun k hk => | |
| 683 | - (cycleMeanPotential_smoothAt (p k) _ c _ ha j G hl n hw | |
| 684 | - (ht k (Finset.mem_range.mp hk)) (hr k (Finset.mem_range.mp hk))).differentiableAt (by simp))] | |
| 685 | - simp only [map_sum, Finset.sum_apply] | |
| 686 | - exact Finset.sum_congr rfl (fun k hk => cycleMeanPotential_curl (p k) _ c _ ha j G hl n | |
| 687 | - (H k (Finset.mem_range.mp hk)) (hax k (Finset.mem_range.mp hk)) hw | |
| 688 | - (ht k (Finset.mem_range.mp hk)) (hr k (Finset.mem_range.mp hk))) | |
| 689 | - | |
| 690 | 467 | end NavierStokes.ActualMeanPotentialRealization |
+0 −36 NavierStokes/ActualMeanStageData.lean View file
| @@ -175,16 +175,6 @@ noncomputable def coherentAngularData (D : PhysicalMeanJetBounds.CoherentFamily | ||
| 175 | 175 | inner_pos _ hp := innerRadius_pos hh hh1 ha hp |
| 176 | 176 | vanishes := coefficient_vanishes D hh hh1 ha hab hU hcover hs hq |
| 177 | 177 | |
| 178 | -theorem coherentAngularData_field (D : PhysicalMeanJetBounds.CoherentFamily h degree N Δ U ℝ) | |
| 179 | - (hh : 0 < h) (hh1 : h < 1 / 2) {a b : ℝ} (ha : 0 < a) (hab : a < b) | |
| 180 | - (hU : IsOpen U) | |
| 181 | - (hcover : PhysicalMeanDomain.normalizedSlowDomain (2 * h) (1 / 2) 2 ⊆ U) | |
| 182 | - (hsm : ∀ n ≥ N, ContDiffOn ℝ ∞ (D.native n) (PhysicalMeanDomain.slowDomain U)) | |
| 183 | - (hs : PhysicalMeanJetBounds.NativeSupport h a b N U D.native) | |
| 184 | - (qbig : ℝ) (hq : qbig ≤ ChartScales.Q N) : | |
| 185 | - DirectAngularDiagonal.angularField (coherentAngularData D hh hh1 ha hab hU hcover hsm hs qbig hq).scalar = D.angularField := | |
| 186 | - coefficient_angularField D | |
| 187 | - | |
| 188 | 178 | end Generic |
| 189 | 179 | |
| 190 | 180 | /-! ## The fixed actual atlas and native moving support -/ |
| @@ -265,32 +255,6 @@ theorem actualAngularSupport_shrinkingSupport | ||
| 265 | 255 | (actualAngularSupport D Hm qbig hq).field := |
| 266 | 256 | actualAngularData_shrinkingSupport D Hm qbig hq |
| 267 | 257 | |
| 268 | -theorem actualAngular_zero_germ | |
| 269 | - (D : PhysicalMeanJetBounds.CoherentFamily h degree N Δ standardRegion.carrier ℝ) | |
| 270 | - (Hm : GaugeMomentBalances.MovingField standardRegion commonGauge.radial.inner | |
| 271 | - commonGauge.radial.outer D.native) | |
| 272 | - (qbig : ℝ) (hq : qbig ≤ ChartScales.Q N) | |
| 273 | - {w : SpaceTime} (hw : w ∈ MixedAxisPreservation.localDomain h qbig) | |
| 274 | - (hr : DirectAngularDiagonal.radius w < | |
| 275 | - innerRadius h ActualInitialization.geometry.patch.a (DirectAngularDiagonal.slowPoint w)) : | |
| 276 | - D.angularField =ᶠ[𝓝 w] fun _ => 0 := by | |
| 277 | - have he := (actualAngularData D Hm qbig hq).field_zero_germ | |
| 278 | - (LocalAngularDiagonal.localSlowDomain_open outgoing.data.h_pos outgoing.data.h_lt_half qbig) hw hr | |
| 279 | - rwa [actualAngularData_field] at he | |
| 280 | - | |
| 281 | -theorem actualAngular_axis_zero_germ | |
| 282 | - (D : PhysicalMeanJetBounds.CoherentFamily h degree N Δ standardRegion.carrier ℝ) | |
| 283 | - (Hm : GaugeMomentBalances.MovingField standardRegion commonGauge.radial.inner | |
| 284 | - commonGauge.radial.outer D.native) | |
| 285 | - (qbig : ℝ) (hq : qbig ≤ ChartScales.Q N) | |
| 286 | - {w : SpaceTime} (hw : w ∈ MixedAxisPreservation.localDomain h qbig) | |
| 287 | - (hr : DirectAngularDiagonal.radius w = 0) : | |
| 288 | - D.angularField =ᶠ[𝓝 w] fun _ => 0 := by | |
| 289 | - apply actualAngular_zero_germ D Hm qbig hq hw | |
| 290 | - rw [hr] | |
| 291 | - exact innerRadius_pos outgoing.data.h_pos outgoing.data.h_lt_half | |
| 292 | - ActualInitialization.geometry.patch.a_pos hw | |
| 293 | - | |
| 294 | 258 | end Actual |
| 295 | 259 | |
| 296 | 260 | /-! ## Initialized direct angular mean and actual temporal/rank streams -/ |
+0 −94 NavierStokes/ActualParticularBackground.lean View file
| @@ -114,29 +114,6 @@ theorem zeroRescale_defect (q : ℝ) (a : WaveFamily D I) | ||
| 114 | 114 | (s : StripData D) (d : GraphDirections D) : |
| 115 | 115 | (zeroRescale q a).defect s d = a.defect s d := rfl |
| 116 | 116 | |
| 117 | -theorem inputBounds_zeroRescale {s : StripData D} {K : ℕ → I → Set D} | |
| 118 | - {P : ℕ → I → D → ℝ} {α κ : ℝ} {d : GraphDirections D} {a : WaveFamily D I} | |
| 119 | - (h : InputBounds s K P α κ d a) (q : ℝ) (W : ℕ → I → D → ℝ) | |
| 120 | - (hW : ∀ n i x, x ∈ s.domain → 0 ≤ W n i x) (β : ℝ) : | |
| 121 | - InputBounds s K W β κ d (zeroRescale q a) where | |
| 122 | - loss_nonneg := h.loss_nonneg | |
| 123 | - radial_profile := h.radial_profile | |
| 124 | - radial_scale := h.radial_scale | |
| 125 | - fast_scale := h.fast_scale | |
| 126 | - frequency_scale := LocalizedWaveBounds.constant_real_mul h.frequency_scale q | |
| 127 | - radius := h.radius | |
| 128 | - inverse_radius := h.inverse_radius | |
| 129 | - radial_base := h.radial_base | |
| 130 | - frequency_base := h.frequency_base | |
| 131 | - axial_base := h.axial_base | |
| 132 | - radial_base_aux := h.radial_base_aux | |
| 133 | - frequency_base_aux := h.frequency_base_aux | |
| 134 | - axial_base_aux := h.axial_base_aux | |
| 135 | - normal := h.normal | |
| 136 | - defect := h.defect | |
| 137 | - amplitude := fun _ => LocalClass.zero (fun n i x hx => mul_nonneg (Real.sqrt_nonneg _) (hW n i x hx)) | |
| 138 | - pressure := LocalClass.zero (fun n i x hx => mul_nonneg (Real.sqrt_nonneg _) (hW n i x hx)) | |
| 139 | - | |
| 140 | 117 | end Isometry |
| 141 | 118 | |
| 142 | 119 | theorem coefficients_ext {D : Type} {a b : WaveCoefficients D} |
| @@ -233,29 +210,6 @@ theorem backgroundFamily_eq {B N0 : ℕ} (b : Label B N0 → HarmonicBlock Cycle | ||
| 233 | 210 | · rfl |
| 234 | 211 | · exact carrier_frequency b hb j i.1 |
| 235 | 212 | |
| 236 | -/-- All order-zero background classes, at every derivative order, are | |
| 237 | -derived from the primary inputs. The envelope can be any nonnegative one | |
| 238 | -because the velocity and pressure slots are zero. Constants remain uniform | |
| 239 | -in the spatial label and lattice copy. -/ | |
| 240 | -theorem actual_background_inputs {B N0 : ℕ} (b : Label B N0 → HarmonicBlock CyclePoint) | |
| 241 | - (hb : ∀ l, SameCarrier (b l) (primaryBlock l)) (j : ℤ) | |
| 242 | - (W : ℕ → CopyIndex B N0 → Native → ℝ) | |
| 243 | - (hW : ∀ n i x, x ∈ nativeStrip.domain → 0 ≤ W n i x) : | |
| 244 | - InputBounds nativeStrip cells W 0 ChartScales.kappa (directions B) (backgroundFamily b j) := by | |
| 245 | - rw [backgroundFamily_eq b hb j] | |
| 246 | - let Wfull : ℕ → CopyIndex B N0 → ActualPrimary.FullPoint → ℝ := | |
| 247 | - fun n i x => W n i (nativeToFull.symm x) | |
| 248 | - have hWfull : ∀ n i x, x ∈ ActualPrimaryBounds.fullStrip.domain → 0 ≤ Wfull n i x := by | |
| 249 | - intro n i x hx | |
| 250 | - apply hW | |
| 251 | - change nativeToFull (nativeToFull.symm x) ∈ ActualPrimaryBounds.fullStrip.domain | |
| 252 | - simpa only [nativeToFull.apply_symm_apply] using hx | |
| 253 | - have hh := inputBounds_reindex nativeToFull | |
| 254 | - (inputBounds_zeroRescale (ActualPrimaryBounds.actual_local_inputs (B := B) (N0 := N0)) | |
| 255 | - (j : ℝ) Wfull hWfull 0) | |
| 256 | - simp only [Wfull, nativeToFull.symm_apply_apply] at hh | |
| 257 | - exact hh | |
| 258 | - | |
| 259 | 213 | theorem background_normal {B N0 : ℕ} (b : Label B N0 → HarmonicBlock CyclePoint) |
| 260 | 214 | (hb : ∀ l, SameCarrier (b l) (primaryBlock l)) (j : ℤ) (n : ℕ) |
| 261 | 215 | (i : CopyIndex B N0) (x : Native) : |
| @@ -271,52 +225,4 @@ theorem background_normal {B N0 : ℕ} (b : Label B N0 → HarmonicBlock CyclePo | ||
| 271 | 225 | _ _ n i (nativeToFull x) = _ |
| 272 | 226 | rw [zeroRescale_normal, ActualPrimaryBounds.actualFamily_normal_eq] |
| 273 | 227 | |
| 274 | -theorem background_normal_range {B N0 : ℕ} (b : Label B N0 → HarmonicBlock CyclePoint) | |
| 275 | - (hb : ∀ l, SameCarrier (b l) (primaryBlock l)) (j : ℤ) | |
| 276 | - {n : ℕ} {i : CopyIndex B N0} {x : Native} | |
| 277 | - (hx : x ∈ nativeStrip.domain) (hi : x ∈ cells n i) : | |
| 278 | - ActualPrimaryBounds.normalFloor B N0 ≤ ‖(backgroundFamily b j).normal nativeStrip (directions B) n i x‖ ∧ | |
| 279 | - ‖(backgroundFamily b j).normal nativeStrip (directions B) n i x‖ ≤ | |
| 280 | - ActualPrimaryBounds.normalCeiling B N0 := by | |
| 281 | - rw [background_normal b hb j] | |
| 282 | - exact ActualPrimaryBounds.chart_normal_range hx hi | |
| 283 | - | |
| 284 | -theorem background_defect {B N0 : ℕ} (b : Label B N0 → HarmonicBlock CyclePoint) | |
| 285 | - (hb : ∀ l, SameCarrier (b l) (primaryBlock l)) (j : ℤ) (n : ℕ) | |
| 286 | - (i : CopyIndex B N0) (x : Native) : | |
| 287 | - (backgroundFamily b j).defect nativeStrip (directions B) n i x = | |
| 288 | - ActualPhaseDefect.defect i.1.1 i.1.2 n (nativeToFull x) := by | |
| 289 | - rw [backgroundFamily_eq b hb j] | |
| 290 | - change (ParticularWaveBounds.reindexCoefficients nativeToFull | |
| 291 | - ((zeroRescale (j : ℝ) ActualPrimaryBounds.actualFamily).coefficients i)).defect | |
| 292 | - _ _ n x = _ | |
| 293 | - unfold nativeStrip directions | |
| 294 | - rw [defect_reindex] | |
| 295 | - change (zeroRescale (j : ℝ) ActualPrimaryBounds.actualFamily).defect | |
| 296 | - _ _ n i (nativeToFull x) = _ | |
| 297 | - rw [zeroRescale_defect, ActualPrimaryBounds.actualFamily_defect_eq] | |
| 298 | - | |
| 299 | -theorem background_inverse_frequency {B N0 : ℕ} (b : Label B N0 → HarmonicBlock CyclePoint) | |
| 300 | - (hb : ∀ l, SameCarrier (b l) (primaryBlock l)) (j : ℤ) : | |
| 301 | - LocalUnweighted nativeStrip cells (1 / 2 : ℝ) | |
| 302 | - (fun n i (_ : Native) => 1 / (backgroundFamily b j).frequency n i) := by | |
| 303 | - have hh := localClass_reindex nativeToFull | |
| 304 | - (LocalizedWaveBounds.constant_real_mul | |
| 305 | - (ActualPrimaryBounds.inverse_carrier_local (B := B) (N0 := N0)) ((j : ℝ)⁻¹)) | |
| 306 | - apply hh.congr | |
| 307 | - intro n i x | |
| 308 | - change (j : ℝ)⁻¹ * (1 / (ChartScales.carrier ActualPrimary.h n : ℝ)) = | |
| 309 | - 1 / (carrier b j i.1).frequency n | |
| 310 | - rw [carrier_frequency b hb j] | |
| 311 | - simp only [one_div, mul_inv_rev] | |
| 312 | - ring | |
| 313 | - | |
| 314 | -theorem background_frequency_ne {B N0 : ℕ} (b : Label B N0 → HarmonicBlock CyclePoint) | |
| 315 | - (hb : ∀ l, SameCarrier (b l) (primaryBlock l)) {j : ℤ} (hj : j ≠ 0) | |
| 316 | - (n : ℕ) (i : CopyIndex B N0) : (backgroundFamily b j).frequency n i ≠ 0 := by | |
| 317 | - change (carrier b j i.1).frequency n ≠ 0 | |
| 318 | - rw [carrier_frequency b hb j] | |
| 319 | - exact mul_ne_zero (Int.cast_ne_zero.mpr hj) | |
| 320 | - (Scaling.carrier_frequency_pos (ChartScales.epsilon_pos ActualPrimary.h n)).ne' | |
| 321 | - | |
| 322 | 228 | end NavierStokes.ActualParticularBackground |
+0 −100 NavierStokes/ActualParticularCoherence.lean View file
| @@ -42,14 +42,6 @@ noncomputable def corrected (x : CorrectionStep.CycleState (Label B N0)) | ||
| 42 | 42 | ActualParticularRealization.corrected (ActualParticularStageControls.assembly x l) |
| 43 | 43 | ActualParticularStageControls.associatedStrip h (ActualParticularStageControls.gap l) j |
| 44 | 44 | |
| 45 | -noncomputable def cylinderParameter (z : Cylinder) : Parameter := (waveEquiv z).1.1 | |
| 46 | - | |
| 47 | -noncomputable def cylinderDomain (V : Set Plane) : Set Cylinder := | |
| 48 | - {z | (cylinderParameter z).2 ∈ V} | |
| 49 | - | |
| 50 | -theorem cylinderDomain_open {V : Set Plane} (hV : IsOpen V) : IsOpen (cylinderDomain V) := | |
| 51 | - hV.preimage waveEquiv.continuous.fst.fst.snd | |
| 52 | - | |
| 53 | 45 | /-- The target operator is the literal common-cover graph at the target |
| 54 | 46 | band. This identification is independent of the current source. -/ |
| 55 | 47 | theorem targetChart (x : CorrectionStep.CycleState (Label B N0)) |
| @@ -74,98 +66,6 @@ theorem targetChart (x : CorrectionStep.CycleState (Label B N0)) | ||
| 74 | 66 | ActualReferenceRebase.associatedContext_frame] |
| 75 | 67 | rfl |
| 76 | 68 | |
| 77 | -theorem corrected_amplitude_chart (x : CorrectionStep.CycleState (Label B N0)) | |
| 78 | - (l : Label B N0) (j : ℤ) (n : ℕ) : | |
| 79 | - (fun z => (corrected x l j).amplitude n (waveEquiv z)) = | |
| 80 | - CurlClassBounds.realizedCoefficient ((j : ℝ) * (x.coefficients.blocks l).frequency n) | |
| 81 | - PhysicalResidualBridge.ScaledGraph.radius | |
| 82 | - (PhysicalResidualBridge.commonGraph (ChartScales.Q n) h (CommonWindow.index h n)).radial | |
| 83 | - PhysicalResidualBridge.ScaledGraph.angular | |
| 84 | - (PhysicalResidualBridge.commonGraph (ChartScales.Q n) h (CommonWindow.index h n)).axial | |
| 85 | - (fun z => (ActualReferenceRebase.actualCoefficients x l j).phase n (waveEquiv z)) | |
| 86 | - (fun z => (ActualReferenceRebase.actualCoefficients x l j).amplitude n (waveEquiv z)) := by | |
| 87 | - have hp := ActualParticularRealization.realizedCoefficient_pull waveEquiv | |
| 88 | - ((j : ℝ) * (x.coefficients.blocks l).frequency n) | |
| 89 | - ((ActualParticularStageControls.assembly x l).background.radius n) | |
| 90 | - ((ActualReferenceRebase.actualCoefficients x l j).phase n) | |
| 91 | - ((ActualParticularStageControls.assembly x l).directions.radialField n) | |
| 92 | - (fun _ => (ActualParticularStageControls.assembly x l).directions.angular) | |
| 93 | - ((ActualParticularStageControls.assembly x l).directions.axialField | |
| 94 | - (CorrectionStep.ParticularParameters.nativeStrip ActualParticularStageControls.associatedStrip) n) | |
| 95 | - ((ActualReferenceRebase.actualCoefficients x l j).amplitude n) | |
| 96 | - rw [(targetChart x l n).radius, (targetChart x l n).radial, | |
| 97 | - (targetChart x l n).angular, (targetChart x l n).axial] at hp | |
| 98 | - exact hp.symm | |
| 99 | - | |
| 100 | -/-- Local agreement of the two primitive inputs propagates through the | |
| 101 | -entire curl correction, including all cutoff derivatives. -/ | |
| 102 | -theorem corrected_eq_band_of_germs (x : CorrectionStep.CycleState (Label B N0)) | |
| 103 | - (l : Label B N0) (j : ℤ) (n : ℕ) (z : Cylinder) | |
| 104 | - (ha : (fun y => (ActualReferenceRebase.actualCoefficients x l j).amplitude n (waveEquiv y)) | |
| 105 | - =ᶠ[𝓝 z] bandRaw (ActualReferenceRebase.nativeAssembly x l) h (ChartScales.Q_pos n) | |
| 106 | - (ChartScales.Q_pos (BaseChartJets.cellBand l.2)) (ActualParticularStageControls.gap l n) | |
| 107 | - ((j : ℝ) * (x.coefficients.blocks l).frequency n) j) | |
| 108 | - (hphi : (fun y => (ActualReferenceRebase.actualCoefficients x l j).phase n (waveEquiv y)) | |
| 109 | - =ᶠ[𝓝 z] bandPhase (ActualReferenceRebase.nativeAssembly x l) h (ChartScales.Q n) | |
| 110 | - (ChartScales.Q (BaseChartJets.cellBand l.2)) (ActualParticularStageControls.gap l n) | |
| 111 | - ((j : ℝ) * (x.coefficients.blocks l).frequency n) j) : | |
| 112 | - vectorMode ((corrected x l j).frequency n) ((corrected x l j).phase n) | |
| 113 | - ((corrected x l j).amplitude n) (waveEquiv z) = | |
| 114 | - bandVelocity (ActualReferenceRebase.nativeAssembly x l) h (ChartScales.Q_pos n) | |
| 115 | - (ChartScales.Q_pos (BaseChartJets.cellBand l.2)) (CommonWindow.index h n) | |
| 116 | - (ActualParticularStageControls.gap l n) | |
| 117 | - ((j : ℝ) * (x.coefficients.blocks l).frequency n) j z := by | |
| 118 | - have hg := ParticularWaveAssembly.realizedCoefficient_germ ha | |
| 119 | - ((j : ℝ) * (x.coefficients.blocks l).frequency n) | |
| 120 | - PhysicalResidualBridge.ScaledGraph.radius | |
| 121 | - (PhysicalResidualBridge.commonGraph (ChartScales.Q n) h (CommonWindow.index h n)).radial | |
| 122 | - PhysicalResidualBridge.ScaledGraph.angular | |
| 123 | - (PhysicalResidualBridge.commonGraph (ChartScales.Q n) h (CommonWindow.index h n)).axial | |
| 124 | - (fun y => (ActualReferenceRebase.actualCoefficients x l j).phase n (waveEquiv y)) | |
| 125 | - have hq := ActualParticularRealization.realizedCoefficient_phase_germ hphi | |
| 126 | - ((j : ℝ) * (x.coefficients.blocks l).frequency n) | |
| 127 | - PhysicalResidualBridge.ScaledGraph.radius | |
| 128 | - (PhysicalResidualBridge.commonGraph (ChartScales.Q n) h (CommonWindow.index h n)).radial | |
| 129 | - PhysicalResidualBridge.ScaledGraph.angular | |
| 130 | - (PhysicalResidualBridge.commonGraph (ChartScales.Q n) h (CommonWindow.index h n)).axial | |
| 131 | - (bandRaw (ActualReferenceRebase.nativeAssembly x l) h (ChartScales.Q_pos n) | |
| 132 | - (ChartScales.Q_pos (BaseChartJets.cellBand l.2)) (ActualParticularStageControls.gap l n) | |
| 133 | - ((j : ℝ) * (x.coefficients.blocks l).frequency n) j) | |
| 134 | - have hv := congrFun (corrected_amplitude_chart x l j n) z | |
| 135 | - rw [(hg.trans hq).eq_of_nhds] at hv | |
| 136 | - funext i | |
| 137 | - change (corrected x l j).amplitude n (waveEquiv z) i * | |
| 138 | - carrier ((j : ℝ) * (x.coefficients.blocks l).frequency n) | |
| 139 | - ((ActualReferenceRebase.actualCoefficients x l j).phase n) (waveEquiv z) = _ | |
| 140 | - rw [hv] | |
| 141 | - exact congrArg₂ (· * ·) rfl (PhysicalCurlCovariance.carrier_eq_of_products | |
| 142 | - (congrArg (((j : ℝ) * (x.coefficients.blocks l).frequency n) * ·) hphi.eq_of_nhds)) | |
| 143 | - | |
| 144 | -/-- Forward cover order: the germ inputs are consequences of the current | |
| 145 | -state and coefficient identities, not assumptions about the solved wave. -/ | |
| 146 | -theorem corrected_forward (x : CorrectionStep.CycleState (Label B N0)) | |
| 147 | - (l : Label B N0) {V : Set Plane} (hV : IsOpen V) (htime : ∀ s ∈ V, 0 < s.1) | |
| 148 | - (n k : ℕ) (hi : CommonWindow.index h n + k = CommonWindow.index h (BaseChartJets.cellBand l.2)) | |
| 149 | - (HS : ActualReferenceRebase.StateComparison x V n (BaseChartJets.cellBand l.2) k) | |
| 150 | - (HB : ActualReferenceRebase.BlockComparison x l V n (BaseChartJets.cellBand l.2) k) | |
| 151 | - (j : ℤ) (hj : j ≠ 0) | |
| 152 | - (hn : (x.coefficients.blocks l).frequency n ≠ 0) | |
| 153 | - (hm : (x.coefficients.blocks l).frequency (BaseChartJets.cellBand l.2) ≠ 0) | |
| 154 | - (z : Cylinder) (hz : z ∈ cylinderDomain V) : | |
| 155 | - vectorMode ((corrected x l j).frequency n) ((corrected x l j).phase n) | |
| 156 | - ((corrected x l j).amplitude n) (waveEquiv z) = | |
| 157 | - bandVelocity (ActualReferenceRebase.nativeAssembly x l) h (ChartScales.Q_pos n) | |
| 158 | - (ChartScales.Q_pos (BaseChartJets.cellBand l.2)) (CommonWindow.index h n) | |
| 159 | - (ActualParticularStageControls.gap l n) | |
| 160 | - ((j : ℝ) * (x.coefficients.blocks l).frequency n) j z := by | |
| 161 | - apply corrected_eq_band_of_germs | |
| 162 | - · filter_upwards [(cylinderDomain_open hV).mem_nhds hz] with y hy | |
| 163 | - exact ActualReferenceRebase.actualAmplitude_forward x l hV htime n k hi HS HB j | |
| 164 | - (cylinderParameter y) hy (waveEquiv y).1.2 (waveEquiv y).2 | |
| 165 | - · filter_upwards [(cylinderDomain_open hV).mem_nhds hz] with y hy | |
| 166 | - exact (ActualReferenceRebase.actualPhase_forward x l V n k hi HB j hj hn hm | |
| 167 | - (cylinderParameter y) hy (waveEquiv y).1.2 (waveEquiv y).2).symm | |
| 168 | - | |
| 169 | 69 | /-! ## Composition of the actual primitive copy data |
| 170 | 70 | |
| 171 | 71 | These identities allow two current bands to be compared directly. In |
+0 −280 NavierStokes/ActualParticularControl.lean View file
| @@ -387,40 +387,6 @@ theorem frame_input_jets | ||
| 387 | 387 | W l n v := by rw [pow_add]; ring |
| 388 | 388 | _ ≤ _ := by gcongr |
| 389 | 389 | |
| 390 | -/-- Instantiation of the input bound for the selected actual phase. -/ | |
| 391 | -theorem selected_input_jets | |
| 392 | - (s : StripData P) (F : PhaseConstruction D) (χ : P →L[ℝ] PhaseCalculus.Slow) | |
| 393 | - (g : Label → ℕ → Geometry) (r : Label → ℕ → ℝ) | |
| 394 | - (hscale : ∀ l n, D.scale (l,n) = s.slow n) | |
| 395 | - (hsep : ∀ l n, WaveEnvelopeTransport.Separated (g l n) (r l n) (F.L (l,n))) | |
| 396 | - {A : ℝ} {a : ℕ} (hA : 1 ≤ A) | |
| 397 | - (hgeometry : ∀ l n, CommonCoverClass.argumentCost (g l n) ≤ A*s.slow n^a) | |
| 398 | - (harmonic : Label → ℤ) {J : ℝ} (hJ : 1 ≤ J) (hj : ∀ l, |(harmonic l : ℝ)| ≤ J) | |
| 399 | - {α : ℝ} {f : Label → ℕ → P × Plane → ProblemStatement.Space} | |
| 400 | - (hf : UniformWaveClass (CommonCoverClass.sourceStrip s) | |
| 401 | - (groupedEnvelope g r (fun l n => F.L (l,n)) | |
| 402 | - (fun l n => referenceP (F.lam (l,n)) (F.u (l,n)) (F.L (l,n)))) α f) | |
| 403 | - (N : ℕ) : | |
| 404 | - ∃ C : ℝ, 0 ≤ C ∧ ∃ m : ℕ, ∀ l n k (x : P × Plane), x.1 ∈ s.domain → | |
| 405 | - χ x.1 ∈ D.carrier (l,n) → | |
| 406 | - ((g l n).coordinates k x.2).1 ∈ Icc (-(r l n)) (r l n) → | |
| 407 | - ∀ j ≤ N, ∀ v ∈ Icc 0 (F.L (l,n)), | |
| 408 | - ‖iteratedFDeriv ℝ j | |
| 409 | - ((PrimaryCopyBridge.copyFrame (nativeFrame (F.frame (l,n)) χ) (g l n) k).coefficient | |
| 410 | - (harmonic l)) (x,v)‖ ≤ C*s.growth n x.1^m ∧ | |
| 411 | - ‖iteratedFDeriv ℝ j | |
| 412 | - ((PrimaryCopyBridge.copyFrame (nativeFrame (F.frame (l,n)) χ) (g l n) k).forcing | |
| 413 | - (PrimaryCopyBridge.copySource (f l n) (g l n) k)) (x,v)‖ ≤ | |
| 414 | - (s.epsilon n^α * Real.sqrt (s.zeta x.1))*C*s.growth n x.1^m * | |
| 415 | - referenceP (F.lam (l,n)) (F.u (l,n)) (F.L (l,n)) v ∧ | |
| 416 | - ∀ i : Fin 2, ‖iteratedFDeriv ℝ j | |
| 417 | - (synthesisColumn (PrimaryCopyBridge.copyFrame (nativeFrame (F.frame (l,n)) χ) (g l n) k) i) | |
| 418 | - (x,v)‖ ≤ C*s.growth n x.1^m := by | |
| 419 | - exact frame_input_jets s F.V F.openV F.frame F.L | |
| 420 | - (fun l n => referenceP (F.lam (l,n)) (F.u (l,n)) (F.L (l,n))) | |
| 421 | - (selected_frame_jets F) F.interval (fun _ _ _ => (referenceP_pos _ _ _ _).le) | |
| 422 | - χ g r hscale hsep hA hgeometry harmonic hJ hj hf N | |
| 423 | - | |
| 424 | 390 | end NativeInputs |
| 425 | 391 | |
| 426 | 392 | section CurrentResidual |
| @@ -513,39 +479,6 @@ private theorem majorant_enlarge (s : StripData E) (w : ℕ → E → ℝ) (α : | ||
| 513 | 479 | unfold majorant |
| 514 | 480 | nlinarith only [ht] |
| 515 | 481 | |
| 516 | -/-- A stage's finite harmonic range can be folded into the external label | |
| 517 | -with one constant before both. This never infers uniformity over an | |
| 518 | -unbounded harmonic family from separate class memberships. -/ | |
| 519 | -theorem finite_harmonic_uniform | |
| 520 | - (s : StripData E) (w : Label → ℕ → E → ℝ) (α : ℝ) | |
| 521 | - (H : Finset ℤ) (f : ℤ → Label → ℕ → E → V) | |
| 522 | - (hf : ∀ j ∈ H, UniformClass s w α (f j)) : | |
| 523 | - UniformClass s (fun l : Label × {j : ℤ // j ∈ H} => w l.1) α | |
| 524 | - (fun l => f l.2.1 l.1) := by | |
| 525 | - have hbounds (N : ℕ) : ∃ C : ℝ, 0 ≤ C ∧ ∃ m : ℕ, | |
| 526 | - ∀ j ∈ H, ∀ l n x, x ∈ s.domain → ∀ k ≤ N, | |
| 527 | - ‖iteratedFDeriv ℝ k (f j l n) x‖ ≤ majorant s (w l) α C m n x := by | |
| 528 | - induction H using Finset.induction_on with | |
| 529 | - | empty => exact ⟨0,le_rfl,0,by simp⟩ | |
| 530 | - | @insert j H hj ih => | |
| 531 | - obtain ⟨A,hA,a,ha⟩ := (hf j (Finset.mem_insert_self _ _)).bounds N | |
| 532 | - obtain ⟨B,hB,b,hb⟩ := ih (fun k hk => hf k (Finset.mem_insert_of_mem hk)) | |
| 533 | - refine ⟨A+B,add_nonneg hA hB,a+b,?_⟩ | |
| 534 | - intro k hk l n x hx i hi | |
| 535 | - rcases Finset.mem_insert.mp hk with he | hk | |
| 536 | - · subst k | |
| 537 | - exact (ha l n x hx i hi).trans (majorant_enlarge s (w l) α hA | |
| 538 | - (le_add_of_nonneg_right hB) (Nat.le_add_right _ _) n x | |
| 539 | - ((hf j (Finset.mem_insert_self _ _)).weight_nonneg l n x hx)) | |
| 540 | - · exact (hb k hk l n x hx i hi).trans (majorant_enlarge s (w l) α hB | |
| 541 | - (le_add_of_nonneg_left hA) (Nat.le_add_left _ _) n x | |
| 542 | - ((hf k (Finset.mem_insert_of_mem hk)).weight_nonneg l n x hx)) | |
| 543 | - refine ⟨fun l => (hf l.2.1 l.2.2).weight_nonneg l.1, | |
| 544 | - fun l => (hf l.2.1 l.2.2).smooth l.1, ?_⟩ | |
| 545 | - intro N | |
| 546 | - obtain ⟨C,hC,m,hb⟩ := hbounds N | |
| 547 | - exact ⟨C,hC,m,fun l => hb l.2.1 l.2.2 l.1⟩ | |
| 548 | - | |
| 549 | 482 | end FiniteHarmonics |
| 550 | 483 | |
| 551 | 484 | section ReferenceControl |
| @@ -573,130 +506,6 @@ noncomputable def phasePatch (s : StripData P) (F : PhaseConstruction D) | ||
| 573 | 506 | phaseNeighborhood s F χ g l n k ∩ |
| 574 | 507 | {x | ((g l n).coordinates k x.2).1 ∈ Icc (-(r l n)) (r l n)} |
| 575 | 508 | |
| 576 | -theorem phaseNeighborhood_open (s : StripData P) (F : PhaseConstruction D) | |
| 577 | - (χ : P →L[ℝ] PhaseCalculus.Slow) (g : Label → ℕ → Geometry) | |
| 578 | - (l : Label) (n : ℕ) (k : Frequency) : | |
| 579 | - IsOpen (phaseNeighborhood s F χ g l n k) := | |
| 580 | - (s.isOpen_domain.preimage continuous_fst).inter | |
| 581 | - (((D.isOpen (l,n)).preimage (χ.continuous.comp continuous_fst)).inter | |
| 582 | - (isOpen_Ioo.preimage (((g l n).coordinates_contDiff k).continuous.comp continuous_snd |>.snd))) | |
| 583 | - | |
| 584 | -/-- The output majorant is this same native Gaussian on the phase patch; | |
| 585 | -there is no replacement by an unweighted bound. -/ | |
| 586 | -theorem phasePatch_envelope (s : StripData P) (F : PhaseConstruction D) | |
| 587 | - (χ : P →L[ℝ] PhaseCalculus.Slow) (g : Label → ℕ → Geometry) (r : Label → ℕ → ℝ) | |
| 588 | - (hsep : ∀ l n, WaveEnvelopeTransport.Separated (g l n) (r l n) (F.L (l,n))) | |
| 589 | - {l : Label} {n : ℕ} {k : Frequency} {x : P × Plane} | |
| 590 | - (hx : x ∈ phasePatch s F χ g r l n k) : | |
| 591 | - groupedEnvelope g r (fun l n => F.L (l,n)) | |
| 592 | - (fun l n => referenceP (F.lam (l,n)) (F.u (l,n)) (F.L (l,n))) l n x = | |
| 593 | - referenceP (F.lam (l,n)) (F.u (l,n)) (F.L (l,n)) ((g l n).coordinates k x.2).2 := | |
| 594 | - WaveEnvelopeTransport.copyEnvelope_eq_copy (hsep l n) _ | |
| 595 | - ⟨hx.2,hx.1.2.2.1.le,hx.1.2.2.2.le⟩ | |
| 596 | - | |
| 597 | -theorem selected_copy_smooth (s : StripData P) (F : PhaseConstruction D) | |
| 598 | - (χ : P →L[ℝ] PhaseCalculus.Slow) (g : Label → ℕ → Geometry) | |
| 599 | - (l : Label) (n : ℕ) (k : Frequency) : | |
| 600 | - (PrimaryCopyBridge.copyFrame (nativeFrame (F.frame (l,n)) χ) (g l n) k).SmoothOn | |
| 601 | - (phaseNeighborhood s F χ g l n k ×ˢ F.V (l,n)) := by | |
| 602 | - change (PrimaryCopyBridge.reindex (F.frame (l,n)) (fun x : P × Plane => χ x.1)).SmoothOn _ | |
| 603 | - exact PrimaryCopyBridge.reindex_smoothOn _ _ ((selected_frame_jets F).smoothOn (l,n)) | |
| 604 | - (frameArgument χ).contDiff.contDiffOn (fun z hz => ⟨hz.1.2.1,hz.2⟩) | |
| 605 | - | |
| 606 | -/-- The reference/native control is assembled from the selected phase and | |
| 607 | -the current source class. Its energy and all input jets are conclusions. | |
| 608 | -Only the geometric separation and scale comparison remain geometric inputs. -/ | |
| 609 | -noncomputable def referenceControl | |
| 610 | - (s : StripData P) (F : PhaseConstruction D) (χ : P →L[ℝ] PhaseCalculus.Slow) | |
| 611 | - (g : Label → ℕ → Geometry) (r : Label → ℕ → ℝ) | |
| 612 | - (hscale : ∀ l n, D.scale (l,n) = s.slow n) | |
| 613 | - (hsep : ∀ l n, WaveEnvelopeTransport.Separated (g l n) (r l n) (F.L (l,n))) | |
| 614 | - {A : ℝ} {a : ℕ} (hA : 1 ≤ A) | |
| 615 | - (hgeometry : ∀ l n, CommonCoverClass.argumentCost (g l n) ≤ A*s.slow n^a) | |
| 616 | - (j : ℤ) (hj : j ≠ 0) {α : ℝ} (f : Label → ℕ → P × Plane → ProblemStatement.Space) | |
| 617 | - (hf : UniformWaveClass (CommonCoverClass.sourceStrip s) | |
| 618 | - (groupedEnvelope g r (fun l n => F.L (l,n)) | |
| 619 | - (fun l n => referenceP (F.lam (l,n)) (F.u (l,n)) (F.L (l,n)))) α f) : | |
| 620 | - ParticularCopyBounds.UniformModalControl (CommonCoverClass.sourceStrip s) α | |
| 621 | - (fun l n => nativeFrame (F.frame (l,n)) χ) | |
| 622 | - (fun l n => PrimaryCopyBridge.frameTangentData (nativeFrame (F.frame (l,n)) χ) j (f l n)) | |
| 623 | - j g (fun l n => F.L (l,n)) | |
| 624 | - (fun l n => referenceP (F.lam (l,n)) (F.u (l,n)) (F.L (l,n))) | |
| 625 | - (phasePatch s F χ g r) := by | |
| 626 | - let K := F.M + Real.exp ((F.E+4*F.C)*F.M) + A + 1 | |
| 627 | - have hKM : F.M ≤ K := by dsimp [K]; linarith [Real.exp_pos ((F.E+4*F.C)*F.M)] | |
| 628 | - have hKA : A ≤ K := by dsimp [K]; linarith [F.one_le_M, Real.exp_pos ((F.E+4*F.C)*F.M)] | |
| 629 | - have hK : 1 ≤ K := F.one_le_M.trans hKM | |
| 630 | - have hnonneg : 0 ≤ F.E+4*F.C := by linarith [F.C_nonneg,F.E_nonneg] | |
| 631 | - have hlength (l : Label) (n : ℕ) : F.L (l,n) ≤ F.M*D.scale (l,n) := by | |
| 632 | - have hh := F.slot (l,n) (F.L (l,n)) (F.interval (l,n) ⟨(F.L_pos (l,n)).le,le_rfl⟩) | |
| 633 | - simpa only [abs_of_pos (F.L_pos (l,n))] using hh | |
| 634 | - have hsourceSmooth (l : Label) (n : ℕ) (k : Frequency) : | |
| 635 | - ContDiffOn ℝ ∞ (PrimaryCopyBridge.copySource (f l n) (g l n) k) | |
| 636 | - (phaseNeighborhood s F χ g l n k ×ˢ F.V (l,n)) := | |
| 637 | - PrimaryCopyBridge.copySource_contDiffOn (g l n) k (hf.smooth l n) | |
| 638 | - (fun z hz => hz.1.1) | |
| 639 | - refine { | |
| 640 | - neighborhood := phaseNeighborhood s F χ g | |
| 641 | - open_neighborhood := phaseNeighborhood_open s F χ g | |
| 642 | - contains := fun _ _ _ _ _ hx => hx.1 | |
| 643 | - interval := fun l n => F.V (l,n) | |
| 644 | - open_interval := fun l n => F.openV (l,n) | |
| 645 | - length_pos := fun l n => F.L_pos (l,n) | |
| 646 | - contains_interval := fun l n => F.interval (l,n) | |
| 647 | - bridge := ?_ | |
| 648 | - coefficient_smooth := fun l n k => (selected_copy_smooth s F χ g l n k).coefficient j | |
| 649 | - forcing_smooth := fun l n k => (selected_copy_smooth s F χ g l n k).forcing (hsourceSmooth l n k) | |
| 650 | - columns_smooth := ?_ | |
| 651 | - current_slot := fun _ _ _ _ hx => hx.2.2 | |
| 652 | - rate := fun l n => GaussianEnvelope.referenceRate (F.lam (l,n)) (F.u (l,n)) (F.L (l,n)) | |
| 653 | - envelope_pos := fun _ _ _ => referenceP_pos _ _ _ _ | |
| 654 | - envelope_deriv := fun _ _ _ => referenceP_hasDerivAt _ _ _ _ | |
| 655 | - errorRate := fun l n => (F.E+4*F.C)/D.scale (l,n) | |
| 656 | - errorRate_nonneg := fun l n => div_nonneg hnonneg (zero_le_one.trans (D.one_le_scale (l,n))) | |
| 657 | - constant := K | |
| 658 | - constant_ge_one := hK | |
| 659 | - coordinate_power := a | |
| 660 | - length_bound := ?_ | |
| 661 | - exponential_bound := ?_ | |
| 662 | - coordinate_bound := fun l n => (hgeometry l n).trans | |
| 663 | - (mul_le_mul_of_nonneg_right hKA (pow_nonneg (zero_le_one.trans (s.one_le_slow n)) _)) | |
| 664 | - energy := ?_ | |
| 665 | - input_jets := ?_ } | |
| 666 | - · intro l n k | |
| 667 | - apply PrimaryCopyBridge.inputs_of_smooth_frame | |
| 668 | - · exact frame_smooth_mono (selected_copy_smooth s F χ g l n k) | |
| 669 | - (prod_mono Subset.rfl (F.interval (l,n))) | |
| 670 | - · exact (hsourceSmooth l n k).mono (prod_mono Subset.rfl (F.interval (l,n))) | |
| 671 | - · intro x hx | |
| 672 | - exact PrimaryCopyBridge.reindex_kinematics _ _ (selected_kinematics F (l,n) hx.2.1) | |
| 673 | - · intro l n k i | |
| 674 | - have hs := (synthesisColumn_polynomial (selected_frame_jets F) i).smooth (l,n) | |
| 675 | - exact hs.comp (frameArgument χ).contDiff.contDiffOn (fun z hz => ⟨hz.1.2.1,hz.2⟩) | |
| 676 | - · intro l n | |
| 677 | - change F.L (l,n) ≤ K*s.slow n | |
| 678 | - rw [← hscale l n] | |
| 679 | - exact (hlength l n).trans (mul_le_mul_of_nonneg_right hKM (zero_le_one.trans (D.one_le_scale (l,n)))) | |
| 680 | - · intro l n | |
| 681 | - have hS : 0 < D.scale (l,n) := zero_lt_one.trans_le (D.one_le_scale (l,n)) | |
| 682 | - have hμ : 0 ≤ (F.E+4*F.C)/D.scale (l,n) := div_nonneg hnonneg hS.le | |
| 683 | - have he : ((F.E+4*F.C)/D.scale (l,n))*F.L (l,n) ≤ (F.E+4*F.C)*F.M := by | |
| 684 | - calc | |
| 685 | - _ ≤ ((F.E+4*F.C)/D.scale (l,n))*(F.M*D.scale (l,n)) := | |
| 686 | - mul_le_mul_of_nonneg_left (hlength l n) hμ | |
| 687 | - _ = _ := by field_simp | |
| 688 | - apply (Real.exp_le_exp.mpr he).trans | |
| 689 | - dsimp [K] | |
| 690 | - linarith [F.one_le_M] | |
| 691 | - · intro l n k x hx hcell v hv z | |
| 692 | - exact selected_energy F (l,n) hcell.1.2.1 hv hj z | |
| 693 | - · intro N | |
| 694 | - obtain ⟨C,hC,m,hb⟩ := selected_input_jets s F χ g r hscale hsep hA hgeometry | |
| 695 | - (fun _ => j) (J := |(j : ℝ)|+1) (by linarith [abs_nonneg (j:ℝ)]) | |
| 696 | - (fun _ => by linarith) hf N | |
| 697 | - exact ⟨C,hC,m,fun l n k x hx hcell i hi v hv => | |
| 698 | - hb l n k x hx hcell.1.2.1 hcell.2 i hi v hv⟩ | |
| 699 | - | |
| 700 | 509 | end ReferenceControl |
| 701 | 510 | |
| 702 | 511 | section ActualSourceControl |
| @@ -704,39 +513,6 @@ section ActualSourceControl | ||
| 704 | 513 | variable {Label P : Type} [NormedAddCommGroup P] [NormedSpace ℝ P] |
| 705 | 514 | {D : PhaseJetBounds.Domain (Label × ℕ) PhaseCalculus.Slow} |
| 706 | 515 | |
| 707 | -/-- The actual HR-source control, with an arbitrary fixed real projection. | |
| 708 | -The two applications `part = realPart` and `part = imagPart` are the two | |
| 709 | -literal Volterra solves in `complexCopyCoefficients`. -/ | |
| 710 | -noncomputable def actualSourceControl | |
| 711 | - (s : StripData P) (F : PhaseConstruction D) (χ : P →L[ℝ] PhaseCalculus.Slow) | |
| 712 | - (g : Label → ℕ → Geometry) (r : Label → ℕ → ℝ) | |
| 713 | - (hscale : ∀ l n, D.scale (l,n) = s.slow n) | |
| 714 | - (hsep : ∀ l n, WaveEnvelopeTransport.Separated (g l n) (r l n) (F.L (l,n))) | |
| 715 | - {K : ℝ} {a : ℕ} (hK : 1 ≤ K) | |
| 716 | - (hgeometry : ∀ l n, CommonCoverClass.argumentCost (g l n) ≤ K*s.slow n^a) | |
| 717 | - (c : CorrectionState.Context (P × Plane)) (u : CorrectionState.State (P × Plane)) | |
| 718 | - (b : Label → CorrectionState.HarmonicBlock (P × Plane)) | |
| 719 | - (G A : Label → HarmonicResidual.BlockCoefficients (P × Plane)) (j : ℤ) (hj : j ≠ 0) | |
| 720 | - {α : ℝ} | |
| 721 | - (h : ∀ i : Fin 3, UniformWaveClass (CommonCoverClass.sourceStrip s) | |
| 722 | - (groupedEnvelope g r (fun l n => F.L (l,n)) | |
| 723 | - (fun l n => referenceP (F.lam (l,n)) (F.u (l,n)) (F.L (l,n)))) α (fun l n x => | |
| 724 | - (HarmonicResidual.residualBlock c u (b l) (G l) (A l)).velocity n i j x)) | |
| 725 | - (part : HarmonicCalculus.ComplexVector →L[ℝ] ProblemStatement.Space) : | |
| 726 | - ParticularCopyBounds.UniformModalControl (CommonCoverClass.sourceStrip (angleStrip s)) α | |
| 727 | - (fun l n => nativeFrame (F.frame (l,n)) (χ.comp (ContinuousLinearMap.fst ℝ P ℝ))) | |
| 728 | - (fun l n => PrimaryCopyBridge.frameTangentData | |
| 729 | - (nativeFrame (F.frame (l,n)) (χ.comp (ContinuousLinearMap.fst ℝ P ℝ))) j | |
| 730 | - (fun x => part (ParticularWaveAssembly.sourceFamily c u (b l) (G l) (A l) j n x))) | |
| 731 | - j g (fun l n => F.L (l,n)) | |
| 732 | - (fun l n => referenceP (F.lam (l,n)) (F.u (l,n)) (F.L (l,n))) | |
| 733 | - (phasePatch (angleStrip s) F (χ.comp (ContinuousLinearMap.fst ℝ P ℝ)) g r) := | |
| 734 | - referenceControl (angleStrip s) F (χ.comp (ContinuousLinearMap.fst ℝ P ℝ)) g r | |
| 735 | - hscale hsep hK hgeometry j hj _ | |
| 736 | - ((sourceFamily_uniform s g r (fun l n => F.L (l,n)) | |
| 737 | - (fun l n => referenceP (F.lam (l,n)) (F.u (l,n)) (F.L (l,n))) α c u b G A | |
| 738 | - (fun _ => j) h).map part) | |
| 739 | - | |
| 740 | 516 | end ActualSourceControl |
| 741 | 517 | |
| 742 | 518 | section ClockTransport |
| @@ -1054,62 +830,6 @@ theorem scaled_selected_copy_energy | ||
| 1054 | 830 | simp only [zero_add] at he |
| 1055 | 831 | exact he |
| 1056 | 832 | |
| 1057 | -/-- All input jets at every target band are derived from the selected | |
| 1058 | -reference phase, bounded affine clock data, and the *current* residual | |
| 1059 | -source class on that target band. Neither transported modal energies nor | |
| 1060 | -transported output bounds are inputs. -/ | |
| 1061 | -theorem scaled_selected_input_jets | |
| 1062 | - (s : StripData P) (F : PhaseConstruction D) | |
| 1063 | - (V : (Label × ℕ) → Set ℝ) (hV : ∀ i, IsOpen (V i)) | |
| 1064 | - (φ : (Label × ℕ) → PhaseCalculus.Slow →L[ℝ] PhaseCalculus.Slow) | |
| 1065 | - (rate normalScale : (Label × ℕ) → ℝ) | |
| 1066 | - (χ : P →L[ℝ] PhaseCalculus.Slow) | |
| 1067 | - {A B R : ℝ} {a b : ℕ} (hA : 1 ≤ A) (hB : 1 ≤ B) (hR : 1 ≤ R) | |
| 1068 | - (hrateBound : ∀ i, |rate i| ≤ R) (hnormal : ∀ i, |normalScale i| ≤ R) | |
| 1069 | - (hlin : ∀ i, ‖transportArgument (φ i) (rate i)‖ ≤ A*T.scale i^a) | |
| 1070 | - (hscale : ∀ i, D.scale i ≤ B*T.scale i^b) | |
| 1071 | - (hmap : ∀ i, MapsTo (fun z : PhaseCalculus.Slow × ℝ => (φ i z.1,rate i*z.2)) | |
| 1072 | - ((T.slot V hV).carrier i) ((D.slot F.V F.openV).carrier i)) | |
| 1073 | - (hinterval : ∀ i, Icc 0 (F.L i/rate i) ⊆ V i) | |
| 1074 | - (g : Label → ℕ → Geometry) (r : Label → ℕ → ℝ) | |
| 1075 | - (hscaleTarget : ∀ l n, T.scale (l,n) = s.slow n) | |
| 1076 | - (hsep : ∀ l n, WaveEnvelopeTransport.Separated (g l n) (r l n) (F.L (l,n)/rate (l,n))) | |
| 1077 | - {C : ℝ} {c : ℕ} (hC : 1 ≤ C) | |
| 1078 | - (hgeometry : ∀ l n, CommonCoverClass.argumentCost (g l n) ≤ C*s.slow n^c) | |
| 1079 | - (harmonic : Label → ℤ) {J : ℝ} (hJ : 1 ≤ J) (hj : ∀ l, |(harmonic l : ℝ)| ≤ J) | |
| 1080 | - {α : ℝ} {f : Label → ℕ → P × Plane → ProblemStatement.Space} | |
| 1081 | - (hf : UniformWaveClass (CommonCoverClass.sourceStrip s) | |
| 1082 | - (groupedEnvelope g r (fun l n => F.L (l,n)/rate (l,n)) | |
| 1083 | - (fun l n v => referenceP (F.lam (l,n)) (F.u (l,n)) (F.L (l,n)) (rate (l,n)*v))) α f) | |
| 1084 | - (N : ℕ) : | |
| 1085 | - ∃ C0 : ℝ, 0 ≤ C0 ∧ ∃ m : ℕ, ∀ l n k (x : P × Plane), x.1 ∈ s.domain → | |
| 1086 | - χ x.1 ∈ T.carrier (l,n) → | |
| 1087 | - ((g l n).coordinates k x.2).1 ∈ Icc (-(r l n)) (r l n) → | |
| 1088 | - ∀ j ≤ N, ∀ v ∈ Icc 0 (F.L (l,n)/rate (l,n)), | |
| 1089 | - ‖iteratedFDeriv ℝ j | |
| 1090 | - ((PrimaryCopyBridge.copyFrame (nativeFrame (scaledSelectedFrame F φ rate normalScale (l,n)) χ) | |
| 1091 | - (g l n) k).coefficient (harmonic l)) (x,v)‖ ≤ C0*s.growth n x.1^m ∧ | |
| 1092 | - ‖iteratedFDeriv ℝ j | |
| 1093 | - ((PrimaryCopyBridge.copyFrame (nativeFrame (scaledSelectedFrame F φ rate normalScale (l,n)) χ) | |
| 1094 | - (g l n) k).forcing (PrimaryCopyBridge.copySource (f l n) (g l n) k)) (x,v)‖ ≤ | |
| 1095 | - (s.epsilon n^α*Real.sqrt (s.zeta x.1))*C0*s.growth n x.1^m * | |
| 1096 | - referenceP (F.lam (l,n)) (F.u (l,n)) (F.L (l,n)) (rate (l,n)*v) ∧ | |
| 1097 | - ∀ i : Fin 2, ‖iteratedFDeriv ℝ j | |
| 1098 | - (synthesisColumn (PrimaryCopyBridge.copyFrame | |
| 1099 | - (nativeFrame (scaledSelectedFrame F φ rate normalScale (l,n)) χ) (g l n) k) i) | |
| 1100 | - (x,v)‖ ≤ C0*s.growth n x.1^m := by | |
| 1101 | - have hd : FrameJets (T.slot V hV) (scaledSelectedFrame F φ rate normalScale) := by | |
| 1102 | - have he := transported_frame_jets (selected_frame_jets F) φ (fun _ => 0) (fun _ => 0) | |
| 1103 | - rate normalScale hA hB hR hrateBound hnormal hlin hscale | |
| 1104 | - (by simpa only [add_zero,zero_add] using hmap) | |
| 1105 | - simp only [add_zero] at he ⊢ | |
| 1106 | - exact he | |
| 1107 | - exact frame_input_jets s V hV (scaledSelectedFrame F φ rate normalScale) | |
| 1108 | - (fun i => F.L i/rate i) | |
| 1109 | - (fun l n v => referenceP (F.lam (l,n)) (F.u (l,n)) (F.L (l,n)) (rate (l,n)*v)) | |
| 1110 | - hd hinterval (fun _ _ _ => (referenceP_pos _ _ _ _).le) χ g r hscaleTarget hsep hC hgeometry | |
| 1111 | - harmonic hJ hj hf N | |
| 1112 | - | |
| 1113 | 833 | end TransportedSelectedInputs |
| 1114 | 834 | |
| 1115 | 835 | end NavierStokes.ActualParticularControl |
+0 −12 NavierStokes/ActualParticularCycleData.lean View file
| @@ -326,13 +326,6 @@ theorem native_gaussian_class (H : Invariant σ x) (hN : ActualCarrierGeometry.g | ||
| 326 | 326 | (native_inputSupport H) hN j hj (native_source_class H j hj) β).each (l.2,l.1) |
| 327 | 327 | rwa [← nativeData_eq_data H l j] at hg |
| 328 | 328 | |
| 329 | -theorem native_raw_smooth (H : Invariant σ x) (hN : ActualCarrierGeometry.geometricThreshold ≤ N0) | |
| 330 | - (l : Index B N0) (j : ℤ) (hj : j ≠ 0) (n : ℕ) : | |
| 331 | - ContDiffOn ℝ ∞ ((nativeData x l j).common.amplitude n) | |
| 332 | - (ActualWaveRegularity.nativeDomain ActualWaveRegularity.particularChart ActualPrimary.standardRegion) := | |
| 333 | - (ActualWaveRegularityData.particular_full_regular_of_class (native_raw_class H hN l j hj) | |
| 334 | - (fun n _ hz hr => (native_common_boundary H l j n hz hr).1) n).1 | |
| 335 | - | |
| 336 | 329 | theorem native_pressure_smooth (H : Invariant σ x) (hN : ActualCarrierGeometry.geometricThreshold ≤ N0) |
| 337 | 330 | (l : Index B N0) (j : ℤ) (hj : j ≠ 0) (n : ℕ) : |
| 338 | 331 | ContDiffOn ℝ ∞ ((nativeData x l j).common.pressure n) |
| @@ -811,11 +804,6 @@ theorem actual_data (H : Invariant σ x) (T : ActualCyclePeriodicity.Periodic x) | ||
| 811 | 804 | support := (field_regular H T hN).2.2 |
| 812 | 805 | linear := linear_bounds H hN |
| 813 | 806 | |
| 814 | -theorem actual_inputs (H : Invariant σ x) (T : ActualCyclePeriodicity.Periodic x) | |
| 815 | - (hN : ActualCarrierGeometry.geometricThreshold ≤ N0) (hσ : 1/5 ≤ σ) : | |
| 816 | - ActualParticularMeanGain.Inputs x σ := | |
| 817 | - (actual_data H T hN hσ).inputs H hN | |
| 818 | - | |
| 819 | 807 | end Outputs |
| 820 | 808 | |
| 821 | 809 | end NavierStokes.ActualParticularCycleData |
+0 −48 NavierStokes/ActualParticularDynamics.lean View file
| @@ -908,26 +908,6 @@ theorem native_cancellation {x : CycleState (Label B N0)} (Hc : PreservesCarrier | ||
| 908 | 908 | (native_geometry x l j n hR hT).radial_radius (data x l j).source |
| 909 | 909 | (native_principal Hc j hj Hs l n k hz) |
| 910 | 910 | |
| 911 | -theorem native_realizes_curl {x : CycleState (Label B N0)} (Hc : PreservesCarriers x) | |
| 912 | - {α : ℝ} (j : ℤ) (hj : j ≠ 0) | |
| 913 | - (Hs : LabelSumBounds.UniformWaveClass | |
| 914 | - (CommonCoverClass.sourceStrip (ActualParticularControl.angleStrip slowStrip)) | |
| 915 | - nativeEnvelope α (currentSource x j)) | |
| 916 | - (l : Label B N0) (n : ℕ) (k : Frequency) {z : Native} | |
| 917 | - (hz : z ∈ controlPatch l n k) : | |
| 918 | - CurlClassBounds.cylindricalCurl ((data x l j).background.radius n) | |
| 919 | - ((directions (B := B)).radialField n) (fun _ => (directions (B := B)).angular) | |
| 920 | - ((directions (B := B)).axialField (ParticularParameters.nativeStrip associatedStrip) n) | |
| 921 | - (((data x l j).localized k).curlPotential (ParticularParameters.nativeStrip associatedStrip) | |
| 922 | - (directions (B := B)) n) z = | |
| 923 | - vectorMode ((data x l j).background.frequency n) ((data x l j).background.phase n) | |
| 924 | - (((data x l j).corrected (ParticularParameters.nativeStrip associatedStrip) | |
| 925 | - (directions (B := B)) k).amplitude n) z := | |
| 926 | - ClosedNativeWaveIdentities.native_realizes_curl_at (a := data x l j) | |
| 927 | - (s := ParticularParameters.nativeStrip associatedStrip) (d := directions (B := B)) n k z | |
| 928 | - (native_rawJets Hc j hj Hs l n k hz) (frequency_ne Hc l j hj n) | |
| 929 | - (native_tangency_germ Hc j hj Hs l n k hz).eq_of_nhds | |
| 930 | - | |
| 931 | 911 | theorem native_divergence_zero {x : CycleState (Label B N0)} (Hc : PreservesCarriers x) |
| 932 | 912 | {α : ℝ} (j : ℤ) (hj : j ≠ 0) |
| 933 | 913 | (Hs : LabelSumBounds.UniformWaveClass |
| @@ -1014,27 +994,6 @@ theorem common_cancellation {x : CycleState (Label B N0)} (Hc : PreservesCarrier | ||
| 1014 | 994 | exact CorrectionStep.local_cancellation_of_zero_germs _ _ _ ha' hp' |
| 1015 | 995 | ((data x l j).localGaussian_zero_of_fields _ ha hf) hf |
| 1016 | 996 | |
| 1017 | -theorem common_realizes_curl {x : CycleState (Label B N0)} (Hc : PreservesCarriers x) | |
| 1018 | - {α : ℝ} (j : ℤ) (hj : j ≠ 0) | |
| 1019 | - (Hs : LabelSumBounds.UniformWaveClass | |
| 1020 | - (CommonCoverClass.sourceStrip (ActualParticularControl.angleStrip slowStrip)) | |
| 1021 | - nativeEnvelope α (currentSource x j)) | |
| 1022 | - (l : Label B N0) (S : SupportData x l j) (n : ℕ) {z : Native} | |
| 1023 | - (hz : z ∈ (ParticularParameters.nativeStrip associatedStrip).domain) : | |
| 1024 | - CurlClassBounds.cylindricalCurl ((data x l j).background.radius n) | |
| 1025 | - ((directions (B := B)).radialField n) (fun _ => (directions (B := B)).angular) | |
| 1026 | - ((directions (B := B)).axialField (ParticularParameters.nativeStrip associatedStrip) n) | |
| 1027 | - ((data x l j).common.curlPotential (ParticularParameters.nativeStrip associatedStrip) | |
| 1028 | - (directions (B := B)) n) z = | |
| 1029 | - vectorMode ((actualWave x l j).frequency n) ((actualWave x l j).phase n) | |
| 1030 | - ((actualWave x l j).amplitude n) z := by | |
| 1031 | - apply (data x l j).common_realizes_curl S.cells S.cutoff_support | |
| 1032 | - (ParticularParameters.nativeStrip associatedStrip) (directions (B := B)) ?_ n hz | |
| 1033 | - intro m k y hy hk | |
| 1034 | - rcases S.localized_alternative hy hk with hc | ⟨ha,_⟩ | |
| 1035 | - · exact native_realizes_curl Hc j hj Hs l m k hc | |
| 1036 | - · exact (LocalizedCurlRealization.native_identities_of_zero_germ _ _ _ ha).1 | |
| 1037 | - | |
| 1038 | 997 | theorem common_divergence_zero {x : CycleState (Label B N0)} (Hc : PreservesCarriers x) |
| 1039 | 998 | {α : ℝ} (j : ℤ) (hj : j ≠ 0) |
| 1040 | 999 | (Hs : LabelSumBounds.UniformWaveClass |
| @@ -1536,13 +1495,6 @@ theorem cycle_modeSolenoidal {x : CycleState (Label B N0)} (Hc : PreservesCarrie | ||
| 1536 | 1495 | StateReindex.context_roundtrip] at hh ⊢ |
| 1537 | 1496 | exact hh |
| 1538 | 1497 | |
| 1539 | -theorem actualUpdate_eq_canonical {x : CycleState (Label B N0)} (Hc : PreservesCarriers x) | |
| 1540 | - (l : Label B N0) (N : ℕ) : actualUpdate x l N = | |
| 1541 | - (canonicalParameters l).updateBlock associatedStrip (assembly x l).context (assembly x l).state | |
| 1542 | - (assembly x l).carrierBlock (assembly x l).gaussianInput (assembly x l).aliasInput N := by | |
| 1543 | - unfold actualUpdate | |
| 1544 | - rw [parameters_eq_canonical x l (carrier_frequency Hc l)] | |
| 1545 | - | |
| 1546 | 1498 | |
| 1547 | 1499 | theorem linearBlockField_pull {D E : Type} [NormedAddCommGroup D] [NormedSpace ℝ D] |
| 1548 | 1500 | [NormedAddCommGroup E] [NormedSpace ℝ E] (e : D ≃ₗᵢ[ℝ] E) |
+0 −52 NavierStokes/ActualParticularPotentialCoherence.lean View file
| @@ -65,13 +65,6 @@ theorem potential_weight {Q Qr : ℝ} (hQ : 0 < Q) (hQr : 0 < Qr) (h : ℝ) : | ||
| 65 | 65 | unfold CoordinateAlgebra.A |
| 66 | 66 | ring |
| 67 | 67 | |
| 68 | -theorem pressure_weight {Q Qr : ℝ} (hQ : 0 < Q) (hQr : 0 < Qr) (h : ℝ) : | |
| 69 | - pressureWeight h Q Qr = (velocityWeight h Q Qr) ^ 2 := by | |
| 70 | - rw [pow_two, velocityWeight, ratioPower_mul hQ hQr] | |
| 71 | - unfold pressureWeight | |
| 72 | - congr 1 | |
| 73 | - ring | |
| 74 | - | |
| 75 | 68 | variable {B N0 : ℕ} |
| 76 | 69 | |
| 77 | 70 | abbrev Label := ActualParticularStageControls.Label |
| @@ -232,49 +225,4 @@ theorem pressureMode_band (x : CorrectionStep.CycleState (Label B N0)) (l : Labe | ||
| 232 | 225 | j hj z hz (by rw [ActualParticularCoherence.parameterChange_slow]; exact hmap hz)).2.1 |
| 233 | 226 | · exact ActualParticularCoherence.phase_band x l n m k hi HB j hj (hf n) (hf m) z hz |
| 234 | 227 | |
| 235 | -theorem pressureMode_band_sq (x : CorrectionStep.CycleState (Label B N0)) (l : Label B N0) | |
| 236 | - (I : ActualParticularCoherence.SourceInputs x l) | |
| 237 | - (hfrequency : ∀ n, (x.coefficients.blocks l).frequency n = ChartScales.carrier h n) | |
| 238 | - {V : Set TorusInverse.Plane} (hV : IsOpen V) (htime : ∀ s ∈ V, 0 < s.1) | |
| 239 | - (n m k : ℕ) (hi : CommonWindow.index h n + k = CommonWindow.index h m) | |
| 240 | - (hmap : MapsTo (GaugeStateCoherence.bandSlowEquiv h n m) V standardRegion.carrier) | |
| 241 | - (HS : ActualReferenceRebase.StateComparison x V n m k) | |
| 242 | - (HB : ActualReferenceRebase.BlockComparison x l V n m k) | |
| 243 | - (j : ℤ) (hj : j ≠ 0) (z : WaveSpace) (hz : z ∈ ActualParticularCoherence.waveDomain V) : | |
| 244 | - pressureMode x l j n z = (velocityWeight h (ChartScales.Q n) (ChartScales.Q m)) ^ 2 • | |
| 245 | - pressureMode x l j m (ActualParticularCoherence.bandMap n m z) := by | |
| 246 | - simpa only [pressure_weight (ChartScales.Q_pos n) (ChartScales.Q_pos m)] using | |
| 247 | - pressureMode_band x l I hfrequency hV htime n m k hi hmap HS HB j hj z hz | |
| 248 | - | |
| 249 | -/-- Equality holds as an ambient germ at every point of the open slow | |
| 250 | -overlap, including all free radial, angular, and fast coordinates. -/ | |
| 251 | -theorem potential_band_germ (x : CorrectionStep.CycleState (Label B N0)) (l : Label B N0) | |
| 252 | - (I : ActualParticularCoherence.SourceInputs x l) | |
| 253 | - (hfrequency : ∀ n, (x.coefficients.blocks l).frequency n = ChartScales.carrier h n) | |
| 254 | - {V : Set TorusInverse.Plane} (hV : IsOpen V) (htime : ∀ s ∈ V, 0 < s.1) | |
| 255 | - (n m k : ℕ) (hi : CommonWindow.index h n + k = CommonWindow.index h m) | |
| 256 | - (hmap : MapsTo (GaugeStateCoherence.bandSlowEquiv h n m) V standardRegion.carrier) | |
| 257 | - (HS : ActualReferenceRebase.StateComparison x V n m k) | |
| 258 | - (HB : ActualReferenceRebase.BlockComparison x l V n m k) | |
| 259 | - (j : ℤ) (hj : j ≠ 0) (z : WaveSpace) (hz : z ∈ ActualParticularCoherence.waveDomain V) : | |
| 260 | - potential x l j n =ᶠ[𝓝 z] fun y => ratioPower (ChartScales.Q n) (ChartScales.Q m) h • | |
| 261 | - potential x l j m (ActualParticularCoherence.bandMap n m y) := by | |
| 262 | - filter_upwards [(ActualParticularCoherence.waveDomain_open hV).mem_nhds hz] with y hy | |
| 263 | - exact potential_band x l I hfrequency hV htime n m k hi hmap HS HB j hj y hy | |
| 264 | - | |
| 265 | -theorem pressureMode_band_germ (x : CorrectionStep.CycleState (Label B N0)) (l : Label B N0) | |
| 266 | - (I : ActualParticularCoherence.SourceInputs x l) | |
| 267 | - (hfrequency : ∀ n, (x.coefficients.blocks l).frequency n = ChartScales.carrier h n) | |
| 268 | - {V : Set TorusInverse.Plane} (hV : IsOpen V) (htime : ∀ s ∈ V, 0 < s.1) | |
| 269 | - (n m k : ℕ) (hi : CommonWindow.index h n + k = CommonWindow.index h m) | |
| 270 | - (hmap : MapsTo (GaugeStateCoherence.bandSlowEquiv h n m) V standardRegion.carrier) | |
| 271 | - (HS : ActualReferenceRebase.StateComparison x V n m k) | |
| 272 | - (HB : ActualReferenceRebase.BlockComparison x l V n m k) | |
| 273 | - (j : ℤ) (hj : j ≠ 0) (z : WaveSpace) (hz : z ∈ ActualParticularCoherence.waveDomain V) : | |
| 274 | - pressureMode x l j n =ᶠ[𝓝 z] | |
| 275 | - fun y => pressureWeight h (ChartScales.Q n) (ChartScales.Q m) • | |
| 276 | - pressureMode x l j m (ActualParticularCoherence.bandMap n m y) := by | |
| 277 | - filter_upwards [(ActualParticularCoherence.waveDomain_open hV).mem_nhds hz] with y hy | |
| 278 | - exact pressureMode_band x l I hfrequency hV htime n m k hi hmap HS HB j hj y hy | |
| 279 | - | |
| 280 | 228 | end NavierStokes.ActualParticularPotentialCoherence |
+0 −811 NavierStokes/ActualParticularRealization.lean View file
| @@ -24,21 +24,12 @@ abbrev Parameter := PhysicalParticularWave.Parameter | ||
| 24 | 24 | abbrev Plane := TorusInverse.Plane |
| 25 | 25 | abbrev Associated := Parameter × Plane |
| 26 | 26 | abbrev WaveSpace := PhysicalParticularWave.WaveSpace |
| 27 | -abbrev Cylinder := PhysicalParticularWave.Cylinder | |
| 28 | 27 | |
| 29 | 28 | section Reindex |
| 30 | 29 | |
| 31 | 30 | variable {E F : Type} [NormedAddCommGroup E] [NormedSpace ℝ E] |
| 32 | 31 | [NormedAddCommGroup F] [NormedSpace ℝ F] |
| 33 | 32 | |
| 34 | -/-- An invertible linear coordinate change transports the actual Fréchet | |
| 35 | -derivative, including its totalized value away from differentiability. -/ | |
| 36 | -theorem normal_pull (e : E ≃ₗᵢ[ℝ] F) (R Φ : F → ℝ) (Vr Vθ Vz : F → F) : | |
| 37 | - phaseNormal (fun x => R (e x)) (StateReindex.vector e Vr) (StateReindex.vector e Vθ) | |
| 38 | - (StateReindex.vector e Vz) (fun x => Φ (e x)) = fun x => phaseNormal R Vr Vθ Vz Φ (e x) := by | |
| 39 | - funext x | |
| 40 | - simp only [phaseNormal, StateReindex.along_pull] | |
| 41 | - | |
| 42 | 33 | theorem curl_pull (e : E ≃ₗᵢ[ℝ] F) (R : F → ℝ) (Vr Vθ Vz : F → F) |
| 43 | 34 | (a : F → ComplexVector) : |
| 44 | 35 | cylindricalCurl (fun x => R (e x)) (StateReindex.vector e Vr) (StateReindex.vector e Vθ) |
| @@ -46,19 +37,6 @@ theorem curl_pull (e : E ≃ₗᵢ[ℝ] F) (R : F → ℝ) (Vr Vθ Vz : F → F) | ||
| 46 | 37 | funext x |
| 47 | 38 | simp only [cylindricalCurl, StateReindex.along_pull_component] |
| 48 | 39 | |
| 49 | -theorem realizedCoefficient_pull (e : E ≃ₗᵢ[ℝ] F) (K : ℝ) (R Φ : F → ℝ) | |
| 50 | - (Vr Vθ Vz : F → F) (a : F → ComplexVector) : | |
| 51 | - realizedCoefficient K (fun x => R (e x)) (StateReindex.vector e Vr) (StateReindex.vector e Vθ) | |
| 52 | - (StateReindex.vector e Vz) (fun x => Φ (e x)) (fun x => a (e x)) = | |
| 53 | - fun x => realizedCoefficient K R Vr Vθ Vz Φ a (e x) := by | |
| 54 | - have hc : coefficient (fun x => R (e x)) (StateReindex.vector e Vr) (StateReindex.vector e Vθ) | |
| 55 | - (StateReindex.vector e Vz) (fun x => Φ (e x)) (fun x => a (e x)) = | |
| 56 | - fun x => coefficient R Vr Vθ Vz Φ a (e x) := by | |
| 57 | - funext x | |
| 58 | - simp only [coefficient, normal_pull] | |
| 59 | - funext x | |
| 60 | - simp only [realizedCoefficient, hc, curlRemainder_eq, curl_pull] | |
| 61 | - | |
| 62 | 40 | /-- Phase agreement on a neighborhood suffices for the complete curl |
| 63 | 41 | correction; no global continuation of the phase identity is required. -/ |
| 64 | 42 | theorem realizedCoefficient_phase_germ {Φ Ψ : E → ℝ} {x : E} (hΦ : Φ =ᶠ[𝓝 x] Ψ) |
| @@ -105,144 +83,10 @@ variable (D : AssemblyData Parameter) (s : WeightedClasses.StripData Associated) | ||
| 105 | 83 | (hn : PhysicalResidualNaturality.PositiveSupport D.carrierBlock D.gaussianInput D.aliasInput n) |
| 106 | 84 | (hr : PhysicalResidualNaturality.PositiveSupport D.carrierBlock D.gaussianInput D.aliasInput D.reference.band) |
| 107 | 85 | |
| 108 | -include H hn hr in | |
| 109 | -theorem raw_amplitude_pull (j : ℤ) : | |
| 110 | - (fun x => (raw D h gap j).amplitude n (PhysicalParticularWave.waveEquiv x)) = | |
| 111 | - PhysicalParticularWave.bandRaw D h (ChartScales.Q_pos n) (ChartScales.Q_pos D.reference.band) | |
| 112 | - (gap n) ((j : ℝ) * D.carrierBlock.frequency n) j := by | |
| 113 | - funext x | |
| 114 | - exact congrFun (CorrectionStep.ParticularParameters.fromReference_coherent_amplitude | |
| 115 | - D h gap j n i H hn hr) (PhysicalParticularWave.waveEquiv x) | |
| 116 | - | |
| 117 | -include H hn hr in | |
| 118 | -theorem raw_pressure_pull (j : ℤ) (hk : (j : ℝ) * D.carrierBlock.frequency n ≠ 0) : | |
| 119 | - (fun x => (raw D h gap j).pressure n (PhysicalParticularWave.waveEquiv x)) = | |
| 120 | - PhysicalParticularWave.bandRawPressure D h (ChartScales.Q_pos n) (ChartScales.Q_pos D.reference.band) | |
| 121 | - (gap n) ((j : ℝ) * D.carrierBlock.frequency n) j := by | |
| 122 | - funext x | |
| 123 | - exact congrFun (CorrectionStep.ParticularParameters.fromReference_coherent_pressure | |
| 124 | - D h gap j n i H hn hr hk) (PhysicalParticularWave.waveEquiv x) | |
| 125 | - | |
| 126 | -include H in | |
| 127 | -/-- The phase identity is derived on the full positive-radius lift from | |
| 128 | -the current-state band coherence and the same integer angular harmonic. -/ | |
| 129 | -theorem bandPhase_eq (j : ℤ) (hj : j ≠ 0) (hf : ∀ m, D.carrierBlock.frequency m ≠ 0) | |
| 130 | - {x : Cylinder} (hx : 0 < x.1.1) : | |
| 131 | - PhysicalParticularWave.bandPhase D h (ChartScales.Q n) (ChartScales.Q D.reference.band) | |
| 132 | - (gap n) ((j : ℝ) * D.carrierBlock.frequency n) j x = | |
| 133 | - (raw D h gap j).phase n (PhysicalParticularWave.waveEquiv x) := by | |
| 134 | - have hK : (j : ℝ) * D.carrierBlock.frequency n ≠ 0 := | |
| 135 | - mul_ne_zero (by exact_mod_cast hj) (hf n) | |
| 136 | - apply mul_left_cancel₀ hK | |
| 137 | - have htarget := actualCarrier_phase D.background D.carrierBlock j hf n | |
| 138 | - ((PhysicalParticularWave.waveEquiv x).1.1, (PhysicalParticularWave.waveEquiv x).2) | |
| 139 | - (PhysicalParticularWave.waveEquiv x).1.2 | |
| 140 | - have href := actualCarrier_phase D.background D.carrierBlock j hf D.reference.band | |
| 141 | - (PhysicalParticularWave.parameterChange h (ChartScales.Q n) (ChartScales.Q D.reference.band) | |
| 142 | - (PhysicalParticularWave.waveEquiv x).1.1, CommonCoverSolve.coverPower (gap n) (PhysicalParticularWave.waveEquiv x).2) | |
| 143 | - (PhysicalParticularWave.waveEquiv x).1.2 | |
| 144 | - have hphase := H.block.phase | |
| 145 | - (x := ((PhysicalParticularWave.waveEquiv x).1.1, (PhysicalParticularWave.waveEquiv x).2)) hx | |
| 146 | - change D.carrierBlock.frequency n * D.carrierBlock.phase n _ = | |
| 147 | - D.carrierBlock.frequency D.reference.band * D.carrierBlock.phase D.reference.band _ at hphase | |
| 148 | - change ((j : ℝ) * D.carrierBlock.frequency n) * (raw D h gap j).phase n | |
| 149 | - (PhysicalParticularWave.waveEquiv x) = _ at htarget | |
| 150 | - change PhysicalParticularWave.referenceFrequency D j * PhysicalParticularWave.liftPhase D j | |
| 151 | - (PhysicalParticularWave.cylinderChange h (ChartScales.Q n) (ChartScales.Q D.reference.band) (gap n) x) = _ at href | |
| 152 | - rw [hphase, H.block.angular] at htarget | |
| 153 | - unfold PhysicalParticularWave.bandPhase | |
| 154 | - calc | |
| 155 | - _ = PhysicalParticularWave.referenceFrequency D j * PhysicalParticularWave.liftPhase D j | |
| 156 | - (PhysicalParticularWave.cylinderChange h (ChartScales.Q n) (ChartScales.Q D.reference.band) (gap n) x) := by | |
| 157 | - field_simp [hf n] | |
| 158 | - _ = _ := href.trans htarget.symm | |
| 159 | - | |
| 160 | -include H in | |
| 161 | -theorem bandPhase_germ (j : ℤ) (hj : j ≠ 0) (hf : ∀ m, D.carrierBlock.frequency m ≠ 0) | |
| 162 | - {x : Cylinder} (hx : 0 < x.1.1) : | |
| 163 | - (fun y => (raw D h gap j).phase n (PhysicalParticularWave.waveEquiv y)) =ᶠ[𝓝 x] | |
| 164 | - PhysicalParticularWave.bandPhase D h (ChartScales.Q n) (ChartScales.Q D.reference.band) | |
| 165 | - (gap n) ((j : ℝ) * D.carrierBlock.frequency n) j := by | |
| 166 | - filter_upwards [(isOpen_lt continuous_const continuous_fst.fst).mem_nhds hx] with y hy | |
| 167 | - exact (bandPhase_eq D h gap n i H j hj hf hy).symm | |
| 168 | - | |
| 169 | -include H hn hr in | |
| 170 | -theorem corrected_amplitude_pull (T : TargetChart D s h n i) (j : ℤ) : | |
| 171 | - (fun x => (corrected D s h gap j).amplitude n (PhysicalParticularWave.waveEquiv x)) = | |
| 172 | - realizedCoefficient ((j : ℝ) * D.carrierBlock.frequency n) | |
| 173 | - PhysicalResidualBridge.ScaledGraph.radius | |
| 174 | - (PhysicalResidualBridge.commonGraph (ChartScales.Q n) h i).radial | |
| 175 | - PhysicalResidualBridge.ScaledGraph.angular | |
| 176 | - (PhysicalResidualBridge.commonGraph (ChartScales.Q n) h i).axial | |
| 177 | - (fun x => (raw D h gap j).phase n (PhysicalParticularWave.waveEquiv x)) | |
| 178 | - (PhysicalParticularWave.bandRaw D h (ChartScales.Q_pos n) (ChartScales.Q_pos D.reference.band) | |
| 179 | - (gap n) ((j : ℝ) * D.carrierBlock.frequency n) j) := by | |
| 180 | - have hp := realizedCoefficient_pull PhysicalParticularWave.waveEquiv | |
| 181 | - ((j : ℝ) * D.carrierBlock.frequency n) (D.background.radius n) ((raw D h gap j).phase n) | |
| 182 | - (D.directions.radialField n) (fun _ => D.directions.angular) | |
| 183 | - (D.directions.axialField (CorrectionStep.ParticularParameters.nativeStrip s) n) | |
| 184 | - ((raw D h gap j).amplitude n) | |
| 185 | - rw [T.radius, T.radial, T.angular, T.axial, raw_amplitude_pull D h gap n i H hn hr j] at hp | |
| 186 | - exact hp.symm | |
| 187 | - | |
| 188 | -include H hn hr in | |
| 189 | -theorem corrected_velocity_eq_band (T : TargetChart D s h n i) (j : ℤ) (hj : j ≠ 0) | |
| 190 | - (hf : ∀ m, D.carrierBlock.frequency m ≠ 0) {x : Cylinder} (hx : 0 < x.1.1) : | |
| 191 | - vectorMode ((corrected D s h gap j).frequency n) ((corrected D s h gap j).phase n) | |
| 192 | - ((corrected D s h gap j).amplitude n) (PhysicalParticularWave.waveEquiv x) = | |
| 193 | - PhysicalParticularWave.bandVelocity D h (ChartScales.Q_pos n) | |
| 194 | - (ChartScales.Q_pos D.reference.band) i (gap n) ((j : ℝ) * D.carrierBlock.frequency n) j x := by | |
| 195 | - have hΦ := bandPhase_germ D h gap n i H j hj hf hx | |
| 196 | - have ha := congrFun (corrected_amplitude_pull D s h gap n i H hn hr T j) x | |
| 197 | - have hg := (realizedCoefficient_phase_germ hΦ ((j : ℝ) * D.carrierBlock.frequency n) | |
| 198 | - PhysicalResidualBridge.ScaledGraph.radius | |
| 199 | - (PhysicalResidualBridge.commonGraph (ChartScales.Q n) h i).radial | |
| 200 | - PhysicalResidualBridge.ScaledGraph.angular | |
| 201 | - (PhysicalResidualBridge.commonGraph (ChartScales.Q n) h i).axial | |
| 202 | - (PhysicalParticularWave.bandRaw D h (ChartScales.Q_pos n) (ChartScales.Q_pos D.reference.band) | |
| 203 | - (gap n) ((j : ℝ) * D.carrierBlock.frequency n) j)).eq_of_nhds | |
| 204 | - funext k | |
| 205 | - change (corrected D s h gap j).amplitude n (PhysicalParticularWave.waveEquiv x) k * | |
| 206 | - carrier ((j : ℝ) * D.carrierBlock.frequency n) ((raw D h gap j).phase n) (PhysicalParticularWave.waveEquiv x) = _ | |
| 207 | - rw [ha, hg] | |
| 208 | - change _ * carrier ((j : ℝ) * D.carrierBlock.frequency n) | |
| 209 | - (fun y => (raw D h gap j).phase n (PhysicalParticularWave.waveEquiv y)) x = _ | |
| 210 | - exact congrArg₂ (· * ·) rfl (PhysicalCurlCovariance.carrier_eq_of_products | |
| 211 | - (congrArg (((j : ℝ) * D.carrierBlock.frequency n) * ·) hΦ.eq_of_nhds)) | |
| 212 | - | |
| 213 | -include H hn hr in | |
| 214 | -theorem corrected_pressure_eq_band (j : ℤ) (hj : j ≠ 0) | |
| 215 | - (hf : ∀ m, D.carrierBlock.frequency m ≠ 0) {x : Cylinder} (hx : 0 < x.1.1) : | |
| 216 | - mode ((corrected D s h gap j).frequency n) ((corrected D s h gap j).phase n) | |
| 217 | - ((corrected D s h gap j).pressure n) (PhysicalParticularWave.waveEquiv x) = | |
| 218 | - PhysicalParticularWave.bandPressureMode D h (ChartScales.Q_pos n) | |
| 219 | - (ChartScales.Q_pos D.reference.band) (gap n) ((j : ℝ) * D.carrierBlock.frequency n) j x := by | |
| 220 | - have hK : (j : ℝ) * D.carrierBlock.frequency n ≠ 0 := | |
| 221 | - mul_ne_zero (by exact_mod_cast hj) (hf n) | |
| 222 | - have hp := congrFun (raw_pressure_pull D h gap n i H hn hr j hK) x | |
| 223 | - have hΦ := (bandPhase_eq D h gap n i H j hj hf hx).symm | |
| 224 | - change (raw D h gap j).pressure n (PhysicalParticularWave.waveEquiv x) * _ = _ | |
| 225 | - rw [hp] | |
| 226 | - exact congrArg₂ (· * ·) rfl (PhysicalCurlCovariance.carrier_eq_of_products | |
| 227 | - (congrArg (((j : ℝ) * D.carrierBlock.frequency n) * ·) hΦ)) | |
| 228 | - | |
| 229 | 86 | end Band |
| 230 | 87 | |
| 231 | 88 | /-! ## The literal finite harmonic block -/ |
| 232 | 89 | |
| 233 | -noncomputable def block (D : AssemblyData Parameter) (s : WeightedClasses.StripData Associated) | |
| 234 | - (h : ℝ) (gap : ℕ → ℕ) (N : ℕ) : HarmonicBlock Associated := | |
| 235 | - (CorrectionStep.ParticularParameters.fromReference D h gap).updateBlock s | |
| 236 | - D.context D.state D.carrierBlock D.gaussianInput D.aliasInput N | |
| 237 | - | |
| 238 | -/-- Cylindrical coordinates with the cycle's slow-coordinate order and the | |
| 239 | -association used by the harmonic coefficient block. -/ | |
| 240 | -noncomputable def associatedCylinder : Cylinder ≃ₗᵢ[ℝ] (Associated × ℝ) := | |
| 241 | - StateReindex.cylinder PhysicalResidualNaturality.associatedToLift.symm | |
| 242 | - | |
| 243 | -theorem angleShuffle_associatedCylinder (x : Cylinder) : | |
| 244 | - angleShuffle (associatedCylinder x) = PhysicalParticularWave.waveEquiv x := rfl | |
| 245 | - | |
| 246 | 90 | section Assembly |
| 247 | 91 | |
| 248 | 92 | variable (D : AssemblyData Parameter) (s : WeightedClasses.StripData Associated) |
| @@ -250,152 +94,16 @@ variable (D : AssemblyData Parameter) (s : WeightedClasses.StripData Associated) | ||
| 250 | 94 | |
| 251 | 95 | open CopyAngularInvariance |
| 252 | 96 | |
| 253 | -theorem corrected_amplitude_invariant (j : ℤ) | |
| 254 | - (B : BackgroundControl (CorrectionStep.ParticularParameters.nativeStrip s) | |
| 255 | - D.directions D.background D.carrierBlock j) (n : ℕ) : | |
| 256 | - Invariant (((0 : Parameter), (1 : ℝ)), (0 : Plane)) | |
| 257 | - ((corrected D s h gap j).amplitude n) := by | |
| 258 | - have ha : Invariant D.directions.angular ((raw D h gap j).amplitude n) := by | |
| 259 | - rw [B.angular] | |
| 260 | - change Invariant _ (((CorrectionStep.ParticularParameters.fromReference D h gap).copyData | |
| 261 | - D.context D.state D.carrierBlock D.gaussianInput D.aliasInput j).common.amplitude n) | |
| 262 | - rw [CorrectionStep.ParticularParameters.common_amplitude] | |
| 263 | - exact angleLift_invariant _ | |
| 264 | - have hphi := actualCarrier_affine D.background D.carrierBlock j n | |
| 265 | - rw [← B.angular] at hphi ⊢ | |
| 266 | - exact realizedCoefficient_invariant (B.radius_invariant n) (B.radial_invariant n) | |
| 267 | - (Invariant.const _) (B.axial_invariant n) hphi ha ((j : ℝ) * D.carrierBlock.frequency n) | |
| 268 | - | |
| 269 | -theorem corrected_pressure_invariant (j : ℤ) | |
| 270 | - (hK : (j : ℝ) * D.carrierBlock.frequency n ≠ 0) : | |
| 271 | - Invariant (((0 : Parameter), (1 : ℝ)), (0 : Plane)) | |
| 272 | - ((corrected D s h gap j).pressure n) := by | |
| 273 | - change Invariant _ (((CorrectionStep.ParticularParameters.fromReference D h gap).copyData | |
| 274 | - D.context D.state D.carrierBlock D.gaussianInput D.aliasInput j).common.pressure n) | |
| 275 | - rw [CorrectionStep.ParticularParameters.common_pressure _ _ _ _ _ _ _ _ hK] | |
| 276 | - exact angleLift_invariant _ | |
| 277 | - | |
| 278 | -theorem block_velocity_represents {N : ℕ} | |
| 279 | - (B : ∀ j ∈ modes N, BackgroundControl (CorrectionStep.ParticularParameters.nativeStrip s) | |
| 280 | - D.directions D.background D.carrierBlock j) | |
| 281 | - (hf : ∀ m, D.carrierBlock.frequency m ≠ 0) (n : ℕ) (x : Associated × ℝ) (k : Fin 3) : | |
| 282 | - (block D s h gap N).oscillation n x k = | |
| 283 | - ∑ j ∈ modes N, (vectorMode ((corrected D s h gap j).frequency n) | |
| 284 | - ((corrected D s h gap j).phase n) ((corrected D s h gap j).amplitude n) | |
| 285 | - (angleShuffle x) k).re := by | |
| 286 | - rw [block, CorrectionStep.ParticularParameters.updateBlock, assembledBlock_value] | |
| 287 | - apply Finset.sum_congr rfl | |
| 288 | - intro j hj | |
| 289 | - have hi := invariant_angleShuffle (corrected_amplitude_invariant D s h gap j (B j hj) n) x.1 x.2 | |
| 290 | - change Complex.re (_ * _) = ((corrected D s h gap j).amplitude n (angleShuffle x) k * | |
| 291 | - carrier ((actualCarrier D.background D.carrierBlock j).frequency n) | |
| 292 | - ((actualCarrier D.background D.carrierBlock j).phase n) (angleShuffle x)).re | |
| 293 | - rw [actualCarrier_character D.background D.carrierBlock j hf n x, hi] | |
| 294 | - rfl | |
| 295 | - | |
| 296 | -theorem block_pressure_represents {N : ℕ} | |
| 297 | - (hj : ∀ j ∈ modes N, j ≠ 0) (hf : ∀ m, D.carrierBlock.frequency m ≠ 0) | |
| 298 | - (n : ℕ) (x : Associated × ℝ) : | |
| 299 | - (block D s h gap N).oscillatoryPressure n x = | |
| 300 | - ∑ j ∈ modes N, (mode ((corrected D s h gap j).frequency n) | |
| 301 | - ((corrected D s h gap j).phase n) ((corrected D s h gap j).pressure n) (angleShuffle x)).re := by | |
| 302 | - rw [block, CorrectionStep.ParticularParameters.updateBlock, assembledBlock_pressure_value] | |
| 303 | - apply Finset.sum_congr rfl | |
| 304 | - intro j hmem | |
| 305 | - have hK : (j : ℝ) * D.carrierBlock.frequency n ≠ 0 := | |
| 306 | - mul_ne_zero (by exact_mod_cast hj j hmem) (hf n) | |
| 307 | - have hi := invariant_angleShuffle (corrected_pressure_invariant D s h gap j hK) x.1 x.2 | |
| 308 | - change Complex.re (_ * _) = ((corrected D s h gap j).pressure n (angleShuffle x) * | |
| 309 | - carrier ((actualCarrier D.background D.carrierBlock j).frequency n) | |
| 310 | - ((actualCarrier D.background D.carrierBlock j).phase n) (angleShuffle x)).re | |
| 311 | - rw [actualCarrier_character D.background D.carrierBlock j hf n x, hi] | |
| 312 | - rfl | |
| 313 | - | |
| 314 | 97 | variable (n i : ℕ) |
| 315 | 98 | (H : PhysicalResidualNaturality.BandCoherence D h (ChartScales.Q_pos n) |
| 316 | 99 | (ChartScales.Q_pos D.reference.band) i (gap n) n) |
| 317 | 100 | (hn : PhysicalResidualNaturality.PositiveSupport D.carrierBlock D.gaussianInput D.aliasInput n) |
| 318 | 101 | (hr : PhysicalResidualNaturality.PositiveSupport D.carrierBlock D.gaussianInput D.aliasInput D.reference.band) |
| 319 | 102 | |
| 320 | -include H hn hr in | |
| 321 | -theorem block_velocity_eq_band (T : TargetChart D s h n i) {N : ℕ} | |
| 322 | - (B : ∀ j ∈ modes N, BackgroundControl (CorrectionStep.ParticularParameters.nativeStrip s) | |
| 323 | - D.directions D.background D.carrierBlock j) | |
| 324 | - (hj : ∀ j ∈ modes N, j ≠ 0) (hf : ∀ m, D.carrierBlock.frequency m ≠ 0) | |
| 325 | - {x : Cylinder} (hx : 0 < x.1.1) (k : Fin 3) : | |
| 326 | - (block D s h gap N).oscillation n (associatedCylinder x) k = | |
| 327 | - PhysicalParticularWave.labelBandVelocity D h (ChartScales.Q_pos n) | |
| 328 | - (ChartScales.Q_pos D.reference.band) i (gap n) | |
| 329 | - (fun j => (j : ℝ) * D.carrierBlock.frequency n) N x k := by | |
| 330 | - rw [block_velocity_represents D s h gap B hf] | |
| 331 | - unfold PhysicalParticularWave.labelBandVelocity | |
| 332 | - apply Finset.sum_congr rfl | |
| 333 | - intro j hmem | |
| 334 | - rw [angleShuffle_associatedCylinder, corrected_velocity_eq_band D s h gap n i H hn hr T j (hj j hmem) hf hx] | |
| 335 | - | |
| 336 | -include H hn hr in | |
| 337 | -theorem block_pressure_eq_band {N : ℕ} | |
| 338 | - (hj : ∀ j ∈ modes N, j ≠ 0) (hf : ∀ m, D.carrierBlock.frequency m ≠ 0) | |
| 339 | - {x : Cylinder} (hx : 0 < x.1.1) : | |
| 340 | - (block D s h gap N).oscillatoryPressure n (associatedCylinder x) = | |
| 341 | - PhysicalParticularWave.labelBandPressure D h (ChartScales.Q_pos n) | |
| 342 | - (ChartScales.Q_pos D.reference.band) (gap n) | |
| 343 | - (fun j => (j : ℝ) * D.carrierBlock.frequency n) N x := by | |
| 344 | - rw [block_pressure_represents D s h gap hj hf] | |
| 345 | - unfold PhysicalParticularWave.labelBandPressure | |
| 346 | - apply Finset.sum_congr rfl | |
| 347 | - intro j hmem | |
| 348 | - rw [angleShuffle_associatedCylinder, corrected_pressure_eq_band D s h gap n i H hn hr j (hj j hmem) hf hx] | |
| 349 | - | |
| 350 | 103 | end Assembly |
| 351 | 104 | |
| 352 | 105 | /-! ## Primitive frame matching -/ |
| 353 | 106 | |
| 354 | -theorem targetChart_of_frameMatch (D : AssemblyData Parameter) | |
| 355 | - (s : WeightedClasses.StripData Associated) (h : ℝ) (n i : ℕ) | |
| 356 | - (hm : CorrectionStep.WaveFrameMatch D.context (HarmonicWaveInteraction.productStrip s) | |
| 357 | - (reindexDirections angleShuffle D.directions) (reindexCoefficients angleShuffle D.background)) | |
| 358 | - (hframe : HarmonicResidual.contextFrame D.context n = | |
| 359 | - PhysicalResidualNaturality.associatedFrame h (ChartScales.Q n) i) : | |
| 360 | - TargetChart D s h n i := by | |
| 361 | - have hr : StateReindex.vector (angleShuffle (P := Parameter)) (D.directions.radialField n) = | |
| 362 | - CorrectionStep.radialDirection D.context n := | |
| 363 | - (reindex_radialField (angleShuffle (P := Parameter)) D.directions n).symm.trans (hm.radial n) | |
| 364 | - have hz : StateReindex.vector (angleShuffle (P := Parameter)) | |
| 365 | - (D.directions.axialField (CorrectionStep.ParticularParameters.nativeStrip s) n) = | |
| 366 | - CorrectionStep.axialDirection D.context n := by | |
| 367 | - change reindexVector angleShuffle (D.directions.axialField | |
| 368 | - (CorrectionStep.ParticularParameters.nativeStrip s) n) = _ | |
| 369 | - rw [← reindex_axialField, CorrectionStep.ParticularParameters.angleStrip_nativeStrip] | |
| 370 | - exact hm.axial n | |
| 371 | - have ht : StateReindex.vector (angleShuffle (P := Parameter)) (fun _ => D.directions.angular) = | |
| 372 | - CorrectionStep.angularDirection (D := Associated) := by | |
| 373 | - funext y | |
| 374 | - exact hm.angular | |
| 375 | - constructor | |
| 376 | - · funext x | |
| 377 | - exact (congrFun (hm.radius n) (associatedCylinder x)).trans | |
| 378 | - (congrArg (fun g : HarmonicResidual.Frame Associated => g.radius (associatedCylinder x).1) hframe) | |
| 379 | - · change StateReindex.vector associatedCylinder | |
| 380 | - (StateReindex.vector angleShuffle (D.directions.radialField n)) = _ | |
| 381 | - rw [hr] | |
| 382 | - change StateReindex.vector associatedCylinder | |
| 383 | - (fun y => ((HarmonicResidual.contextFrame D.context n).radial y.1, 0)) = _ | |
| 384 | - rw [hframe] | |
| 385 | - rfl | |
| 386 | - · change StateReindex.vector associatedCylinder | |
| 387 | - (StateReindex.vector angleShuffle (fun _ => D.directions.angular)) = _ | |
| 388 | - rw [ht] | |
| 389 | - rfl | |
| 390 | - · change StateReindex.vector associatedCylinder | |
| 391 | - (StateReindex.vector angleShuffle (D.directions.axialField | |
| 392 | - (CorrectionStep.ParticularParameters.nativeStrip s) n)) = _ | |
| 393 | - rw [hz] | |
| 394 | - change StateReindex.vector associatedCylinder | |
| 395 | - (fun y => ((HarmonicResidual.contextFrame D.context n).axial y.1, 0)) = _ | |
| 396 | - rw [hframe] | |
| 397 | - rfl | |
| 398 | - | |
| 399 | 107 | /-! ## One fixed Cartesian reference label -/ |
| 400 | 108 | |
| 401 | 109 | section Physical |
| @@ -412,93 +120,10 @@ variable (D : AssemblyData Parameter) (s : WeightedClasses.StripData Associated) | ||
| 412 | 120 | {N : ℕ} {α κ : ℝ} (C : D.controls N α κ) |
| 413 | 121 | (hstrip : D.strip = CorrectionStep.ParticularParameters.nativeStrip s) |
| 414 | 122 | |
| 415 | -include H hn hr T C hstrip in | |
| 416 | -theorem block_velocity_physical | |
| 417 | - (Href : ReferenceChart D h (ChartScales.Q D.reference.band) (i + gap n)) | |
| 418 | - {U : Set Parameter} (hU : IsOpen U) (R : ∀ j ∈ modes N, ReferenceODE D j U) | |
| 419 | - {z : SpaceTime} | |
| 420 | - (hz : z ∈ (PhysicalResidualBridge.commonGraph (ChartScales.Q n) h i).source | |
| 421 | - (bandDomain D h (ChartScales.Q n) (ChartScales.Q D.reference.band) (gap n) U)) | |
| 422 | - {delta : ℝ} (hdelta : 0 < delta) (chart : PolarCharts.Index) | |
| 423 | - (hchart : z ∈ PhysicalCurlCovariance.validCylindrical delta chart) (k : Fin 3) : | |
| 424 | - (block D s h gap N).oscillation n | |
| 425 | - (associatedCylinder ((PhysicalResidualBridge.commonGraph (ChartScales.Q n) h i).map z)) k = | |
| 426 | - (ChartScales.Q n) ^ CoordinateAlgebra.A h * CylindricalResidual.frame (-(z.2 1)) | |
| 427 | - (labelVelocity D h (ChartScales.Q D.reference.band) (i + gap n) delta N | |
| 428 | - (z.1, CylindricalResidual.chart z.2)) k := by | |
| 429 | - by_cases hN : N = 0 | |
| 430 | - · subst N | |
| 431 | - simp [block, CorrectionStep.ParticularParameters.updateBlock, assembledBlock_value, | |
| 432 | - modes, labelVelocity, labelPotential, SpatialCurl.spatialCurl, | |
| 433 | - SpatialCurl.curl, CylindricalResidual.frame] | |
| 434 | - have hm : ∃ j, j ∈ modes N := by | |
| 435 | - refine ⟨1, ?_⟩ | |
| 436 | - simp only [modes, Finset.mem_erase, ne_eq, one_ne_zero, not_false_eq_true, | |
| 437 | - Finset.mem_Icc, true_and] | |
| 438 | - constructor <;> omega | |
| 439 | - obtain ⟨j, hj⟩ := hm | |
| 440 | - rw [block_velocity_eq_band D s h gap n i H hn hr T | |
| 441 | - (fun j hj => hstrip ▸ (C j hj).background) | |
| 442 | - (fun j hj => (C j hj).harmonic_ne) (C j hj).frequency_ne hz.2.1 k] | |
| 443 | - exact label_physical_velocity D (ChartScales.Q_pos n) (ChartScales.Q_pos D.reference.band) | |
| 444 | - i (gap n) Href C (fun j => (j : ℝ) * D.carrierBlock.frequency n) | |
| 445 | - (fun j hj => mul_ne_zero (by exact_mod_cast (C j hj).harmonic_ne) ((C j hj).frequency_ne n)) | |
| 446 | - hU R hz hdelta chart hchart k | |
| 447 | - | |
| 448 | -include H hn hr C in | |
| 449 | -theorem block_pressure_physical | |
| 450 | - {U : Set Parameter} (R : ∀ j ∈ modes N, ReferenceODE D j U) | |
| 451 | - {z : SpaceTime} (hz : 0 < z.2 0) | |
| 452 | - (hp : parameterChange h (ChartScales.Q n) (ChartScales.Q D.reference.band) | |
| 453 | - (nativeMap h (ChartScales.Q n) i z).1.1 ∈ U) | |
| 454 | - {delta : ℝ} (hdelta : 0 < delta) (chart : PolarCharts.Index) | |
| 455 | - (hchart : z ∈ PhysicalCurlCovariance.validCylindrical delta chart) : | |
| 456 | - (block D s h gap N).oscillatoryPressure n | |
| 457 | - (associatedCylinder ((PhysicalResidualBridge.commonGraph (ChartScales.Q n) h i).map z)) = | |
| 458 | - (ChartScales.Q n) ^ (2 * CoordinateAlgebra.A h) * | |
| 459 | - labelPressure D h (ChartScales.Q D.reference.band) (i + gap n) delta N | |
| 460 | - (z.1, CylindricalResidual.chart z.2) := by | |
| 461 | - by_cases hN : N = 0 | |
| 462 | - · subst N | |
| 463 | - simp [block, CorrectionStep.ParticularParameters.updateBlock, assembledBlock_pressure_value, | |
| 464 | - modes, labelPressure] | |
| 465 | - have hm : ∃ j, j ∈ modes N := by | |
| 466 | - refine ⟨1, ?_⟩ | |
| 467 | - simp only [modes, Finset.mem_erase, ne_eq, one_ne_zero, not_false_eq_true, | |
| 468 | - Finset.mem_Icc, true_and] | |
| 469 | - constructor <;> omega | |
| 470 | - obtain ⟨j, hj⟩ := hm | |
| 471 | - rw [block_pressure_eq_band D s h gap n i H hn hr | |
| 472 | - (fun j hj => (C j hj).harmonic_ne) (C j hj).frequency_ne | |
| 473 | - (mul_pos (Real.rpow_pos_of_pos (ChartScales.Q_pos n) _) hz)] | |
| 474 | - exact label_physical_pressure D h (ChartScales.Q_pos n) (ChartScales.Q_pos D.reference.band) | |
| 475 | - i (gap n) (fun j => (j : ℝ) * D.carrierBlock.frequency n) | |
| 476 | - (fun j hj => mul_ne_zero (by exact_mod_cast (C j hj).harmonic_ne) ((C j hj).frequency_ne n)) | |
| 477 | - (fun j hj => mul_ne_zero (by exact_mod_cast (C j hj).harmonic_ne) ((C j hj).frequency_ne D.reference.band)) | |
| 478 | - R hz hp hdelta chart hchart | |
| 479 | - | |
| 480 | 123 | end Physical |
| 481 | 124 | |
| 482 | 125 | /-! ## The cycle's actual coordinate layout -/ |
| 483 | 126 | |
| 484 | -noncomputable def cycleBlock (D : AssemblyData Parameter) (s : WeightedClasses.StripData Associated) | |
| 485 | - (h : ℝ) (gap : ℕ → ℕ) (N : ℕ) : HarmonicBlock CorrectionStep.CyclePoint := | |
| 486 | - StateReindex.block CorrectionStep.cycleAssoc (block D s h gap N) | |
| 487 | - | |
| 488 | -theorem cycleBlock_velocity (D : AssemblyData Parameter) (s : WeightedClasses.StripData Associated) | |
| 489 | - (h : ℝ) (gap : ℕ → ℕ) (N n : ℕ) (x : Cylinder) : | |
| 490 | - (cycleBlock D s h gap N).oscillation n (PhysicalResidualTZ.swapCylinder x) = | |
| 491 | - (block D s h gap N).oscillation n (associatedCylinder x) := by | |
| 492 | - rw [cycleBlock, StateReindex.block_oscillation] | |
| 493 | - rfl | |
| 494 | - | |
| 495 | -theorem cycleBlock_pressure (D : AssemblyData Parameter) (s : WeightedClasses.StripData Associated) | |
| 496 | - (h : ℝ) (gap : ℕ → ℕ) (N n : ℕ) (x : Cylinder) : | |
| 497 | - (cycleBlock D s h gap N).oscillatoryPressure n (PhysicalResidualTZ.swapCylinder x) = | |
| 498 | - (block D s h gap N).oscillatoryPressure n (associatedCylinder x) := by | |
| 499 | - rw [cycleBlock, StateReindex.block_pressure] | |
| 500 | - rfl | |
| 501 | - | |
| 502 | 127 | section CyclePhysical |
| 503 | 128 | |
| 504 | 129 | open ProblemStatement PhysicalParticularWave CyclePhysicalPrefixes |
| @@ -517,76 +142,6 @@ variable (D : AssemblyData Parameter) (s : WeightedClasses.StripData Associated) | ||
| 517 | 142 | {U : Set Parameter} (hU : IsOpen U) (R : ∀ j ∈ modes N, ReferenceODE D j U) |
| 518 | 143 | {delta : ℝ} (hdelta : 0 < delta) (chart : PolarCharts.Index) |
| 519 | 144 | |
| 520 | -include H hn hr T C hstrip hcover Href hU R hdelta in | |
| 521 | -/-- The exact cycle block is the cylindrical view of one fixed reference | |
| 522 | -curl. The covering index enters only through `i + gap n = I`. -/ | |
| 523 | -theorem cycle_velocity_cylindrical {z : SpaceTime} | |
| 524 | - (hz : z ∈ (PhysicalResidualBridge.commonGraph (ChartScales.Q n) h i).source | |
| 525 | - (bandDomain D h (ChartScales.Q n) (ChartScales.Q D.reference.band) (gap n) U)) | |
| 526 | - (hchart : z ∈ PhysicalCurlCovariance.validCylindrical delta chart) : | |
| 527 | - velocityMap (PhysicalResidualBridge.commonGraph (ChartScales.Q n) h i) | |
| 528 | - ((cycleBlock D s h gap N).oscillation n) z = | |
| 529 | - CylindricalResidual.frame (-(z.2 1)) | |
| 530 | - (labelVelocity D h (ChartScales.Q D.reference.band) I delta N | |
| 531 | - (z.1, CylindricalResidual.chart z.2)) := by | |
| 532 | - have Href' : ReferenceChart D h (ChartScales.Q D.reference.band) (i + gap n) := hcover.symm ▸ Href | |
| 533 | - ext k | |
| 534 | - change (PhysicalResidualBridge.commonGraph (ChartScales.Q n) h i).velocity | |
| 535 | - (fun x => (cycleBlock D s h gap N).oscillation n (PhysicalResidualTZ.swapCylinder x)) z k = _ | |
| 536 | - rw [PhysicalResidualBridge.ScaledGraph.velocity_apply, cycleBlock_velocity, | |
| 537 | - block_velocity_physical D s h gap n i H hn hr T C hstrip Href' hU R hz hdelta chart hchart k, | |
| 538 | - hcover] | |
| 539 | - change (ChartScales.Q n) ^ (-CoordinateAlgebra.A h) * | |
| 540 | - ((ChartScales.Q n) ^ CoordinateAlgebra.A h * _) = _ | |
| 541 | - rw [← mul_assoc, ← Real.rpow_add (ChartScales.Q_pos n)] | |
| 542 | - simp | |
| 543 | - | |
| 544 | -include H hn hr T C hstrip hcover Href hU R hdelta in | |
| 545 | -/-- Cartesian realization of the literal stored finite harmonic block, | |
| 546 | -using the same physical potential for every compatible covering. -/ | |
| 547 | -theorem cycle_velocity_realization {z : SpaceTime} | |
| 548 | - (hz : z ∈ (PhysicalResidualBridge.commonGraph (ChartScales.Q n) h i).source | |
| 549 | - (bandDomain D h (ChartScales.Q n) (ChartScales.Q D.reference.band) (gap n) U)) | |
| 550 | - (hchart : z ∈ PhysicalCurlCovariance.validCylindrical delta chart) : | |
| 551 | - polarVelocityMap delta chart | |
| 552 | - (velocityMap (PhysicalResidualBridge.commonGraph (ChartScales.Q n) h i) | |
| 553 | - ((cycleBlock D s h gap N).oscillation n)) (z.1, CylindricalResidual.chart z.2) = | |
| 554 | - SpatialCurl.spatialCurl (labelPotential D h (ChartScales.Q D.reference.band) I delta N) | |
| 555 | - (z.1, CylindricalResidual.chart z.2) := by | |
| 556 | - change CylindricalResidual.frame | |
| 557 | - (PhysicalCurlCovariance.polarInput delta chart (z.1, CylindricalResidual.chart z.2)).2 | |
| 558 | - (velocityMap _ ((cycleBlock D s h gap N).oscillation n) | |
| 559 | - (PhysicalCurlCovariance.polarCoordinates delta chart (z.1, CylindricalResidual.chart z.2))) = _ | |
| 560 | - rw [PhysicalCurlCovariance.polarInput_forward hdelta chart hchart, | |
| 561 | - PhysicalCurlCovariance.polarCoordinates_forward hdelta chart hchart, | |
| 562 | - cycle_velocity_cylindrical D s h gap n i H hn hr T C hstrip hcover Href hU R hdelta chart hz hchart, | |
| 563 | - CylindricalResidual.frame_inverse'] | |
| 564 | - rfl | |
| 565 | - | |
| 566 | -include H hn hr C hcover R hdelta in | |
| 567 | -theorem cycle_pressure_realization {z : SpaceTime} (hz : 0 < z.2 0) | |
| 568 | - (hp : parameterChange h (ChartScales.Q n) (ChartScales.Q D.reference.band) | |
| 569 | - (nativeMap h (ChartScales.Q n) i z).1.1 ∈ U) | |
| 570 | - (hchart : z ∈ PhysicalCurlCovariance.validCylindrical delta chart) : | |
| 571 | - polarPressureMap delta chart | |
| 572 | - (pressureMap (PhysicalResidualBridge.commonGraph (ChartScales.Q n) h i) | |
| 573 | - ((cycleBlock D s h gap N).oscillatoryPressure n)) (z.1, CylindricalResidual.chart z.2) = | |
| 574 | - labelPressure D h (ChartScales.Q D.reference.band) I delta N | |
| 575 | - (z.1, CylindricalResidual.chart z.2) := by | |
| 576 | - change pressureMap _ ((cycleBlock D s h gap N).oscillatoryPressure n) | |
| 577 | - (PhysicalCurlCovariance.polarCoordinates delta chart (z.1, CylindricalResidual.chart z.2)) = _ | |
| 578 | - rw [PhysicalCurlCovariance.polarCoordinates_forward hdelta chart hchart] | |
| 579 | - change ((ChartScales.Q n) ^ (-CoordinateAlgebra.A h)) ^ 2 * | |
| 580 | - (cycleBlock D s h gap N).oscillatoryPressure n | |
| 581 | - (PhysicalResidualTZ.swapCylinder ((PhysicalResidualBridge.commonGraph (ChartScales.Q n) h i).map z)) = _ | |
| 582 | - rw [cycleBlock_pressure, block_pressure_physical D s h gap n i H hn hr C R hz hp hdelta chart hchart, | |
| 583 | - hcover, ← mul_assoc, ← Real.rpow_mul_natCast (ChartScales.Q_pos n).le, | |
| 584 | - ← Real.rpow_add (ChartScales.Q_pos n)] | |
| 585 | - have hexp : -CoordinateAlgebra.A h * (2 : ℝ) + 2 * CoordinateAlgebra.A h = 0 := by ring | |
| 586 | - norm_num only [Nat.cast_ofNat] | |
| 587 | - rw [hexp] | |
| 588 | - simp | |
| 589 | - | |
| 590 | 145 | end CyclePhysical |
| 591 | 146 | |
| 592 | 147 | /-! ## Binding to the current cycle inputs -/ |
| @@ -604,15 +159,6 @@ structure CurrentInputs {ι : Type} (D : AssemblyData Parameter) | ||
| 604 | 159 | aliasError : D.aliasInput = StateReindex.blockCoefficients CorrectionStep.cycleAssoc.symm (v.aliasCoefficients l) |
| 605 | 160 | parameters : p.particular l = CorrectionStep.ParticularParameters.fromReference D h gap |
| 606 | 161 | |
| 607 | -theorem CurrentInputs.particularBlock {ι : Type} {D : AssemblyData Parameter} | |
| 608 | - {p : CorrectionStep.CycleParameters ι} {v : CorrectionStep.CycleCoefficients ι} | |
| 609 | - {c : Context CorrectionStep.CyclePoint} {u : State CorrectionStep.CyclePoint} | |
| 610 | - {l : ι} {h : ℝ} {gap : ℕ → ℕ} (J : CurrentInputs D p v c u l h gap) : | |
| 611 | - p.particularBlock v c u l = cycleBlock D | |
| 612 | - (reindexStrip CorrectionStep.cycleAssoc.symm p.strip) h gap v.residualBand := by | |
| 613 | - unfold CorrectionStep.CycleParameters.particularBlock cycleBlock block | |
| 614 | - rw [J.parameters, J.context, J.state, J.carrier, J.gaussian, J.aliasError] | |
| 615 | - | |
| 616 | 162 | /-! ## Full-variable transport of the curl correction -/ |
| 617 | 163 | |
| 618 | 164 | section FullVariable |
| @@ -644,78 +190,12 @@ variable {Γ : E → F} {r : E → ℝ} {R : F → ℝ} | ||
| 644 | 190 | |
| 645 | 191 | include G hK hb hKL hΦ hx hB |
| 646 | 192 | |
| 647 | -/-- The complete differentiated coefficient has the velocity scale. This | |
| 648 | -uses actual Fréchet derivatives, not an assumed curl-output covariance. -/ | |
| 649 | -theorem realizedCoefficient_scaled : | |
| 650 | - realizedCoefficient K r Sr Sθ Sz (fun y => b * Φ (Γ y)) (fun y => c • a (Γ y)) x = | |
| 651 | - c • realizedCoefficient L R Vr Vθ Vz Φ a (Γ x) := by | |
| 652 | - have hc : coefficient r Sr Sθ Sz (fun y => b * Φ (Γ y)) (fun y => c • a (Γ y)) =ᶠ[𝓝 x] | |
| 653 | - (fun y => ((c / (b * l) : ℝ) : ℂ) • coefficient R Vr Vθ Vz Φ a (Γ y)) := by | |
| 654 | - filter_upwards [G.isOpen.mem_nhds hx] with y hy | |
| 655 | - have hn := PhysicalCurlCovariance.phaseNormal_pull G.scale_ne (G.radius_ne y hy) | |
| 656 | - (G.differentiable y hy) (G.radial y hy) (G.angular y hy) (G.axial y hy) | |
| 657 | - (G.radius y hy) (hΦ y hy) b | |
| 658 | - simp only [coefficient, hn, | |
| 659 | - PhysicalCurlCovariance.normalCoefficient_scale _ _ (mul_ne_zero hb G.scale_ne) c] | |
| 660 | - ext k | |
| 661 | - simp only [Pi.smul_apply, Complex.real_smul, smul_eq_mul] | |
| 662 | - have hc' := (ParticularWaveAssembly.curl_germ hc r Sr Sθ Sz).eq_of_nhds | |
| 663 | - have hcurl := PhysicalCurlCovariance.cylindricalCurl_pull G.scale_ne (G.radius_ne x hx) | |
| 664 | - (G.differentiable x hx) (G.radial x hx) (G.angular x hx) (G.axial x hx) | |
| 665 | - (G.radius x hx) hB (((c / (b * l) : ℝ) : ℂ)) | |
| 666 | - have hs : inverseCarrier K * ((c / (b * l) : ℝ) : ℂ) * (l : ℂ) = | |
| 667 | - (c : ℂ) * inverseCarrier L := by | |
| 668 | - rw [← hKL] | |
| 669 | - unfold inverseCarrier | |
| 670 | - push_cast | |
| 671 | - field_simp [Complex.ofReal_ne_zero.mpr hK, Complex.ofReal_ne_zero.mpr hb, | |
| 672 | - Complex.ofReal_ne_zero.mpr G.scale_ne] | |
| 673 | - simp only [realizedCoefficient, curlRemainder_eq, hc', hcurl] | |
| 674 | - ext k | |
| 675 | - simp only [Pi.add_apply, Pi.smul_apply, Complex.real_smul, smul_eq_mul] | |
| 676 | - rw [← mul_assoc (inverseCarrier K), ← mul_assoc (inverseCarrier K), hs] | |
| 677 | - ring | |
| 678 | - | |
| 679 | -/-- Full lifted corrected-mode covariance, before evaluation on any | |
| 680 | -physical graph. The integer-carrier matching is `K * b = L`. -/ | |
| 681 | -theorem correctedMode_scaled : | |
| 682 | - vectorMode K (fun y => b * Φ (Γ y)) | |
| 683 | - (realizedCoefficient K r Sr Sθ Sz (fun y => b * Φ (Γ y)) (fun y => c • a (Γ y))) x = | |
| 684 | - c • vectorMode L Φ (realizedCoefficient L R Vr Vθ Vz Φ a) (Γ x) := by | |
| 685 | - have ha := realizedCoefficient_scaled G c hK hb hKL hΦ hx hB | |
| 686 | - have hc : carrier K (fun y => b * Φ (Γ y)) x = carrier L Φ (Γ x) := | |
| 687 | - PhysicalCurlCovariance.carrier_eq_of_products (by rw [← mul_assoc, hKL]) | |
| 688 | - ext k | |
| 689 | - simp only [vectorMode, mode, ha, hc, Pi.smul_apply, Complex.real_smul] | |
| 690 | - ring | |
| 691 | - | |
| 692 | 193 | end FullVariable |
| 693 | 194 | |
| 694 | 195 | namespace SpatialScaling |
| 695 | 196 | |
| 696 | 197 | open PhysicalParticularWave |
| 697 | 198 | |
| 698 | -theorem commonChart {Q Qr : ℝ} (hQ : 0 < Q) (hQr : 0 < Qr) (h : ℝ) (i gap : ℕ) | |
| 699 | - {U : Set Cylinder} (hU : IsOpen U) (hpos : ∀ x ∈ U, 0 < x.1.1) : | |
| 700 | - SpatialScaling (cylinderChange h Q Qr gap) PhysicalResidualBridge.ScaledGraph.radius | |
| 701 | - PhysicalResidualBridge.ScaledGraph.radius | |
| 702 | - (PhysicalResidualBridge.commonGraph Q h i).radial PhysicalResidualBridge.ScaledGraph.angular | |
| 703 | - (PhysicalResidualBridge.commonGraph Q h i).axial | |
| 704 | - (PhysicalResidualBridge.commonGraph Qr h (i + gap)).radial PhysicalResidualBridge.ScaledGraph.angular | |
| 705 | - (PhysicalResidualBridge.commonGraph Qr h (i + gap)).axial | |
| 706 | - (ratioPower Q Qr (1/2)) U where | |
| 707 | - isOpen := hU | |
| 708 | - scale_ne := (ratioPower_pos hQ hQr (1/2)).ne' | |
| 709 | - radius_ne x hx := (hpos x hx).ne' | |
| 710 | - differentiable _ _ := (cylinderChange h Q Qr gap).differentiableAt | |
| 711 | - radial x hx := by | |
| 712 | - simpa only [ContinuousLinearMap.fderiv] using cylinderChange_radial hQ hQr h i gap (hpos x hx) | |
| 713 | - angular x _ := by | |
| 714 | - simpa only [ContinuousLinearMap.fderiv] using cylinderChange_angular h Q Qr gap x | |
| 715 | - axial x _ := by | |
| 716 | - simpa only [ContinuousLinearMap.fderiv] using cylinderChange_axial hQ hQr h i gap x | |
| 717 | - radius _ _ := rfl | |
| 718 | - | |
| 719 | 199 | end SpatialScaling |
| 720 | 200 | |
| 721 | 201 | section LiftedReference |
| @@ -727,78 +207,6 @@ variable (D : AssemblyData Parameter) {h Qr : ℝ} {I : ℕ} | ||
| 727 | 207 | (C : LocalControl D.reference D.charts D.context D.state D.carrierBlock |
| 728 | 208 | D.gaussianInput D.aliasInput j D.background D.copy D.strip D.directions α κ) |
| 729 | 209 | |
| 730 | -include H C in | |
| 731 | -theorem liftCoefficient_smooth : | |
| 732 | - ContDiffOn ℝ ∞ (coefficient PhysicalResidualBridge.ScaledGraph.radius | |
| 733 | - (PhysicalResidualBridge.commonGraph Qr h I).radial PhysicalResidualBridge.ScaledGraph.angular | |
| 734 | - (PhysicalResidualBridge.commonGraph Qr h I).axial (liftPhase D j) (liftRaw D j)) (referenceDomain D) := by | |
| 735 | - have hs : ContDiffOn ℝ ∞ | |
| 736 | - (coefficient (D.background.radius D.reference.band) (D.directions.radialField D.reference.band) | |
| 737 | - (fun _ => D.directions.angular) (D.directions.axialField D.strip D.reference.band) | |
| 738 | - ((rawCommon D j).phase D.reference.band) ((rawCommon D j).amplitude D.reference.band)) D.strip.domain := | |
| 739 | - normalCoefficient_contDiffOn | |
| 740 | - (phaseNormal_contDiffOn (C.background.cylindrical D.reference.band) | |
| 741 | - (C.background.phase_smooth D.reference.band)) | |
| 742 | - (commonRaw_smooth D C D.reference.band) (C.normal_nonzero D.reference.band) | |
| 743 | - have he : coefficient PhysicalResidualBridge.ScaledGraph.radius | |
| 744 | - (PhysicalResidualBridge.commonGraph Qr h I).radial PhysicalResidualBridge.ScaledGraph.angular | |
| 745 | - (PhysicalResidualBridge.commonGraph Qr h I).axial (liftPhase D j) (liftRaw D j) = | |
| 746 | - fun x => coefficient (D.background.radius D.reference.band) (D.directions.radialField D.reference.band) | |
| 747 | - (fun _ => D.directions.angular) (D.directions.axialField D.strip D.reference.band) | |
| 748 | - ((rawCommon D j).phase D.reference.band) ((rawCommon D j).amplitude D.reference.band) (waveEquiv x) := by | |
| 749 | - have hn := normal_pull waveEquiv (D.background.radius D.reference.band) | |
| 750 | - ((rawCommon D j).phase D.reference.band) (D.directions.radialField D.reference.band) | |
| 751 | - (fun _ => D.directions.angular) (D.directions.axialField D.strip D.reference.band) | |
| 752 | - have hR : (fun x => D.background.radius D.reference.band (waveEquiv x)) = | |
| 753 | - PhysicalResidualBridge.ScaledGraph.radius := H.radius | |
| 754 | - have hr : StateReindex.vector waveEquiv (D.directions.radialField D.reference.band) = | |
| 755 | - (PhysicalResidualBridge.commonGraph Qr h I).radial := H.radial | |
| 756 | - have ht : StateReindex.vector waveEquiv (fun _ => D.directions.angular) = | |
| 757 | - PhysicalResidualBridge.ScaledGraph.angular := H.angular | |
| 758 | - have hz : StateReindex.vector waveEquiv (D.directions.axialField D.strip D.reference.band) = | |
| 759 | - (PhysicalResidualBridge.commonGraph Qr h I).axial := H.axial | |
| 760 | - rw [hR, hr, ht, hz] at hn | |
| 761 | - funext x | |
| 762 | - simp only [coefficient, liftRaw, referenceRaw_eq_common D H.identity] | |
| 763 | - exact congrArg₂ normalCoefficient (congrFun hn x) rfl | |
| 764 | - rw [he] | |
| 765 | - exact hs.comp waveEquiv.contDiff.contDiffOn (fun _ hx => hx) | |
| 766 | - | |
| 767 | -/-- The same reference corrected wave as a function of all free lifted | |
| 768 | -variables. No graph evaluation occurs in this definition. -/ | |
| 769 | -noncomputable def referenceLiftVelocity (D : AssemblyData Parameter) (h Qr : ℝ) (I : ℕ) (j : ℤ) : | |
| 770 | - Cylinder → ComplexVector := | |
| 771 | - vectorMode (referenceFrequency D j) (liftPhase D j) | |
| 772 | - (realizedCoefficient (referenceFrequency D j) PhysicalResidualBridge.ScaledGraph.radius | |
| 773 | - (PhysicalResidualBridge.commonGraph Qr h I).radial PhysicalResidualBridge.ScaledGraph.angular | |
| 774 | - (PhysicalResidualBridge.commonGraph Qr h I).axial (liftPhase D j) (liftRaw D j)) | |
| 775 | - | |
| 776 | -include H in | |
| 777 | -theorem referenceLiftVelocity_eq_wave : | |
| 778 | - referenceLiftVelocity D h Qr I j = fun x => | |
| 779 | - vectorMode ((D.wave j).frequency D.reference.band) ((D.wave j).phase D.reference.band) | |
| 780 | - ((D.wave j).amplitude D.reference.band) (waveEquiv x) := by | |
| 781 | - have he := realizedCoefficient_pull waveEquiv (referenceFrequency D j) | |
| 782 | - (D.background.radius D.reference.band) ((rawCommon D j).phase D.reference.band) | |
| 783 | - (D.directions.radialField D.reference.band) (fun _ => D.directions.angular) | |
| 784 | - (D.directions.axialField D.strip D.reference.band) ((rawCommon D j).amplitude D.reference.band) | |
| 785 | - have hR : (fun x => D.background.radius D.reference.band (waveEquiv x)) = | |
| 786 | - PhysicalResidualBridge.ScaledGraph.radius := H.radius | |
| 787 | - have hr : StateReindex.vector waveEquiv (D.directions.radialField D.reference.band) = | |
| 788 | - (PhysicalResidualBridge.commonGraph Qr h I).radial := H.radial | |
| 789 | - have ht : StateReindex.vector waveEquiv (fun _ => D.directions.angular) = | |
| 790 | - PhysicalResidualBridge.ScaledGraph.angular := H.angular | |
| 791 | - have hz : StateReindex.vector waveEquiv (D.directions.axialField D.strip D.reference.band) = | |
| 792 | - (PhysicalResidualBridge.commonGraph Qr h I).axial := H.axial | |
| 793 | - rw [hR, hr, ht, hz] at he | |
| 794 | - funext x | |
| 795 | - have ha : liftRaw D j = fun y => (rawCommon D j).amplitude D.reference.band (waveEquiv y) := by | |
| 796 | - unfold liftRaw | |
| 797 | - rw [referenceRaw_eq_common D H.identity] | |
| 798 | - simp only [referenceLiftVelocity, ha] | |
| 799 | - rw [show liftPhase D j = (fun y => (rawCommon D j).phase D.reference.band (waveEquiv y)) from rfl, he] | |
| 800 | - rfl | |
| 801 | - | |
| 802 | 210 | end LiftedReference |
| 803 | 211 | |
| 804 | 212 | section FullBand |
| @@ -811,75 +219,8 @@ variable (D : AssemblyData Parameter) {h Q Qr : ℝ} (hQ : 0 < Q) (hQr : 0 < Qr) | ||
| 811 | 219 | D.gaussianInput D.aliasInput j D.background D.copy D.strip D.directions α κ) |
| 812 | 220 | {K : ℝ} (hK : K ≠ 0) {U : Set Parameter} (hU : IsOpen U) (R : ReferenceODE D j U) |
| 813 | 221 | |
| 814 | -include H C hK hU R in | |
| 815 | -/-- Exact covariance of the actual curl-corrected transported solve on | |
| 816 | -the full positive lift. This is stronger than equality on a graph. -/ | |
| 817 | -theorem bandVelocity_eq_reference {x : Cylinder} (hx : x ∈ bandDomain D h Q Qr gap U) : | |
| 818 | - bandVelocity D h hQ hQr i gap K j x = | |
| 819 | - velocityWeight h Q Qr • referenceLiftVelocity D h Qr (i + gap) j (cylinderChange h Q Qr gap x) := by | |
| 820 | - have hKr : referenceFrequency D j ≠ 0 := C.frequency_nonzero D.reference.band | |
| 821 | - have hraw : bandRaw D h hQ hQr gap K j =ᶠ[𝓝 x] | |
| 822 | - (fun y => velocityWeight h Q Qr • liftRaw D j (cylinderChange h Q Qr gap y)) := by | |
| 823 | - filter_upwards [(bandDomain_open D h Q Qr gap hU).mem_nhds hx] with y hy | |
| 824 | - exact bandRaw_eq_lift D h hQ hQr gap hK j hKr R y hy.2.2 | |
| 825 | - have ha := (ParticularWaveAssembly.realizedCoefficient_germ hraw K | |
| 826 | - PhysicalResidualBridge.ScaledGraph.radius (PhysicalResidualBridge.commonGraph Q h i).radial | |
| 827 | - PhysicalResidualBridge.ScaledGraph.angular (PhysicalResidualBridge.commonGraph Q h i).axial | |
| 828 | - (bandPhase D h Q Qr gap K j)).eq_of_nhds | |
| 829 | - have he := correctedMode_scaled | |
| 830 | - (SpatialScaling.commonChart hQ hQr h i gap (bandDomain_open D h Q Qr gap hU) (fun _ hy => hy.1)) | |
| 831 | - (velocityWeight h Q Qr) hK (div_ne_zero hKr hK) | |
| 832 | - (show K * (referenceFrequency D j / K) = referenceFrequency D j by field_simp) | |
| 833 | - (fun y hy => ((liftPhase_smooth D C).contDiffAt ((referenceDomain_open D).mem_nhds hy.2.1)).differentiableAt (by simp)) | |
| 834 | - hx (fun k => ((contDiffOn_pi.mp (liftCoefficient_smooth D H C) k).contDiffAt | |
| 835 | - ((referenceDomain_open D).mem_nhds hx.2.1)).differentiableAt (by simp)) | |
| 836 | - change vectorMode K (bandPhase D h Q Qr gap K j) _ x = _ | |
| 837 | - have hv := congrArg (fun v : ComplexVector => | |
| 838 | - fun k => v k * carrier K (bandPhase D h Q Qr gap K j) x) ha | |
| 839 | - exact hv.trans he | |
| 840 | - | |
| 841 | 222 | end FullBand |
| 842 | 223 | |
| 843 | -noncomputable def referenceLiftPressure (D : AssemblyData Parameter) (j : ℤ) : Cylinder → ℂ := | |
| 844 | - mode (PhysicalParticularWave.referenceFrequency D j) (PhysicalParticularWave.liftPhase D j) | |
| 845 | - (fun x => PhysicalParticularWave.referenceRawPressure D j (PhysicalParticularWave.waveEquiv x)) | |
| 846 | - | |
| 847 | -theorem bandPressureMode_eq_reference (D : AssemblyData Parameter) (h : ℝ) {Q Qr : ℝ} | |
| 848 | - (hQ : 0 < Q) (hQr : 0 < Qr) (gap : ℕ) {K : ℝ} (hK : K ≠ 0) (j : ℤ) | |
| 849 | - (hKr : PhysicalParticularWave.referenceFrequency D j ≠ 0) | |
| 850 | - {U : Set Parameter} (R : PhysicalParticularWave.ReferenceODE D j U) (x : Cylinder) | |
| 851 | - (hx : PhysicalParticularWave.parameterChange h Q Qr (PhysicalParticularWave.waveEquiv x).1.1 ∈ U) : | |
| 852 | - PhysicalParticularWave.bandPressureMode D h hQ hQr gap K j x = | |
| 853 | - PhysicalParticularWave.pressureWeight h Q Qr * | |
| 854 | - referenceLiftPressure D j (PhysicalParticularWave.cylinderChange h Q Qr gap x) := by | |
| 855 | - have hp := PhysicalParticularWave.bandRawPressure_eq_lift D h hQ hQr gap hK j hKr R x hx | |
| 856 | - have hc : carrier K (PhysicalParticularWave.bandPhase D h Q Qr gap K j) x = | |
| 857 | - carrier (PhysicalParticularWave.referenceFrequency D j) (PhysicalParticularWave.liftPhase D j) | |
| 858 | - (PhysicalParticularWave.cylinderChange h Q Qr gap x) := | |
| 859 | - PhysicalCurlCovariance.carrier_eq_of_products (by | |
| 860 | - unfold PhysicalParticularWave.bandPhase | |
| 861 | - field_simp) | |
| 862 | - unfold PhysicalParticularWave.bandPressureMode referenceLiftPressure mode | |
| 863 | - rw [hp, hc] | |
| 864 | - simp only [Complex.real_smul] | |
| 865 | - ring | |
| 866 | - | |
| 867 | -theorem referenceLiftPressure_eq_wave (D : AssemblyData Parameter) | |
| 868 | - (H : PhysicalParticularWave.ReferenceIdentity D) (j : ℤ) (hj : j ≠ 0) | |
| 869 | - (hf : ∀ m, D.carrierBlock.frequency m ≠ 0) : | |
| 870 | - referenceLiftPressure D j = fun x => | |
| 871 | - mode ((D.wave j).frequency D.reference.band) ((D.wave j).phase D.reference.band) | |
| 872 | - ((D.wave j).pressure D.reference.band) (PhysicalParticularWave.waveEquiv x) := by | |
| 873 | - unfold referenceLiftPressure | |
| 874 | - rw [PhysicalParticularWave.referenceRawPressure_eq_common D H hj hf] | |
| 875 | - rfl | |
| 876 | - | |
| 877 | -theorem associatedCylinder_change (h : ℝ) {Q Qr : ℝ} (hQ : 0 < Q) (hQr : 0 < Qr) | |
| 878 | - (gap : ℕ) (x : Cylinder) : | |
| 879 | - associatedCylinder (PhysicalParticularWave.cylinderChange h Q Qr gap x) = | |
| 880 | - (PhysicalResidualNaturality.associatedChart h hQ hQr gap (associatedCylinder x).1, | |
| 881 | - (associatedCylinder x).2) := rfl | |
| 882 | - | |
| 883 | 224 | section ActualReferenceFields |
| 884 | 225 | |
| 885 | 226 | open ProblemStatement PhysicalParticularWave |
| @@ -894,85 +235,6 @@ variable (D : AssemblyData Parameter) (s : WeightedClasses.StripData Associated) | ||
| 894 | 235 | (Href : ReferenceChart D h (ChartScales.Q D.reference.band) (i + gap n)) |
| 895 | 236 | {U : Set Parameter} (hU : IsOpen U) |
| 896 | 237 | |
| 897 | -include H hn hr T Href hU in | |
| 898 | -theorem corrected_velocity_eq_reference {j : ℤ} {α κ : ℝ} | |
| 899 | - (C : LocalControl D.reference D.charts D.context D.state D.carrierBlock | |
| 900 | - D.gaussianInput D.aliasInput j D.background D.copy D.strip D.directions α κ) | |
| 901 | - (R : ReferenceODE D j U) {x : Cylinder} | |
| 902 | - (hx : x ∈ bandDomain D h (ChartScales.Q n) (ChartScales.Q D.reference.band) (gap n) U) : | |
| 903 | - vectorMode ((corrected D s h gap j).frequency n) ((corrected D s h gap j).phase n) | |
| 904 | - ((corrected D s h gap j).amplitude n) (waveEquiv x) = | |
| 905 | - velocityWeight h (ChartScales.Q n) (ChartScales.Q D.reference.band) • | |
| 906 | - vectorMode ((D.wave j).frequency D.reference.band) ((D.wave j).phase D.reference.band) | |
| 907 | - ((D.wave j).amplitude D.reference.band) | |
| 908 | - (waveEquiv (cylinderChange h (ChartScales.Q n) (ChartScales.Q D.reference.band) (gap n) x)) := by | |
| 909 | - rw [corrected_velocity_eq_band D s h gap n i H hn hr T j C.harmonic_ne C.frequency_ne hx.1, | |
| 910 | - bandVelocity_eq_reference D (ChartScales.Q_pos n) (ChartScales.Q_pos D.reference.band) | |
| 911 | - i (gap n) Href C (C.frequency_nonzero n) hU R hx, | |
| 912 | - referenceLiftVelocity_eq_wave D Href] | |
| 913 | - | |
| 914 | -include H hn hr Href in | |
| 915 | -theorem corrected_pressure_eq_reference {j : ℤ} {α κ : ℝ} | |
| 916 | - (C : LocalControl D.reference D.charts D.context D.state D.carrierBlock | |
| 917 | - D.gaussianInput D.aliasInput j D.background D.copy D.strip D.directions α κ) | |
| 918 | - (R : ReferenceODE D j U) {x : Cylinder} | |
| 919 | - (hx : x ∈ bandDomain D h (ChartScales.Q n) (ChartScales.Q D.reference.band) (gap n) U) : | |
| 920 | - mode ((corrected D s h gap j).frequency n) ((corrected D s h gap j).phase n) | |
| 921 | - ((corrected D s h gap j).pressure n) (waveEquiv x) = | |
| 922 | - pressureWeight h (ChartScales.Q n) (ChartScales.Q D.reference.band) * | |
| 923 | - mode ((D.wave j).frequency D.reference.band) ((D.wave j).phase D.reference.band) | |
| 924 | - ((D.wave j).pressure D.reference.band) | |
| 925 | - (waveEquiv (cylinderChange h (ChartScales.Q n) (ChartScales.Q D.reference.band) (gap n) x)) := by | |
| 926 | - rw [corrected_pressure_eq_band D s h gap n i H hn hr j C.harmonic_ne C.frequency_ne hx.1, | |
| 927 | - bandPressureMode_eq_reference D h (ChartScales.Q_pos n) (ChartScales.Q_pos D.reference.band) | |
| 928 | - (gap n) (C.frequency_nonzero n) j (C.frequency_nonzero D.reference.band) R x hx.2.2, | |
| 929 | - referenceLiftPressure_eq_wave D Href.identity j C.harmonic_ne C.frequency_ne] | |
| 930 | - | |
| 931 | -include H hn hr T Href hU in | |
| 932 | -/-- The entire literal target block equals the same finite reference | |
| 933 | -block, on the full radial/free-torus/angular domain. -/ | |
| 934 | -theorem block_velocity_eq_reference {N : ℕ} {α κ : ℝ} (C : D.controls N α κ) | |
| 935 | - (hstrip : D.strip = CorrectionStep.ParticularParameters.nativeStrip s) | |
| 936 | - (hf : ∀ m, D.carrierBlock.frequency m ≠ 0) | |
| 937 | - (R : ∀ j ∈ modes N, ReferenceODE D j U) {x : Cylinder} | |
| 938 | - (hx : x ∈ bandDomain D h (ChartScales.Q n) (ChartScales.Q D.reference.band) (gap n) U) | |
| 939 | - (k : Fin 3) : | |
| 940 | - (block D s h gap N).oscillation n (associatedCylinder x) k = | |
| 941 | - velocityWeight h (ChartScales.Q n) (ChartScales.Q D.reference.band) * | |
| 942 | - (D.updateBlock N).oscillation D.reference.band | |
| 943 | - (associatedCylinder (cylinderChange h (ChartScales.Q n) (ChartScales.Q D.reference.band) (gap n) x)) k := by | |
| 944 | - rw [block_velocity_represents D s h gap (fun j hj => hstrip ▸ (C j hj).background) hf] | |
| 945 | - rw [(AssemblyData.update_represents C).1] | |
| 946 | - change (∑ j ∈ modes N, _) = _ * (∑ j ∈ modes N, _) | |
| 947 | - rw [Finset.mul_sum] | |
| 948 | - apply Finset.sum_congr rfl | |
| 949 | - intro j hj | |
| 950 | - rw [angleShuffle_associatedCylinder, | |
| 951 | - corrected_velocity_eq_reference D s h gap n i H hn hr T Href hU (C j hj) (R j hj) hx, | |
| 952 | - angleShuffle_associatedCylinder] | |
| 953 | - simp only [Pi.smul_apply, Complex.real_smul, Complex.mul_re, Complex.ofReal_re, | |
| 954 | - Complex.ofReal_im, zero_mul, sub_zero] | |
| 955 | - | |
| 956 | -include H hn hr Href in | |
| 957 | -theorem block_pressure_eq_reference {N : ℕ} {α κ : ℝ} (C : D.controls N α κ) | |
| 958 | - (hf : ∀ m, D.carrierBlock.frequency m ≠ 0) | |
| 959 | - (R : ∀ j ∈ modes N, ReferenceODE D j U) {x : Cylinder} | |
| 960 | - (hx : x ∈ bandDomain D h (ChartScales.Q n) (ChartScales.Q D.reference.band) (gap n) U) : | |
| 961 | - (block D s h gap N).oscillatoryPressure n (associatedCylinder x) = | |
| 962 | - pressureWeight h (ChartScales.Q n) (ChartScales.Q D.reference.band) * | |
| 963 | - (D.updateBlock N).oscillatoryPressure D.reference.band | |
| 964 | - (associatedCylinder (cylinderChange h (ChartScales.Q n) (ChartScales.Q D.reference.band) (gap n) x)) := by | |
| 965 | - rw [block_pressure_represents D s h gap (fun j hj => (C j hj).harmonic_ne) hf] | |
| 966 | - rw [(AssemblyData.update_represents C).2] | |
| 967 | - change (∑ j ∈ modes N, _) = _ * (∑ j ∈ modes N, _) | |
| 968 | - rw [Finset.mul_sum] | |
| 969 | - apply Finset.sum_congr rfl | |
| 970 | - intro j hj | |
| 971 | - rw [angleShuffle_associatedCylinder, | |
| 972 | - corrected_pressure_eq_reference D s h gap n i H hn hr Href (C j hj) (R j hj) hx, | |
| 973 | - angleShuffle_associatedCylinder] | |
| 974 | - simp only [Complex.mul_re, Complex.ofReal_re, Complex.ofReal_im, zero_mul, sub_zero] | |
| 975 | - | |
| 976 | 238 | end ActualReferenceFields |
| 977 | 239 | |
| 978 | 240 | /-! ## Direct consumers for the current correction step -/ |
| @@ -992,59 +254,8 @@ variable {ι : Type} {D : AssemblyData Parameter} | ||
| 992 | 254 | (hr : PhysicalResidualNaturality.PositiveSupport D.carrierBlock D.gaussianInput D.aliasInput D.reference.band) |
| 993 | 255 | {α κ : ℝ} (C : D.controls v.residualBand α κ) |
| 994 | 256 | |
| 995 | -include J H hn hr C in | |
| 996 | -theorem CurrentInputs.velocity_realization | |
| 997 | - (hstrip : D.strip = CorrectionStep.ParticularParameters.nativeStrip | |
| 998 | - (reindexStrip CorrectionStep.cycleAssoc.symm p.strip)) | |
| 999 | - (hm : CorrectionStep.WaveFrameMatch D.context | |
| 1000 | - (HarmonicWaveInteraction.productStrip (reindexStrip CorrectionStep.cycleAssoc.symm p.strip)) | |
| 1001 | - (reindexDirections angleShuffle D.directions) (reindexCoefficients angleShuffle D.background)) | |
| 1002 | - {I : ℕ} (hcover : i + gap n = I) | |
| 1003 | - (Href : ReferenceChart D h (ChartScales.Q D.reference.band) I) | |
| 1004 | - {U : Set Parameter} (hU : IsOpen U) (R : ∀ j ∈ modes v.residualBand, ReferenceODE D j U) | |
| 1005 | - {delta : ℝ} (hdelta : 0 < delta) (chart : PolarCharts.Index) {z : SpaceTime} | |
| 1006 | - (hz : z ∈ (PhysicalResidualBridge.commonGraph (ChartScales.Q n) h i).source | |
| 1007 | - (bandDomain D h (ChartScales.Q n) (ChartScales.Q D.reference.band) (gap n) U)) | |
| 1008 | - (hchart : z ∈ PhysicalCurlCovariance.validCylindrical delta chart) : | |
| 1009 | - polarVelocityMap delta chart | |
| 1010 | - (velocityMap (PhysicalResidualBridge.commonGraph (ChartScales.Q n) h i) | |
| 1011 | - ((p.particularBlock v c u label).oscillation n)) (z.1, CylindricalResidual.chart z.2) = | |
| 1012 | - SpatialCurl.spatialCurl (labelPotential D h (ChartScales.Q D.reference.band) I delta v.residualBand) | |
| 1013 | - (z.1, CylindricalResidual.chart z.2) := by | |
| 1014 | - rw [J.particularBlock] | |
| 1015 | - exact cycle_velocity_realization D (reindexStrip CorrectionStep.cycleAssoc.symm p.strip) h gap n i | |
| 1016 | - H hn hr (targetChart_of_frameMatch D _ h n i hm H.targetFrame) C hstrip hcover Href hU R | |
| 1017 | - hdelta chart hz hchart | |
| 1018 | - | |
| 1019 | -include J H hn hr C in | |
| 1020 | -theorem CurrentInputs.pressure_realization | |
| 1021 | - {I : ℕ} (hcover : i + gap n = I) | |
| 1022 | - {U : Set Parameter} (R : ∀ j ∈ modes v.residualBand, ReferenceODE D j U) | |
| 1023 | - {delta : ℝ} (hdelta : 0 < delta) (chart : PolarCharts.Index) {z : SpaceTime} | |
| 1024 | - (hz : 0 < z.2 0) | |
| 1025 | - (hp : parameterChange h (ChartScales.Q n) (ChartScales.Q D.reference.band) | |
| 1026 | - (nativeMap h (ChartScales.Q n) i z).1.1 ∈ U) | |
| 1027 | - (hchart : z ∈ PhysicalCurlCovariance.validCylindrical delta chart) : | |
| 1028 | - polarPressureMap delta chart | |
| 1029 | - (pressureMap (PhysicalResidualBridge.commonGraph (ChartScales.Q n) h i) | |
| 1030 | - ((p.particularBlock v c u label).oscillatoryPressure n)) (z.1, CylindricalResidual.chart z.2) = | |
| 1031 | - labelPressure D h (ChartScales.Q D.reference.band) I delta v.residualBand | |
| 1032 | - (z.1, CylindricalResidual.chart z.2) := by | |
| 1033 | - rw [J.particularBlock] | |
| 1034 | - exact cycle_pressure_realization D (reindexStrip CorrectionStep.cycleAssoc.symm p.strip) h gap n i | |
| 1035 | - H hn hr C hcover R hdelta chart hz hp hchart | |
| 1036 | - | |
| 1037 | 257 | end CurrentCycle |
| 1038 | 258 | |
| 1039 | -/-- The Cartesian image of the actual common-chart domain and valid | |
| 1040 | -polar branch; no extension of the raw formulas beyond this set is used. -/ | |
| 1041 | -noncomputable def physicalDomain (D : AssemblyData Parameter) (h : ℝ) (n i gap : ℕ) | |
| 1042 | - (U : Set Parameter) (delta : ℝ) (chart : PolarCharts.Index) : Set ProblemStatement.SpaceTime := | |
| 1043 | - (fun z : ProblemStatement.SpaceTime => (z.1, CylindricalResidual.chart z.2)) '' | |
| 1044 | - ((PhysicalResidualBridge.commonGraph (ChartScales.Q n) h i).source | |
| 1045 | - (PhysicalParticularWave.bandDomain D h (ChartScales.Q n) (ChartScales.Q D.reference.band) gap U) ∩ | |
| 1046 | - PhysicalCurlCovariance.validCylindrical delta chart) | |
| 1047 | - | |
| 1048 | 259 | section LocalIdentity |
| 1049 | 260 | |
| 1050 | 261 | open ProblemStatement PhysicalParticularWave CyclePhysicalPrefixes |
| @@ -1063,28 +274,6 @@ variable (D : AssemblyData Parameter) (s : WeightedClasses.StripData Associated) | ||
| 1063 | 274 | {U : Set Parameter} (hU : IsOpen U) (R : ∀ j ∈ modes N, ReferenceODE D j U) |
| 1064 | 275 | {delta : ℝ} (hdelta : 0 < delta) (chart : PolarCharts.Index) |
| 1065 | 276 | |
| 1066 | -include H hn hr T C hstrip hcover Href hU R hdelta in | |
| 1067 | -theorem cycle_velocity_eqOn : | |
| 1068 | - EqOn (SpatialCurl.spatialCurl (labelPotential D h (ChartScales.Q D.reference.band) I delta N)) | |
| 1069 | - (polarVelocityMap delta chart | |
| 1070 | - (velocityMap (PhysicalResidualBridge.commonGraph (ChartScales.Q n) h i) | |
| 1071 | - ((cycleBlock D s h gap N).oscillation n))) | |
| 1072 | - (physicalDomain D h n i (gap n) U delta chart) := by | |
| 1073 | - rintro _ ⟨z, ⟨hz, hc⟩, rfl⟩ | |
| 1074 | - exact (cycle_velocity_realization D s h gap n i H hn hr T C hstrip hcover Href hU R | |
| 1075 | - hdelta chart hz hc).symm | |
| 1076 | - | |
| 1077 | -include H hn hr C hcover R hdelta in | |
| 1078 | -theorem cycle_pressure_eqOn : | |
| 1079 | - EqOn (labelPressure D h (ChartScales.Q D.reference.band) I delta N) | |
| 1080 | - (polarPressureMap delta chart | |
| 1081 | - (pressureMap (PhysicalResidualBridge.commonGraph (ChartScales.Q n) h i) | |
| 1082 | - ((cycleBlock D s h gap N).oscillatoryPressure n))) | |
| 1083 | - (physicalDomain D h n i (gap n) U delta chart) := by | |
| 1084 | - rintro _ ⟨z, ⟨hz, hc⟩, rfl⟩ | |
| 1085 | - exact (cycle_pressure_realization D s h gap n i H hn hr C hcover R hdelta chart | |
| 1086 | - hz.1 hz.2.2.2 hc).symm | |
| 1087 | - | |
| 1088 | 277 | end LocalIdentity |
| 1089 | 278 | |
| 1090 | 279 | end NavierStokes.ActualParticularRealization |
+0 −91 NavierStokes/ActualParticularStageControls.lean View file
| @@ -182,17 +182,6 @@ noncomputable def parameters (x : CycleState (Label B N0)) (l : Label B N0) : | ||
| 182 | 182 | ParticularParameters Parameter := |
| 183 | 183 | ParticularParameters.fromReference (assembly x l) h (gap l) |
| 184 | 184 | |
| 185 | -theorem parameters_source (x : CycleState (Label B N0)) (l : Label B N0) (j : ℤ) : | |
| 186 | - ((parameters x l).copyData (assembly x l).context (assembly x l).state | |
| 187 | - (assembly x l).carrierBlock (assembly x l).gaussianInput (assembly x l).aliasInput j).source = | |
| 188 | - ParticularWaveAssembly.sourceFamily (assembly x l).context (assembly x l).state | |
| 189 | - (assembly x l).carrierBlock (assembly x l).gaussianInput (assembly x l).aliasInput j := rfl | |
| 190 | - | |
| 191 | -theorem parameters_length (x : CycleState (Label B N0)) (l : Label B N0) (n : ℕ) : | |
| 192 | - (parameters x l).length n = (phases B N0 l.1).L l.2 / | |
| 193 | - PhysicalParticularWave.clockWeight h (ChartScales.Q n) | |
| 194 | - (ChartScales.Q (BaseChartJets.cellBand l.2)) := rfl | |
| 195 | - | |
| 196 | 185 | /-- Fixed primitive data for all iterations of the same labeled construction. -/ |
| 197 | 186 | noncomputable def canonicalParameters (l : Label B N0) : ParticularParameters Parameter where |
| 198 | 187 | tangent j n := ScaledTangentTransport.transportTangent ((reference l).tangent j) |
| @@ -328,8 +317,6 @@ noncomputable def signedConstruction {ι : Type} {D : Domain ι Slow} | ||
| 328 | 317 | noncomputable def jointDomain : Domain (Label B N0) Slow := |
| 329 | 318 | reindexDomain (PrimaryGeometryAssembly.domain nominal (choice B N0).prepared.N) Prod.snd |
| 330 | 319 | |
| 331 | -noncomputable def jointPhase : PhaseFamily (Label B N0) := signedPhase (phases B N0) | |
| 332 | - | |
| 333 | 320 | theorem phase_common_bounds (j : Fin 2) : |
| 334 | 321 | (phases B N0 j).r = (phases B N0 0).r ∧ |
| 335 | 322 | (phases B N0 j).b = (phases B N0 0).b ∧ |
| @@ -413,14 +400,6 @@ noncomputable def slowInsert : Parameter →L[ℝ] CyclePoint where | ||
| 413 | 400 | noncomputable def slowStrip : StripData Parameter := |
| 414 | 401 | HarmonicWaveInteraction.pullbackStrip (BaseContextAssembly.nativeStrip nominal standardRegion) slowInsert |
| 415 | 402 | |
| 416 | -theorem sourceStrip_eq : CommonCoverClass.sourceStrip slowStrip = associatedStrip := by | |
| 417 | - rfl | |
| 418 | - | |
| 419 | -theorem nativeStrip_eq : | |
| 420 | - CommonCoverClass.sourceStrip (ActualParticularControl.angleStrip slowStrip) = | |
| 421 | - ParticularParameters.nativeStrip associatedStrip := by | |
| 422 | - rfl | |
| 423 | - | |
| 424 | 403 | noncomputable def pulseEnvelope (l : Label B N0) : ℝ → ℝ := |
| 425 | 404 | PrimaryPulseBounds.referenceP ((phases B N0 l.1).lam l.2) ((phases B N0 l.1).u l.2) |
| 426 | 405 | ((phases B N0 l.1).L l.2) |
| @@ -488,12 +467,6 @@ noncomputable def selectedLength := | ||
| 488 | 467 | noncomputable def selectedPulseEnvelope := |
| 489 | 468 | ScaledActualParticularControl.envelope (selectedConstruction e) (selectedClock e) |
| 490 | 469 | |
| 491 | -theorem selected_geometry_eq (x : CycleState (Label B N0)) (n : ℕ) : | |
| 492 | - selectedGeometry e () n = (parameters x (selectedLabel e n)).geometry (selectedBand e n) := rfl | |
| 493 | - | |
| 494 | -theorem selected_length_eq (x : CycleState (Label B N0)) (n : ℕ) : | |
| 495 | - selectedLength e () n = (parameters x (selectedLabel e n)).length (selectedBand e n) := rfl | |
| 496 | - | |
| 497 | 470 | theorem selected_gap_bound (u : Unit) (n : ℕ) : |
| 498 | 471 | selectedGap e u n ≤ CommonWindow.gap h + SlotColoring.nativeGap h := |
| 499 | 472 | ActualSignedGeometry.common_native_gap outgoing.data.h_pos.le |
| @@ -578,17 +551,6 @@ theorem current_source_class (x : CycleState (Label B N0)) {α : ℝ} | ||
| 578 | 551 | rw [he] at ht |
| 579 | 552 | exact ht |
| 580 | 553 | |
| 581 | -theorem invariant_current_source_class (x : CycleState (Label B N0)) | |
| 582 | - {G : SignedMeanGain.Geometry} {primary : Label B N0 → HarmonicBlock CyclePoint} {σ : ℝ} | |
| 583 | - {labelCarrier : Label B N0 → ℕ → Set CyclePoint} | |
| 584 | - (H : CycleAnalyticInvariant G (commonContext B) primary meanEnvelope labelCarrier σ x) | |
| 585 | - (hstrip : G.strip = BaseContextAssembly.nativeStrip nominal standardRegion) | |
| 586 | - (j : ℤ) (hj : j ≠ 0) : | |
| 587 | - LabelSumBounds.UniformWaveClass (CommonCoverClass.sourceStrip (ActualParticularControl.angleStrip slowStrip)) | |
| 588 | - nativeEnvelope (1/2+σ) (currentSource x j) := by | |
| 589 | - apply current_source_class x _ j hj | |
| 590 | - simpa only [hstrip] using H.residual | |
| 591 | - | |
| 592 | 554 | theorem source_angle_reindex (s : StripData Parameter) (index : ℕ → ℕ) : |
| 593 | 555 | CommonCoverClass.sourceStrip |
| 594 | 556 | (ActualParticularControl.angleStrip |
| @@ -991,16 +953,6 @@ theorem raw_jets (x : CycleState (Label B N0)) | ||
| 991 | 953 | noncomputable def supportLabel (l : Label B N0) : ActualCarrierTransportBase.Index B N0 := |
| 992 | 954 | (l.2,l.1) |
| 993 | 955 | |
| 994 | -theorem support_geometry_eq (x : CycleState (Label B N0)) (l : Label B N0) (n : ℕ) : | |
| 995 | - ActualCarrierTransportBase.geometry (supportLabel l) n = (parameters x l).geometry n := rfl | |
| 996 | - | |
| 997 | -theorem support_length_eq (x : CycleState (Label B N0)) (l : Label B N0) (n : ℕ) : | |
| 998 | - ActualCarrierTransportBase.referenceLength (supportLabel l) / | |
| 999 | - ActualCarrierTransportBase.clock (supportLabel l) n = (parameters x l).length n := rfl | |
| 1000 | - | |
| 1001 | -theorem support_cutoff_eq (x : CycleState (Label B N0)) (l : Label B N0) (n : ℕ) : | |
| 1002 | - ActualCarrierTransportBase.cutoff (supportLabel l) n = (parameters x l).cutoff n := rfl | |
| 1003 | - | |
| 1004 | 956 | theorem copyData_ext {D I : Type} {a b : PeriodizedWaveBounds.CopyData D I} |
| 1005 | 957 | (hb : a.background = b.background) (ha : a.amplitude = b.amplitude) |
| 1006 | 958 | (hp : a.pressure = b.pressure) (hc : a.cutoff = b.cutoff) (hs : a.source = b.source) : a = b := by |
| @@ -1309,10 +1261,6 @@ theorem preserves_frequency {x : CycleState (Label B N0)} (hx : PreservesCarrier | ||
| 1309 | 1261 | (x.coefficients.blocks l).frequency n = ChartScales.carrier h n := |
| 1310 | 1262 | (congrFun (hx l).frequency n).symm |
| 1311 | 1263 | |
| 1312 | -theorem data_background_eq (x : CycleState (Label B N0)) (l : Label B N0) (j : ℤ) : | |
| 1313 | - (data x l j).background = | |
| 1314 | - ActualParticularBackground.carrier (fun l => x.coefficients.blocks l) j l := rfl | |
| 1315 | - | |
| 1316 | 1264 | theorem native_background_eq (x : CycleState (Label B N0)) (j : ℤ) : |
| 1317 | 1265 | jointRawBackground (fun l => data x l j) = |
| 1318 | 1266 | ActualParticularBackground.backgroundFamily (fun l => x.coefficients.blocks l) j := rfl |
| @@ -1384,21 +1332,6 @@ theorem common_bounds (x : CycleState (Label B N0)) (hx : PreservesCarriers x) | ||
| 1384 | 1332 | theorem meanEnvelope_eq_primary (l : Label B N0) (n : ℕ) (z : CyclePoint) : |
| 1385 | 1333 | meanEnvelope l n z = ActualPrimaryBounds.meanEnvelope l n z := rfl |
| 1386 | 1334 | |
| 1387 | -theorem nativeEnvelope_le_one (l : Label B N0) (n : ℕ) (z : Native) : | |
| 1388 | - nativeEnvelope l n z ≤ 1 := | |
| 1389 | - ActualPrimaryBounds.fullEnvelope_le_one l n (nativeToFull z) | |
| 1390 | - | |
| 1391 | -theorem native_wave_to_weighted {E : Type} [NormedAddCommGroup E] [NormedSpace ℝ E] | |
| 1392 | - {α : ℝ} {f : Label B N0 → ℕ → Native → E} | |
| 1393 | - (hf : LabelSumBounds.UniformWaveClass | |
| 1394 | - (CommonCoverClass.sourceStrip (ActualParticularControl.angleStrip slowStrip)) nativeEnvelope α f) : | |
| 1395 | - LabelSumBounds.UniformClass | |
| 1396 | - (CommonCoverClass.sourceStrip (ActualParticularControl.angleStrip slowStrip)) | |
| 1397 | - (fun _ _ z => Real.sqrt ((CommonCoverClass.sourceStrip | |
| 1398 | - (ActualParticularControl.angleStrip slowStrip)).zeta z)) α f := | |
| 1399 | - hf.mono_weight (fun _ _ _ _ => Real.sqrt_nonneg _) | |
| 1400 | - (fun l n z _ => mul_le_of_le_one_right (Real.sqrt_nonneg _) (nativeEnvelope_le_one l n z)) | |
| 1401 | - | |
| 1402 | 1335 | abbrev ResidualBounds (x : CycleState (Label B N0)) (α : ℝ) : Prop := |
| 1403 | 1336 | UniformHarmonicInteraction.UniformVelocity |
| 1404 | 1337 | (BaseContextAssembly.nativeStrip nominal standardRegion) meanEnvelope α |
| @@ -1467,28 +1400,4 @@ theorem assembled_bounds (x : CycleState (Label B N0)) | ||
| 1467 | 1400 | exact ⟨fun i j => associated_wave_return (ha i j), |
| 1468 | 1401 | fun j => associated_wave_return (hp j), fun i j => associated_wave_return (hg i j)⟩ |
| 1469 | 1402 | |
| 1470 | -/-- The quantitative inputs are precisely fields of the current analytic | |
| 1471 | -invariant. The geometric equalities identify its actual strip and carrier. -/ | |
| 1472 | -theorem invariant_assembled_bounds (x : CycleState (Label B N0)) | |
| 1473 | - {G : SignedMeanGain.Geometry} {σ : ℝ} | |
| 1474 | - (H : CycleAnalyticInvariant G (commonContext B) ActualParticularBackground.primaryBlock | |
| 1475 | - meanEnvelope (fun l => ActualCarrierTransportBase.labelCarrier (supportLabel l)) σ x) | |
| 1476 | - (hstrip : G.strip = BaseContextAssembly.nativeStrip nominal standardRegion) | |
| 1477 | - (hdomain : G.domain = ActualCarrierTransportBase.domain) | |
| 1478 | - (hN : ActualCarrierGeometry.geometricThreshold ≤ N0) : | |
| 1479 | - (∀ i j, LabelSumBounds.UniformWaveClass G.strip meanEnvelope (1/2+σ) | |
| 1480 | - (fun l n z => (outputBlock x x.coefficients.residualBand l).velocity n i j z)) ∧ | |
| 1481 | - (∀ j, LabelSumBounds.UniformWaveClass G.strip meanEnvelope (1+σ) | |
| 1482 | - (fun l n z => (outputBlock x x.coefficients.residualBand l).pressure n j z)) ∧ | |
| 1483 | - (∀ i j, LabelSumBounds.UniformWaveClass G.strip meanEnvelope (1+σ-3*ChartScales.kappa) | |
| 1484 | - (fun l n z => (outputGood x x.coefficients.residualBand l).velocity n i j z)) := by | |
| 1485 | - have hs : InputSupport x := by | |
| 1486 | - intro l | |
| 1487 | - simpa only [hdomain] using H.inputSupport l | |
| 1488 | - have hr : ResidualBounds x (1/2+σ) := by | |
| 1489 | - simpa only [hstrip] using H.residual | |
| 1490 | - have hout := assembled_bounds x H.carrier hs hN hr x.coefficients.residualBand | |
| 1491 | - have hα : (1/2:ℝ)+σ+1/2 = 1+σ := by ring | |
| 1492 | - simpa only [hstrip, hα] using hout | |
| 1493 | - | |
| 1494 | 1403 | end NavierStokes.ActualParticularStageControls |
+0 −564 NavierStokes/ActualPeriodizedSignedRealization.lean View file
| @@ -76,21 +76,6 @@ theorem gaussian_eq_native (n : ℕ) (k : Frequency) (Y : Plane) (hk : l.nativeM | ||
| 76 | 76 | l.gaussian n Y = l.nativeGaussian n k Y := |
| 77 | 77 | congrArg GaussianTailFlat.profile (l.clock_eq_native n k Y hk) |
| 78 | 78 | |
| 79 | -theorem mask_smooth (n : ℕ) : ContDiff ℝ ∞ (l.mask n) := | |
| 80 | - PeriodicPhaseAssembly.periodizeScalar_contDiff (l.geometry n) (l.cutoff_smooth n) (l.cutoff_compact n) | |
| 81 | - | |
| 82 | -theorem clock_smooth (n : ℕ) : ContDiff ℝ ∞ (l.clock n) := | |
| 83 | - (PeriodicPhaseAssembly.periodicClock_contDiff (l.geometry n) (l.window n)).div_const _ | |
| 84 | - | |
| 85 | -theorem mask_periodic (n : ℕ) (Y : Plane) (k : Frequency) : | |
| 86 | - l.mask n (Y + TorusAverages.latticePoint k) = l.mask n Y := | |
| 87 | - PeriodicPhaseAssembly.periodizeScalar_periodic (l.geometry n) (l.cutoff n) Y k | |
| 88 | - | |
| 89 | -theorem gaussian_periodic (n : ℕ) (Y : Plane) (k : Frequency) : | |
| 90 | - l.gaussian n (Y + TorusAverages.latticePoint k) = l.gaussian n Y := by | |
| 91 | - unfold gaussian clock | |
| 92 | - rw [PeriodicPhaseAssembly.periodicClock_periodic] | |
| 93 | - | |
| 94 | 79 | /-- Actual finite native support justifies the scalar/vector infinite sum. |
| 95 | 80 | The Gaussian is inserted once, on each native copy. -/ |
| 96 | 81 | theorem gaussian_mask_sum {E : Type*} [NormedAddCommGroup E] [NormedSpace ℝ E] |
| @@ -108,40 +93,6 @@ theorem gaussian_mask_sum {E : Type*} [NormedAddCommGroup E] [NormedSpace ℝ E] | ||
| 108 | 93 | _ = l.mask n Y • (l.gaussian n Y • a) := (l.mask_summable n Y).tsum_smul_const _ |
| 109 | 94 | _ = _ := smul_comm _ _ _ |
| 110 | 95 | |
| 111 | -/-- Local finiteness of the actual native cutoffs permits arbitrary | |
| 112 | -smooth slow factors; only their germs on the native support are needed. -/ | |
| 113 | -theorem maskedSum_contDiffOn {D E : Type*} [NormedAddCommGroup D] [NormedSpace ℝ D] | |
| 114 | - [NormedAddCommGroup E] [NormedSpace ℝ E] | |
| 115 | - (n : ℕ) (projection : D → Plane) (hprojection : ContDiff ℝ ∞ projection) | |
| 116 | - {O : Set D} (hO : IsOpen O) (f : Frequency → D → E) | |
| 117 | - (hf : ∀ k x, x ∈ O → (l.geometry n).coordinates k (projection x) ∈ tsupport (l.cutoff n) → | |
| 118 | - ContDiffAt ℝ ∞ (f k) x) : | |
| 119 | - ContDiffOn ℝ ∞ (fun x => ∑' k, l.nativeMask n k (projection x) • f k x) O := by | |
| 120 | - classical | |
| 121 | - have hc (k : Frequency) : ContDiff ℝ ∞ (fun x => (l.geometry n).coordinates k (projection x)) := | |
| 122 | - ((l.geometry n).coordinates_contDiff k).comp hprojection | |
| 123 | - have ht (k : Frequency) (x : D) (hx : x ∈ O) : | |
| 124 | - ContDiffAt ℝ ∞ (fun y => l.nativeMask n k (projection y) • f k y) x := by | |
| 125 | - by_cases hs : (l.geometry n).coordinates k (projection x) ∈ tsupport (l.cutoff n) | |
| 126 | - · exact (((l.cutoff_smooth n).comp (hc k)).contDiffAt).smul (hf k x hx hs) | |
| 127 | - · have hz := (notMem_tsupport_iff_eventuallyEq.mp hs).comp_tendsto (hc k).continuous.continuousAt | |
| 128 | - apply (contDiffAt_const (c := (0 : E))).congr_of_eventuallyEq | |
| 129 | - filter_upwards [hz] with y hy | |
| 130 | - change l.cutoff n ((l.geometry n).coordinates k (projection y)) = 0 at hy | |
| 131 | - simp only [nativeMask, hy, zero_smul] | |
| 132 | - apply hO.contDiffOn_iff.mpr | |
| 133 | - intro x hx | |
| 134 | - obtain ⟨J, hJ⟩ := (l.geometry n).finite_copy_cutoffs (l.cutoff_compact n) (‖projection x‖ + 1) | |
| 135 | - have he : (fun y => ∑' k, l.nativeMask n k (projection y) • f k y) =ᶠ[𝓝 x] | |
| 136 | - fun y => ∑ k ∈ J, l.nativeMask n k (projection y) • f k y := by | |
| 137 | - filter_upwards [(isOpen_lt hprojection.continuous.norm continuous_const).mem_nhds | |
| 138 | - (show ‖projection x‖ < ‖projection x‖ + 1 by linarith)] with y hy | |
| 139 | - apply tsum_eq_sum | |
| 140 | - intro k hk | |
| 141 | - change l.cutoff n ((l.geometry n).coordinates k (projection y)) • f k y = 0 | |
| 142 | - rw [hJ (projection y) hy.le k hk, zero_smul] | |
| 143 | - exact (ContDiffAt.sum (fun k _ => ht k x hx)).congr_of_eventuallyEq he | |
| 144 | - | |
| 145 | 96 | end Layout |
| 146 | 97 | |
| 147 | 98 | /-! ## The primitive homogeneous pressure is linear in its velocity -/ |
| @@ -157,10 +108,6 @@ theorem homogeneousPressure_smul (K c : ℝ) (N Ndot : Space) (A : Space →L[ | ||
| 157 | 108 | push_cast |
| 158 | 109 | ring |
| 159 | 110 | |
| 160 | -theorem homogeneousPressure_zero (K : ℝ) (N Ndot : Space) (A : Space →L[ℝ] Space) : | |
| 161 | - homogeneousPressure K N Ndot A 0 = 0 := by | |
| 162 | - simpa only [zero_smul] using homogeneousPressure_smul K 0 N Ndot A (0 : Space) | |
| 163 | - | |
| 164 | 111 | theorem coefficients_amplitude_at {D : Type} [NormedAddCommGroup D] [NormedSpace ℝ D] |
| 165 | 112 | (a : WaveCoefficients D) (s : StripData D) (d : GraphDirections D) |
| 166 | 113 | (H : ℕ → D → Mat2) (T R : ℕ → D → Vec2) (mask : ℕ → D → ℝ) |
| @@ -260,27 +207,11 @@ variable {reference : ℕ} (V : B.Views reference) | ||
| 260 | 207 | |
| 261 | 208 | noncomputable def sharedMask (n : ℕ) (x : Cylinder) : ℝ := B.mask reference (V.map n x) |
| 262 | 209 | |
| 263 | -noncomputable def totalMask (n : ℕ) (x : Cylinder) : ℝ := | |
| 264 | - sharedMask B V n x * l.mask reference (V.map n x).1.2.2 | |
| 265 | - | |
| 266 | -noncomputable def copyMask (k : Frequency) (n : ℕ) (x : Cylinder) : ℝ := | |
| 267 | - sharedMask B V n x * l.nativeMask reference k (V.map n x).1.2.2 | |
| 268 | - | |
| 269 | -noncomputable def commonUnit (j : Fin 2) (n : ℕ) (x : Cylinder) : Space := | |
| 270 | - (periodizedPrimary B l).fundamental j reference (V.map n x) | |
| 271 | - | |
| 272 | 210 | noncomputable def nativeUnit (j : Fin 2) (k : Frequency) (n : ℕ) (x : Cylinder) : Space := |
| 273 | 211 | PrimaryPulseBounds.normalizedPulse ((B.pulse j).frame reference) |
| 274 | 212 | ((B.pulse j).lam reference) ((B.pulse j).u reference) ((B.pulse j).L reference) |
| 275 | 213 | ((B.coordinate reference (V.map n x)).1, l.nativeClock reference k (V.map n x).1.2.2) |
| 276 | 214 | |
| 277 | -theorem commonUnit_eq_native (j : Fin 2) (k : Frequency) (n : ℕ) (x : Cylinder) | |
| 278 | - (hk : l.nativeMask reference k (V.map n x).1.2.2 ≠ 0) : | |
| 279 | - commonUnit B l V j n x = nativeUnit B l V j k n x := by | |
| 280 | - change PrimaryPulseBounds.normalizedPulse _ _ _ _ (_, l.clock reference (V.map n x).1.2.2) = _ | |
| 281 | - rw [l.clock_eq_native reference k (V.map n x).1.2.2 hk] | |
| 282 | - rfl | |
| 283 | - | |
| 284 | 215 | /-- One call to the original homogeneous signed quotient constructor. -/ |
| 285 | 216 | noncomputable def coefficientsWith (request : ℕ → Cylinder → Vec2) (j : Fin 2) |
| 286 | 217 | (mask : ℕ → Cylinder → ℝ) (unit : ℕ → Cylinder → Space) : WaveCoefficients Cylinder := |
| @@ -290,255 +221,8 @@ noncomputable def coefficientsWith (request : ℕ → Cylinder → Vec2) (j : Fi | ||
| 290 | 221 | (fun n x => (V.normal n * V.clock n) • B.normalMotion reference (V.map n x)) |
| 291 | 222 | (fun n x => V.clock n • B.action reference (V.map n x)) j |
| 292 | 223 | |
| 293 | -noncomputable def commonCoefficients (request : ℕ → Cylinder → Vec2) (j : Fin 2) : WaveCoefficients Cylinder := | |
| 294 | - coefficientsWith B l V request j (sharedMask B V) (commonUnit B l V j) | |
| 295 | - | |
| 296 | -noncomputable def nativeCoefficients (request : ℕ → Cylinder → Vec2) (j : Fin 2) (k : Frequency) : | |
| 297 | - WaveCoefficients Cylinder := | |
| 298 | - coefficientsWith B l V request j (copyMask B l V k) (nativeUnit B l V j k) | |
| 299 | - | |
| 300 | -theorem views_coefficients (request : ℕ → Cylinder → Vec2) (j : Fin 2) : | |
| 301 | - (views B l V).coefficients request j = | |
| 302 | - coefficientsWith B l V request j (totalMask B l V) (commonUnit B l V j) := rfl | |
| 303 | - | |
| 304 | -noncomputable def commonScalar (request : ℕ → Cylinder → Vec2) (j : Fin 2) (n : ℕ) (x : Cylinder) : ℝ := | |
| 305 | - SignedWaveUpdate.signedScalar V.strip (fun n x => B.matrix reference (V.map n x)) | |
| 306 | - (B.viewTarget V.strip V.velocity (fun n => V.map n) reference) request (sharedMask B V) j n x | |
| 307 | - | |
| 308 | -theorem coefficientsWith_amplitude (request : ℕ → Cylinder → Vec2) (j : Fin 2) | |
| 309 | - (mask : ℕ → Cylinder → ℝ) (unit : ℕ → Cylinder → Space) (n : ℕ) (x : Cylinder) : | |
| 310 | - (coefficientsWith B l V request j mask unit).amplitude n x = | |
| 311 | - SignedWaveUpdate.signedScalar V.strip (fun n x => B.matrix reference (V.map n x)) | |
| 312 | - (B.viewTarget V.strip V.velocity (fun n => V.map n) reference) request mask j n x • | |
| 313 | - CurlClassBounds.complexify (unit n x) := | |
| 314 | - coefficients_amplitude_at _ _ _ _ _ _ _ _ _ _ _ _ _ | |
| 315 | - | |
| 316 | -theorem coefficientsWith_pressure (request : ℕ → Cylinder → Vec2) (j : Fin 2) | |
| 317 | - (mask : ℕ → Cylinder → ℝ) (unit : ℕ → Cylinder → Space) (n : ℕ) (x : Cylinder) : | |
| 318 | - (coefficientsWith B l V request j mask unit).pressure n x = | |
| 319 | - SignedWaveUpdate.signedScalar V.strip (fun n x => B.matrix reference (V.map n x)) | |
| 320 | - (B.viewTarget V.strip V.velocity (fun n => V.map n) reference) request mask j n x • | |
| 321 | - homogeneousPressure (V.frequency n) | |
| 322 | - (((periodizedPrimary B l).viewBase V.background V.frequency (fun n => V.map n) reference).normal | |
| 323 | - V.strip V.directions n x) | |
| 324 | - ((V.normal n * V.clock n) • B.normalMotion reference (V.map n x)) | |
| 325 | - (V.clock n • B.action reference (V.map n x)) (unit n x) := | |
| 326 | - coefficients_pressure_at _ _ _ _ _ _ _ _ _ _ _ _ _ | |
| 327 | - | |
| 328 | -theorem copy_scalar (request : ℕ → Cylinder → Vec2) (j : Fin 2) (k : Frequency) | |
| 329 | - (n : ℕ) (x : Cylinder) : | |
| 330 | - SignedWaveUpdate.signedScalar V.strip (fun n x => B.matrix reference (V.map n x)) | |
| 331 | - (B.viewTarget V.strip V.velocity (fun n => V.map n) reference) request (copyMask B l V k) j n x = | |
| 332 | - l.nativeMask reference k (V.map n x).1.2.2 * | |
| 333 | - SignedWaveUpdate.signedScalar V.strip (fun n x => B.matrix reference (V.map n x)) | |
| 334 | - (B.viewTarget V.strip V.velocity (fun n => V.map n) reference) request (sharedMask B V) j n x := by | |
| 335 | - unfold SignedWaveUpdate.signedScalar copyMask | |
| 336 | - ring | |
| 337 | - | |
| 338 | -theorem total_scalar (request : ℕ → Cylinder → Vec2) (j : Fin 2) (n : ℕ) (x : Cylinder) : | |
| 339 | - SignedWaveUpdate.signedScalar V.strip (fun n x => B.matrix reference (V.map n x)) | |
| 340 | - (B.viewTarget V.strip V.velocity (fun n => V.map n) reference) request (totalMask B l V) j n x = | |
| 341 | - l.mask reference (V.map n x).1.2.2 * | |
| 342 | - SignedWaveUpdate.signedScalar V.strip (fun n x => B.matrix reference (V.map n x)) | |
| 343 | - (B.viewTarget V.strip V.velocity (fun n => V.map n) reference) request (sharedMask B V) j n x := by | |
| 344 | - unfold SignedWaveUpdate.signedScalar totalMask | |
| 345 | - ring | |
| 346 | - | |
| 347 | -theorem native_amplitude (request : ℕ → Cylinder → Vec2) (j : Fin 2) (k : Frequency) | |
| 348 | - (n : ℕ) (x : Cylinder) : | |
| 349 | - (nativeCoefficients B l V request j k).amplitude n x = | |
| 350 | - l.nativeMask reference k (V.map n x).1.2.2 • (commonCoefficients B l V request j).amplitude n x := by | |
| 351 | - simp only [nativeCoefficients, commonCoefficients, coefficientsWith_amplitude] | |
| 352 | - rw [copy_scalar, mul_smul] | |
| 353 | - by_cases hk : l.nativeMask reference k (V.map n x).1.2.2 = 0 | |
| 354 | - · simp only [hk, zero_smul] | |
| 355 | - · rw [commonUnit_eq_native B l V j k n x hk] | |
| 356 | - | |
| 357 | -theorem native_pressure (request : ℕ → Cylinder → Vec2) (j : Fin 2) (k : Frequency) | |
| 358 | - (n : ℕ) (x : Cylinder) : | |
| 359 | - (nativeCoefficients B l V request j k).pressure n x = | |
| 360 | - l.nativeMask reference k (V.map n x).1.2.2 • (commonCoefficients B l V request j).pressure n x := by | |
| 361 | - simp only [nativeCoefficients, commonCoefficients, coefficientsWith_pressure] | |
| 362 | - rw [copy_scalar, mul_smul] | |
| 363 | - by_cases hk : l.nativeMask reference k (V.map n x).1.2.2 = 0 | |
| 364 | - · simp only [hk, zero_smul] | |
| 365 | - · rw [commonUnit_eq_native B l V j k n x hk] | |
| 366 | - | |
| 367 | -theorem view_amplitude (request : ℕ → Cylinder → Vec2) (j : Fin 2) (n : ℕ) (x : Cylinder) : | |
| 368 | - ((views B l V).coefficients request j).amplitude n x = | |
| 369 | - l.mask reference (V.map n x).1.2.2 • (commonCoefficients B l V request j).amplitude n x := by | |
| 370 | - rw [views_coefficients] | |
| 371 | - simp only [commonCoefficients, coefficientsWith_amplitude] | |
| 372 | - rw [total_scalar, mul_smul] | |
| 373 | - | |
| 374 | -theorem view_pressure (request : ℕ → Cylinder → Vec2) (j : Fin 2) (n : ℕ) (x : Cylinder) : | |
| 375 | - ((views B l V).coefficients request j).pressure n x = | |
| 376 | - l.mask reference (V.map n x).1.2.2 • (commonCoefficients B l V request j).pressure n x := by | |
| 377 | - rw [views_coefficients] | |
| 378 | - simp only [commonCoefficients, coefficientsWith_pressure] | |
| 379 | - rw [total_scalar, mul_smul] | |
| 380 | - | |
| 381 | -/-- Every lattice copy is built by the actual native signed quotient and | |
| 382 | -projected homogeneous pressure; the cutoff is applied before summation. -/ | |
| 383 | -noncomputable def copyData (request : ℕ → Cylinder → Vec2) (j : Fin 2) : | |
| 384 | - PeriodizedWaveBounds.CopyData Cylinder Frequency where | |
| 385 | - background := (periodizedPrimary B l).viewBase V.background V.frequency (fun n => V.map n) reference | |
| 386 | - amplitude n k := (nativeCoefficients B l V request j k).amplitude n | |
| 387 | - pressure n k := (nativeCoefficients B l V request j k).pressure n | |
| 388 | - cutoff n k x := l.nativeGaussian reference k (V.map n x).1.2.2 | |
| 389 | - source := fun _ _ => 0 | |
| 390 | - | |
| 391 | -theorem copyData_raw (request : ℕ → Cylinder → Vec2) (j : Fin 2) (k : Frequency) : | |
| 392 | - (copyData B l V request j).raw k = nativeCoefficients B l V request j k := rfl | |
| 393 | - | |
| 394 | -theorem common_amplitude (request : ℕ → Cylinder → Vec2) (j : Fin 2) (n : ℕ) (x : Cylinder) : | |
| 395 | - (copyData B l V request j).common.amplitude n x = | |
| 396 | - (((views B l V).coefficients request j).withCutoff (views B l V).cutoff).amplitude n x := by | |
| 397 | - change (∑' k, l.nativeGaussian reference k (V.map n x).1.2.2 • | |
| 398 | - (nativeCoefficients B l V request j k).amplitude n x) = | |
| 399 | - l.gaussian reference (V.map n x).1.2.2 • ((views B l V).coefficients request j).amplitude n x | |
| 400 | - simp_rw [native_amplitude] | |
| 401 | - rw [l.gaussian_mask_sum, view_amplitude] | |
| 402 | - | |
| 403 | -theorem common_pressure (request : ℕ → Cylinder → Vec2) (j : Fin 2) (n : ℕ) (x : Cylinder) : | |
| 404 | - (copyData B l V request j).common.pressure n x = | |
| 405 | - (((views B l V).coefficients request j).withCutoff (views B l V).cutoff).pressure n x := by | |
| 406 | - change (∑' k, (l.nativeGaussian reference k (V.map n x).1.2.2 : ℂ) * | |
| 407 | - (nativeCoefficients B l V request j k).pressure n x) = | |
| 408 | - (l.gaussian reference (V.map n x).1.2.2 : ℂ) * ((views B l V).coefficients request j).pressure n x | |
| 409 | - simp_rw [native_pressure, ← Complex.real_smul] | |
| 410 | - rw [l.gaussian_mask_sum, view_pressure] | |
| 411 | - | |
| 412 | -theorem common_eq (request : ℕ → Cylinder → Vec2) (j : Fin 2) : | |
| 413 | - (copyData B l V request j).common = | |
| 414 | - ((views B l V).coefficients request j).withCutoff (views B l V).cutoff := by | |
| 415 | - let a := copyData B l V request j | |
| 416 | - let b := ((views B l V).coefficients request j).withCutoff (views B l V).cutoff | |
| 417 | - have ha : a.common.amplitude = b.amplitude := funext fun n => funext fun x => common_amplitude B l V request j n x | |
| 418 | - have hp : a.common.pressure = b.pressure := funext fun n => funext fun x => common_pressure B l V request j n x | |
| 419 | - calc | |
| 420 | - a.common = {a.background with amplitude := a.common.amplitude, pressure := a.common.pressure} := rfl | |
| 421 | - _ = {a.background with amplitude := b.amplitude, pressure := b.pressure} := by rw [ha, hp] | |
| 422 | - _ = b := rfl | |
| 423 | - | |
| 424 | -/-- Exact coefficient equality precedes all differentiation. In | |
| 425 | -particular every derivative of the native cutoffs remains in the curl. -/ | |
| 426 | -theorem commonCorrected_eq (request : ℕ → Cylinder → Vec2) (j : Fin 2) : | |
| 427 | - (copyData B l V request j).commonCorrected V.strip V.directions = | |
| 428 | - (views B l V).exactCoefficients request j := by | |
| 429 | - unfold PeriodizedWaveBounds.CopyData.commonCorrected | |
| 430 | - rw [common_eq] | |
| 431 | - rfl | |
| 432 | - | |
| 433 | 224 | /-! ## The literal current-state request and one physical reference -/ |
| 434 | 225 | |
| 435 | -/-- The native copies use the current state's actual signed request. -/ | |
| 436 | -noncomputable def actualCopyData (D : V.StateData) (j : Fin 2) : | |
| 437 | - PeriodizedWaveBounds.CopyData Cylinder Frequency := | |
| 438 | - copyData B l V D.request j | |
| 439 | - | |
| 440 | -theorem actual_commonCorrected_eq (D : V.StateData) (j : Fin 2) : | |
| 441 | - (actualCopyData B l V D j).commonCorrected V.strip V.directions = | |
| 442 | - (views B l V).exactCoefficients (stateData B l D).request j := | |
| 443 | - commonCorrected_eq B l V D.request j | |
| 444 | - | |
| 445 | -/-- This equality holds before restriction to a physical graph, at every | |
| 446 | -point of the full slow/angle/fast strip. -/ | |
| 447 | -theorem actual_amplitude_transport (D : V.StateData) (j : Fin 2) | |
| 448 | - (n : ℕ) (x : Cylinder) (hx : x ∈ V.strip.domain) : | |
| 449 | - (actualCopyData B l V D j).common.amplitude n x = | |
| 450 | - V.velocity n • (periodizedPrimary B l).raw D.referenceRequest j reference (V.map n x) := by | |
| 451 | - rw [actualCopyData, common_amplitude] | |
| 452 | - exact (views B l V).amplitude_transport D.request D.referenceRequest j n x | |
| 453 | - (D.request_transport n x hx) | |
| 454 | - | |
| 455 | -theorem actual_amplitude_transport_germ (D : V.StateData) (j : Fin 2) | |
| 456 | - (n : ℕ) {x : Cylinder} (hx : x ∈ V.strip.domain) : | |
| 457 | - (actualCopyData B l V D j).common.amplitude n =ᶠ[𝓝 x] | |
| 458 | - fun y => V.velocity n • (periodizedPrimary B l).raw D.referenceRequest j reference (V.map n y) := by | |
| 459 | - filter_upwards [V.strip.isOpen_domain.mem_nhds hx] with y hy | |
| 460 | - exact actual_amplitude_transport B l V D j n y hy | |
| 461 | - | |
| 462 | -theorem actual_pressure_transport (D : V.StateData) (j : Fin 2) (n : ℕ) | |
| 463 | - (hK : B.base.frequency reference ≠ 0) | |
| 464 | - (G : PhysicalSignedWave.ChartGeometry B.base B.strip B.directions reference | |
| 465 | - V.exponent V.referenceScale V.referenceCover) | |
| 466 | - (H : PhysicalSignedWave.ChartGeometry | |
| 467 | - (B.viewBase V.background V.frequency (fun n => V.map n) reference) | |
| 468 | - V.strip V.directions n V.exponent (V.scale n) (V.cover n)) | |
| 469 | - {x : Cylinder} (hx : x ∈ V.strip.domain) (hr : 0 < x.1.1) | |
| 470 | - (hPhi : DifferentiableAt ℝ (B.base.phase reference) (V.map n x)) : | |
| 471 | - (actualCopyData B l V D j).common.pressure n x = | |
| 472 | - PhysicalParticularWave.pressureWeight V.exponent (V.scale n) V.referenceScale • | |
| 473 | - (periodizedPrimary B l).rawPressure D.referenceRequest j reference (V.map n x) := by | |
| 474 | - rw [actualCopyData, common_pressure] | |
| 475 | - exact (views B l V).pressure_transport D.request D.referenceRequest j n hr hK G H hPhi | |
| 476 | - (D.request_transport n x hx) | |
| 477 | - | |
| 478 | -/-- One genuine periodized Cartesian potential, retaining the same pulse, | |
| 479 | -reference state, scales, and integer covers as the native copies. -/ | |
| 480 | -noncomputable def physicalPotential (D : V.StateData) (j : Fin 2) (delta : ℝ) : VelocityField := | |
| 481 | - (views B l V).physicalPotential D.referenceRequest j delta | |
| 482 | - | |
| 483 | -noncomputable def physicalVelocity (D : V.StateData) (j : Fin 2) (delta : ℝ) : VelocityField := | |
| 484 | - SpatialCurl.spatialCurl (physicalPotential B l V D j delta) | |
| 485 | - | |
| 486 | -noncomputable def physicalPressure (D : V.StateData) (j : Fin 2) (delta : ℝ) : PressureField := | |
| 487 | - (views B l V).physicalPressure D.referenceRequest j delta | |
| 488 | - | |
| 489 | -theorem physicalVelocity_eq_curl (D : V.StateData) (j : Fin 2) (delta : ℝ) : | |
| 490 | - physicalVelocity B l V D j delta = SpatialCurl.spatialCurl (physicalPotential B l V D j delta) := rfl | |
| 491 | - | |
| 492 | -/-- The actual native-copy sum, corrected after cutoff and summation, is | |
| 493 | -the band view of the single constructed Cartesian curl. Analytic inputs | |
| 494 | -concern the primitive reference data and coordinate charts. -/ | |
| 495 | -theorem actual_wave_physical (D : V.StateData) (j : Fin 2) (n : ℕ) | |
| 496 | - (R : (periodizedPrimary B l).Regular D.referenceRequest reference j) | |
| 497 | - (A : (periodizedPrimary B l).Angular D.referenceRequest reference) | |
| 498 | - (hK : B.base.frequency reference ≠ 0) | |
| 499 | - (G : PhysicalSignedWave.ChartGeometry B.base B.strip B.directions reference | |
| 500 | - V.exponent V.referenceScale V.referenceCover) | |
| 501 | - (H : PhysicalSignedWave.ChartGeometry | |
| 502 | - (B.viewBase V.background V.frequency (fun n => V.map n) reference) | |
| 503 | - V.strip V.directions n V.exponent (V.scale n) (V.cover n)) | |
| 504 | - (hmap : MapsTo (V.map n) V.strip.domain B.strip.domain) | |
| 505 | - (hradius : ∀ x ∈ V.strip.domain, 0 < x.1.1) | |
| 506 | - {z : SpaceTime} | |
| 507 | - (hz : z ∈ (PhysicalResidualBridge.commonGraph (V.scale n) V.exponent (V.cover n)).source V.strip.domain) | |
| 508 | - {delta : ℝ} (hdelta : 0 < delta) (chart : PolarCharts.Index) | |
| 509 | - (hchart : z ∈ PhysicalCurlCovariance.validCylindrical delta chart) (component : Fin 3) : | |
| 510 | - (vectorMode (((actualCopyData B l V D j).commonCorrected V.strip V.directions).frequency n) | |
| 511 | - (((actualCopyData B l V D j).commonCorrected V.strip V.directions).phase n) | |
| 512 | - (((actualCopyData B l V D j).commonCorrected V.strip V.directions).amplitude n) | |
| 513 | - ((PhysicalResidualBridge.commonGraph (V.scale n) V.exponent (V.cover n)).map z) component).re = | |
| 514 | - V.scale n ^ CoordinateAlgebra.A V.exponent * CylindricalResidual.frame (-(z.2 1)) | |
| 515 | - (physicalVelocity B l V D j delta (z.1, CylindricalResidual.chart z.2)) component := by | |
| 516 | - rw [actual_commonCorrected_eq] | |
| 517 | - exact (stateData B l D).actual_wave_physical j n R A hK G H hmap hradius hz hdelta chart hchart component | |
| 518 | - | |
| 519 | -theorem actual_pressure_physical (D : V.StateData) (j : Fin 2) (n : ℕ) | |
| 520 | - (R : (periodizedPrimary B l).Regular D.referenceRequest reference j) | |
| 521 | - (A : (periodizedPrimary B l).Angular D.referenceRequest reference) | |
| 522 | - (hK : B.base.frequency reference ≠ 0) | |
| 523 | - (G : PhysicalSignedWave.ChartGeometry B.base B.strip B.directions reference | |
| 524 | - V.exponent V.referenceScale V.referenceCover) | |
| 525 | - (H : PhysicalSignedWave.ChartGeometry | |
| 526 | - (B.viewBase V.background V.frequency (fun n => V.map n) reference) | |
| 527 | - V.strip V.directions n V.exponent (V.scale n) (V.cover n)) | |
| 528 | - (hmap : MapsTo (V.map n) V.strip.domain B.strip.domain) | |
| 529 | - {z : SpaceTime} | |
| 530 | - (hz : z ∈ (PhysicalResidualBridge.commonGraph (V.scale n) V.exponent (V.cover n)).source V.strip.domain) | |
| 531 | - {delta : ℝ} (hdelta : 0 < delta) (chart : PolarCharts.Index) | |
| 532 | - (hchart : z ∈ PhysicalCurlCovariance.validCylindrical delta chart) : | |
| 533 | - (HarmonicCalculus.mode (((actualCopyData B l V D j).commonCorrected V.strip V.directions).frequency n) | |
| 534 | - (((actualCopyData B l V D j).commonCorrected V.strip V.directions).phase n) | |
| 535 | - (((actualCopyData B l V D j).commonCorrected V.strip V.directions).pressure n) | |
| 536 | - ((PhysicalResidualBridge.commonGraph (V.scale n) V.exponent (V.cover n)).map z)).re = | |
| 537 | - V.scale n ^ (2 * CoordinateAlgebra.A V.exponent) * | |
| 538 | - physicalPressure B l V D j delta (z.1, CylindricalResidual.chart z.2) := by | |
| 539 | - rw [actual_commonCorrected_eq] | |
| 540 | - exact (stateData B l D).actual_pressure_physical j n R A hK G H hmap hz hdelta chart hchart | |
| 541 | - | |
| 542 | 226 | end Reference |
| 543 | 227 | |
| 544 | 228 | /-! ## Support-local primitive regularity on the complete reference strip -/ |
| @@ -619,258 +303,10 @@ variable {B l} {request : ℕ → Cylinder → Vec2} {reference : ℕ} {column : | ||
| 619 | 303 | |
| 620 | 304 | include R |
| 621 | 305 | |
| 622 | -theorem matrix_smooth (i j : Fin 2) : | |
| 623 | - ContDiffOn ℝ ∞ (fun x => B.matrix reference x i j) B.strip.domain := by | |
| 624 | - have hm := PrimaryPulseBounds.primaryCovariance_entry_polynomial U B.prefactor | |
| 625 | - (fun j => (B.pulse j).frame) (fun j => (B.pulse j).lam) (fun j => (B.pulse j).u) | |
| 626 | - (fun j => (B.pulse j).L) R.prefactor (fun j => (B.pulse j).pulse_jets) | |
| 627 | - (fun j => (B.pulse j).lam_pos) (fun j => (B.pulse j).u_pos) (fun j => (B.pulse j).L_pos) i j | |
| 628 | - exact (hm.smooth reference).comp R.coordinate R.coordinate_mem | |
| 629 | - | |
| 630 | -theorem scalar_smooth (j : Fin 2) : | |
| 631 | - ContDiffOn ℝ ∞ (referenceScalar B request j reference) B.strip.domain := by | |
| 632 | - have hi := SmoothCovariance.contDiffOn_inverse_solution R.matrix_smooth R.request | |
| 633 | - (fun x hx => (R.cone x hx).det_ne_zero) j | |
| 634 | - have ha := SmoothCovariance.contDiffOn_amplitudes R.matrix_smooth R.target R.cone j | |
| 635 | - have hd : ∀ x ∈ B.strip.domain, 2 * SmoothCovariance.amplitudes | |
| 636 | - (B.matrix reference x) (B.target reference x) j ≠ 0 := by | |
| 637 | - intro x hx | |
| 638 | - exact mul_ne_zero (by norm_num) ((R.cone x hx).amplitudes_pos j).ne' | |
| 639 | - exact (contDiffOn_const.mul (hi.div (contDiffOn_const.mul ha) hd)).mul R.mask | |
| 640 | - | |
| 641 | -theorem unit_smoothAt (j : Fin 2) (k : Frequency) {x : Cylinder} (hx : x ∈ B.strip.domain) | |
| 642 | - (hs : (l.geometry reference).coordinates k x.1.2.2 ∈ tsupport (l.cutoff reference)) : | |
| 643 | - ContDiffAt ℝ ∞ (referenceNativeUnit B l j reference k) x := by | |
| 644 | - have hc : ContDiff ℝ ∞ (fun y : Cylinder => l.nativeClock reference k y.1.2.2) := | |
| 645 | - (((l.geometry reference).coordinates_contDiff k).comp contDiff_fst.snd.snd).snd.div_const _ | |
| 646 | - have hu : ContDiffAt ℝ ∞ (PrimaryPulseBounds.normalizedPulse ((B.pulse j).frame reference) | |
| 647 | - ((B.pulse j).lam reference) ((B.pulse j).u reference) ((B.pulse j).L reference)) | |
| 648 | - ((B.coordinate reference x).1, l.nativeClock reference k x.1.2.2) := | |
| 649 | - ((B.pulse j).pulse_jets.smooth reference).contDiffAt | |
| 650 | - (((U.isOpen reference).prod isOpen_Ioo).mem_nhds | |
| 651 | - ⟨R.coordinate_mem x hx, R.native_time k x hx hs⟩) | |
| 652 | - exact hu.comp x | |
| 653 | - ((R.coordinate.contDiffAt (B.strip.isOpen_domain.mem_nhds hx)).prodMk hc.contDiffAt) | |
| 654 | - | |
| 655 | -/-- Smoothness is derived from the actual native sum, including its | |
| 656 | -zero germs between support cells. -/ | |
| 657 | -theorem raw_smooth (j : Fin 2) : | |
| 658 | - ContDiffOn ℝ ∞ ((periodizedPrimary B l).raw request j reference) B.strip.domain := by | |
| 659 | - rw [reference_raw_eq_sum] | |
| 660 | - apply l.maskedSum_contDiffOn reference (fun x : Cylinder => x.1.2.2) contDiff_fst.snd.snd | |
| 661 | - B.strip.isOpen_domain | |
| 662 | - intro k x hx hs | |
| 663 | - have hg : ContDiff ℝ ∞ (fun y : Cylinder => l.nativeGaussian reference k y.1.2.2) := | |
| 664 | - GaussianTailFlat.profile_contDiff.comp | |
| 665 | - ((((l.geometry reference).coordinates_contDiff k).comp contDiff_fst.snd.snd).snd.div_const _) | |
| 666 | - exact hg.contDiffAt.smul | |
| 667 | - ((R.scalar_smooth j).contDiffAt (B.strip.isOpen_domain.mem_nhds hx) |>.smul | |
| 668 | - (CurlClassBounds.complexify.contDiff.contDiffAt.comp x (R.unit_smoothAt j k hx hs))) | |
| 669 | - | |
| 670 | -theorem raw_tangent {x : Cylinder} (hx : x ∈ B.strip.domain) : | |
| 671 | - normalDot (B.base.normal B.strip B.directions reference x) | |
| 672 | - ((periodizedPrimary B l).raw request column reference x) = 0 := by | |
| 673 | - classical | |
| 674 | - rw [reference_raw_formula] | |
| 675 | - by_cases hm : l.mask reference x.1.2.2 = 0 | |
| 676 | - · simp only [hm, zero_smul, smul_zero, normalDot] | |
| 677 | - simp | |
| 678 | - · have hk : ∃ k, l.nativeMask reference k x.1.2.2 ≠ 0 := by | |
| 679 | - by_contra h | |
| 680 | - push Not at h | |
| 681 | - apply hm | |
| 682 | - change (∑' k, l.nativeMask reference k x.1.2.2) = 0 | |
| 683 | - simp only [h, tsum_zero] | |
| 684 | - obtain ⟨k, hk⟩ := hk | |
| 685 | - rw [referenceUnit_eq_native B l column reference k x hk] | |
| 686 | - have ht : normalDot (B.base.normal B.strip B.directions reference x) | |
| 687 | - (CurlClassBounds.complexify (referenceNativeUnit B l column reference k x)) = 0 := by | |
| 688 | - rw [SignedWaveUpdate.normalDot_complexify, R.normal_frame k x hx hk] | |
| 689 | - exact_mod_cast ((B.pulse column).frame reference).ambient_tangent | |
| 690 | - ((B.coordinate reference x).1, | |
| 691 | - (B.pulse column).L reference * l.nativeClock reference k x.1.2.2) _ | |
| 692 | - simp only [smul_smul] | |
| 693 | - simpa only [one_smul, Complex.ofReal_one, one_mul, ht, mul_zero] using | |
| 694 | - PhysicalParticularWave.normalDot_scaled 1 | |
| 695 | - (l.gaussian reference x.1.2.2 * (l.mask reference x.1.2.2 * referenceScalar B request column reference x)) | |
| 696 | - (B.base.normal B.strip B.directions reference x) | |
| 697 | - (CurlClassBounds.complexify (referenceNativeUnit B l column reference k x)) | |
| 698 | - | |
| 699 | 306 | end SupportedRegular |
| 700 | 307 | |
| 701 | -theorem fast_invariant : CopyAngularInvariance.Invariant ((0, 1) : Cylinder) | |
| 702 | - (fun x : Cylinder => x.1.2.2) := by | |
| 703 | - intro x t | |
| 704 | - simp only [Prod.fst_add, Prod.smul_fst, smul_zero, add_zero] | |
| 705 | - | |
| 706 | -/-- Angular invariance is inherited from the same primary inputs. The | |
| 707 | -new clock and native mask depend only on the auxiliary torus coordinate. -/ | |
| 708 | -noncomputable def periodizedAngular {request : ℕ → Cylinder → Vec2} {reference : ℕ} | |
| 709 | - (A : B.Angular request reference) : (periodizedPrimary B l).Angular request reference where | |
| 710 | - mode := A.mode | |
| 711 | - phase := A.phase | |
| 712 | - coordinate := (A.coordinate.map Prod.fst).map₂ | |
| 713 | - (fast_invariant.map (l.clock reference)) Prod.mk | |
| 714 | - target := A.target | |
| 715 | - request := A.request | |
| 716 | - mask := A.mask.map₂ (fast_invariant.map (l.mask reference)) (· * ·) | |
| 717 | - normalMotion := A.normalMotion | |
| 718 | - action := A.action | |
| 719 | - | |
| 720 | 308 | variable {reference : ℕ} (V : B.Views reference) (D : V.StateData) |
| 721 | 309 | |
| 722 | -/-- The integer harmonic block is built from the same corrected native | |
| 723 | -sum. No independent wave is substituted into the iteration. -/ | |
| 724 | -noncomputable def actualBlock (j : Fin 2) (angularFrequency : ℕ → ℤ) : | |
| 725 | - CorrectionState.HarmonicBlock PhysicalResidualBridge.Lift := | |
| 726 | - SignedWaveUpdate.blockOfCoefficients | |
| 727 | - ((actualCopyData B l V D j).commonCorrected V.strip V.directions) angularFrequency | |
| 728 | - | |
| 729 | -theorem actualBlock_eq (j : Fin 2) (angularFrequency : ℕ → ℤ) : | |
| 730 | - actualBlock B l V D j angularFrequency = SignedWaveUpdate.blockOfCoefficients | |
| 731 | - ((views B l V).exactCoefficients D.request j) angularFrequency := by | |
| 732 | - unfold actualBlock | |
| 733 | - rw [actual_commonCorrected_eq, stateData_request] | |
| 734 | - | |
| 735 | -/-- Full-strip realization from support-local native input regularity. | |
| 736 | -There is no condition on the uncut pulse in inactive periodic gaps. -/ | |
| 737 | -theorem supported_wave_physical (j : Fin 2) (n : ℕ) | |
| 738 | - (R : SupportedRegular B l D.referenceRequest reference j) | |
| 739 | - (A : B.Angular D.referenceRequest reference) | |
| 740 | - (hK : B.base.frequency reference ≠ 0) | |
| 741 | - (G : PhysicalSignedWave.ChartGeometry B.base B.strip B.directions reference | |
| 742 | - V.exponent V.referenceScale V.referenceCover) | |
| 743 | - (H : PhysicalSignedWave.ChartGeometry | |
| 744 | - (B.viewBase V.background V.frequency (fun n => V.map n) reference) | |
| 745 | - V.strip V.directions n V.exponent (V.scale n) (V.cover n)) | |
| 746 | - (hmap : MapsTo (V.map n) V.strip.domain B.strip.domain) | |
| 747 | - (hradius : ∀ x ∈ V.strip.domain, 0 < x.1.1) | |
| 748 | - {z : SpaceTime} | |
| 749 | - (hz : z ∈ (PhysicalResidualBridge.commonGraph (V.scale n) V.exponent (V.cover n)).source V.strip.domain) | |
| 750 | - {delta : ℝ} (hdelta : 0 < delta) (chart : PolarCharts.Index) | |
| 751 | - (hchart : z ∈ PhysicalCurlCovariance.validCylindrical delta chart) (component : Fin 3) : | |
| 752 | - (vectorMode (((actualCopyData B l V D j).commonCorrected V.strip V.directions).frequency n) | |
| 753 | - (((actualCopyData B l V D j).commonCorrected V.strip V.directions).phase n) | |
| 754 | - (((actualCopyData B l V D j).commonCorrected V.strip V.directions).amplitude n) | |
| 755 | - ((PhysicalResidualBridge.commonGraph (V.scale n) V.exponent (V.cover n)).map z) component).re = | |
| 756 | - V.scale n ^ CoordinateAlgebra.A V.exponent * CylindricalResidual.frame (-(z.2 1)) | |
| 757 | - (physicalVelocity B l V D j delta (z.1, CylindricalResidual.chart z.2)) component := by | |
| 758 | - rw [actual_commonCorrected_eq, stateData_request, | |
| 759 | - ← (views B l V).wave_eq_exact D.request j n H] | |
| 760 | - have hphi : ContDiffOn ℝ ∞ (((views B l V).coefficients D.request j).phase n) V.strip.domain := | |
| 761 | - contDiffOn_const.mul (R.phase.comp (V.map n).contDiff.contDiffOn hmap) | |
| 762 | - have ha : ContDiffOn ℝ ∞ | |
| 763 | - ((((views B l V).coefficients D.request j).withCutoff (views B l V).cutoff).amplitude n) | |
| 764 | - V.strip.domain := by | |
| 765 | - apply (((R.raw_smooth j).comp (V.map n).contDiff.contDiffOn hmap).const_smul | |
| 766 | - (V.velocity n)).congr | |
| 767 | - intro x hx | |
| 768 | - exact (views B l V).amplitude_transport D.request D.referenceRequest j n x (D.request_transport n x hx) | |
| 769 | - have hnrel (x : Cylinder) (hx : x ∈ V.strip.domain) : | |
| 770 | - phaseNormal PhysicalResidualBridge.ScaledGraph.radius | |
| 771 | - (PhysicalResidualBridge.commonGraph (V.scale n) V.exponent (V.cover n)).radial | |
| 772 | - PhysicalResidualBridge.ScaledGraph.angular | |
| 773 | - (PhysicalResidualBridge.commonGraph (V.scale n) V.exponent (V.cover n)).axial | |
| 774 | - (((views B l V).coefficients D.request j).phase n) x = | |
| 775 | - V.normal n • B.base.normal B.strip B.directions reference (V.map n x) := by | |
| 776 | - exact (congrFun H.normal x).symm.trans ((views B l V).normal_transport G n H (hradius x hx) | |
| 777 | - ((R.phase.contDiffAt (B.strip.isOpen_domain.mem_nhds (hmap hx))).differentiableAt (by simp))) | |
| 778 | - have hn (x : Cylinder) (hx : x ∈ V.strip.domain) : | |
| 779 | - phaseNormal PhysicalResidualBridge.ScaledGraph.radius | |
| 780 | - (PhysicalResidualBridge.commonGraph (V.scale n) V.exponent (V.cover n)).radial | |
| 781 | - PhysicalResidualBridge.ScaledGraph.angular | |
| 782 | - (PhysicalResidualBridge.commonGraph (V.scale n) V.exponent (V.cover n)).axial | |
| 783 | - (((views B l V).coefficients D.request j).phase n) x ≠ 0 := by | |
| 784 | - rw [hnrel x hx] | |
| 785 | - exact smul_ne_zero (PhysicalParticularWave.normalWeight_ne (V.scale_pos n) V.referenceScale_pos | |
| 786 | - (V.frequency_ne n) hK) (R.normal_ne _ (hmap hx)) | |
| 787 | - have ht (x : Cylinder) (hx : x ∈ V.strip.domain) : | |
| 788 | - normalDot (phaseNormal PhysicalResidualBridge.ScaledGraph.radius | |
| 789 | - (PhysicalResidualBridge.commonGraph (V.scale n) V.exponent (V.cover n)).radial | |
| 790 | - PhysicalResidualBridge.ScaledGraph.angular | |
| 791 | - (PhysicalResidualBridge.commonGraph (V.scale n) V.exponent (V.cover n)).axial | |
| 792 | - (((views B l V).coefficients D.request j).phase n) x) | |
| 793 | - ((((views B l V).coefficients D.request j).withCutoff (views B l V).cutoff).amplitude n x) = 0 := by | |
| 794 | - rw [hnrel x hx, (views B l V).amplitude_transport D.request D.referenceRequest j n x | |
| 795 | - (D.request_transport n x hx), PhysicalParticularWave.normalDot_scaled] | |
| 796 | - change (V.normal n : ℂ) * (V.velocity n : ℂ) * | |
| 797 | - normalDot (B.base.normal B.strip B.directions reference (V.map n x)) | |
| 798 | - ((periodizedPrimary B l).raw D.referenceRequest j reference (V.map n x)) = 0 | |
| 799 | - rw [R.raw_tangent (hmap hx), mul_zero] | |
| 800 | - have hp : ∀ y ∈ (PhysicalResidualBridge.commonGraph (V.scale n) V.exponent (V.cover n)).source V.strip.domain, | |
| 801 | - B.base.frequency reference * (views B l V).physicalPhase y = | |
| 802 | - V.frequency n * ((views B l V).coefficients D.request j).phase n | |
| 803 | - ((PhysicalResidualBridge.commonGraph (V.scale n) V.exponent (V.cover n)).map y) := by | |
| 804 | - intro y hy | |
| 805 | - change B.base.frequency reference * B.base.phase reference | |
| 806 | - ((PhysicalResidualBridge.commonGraph V.referenceScale V.exponent V.referenceCover).map y) = | |
| 807 | - V.frequency n * ((B.base.frequency reference / V.frequency n) * | |
| 808 | - B.base.phase reference (V.map n | |
| 809 | - ((PhysicalResidualBridge.commonGraph (V.scale n) V.exponent (V.cover n)).map y))) | |
| 810 | - rw [V.map_graph n hy.1] | |
| 811 | - field_simp [V.frequency_ne n] | |
| 812 | - have hav : ∀ y ∈ (PhysicalResidualBridge.commonGraph (V.scale n) V.exponent (V.cover n)).source V.strip.domain, | |
| 813 | - (views B l V).physicalRaw D.referenceRequest j y = V.scale n ^ (-CoordinateAlgebra.A V.exponent) • | |
| 814 | - (((views B l V).coefficients D.request j).withCutoff (views B l V).cutoff).amplitude n | |
| 815 | - ((PhysicalResidualBridge.commonGraph (V.scale n) V.exponent (V.cover n)).map y) := by | |
| 816 | - intro y hy | |
| 817 | - rw [(views B l V).amplitude_transport D.request D.referenceRequest j n _ (D.request_transport _ _ hy.2)] | |
| 818 | - change V.referenceScale ^ (-CoordinateAlgebra.A V.exponent) • | |
| 819 | - (periodizedPrimary B l).raw D.referenceRequest j reference | |
| 820 | - ((PhysicalResidualBridge.commonGraph V.referenceScale V.exponent V.referenceCover).map y) = | |
| 821 | - V.scale n ^ (-CoordinateAlgebra.A V.exponent) • V.velocity n • | |
| 822 | - (periodizedPrimary B l).raw D.referenceRequest j reference | |
| 823 | - (V.map n ((PhysicalResidualBridge.commonGraph (V.scale n) V.exponent (V.cover n)).map y)) | |
| 824 | - rw [V.map_graph n hy.1, smul_smul] | |
| 825 | - change V.referenceScale ^ (-CoordinateAlgebra.A V.exponent) • _ = | |
| 826 | - (V.scale n ^ (-CoordinateAlgebra.A V.exponent) * V.velocity n) • _ | |
| 827 | - congr 1 | |
| 828 | - rw [mul_comm] | |
| 829 | - exact (PhysicalParticularWave.ratioPower_cancel (V.scale_pos n) V.referenceScale_pos _).symm | |
| 830 | - exact PhysicalCurlCovariance.reference_correctedWave_constructed (V.scale_pos n) V.exponent (V.cover n) | |
| 831 | - V.strip.isOpen_domain (fun x hx => (hradius x hx).ne') hK (V.frequency_ne n) hphi ha hn ht | |
| 832 | - (views B l V).physicalPhase ((views B l V).physicalRaw D.referenceRequest j) hp hav | |
| 833 | - ((views B l V).referencePotential_periodic (periodizedAngular B l A) hK j) | |
| 834 | - hz hdelta chart hchart component | |
| 835 | - | |
| 836 | -/-- Pressure uses the same native quotient, normal motion, action and | |
| 837 | -single Gaussian, with its physical squared-velocity scaling. -/ | |
| 838 | -theorem supported_pressure_physical (j : Fin 2) (n : ℕ) | |
| 839 | - (R : SupportedRegular B l D.referenceRequest reference j) | |
| 840 | - (A : B.Angular D.referenceRequest reference) | |
| 841 | - (hK : B.base.frequency reference ≠ 0) | |
| 842 | - (G : PhysicalSignedWave.ChartGeometry B.base B.strip B.directions reference | |
| 843 | - V.exponent V.referenceScale V.referenceCover) | |
| 844 | - (H : PhysicalSignedWave.ChartGeometry | |
| 845 | - (B.viewBase V.background V.frequency (fun n => V.map n) reference) | |
| 846 | - V.strip V.directions n V.exponent (V.scale n) (V.cover n)) | |
| 847 | - (hmap : MapsTo (V.map n) V.strip.domain B.strip.domain) | |
| 848 | - {z : SpaceTime} | |
| 849 | - (hz : z ∈ (PhysicalResidualBridge.commonGraph (V.scale n) V.exponent (V.cover n)).source V.strip.domain) | |
| 850 | - {delta : ℝ} (hdelta : 0 < delta) (chart : PolarCharts.Index) | |
| 851 | - (hchart : z ∈ PhysicalCurlCovariance.validCylindrical delta chart) : | |
| 852 | - (HarmonicCalculus.mode (((actualCopyData B l V D j).commonCorrected V.strip V.directions).frequency n) | |
| 853 | - (((actualCopyData B l V D j).commonCorrected V.strip V.directions).phase n) | |
| 854 | - (((actualCopyData B l V D j).commonCorrected V.strip V.directions).pressure n) | |
| 855 | - ((PhysicalResidualBridge.commonGraph (V.scale n) V.exponent (V.cover n)).map z)).re = | |
| 856 | - V.scale n ^ (2 * CoordinateAlgebra.A V.exponent) * | |
| 857 | - physicalPressure B l V D j delta (z.1, CylindricalResidual.chart z.2) := by | |
| 858 | - have hx : (PhysicalResidualBridge.commonGraph V.referenceScale V.exponent V.referenceCover).map z ∈ B.strip.domain := by | |
| 859 | - rw [← V.map_graph n hz.1] | |
| 860 | - exact hmap hz.2 | |
| 861 | - have he := (views B l V).pressure_physical D.request D.referenceRequest j n | |
| 862 | - (periodizedAngular B l A) hK G H hz.1 | |
| 863 | - ((R.phase.contDiffAt (B.strip.isOpen_domain.mem_nhds hx)).differentiableAt (by simp)) | |
| 864 | - (by | |
| 865 | - have ht := D.request_transport n | |
| 866 | - ((PhysicalResidualBridge.commonGraph (V.scale n) V.exponent (V.cover n)).map z) hz.2 | |
| 867 | - simp only [V.map_graph n hz.1] at ht | |
| 868 | - exact ht) | |
| 869 | - hdelta chart hchart | |
| 870 | - rw [(views B l V).pressureMode_eq_exact D.request j n] at he | |
| 871 | - simp only [actual_commonCorrected_eq, stateData_request] at he ⊢ | |
| 872 | - exact he | |
| 873 | - | |
| 874 | 310 | end SupportLocal |
| 875 | 311 | |
| 876 | 312 | end NavierStokes.ActualPeriodizedSignedRealization |
+0 −27 NavierStokes/ActualPhaseDefect.lean View file
| @@ -634,13 +634,6 @@ theorem materialWeight_bound (L : Label B N0) (n : ℕ) | ||
| 634 | 634 | (PhysicalParticularWave.ratioPower_pos (ChartScales.Q_pos n) (ChartScales.Q_pos _) _).le |
| 635 | 635 | (by have := ActualSignedGeometry.powerBound_one (h/2+1/2); linarith) |
| 636 | 636 | |
| 637 | -theorem native_core_of_interval (j : Fin 2) (L : Label B N0) (n : ℕ) | |
| 638 | - (k : TorusInverse.Frequency) {x : FullPoint} | |
| 639 | - (hu : |(nativeCopy j L n k x).2.1| ≤ slots.radius) | |
| 640 | - (hv : (nativeCopy j L n k x).2.2 ∈ Ioo 0 ((phases B N0 j).L L)) : | |
| 641 | - (nativeCopy j L n k x).2 ∈ (ActualSignedGeometry.clockWindow slots (BaseChartJets.cellBand L)).core := | |
| 642 | - ⟨abs_le.mp hu, hv.1.le, hv.2.le⟩ | |
| 643 | - | |
| 644 | 637 | theorem active_copy_defect_germ (j : Fin 2) (L : Label B N0) (n : ℕ) |
| 645 | 638 | (hactive : BaseChartJets.cellBand L ∈ CommonWindow.levels n) |
| 646 | 639 | (k : TorusInverse.Frequency) {x : FullPoint} |
| @@ -655,19 +648,6 @@ theorem active_copy_defect_germ (j : Fin 2) (L : Label B N0) (n : ℕ) | ||
| 655 | 648 | (BaseContextAssembly.nativeStrip_time nominal standardRegion hx) |
| 656 | 649 | (BaseContextAssembly.nativeStrip_radius nominal standardRegion hx) hp hc |
| 657 | 650 | |
| 658 | -theorem active_copy_defect_jets (j : Fin 2) (L : Label B N0) (n : ℕ) | |
| 659 | - (hactive : BaseChartJets.cellBand L ∈ CommonWindow.levels n) | |
| 660 | - (k : TorusInverse.Frequency) {x : FullPoint} | |
| 661 | - (hx : x ∈ (HarmonicWaveInteraction.productStrip | |
| 662 | - (BaseContextAssembly.nativeStrip nominal standardRegion)).domain) | |
| 663 | - (hp : (nativeCopy j L n k x).1 ∈ | |
| 664 | - (PrimaryGeometryAssembly.domain nominal (choice B N0).prepared.N).carrier L) | |
| 665 | - (hc : (nativeCopy j L n k x).2 ∈ (ActualSignedGeometry.clockWindow slots (BaseChartJets.cellBand L)).core) | |
| 666 | - (m : ℕ) : | |
| 667 | - iteratedFDeriv ℝ m (defect j L n) x = iteratedFDeriv ℝ m | |
| 668 | - (fun y => ChartScales.epsilon h n * materialWeight L n * reducedExpression j L n k y) x := | |
| 669 | - PhysicalWaveSum.iteratedFDeriv_eq_of_eventuallyEq (active_copy_defect_germ j L n hactive k hx hp hc) m | |
| 670 | - | |
| 671 | 651 | theorem active_materialWeight_bound (L : Label B N0) (n : ℕ) |
| 672 | 652 | (hactive : BaseChartJets.cellBand L ∈ CommonWindow.levels n) : |
| 673 | 653 | 0 < materialWeight L n ∧ materialWeight L n ≤ materialWeightBound := |
| @@ -809,13 +789,6 @@ theorem native_reduced_polynomial (U : LocalSignedRequest.SlowRegion (2*h)) : | ||
| 809 | 789 | (hbb.mul hx0).sub (ht.mul (((hbb.mul ((hp.mul hFR).add (hpz.mul hGR))).sub |
| 810 | 790 | ((hp.mul hFT).add (hpz.mul hGT))).add (hGG.mul ((hp.mul hFZ).add (hpz.mul hGZ))))) |
| 811 | 791 | |
| 812 | -theorem native_reduced_finite_jets (U : LocalSignedRequest.SlowRegion (2*h)) (N : ℕ) : | |
| 813 | - ∃ C : ℝ, 1 ≤ C ∧ ∃ m : ℕ, ∀ (j : Fin 2) (L : Label B N0), | |
| 814 | - JetBounds.FiniteJetBound N (nativeReduced (j,L)) | |
| 815 | - ((reducedJetDomain U).carrier (j,L)) (C*ChartScales.S (BaseChartJets.cellBand L)^m) := by | |
| 816 | - obtain ⟨C,hC,m,hm⟩ := (native_reduced_polynomial (B := B) (N0 := N0) U).bound N | |
| 817 | - exact ⟨C,hC,m,fun j L => hm (j,L)⟩ | |
| 818 | - | |
| 819 | 792 | theorem native_reduced_domain_mem (U : LocalSignedRequest.SlowRegion (2*h)) |
| 820 | 793 | (j : Fin 2) (L : Label B N0) {p : Slow} {t : ℝ} |
| 821 | 794 | (hp : p ∈ (PrimaryGeometryAssembly.domain nominal (choice B N0).prepared.N).carrier L) |
+0 −144 NavierStokes/ActualPhaseJetBounds.lean View file
| @@ -142,10 +142,6 @@ noncomputable def phaseCell (n : ℕ) (i : CopyIndex B N0) : Set ActualPrimary.F | ||
| 142 | 142 | (ActualPrimary.choice B N0).prepared.N).carrier i.1.2 ∧ |
| 143 | 143 | (ActualPrimaryBounds.fullCopy i.1 n i.2 x).2 ∈ (ActualPrimary.clockWindow i.1.2).core} |
| 144 | 144 | |
| 145 | -theorem controlCell_subset_phaseCell (n : ℕ) (i : CopyIndex B N0) : | |
| 146 | - ActualPrimaryBounds.controlCell n i ⊆ phaseCell n i := | |
| 147 | - fun _ hx => ⟨hx.1, hx.2.1, hx.2.2.1⟩ | |
| 148 | - | |
| 149 | 145 | theorem phaseCell_maps {n : ℕ} {i : CopyIndex B N0} {x : ActualPrimary.FullPoint} |
| 150 | 146 | (hx : x ∈ phaseCell n i) : |
| 151 | 147 | ((ActualPrimaryBounds.fullCopy i.1 n i.2 x).1, |
| @@ -517,146 +513,6 @@ theorem weightedPhase_eq_section (l : SignedLabel B N0) (n : ℕ) (x : ActualPri | ||
| 517 | 513 | ActualPrimaryBounds.angularFrequency] |
| 518 | 514 | ring |
| 519 | 515 | |
| 520 | -theorem phaseCell_of_cut_tsupport (l : SignedLabel B N0) (n : ℕ) | |
| 521 | - {x : ActualPrimary.FullPoint} (hx : x ∈ ActualPrimaryBounds.fullStrip.domain) | |
| 522 | - (hs : x ∈ tsupport ((ActualPrimaryBounds.cutCoefficients l).amplitude n)) : | |
| 523 | - ∃ k : TorusInverse.Frequency, x ∈ phaseCell n (l,k) := by | |
| 524 | - rcases ActualPrimaryBounds.actual_input_cover l n hx with hc | hz | |
| 525 | - · obtain ⟨k,hk⟩ := hc | |
| 526 | - exact ⟨k, controlCell_subset_phaseCell n (l,k) hk⟩ | |
| 527 | - · exact False.elim ((notMem_tsupport_iff_eventuallyEq.mpr hz.1) hs) | |
| 528 | - | |
| 529 | -theorem weightedPhase_positive_jets_cut (m : ℕ) : | |
| 530 | - ∃ C : ℝ, 1 ≤ C ∧ ∃ p : ℕ, ∀ (l : SignedLabel B N0) n x, | |
| 531 | - x ∈ ActualPrimaryBounds.fullStrip.domain → | |
| 532 | - x ∈ tsupport ((ActualPrimaryBounds.cutCoefficients l).amplitude n) → | |
| 533 | - ∀ j, 1 ≤ j → j ≤ m → | |
| 534 | - ‖iteratedFDeriv ℝ j (weightedPhase l n) x‖ ≤ | |
| 535 | - C * ChartScales.S n ^ p * ChartScales.Q n ^ (-(2 * ActualPrimary.h)) := by | |
| 536 | - obtain ⟨C,hC,p,hb⟩ := weightedPhase_positive_jets (B := B) (N0 := N0) m | |
| 537 | - refine ⟨C,hC,p,?_⟩ | |
| 538 | - intro l n x hx hs j hj hjm | |
| 539 | - obtain ⟨k,hk⟩ := phaseCell_of_cut_tsupport l n hx hs | |
| 540 | - exact hb n (l,k) x hk j hj hjm | |
| 541 | - | |
| 542 | -theorem carrier_eq_character (l : SignedLabel B N0) (n : ℕ) : | |
| 543 | - HarmonicCalculus.carrier ((ActualPrimary.chartCoefficients l.1 l.2).frequency n) | |
| 544 | - ((ActualPrimary.chartCoefficients l.1 l.2).phase n) = | |
| 545 | - PhysicalGraphBounds.character 1 ∘ weightedPhase l n := by | |
| 546 | - funext x | |
| 547 | - simp only [HarmonicCalculus.carrier, HarmonicCalculus.phaseFactor, | |
| 548 | - PhysicalGraphBounds.character, PhysicalGraphBounds.phaseFactor, Function.comp_apply, | |
| 549 | - weightedPhase, Complex.ofReal_mul, Complex.ofReal_one, one_mul] | |
| 550 | - congr 1 | |
| 551 | - ring | |
| 552 | - | |
| 553 | -theorem inverse_power_eq_rpow (n m : ℕ) : | |
| 554 | - (ChartScales.epsilon ActualPrimary.h n)⁻¹ ^ (2*m) = | |
| 555 | - ChartScales.epsilon ActualPrimary.h n ^ (-(2*(m : ℝ))) := by | |
| 556 | - rw [← Real.rpow_natCast, Real.inv_rpow (ChartScales.epsilon_pos _ _).le, | |
| 557 | - ← Real.rpow_neg (ChartScales.epsilon_pos _ _).le] | |
| 558 | - norm_num | |
| 559 | - | |
| 560 | -/-- Restoring the unit-modulus exponential uses only positive inner | |
| 561 | -phase jets. Its finite-prefix loss is explicit, including order zero. -/ | |
| 562 | -theorem carrier_jets_phaseCell (m : ℕ) : | |
| 563 | - ∃ C : ℝ, 1 ≤ C ∧ ∃ p : ℕ, ∀ n (i : CopyIndex B N0) x, | |
| 564 | - x ∈ ActualPrimaryBounds.fullStrip.domain → x ∈ phaseCell n i → ∀ j ≤ m, | |
| 565 | - ‖iteratedFDeriv ℝ j (HarmonicCalculus.carrier | |
| 566 | - ((ActualPrimary.chartCoefficients i.1.1 i.1.2).frequency n) | |
| 567 | - ((ActualPrimary.chartCoefficients i.1.1 i.1.2).phase n)) x‖ ≤ | |
| 568 | - WeightedClasses.majorant ActualPrimaryBounds.fullStrip (fun _ _ => 1) | |
| 569 | - (-(2*(m : ℝ))) C p n x := by | |
| 570 | - obtain ⟨C,hC,p,hb⟩ := weightedPhase_positive_jets (B := B) (N0 := N0) m | |
| 571 | - refine ⟨(m.factorial : ℝ) * C^m, ?_, p*m, ?_⟩ | |
| 572 | - · exact one_le_mul_of_one_le_of_one_le | |
| 573 | - (by exact_mod_cast (Nat.succ_le_of_lt (Nat.factorial_pos m))) (one_le_pow₀ hC) | |
| 574 | - intro n i x hx hc j hj | |
| 575 | - have hS := PhysicalGraphBounds.S_ge_one hc.1.1 | |
| 576 | - have hQ : 1 ≤ ChartScales.Q n ^ (-(2*ActualPrimary.h)) := by | |
| 577 | - rw [← inverse_epsilon_sq] | |
| 578 | - exact one_le_pow₀ (one_le_inverse_epsilon n) | |
| 579 | - have hD : 1 ≤ C * ChartScales.S n^p * ChartScales.Q n ^ (-(2*ActualPrimary.h)) := | |
| 580 | - one_le_mul_of_one_le_of_one_le (one_le_mul_of_one_le_of_one_le hC (one_le_pow₀ hS)) hQ | |
| 581 | - have hcomp := PhysicalClassBounds.composition_jet_bound | |
| 582 | - (PhysicalGraphBounds.character_smooth 1) ActualPrimaryBounds.fullStrip.isOpen_domain | |
| 583 | - (weightedPhase_contDiffOn i.1 n) hx m zero_le_one hD | |
| 584 | - (fun q _ => by rw [PhysicalGraphBounds.norm_character_jet]; simp) | |
| 585 | - (fun q hq hqm => hb n i x hc q hq hqm) j hj | |
| 586 | - rw [carrier_eq_character] | |
| 587 | - apply hcomp.trans | |
| 588 | - have hSG : ChartScales.S n ≤ ActualPrimaryBounds.fullStrip.growth n x := by | |
| 589 | - rw [← slow_eq_S hc.1.1] | |
| 590 | - exact ActualPrimaryBounds.fullStrip.slow_le_growth n x | |
| 591 | - calc | |
| 592 | - _ = ((m.factorial : ℝ) * C^m) * | |
| 593 | - ChartScales.S n ^ (p*m) * (ChartScales.epsilon ActualPrimary.h n)⁻¹ ^ (2*m) := by | |
| 594 | - rw [← inverse_epsilon_sq, mul_one, mul_pow, mul_pow, ← pow_mul, ← pow_mul] | |
| 595 | - ring | |
| 596 | - _ ≤ ((m.factorial : ℝ) * C^m) * | |
| 597 | - ActualPrimaryBounds.fullStrip.growth n x ^ (p*m) * | |
| 598 | - (ChartScales.epsilon ActualPrimary.h n)⁻¹ ^ (2*m) := by | |
| 599 | - gcongr | |
| 600 | - exact pow_nonneg (inv_nonneg.mpr (ChartScales.epsilon_pos _ _).le) _ | |
| 601 | - _ = _ := by | |
| 602 | - rw [inverse_power_eq_rpow, WeightedClasses.majorant, mul_one] | |
| 603 | - change _ = ((m.factorial : ℝ) * C^m) * | |
| 604 | - ChartScales.epsilon ActualPrimary.h n ^ (-(2*(m : ℝ))) * | |
| 605 | - ActualPrimaryBounds.fullStrip.growth n x ^ (p*m) | |
| 606 | - ring | |
| 607 | - | |
| 608 | -/-- The actual cut amplitude's support supplies the needed native copy; | |
| 609 | -no independent carrier-jet estimate is assumed. -/ | |
| 610 | -theorem carrier_jets_cut (m : ℕ) : | |
| 611 | - ∃ C : ℝ, 0 ≤ C ∧ ∃ p : ℕ, ∃ r : ℝ, ∀ (l : SignedLabel B N0) n x, | |
| 612 | - x ∈ ActualPrimaryBounds.fullStrip.domain → | |
| 613 | - x ∈ tsupport ((ActualPrimaryBounds.cutCoefficients l).amplitude n) → ∀ j ≤ m, | |
| 614 | - ‖iteratedFDeriv ℝ j (HarmonicCalculus.carrier | |
| 615 | - ((ActualPrimary.chartCoefficients l.1 l.2).frequency n) | |
| 616 | - ((ActualPrimary.chartCoefficients l.1 l.2).phase n)) x‖ ≤ | |
| 617 | - WeightedClasses.majorant ActualPrimaryBounds.fullStrip (fun _ _ => 1) r C p n x := by | |
| 618 | - obtain ⟨C,hC,p,hb⟩ := carrier_jets_phaseCell (B := B) (N0 := N0) m | |
| 619 | - refine ⟨C,zero_le_one.trans hC,p,-(2*(m : ℝ)),?_⟩ | |
| 620 | - intro l n x hx hs j hj | |
| 621 | - obtain ⟨k,hk⟩ := phaseCell_of_cut_tsupport l n hx hs | |
| 622 | - exact hb n (l,k) x hx hk j hj | |
| 623 | - | |
| 624 | -theorem phase_jet_le_weighted {n : ℕ} {i : CopyIndex B N0} {x : ActualPrimary.FullPoint} | |
| 625 | - (hx : x ∈ phaseCell n i) (j : ℕ) : | |
| 626 | - ‖iteratedFDeriv ℝ j ((ActualPrimary.chartCoefficients i.1.1 i.1.2).phase n) x‖ ≤ | |
| 627 | - ‖iteratedFDeriv ℝ j (weightedPhase i.1 n) x‖ := by | |
| 628 | - have hk : 0 < (ActualPrimary.chartCoefficients i.1.1 i.1.2).frequency n := | |
| 629 | - ActualPrimary.chartCoefficients_frequency_pos _ _ _ | |
| 630 | - have hk' : 0 < (ChartScales.carrier ActualPrimary.h n : ℝ) := hk | |
| 631 | - have hkN : 0 < ChartScales.carrier ActualPrimary.h n := by exact_mod_cast hk' | |
| 632 | - have hk1 : 1 ≤ (ActualPrimary.chartCoefficients i.1.1 i.1.2).frequency n := by | |
| 633 | - change 1 ≤ (ChartScales.carrier ActualPrimary.h n : ℝ) | |
| 634 | - exact_mod_cast (Nat.succ_le_of_lt hkN) | |
| 635 | - have he : (ActualPrimary.chartCoefficients i.1.1 i.1.2).phase n = | |
| 636 | - (fun y => ((ActualPrimary.chartCoefficients i.1.1 i.1.2).frequency n)⁻¹ • | |
| 637 | - weightedPhase i.1 n y) := by | |
| 638 | - funext y | |
| 639 | - simp only [weightedPhase, smul_eq_mul, ← mul_assoc, inv_mul_cancel₀ hk.ne', one_mul] | |
| 640 | - rw [he, iteratedFDeriv_const_smul_apply' | |
| 641 | - ((weightedPhase_smooth hx).of_le (nat_le_infty j))] | |
| 642 | - have hnorm : ‖((ActualPrimary.chartCoefficients i.1.1 i.1.2).frequency n)⁻¹‖ ≤ 1 := by | |
| 643 | - rw [Real.norm_eq_abs, abs_of_pos (inv_pos.mpr hk)] | |
| 644 | - exact (inv_le_one₀ hk).mpr hk1 | |
| 645 | - exact (norm_smul_le _ _).trans | |
| 646 | - (by | |
| 647 | - simpa only [one_mul] using (mul_le_mul_of_nonneg_right hnorm | |
| 648 | - (norm_nonneg (iteratedFDeriv ℝ j (weightedPhase i.1 n) x)))) | |
| 649 | - | |
| 650 | -/-- The literal normalized phase satisfies the same fixed-loss bound. -/ | |
| 651 | -theorem phase_positive_jets (m : ℕ) : | |
| 652 | - ∃ C : ℝ, 1 ≤ C ∧ ∃ p : ℕ, ∀ n (i : CopyIndex B N0) x, | |
| 653 | - x ∈ phaseCell n i → ∀ j, 1 ≤ j → j ≤ m → | |
| 654 | - ‖iteratedFDeriv ℝ j ((ActualPrimary.chartCoefficients i.1.1 i.1.2).phase n) x‖ ≤ | |
| 655 | - C * ChartScales.S n ^ p * ChartScales.Q n ^ (-(2 * ActualPrimary.h)) := by | |
| 656 | - obtain ⟨C,hC,p,hb⟩ := weightedPhase_positive_jets (B := B) (N0 := N0) m | |
| 657 | - exact ⟨C,hC,p,fun n i x hx j hj hjm => | |
| 658 | - (phase_jet_le_weighted hx j).trans (hb n i x hx j hj hjm)⟩ | |
| 659 | - | |
| 660 | 516 | /-- A bounded set of harmonic multiples changes only the constant. |
| 661 | 517 | The power of Q is independent of both harmonic and derivative order. -/ |
| 662 | 518 | theorem harmonicPhase_positive_jets (H : ℝ) (hH : 1 ≤ H) (m : ℕ) : |
+0 −243 NavierStokes/ActualPhysicalStageBounds.lean View file
| @@ -199,74 +199,6 @@ theorem pressureIncrement_smooth | ||
| 199 | 199 | (((WP.pressure_smooth hh hh1).mono inter_subset_left).add |
| 200 | 200 | ((WS.pressure_smooth hh hh1).mono inter_subset_left)).add (MP.field_smooth hh hh1 hq) |
| 201 | 201 | |
| 202 | -theorem potentialIncrement_bound | |
| 203 | - (WP : PhysicalStageBounds.WaveData h DP IP KP (Fin 3)) | |
| 204 | - (WS : PhysicalStageBounds.WaveData h DS IS KS (Fin 3)) | |
| 205 | - (MT MR : MeanInput h (CoordinateAlgebra.A h - 1 / 2)) | |
| 206 | - (hh : 0 < h) (hh1 : h < 1 / 2) {qbig g dw dm : ℝ} | |
| 207 | - (hqT : qbig ≤ ChartScales.Q MT.firstBand) (hqR : qbig ≤ ChartScales.Q MR.firstBand) | |
| 208 | - (hWP : g ≤ h * WP.alpha + WP.shift + dw) (hWS : g ≤ h * WS.alpha + WS.shift + dw) | |
| 209 | - (hMT : g ≤ h * MT.alpha + dm) (hMR : g ≤ h * MR.alpha + dm) (m : ℕ) : | |
| 210 | - ∃ C : ℝ, 0 ≤ C ∧ ∀ w ∈ CutStageEstimates.physicalSublevel h qbig, | |
| 211 | - PhysicalWaveSum.physicalQ h w ≤ 1 → | |
| 212 | - ‖iteratedFDeriv ℝ m (potentialIncrement WP WS MT MR) w‖ ≤ | |
| 213 | - C * PhysicalWaveSum.physicalQ h w ^ (g - PhysicalStageBounds.potentialLoss h dw dm m) := by | |
| 214 | - have hp0 := WP.vector_bound_with_gain hh hh1 hWP m | |
| 215 | - have hs0 := WS.vector_bound_with_gain hh hh1 hWS m | |
| 216 | - have hp := weaken_bound (qbig := qbig) (s := g - PhysicalStageBounds.potentialLoss h dw dm m) hh hh1 | |
| 217 | - (sub_le_sub_left (le_max_left _ _) g) (by | |
| 218 | - obtain ⟨C, hC, hb⟩ := hp0 | |
| 219 | - exact ⟨C, hC, fun w hw hqw => hb w hw.1 hqw⟩) | |
| 220 | - have hs := weaken_bound (qbig := qbig) (s := g - PhysicalStageBounds.potentialLoss h dw dm m) hh hh1 | |
| 221 | - (sub_le_sub_left (le_max_left _ _) g) (by | |
| 222 | - obtain ⟨C, hC, hb⟩ := hs0 | |
| 223 | - exact ⟨C, hC, fun w hw hqw => hb w hw.1 hqw⟩) | |
| 224 | - have ht := weaken_bound (s := g - PhysicalStageBounds.potentialLoss h dw dm m) | |
| 225 | - hh hh1 (sub_le_sub_left (le_max_right _ _) g) | |
| 226 | - (MT.angular_bound_with_gain hh hh1 hqT hMT m) | |
| 227 | - have hr := weaken_bound (s := g - PhysicalStageBounds.potentialLoss h dw dm m) | |
| 228 | - hh hh1 (sub_le_sub_left (le_max_right _ _) g) | |
| 229 | - (MR.angular_bound_with_gain hh hh1 hqR hMR m) | |
| 230 | - have sp : ContDiffOn ℝ ∞ WP.vector (CutStageEstimates.physicalSublevel h qbig) := | |
| 231 | - (WP.vector_smooth hh hh1).mono inter_subset_left | |
| 232 | - have ss : ContDiffOn ℝ ∞ WS.vector (CutStageEstimates.physicalSublevel h qbig) := | |
| 233 | - (WS.vector_smooth hh hh1).mono inter_subset_left | |
| 234 | - have st := MT.angular_smooth hh hh1 hqT | |
| 235 | - exact add_bounds hh hh1 ((sp.add ss).add st) (MR.angular_smooth hh hh1 hqR) | |
| 236 | - (add_bounds hh hh1 (sp.add ss) st (add_bounds hh hh1 sp ss hp hs) ht) hr | |
| 237 | - | |
| 238 | -theorem pressureIncrement_bound | |
| 239 | - (WP : PhysicalStageBounds.WaveData h DP IP KP Unit) | |
| 240 | - (WS : PhysicalStageBounds.WaveData h DS IS KS Unit) | |
| 241 | - (MP : MeanInput h (2 * CoordinateAlgebra.A h)) | |
| 242 | - (hh : 0 < h) (hh1 : h < 1 / 2) {qbig g dw dm : ℝ} | |
| 243 | - (hq : qbig ≤ ChartScales.Q MP.firstBand) | |
| 244 | - (hWP : g ≤ h * WP.alpha + WP.shift + dw) (hWS : g ≤ h * WS.alpha + WS.shift + dw) | |
| 245 | - (hMP : g ≤ h * MP.alpha + dm) (m : ℕ) : | |
| 246 | - ∃ C : ℝ, 0 ≤ C ∧ ∀ w ∈ CutStageEstimates.physicalSublevel h qbig, | |
| 247 | - PhysicalWaveSum.physicalQ h w ≤ 1 → | |
| 248 | - ‖iteratedFDeriv ℝ m (pressureIncrement WP WS MP) w‖ ≤ | |
| 249 | - C * PhysicalWaveSum.physicalQ h w ^ (g - PhysicalStageBounds.pressureLoss h dw dm m) := by | |
| 250 | - have hp0 := WP.pressure_bound_with_gain hh hh1 hWP m | |
| 251 | - have hs0 := WS.pressure_bound_with_gain hh hh1 hWS m | |
| 252 | - have hp := weaken_bound (qbig := qbig) (s := g - PhysicalStageBounds.pressureLoss h dw dm m) hh hh1 | |
| 253 | - (sub_le_sub_left (le_max_left _ _) g) (by | |
| 254 | - obtain ⟨C, hC, hb⟩ := hp0 | |
| 255 | - exact ⟨C, hC, fun w hw hqw => hb w hw.1 hqw⟩) | |
| 256 | - have hs := weaken_bound (qbig := qbig) (s := g - PhysicalStageBounds.pressureLoss h dw dm m) hh hh1 | |
| 257 | - (sub_le_sub_left (le_max_left _ _) g) (by | |
| 258 | - obtain ⟨C, hC, hb⟩ := hs0 | |
| 259 | - exact ⟨C, hC, fun w hw hqw => hb w hw.1 hqw⟩) | |
| 260 | - have hm := weaken_bound (s := g - PhysicalStageBounds.pressureLoss h dw dm m) | |
| 261 | - hh hh1 (sub_le_sub_left (le_max_right _ _) g) | |
| 262 | - (MP.field_bound_with_gain hh hh1 hq hMP m) | |
| 263 | - have sp : ContDiffOn ℝ ∞ WP.pressure (CutStageEstimates.physicalSublevel h qbig) := | |
| 264 | - (WP.pressure_smooth hh hh1).mono inter_subset_left | |
| 265 | - have ss : ContDiffOn ℝ ∞ WS.pressure (CutStageEstimates.physicalSublevel h qbig) := | |
| 266 | - (WS.pressure_smooth hh hh1).mono inter_subset_left | |
| 267 | - exact add_bounds hh hh1 (sp.add ss) (MP.field_smooth hh hh1 hq) | |
| 268 | - (add_bounds hh hh1 sp ss hp hs) hm | |
| 269 | - | |
| 270 | 202 | end Increments |
| 271 | 203 | |
| 272 | 204 | /-! ## Positive correction stages and the exact ledger gain -/ |
| @@ -349,18 +281,6 @@ variable {h κ qbig : ℝ} | ||
| 349 | 281 | [NormedAddCommGroup DS] [NormedSpace ℝ DS] {IP KP IS KS : Type*} |
| 350 | 282 | (D : CycleInputs h DP IP KP DS IS KS) |
| 351 | 283 | |
| 352 | -theorem potential_bound (H : D.Metadata κ) (Q : D.ValidScale qbig) | |
| 353 | - (hh : 0 < h) (hh1 : h < 1 / 2) (hκ : κ ≤ 1 / 100000) (k m : ℕ) : | |
| 354 | - ∃ C : ℝ, 0 ≤ C ∧ ∀ w ∈ CutStageEstimates.physicalSublevel h qbig, | |
| 355 | - PhysicalWaveSum.physicalQ h w ≤ 1 → | |
| 356 | - ‖iteratedFDeriv ℝ m (D.potential k) w‖ ≤ C * PhysicalWaveSum.physicalQ h w ^ | |
| 357 | - (ActualIterationLedger.gain h (k + 1) - PhysicalStageBounds.potentialLoss h h 0 m) := | |
| 358 | - potentialIncrement_bound (D.particularPotential k) (D.signedPotential k) (D.temporal k) (D.rank k) | |
| 359 | - hh hh1 (Q.temporal k) (Q.rank k) | |
| 360 | - (potential_gain hh.le hκ k (H.particularPotential k) (H.particularPotentialShift k)) | |
| 361 | - (potential_gain hh.le hκ k (H.signedPotential k) (H.signedPotentialShift k)) | |
| 362 | - (mean_gain hh.le hκ k (H.temporal k)) (mean_gain hh.le hκ k (H.rank k)) m | |
| 363 | - | |
| 364 | 284 | theorem direct_bound (H : D.Metadata κ) (Q : D.ValidScale qbig) |
| 365 | 285 | (hh : 0 < h) (hh1 : h < 1 / 2) (hκ : κ ≤ 1 / 100000) (k m : ℕ) : |
| 366 | 286 | ∃ C : ℝ, 0 ≤ C ∧ ∀ w ∈ CutStageEstimates.physicalSublevel h qbig, |
| @@ -369,18 +289,6 @@ theorem direct_bound (H : D.Metadata κ) (Q : D.ValidScale qbig) | ||
| 369 | 289 | (ActualIterationLedger.gain h (k + 1) - PhysicalStageBounds.directLoss h 0 m) := |
| 370 | 290 | (D.angular k).angular_bound_with_gain hh hh1 (Q.angular k) (mean_gain hh.le hκ k (H.angular k)) m |
| 371 | 291 | |
| 372 | -theorem pressure_bound (H : D.Metadata κ) (Q : D.ValidScale qbig) | |
| 373 | - (hh : 0 < h) (hh1 : h < 1 / 2) (hκ : κ ≤ 1 / 100000) (k m : ℕ) : | |
| 374 | - ∃ C : ℝ, 0 ≤ C ∧ ∀ w ∈ CutStageEstimates.physicalSublevel h qbig, | |
| 375 | - PhysicalWaveSum.physicalQ h w ≤ 1 → | |
| 376 | - ‖iteratedFDeriv ℝ m (D.pressureField k) w‖ ≤ C * PhysicalWaveSum.physicalQ h w ^ | |
| 377 | - (ActualIterationLedger.gain h (k + 1) - PhysicalStageBounds.pressureLoss h (2 * CoordinateAlgebra.A h) 0 m) := | |
| 378 | - pressureIncrement_bound (D.particularPressure k) (D.signedPressure k) (D.pressure k) | |
| 379 | - hh hh1 (Q.pressure k) | |
| 380 | - (pressure_gain hh.le hκ k (H.particularPressure k) (H.particularPressureShift k)) | |
| 381 | - (pressure_gain hh.le hκ k (H.signedPressure k) (H.signedPressureShift k)) | |
| 382 | - (mean_gain hh.le hκ k (H.pressure k)) m | |
| 383 | - | |
| 384 | 292 | theorem potential_smooth (Q : D.ValidScale qbig) (hh : 0 < h) (hh1 : h < 1 / 2) (k : ℕ) : |
| 385 | 293 | ContDiffOn ℝ ∞ (D.potential k) (CutStageEstimates.physicalSublevel h qbig) := |
| 386 | 294 | potentialIncrement_smooth _ _ _ _ hh hh1 (Q.temporal k) (Q.rank k) |
| @@ -444,33 +352,6 @@ variable {h κ qbig : ℝ} | ||
| 444 | 352 | [NormedAddCommGroup DS] [NormedSpace ℝ DS] {IP KP IS KS : Type*} |
| 445 | 353 | (D : CycleInputs h DP IP KP DS IS KS) |
| 446 | 354 | |
| 447 | -/-- Literal sequence identities transfer the derived estimates to the | |
| 448 | -actual potential/direct/pressure stages. Index zero is deliberately absent. -/ | |
| 449 | -theorem represented_raw_bounds (H : D.Metadata κ) (Q : D.ValidScale qbig) | |
| 450 | - (hh : 0 < h) (hh1 : h < 1 / 2) (hκ : κ ≤ 1 / 100000) | |
| 451 | - (A B : ℕ → VelocityField) (P : ℕ → PressureField) | |
| 452 | - (hA : ∀ k, EqOn (D.potential k) (A (k + 1)) (CutStageEstimates.physicalSublevel h qbig)) | |
| 453 | - (hB : ∀ k, EqOn (D.direct k) (B (k + 1)) (CutStageEstimates.physicalSublevel h qbig)) | |
| 454 | - (hP : ∀ k, EqOn (D.pressureField k) (P (k + 1)) (CutStageEstimates.physicalSublevel h qbig)) : | |
| 455 | - ∃ CA CB CP : ℕ → ℕ → ℝ, | |
| 456 | - (∀ j m, 0 ≤ CA j m ∧ 0 ≤ CB j m ∧ 0 ≤ CP j m) ∧ | |
| 457 | - CutStageEstimates.RawStageBounds (PhysicalWaveSum.physicalQ h) A (ActualIterationLedger.gain h) | |
| 458 | - (PhysicalStageBounds.potentialLoss h h 0) CA (fun _ _ => 0) | |
| 459 | - (PhysicalWaveSum.preterminal ∩ CutStageEstimates.physicalSublevel h qbig) ∧ | |
| 460 | - CutStageEstimates.RawStageBounds (PhysicalWaveSum.physicalQ h) B (ActualIterationLedger.gain h) | |
| 461 | - (PhysicalStageBounds.directLoss h 0) CB (fun _ _ => 0) | |
| 462 | - (PhysicalWaveSum.preterminal ∩ CutStageEstimates.physicalSublevel h qbig) ∧ | |
| 463 | - CutStageEstimates.RawStageBounds (PhysicalWaveSum.physicalQ h) P (ActualIterationLedger.gain h) | |
| 464 | - (PhysicalStageBounds.pressureLoss h (2 * CoordinateAlgebra.A h) 0) CP (fun _ _ => 0) | |
| 465 | - (PhysicalWaveSum.preterminal ∩ CutStageEstimates.physicalSublevel h qbig) := by | |
| 466 | - obtain ⟨CA, hCA, ha⟩ := raw_of_positive_bounds | |
| 467 | - (fun k m => bound_congr hh hh1 (hA k) (D.potential_bound H Q hh hh1 hκ k m)) | |
| 468 | - obtain ⟨CB, hCB, hb⟩ := raw_of_positive_bounds | |
| 469 | - (fun k m => bound_congr hh hh1 (hB k) (D.direct_bound H Q hh hh1 hκ k m)) | |
| 470 | - obtain ⟨CP, hCP, hp⟩ := raw_of_positive_bounds | |
| 471 | - (fun k m => bound_congr hh hh1 (hP k) (D.pressure_bound H Q hh hh1 hκ k m)) | |
| 472 | - exact ⟨CA, CB, CP, fun j m => ⟨hCA j m, hCB j m, hCP j m⟩, ha, hb, hp⟩ | |
| 473 | - | |
| 474 | 355 | end CycleInputs |
| 475 | 356 | |
| 476 | 357 | /-! ## Initialization on the true native mean domain -/ |
| @@ -579,18 +460,6 @@ theorem initialPressureIncrement_bound (W : PhysicalStageBounds.WaveData h D I K | ||
| 579 | 460 | (W.pressure_smooth hh hh1).mono inter_subset_left |
| 580 | 461 | exact add_bounds hh hh1 sw (M.field_smooth hh hh1 hq) hw hm |
| 581 | 462 | |
| 582 | -theorem initialPressureIncrement_rate (W : PhysicalStageBounds.WaveData h D I K Unit) | |
| 583 | - (M : MeanInput h (2 * CoordinateAlgebra.A h)) | |
| 584 | - (hh : 0 < h) (hh1 : h < 1 / 2) {qbig : ℝ} (hqbig : 0 < qbig) | |
| 585 | - (hq : qbig ≤ ChartScales.Q M.firstBand) (m : ℕ) : | |
| 586 | - JetRate ActualBaseVelocityBounds.endpoint (PhysicalWaveSum.physicalQ h) | |
| 587 | - (initialPressureIncrement W M) m (-initialPressureLoss h W.alpha W.shift M.alpha m) := by | |
| 588 | - obtain ⟨C, hC, hb⟩ := initialPressureIncrement_bound W M hh hh1 hq m | |
| 589 | - refine ⟨C, hC, ?_⟩ | |
| 590 | - filter_upwards [InitializedPhysicalBackground.endpoint_sublevel hh hh1 hqbig, | |
| 591 | - ActualBaseVelocityBounds.endpoint_q_small hh hh1] with w hw hqw | |
| 592 | - exact hb w hw hqw.2 | |
| 593 | - | |
| 594 | 463 | omit [NormedAddCommGroup D] [NormedSpace ℝ D] in |
| 595 | 464 | theorem initialDirect_rate (MB : MeanInput h (CoordinateAlgebra.A h)) |
| 596 | 465 | (hh : 0 < h) (hh1 : h < 1 / 2) {qbig : ℝ} (hqbig : 0 < qbig) |
| @@ -721,63 +590,6 @@ theorem represented_initial_rate (upper : ℝ) (B : ℕ) | ||
| 721 | 590 | MB.family.angularField w = SpatialCurl.spatialCurl (A 0) w + Bdirect 0 w |
| 722 | 591 | rw [SolenoidalDiagonal.spatialCurl_eq_of_eventuallyEq he, hB hw] |
| 723 | 592 | |
| 724 | -/-- The finite-background consumer now uses only native wave/mean data | |
| 725 | -on the true domain, plus exact initial and positive-stage identities. -/ | |
| 726 | -theorem background_from_representations | |
| 727 | - {DP DS : Type} [NormedAddCommGroup DP] [NormedSpace ℝ DP] | |
| 728 | - [NormedAddCommGroup DS] [NormedSpace ℝ DS] {IP KP IS KS : Type*} | |
| 729 | - (Cyc : CycleInputs F.data.h DP IP KP DS IS KS) {κ qbig : ℝ} | |
| 730 | - (HM : Cyc.Metadata κ) (HQ : Cyc.ValidScale qbig) (hκ : κ ≤ 1 / 100000) | |
| 731 | - (hqbig : 0 < qbig) (upper : ℝ) (bandFloor : ℕ) | |
| 732 | - (WA : PhysicalStageBounds.WaveData F.data.h D I K (Fin 3)) | |
| 733 | - (MT MR : MeanInput F.data.h (CoordinateAlgebra.A F.data.h - 1 / 2)) | |
| 734 | - (MB : MeanInput F.data.h (CoordinateAlgebra.A F.data.h)) | |
| 735 | - (hqT : qbig ≤ ChartScales.Q MT.firstBand) (hqR : qbig ≤ ChartScales.Q MR.firstBand) | |
| 736 | - (hqB : qbig ≤ ChartScales.Q MB.firstBand) | |
| 737 | - (A B : ℕ → VelocityField) | |
| 738 | - (hA0 : EqOn (A 0) (initialPotential H v upper bandFloor WA MT MR) | |
| 739 | - (CutStageEstimates.physicalSublevel F.data.h qbig)) | |
| 740 | - (hB0 : EqOn (B 0) MB.family.angularField (CutStageEstimates.physicalSublevel F.data.h qbig)) | |
| 741 | - (hA : ∀ k, EqOn (Cyc.potential k) (A (k + 1)) (CutStageEstimates.physicalSublevel F.data.h qbig)) | |
| 742 | - (hB : ∀ k, EqOn (Cyc.direct k) (B (k + 1)) (CutStageEstimates.physicalSublevel F.data.h qbig)) | |
| 743 | - (J m : ℕ) : | |
| 744 | - JetRate ActualBaseVelocityBounds.endpoint (PhysicalWaveSum.physicalQ F.data.h) | |
| 745 | - (MixedDiagonalResidual.uncutVelocity A B J) m | |
| 746 | - (-MixedFiniteBackground.initialBackgroundLoss | |
| 747 | - (initialLoss F.data.h WA.alpha WA.shift (min MT.alpha MR.alpha) MB.alpha) | |
| 748 | - (PhysicalStageBounds.potentialLoss F.data.h F.data.h 0) | |
| 749 | - (PhysicalStageBounds.directLoss F.data.h 0) m) := by | |
| 750 | - have hU := CutStageEstimates.physicalSublevel_open F.data.h_pos F.data.h_lt_half qbig | |
| 751 | - have hlU := InitializedPhysicalBackground.endpoint_sublevel F.data.h_pos F.data.h_lt_half hqbig | |
| 752 | - have hsa : ∀ j, ContDiffOn ℝ ∞ (A j) (CutStageEstimates.physicalSublevel F.data.h qbig) := by | |
| 753 | - intro j | |
| 754 | - cases j with | |
| 755 | - | zero => | |
| 756 | - exact (initialPotential_smooth H v upper bandFloor WA MT MR hqT hqR).congr | |
| 757 | - (fun _ hw => hA0 hw) | |
| 758 | - | succ k => | |
| 759 | - exact (Cyc.potential_smooth HQ F.data.h_pos F.data.h_lt_half k).congr | |
| 760 | - (fun _ hw => (hA k hw).symm) | |
| 761 | - have hsb : ∀ j, ContDiffOn ℝ ∞ (B j) (CutStageEstimates.physicalSublevel F.data.h qbig) := by | |
| 762 | - intro j | |
| 763 | - cases j with | |
| 764 | - | zero => | |
| 765 | - exact (MB.angular_smooth F.data.h_pos F.data.h_lt_half hqB).congr (fun _ hw => hB0 hw) | |
| 766 | - | succ k => | |
| 767 | - exact (Cyc.direct_smooth HQ F.data.h_pos F.data.h_lt_half k).congr | |
| 768 | - (fun _ hw => (hB k hw).symm) | |
| 769 | - obtain ⟨CA, _, hrawA⟩ := raw_of_positive_bounds (fun k m => | |
| 770 | - bound_congr F.data.h_pos F.data.h_lt_half (hA k) | |
| 771 | - (Cyc.potential_bound HM HQ F.data.h_pos F.data.h_lt_half hκ k m)) | |
| 772 | - obtain ⟨CB, _, hrawB⟩ := raw_of_positive_bounds (fun k m => | |
| 773 | - bound_congr F.data.h_pos F.data.h_lt_half (hB k) | |
| 774 | - (Cyc.direct_bound HM HQ F.data.h_pos F.data.h_lt_half hκ k m)) | |
| 775 | - exact MixedFiniteBackground.mixed_background_from_initial hU hlU | |
| 776 | - (ActualBaseVelocityBounds.endpoint_past.and hlU) | |
| 777 | - (ActualBaseVelocityBounds.endpoint_q_small F.data.h_pos F.data.h_lt_half) | |
| 778 | - hsa hsb hrawA hrawB (fun j _ => ActualIterationLedger.gain_nonneg F.data.h_pos.le j) | |
| 779 | - (represented_initial_rate H v upper bandFloor WA MT MR MB hU hlU hA0 hB0) J m | |
| 780 | - | |
| 781 | 593 | end ActualInitialBase |
| 782 | 594 | |
| 783 | 595 | /-! ## Literal candidate sequence interface -/ |
| @@ -792,44 +604,6 @@ variable {F : OutgoingProfile.Profile} {W : NominalProfile.Witness F} | ||
| 792 | 604 | {DP DS : Type} [NormedAddCommGroup DP] [NormedSpace ℝ DP] |
| 793 | 605 | [NormedAddCommGroup DS] [NormedSpace ℝ DS] {IP KP IS KS : Type*} |
| 794 | 606 | |
| 795 | -/-- Quantitative bounds for the actual MCA/MAS indexing convention. | |
| 796 | -The remaining representations concern the literal component fields. -/ | |
| 797 | -theorem candidate_raw_bounds | |
| 798 | - (Cyc : CycleInputs F.data.h DP IP KP DS IS KS) {κ qbig : ℝ} | |
| 799 | - (HM : Cyc.Metadata κ) (HQ : Cyc.ValidScale qbig) (hκ : κ ≤ 1 / 100000) | |
| 800 | - (upper : ℝ) (bandFloor : ℕ) | |
| 801 | - (initial : MixedAxisPreservation.PotentialStage.{u} F.data.h | |
| 802 | - (MixedAxisPreservation.localDomain F.data.h qbig)) | |
| 803 | - (stages : ℕ → MixedAxisPreservation.PotentialStage.{u} F.data.h | |
| 804 | - (MixedAxisPreservation.localDomain F.data.h qbig)) | |
| 805 | - (angular : ℕ → DirectAngularDiagonal.AngularData (LocalAngularDiagonal.localSlowDomain F.data.h qbig)) | |
| 806 | - (pInitial : PressureField) (pStages : ℕ → PressureField) | |
| 807 | - (hA : ∀ k, EqOn (Cyc.potential k) (stages k).field (CutStageEstimates.physicalSublevel F.data.h qbig)) | |
| 808 | - (hB : ∀ k, EqOn (Cyc.direct k) (LocalAngularDiagonal.rawSeries angular (k + 1)) | |
| 809 | - (CutStageEstimates.physicalSublevel F.data.h qbig)) | |
| 810 | - (hP : ∀ k, EqOn (Cyc.pressureField k) (pStages k) (CutStageEstimates.physicalSublevel F.data.h qbig)) : | |
| 811 | - ∃ CA CB CP : ℕ → ℕ → ℝ, | |
| 812 | - (∀ j m, 0 ≤ CA j m ∧ 0 ≤ CB j m ∧ 0 ≤ CP j m) ∧ | |
| 813 | - CutStageEstimates.RawStageBounds (PhysicalWaveSum.physicalQ F.data.h) | |
| 814 | - (MixedCandidateAssembly.potentialStages H v upper bandFloor initial stages) | |
| 815 | - (ActualIterationLedger.gain F.data.h) (PhysicalStageBounds.potentialLoss F.data.h F.data.h 0) | |
| 816 | - CA (fun _ _ => 0) (PhysicalWaveSum.preterminal ∩ CutStageEstimates.physicalSublevel F.data.h qbig) ∧ | |
| 817 | - CutStageEstimates.RawStageBounds (PhysicalWaveSum.physicalQ F.data.h) | |
| 818 | - (LocalAngularDiagonal.rawSeries angular) (ActualIterationLedger.gain F.data.h) | |
| 819 | - (PhysicalStageBounds.directLoss F.data.h 0) CB (fun _ _ => 0) | |
| 820 | - (PhysicalWaveSum.preterminal ∩ CutStageEstimates.physicalSublevel F.data.h qbig) ∧ | |
| 821 | - CutStageEstimates.RawStageBounds (PhysicalWaveSum.physicalQ F.data.h) | |
| 822 | - (MixedCandidateAssembly.pressureStages H v upper bandFloor pInitial pStages) | |
| 823 | - (ActualIterationLedger.gain F.data.h) | |
| 824 | - (PhysicalStageBounds.pressureLoss F.data.h (2 * CoordinateAlgebra.A F.data.h) 0) | |
| 825 | - CP (fun _ _ => 0) (PhysicalWaveSum.preterminal ∩ CutStageEstimates.physicalSublevel F.data.h qbig) := by | |
| 826 | - apply Cyc.represented_raw_bounds HM HQ F.data.h_pos F.data.h_lt_half hκ | |
| 827 | - · intro k | |
| 828 | - simpa only [MixedCandidateAssembly.potentialStages, MixedAxisPreservation.initializedSeries_succ] using hA k | |
| 829 | - · exact hB | |
| 830 | - · intro k | |
| 831 | - simpa only [MixedCandidateAssembly.pressureStages_succ] using hP k | |
| 832 | - | |
| 833 | 607 | end CandidateSequences |
| 834 | 608 | |
| 835 | 609 | /-! ## Adapters for the constructed native mean families -/ |
| @@ -877,23 +651,6 @@ noncomputable def actualInitialPressureInput (B N0 N : ℕ) (hN : 4 ≤ N) : | ||
| 877 | 651 | @[simp] theorem actualInitialPressureInput_family (B N0 N : ℕ) (hN : 4 ≤ N) : |
| 878 | 652 | (actualInitialPressureInput B N0 N hN).family = initialPressureFamily B N0 N := rfl |
| 879 | 653 | |
| 880 | -/-- The actual initialized velocity, with its actual initial temporal, | |
| 881 | -rank, and direct angular families. Only the primary wave representation | |
| 882 | -is supplied by the separate physical-copy construction. -/ | |
| 883 | -theorem actualInitialVelocity_rate | |
| 884 | - {D : Type} [NormedAddCommGroup D] [NormedSpace ℝ D] {I K : Type*} | |
| 885 | - (B N0 N : ℕ) (hN : 4 ≤ N) (WA : PhysicalStageBounds.WaveData h D I K (Fin 3)) (m : ℕ) : | |
| 886 | - JetRate ActualBaseVelocityBounds.endpoint (PhysicalWaveSum.physicalQ h) | |
| 887 | - (initialVelocity certificate modulation upper B WA | |
| 888 | - (actualInitialTemporalInput B N0 N hN) (actualInitialRankInput B N0 N hN) | |
| 889 | - (actualInitialAngularInput B N0 N hN)) m | |
| 890 | - (-initialLoss h WA.alpha WA.shift (1 - ChartScales.kappa) (9 / 10) m) := by | |
| 891 | - simpa only [actualInitialTemporalInput, actualInitialRankInput, actualInitialAngularInput, | |
| 892 | - MeanInput.ofMoving, min_self] using | |
| 893 | - initialVelocity_rate certificate modulation upper B WA | |
| 894 | - (actualInitialTemporalInput B N0 N hN) (actualInitialRankInput B N0 N hN) | |
| 895 | - (actualInitialAngularInput B N0 N hN) m | |
| 896 | - | |
| 897 | 654 | variable {B N0 N : ℕ} {p : ℕ → CycleParameters (ActualInitialization.Index B N0)} |
| 898 | 655 | |
| 899 | 656 | /-- These four cycle adapters retain the literal families of the actual |
+0 −55 NavierStokes/ActualPolarCoverage.lean View file
| @@ -39,16 +39,6 @@ noncomputable def nativeDomain : Set Cylinder := | ||
| 39 | 39 | theorem inner_pos : 0 < inner := |
| 40 | 40 | div_pos (PrimaryTargetBounds.leftRadius_pos ActualPrimary.nominal) (by norm_num) |
| 41 | 41 | |
| 42 | -theorem outer_pos : 0 < outer := | |
| 43 | - mul_pos (by norm_num) (PrimaryTargetBounds.rightRadius_pos ActualPrimary.nominal) | |
| 44 | - | |
| 45 | -theorem inner_lt_outer : inner < outer := by | |
| 46 | - have ha := PrimaryTargetBounds.leftRadius_pos ActualPrimary.nominal | |
| 47 | - have hab := PrimaryTargetBounds.radii_ordered ActualPrimary.nominal | |
| 48 | - change PrimaryTargetBounds.leftRadius ActualPrimary.nominal / 4 < | |
| 49 | - 2 * PrimaryTargetBounds.rightRadius ActualPrimary.nominal | |
| 50 | - linarith | |
| 51 | - | |
| 52 | 42 | theorem nativeDomain_open : IsOpen nativeDomain := |
| 53 | 43 | HarmonicResidual.liftDomain_open |
| 54 | 44 | (ActualInitialization.geometry.domain_open.inter |
| @@ -57,9 +47,6 @@ theorem nativeDomain_open : IsOpen nativeDomain := | ||
| 57 | 47 | theorem nativeDomain_radius_pos {x : Cylinder} (hx : x ∈ nativeDomain) : |
| 58 | 48 | 0 < x.1.1 := hx.1.2 |
| 59 | 49 | |
| 60 | -theorem nativeDomain_radius_ne {x : Cylinder} (hx : x ∈ nativeDomain) : | |
| 61 | - x.1.1 ≠ 0 := (nativeDomain_radius_pos hx).ne' | |
| 62 | - | |
| 63 | 50 | /-! ## Scale identities independent of the particular actual profile -/ |
| 64 | 51 | |
| 65 | 52 | theorem graph_radius_nonneg (h : ℝ) (n d : ℕ) (w : SpaceTime) : |
| @@ -225,15 +212,6 @@ theorem selected_annulus (n : ℕ) {w : SpaceTime} (hw : w ∈ preterminal) | ||
| 225 | 212 | · change PrimaryTargetBounds.leftRadius ActualPrimary.nominal / 4 ≤ ‖scaledRadial n w‖ |
| 226 | 213 | linarith only [hRlo, PolarCharts.radius_le_two_norm (scaledRadial n w)] |
| 227 | 214 | |
| 228 | -theorem selected_chart_exists (n : ℕ) {w : SpaceTime} (hw : w ∈ preterminal) | |
| 229 | - (hactive : w ∈ active) | |
| 230 | - (hqQ : physicalQ ActualPrimary.h w ≤ ChartScales.Q n) | |
| 231 | - (hQq : ChartScales.Q n < 2 * physicalQ ActualPrimary.h w) : | |
| 232 | - ∃ j : PolarCharts.Index, scaledRadial n w ∈ PolarCharts.chartDomain inner j := by | |
| 233 | - obtain ⟨j, hj⟩ := PolarCharts.annulus_covered inner_pos | |
| 234 | - (selected_annulus n hw hactive hqQ hQq) | |
| 235 | - exact ⟨j, PolarCharts.sector_subset_chartDomain inner_pos j hj⟩ | |
| 236 | - | |
| 237 | 215 | theorem selected_polar_nativeDomain (j : PolarCharts.Index) (n d : ℕ) |
| 238 | 216 | {w : SpaceTime} (hw : w ∈ preterminal) (hactive : w ∈ active) |
| 239 | 217 | (hqQ : physicalQ ActualPrimary.h w ≤ ChartScales.Q n) |
| @@ -262,37 +240,4 @@ theorem selected_polar_closure (j : PolarCharts.Index) (n d : ℕ) | ||
| 262 | 240 | |
| 263 | 241 | /-! ## Selection above an arbitrary certified floor -/ |
| 264 | 242 | |
| 265 | -theorem exists_selected_band (N : ℕ) {w : SpaceTime} | |
| 266 | - (hw : w ∈ preterminal) (hactive : w ∈ active) | |
| 267 | - (hsmall : physicalQ ActualPrimary.h w ≤ ChartScales.Q N) : | |
| 268 | - ∃ n : ℕ, N ≤ n ∧ physicalQ ActualPrimary.h w ≤ ChartScales.Q n ∧ | |
| 269 | - ChartScales.Q n < 2 * physicalQ ActualPrimary.h w ∧ | |
| 270 | - scaledRadial n w ∈ annulus inner outer ∧ | |
| 271 | - ∀ (j : PolarCharts.Index) (d : ℕ), | |
| 272 | - scaledRadial n w ∈ PolarCharts.chartDomain inner j → | |
| 273 | - PhysicalResidualJetBounds.polarGraph inner ActualPrimary.h j n d w ∈ nativeDomain ∧ | |
| 274 | - PhysicalResidualJetBounds.polarGraph inner ActualPrimary.h j n d w ∈ | |
| 275 | - closure (HarmonicResidual.liftDomain ActualInitialization.geometry.strip.domain) := by | |
| 276 | - obtain ⟨n, hn, hqQ, hQq⟩ := exists_comparable_band N | |
| 277 | - (physicalQ_pos ActualPrimary.outgoing.data.h_pos ActualPrimary.outgoing.data.h_lt_half hw) | |
| 278 | - hsmall | |
| 279 | - refine ⟨n, hn, hqQ, hQq, selected_annulus n hw hactive hqQ hQq, ?_⟩ | |
| 280 | - intro j d hj | |
| 281 | - exact ⟨selected_polar_nativeDomain j n d hw hactive hqQ hQq hj, | |
| 282 | - selected_polar_closure j n d hw hactive hqQ hQq hj⟩ | |
| 283 | - | |
| 284 | -theorem exists_selected_band_of_qbig (firstBand : ℕ) {qbig : ℝ} {w : SpaceTime} | |
| 285 | - (hw : w ∈ preterminal) (hactive : w ∈ active) | |
| 286 | - (hsmall : physicalQ ActualPrimary.h w ≤ qbig) | |
| 287 | - (hfloor : qbig ≤ ChartScales.Q firstBand) : | |
| 288 | - ∃ n : ℕ, firstBand ≤ n ∧ physicalQ ActualPrimary.h w ≤ ChartScales.Q n ∧ | |
| 289 | - ChartScales.Q n < 2 * physicalQ ActualPrimary.h w ∧ | |
| 290 | - scaledRadial n w ∈ annulus inner outer ∧ | |
| 291 | - ∀ (j : PolarCharts.Index) (d : ℕ), | |
| 292 | - scaledRadial n w ∈ PolarCharts.chartDomain inner j → | |
| 293 | - PhysicalResidualJetBounds.polarGraph inner ActualPrimary.h j n d w ∈ nativeDomain ∧ | |
| 294 | - PhysicalResidualJetBounds.polarGraph inner ActualPrimary.h j n d w ∈ | |
| 295 | - closure (HarmonicResidual.liftDomain ActualInitialization.geometry.strip.domain) := | |
| 296 | - exists_selected_band firstBand hw hactive (hsmall.trans hfloor) | |
| 297 | - | |
| 298 | 243 | end NavierStokes.ActualPolarCoverage |
+0 −60 NavierStokes/ActualPrimaryBounds.lean View file
| @@ -480,22 +480,6 @@ theorem periodized_uniform {E : Type*} [NormedAddCommGroup E] [NormedSpace ℝ E | ||
| 480 | 480 | · exact (hx (by simp only [copied, ite_eq_right hn])).elim |
| 481 | 481 | · exact copied_uniformLocalJets hf |
| 482 | 482 | |
| 483 | -theorem periodized_velocity_uniform : | |
| 484 | - LabelSumBounds.UniformWaveClass nativeStrip envelope (1 / 2) | |
| 485 | - (periodized (CoordinateAlgebra.A ActualPrimary.h) | |
| 486 | - (fun l : SignedLabel B N0 => fun x => CurlClassBounds.complexify (ActualPrimary.attachedRawVelocity l.1 l.2 x))) := by | |
| 487 | - apply periodized_uniform complex_velocity_native_jets | |
| 488 | - intro l x hx | |
| 489 | - apply ActualPrimary.attachedRawVelocity_core l.1 l.2 x | |
| 490 | - intro hz | |
| 491 | - exact hx (by rw [hz, map_zero]) | |
| 492 | - | |
| 493 | -theorem periodized_pressure_uniform : | |
| 494 | - LabelSumBounds.UniformWaveClass nativeStrip envelope 1 | |
| 495 | - (periodized (2 * CoordinateAlgebra.A ActualPrimary.h) | |
| 496 | - (fun l : SignedLabel B N0 => ActualPrimary.attachedRawPressure l.1 l.2)) := | |
| 497 | - periodized_uniform pressure_native_jets (fun l x => ActualPrimary.attachedRawPressure_core l.1 l.2 x) | |
| 498 | - | |
| 499 | 483 | end ActualCopySums |
| 500 | 484 | |
| 501 | 485 | section InactiveBands |
| @@ -652,36 +636,6 @@ theorem uniform_lift {D E ι : Type} [NormedAddCommGroup D] [NormedSpace ℝ D] | ||
| 652 | 636 | noncomputable def fullEnvelope (l : SignedLabel B N0) (n : ℕ) (x : ActualPrimary.FullPoint) : ℝ := |
| 653 | 637 | envelope l n (ActualSignedGeometry.meanEquiv.symm x.1) |
| 654 | 638 | |
| 655 | -theorem chart_amplitude_uniform : | |
| 656 | - LabelSumBounds.UniformWaveClass (HarmonicWaveInteraction.productStrip strip) fullEnvelope (1 / 2) | |
| 657 | - (fun l : SignedLabel B N0 => (ActualPrimary.chartCoefficients l.1 l.2).amplitude) := by | |
| 658 | - have hh := UniformBlockBounds.uniform_reindex ActualSignedGeometry.meanEquiv.symm | |
| 659 | - (periodized_velocity_uniform (B := B) (N0 := N0)) | |
| 660 | - change LabelSumBounds.UniformWaveClass strip | |
| 661 | - (fun l n x => envelope l n (ActualSignedGeometry.meanEquiv.symm x)) (1 / 2) | |
| 662 | - (fun l n x => periodized (CoordinateAlgebra.A ActualPrimary.h) | |
| 663 | - (fun l : SignedLabel B N0 => fun y => CurlClassBounds.complexify (ActualPrimary.attachedRawVelocity l.1 l.2 y)) | |
| 664 | - l n (ActualSignedGeometry.meanEquiv.symm x)) at hh | |
| 665 | - apply (uniform_lift hh).congr | |
| 666 | - intro l n x hx | |
| 667 | - simpa only [ActualSignedGeometry.meanEquiv.apply_symm_apply] using | |
| 668 | - periodized_velocity_eq l n (x := ActualSignedGeometry.meanEquiv.symm x.1) hx x.2 | |
| 669 | - | |
| 670 | -theorem chart_pressure_uniform : | |
| 671 | - LabelSumBounds.UniformWaveClass (HarmonicWaveInteraction.productStrip strip) fullEnvelope 1 | |
| 672 | - (fun l : SignedLabel B N0 => (ActualPrimary.chartCoefficients l.1 l.2).pressure) := by | |
| 673 | - have hh := UniformBlockBounds.uniform_reindex ActualSignedGeometry.meanEquiv.symm | |
| 674 | - (periodized_pressure_uniform (B := B) (N0 := N0)) | |
| 675 | - change LabelSumBounds.UniformWaveClass strip | |
| 676 | - (fun l n x => envelope l n (ActualSignedGeometry.meanEquiv.symm x)) 1 | |
| 677 | - (fun l n x => periodized (2 * CoordinateAlgebra.A ActualPrimary.h) | |
| 678 | - (fun l : SignedLabel B N0 => ActualPrimary.attachedRawPressure l.1 l.2) | |
| 679 | - l n (ActualSignedGeometry.meanEquiv.symm x)) at hh | |
| 680 | - apply (uniform_lift hh).congr | |
| 681 | - intro l n x hx | |
| 682 | - simpa only [ActualSignedGeometry.meanEquiv.apply_symm_apply] using | |
| 683 | - periodized_pressure_eq l n (x := ActualSignedGeometry.meanEquiv.symm x.1) hx x.2 | |
| 684 | - | |
| 685 | 639 | end LiteralCoefficients |
| 686 | 640 | |
| 687 | 641 | section GaussianCutoff |
| @@ -1734,20 +1688,6 @@ theorem exact_block_uniform : | ||
| 1734 | 1688 | (fun l : SignedLabel B N0 => (ActualPrimary.piece region l.1 l.2).exactCoefficients) |
| 1735 | 1689 | angularFrequency chart_exact_amplitude_uniform chart_exact_pressure_uniform |
| 1736 | 1690 | |
| 1737 | -theorem difference_block_uniform : | |
| 1738 | - ∀ i m, LabelSumBounds.UniformWaveClass strip (meanEnvelope (B := B) (N0 := N0)) | |
| 1739 | - (1 - ChartScales.kappa) | |
| 1740 | - (fun l n x => ((ActualPrimary.piece region l.1 l.2).differenceBlock (phase l) (angularFrequency l)).velocity n i m x) := by | |
| 1741 | - have hp : LabelSumBounds.UniformWaveClass fullStrip (fullEnvelope (B := B) (N0 := N0)) | |
| 1742 | - (1 - ChartScales.kappa) (fun _ _ _ => (0 : ℂ)) := | |
| 1743 | - LabelSumBounds.UniformClass.zero (fun l n x _ => | |
| 1744 | - mul_nonneg (Real.sqrt_nonneg _) (fullEnvelope_nonneg l n x)) | |
| 1745 | - exact (UniformBlockBounds.blockOfCoefficients_product_uniform | |
| 1746 | - (s := strip) (P := meanEnvelope (B := B) (N0 := N0)) | |
| 1747 | - (α := 1 - ChartScales.kappa) (γ := 1 - ChartScales.kappa) | |
| 1748 | - (fun l : SignedLabel B N0 => (ActualPrimary.piece region l.1 l.2).differenceCoefficients) | |
| 1749 | - angularFrequency chart_difference_uniform hp).1 | |
| 1750 | - | |
| 1751 | 1691 | end UniformActualOutputs |
| 1752 | 1692 | |
| 1753 | 1693 | end NavierStokes.ActualPrimaryBounds |
+0 −129 NavierStokes/ActualPrimaryCoherence.lean View file
| @@ -746,36 +746,6 @@ theorem absoluteGaussianCoefficient_smooth (j : Fin 2) (L : Label B N0) : | ||
| 746 | 746 | (absoluteCutoff_smooth j L).contDiffOn |
| 747 | 747 | exact hd.smul (absoluteAmplitude_smooth j L) |
| 748 | 748 | |
| 749 | -theorem absoluteGaussian_smooth (j : Fin 2) (L : Label B N0) : | |
| 750 | - ContDiffOn ℝ ∞ (absoluteGaussian j L) positiveAbsolute := by | |
| 751 | - have ha : ContDiffOn ℝ ∞ (absoluteGaussianCoefficient j L) positiveRadialAbsolute := | |
| 752 | - (absoluteGaussianCoefficient_smooth j L).mono (fun _ hx => hx.2) | |
| 753 | - have hs : ContDiffOn ℝ ∞ (absoluteGaussian j L) positiveRadialAbsolute := by | |
| 754 | - apply contDiffOn_pi.mpr | |
| 755 | - intro i | |
| 756 | - exact Complex.reCLM.contDiff.comp_contDiffOn (HarmonicCalculus.contDiffOn_mode 1 | |
| 757 | - (absolutePhase_smooth j L) (contDiffOn_pi.mp ha i)) | |
| 758 | - intro x hx | |
| 759 | - by_cases hr : 0 < x.1.1.1 | |
| 760 | - · exact (hs.contDiffAt (positiveRadialAbsolute_open.mem_nhds ⟨hr,hx⟩)).contDiffWithinAt | |
| 761 | - · have hp := (absolutePair_zero_germ_outside j L hx | |
| 762 | - (amplitudeRadius_outside_nonpositive L (le_of_not_gt hr))).1 | |
| 763 | - have hz : absoluteGaussian j L =ᶠ[𝓝 x] fun _ => 0 := by | |
| 764 | - filter_upwards [hp] with y hy | |
| 765 | - funext i | |
| 766 | - simp [absoluteGaussian, absoluteGaussianCoefficient, vectorMode, mode, hy] | |
| 767 | - exact (contDiffAt_const.congr_of_eventuallyEq hz).contDiffWithinAt | |
| 768 | - | |
| 769 | -theorem piece_excluded_smooth (U : LocalSignedRequest.SlowRegion (2*h)) | |
| 770 | - (j : Fin 2) (L : Label B N0) (n : ℕ) : | |
| 771 | - ContDiffOn ℝ ∞ ((piece U j L).excluded n) positiveChart := by | |
| 772 | - have hm : MapsTo (absoluteChart n) positiveChart positiveAbsolute := by | |
| 773 | - intro x hx | |
| 774 | - exact mul_pos (ChartScales.Q_pos n) hx | |
| 775 | - exact (((absoluteGaussian_smooth j L).comp (absoluteChart n).contDiff.contDiffOn hm).const_smul | |
| 776 | - (ChartScales.Q n ^ (2 * CoordinateAlgebra.A h + 1/2))).congr | |
| 777 | - (fun x _ => piece_excluded_representation U j L n x) | |
| 778 | - | |
| 779 | 749 | theorem amplitudeRadius_chart (L : Label B N0) (n : ℕ) {x : ChartPoint} |
| 780 | 750 | (hT : 0 < x.1.2.1.1) (hR : 0 < x.1.1) : |
| 781 | 751 | amplitudeRadius L (absoluteChart n x) = x.1.1 / VariableGaugeMean.qLength (2*h) x.1.2.1 := by |
| @@ -987,78 +957,6 @@ theorem piece_tangentVelocity_periodic (U : LocalSignedRequest.SlowRegion (2*h)) | ||
| 987 | 957 | simp only [carrier, chart_phase_periodic j L n hi k] |
| 988 | 958 | rfl |
| 989 | 959 | |
| 990 | -theorem piece_pressure_periodic (U : LocalSignedRequest.SlowRegion (2*h)) | |
| 991 | - (j : Fin 2) (L : Label B N0) (n : ℕ) | |
| 992 | - (hi : CommonWindow.index h n ≤ ChartScales.nativeIndex h (BaseChartJets.cellBand L)) | |
| 993 | - (k : TorusInverse.Frequency) (x : ChartPoint) : | |
| 994 | - (piece U j L).pressure n (x+chartDeck k) = (piece U j L).pressure n x := by | |
| 995 | - change ((chartCutoff j L n (x+chartDeck k) • (chartCoefficients j L).pressure n (x+chartDeck k)) * | |
| 996 | - carrier ((chartCoefficients j L).frequency n) ((chartCoefficients j L).phase n) (x+chartDeck k)).re = _ | |
| 997 | - rw [chart_cutoff_periodic j L n hi k, chart_pressure_periodic j L n hi k] | |
| 998 | - simp only [carrier, chart_phase_periodic j L n hi k] | |
| 999 | - rfl | |
| 1000 | - | |
| 1001 | -theorem piece_excluded_periodic (U : LocalSignedRequest.SlowRegion (2*h)) | |
| 1002 | - (j : Fin 2) (L : Label B N0) (n : ℕ) | |
| 1003 | - (hi : CommonWindow.index h n ≤ ChartScales.nativeIndex h (BaseChartJets.cellBand L)) | |
| 1004 | - (k : TorusInverse.Frequency) (x : ChartPoint) : | |
| 1005 | - (piece U j L).excluded n (x+chartDeck k) = (piece U j L).excluded n x := by | |
| 1006 | - have hd := along_translate (chartDeck k) (chart_cutoff_periodic j L n hi k) | |
| 1007 | - (show ∀ y, (piece U j L).directions.fastField n (y+chartDeck k) = | |
| 1008 | - (piece U j L).directions.fastField n y from fun _ => rfl) x | |
| 1009 | - funext i | |
| 1010 | - change ((along ((piece U j L).directions.fastField n) (chartCutoff j L n) (x+chartDeck k) • | |
| 1011 | - (chartCoefficients j L).amplitude n (x+chartDeck k) + (1-chartCutoff j L n (x+chartDeck k)) • | |
| 1012 | - (0 : ComplexVector)) i * carrier ((chartCoefficients j L).frequency n) | |
| 1013 | - ((chartCoefficients j L).phase n) (x+chartDeck k)).re = _ | |
| 1014 | - rw [hd, chart_amplitude_periodic j L n hi k, chart_cutoff_periodic j L n hi k] | |
| 1015 | - simp only [carrier, chart_phase_periodic j L n hi k] | |
| 1016 | - rfl | |
| 1017 | - | |
| 1018 | -theorem radius_mem_of_amplitudeRadius_mem (L : Label B N0) (n : ℕ) {x : ChartPoint} | |
| 1019 | - (hT : 0 < x.1.2.1.1) | |
| 1020 | - (hm : amplitudeRadius L (absoluteChart n x) ∈ | |
| 1021 | - Icc (PrimaryTargetBounds.leftRadius nominal) (PrimaryTargetBounds.rightRadius nominal)) : | |
| 1022 | - x.1.1 ∈ Icc (VariableGaugeMean.qLength (2*h) x.1.2.1 * PrimaryTargetBounds.leftRadius nominal) | |
| 1023 | - (VariableGaugeMean.qLength (2*h) x.1.2.1 * PrimaryTargetBounds.rightRadius nominal) := by | |
| 1024 | - have hr : 0 < x.1.1 := by | |
| 1025 | - by_contra hh | |
| 1026 | - exact amplitudeRadius_outside_nonpositive L | |
| 1027 | - (mul_nonpos_of_nonneg_of_nonpos (Real.sqrt_nonneg _) (le_of_not_gt hh)) hm | |
| 1028 | - rw [amplitudeRadius_chart L n hT hr] at hm | |
| 1029 | - have hq : 0 < VariableGaugeMean.qLength (2*h) x.1.2.1 := | |
| 1030 | - VariableGaugeMean.qLength_pos (by linarith [outgoing.data.h_pos]) | |
| 1031 | - (by linarith [outgoing.data.h_lt_half]) hT | |
| 1032 | - exact ⟨by simpa only [mul_comm] using (le_div_iff₀ hq).mp hm.1, | |
| 1033 | - by simpa only [mul_comm] using (div_le_iff₀ hq).mp hm.2⟩ | |
| 1034 | - | |
| 1035 | -theorem piece_pressure_support (U : LocalSignedRequest.SlowRegion (2*h)) | |
| 1036 | - (j : Fin 2) (L : Label B N0) (n : ℕ) {x : ChartPoint} | |
| 1037 | - (hT : 0 < x.1.2.1.1) (hne : (piece U j L).pressure n x ≠ 0) : | |
| 1038 | - x.1.1 ∈ Icc (VariableGaugeMean.qLength (2*h) x.1.2.1 * PrimaryTargetBounds.leftRadius nominal) | |
| 1039 | - (VariableGaugeMean.qLength (2*h) x.1.2.1 * PrimaryTargetBounds.rightRadius nominal) := by | |
| 1040 | - apply radius_mem_of_amplitudeRadius_mem L n hT | |
| 1041 | - by_contra hh | |
| 1042 | - have hp := (absolutePair_zero_germ_outside j L (mul_pos (ChartScales.Q_pos n) hT) hh).2.self_of_nhds | |
| 1043 | - change absolutePressure j L (toAbsolute n x.1) = 0 at hp | |
| 1044 | - apply hne | |
| 1045 | - rw [piece_pressure_representation] | |
| 1046 | - simp [absolutePressureMode, mode, hp] | |
| 1047 | - | |
| 1048 | -theorem piece_excluded_support (U : LocalSignedRequest.SlowRegion (2*h)) | |
| 1049 | - (j : Fin 2) (L : Label B N0) (n : ℕ) {x : ChartPoint} | |
| 1050 | - (hT : 0 < x.1.2.1.1) (hne : (piece U j L).excluded n x ≠ 0) : | |
| 1051 | - x.1.1 ∈ Icc (VariableGaugeMean.qLength (2*h) x.1.2.1 * PrimaryTargetBounds.leftRadius nominal) | |
| 1052 | - (VariableGaugeMean.qLength (2*h) x.1.2.1 * PrimaryTargetBounds.rightRadius nominal) := by | |
| 1053 | - apply radius_mem_of_amplitudeRadius_mem L n hT | |
| 1054 | - by_contra hh | |
| 1055 | - have hp := (absolutePair_zero_germ_outside j L (mul_pos (ChartScales.Q_pos n) hT) hh).1.self_of_nhds | |
| 1056 | - change absoluteAmplitude j L (toAbsolute n x.1) = 0 at hp | |
| 1057 | - apply hne | |
| 1058 | - rw [piece_excluded_representation] | |
| 1059 | - ext i | |
| 1060 | - simp [absoluteGaussian, absoluteGaussianCoefficient, vectorMode, mode, hp] | |
| 1061 | - | |
| 1062 | 960 | /-! ## Tangency of the actual native pulse -/ |
| 1063 | 961 | |
| 1064 | 962 | theorem constructed_frame_normal {ι : Type} {D : PhaseJetBounds.Domain ι PhaseCalculus.Slow} |
| @@ -1217,12 +1115,6 @@ theorem piece_phase_smooth (U : LocalSignedRequest.SlowRegion (2*h)) | ||
| 1217 | 1115 | (HarmonicWaveInteraction.productStrip (BaseContextAssembly.nativeStrip nominal U)).domain := |
| 1218 | 1116 | (chart_phase_smooth j L n).mono (piece_domain_positive U) |
| 1219 | 1117 | |
| 1220 | -theorem piece_amplitude_smooth (U : LocalSignedRequest.SlowRegion (2*h)) | |
| 1221 | - (j : Fin 2) (L : Label B N0) (n : ℕ) : | |
| 1222 | - ContDiffOn ℝ ∞ ((chartCoefficients j L).amplitude n) | |
| 1223 | - (HarmonicWaveInteraction.productStrip (BaseContextAssembly.nativeStrip nominal U)).domain := | |
| 1224 | - (chart_amplitude_smooth j L n).mono (fun _ hx => (piece_domain_positive U hx).2) | |
| 1225 | - | |
| 1226 | 1118 | theorem chart_normal_copy (U : LocalSignedRequest.SlowRegion (2*h)) |
| 1227 | 1119 | (j : Fin 2) (L : Label B N0) (n : ℕ) |
| 1228 | 1120 | (hi : CommonWindow.index h n ≤ ChartScales.nativeIndex h (BaseChartJets.cellBand L)) |
| @@ -1877,14 +1769,6 @@ theorem cartesianPotential_smooth (j : Fin 2) (L : Label B N0) : | ||
| 1877 | 1769 | (physicalPotential_smooth j L) (physicalPotential_periodic j L) (physicalPotential_zero_axis j L)).mono |
| 1878 | 1770 | (fun _ hz => ⟨hz,trivial⟩) |
| 1879 | 1771 | |
| 1880 | -theorem cartesianVelocity_axis_zero (j : Fin 2) (L : Label B N0) (t : ℝ) (x : ProblemStatement.Space) | |
| 1881 | - (hx : x 0 = 0) (hy : x 1 = 0) : cartesianVelocity j L (t,x) = 0 := by | |
| 1882 | - apply PhysicalCurlCovariance.spatialCurl_zero_of_zero_near | |
| 1883 | - apply PhysicalCurlCovariance.globalCartesianPotential_zero_germ (physicalAxisRadius_pos L) | |
| 1884 | - (physicalPotential_zero_axis j L) | |
| 1885 | - simpa only [PhysicalGraphBounds.radialProjection_apply,PolarCharts.radius,hx,hy, | |
| 1886 | - zero_pow (by decide : 2 ≠ 0),zero_add,Real.sqrt_zero] using physicalAxisRadius_pos L | |
| 1887 | - | |
| 1888 | 1772 | /-- Every actual band velocity is the rotating-frame representation of |
| 1889 | 1773 | the curl of the same constructed Cartesian potential. This includes all |
| 1890 | 1774 | positive radii and all angles, without a native-cover restriction. -/ |
| @@ -1926,17 +1810,4 @@ theorem piece_physical_pressure (U : LocalSignedRequest.SlowRegion (2*h)) | ||
| 1926 | 1810 | rw [absoluteChart_physical n hr] |
| 1927 | 1811 | rfl |
| 1928 | 1812 | |
| 1929 | -theorem cartesianVelocity_smooth (j : Fin 2) (L : Label B N0) : | |
| 1930 | - ContDiffOn ℝ ∞ (cartesianVelocity j L) {z : ProblemStatement.SpaceTime | z.1 < 1} := by | |
| 1931 | - have ha : ContDiffOn ℝ ∞ (cartesianPotential j L) ((Iio 1) ×ˢ (univ : Set ProblemStatement.Space)) := | |
| 1932 | - (cartesianPotential_smooth j L).mono (fun _ hx => hx.1) | |
| 1933 | - exact (SpatialCurl.contDiffOn_spatialCurl ha (by simp)).mono (fun _ hx => ⟨hx,trivial⟩) | |
| 1934 | - | |
| 1935 | -theorem cartesianVelocity_divergence (j : Fin 2) (L : Label B N0) {t : ℝ} | |
| 1936 | - (ht : t < 1) (x : ProblemStatement.Space) : | |
| 1937 | - ProblemStatement.spatialDivergence (cartesianVelocity j L) t x = 0 := by | |
| 1938 | - have ha : ContDiffOn ℝ 2 (cartesianPotential j L) ((Iio 1) ×ˢ (univ : Set ProblemStatement.Space)) := | |
| 1939 | - ((cartesianPotential_smooth j L).mono (fun _ hx => hx.1)).of_le (WithTop.coe_le_coe.mpr le_top) | |
| 1940 | - exact SpatialCurl.spatialDivergence_spatialCurl_on ha ht x | |
| 1941 | - | |
| 1942 | 1813 | end NavierStokes.ActualPrimaryCoherence |
+0 −88 NavierStokes/ActualPrimaryCovariance.lean View file
| @@ -128,9 +128,6 @@ theorem physicalTangentMode_eq_slot (j : Fin 2) (L : Label B N0) (p : Slow) | ||
| 128 | 128 | noncomputable def nativePoint (n : ℕ) (x : Point) (L : Label B N0) : Slow := |
| 129 | 129 | nativeSlow L (toAbsolute n x) |
| 130 | 130 | |
| 131 | -theorem nativePoint_auxiliary (n : ℕ) (x : Point) (L : Label B N0) (Y : Plane) : | |
| 132 | - nativePoint n (x.1, (x.2.1, Y)) L = nativePoint n x L := rfl | |
| 133 | - | |
| 134 | 131 | theorem nativePoint_time (n : ℕ) {x : Point} (hT : 0 < x.2.1.1) (L : Label B N0) : |
| 135 | 132 | 0 < (nativePoint n x L).2.2 := by |
| 136 | 133 | change 0 < ChartScales.Q n * x.2.1.1 / ChartScales.Q (BaseChartJets.cellBand L) |
| @@ -618,15 +615,6 @@ theorem mean_tangentCovariance_eq_leading (B N0 : ℕ) {n : ℕ} | ||
| 618 | 615 | rw [mean_tangentCovariance_factor B N0 n hx i, |
| 619 | 616 | partitionFactor_eq_one B N0 n hx (physicalScale_tail B N0 hn hx), one_mul] |
| 620 | 617 | |
| 621 | -theorem mean_tangentCovariance_jets (B N0 : ℕ) {n : ℕ} | |
| 622 | - (hn : (choice B N0).prepared.N + 1 ≤ n) {x : Point} | |
| 623 | - (hx : x ∈ (BaseContextAssembly.nativeStrip nominal standardRegion).domain) (i : Fin 2) (m : ℕ) : | |
| 624 | - iteratedFDeriv ℝ m (StateMomentBalances.meanBar (tangentCovariance B N0 0 i.succ) n) x = | |
| 625 | - iteratedFDeriv ℝ m (leadingStress i n) x := by | |
| 626 | - apply (SolenoidalDiagonal.iteratedFDeriv_eventuallyEq | |
| 627 | - (eventually_of_mem ((BaseContextAssembly.nativeStrip nominal standardRegion).isOpen_domain.mem_nhds hx) | |
| 628 | - (fun y hy => mean_tangentCovariance_eq_leading B N0 hn hy i)) m).self_of_nhds | |
| 629 | - | |
| 630 | 618 | /-! ## The exact finite low-band defect -/ |
| 631 | 619 | |
| 632 | 620 | noncomputable def dyadicTail (N : ℕ) (q : ℝ) : ℝ := |
| @@ -850,23 +838,6 @@ theorem averagedDefect_meanClass (B N0 : ℕ) (i : Fin 2) (beta : ℝ) : | ||
| 850 | 838 | ((choice B N0).prepared.N + 1) |
| 851 | 839 | (fun _ hn _ hx => averagedDefect_zero_tail B N0 hn hx i) |
| 852 | 840 | |
| 853 | -/-- Every actual spatial derivative of the averaged covariance error has | |
| 854 | -the same arbitrary exponent; the finite-prefix constants may depend on | |
| 855 | -the chosen exponent and derivative order. -/ | |
| 856 | -theorem averagedDefect_derivative_meanClass (B N0 : ℕ) (i : Fin 2) (beta : ℝ) : | |
| 857 | - MeanClass (BaseContextAssembly.nativeStrip nominal standardRegion) beta | |
| 858 | - (fun n => fderiv ℝ (averagedDefect B N0 i n)) := | |
| 859 | - (averagedDefect_meanClass B N0 i beta).fderiv | |
| 860 | - | |
| 861 | -theorem averagedDefect_radialDiv_meanClass (B N0 : ℕ) (i : Fin 2) (beta weight : ℝ) : | |
| 862 | - MeanClass (BaseContextAssembly.nativeStrip nominal standardRegion) beta | |
| 863 | - ((commonContext B).operators.radialDiv weight (averagedDefect B N0 i)) := by | |
| 864 | - have ho := CommonBaseContext.context_operator_bounds certificate modulation upper B standardRegion | |
| 865 | - (CorrectionInitialization.CommonWindow.index_le_native h) | |
| 866 | - have hc := ho.radialDiv (averagedDefect_meanClass B N0 i (beta + ChartScales.kappa)) weight | |
| 867 | - simp only [add_sub_cancel_right] at hc | |
| 868 | - exact hc | |
| 869 | - | |
| 870 | 841 | /-! ## Direct interfaces for the initial mean balance -/ |
| 871 | 842 | |
| 872 | 843 | theorem meanBar_of_fiber_constant (f : CorrectionState.ScalarField Point) |
| @@ -875,10 +846,6 @@ theorem meanBar_of_fiber_constant (f : CorrectionState.ScalarField Point) | ||
| 875 | 846 | change (∫ y in (0 : ℝ)..1, ∫ z in (0 : ℝ)..1, f n (x.1, (x.2.1, (z, y)))) = f n x |
| 876 | 847 | simp only [hf, intervalIntegral.integral_const, sub_zero, one_smul] |
| 877 | 848 | |
| 878 | -theorem meanBar_leadingStress (i : Fin 2) : | |
| 879 | - StateMomentBalances.meanBar (leadingStress i) = leadingStress i := | |
| 880 | - meanBar_of_fiber_constant _ (fun _ _ _ => rfl) | |
| 881 | - | |
| 882 | 849 | theorem meanBar_virtualTheta (B : ℕ) : |
| 883 | 850 | StateMomentBalances.meanBar (commonContext B).virtualTheta = (commonContext B).virtualTheta := |
| 884 | 851 | meanBar_of_fiber_constant _ (fun _ _ _ => rfl) |
| @@ -1128,61 +1095,6 @@ theorem piece_support (l : Label B N0 × Fin 2) (n : ℕ) (x : Point) | ||
| 1128 | 1095 | (slotSet h slots.radius radialVector temporalVector (signedLabelOf l)) := |
| 1129 | 1096 | cutAmplitude_tsupport l.2 l.1 n hx theta ht |
| 1130 | 1097 | |
| 1131 | -theorem cutAmplitude_tsupport_active (l : Label B N0 × Fin 2) (n : ℕ) {x : Point} | |
| 1132 | - (hx : x ∈ (BaseContextAssembly.nativeStrip nominal standardRegion).domain) (theta : ℝ) | |
| 1133 | - (ht : (x, theta) ∈ tsupport (cutAmplitude l.2 l.1 n)) : | |
| 1134 | - l ∈ activeLabels standardRegion B N0 n := | |
| 1135 | - activeLabels_cover n hx l.1 l.2 (cutAmplitude_tsupport_physical l.2 l.1 n hx theta ht).1 | |
| 1136 | - | |
| 1137 | -theorem cutAmplitude_inactive_germ (l : Label B N0 × Fin 2) (n : ℕ) {x : Point} | |
| 1138 | - (hx : x ∈ (BaseContextAssembly.nativeStrip nominal standardRegion).domain) (theta : ℝ) | |
| 1139 | - (hl : l ∉ activeLabels standardRegion B N0 n) : | |
| 1140 | - cutAmplitude l.2 l.1 n =ᶠ[𝓝 (x, theta)] fun _ => 0 := | |
| 1141 | - notMem_tsupport_iff_eventuallyEq.mp (fun ht => hl (cutAmplitude_tsupport_active l n hx theta ht)) | |
| 1142 | - | |
| 1143 | -theorem velocity_inactive_germ (l : Label B N0 × Fin 2) (n : ℕ) {x : Point} | |
| 1144 | - (hx : x ∈ (BaseContextAssembly.nativeStrip nominal standardRegion).domain) (theta : ℝ) | |
| 1145 | - (hl : l ∉ activeLabels standardRegion B N0 n) : | |
| 1146 | - (piece standardRegion l.2 l.1).velocity n =ᶠ[𝓝 (x, theta)] fun _ => 0 := by | |
| 1147 | - apply notMem_tsupport_iff_eventuallyEq.mp | |
| 1148 | - intro ht | |
| 1149 | - exact hl (cutAmplitude_tsupport_active l n hx theta | |
| 1150 | - ((piece standardRegion l.2 l.1).velocity_tsupport_subset_tangent n ht)) | |
| 1151 | - | |
| 1152 | -theorem cutAmplitude_tsupport_disjoint (n : ℕ) {l m : Label B N0 × Fin 2} (hlm : l ≠ m) : | |
| 1153 | - Disjoint | |
| 1154 | - ((Prod.fst ⁻¹' (BaseContextAssembly.nativeStrip nominal standardRegion).domain) ∩ | |
| 1155 | - tsupport (cutAmplitude l.2 l.1 n)) | |
| 1156 | - ((Prod.fst ⁻¹' (BaseContextAssembly.nativeStrip nominal standardRegion).domain) ∩ | |
| 1157 | - tsupport (cutAmplitude m.2 m.1 n)) := by | |
| 1158 | - apply Set.disjoint_left.mpr | |
| 1159 | - rintro ⟨x, theta⟩ ⟨hx, hl⟩ ⟨_, hm⟩ | |
| 1160 | - obtain ⟨hwl, hsl⟩ := cutAmplitude_tsupport l.2 l.1 n hx theta hl | |
| 1161 | - obtain ⟨hwm, hsm⟩ := cutAmplitude_tsupport m.2 m.1 n hx theta hm | |
| 1162 | - have hne : signedLabelOf l ≠ signedLabelOf m := fun he => hlm (signedLabelOf_injective he) | |
| 1163 | - exact Set.disjoint_left.mp (slots.disjoint _ _ (LabelSumBounds.closedWindow_adjacency | |
| 1164 | - l.1.val.property.1 m.1.val.property.1 hne hwl hwm)) hsl hsm | |
| 1165 | - | |
| 1166 | -theorem exactAmplitude_tsupport_disjoint (n : ℕ) {l m : Label B N0 × Fin 2} (hlm : l ≠ m) : | |
| 1167 | - Disjoint | |
| 1168 | - ((Prod.fst ⁻¹' (BaseContextAssembly.nativeStrip nominal standardRegion).domain) ∩ | |
| 1169 | - tsupport ((piece standardRegion l.2 l.1).exactCoefficients.amplitude n)) | |
| 1170 | - ((Prod.fst ⁻¹' (BaseContextAssembly.nativeStrip nominal standardRegion).domain) ∩ | |
| 1171 | - tsupport ((piece standardRegion m.2 m.1).exactCoefficients.amplitude n)) := | |
| 1172 | - (cutAmplitude_tsupport_disjoint n hlm).mono | |
| 1173 | - (inter_subset_inter_right _ ((piece standardRegion l.2 l.1).exactAmplitude_tsupport_subset_tangent n)) | |
| 1174 | - (inter_subset_inter_right _ ((piece standardRegion m.2 m.1).exactAmplitude_tsupport_subset_tangent n)) | |
| 1175 | - | |
| 1176 | -theorem velocity_tsupport_disjoint (n : ℕ) {l m : Label B N0 × Fin 2} (hlm : l ≠ m) : | |
| 1177 | - Disjoint | |
| 1178 | - ((Prod.fst ⁻¹' (BaseContextAssembly.nativeStrip nominal standardRegion).domain) ∩ | |
| 1179 | - tsupport ((piece standardRegion l.2 l.1).velocity n)) | |
| 1180 | - ((Prod.fst ⁻¹' (BaseContextAssembly.nativeStrip nominal standardRegion).domain) ∩ | |
| 1181 | - tsupport ((piece standardRegion m.2 m.1).velocity n)) := | |
| 1182 | - (cutAmplitude_tsupport_disjoint n hlm).mono | |
| 1183 | - (inter_subset_inter_right _ ((piece standardRegion l.2 l.1).velocity_tsupport_subset_tangent n)) | |
| 1184 | - (inter_subset_inter_right _ ((piece standardRegion m.2 m.1).velocity_tsupport_subset_tangent n)) | |
| 1185 | - | |
| 1186 | 1098 | /-! ## Inactive physical labels vanish on entire slow fibers |
| 1187 | 1099 | |
| 1188 | 1100 | The radial coordinate is unrestricted here. A nonzero literal attached |
+0 −789 NavierStokes/ActualReferenceRebase.lean View file
| @@ -29,169 +29,12 @@ section Pullback | ||
| 29 | 29 | variable {D E : Type} [NormedAddCommGroup D] [NormedSpace ℝ D] |
| 30 | 30 | [NormedAddCommGroup E] [NormedSpace ℝ E] |
| 31 | 31 | |
| 32 | -noncomputable def pullField (e : D ≃L[ℝ] E) (f : MeanIncrementBounds.Field E) : | |
| 33 | - MeanIncrementBounds.Field D := fun n x => f n (e x) | |
| 34 | - | |
| 35 | -noncomputable def pullTriple (e : D ≃L[ℝ] E) (v : MeanIncrementBounds.Triple E) : | |
| 36 | - MeanIncrementBounds.Triple D := | |
| 37 | - ⟨pullField e v.radial, pullField e v.angular, pullField e v.axial⟩ | |
| 38 | - | |
| 39 | -noncomputable def pullOperators (e : D ≃L[ℝ] E) (o : MeanIncrementBounds.Operators E) : | |
| 40 | - MeanIncrementBounds.Operators D where | |
| 41 | - epsilon := o.epsilon | |
| 42 | - radialFrequency := o.radialFrequency | |
| 43 | - fastCoefficient := o.fastCoefficient | |
| 44 | - radius x := o.radius (e x) | |
| 45 | - radialProfile x := o.radialProfile (e x) | |
| 46 | - eR := e.symm o.eR | |
| 47 | - eZ := e.symm o.eZ | |
| 48 | - eT := e.symm o.eT | |
| 49 | - vR := e.symm o.vR | |
| 50 | - vT := e.symm o.vT | |
| 51 | - | |
| 52 | -noncomputable def pullContext (e : D ≃L[ℝ] E) (c : Context E) : Context D where | |
| 53 | - operators := pullOperators e c.operators | |
| 54 | - base := pullTriple e c.base | |
| 55 | - virtualTheta := pullField e c.virtualTheta | |
| 56 | - virtualAxial := pullField e c.virtualAxial | |
| 57 | - | |
| 58 | -noncomputable def pullOscillation (e : D ≃L[ℝ] E) (u : Oscillation E) : Oscillation D := | |
| 59 | - fun n x => u n (e x.1, x.2) | |
| 60 | - | |
| 61 | -noncomputable def pullErrors (e : D ≃L[ℝ] E) (u : ExcludedErrors E) : ExcludedErrors D := | |
| 62 | - ⟨pullOscillation e u.base, pullOscillation e u.gaussian, pullOscillation e u.aliasError⟩ | |
| 63 | - | |
| 64 | -noncomputable def pullState (e : D ≃L[ℝ] E) (u : State E) : State D where | |
| 65 | - mean := pullTriple e u.mean | |
| 66 | - pressure := pullField e u.pressure | |
| 67 | - oscillation := pullOscillation e u.oscillation | |
| 68 | - oscillatoryPressure n x := u.oscillatoryPressure n (e x.1, x.2) | |
| 69 | - errors := pullErrors e u.errors | |
| 70 | - | |
| 71 | 32 | noncomputable def pullCoefficients (e : D ≃L[ℝ] E) (a : Coefficients E) : Coefficients D := |
| 72 | 33 | AddMonoidAlgebra.ofCoeff (Finsupp.mapRange (fun f : E → ℂ => fun x => f (e x)) rfl a.coeff) |
| 73 | 34 | |
| 74 | 35 | @[simp] theorem pullCoefficients_apply (e : D ≃L[ℝ] E) (a : Coefficients E) |
| 75 | 36 | (j : ℤ) (x : D) : pullCoefficients e a j x = a j (e x) := rfl |
| 76 | 37 | |
| 77 | -theorem pullCoefficients_support (e : D ≃L[ℝ] E) (a : Coefficients E) : | |
| 78 | - (pullCoefficients e a).support = a.support := by | |
| 79 | - ext j | |
| 80 | - simp only [Finsupp.mem_support_iff] | |
| 81 | - apply not_congr | |
| 82 | - constructor | |
| 83 | - · intro h | |
| 84 | - funext y | |
| 85 | - obtain ⟨x, rfl⟩ := e.surjective y | |
| 86 | - exact congrFun h x | |
| 87 | - · intro h | |
| 88 | - funext x | |
| 89 | - exact congrFun h (e x) | |
| 90 | - | |
| 91 | -theorem pullCoefficients_field (e : D ≃L[ℝ] E) (a : Coefficients E) | |
| 92 | - (K : ℝ) (Phi : E → ℝ) (kp : ℤ) (x : D × ℝ) : | |
| 93 | - field (pullCoefficients e a) K (fun y => Phi (e y)) kp x = | |
| 94 | - field a K Phi kp (e x.1, x.2) := by | |
| 95 | - simp only [field, evaluate, Finsupp.sum, pullCoefficients_support, pullCoefficients_apply] | |
| 96 | - | |
| 97 | -noncomputable def pullBlock (e : D ≃L[ℝ] E) (b : HarmonicBlock E) : HarmonicBlock D where | |
| 98 | - velocity n i := pullCoefficients e (b.velocity n i) | |
| 99 | - pressure n := pullCoefficients e (b.pressure n) | |
| 100 | - frequency := b.frequency | |
| 101 | - phase n x := b.phase n (e x) | |
| 102 | - angularFrequency := b.angularFrequency | |
| 103 | - | |
| 104 | -noncomputable def pullBlockCoefficients (e : D ≃L[ℝ] E) | |
| 105 | - (a : HarmonicResidual.BlockCoefficients E) : HarmonicResidual.BlockCoefficients D := | |
| 106 | - fun n i => pullCoefficients e (a n i) | |
| 107 | - | |
| 108 | -theorem pullBlock_oscillation (e : D ≃L[ℝ] E) (b : HarmonicBlock E) | |
| 109 | - (n : ℕ) (x : D × ℝ) : | |
| 110 | - (pullBlock e b).oscillation n x = b.oscillation n (e x.1, x.2) := by | |
| 111 | - funext i | |
| 112 | - exact congrArg Complex.re (pullCoefficients_field e (b.velocity n i) | |
| 113 | - (b.frequency n) (b.phase n) (b.angularFrequency n) x) | |
| 114 | - | |
| 115 | -theorem pullBlock_pressure (e : D ≃L[ℝ] E) (b : HarmonicBlock E) | |
| 116 | - (n : ℕ) (x : D × ℝ) : | |
| 117 | - (pullBlock e b).oscillatoryPressure n x = b.oscillatoryPressure n (e x.1, x.2) := | |
| 118 | - congrArg Complex.re (pullCoefficients_field e (b.pressure n) | |
| 119 | - (b.frequency n) (b.phase n) (b.angularFrequency n) x) | |
| 120 | - | |
| 121 | -noncomputable def pullFrame (e : D ≃L[ℝ] E) (g : HarmonicResidual.Frame E) : | |
| 122 | - HarmonicResidual.Frame D where | |
| 123 | - radius x := g.radius (e x) | |
| 124 | - radial x := e.symm (g.radial (e x)) | |
| 125 | - axial x := e.symm (g.axial (e x)) | |
| 126 | - time x := e.symm (g.time (e x)) | |
| 127 | - viscosity := g.viscosity | |
| 128 | - | |
| 129 | -theorem pullContext_frame (e : D ≃L[ℝ] E) (c : Context E) (n : ℕ) : | |
| 130 | - HarmonicResidual.contextFrame (pullContext e c) n = | |
| 131 | - pullFrame e (HarmonicResidual.contextFrame c n) := by | |
| 132 | - unfold HarmonicResidual.contextFrame pullContext pullOperators pullFrame | |
| 133 | - congr 1 <;> funext x <;> simp only [map_add, map_smul, map_sub] | |
| 134 | - | |
| 135 | -theorem pullFrame_on (e : D ≃L[ℝ] E) (g : HarmonicResidual.Frame E) : | |
| 136 | - PhysicalResidualNaturality.FrameOn univ e 1 1 (pullFrame e g) g := by | |
| 137 | - constructor <;> simp [pullFrame] | |
| 138 | - | |
| 139 | -/-- The full residual, rather than only its on-graph values, is pulled back. | |
| 140 | -No carrier nondegeneracy or differentiability premise is needed. -/ | |
| 141 | -theorem pull_residualSource (e : D ≃L[ℝ] E) (c : Context E) (u : State E) | |
| 142 | - (b : HarmonicBlock E) (G A : HarmonicResidual.BlockCoefficients E) | |
| 143 | - (j : ℤ) (n : ℕ) (x : D) : | |
| 144 | - ParticularWaveAssembly.residualSource (pullContext e c) (pullState e u) | |
| 145 | - (pullBlock e b) (pullBlockCoefficients e G) (pullBlockCoefficients e A) j n x = | |
| 146 | - ParticularWaveAssembly.residualSource c u b G A j n (e x) := by | |
| 147 | - have hlabel : PhysicalResidualNaturality.LabelOn univ e 1 1 | |
| 148 | - (HarmonicResidual.ofBlock (pullBlock e b) (pullBlockCoefficients e G) | |
| 149 | - (pullBlockCoefficients e A) n) (HarmonicResidual.ofBlock b G A n) := by | |
| 150 | - constructor | |
| 151 | - · intro y hy; rfl | |
| 152 | - · rfl | |
| 153 | - · intro i k y hy | |
| 154 | - simp [HarmonicResidual.ofBlock, HarmonicResidual.realCoefficients_apply, | |
| 155 | - pullBlock] | |
| 156 | - · intro k y hy | |
| 157 | - simp [HarmonicResidual.ofBlock, HarmonicResidual.realCoefficients_apply, | |
| 158 | - pullBlock] | |
| 159 | - · intro i k y hy | |
| 160 | - simp [HarmonicResidual.ofBlock, HarmonicResidual.realCoefficients_apply, | |
| 161 | - pullBlockCoefficients] | |
| 162 | - · intro i k y hy | |
| 163 | - simp [HarmonicResidual.ofBlock, HarmonicResidual.realCoefficients_apply, | |
| 164 | - pullBlockCoefficients] | |
| 165 | - have hg : PhysicalResidualNaturality.FrameOn univ e 1 1 | |
| 166 | - (HarmonicResidual.contextFrame (pullContext e c) n) | |
| 167 | - (HarmonicResidual.contextFrame c n) := by | |
| 168 | - rw [pullContext_frame] | |
| 169 | - exact pullFrame_on e _ | |
| 170 | - have hb : ∀ y ∈ (univ : Set D), HarmonicResidual.contextBase (pullContext e c) n y = | |
| 171 | - (1 : ℝ) • HarmonicResidual.contextBase c n (e y) := by | |
| 172 | - intro y hy; simp [HarmonicResidual.contextBase, pullContext, pullTriple, pullField] | |
| 173 | - have hm : ∀ y ∈ (univ : Set D), HarmonicResidual.stateMean (pullState e u) n y = | |
| 174 | - (1 : ℝ) • HarmonicResidual.stateMean u n (e y) := by | |
| 175 | - intro y hy; simp [HarmonicResidual.stateMean, pullState, pullTriple, pullField] | |
| 176 | - funext i | |
| 177 | - have he := hlabel.waveResidualCoefficients isOpen_univ one_ne_zero hg hb hm i j x (mem_univ x) | |
| 178 | - simp only [one_mul, one_smul] at he | |
| 179 | - exact he | |
| 180 | - | |
| 181 | -noncomputable def pullStrip (e : D ≃L[ℝ] E) (s : StripData E) : StripData D where | |
| 182 | - domain := e ⁻¹' s.domain | |
| 183 | - isOpen_domain := s.isOpen_domain.preimage e.continuous | |
| 184 | - epsilon := s.epsilon | |
| 185 | - epsilon_pos := s.epsilon_pos | |
| 186 | - epsilon_le_one := s.epsilon_le_one | |
| 187 | - slow := s.slow | |
| 188 | - one_le_slow := s.one_le_slow | |
| 189 | - delta x := s.delta (e x) | |
| 190 | - delta_pos x hx := s.delta_pos (e x) hx | |
| 191 | - zeta x := s.zeta (e x) | |
| 192 | - zeta_smooth := s.zeta_smooth.comp e.contDiff.contDiffOn (fun _ hx => hx) | |
| 193 | - zeta_nonneg x hx := s.zeta_nonneg (e x) hx | |
| 194 | - | |
| 195 | 38 | noncomputable def pullWave (e : D ≃L[ℝ] E) (a : LinearWaveBounds.WaveCoefficients E) : |
| 196 | 39 | LinearWaveBounds.WaveCoefficients D where |
| 197 | 40 | radius n x := a.radius n (e x) |
| @@ -215,16 +58,6 @@ noncomputable def pullDirections (e : D ≃L[ℝ] E) (d : LinearWaveBounds.Graph | ||
| 215 | 58 | fastScale := d.fastScale |
| 216 | 59 | radialProfile x := d.radialProfile (e x) |
| 217 | 60 | |
| 218 | -theorem pullDirections_radial (e : D ≃L[ℝ] E) (d : LinearWaveBounds.GraphDirections E) | |
| 219 | - (n : ℕ) (x : D) : (pullDirections e d).radialField n x = | |
| 220 | - e.symm (d.radialField n (e x)) := by | |
| 221 | - simp only [LinearWaveBounds.GraphDirections.radialField, pullDirections, map_add, map_smul] | |
| 222 | - | |
| 223 | -theorem pullDirections_axial (e : D ≃L[ℝ] E) (d : LinearWaveBounds.GraphDirections E) | |
| 224 | - (s : StripData E) (n : ℕ) (x : D) : | |
| 225 | - (pullDirections e d).axialField (pullStrip e s) n x = e.symm (d.axialField s n (e x)) := by | |
| 226 | - simp only [LinearWaveBounds.GraphDirections.axialField, pullDirections, pullStrip, map_smul] | |
| 227 | - | |
| 228 | 61 | end Pullback |
| 229 | 62 | |
| 230 | 63 | /-! ## A separate, genuine native-reference assembly -/ |
| @@ -240,114 +73,12 @@ noncomputable def inverseCover (k : ℕ) : (P × Plane) ≃L[ℝ] (P × Plane) : | ||
| 240 | 73 | @[simp] theorem inverseCover_symm_apply (k : ℕ) (x : P × Plane) : |
| 241 | 74 | (inverseCover (P := P) k).symm x = (x.1, coverPower k x.2) := rfl |
| 242 | 75 | |
| 243 | -/-- All fields, all directions and the complete source are expressed in the | |
| 244 | -native fast coordinate. This assembly is only a reference view; the target | |
| 245 | -solver keeps its original common-cover data. -/ | |
| 246 | -noncomputable def rebaseAssembly (D : ParticularWaveAssembly.AssemblyData P) (k : ℕ) : | |
| 247 | - ParticularWaveAssembly.AssemblyData P where | |
| 248 | - reference := D.reference | |
| 249 | - charts := ⟨fun _ => id, fun _ => 0, fun _ => 1⟩ | |
| 250 | - context := pullContext (inverseCover k) D.context | |
| 251 | - state := pullState (inverseCover k) D.state | |
| 252 | - carrierBlock := pullBlock (inverseCover k) D.carrierBlock | |
| 253 | - gaussianInput := pullBlockCoefficients (inverseCover k) D.gaussianInput | |
| 254 | - aliasInput := pullBlockCoefficients (inverseCover k) D.aliasInput | |
| 255 | - background := pullWave (inverseCover k) D.background | |
| 256 | - copy := D.copy | |
| 257 | - strip := pullStrip (inverseCover k) D.strip | |
| 258 | - directions := pullDirections (inverseCover k) D.directions | |
| 259 | - | |
| 260 | -theorem rebaseAssembly_source (D : ParticularWaveAssembly.AssemblyData P) (k : ℕ) | |
| 261 | - (j : ℤ) (n : ℕ) (x : P × Plane) : | |
| 262 | - ParticularWaveAssembly.residualSource (rebaseAssembly D k).context | |
| 263 | - (rebaseAssembly D k).state (rebaseAssembly D k).carrierBlock | |
| 264 | - (rebaseAssembly D k).gaussianInput (rebaseAssembly D k).aliasInput j n x = | |
| 265 | - ParticularWaveAssembly.residualSource D.context D.state D.carrierBlock | |
| 266 | - D.gaussianInput D.aliasInput j n (x.1, (coverPower k).symm x.2) := by | |
| 267 | - change ParticularWaveAssembly.residualSource | |
| 268 | - (pullContext (inverseCover k) D.context) (pullState (inverseCover k) D.state) | |
| 269 | - (pullBlock (inverseCover k) D.carrierBlock) | |
| 270 | - (pullBlockCoefficients (inverseCover k) D.gaussianInput) | |
| 271 | - (pullBlockCoefficients (inverseCover k) D.aliasInput) j n x = _ | |
| 272 | - simpa only [inverseCover_apply] using | |
| 273 | - (pull_residualSource (inverseCover (P := P) k) D.context D.state D.carrierBlock | |
| 274 | - D.gaussianInput D.aliasInput j n x) | |
| 275 | - | |
| 276 | -theorem rebaseAssembly_referenceIdentity | |
| 277 | - (D : ParticularWaveAssembly.AssemblyData PhysicalParticularWave.Parameter) (k : ℕ) : | |
| 278 | - PhysicalParticularWave.ReferenceIdentity (rebaseAssembly D k) := ⟨rfl, rfl, rfl⟩ | |
| 279 | - | |
| 280 | 76 | /-! ## Binding to the one actual initializer choice and current cycle state -/ |
| 281 | 77 | |
| 282 | 78 | open CorrectionInitialization CorrectionInitialization.ActualPrimary |
| 283 | 79 | |
| 284 | 80 | variable {B N0 : ℕ} |
| 285 | 81 | |
| 286 | -noncomputable def referenceResidualSource | |
| 287 | - (x : CorrectionStep.CycleState (ActualParticularStageControls.Label B N0)) | |
| 288 | - (l : ActualParticularStageControls.Label B N0) (j : ℤ) : | |
| 289 | - PhysicalResidualNaturality.Associated → ComplexVector := | |
| 290 | - fun z => ParticularWaveAssembly.residualSource (ActualParticularStageControls.assembly x l).context | |
| 291 | - (ActualParticularStageControls.assembly x l).state (ActualParticularStageControls.assembly x l).carrierBlock | |
| 292 | - (ActualParticularStageControls.assembly x l).gaussianInput (ActualParticularStageControls.assembly x l).aliasInput | |
| 293 | - j (BaseChartJets.cellBand l.2) | |
| 294 | - (z.1, (coverPower (ActualParticularStageControls.gap l (BaseChartJets.cellBand l.2))).symm z.2) | |
| 295 | - | |
| 296 | -noncomputable def nativeAssembly | |
| 297 | - (x : CorrectionStep.CycleState (ActualParticularStageControls.Label B N0)) | |
| 298 | - (l : ActualParticularStageControls.Label B N0) : ParticularWaveAssembly.AssemblyData Parameter := | |
| 299 | - rebaseAssembly (ActualParticularStageControls.assembly x l) | |
| 300 | - (ActualParticularStageControls.gap l (BaseChartJets.cellBand l.2)) | |
| 301 | - | |
| 302 | -theorem nativeAssembly_reference | |
| 303 | - (x : CorrectionStep.CycleState (ActualParticularStageControls.Label B N0)) | |
| 304 | - (l : ActualParticularStageControls.Label B N0) : | |
| 305 | - (nativeAssembly x l).reference = ActualParticularStageControls.reference l := rfl | |
| 306 | - | |
| 307 | -theorem nativeAssembly_source | |
| 308 | - (x : CorrectionStep.CycleState (ActualParticularStageControls.Label B N0)) | |
| 309 | - (l : ActualParticularStageControls.Label B N0) (j : ℤ) : | |
| 310 | - PhysicalParticularWave.referenceSource (nativeAssembly x l) j = referenceResidualSource x l j := by | |
| 311 | - funext z | |
| 312 | - exact rebaseAssembly_source (ActualParticularStageControls.assembly x l) | |
| 313 | - (ActualParticularStageControls.gap l (BaseChartJets.cellBand l.2)) j | |
| 314 | - (BaseChartJets.cellBand l.2) z | |
| 315 | - | |
| 316 | -theorem nativeAssembly_identity | |
| 317 | - (x : CorrectionStep.CycleState (ActualParticularStageControls.Label B N0)) | |
| 318 | - (l : ActualParticularStageControls.Label B N0) : | |
| 319 | - PhysicalParticularWave.ReferenceIdentity (nativeAssembly x l) := | |
| 320 | - rebaseAssembly_referenceIdentity _ _ | |
| 321 | - | |
| 322 | -theorem nativeAssembly_raw | |
| 323 | - (x : CorrectionStep.CycleState (ActualParticularStageControls.Label B N0)) | |
| 324 | - (l : ActualParticularStageControls.Label B N0) (j : ℤ) : | |
| 325 | - PhysicalParticularWave.referenceRaw (nativeAssembly x l) j = | |
| 326 | - ParticularWaveAssembly.angleLift (ParticularWaveBounds.commonVelocity | |
| 327 | - ((ActualParticularStageControls.reference l).tangent j) (referenceResidualSource x l j) | |
| 328 | - (ActualParticularStageControls.reference l).geometry | |
| 329 | - (ActualParticularStageControls.reference l).length_pos.le | |
| 330 | - (ActualParticularStageControls.reference l).cutoff) := by | |
| 331 | - change ParticularWaveAssembly.angleLift (ParticularWaveBounds.commonVelocity _ | |
| 332 | - (PhysicalParticularWave.referenceSource (nativeAssembly x l) j) _ _ _) = _ | |
| 333 | - rw [nativeAssembly_source] | |
| 334 | - rfl | |
| 335 | - | |
| 336 | -theorem nativeAssembly_rawPressure | |
| 337 | - (x : CorrectionStep.CycleState (ActualParticularStageControls.Label B N0)) | |
| 338 | - (l : ActualParticularStageControls.Label B N0) (j : ℤ) : | |
| 339 | - PhysicalParticularWave.referenceRawPressure (nativeAssembly x l) j = | |
| 340 | - ParticularWaveAssembly.angleLift (ParticularWaveBounds.commonPressure | |
| 341 | - ((ActualParticularStageControls.reference l).tangent j) (referenceResidualSource x l j) | |
| 342 | - (ActualParticularStageControls.reference l).geometry | |
| 343 | - (ActualParticularStageControls.reference l).length_pos.le | |
| 344 | - (ActualParticularStageControls.reference l).cutoff | |
| 345 | - ((j : ℝ) * (x.coefficients.blocks l).frequency (BaseChartJets.cellBand l.2))) := by | |
| 346 | - change ParticularWaveAssembly.angleLift (ParticularWaveBounds.commonPressure _ | |
| 347 | - (PhysicalParticularWave.referenceSource (nativeAssembly x l) j) _ _ _ _) = _ | |
| 348 | - rw [nativeAssembly_source] | |
| 349 | - rfl | |
| 350 | - | |
| 351 | 82 | /-! The native reference has its own actual frame and phase. -/ |
| 352 | 83 | |
| 353 | 84 | @[simp] theorem associatedToLift_symm_apply (z : PhysicalResidualNaturality.Lift) : |
| @@ -360,36 +91,6 @@ theorem nativeAssembly_rawPressure | ||
| 360 | 91 | @[simp] theorem cycleAssoc_symm_apply (z : PhysicalResidualNaturality.Associated) : |
| 361 | 92 | CorrectionStep.cycleAssoc.symm z = (z.1.1, (z.1.2, z.2)) := rfl |
| 362 | 93 | |
| 363 | -theorem inverseCover_associatedFrame (h Q : ℝ) (i k : ℕ) : | |
| 364 | - pullFrame (inverseCover k) (PhysicalResidualNaturality.associatedFrame h Q i) = | |
| 365 | - PhysicalResidualNaturality.associatedFrame h Q (i+k) := by | |
| 366 | - unfold pullFrame PhysicalResidualNaturality.associatedFrame StateReindex.frame | |
| 367 | - StateReindex.vector ParticularWaveBounds.reindexVector PhysicalResidualNaturality.commonFrame | |
| 368 | - congr 1 | |
| 369 | - · funext x | |
| 370 | - change ((1, (0, 0)), coverPower k | |
| 371 | - ((ChartScales.Lambda ^ i * Q ^ (ChartScales.radialExponent h / 2) * | |
| 372 | - GraphCalculus.radialSpeed (ChartScales.radialExponent h) x.1.1) • | |
| 373 | - PhysicalGraphBounds.radialDirection)) = _ | |
| 374 | - rw [map_smul, coverPower_apply, PhysicalGraphBounds.cover_pow_radialDirection, smul_smul] | |
| 375 | - congr 2 | |
| 376 | - simp only [ PhysicalResidualBridge.commonGraph, | |
| 377 | - PhysicalResidualNaturality.associatedToLift_apply] | |
| 378 | - rw [pow_add] | |
| 379 | - ring | |
| 380 | - · funext x | |
| 381 | - change ((0, (0, Q ^ h)), coverPower k 0) = _ | |
| 382 | - rw [map_zero] | |
| 383 | - rfl | |
| 384 | - · funext x | |
| 385 | - change ((0, (-(Q ^ h), 0)), coverPower k | |
| 386 | - ((ChartScales.Tg ^ i * Q ^ (1+h)) • PhysicalGraphBounds.timeDirection)) = _ | |
| 387 | - rw [map_smul, coverPower_apply, PhysicalGraphBounds.cover_pow_timeDirection, smul_smul] | |
| 388 | - congr 2 | |
| 389 | - simp only [PhysicalResidualBridge.commonGraph] | |
| 390 | - rw [pow_add] | |
| 391 | - ring | |
| 392 | - | |
| 393 | 94 | theorem associatedContext_frame (B n : ℕ) : |
| 394 | 95 | HarmonicResidual.contextFrame (ActualParticularStageControls.associatedContext (B := B)) n = |
| 395 | 96 | PhysicalResidualNaturality.associatedFrame h (ChartScales.Q n) (CommonWindow.index h n) := by |
| @@ -414,58 +115,9 @@ theorem associatedContext_frame (B n : ℕ) : | ||
| 414 | 115 | PhysicalResidualBridge.ScaledGraph.temporal, PhysicalResidualBridge.commonGraph, StateReindex.vector, ParticularWaveBounds.reindexVector, |
| 415 | 116 | PhysicalGraphBounds.timeDirection, TorusInverse.vector, ChartScales.epsilon] |
| 416 | 117 | |
| 417 | -theorem nativeAssembly_frame | |
| 418 | - (x : CorrectionStep.CycleState (ActualParticularStageControls.Label B N0)) | |
| 419 | - (l : ActualParticularStageControls.Label B N0) : | |
| 420 | - HarmonicResidual.contextFrame (nativeAssembly x l).context (BaseChartJets.cellBand l.2) = | |
| 421 | - PhysicalResidualNaturality.associatedFrame h (ChartScales.Q (BaseChartJets.cellBand l.2)) | |
| 422 | - (ChartScales.nativeIndex h (BaseChartJets.cellBand l.2)) := by | |
| 423 | - change HarmonicResidual.contextFrame | |
| 424 | - (pullContext (inverseCover (ActualParticularStageControls.gap l (BaseChartJets.cellBand l.2))) | |
| 425 | - (ActualParticularStageControls.associatedContext (B := B))) _ = _ | |
| 426 | - rw [pullContext_frame, associatedContext_frame, inverseCover_associatedFrame] | |
| 427 | - rw [ActualParticularStageControls.gap, Nat.add_sub_of_le (CommonWindow.index_le_native h _)] | |
| 428 | - | |
| 429 | -theorem rebaseAssembly_phase (D : ParticularWaveAssembly.AssemblyData Parameter) (k : ℕ) | |
| 430 | - (j : ℤ) (z : WaveSpace) : | |
| 431 | - PhysicalParticularWave.referencePhase (rebaseAssembly D k) j z = | |
| 432 | - PhysicalParticularWave.referencePhase D j (inverseCover k z) := rfl | |
| 433 | - | |
| 434 | -theorem rebaseAssembly_frequency (D : ParticularWaveAssembly.AssemblyData Parameter) | |
| 435 | - (k : ℕ) (j : ℤ) : | |
| 436 | - PhysicalParticularWave.referenceFrequency (rebaseAssembly D k) j = | |
| 437 | - PhysicalParticularWave.referenceFrequency D j := rfl | |
| 438 | - | |
| 439 | 118 | theorem ratioPower_self {Q : ℝ} (hQ : 0 < Q) (a : ℝ) : ratioPower Q Q a = 1 := |
| 440 | 119 | div_self (Real.rpow_pos_of_pos hQ a).ne' |
| 441 | 120 | |
| 442 | -theorem cylinderChange_inverseCover (h : ℝ) {Q : ℝ} (hQ : 0 < Q) (k : ℕ) | |
| 443 | - (z : WaveSpace) : | |
| 444 | - cylinderChange h Q Q k (waveEquiv.symm (inverseCover k z)) = waveEquiv.symm z := by | |
| 445 | - change ((ratioPower Q Q (1/2) * z.1.1.1, | |
| 446 | - ((ratioPower Q Q (CoordinateAlgebra.D h) * z.1.1.2.2, | |
| 447 | - ratioPower Q Q 1 * z.1.1.2.1), coverPower k ((coverPower k).symm z.2))), z.1.2) = _ | |
| 448 | - simp only [ratioPower_self hQ, one_mul, ContinuousLinearEquiv.apply_symm_apply] | |
| 449 | - rfl | |
| 450 | - | |
| 451 | -theorem nativeAssembly_background_phase | |
| 452 | - (x : CorrectionStep.CycleState (ActualParticularStageControls.Label B N0)) | |
| 453 | - (l : ActualParticularStageControls.Label B N0) (z : WaveSpace) : | |
| 454 | - (nativeAssembly x l).background.phase (BaseChartJets.cellBand l.2) z = | |
| 455 | - ActualSignedGeometry.preparedPhase certificate modulation slots (choice B N0).prepared | |
| 456 | - l.1 l.2 (waveEquiv.symm z) := by | |
| 457 | - let m := BaseChartJets.cellBand l.2 | |
| 458 | - let k := ActualParticularStageControls.gap l m | |
| 459 | - change (chartCoefficients l.1 l.2).phase m | |
| 460 | - (ActualParticularStageControls.nativeToFull (inverseCover k z)) = _ | |
| 461 | - rw [chartCoefficients_phase_view l.1 l.2 m (CommonWindow.index_le_native h m)] | |
| 462 | - change (ChartScales.carrier h m : ℝ) / ChartScales.carrier h m * | |
| 463 | - ActualSignedGeometry.preparedPhase certificate modulation slots (choice B N0).prepared l.1 l.2 | |
| 464 | - (cylinderChange h (ChartScales.Q m) (ChartScales.Q m) k | |
| 465 | - (waveEquiv.symm (inverseCover k z))) = _ | |
| 466 | - rw [div_self (by exact_mod_cast (Scaling.carrier_frequency_pos (ChartScales.epsilon_pos h m)).ne'), one_mul, | |
| 467 | - cylinderChange_inverseCover h (ChartScales.Q_pos m)] | |
| 468 | - | |
| 469 | 121 | /-! ## Dependence of a copy solve on one complete parameter fiber -/ |
| 470 | 122 | |
| 471 | 123 | section FiberLocality |
| @@ -567,21 +219,6 @@ theorem associatedChart_stateChart (n m k : ℕ) (z : PhysicalResidualNaturality | ||
| 567 | 219 | parameterChange, ratioPower, Real.rpow_one, |
| 568 | 220 | Real.div_rpow (ChartScales.Q_pos n).le (ChartScales.Q_pos m).le] |
| 569 | 221 | |
| 570 | -theorem commonReferenceChart_forward (l : ActualParticularStageControls.Label B N0) | |
| 571 | - (n k : ℕ) (hi : CommonWindow.index h n + k = CommonWindow.index h (BaseChartJets.cellBand l.2)) | |
| 572 | - (z : PhysicalResidualNaturality.Associated) : | |
| 573 | - CorrectionStep.cycleAssoc.symm (commonReferenceChart l n z) = | |
| 574 | - GaugeStateCoherence.bandChartEquiv h n (BaseChartJets.cellBand l.2) k | |
| 575 | - (CorrectionStep.cycleAssoc.symm z) := by | |
| 576 | - have hg : ActualParticularStageControls.gap l n = | |
| 577 | - ActualParticularStageControls.gap l (BaseChartJets.cellBand l.2) + k := by | |
| 578 | - have hm := CommonWindow.index_le_native h (BaseChartJets.cellBand l.2) | |
| 579 | - unfold ActualParticularStageControls.gap | |
| 580 | - omega | |
| 581 | - rw [commonReferenceChart_apply, hg, CopySolveCompatibility.coverPower_add, | |
| 582 | - ContinuousLinearEquiv.symm_apply_apply] | |
| 583 | - exact associatedChart_stateChart n (BaseChartJets.cellBand l.2) k z | |
| 584 | - | |
| 585 | 222 | theorem assembly_source |
| 586 | 223 | (x : CorrectionStep.CycleState (ActualParticularStageControls.Label B N0)) |
| 587 | 224 | (l : ActualParticularStageControls.Label B N0) (j : ℤ) (n : ℕ) |
| @@ -597,22 +234,6 @@ theorem assembly_source | ||
| 597 | 234 | (StateReindex.residualBlock_pull CorrectionStep.cycleAssoc.symm (commonContext B) x.state |
| 598 | 235 | (x.coefficients.blocks l) (x.coefficients.gaussian l) (x.coefficients.aliasCoefficients l)) |
| 599 | 236 | |
| 600 | -theorem transportedSource_eq_commonReference | |
| 601 | - (x : CorrectionStep.CycleState (ActualParticularStageControls.Label B N0)) | |
| 602 | - (l : ActualParticularStageControls.Label B N0) (j : ℤ) (n : ℕ) | |
| 603 | - (z : PhysicalResidualNaturality.Associated) : | |
| 604 | - PhysicalParticularWave.transportedResidualSource (nativeAssembly x l) h (ChartScales.Q n) | |
| 605 | - (ChartScales.Q (BaseChartJets.cellBand l.2)) (ActualParticularStageControls.gap l n) j z = | |
| 606 | - sourceWeight h (ChartScales.Q n) (ChartScales.Q (BaseChartJets.cellBand l.2)) • | |
| 607 | - ParticularWaveAssembly.residualSource (commonContext B) x.state (x.coefficients.blocks l) | |
| 608 | - (x.coefficients.gaussian l) (x.coefficients.aliasCoefficients l) j (BaseChartJets.cellBand l.2) | |
| 609 | - (CorrectionStep.cycleAssoc.symm (commonReferenceChart l n z)) := by | |
| 610 | - rw [PhysicalParticularWave.transportedResidualSource_apply _ h (ChartScales.Q_pos n) | |
| 611 | - (ChartScales.Q_pos (BaseChartJets.cellBand l.2)), nativeAssembly_source] | |
| 612 | - exact congrArg (fun v : ComplexVector => sourceWeight h (ChartScales.Q n) | |
| 613 | - (ChartScales.Q (BaseChartJets.cellBand l.2)) • v) | |
| 614 | - (assembly_source x l j (BaseChartJets.cellBand l.2) (commonReferenceChart l n z)) | |
| 615 | - | |
| 616 | 237 | theorem state_sourceWeight (n m : ℕ) : |
| 617 | 238 | GaugeStateCoherence.bandVelocityScale h n m * GaugeStateCoherence.bandVelocityScale h n m * |
| 618 | 239 | GaugeStateCoherence.bandScale n m = sourceWeight h (ChartScales.Q n) (ChartScales.Q m) := by |
| @@ -620,38 +241,6 @@ theorem state_sourceWeight (n m : ℕ) : | ||
| 620 | 241 | GaugeStateCoherence.bandScale_eq_ratioPower, velocityWeight] using |
| 621 | 242 | PhysicalResidualNaturality.weight_source (ChartScales.Q_pos n) (ChartScales.Q_pos m) h |
| 622 | 243 | |
| 623 | -/-- This consumes exactly the full-fiber state and block conclusions of the | |
| 624 | -physical recurrence. It does not assume source or solved-wave coherence. -/ | |
| 625 | -theorem source_forward | |
| 626 | - (x : CorrectionStep.CycleState (ActualParticularStageControls.Label B N0)) | |
| 627 | - (l : ActualParticularStageControls.Label B N0) {V : Set Plane} (hV : IsOpen V) | |
| 628 | - (htime : ∀ s ∈ V, 0 < s.1) (n k : ℕ) | |
| 629 | - (hi : CommonWindow.index h n + k = CommonWindow.index h (BaseChartJets.cellBand l.2)) | |
| 630 | - (HS : PhysicalResidualNaturality.StateOn (PhysicalMeanDomain.slowDomain V) | |
| 631 | - (GaugeStateCoherence.bandChartEquiv h n (BaseChartJets.cellBand l.2) k) | |
| 632 | - (GaugeStateCoherence.bandVelocityScale h n (BaseChartJets.cellBand l.2)) | |
| 633 | - (GaugeStateCoherence.bandScale n (BaseChartJets.cellBand l.2)) | |
| 634 | - x.state x.state n (BaseChartJets.cellBand l.2)) | |
| 635 | - (HB : PhysicalResidualNaturality.BlockFieldsOn (PhysicalMeanDomain.slowDomain V) | |
| 636 | - (GaugeStateCoherence.bandChartEquiv h n (BaseChartJets.cellBand l.2) k) | |
| 637 | - (GaugeStateCoherence.bandVelocityScale h n (BaseChartJets.cellBand l.2)) | |
| 638 | - (GaugeStateCoherence.bandScale n (BaseChartJets.cellBand l.2)) | |
| 639 | - (x.coefficients.blocks l) (x.coefficients.blocks l) | |
| 640 | - (x.coefficients.gaussian l) (x.coefficients.aliasCoefficients l) | |
| 641 | - (x.coefficients.gaussian l) (x.coefficients.aliasCoefficients l) n (BaseChartJets.cellBand l.2)) | |
| 642 | - (j : ℤ) (z : PhysicalResidualNaturality.Associated) (hz : z.1.2 ∈ V) : | |
| 643 | - ParticularWaveAssembly.residualSource (ActualParticularStageControls.assembly x l).context | |
| 644 | - (ActualParticularStageControls.assembly x l).state (ActualParticularStageControls.assembly x l).carrierBlock | |
| 645 | - (ActualParticularStageControls.assembly x l).gaussianInput (ActualParticularStageControls.assembly x l).aliasInput | |
| 646 | - j n z = PhysicalParticularWave.transportedResidualSource (nativeAssembly x l) h (ChartScales.Q n) | |
| 647 | - (ChartScales.Q (BaseChartJets.cellBand l.2)) (ActualParticularStageControls.gap l n) j z := by | |
| 648 | - have he := HS.source (ActualInitialCoherence.context_band B htime n (BaseChartJets.cellBand l.2) k hi) | |
| 649 | - (PhysicalMeanDomain.slowDomain_open hV) (GaugeStateCoherence.bandScale_pos n (BaseChartJets.cellBand l.2)).ne' | |
| 650 | - HB j (x := CorrectionStep.cycleAssoc.symm z) hz | |
| 651 | - rw [state_sourceWeight] at he | |
| 652 | - rw [assembly_source, transportedSource_eq_commonReference, commonReferenceChart_forward l n k hi] | |
| 653 | - exact he | |
| 654 | - | |
| 655 | 244 | /-! The reference operator identities hold on the entire free lift. -/ |
| 656 | 245 | |
| 657 | 246 | noncomputable def angleEmbed (v : PhysicalResidualNaturality.Associated) : WaveSpace := |
| @@ -678,98 +267,8 @@ theorem associatedDirections_axial (B n : ℕ) (z : WaveSpace) : | ||
| 678 | 267 | simp only [Prod.smul_mk, smul_zero] |
| 679 | 268 | rfl |
| 680 | 269 | |
| 681 | -theorem nativeDirections_radial | |
| 682 | - (x : CorrectionStep.CycleState (ActualParticularStageControls.Label B N0)) | |
| 683 | - (l : ActualParticularStageControls.Label B N0) (n : ℕ) (z : WaveSpace) : | |
| 684 | - (nativeAssembly x l).directions.radialField n z = | |
| 685 | - angleEmbed ((HarmonicResidual.contextFrame (nativeAssembly x l).context n).radial (z.1.1,z.2)) := by | |
| 686 | - change (pullDirections (inverseCover (ActualParticularStageControls.gap l (BaseChartJets.cellBand l.2))) | |
| 687 | - (ActualParticularStageControls.directions (B := B))).radialField n z = _ | |
| 688 | - rw [pullDirections_radial, associatedDirections_radial] | |
| 689 | - change _ = angleEmbed ((HarmonicResidual.contextFrame | |
| 690 | - (pullContext (inverseCover (ActualParticularStageControls.gap l (BaseChartJets.cellBand l.2))) | |
| 691 | - (ActualParticularStageControls.associatedContext (B := B))) n).radial _) | |
| 692 | - rw [pullContext_frame] | |
| 693 | - rfl | |
| 694 | - | |
| 695 | -theorem nativeDirections_axial | |
| 696 | - (x : CorrectionStep.CycleState (ActualParticularStageControls.Label B N0)) | |
| 697 | - (l : ActualParticularStageControls.Label B N0) (n : ℕ) (z : WaveSpace) : | |
| 698 | - (nativeAssembly x l).directions.axialField (nativeAssembly x l).strip n z = | |
| 699 | - angleEmbed ((HarmonicResidual.contextFrame (nativeAssembly x l).context n).axial (z.1.1,z.2)) := by | |
| 700 | - change (pullDirections (inverseCover (ActualParticularStageControls.gap l (BaseChartJets.cellBand l.2))) | |
| 701 | - (ActualParticularStageControls.directions (B := B))).axialField | |
| 702 | - (pullStrip (inverseCover (ActualParticularStageControls.gap l (BaseChartJets.cellBand l.2))) | |
| 703 | - (CorrectionStep.ParticularParameters.nativeStrip ActualParticularStageControls.associatedStrip)) n z = _ | |
| 704 | - rw [pullDirections_axial, associatedDirections_axial] | |
| 705 | - change _ = angleEmbed ((HarmonicResidual.contextFrame | |
| 706 | - (pullContext (inverseCover (ActualParticularStageControls.gap l (BaseChartJets.cellBand l.2))) | |
| 707 | - (ActualParticularStageControls.associatedContext (B := B))) n).axial _) | |
| 708 | - rw [pullContext_frame] | |
| 709 | - rfl | |
| 710 | - | |
| 711 | -theorem nativeDirections_angular | |
| 712 | - (x : CorrectionStep.CycleState (ActualParticularStageControls.Label B N0)) | |
| 713 | - (l : ActualParticularStageControls.Label B N0) : | |
| 714 | - (nativeAssembly x l).directions.angular = (((0 : Parameter),1),(0 : Plane)) := by | |
| 715 | - change ((inverseCover (P := Parameter × ℝ) | |
| 716 | - (ActualParticularStageControls.gap l (BaseChartJets.cellBand l.2))).symm | |
| 717 | - (((0 : Parameter),1),(0 : Plane))) = _ | |
| 718 | - rw [inverseCover_symm_apply, map_zero] | |
| 719 | - | |
| 720 | -theorem nativeAssembly_referenceChart | |
| 721 | - (x : CorrectionStep.CycleState (ActualParticularStageControls.Label B N0)) | |
| 722 | - (l : ActualParticularStageControls.Label B N0) : | |
| 723 | - PhysicalParticularWave.ReferenceChart (nativeAssembly x l) h | |
| 724 | - (ChartScales.Q (BaseChartJets.cellBand l.2)) (ChartScales.nativeIndex h (BaseChartJets.cellBand l.2)) := by | |
| 725 | - refine ⟨nativeAssembly_identity x l, ?_, ?_, ?_, ?_⟩ | |
| 726 | - · rfl | |
| 727 | - · funext z | |
| 728 | - apply waveEquiv.injective | |
| 729 | - change (nativeAssembly x l).directions.radialField (BaseChartJets.cellBand l.2) (waveEquiv z) = _ | |
| 730 | - rw [nativeDirections_radial, nativeAssembly_frame] | |
| 731 | - rfl | |
| 732 | - · rw [nativeDirections_angular] | |
| 733 | - rfl | |
| 734 | - · funext z | |
| 735 | - apply waveEquiv.injective | |
| 736 | - change (nativeAssembly x l).directions.axialField (nativeAssembly x l).strip | |
| 737 | - (BaseChartJets.cellBand l.2) (waveEquiv z) = _ | |
| 738 | - rw [nativeDirections_axial, nativeAssembly_frame] | |
| 739 | - rfl | |
| 740 | - | |
| 741 | 270 | /-! ## Reverse index order and the original recurrence interface -/ |
| 742 | 271 | |
| 743 | -theorem ratioPower_reverse_mul {Q Qr : ℝ} (hQ : 0 < Q) (hQr : 0 < Qr) (a : ℝ) : | |
| 744 | - ratioPower Q Qr a * ratioPower Qr Q a = 1 := by | |
| 745 | - unfold ratioPower | |
| 746 | - field_simp [(Real.rpow_pos_of_pos hQ a).ne', (Real.rpow_pos_of_pos hQr a).ne'] | |
| 747 | - | |
| 748 | -theorem parameterChange_inverse (h : ℝ) {Q Qr : ℝ} (hQ : 0 < Q) (hQr : 0 < Qr) | |
| 749 | - (p : Parameter) : parameterChange h Qr Q (parameterChange h Q Qr p) = p := by | |
| 750 | - ext <;> simp only [parameterChange, ← mul_assoc, ratioPower_reverse_mul hQr hQ, one_mul] | |
| 751 | - | |
| 752 | -theorem commonReferenceChart_backward (l : ActualParticularStageControls.Label B N0) | |
| 753 | - (n k : ℕ) (hi : CommonWindow.index h (BaseChartJets.cellBand l.2) + k = CommonWindow.index h n) | |
| 754 | - (hn : CommonWindow.index h n ≤ ChartScales.nativeIndex h (BaseChartJets.cellBand l.2)) | |
| 755 | - (z : PhysicalResidualNaturality.Associated) : | |
| 756 | - GaugeStateCoherence.bandChartEquiv h (BaseChartJets.cellBand l.2) n k | |
| 757 | - (CorrectionStep.cycleAssoc.symm (commonReferenceChart l n z)) = CorrectionStep.cycleAssoc.symm z := by | |
| 758 | - have hg : ActualParticularStageControls.gap l (BaseChartJets.cellBand l.2) = | |
| 759 | - ActualParticularStageControls.gap l n + k := by | |
| 760 | - unfold ActualParticularStageControls.gap | |
| 761 | - omega | |
| 762 | - rw [← associatedChart_stateChart] | |
| 763 | - apply congrArg CorrectionStep.cycleAssoc.symm | |
| 764 | - rw [PhysicalResidualNaturality.associatedChart_apply, commonReferenceChart_apply, | |
| 765 | - parameterChange_inverse h (ChartScales.Q_pos n) (ChartScales.Q_pos (BaseChartJets.cellBand l.2))] | |
| 766 | - apply Prod.ext | |
| 767 | - · rfl | |
| 768 | - · change coverPower k ((coverPower (ActualParticularStageControls.gap l (BaseChartJets.cellBand l.2))).symm | |
| 769 | - (coverPower (ActualParticularStageControls.gap l n) z.2)) = z.2 | |
| 770 | - apply (coverPower (ActualParticularStageControls.gap l n)).injective | |
| 771 | - rw [← CopySolveCompatibility.coverPower_add, ← hg, ContinuousLinearEquiv.apply_symm_apply] | |
| 772 | - | |
| 773 | 272 | abbrev StateComparison (x : CorrectionStep.CycleState (ActualParticularStageControls.Label B N0)) |
| 774 | 273 | (V : Set Plane) (n m k : ℕ) : Prop := |
| 775 | 274 | PhysicalResidualNaturality.StateOn (PhysicalMeanDomain.slowDomain V) |
| @@ -784,86 +283,10 @@ abbrev BlockComparison (x : CorrectionStep.CycleState (ActualParticularStageCont | ||
| 784 | 283 | (x.coefficients.gaussian l) (x.coefficients.aliasCoefficients l) |
| 785 | 284 | (x.coefficients.gaussian l) (x.coefficients.aliasCoefficients l) n m |
| 786 | 285 | |
| 787 | -theorem source_backward | |
| 788 | - (x : CorrectionStep.CycleState (ActualParticularStageControls.Label B N0)) | |
| 789 | - (l : ActualParticularStageControls.Label B N0) {V : Set Plane} (hV : IsOpen V) | |
| 790 | - (htime : ∀ s ∈ V, 0 < s.1) (n k : ℕ) | |
| 791 | - (hi : CommonWindow.index h (BaseChartJets.cellBand l.2) + k = CommonWindow.index h n) | |
| 792 | - (hn : CommonWindow.index h n ≤ ChartScales.nativeIndex h (BaseChartJets.cellBand l.2)) | |
| 793 | - (HS : StateComparison x V (BaseChartJets.cellBand l.2) n k) | |
| 794 | - (HB : BlockComparison x l V (BaseChartJets.cellBand l.2) n k) | |
| 795 | - (j : ℤ) (z : PhysicalResidualNaturality.Associated) | |
| 796 | - (hz : (commonReferenceChart l n z).1.2 ∈ V) : | |
| 797 | - ParticularWaveAssembly.residualSource (ActualParticularStageControls.assembly x l).context | |
| 798 | - (ActualParticularStageControls.assembly x l).state (ActualParticularStageControls.assembly x l).carrierBlock | |
| 799 | - (ActualParticularStageControls.assembly x l).gaussianInput (ActualParticularStageControls.assembly x l).aliasInput | |
| 800 | - j n z = PhysicalParticularWave.transportedResidualSource (nativeAssembly x l) h (ChartScales.Q n) | |
| 801 | - (ChartScales.Q (BaseChartJets.cellBand l.2)) (ActualParticularStageControls.gap l n) j z := by | |
| 802 | - have he := HS.source (ActualInitialCoherence.context_band B htime (BaseChartJets.cellBand l.2) n k hi) | |
| 803 | - (PhysicalMeanDomain.slowDomain_open hV) (GaugeStateCoherence.bandScale_pos (BaseChartJets.cellBand l.2) n).ne' | |
| 804 | - HB j (x := CorrectionStep.cycleAssoc.symm (commonReferenceChart l n z)) hz | |
| 805 | - rw [state_sourceWeight, commonReferenceChart_backward l n k hi hn] at he | |
| 806 | - have he' := congrArg (fun v : ComplexVector => | |
| 807 | - sourceWeight h (ChartScales.Q n) (ChartScales.Q (BaseChartJets.cellBand l.2)) • v) he | |
| 808 | - rw [smul_smul, show sourceWeight h (ChartScales.Q n) (ChartScales.Q (BaseChartJets.cellBand l.2)) * | |
| 809 | - sourceWeight h (ChartScales.Q (BaseChartJets.cellBand l.2)) (ChartScales.Q n) = 1 from | |
| 810 | - ratioPower_reverse_mul (ChartScales.Q_pos n) (ChartScales.Q_pos (BaseChartJets.cellBand l.2)) _, one_smul] at he' | |
| 811 | - rw [assembly_source, transportedSource_eq_commonReference] | |
| 812 | - exact he'.symm | |
| 813 | - | |
| 814 | 286 | /-! ## Regularity and support are transported, not postulated anew -/ |
| 815 | 287 | |
| 816 | -theorem referenceResidualSource_smooth | |
| 817 | - (x : CorrectionStep.CycleState (ActualParticularStageControls.Label B N0)) | |
| 818 | - (l : ActualParticularStageControls.Label B N0) (j : ℤ) (V : Set Parameter) | |
| 819 | - (hf : ContDiffOn ℝ ∞ (ParticularWaveAssembly.residualSource | |
| 820 | - (ActualParticularStageControls.assembly x l).context (ActualParticularStageControls.assembly x l).state | |
| 821 | - (ActualParticularStageControls.assembly x l).carrierBlock | |
| 822 | - (ActualParticularStageControls.assembly x l).gaussianInput (ActualParticularStageControls.assembly x l).aliasInput | |
| 823 | - j (BaseChartJets.cellBand l.2)) (V ×ˢ univ)) : | |
| 824 | - ContDiffOn ℝ ∞ (referenceResidualSource x l j) (V ×ˢ univ) := | |
| 825 | - hf.comp (inverseCover (P := Parameter) | |
| 826 | - (ActualParticularStageControls.gap l (BaseChartJets.cellBand l.2))).contDiff.contDiffOn | |
| 827 | - (fun _ hz => ⟨hz.1, mem_univ _⟩) | |
| 828 | - | |
| 829 | -theorem referenceResidualSource_support | |
| 830 | - (x : CorrectionStep.CycleState (ActualParticularStageControls.Label B N0)) | |
| 831 | - (l : ActualParticularStageControls.Label B N0) (j : ℤ) : | |
| 832 | - support (referenceResidualSource x l j) = | |
| 833 | - inverseCover (P := Parameter) (ActualParticularStageControls.gap l (BaseChartJets.cellBand l.2)) ⁻¹' | |
| 834 | - support (ParticularWaveAssembly.residualSource (ActualParticularStageControls.assembly x l).context | |
| 835 | - (ActualParticularStageControls.assembly x l).state (ActualParticularStageControls.assembly x l).carrierBlock | |
| 836 | - (ActualParticularStageControls.assembly x l).gaussianInput (ActualParticularStageControls.assembly x l).aliasInput | |
| 837 | - j (BaseChartJets.cellBand l.2)) := rfl | |
| 838 | - | |
| 839 | 288 | /-! ## The unchanged target solve uses this native reference -/ |
| 840 | 289 | |
| 841 | -theorem residualBandAmplitude_rebase_at (D : ParticularWaveAssembly.AssemblyData Parameter) | |
| 842 | - (h : ℝ) {Q Qr : ℝ} (hQ : 0 < Q) (hQr : 0 < Qr) (kr gap : ℕ) | |
| 843 | - (K : ℝ) (j : ℤ) (n : ℕ) (p : Parameter) | |
| 844 | - (hf : ∀ Y, ParticularWaveAssembly.residualSource D.context D.state D.carrierBlock | |
| 845 | - D.gaussianInput D.aliasInput j n (p,Y) = | |
| 846 | - PhysicalParticularWave.transportedResidualSource (rebaseAssembly D kr) h Q Qr gap j (p,Y)) | |
| 847 | - (Y : Plane) : | |
| 848 | - PhysicalParticularWave.residualBandAmplitude D h hQ hQr gap K j n (p,Y) = | |
| 849 | - PhysicalParticularWave.bandAmplitude (rebaseAssembly D kr) h hQ hQr gap K j (p,Y) := by | |
| 850 | - unfold PhysicalParticularWave.residualBandAmplitude PhysicalParticularWave.bandAmplitude | |
| 851 | - apply commonVelocity_source_congr | |
| 852 | - exact hf | |
| 853 | - | |
| 854 | -theorem residualBandPressure_rebase_at (D : ParticularWaveAssembly.AssemblyData Parameter) | |
| 855 | - (h : ℝ) {Q Qr : ℝ} (hQ : 0 < Q) (hQr : 0 < Qr) (kr gap : ℕ) | |
| 856 | - (K : ℝ) (j : ℤ) (n : ℕ) (p : Parameter) | |
| 857 | - (hf : ∀ Y, ParticularWaveAssembly.residualSource D.context D.state D.carrierBlock | |
| 858 | - D.gaussianInput D.aliasInput j n (p,Y) = | |
| 859 | - PhysicalParticularWave.transportedResidualSource (rebaseAssembly D kr) h Q Qr gap j (p,Y)) | |
| 860 | - (Y : Plane) : | |
| 861 | - PhysicalParticularWave.residualBandPressure D h hQ hQr gap K j n (p,Y) = | |
| 862 | - PhysicalParticularWave.bandPressure (rebaseAssembly D kr) h hQ hQr gap K j (p,Y) := by | |
| 863 | - unfold PhysicalParticularWave.residualBandPressure PhysicalParticularWave.bandPressure | |
| 864 | - apply commonPressure_source_congr | |
| 865 | - exact hf | |
| 866 | - | |
| 867 | 290 | /-- The literal current-source common coefficient in the actual stage. -/ |
| 868 | 291 | noncomputable def actualCoefficients |
| 869 | 292 | (x : CorrectionStep.CycleState (ActualParticularStageControls.Label B N0)) |
| @@ -874,111 +297,6 @@ noncomputable def actualCoefficients | ||
| 874 | 297 | (ActualParticularStageControls.assembly x l).gaussianInput |
| 875 | 298 | (ActualParticularStageControls.assembly x l).aliasInput j).common |
| 876 | 299 | |
| 877 | -theorem actualAmplitude_rebase_at | |
| 878 | - (x : CorrectionStep.CycleState (ActualParticularStageControls.Label B N0)) | |
| 879 | - (l : ActualParticularStageControls.Label B N0) (j : ℤ) (n : ℕ) (p : Parameter) | |
| 880 | - (hf : ∀ Y, ParticularWaveAssembly.residualSource (ActualParticularStageControls.assembly x l).context | |
| 881 | - (ActualParticularStageControls.assembly x l).state (ActualParticularStageControls.assembly x l).carrierBlock | |
| 882 | - (ActualParticularStageControls.assembly x l).gaussianInput (ActualParticularStageControls.assembly x l).aliasInput | |
| 883 | - j n (p,Y) = PhysicalParticularWave.transportedResidualSource (nativeAssembly x l) h (ChartScales.Q n) | |
| 884 | - (ChartScales.Q (BaseChartJets.cellBand l.2)) (ActualParticularStageControls.gap l n) j (p,Y)) | |
| 885 | - (theta : ℝ) (Y : Plane) : | |
| 886 | - (actualCoefficients x l j).amplitude n ((p,theta),Y) = | |
| 887 | - PhysicalParticularWave.bandAmplitude (nativeAssembly x l) h (ChartScales.Q_pos n) | |
| 888 | - (ChartScales.Q_pos (BaseChartJets.cellBand l.2)) (ActualParticularStageControls.gap l n) | |
| 889 | - ((j : ℝ) * (x.coefficients.blocks l).frequency n) j (p,Y) := by | |
| 890 | - have he := congrFun (CorrectionStep.ParticularParameters.fromReference_amplitude | |
| 891 | - (ActualParticularStageControls.assembly x l) h (ActualParticularStageControls.gap l) j n) ((p,theta),Y) | |
| 892 | - exact he.trans (residualBandAmplitude_rebase_at (ActualParticularStageControls.assembly x l) h | |
| 893 | - (ChartScales.Q_pos n) (ChartScales.Q_pos (BaseChartJets.cellBand l.2)) | |
| 894 | - (ActualParticularStageControls.gap l (BaseChartJets.cellBand l.2)) (ActualParticularStageControls.gap l n) | |
| 895 | - ((j : ℝ) * (x.coefficients.blocks l).frequency n) j n p hf Y) | |
| 896 | - | |
| 897 | -theorem actualPressure_rebase_at | |
| 898 | - (x : CorrectionStep.CycleState (ActualParticularStageControls.Label B N0)) | |
| 899 | - (l : ActualParticularStageControls.Label B N0) (j : ℤ) (n : ℕ) (p : Parameter) | |
| 900 | - (hK : (j : ℝ) * (x.coefficients.blocks l).frequency n ≠ 0) | |
| 901 | - (hf : ∀ Y, ParticularWaveAssembly.residualSource (ActualParticularStageControls.assembly x l).context | |
| 902 | - (ActualParticularStageControls.assembly x l).state (ActualParticularStageControls.assembly x l).carrierBlock | |
| 903 | - (ActualParticularStageControls.assembly x l).gaussianInput (ActualParticularStageControls.assembly x l).aliasInput | |
| 904 | - j n (p,Y) = PhysicalParticularWave.transportedResidualSource (nativeAssembly x l) h (ChartScales.Q n) | |
| 905 | - (ChartScales.Q (BaseChartJets.cellBand l.2)) (ActualParticularStageControls.gap l n) j (p,Y)) | |
| 906 | - (theta : ℝ) (Y : Plane) : | |
| 907 | - (actualCoefficients x l j).pressure n ((p,theta),Y) = | |
| 908 | - PhysicalParticularWave.bandPressure (nativeAssembly x l) h (ChartScales.Q_pos n) | |
| 909 | - (ChartScales.Q_pos (BaseChartJets.cellBand l.2)) (ActualParticularStageControls.gap l n) | |
| 910 | - ((j : ℝ) * (x.coefficients.blocks l).frequency n) j (p,Y) := by | |
| 911 | - have he := congrFun (CorrectionStep.ParticularParameters.fromReference_pressure | |
| 912 | - (ActualParticularStageControls.assembly x l) h (ActualParticularStageControls.gap l) j n hK) ((p,theta),Y) | |
| 913 | - exact he.trans (residualBandPressure_rebase_at (ActualParticularStageControls.assembly x l) h | |
| 914 | - (ChartScales.Q_pos n) (ChartScales.Q_pos (BaseChartJets.cellBand l.2)) | |
| 915 | - (ActualParticularStageControls.gap l (BaseChartJets.cellBand l.2)) (ActualParticularStageControls.gap l n) | |
| 916 | - ((j : ℝ) * (x.coefficients.blocks l).frequency n) j n p hf Y) | |
| 917 | - | |
| 918 | -theorem actualAmplitude_forward | |
| 919 | - (x : CorrectionStep.CycleState (ActualParticularStageControls.Label B N0)) | |
| 920 | - (l : ActualParticularStageControls.Label B N0) {V : Set Plane} (hV : IsOpen V) | |
| 921 | - (htime : ∀ s ∈ V, 0 < s.1) (n k : ℕ) | |
| 922 | - (hi : CommonWindow.index h n + k = CommonWindow.index h (BaseChartJets.cellBand l.2)) | |
| 923 | - (HS : StateComparison x V n (BaseChartJets.cellBand l.2) k) | |
| 924 | - (HB : BlockComparison x l V n (BaseChartJets.cellBand l.2) k) | |
| 925 | - (j : ℤ) (p : Parameter) (hp : p.2 ∈ V) (theta : ℝ) (Y : Plane) : | |
| 926 | - (actualCoefficients x l j).amplitude n ((p,theta),Y) = | |
| 927 | - PhysicalParticularWave.bandAmplitude (nativeAssembly x l) h (ChartScales.Q_pos n) | |
| 928 | - (ChartScales.Q_pos (BaseChartJets.cellBand l.2)) (ActualParticularStageControls.gap l n) | |
| 929 | - ((j : ℝ) * (x.coefficients.blocks l).frequency n) j (p,Y) := | |
| 930 | - actualAmplitude_rebase_at x l j n p (fun Z => source_forward x l hV htime n k hi HS HB j (p,Z) hp) theta Y | |
| 931 | - | |
| 932 | -theorem actualPressure_forward | |
| 933 | - (x : CorrectionStep.CycleState (ActualParticularStageControls.Label B N0)) | |
| 934 | - (l : ActualParticularStageControls.Label B N0) {V : Set Plane} (hV : IsOpen V) | |
| 935 | - (htime : ∀ s ∈ V, 0 < s.1) (n k : ℕ) | |
| 936 | - (hi : CommonWindow.index h n + k = CommonWindow.index h (BaseChartJets.cellBand l.2)) | |
| 937 | - (HS : StateComparison x V n (BaseChartJets.cellBand l.2) k) | |
| 938 | - (HB : BlockComparison x l V n (BaseChartJets.cellBand l.2) k) | |
| 939 | - (j : ℤ) (hK : (j : ℝ) * (x.coefficients.blocks l).frequency n ≠ 0) | |
| 940 | - (p : Parameter) (hp : p.2 ∈ V) (theta : ℝ) (Y : Plane) : | |
| 941 | - (actualCoefficients x l j).pressure n ((p,theta),Y) = | |
| 942 | - PhysicalParticularWave.bandPressure (nativeAssembly x l) h (ChartScales.Q_pos n) | |
| 943 | - (ChartScales.Q_pos (BaseChartJets.cellBand l.2)) (ActualParticularStageControls.gap l n) | |
| 944 | - ((j : ℝ) * (x.coefficients.blocks l).frequency n) j (p,Y) := | |
| 945 | - actualPressure_rebase_at x l j n p hK (fun Z => source_forward x l hV htime n k hi HS HB j (p,Z) hp) theta Y | |
| 946 | - | |
| 947 | -theorem actualAmplitude_backward | |
| 948 | - (x : CorrectionStep.CycleState (ActualParticularStageControls.Label B N0)) | |
| 949 | - (l : ActualParticularStageControls.Label B N0) {V : Set Plane} (hV : IsOpen V) | |
| 950 | - (htime : ∀ s ∈ V, 0 < s.1) (n k : ℕ) | |
| 951 | - (hi : CommonWindow.index h (BaseChartJets.cellBand l.2) + k = CommonWindow.index h n) | |
| 952 | - (hn : CommonWindow.index h n ≤ ChartScales.nativeIndex h (BaseChartJets.cellBand l.2)) | |
| 953 | - (HS : StateComparison x V (BaseChartJets.cellBand l.2) n k) | |
| 954 | - (HB : BlockComparison x l V (BaseChartJets.cellBand l.2) n k) | |
| 955 | - (j : ℤ) (p : Parameter) | |
| 956 | - (hp : (parameterChange h (ChartScales.Q n) (ChartScales.Q (BaseChartJets.cellBand l.2)) p).2 ∈ V) | |
| 957 | - (theta : ℝ) (Y : Plane) : | |
| 958 | - (actualCoefficients x l j).amplitude n ((p,theta),Y) = | |
| 959 | - PhysicalParticularWave.bandAmplitude (nativeAssembly x l) h (ChartScales.Q_pos n) | |
| 960 | - (ChartScales.Q_pos (BaseChartJets.cellBand l.2)) (ActualParticularStageControls.gap l n) | |
| 961 | - ((j : ℝ) * (x.coefficients.blocks l).frequency n) j (p,Y) := | |
| 962 | - actualAmplitude_rebase_at x l j n p (fun Z => source_backward x l hV htime n k hi hn HS HB j (p,Z) hp) theta Y | |
| 963 | - | |
| 964 | -theorem actualPressure_backward | |
| 965 | - (x : CorrectionStep.CycleState (ActualParticularStageControls.Label B N0)) | |
| 966 | - (l : ActualParticularStageControls.Label B N0) {V : Set Plane} (hV : IsOpen V) | |
| 967 | - (htime : ∀ s ∈ V, 0 < s.1) (n k : ℕ) | |
| 968 | - (hi : CommonWindow.index h (BaseChartJets.cellBand l.2) + k = CommonWindow.index h n) | |
| 969 | - (hn : CommonWindow.index h n ≤ ChartScales.nativeIndex h (BaseChartJets.cellBand l.2)) | |
| 970 | - (HS : StateComparison x V (BaseChartJets.cellBand l.2) n k) | |
| 971 | - (HB : BlockComparison x l V (BaseChartJets.cellBand l.2) n k) | |
| 972 | - (j : ℤ) (hK : (j : ℝ) * (x.coefficients.blocks l).frequency n ≠ 0) | |
| 973 | - (p : Parameter) | |
| 974 | - (hp : (parameterChange h (ChartScales.Q n) (ChartScales.Q (BaseChartJets.cellBand l.2)) p).2 ∈ V) | |
| 975 | - (theta : ℝ) (Y : Plane) : | |
| 976 | - (actualCoefficients x l j).pressure n ((p,theta),Y) = | |
| 977 | - PhysicalParticularWave.bandPressure (nativeAssembly x l) h (ChartScales.Q_pos n) | |
| 978 | - (ChartScales.Q_pos (BaseChartJets.cellBand l.2)) (ActualParticularStageControls.gap l n) | |
| 979 | - ((j : ℝ) * (x.coefficients.blocks l).frequency n) j (p,Y) := | |
| 980 | - actualPressure_rebase_at x l j n p hK (fun Z => source_backward x l hV htime n k hi hn HS HB j (p,Z) hp) theta Y | |
| 981 | - | |
| 982 | 300 | /-! The full carrier uses the same rebase, including the angular integer. -/ |
| 983 | 301 | |
| 984 | 302 | theorem carrier_phase_rebase {K Kr J a theta phi psi : ℝ} |
| @@ -992,113 +310,6 @@ theorem carrier_phase_rebase {K Kr J a theta phi psi : ℝ} | ||
| 992 | 310 | _ = (Kr/K)*psi + ((Kr/K)*(a/Kr))*theta := by ring |
| 993 | 311 | _ = phi + (a/K)*theta := by rw [he]; congr 2 ; field_simp |
| 994 | 312 | |
| 995 | -theorem actualPhase_rebase_at | |
| 996 | - (x : CorrectionStep.CycleState (ActualParticularStageControls.Label B N0)) | |
| 997 | - (l : ActualParticularStageControls.Label B N0) (j : ℤ) (hj : j ≠ 0) (n : ℕ) | |
| 998 | - (hn : (x.coefficients.blocks l).frequency n ≠ 0) | |
| 999 | - (hm : (x.coefficients.blocks l).frequency (BaseChartJets.cellBand l.2) ≠ 0) | |
| 1000 | - (p : Parameter) (Y : Plane) | |
| 1001 | - (hp : (x.coefficients.blocks l).frequency n * | |
| 1002 | - (x.coefficients.blocks l).phase n (CorrectionStep.cycleAssoc.symm (p,Y)) = | |
| 1003 | - (x.coefficients.blocks l).frequency (BaseChartJets.cellBand l.2) * | |
| 1004 | - (x.coefficients.blocks l).phase (BaseChartJets.cellBand l.2) | |
| 1005 | - (CorrectionStep.cycleAssoc.symm (commonReferenceChart l n (p,Y)))) | |
| 1006 | - (ha : (x.coefficients.blocks l).angularFrequency n = | |
| 1007 | - (x.coefficients.blocks l).angularFrequency (BaseChartJets.cellBand l.2)) (theta : ℝ) : | |
| 1008 | - PhysicalParticularWave.bandPhase (nativeAssembly x l) h (ChartScales.Q n) | |
| 1009 | - (ChartScales.Q (BaseChartJets.cellBand l.2)) (ActualParticularStageControls.gap l n) | |
| 1010 | - ((j : ℝ) * (x.coefficients.blocks l).frequency n) j (waveEquiv.symm ((p,theta),Y)) = | |
| 1011 | - (actualCoefficients x l j).phase n ((p,theta),Y) := by | |
| 1012 | - change ((j : ℝ) * (x.coefficients.blocks l).frequency (BaseChartJets.cellBand l.2)) / | |
| 1013 | - ((j : ℝ) * (x.coefficients.blocks l).frequency n) * | |
| 1014 | - ((x.coefficients.blocks l).phase (BaseChartJets.cellBand l.2) | |
| 1015 | - (CorrectionStep.cycleAssoc.symm (commonReferenceChart l n (p,Y))) + | |
| 1016 | - ((x.coefficients.blocks l).angularFrequency (BaseChartJets.cellBand l.2) : ℝ) / | |
| 1017 | - (x.coefficients.blocks l).frequency (BaseChartJets.cellBand l.2) * theta) = | |
| 1018 | - (x.coefficients.blocks l).phase n (CorrectionStep.cycleAssoc.symm (p,Y)) + | |
| 1019 | - ((x.coefficients.blocks l).angularFrequency n : ℝ) / (x.coefficients.blocks l).frequency n * theta | |
| 1020 | - rw [ha] | |
| 1021 | - exact carrier_phase_rebase hn hm (by exact_mod_cast hj) hp | |
| 1022 | - | |
| 1023 | -theorem actualPhase_forward | |
| 1024 | - (x : CorrectionStep.CycleState (ActualParticularStageControls.Label B N0)) | |
| 1025 | - (l : ActualParticularStageControls.Label B N0) (V : Set Plane) (n k : ℕ) | |
| 1026 | - (hi : CommonWindow.index h n + k = CommonWindow.index h (BaseChartJets.cellBand l.2)) | |
| 1027 | - (HB : BlockComparison x l V n (BaseChartJets.cellBand l.2) k) | |
| 1028 | - (j : ℤ) (hj : j ≠ 0) (hn : (x.coefficients.blocks l).frequency n ≠ 0) | |
| 1029 | - (hm : (x.coefficients.blocks l).frequency (BaseChartJets.cellBand l.2) ≠ 0) | |
| 1030 | - (p : Parameter) (hp : p.2 ∈ V) (theta : ℝ) (Y : Plane) : | |
| 1031 | - PhysicalParticularWave.bandPhase (nativeAssembly x l) h (ChartScales.Q n) | |
| 1032 | - (ChartScales.Q (BaseChartJets.cellBand l.2)) (ActualParticularStageControls.gap l n) | |
| 1033 | - ((j : ℝ) * (x.coefficients.blocks l).frequency n) j (waveEquiv.symm ((p,theta),Y)) = | |
| 1034 | - (actualCoefficients x l j).phase n ((p,theta),Y) := by | |
| 1035 | - apply actualPhase_rebase_at x l j hj n hn hm p Y _ HB.angular theta | |
| 1036 | - rw [commonReferenceChart_forward l n k hi] | |
| 1037 | - exact HB.phase (x := CorrectionStep.cycleAssoc.symm (p,Y)) hp | |
| 1038 | - | |
| 1039 | -theorem actualPhase_backward | |
| 1040 | - (x : CorrectionStep.CycleState (ActualParticularStageControls.Label B N0)) | |
| 1041 | - (l : ActualParticularStageControls.Label B N0) (V : Set Plane) (n k : ℕ) | |
| 1042 | - (hi : CommonWindow.index h (BaseChartJets.cellBand l.2) + k = CommonWindow.index h n) | |
| 1043 | - (hcover : CommonWindow.index h n ≤ ChartScales.nativeIndex h (BaseChartJets.cellBand l.2)) | |
| 1044 | - (HB : BlockComparison x l V (BaseChartJets.cellBand l.2) n k) | |
| 1045 | - (j : ℤ) (hj : j ≠ 0) (hn : (x.coefficients.blocks l).frequency n ≠ 0) | |
| 1046 | - (hm : (x.coefficients.blocks l).frequency (BaseChartJets.cellBand l.2) ≠ 0) | |
| 1047 | - (p : Parameter) | |
| 1048 | - (hp : (parameterChange h (ChartScales.Q n) (ChartScales.Q (BaseChartJets.cellBand l.2)) p).2 ∈ V) | |
| 1049 | - (theta : ℝ) (Y : Plane) : | |
| 1050 | - PhysicalParticularWave.bandPhase (nativeAssembly x l) h (ChartScales.Q n) | |
| 1051 | - (ChartScales.Q (BaseChartJets.cellBand l.2)) (ActualParticularStageControls.gap l n) | |
| 1052 | - ((j : ℝ) * (x.coefficients.blocks l).frequency n) j (waveEquiv.symm ((p,theta),Y)) = | |
| 1053 | - (actualCoefficients x l j).phase n ((p,theta),Y) := by | |
| 1054 | - apply actualPhase_rebase_at x l j hj n hn hm p Y _ HB.angular.symm theta | |
| 1055 | - have he := HB.phase (x := CorrectionStep.cycleAssoc.symm (commonReferenceChart l n (p,Y))) hp | |
| 1056 | - dsimp only at he | |
| 1057 | - rw [commonReferenceChart_backward l n k hi hcover] at he | |
| 1058 | - exact he.symm | |
| 1059 | - | |
| 1060 | 313 | /-! Precisely the inherited lattice is retained. -/ |
| 1061 | 314 | |
| 1062 | -theorem referenceResidualSource_subcoverPeriodic | |
| 1063 | - (x : CorrectionStep.CycleState (ActualParticularStageControls.Label B N0)) | |
| 1064 | - (l : ActualParticularStageControls.Label B N0) (j : ℤ) (p : Parameter) | |
| 1065 | - (hf : PeriodicAt (ParticularWaveAssembly.residualSource (ActualParticularStageControls.assembly x l).context | |
| 1066 | - (ActualParticularStageControls.assembly x l).state (ActualParticularStageControls.assembly x l).carrierBlock | |
| 1067 | - (ActualParticularStageControls.assembly x l).gaussianInput (ActualParticularStageControls.assembly x l).aliasInput | |
| 1068 | - j (BaseChartJets.cellBand l.2)) p) : | |
| 1069 | - SubcoverPeriodicity.SubcoverPeriodicAt | |
| 1070 | - (ActualParticularStageControls.gap l (BaseChartJets.cellBand l.2)) (referenceResidualSource x l j) p := | |
| 1071 | - SubcoverPeriodicity.inverseCoverSource_subcoverPeriodic _ _ p hf | |
| 1072 | - | |
| 1073 | -theorem nativeRaw_subcoverPeriodic | |
| 1074 | - (x : CorrectionStep.CycleState (ActualParticularStageControls.Label B N0)) | |
| 1075 | - (l : ActualParticularStageControls.Label B N0) (j : ℤ) (p : Parameter) | |
| 1076 | - (hf : PeriodicAt (ParticularWaveAssembly.residualSource (ActualParticularStageControls.assembly x l).context | |
| 1077 | - (ActualParticularStageControls.assembly x l).state (ActualParticularStageControls.assembly x l).carrierBlock | |
| 1078 | - (ActualParticularStageControls.assembly x l).gaussianInput (ActualParticularStageControls.assembly x l).aliasInput | |
| 1079 | - j (BaseChartJets.cellBand l.2)) p) : | |
| 1080 | - SubcoverPeriodicity.SubcoverPeriodicAt | |
| 1081 | - (ActualParticularStageControls.gap l (BaseChartJets.cellBand l.2)) | |
| 1082 | - (ParticularWaveBounds.commonVelocity ((ActualParticularStageControls.reference l).tangent j) | |
| 1083 | - (referenceResidualSource x l j) (ActualParticularStageControls.reference l).geometry | |
| 1084 | - (ActualParticularStageControls.reference l).length_pos.le (ActualParticularStageControls.reference l).cutoff) p := | |
| 1085 | - SubcoverPeriodicity.commonVelocity_subcoverPeriodic _ _ _ _ _ _ p | |
| 1086 | - (referenceResidualSource_subcoverPeriodic x l j p hf) | |
| 1087 | - | |
| 1088 | -theorem nativePressure_subcoverPeriodic | |
| 1089 | - (x : CorrectionStep.CycleState (ActualParticularStageControls.Label B N0)) | |
| 1090 | - (l : ActualParticularStageControls.Label B N0) (j : ℤ) (p : Parameter) | |
| 1091 | - (hf : PeriodicAt (ParticularWaveAssembly.residualSource (ActualParticularStageControls.assembly x l).context | |
| 1092 | - (ActualParticularStageControls.assembly x l).state (ActualParticularStageControls.assembly x l).carrierBlock | |
| 1093 | - (ActualParticularStageControls.assembly x l).gaussianInput (ActualParticularStageControls.assembly x l).aliasInput | |
| 1094 | - j (BaseChartJets.cellBand l.2)) p) : | |
| 1095 | - SubcoverPeriodicity.SubcoverPeriodicAt | |
| 1096 | - (ActualParticularStageControls.gap l (BaseChartJets.cellBand l.2)) | |
| 1097 | - (ParticularWaveBounds.commonPressure ((ActualParticularStageControls.reference l).tangent j) | |
| 1098 | - (referenceResidualSource x l j) (ActualParticularStageControls.reference l).geometry | |
| 1099 | - (ActualParticularStageControls.reference l).length_pos.le (ActualParticularStageControls.reference l).cutoff | |
| 1100 | - (PhysicalParticularWave.referenceFrequency (nativeAssembly x l) j)) p := | |
| 1101 | - SubcoverPeriodicity.commonPressure_subcoverPeriodic _ _ _ _ _ _ _ p | |
| 1102 | - (referenceResidualSource_subcoverPeriodic x l j p hf) | |
| 1103 | - | |
| 1104 | 315 | end NavierStokes.ActualReferenceRebase |
+0 −13 NavierStokes/ActualSeedPeriodicity.lean View file
| @@ -24,9 +24,6 @@ unchanged. This is definitionally the shift used by the seed continuation. -/ | ||
| 24 | 24 | noncomputable def pointDeck (k : TorusInverse.Frequency) : Point := |
| 25 | 25 | (ActualPrimaryCoherence.chartDeck k).1 |
| 26 | 26 | |
| 27 | -theorem pointDeck_eq (k : TorusInverse.Frequency) : | |
| 28 | - pointDeck k = (0, (0, TorusAverages.latticePoint k)) := rfl | |
| 29 | - | |
| 30 | 27 | theorem zeroSlice_add_deck (k : TorusInverse.Frequency) (x : Point) : |
| 31 | 28 | (x + pointDeck k, (0 : ℝ)) = (x, 0) + ActualPrimaryCoherence.chartDeck k := by |
| 32 | 29 | simp [pointDeck, ActualPrimaryCoherence.chartDeck] |
| @@ -38,16 +35,6 @@ theorem conjugatePair_periodic {E : Type} [NormedAddCommGroup E] [NormedSpace | ||
| 38 | 35 | ErrorHarmonics.conjugatePair 1 f j x := by |
| 39 | 36 | simp only [SignedWaveUpdate.conjugatePair_apply, hf] |
| 40 | 37 | |
| 41 | -/-- The stored phase uses the same ordered common cover. -/ | |
| 42 | -theorem phase_periodic (l : ActualInitialization.Index B N0) (n : ℕ) | |
| 43 | - (hn : ActualWaveRegularityData.Ordered l n) (k : TorusInverse.Frequency) | |
| 44 | - (x : Point) : | |
| 45 | - ActualInitialization.phase l n (x + pointDeck k) = | |
| 46 | - ActualInitialization.phase l n x := by | |
| 47 | - simpa only [ActualInitialization.phase, ActualInitialization.primaryPiece, | |
| 48 | - ActualPrimary.piece, ← zeroSlice_add_deck] using | |
| 49 | - ActualPrimaryCoherence.chart_phase_periodic l.2 l.1 n hn k (x, 0) | |
| 50 | - | |
| 51 | 38 | /-- Every harmonic coefficient of the actual exact-curl seed velocity is |
| 52 | 39 | periodic, including the conjugate mode. -/ |
| 53 | 40 | theorem primary_velocity_periodic (l : ActualInitialization.Index B N0) (n : ℕ) |
+0 −17 NavierStokes/ActualSignedCoherence.lean View file
| @@ -74,10 +74,6 @@ theorem radiusWeight_eq (n m : ℕ) : | ||
| 74 | 74 | theorem velocity_pos (n m : ℕ) : 0 < bandVelocityScale h n m := |
| 75 | 75 | Real.rpow_pos_of_pos (div_pos (ChartScales.Q_pos n) (ChartScales.Q_pos m)) _ |
| 76 | 76 | |
| 77 | -theorem coefficientWeight_pos (n m : ℕ) : 0 < coefficientWeight n m := | |
| 78 | - PhysicalSignedWave.coefficientScale_pos (ChartScales.epsilon_pos h n) | |
| 79 | - (ChartScales.epsilon_pos h m) (velocity_pos n m) | |
| 80 | - | |
| 81 | 77 | theorem carrier_pos (n : ℕ) : 0 < (ChartScales.carrier h n : ℝ) := by |
| 82 | 78 | exact Scaling.carrier_frequency_pos (ChartScales.epsilon_pos h n) |
| 83 | 79 | |
| @@ -368,19 +364,6 @@ theorem raw_amplitude_of_request (l : SignedLabel B N0) (u : CorrectionState.Sta | ||
| 368 | 364 | (ActualSignedStageControls.fundamental l copy) l.2 m (chart n m k x)) |
| 369 | 365 | rw [signedVector_of_request l u n m k hi copy x hR, map_smul] |
| 370 | 366 | |
| 371 | -theorem raw_amplitude_transport (l : SignedLabel B N0) (u : CorrectionState.State Point) | |
| 372 | - (H : MeanStateRegularity.PrimitiveData ActualInitialization.geometry.region | |
| 373 | - ActualInitialization.geometry.patch.a ActualInitialization.geometry.patch.b (commonContext B) u) | |
| 374 | - (hfixed : (VariableGaugeMean.reconstructState ActualInitialization.geometry.gauge | |
| 375 | - (commonContext B) u).pressure = u.pressure) | |
| 376 | - (n m k : ℕ) (hi : CommonWindow.index h n + k = CommonWindow.index h m) | |
| 377 | - (HS : PhysicalResidualNaturality.StateOn (PhysicalMeanDomain.slowDomain (ActualInitialCoherence.overlap n m)) | |
| 378 | - (bandChartEquiv h n m k) (bandVelocityScale h n m) (bandScale n m) u u n m) | |
| 379 | - (copy : TorusInverse.Frequency) (x : FullPoint) (hx : x.1.2.1 ∈ ActualInitialCoherence.overlap n m) : | |
| 380 | - (copies l u).amplitude n copy x = | |
| 381 | - bandVelocityScale h n m • (copies l u).amplitude m copy (chart n m k x) := | |
| 382 | - raw_amplitude_of_request l u n m k hi copy x (fullRequest_transport u H hfixed n m k hi HS x hx) | |
| 383 | - | |
| 384 | 367 | theorem pressure_factor (n m : ℕ) : |
| 385 | 368 | (clockWeight n m * bandVelocityScale h n m / (phaseWeight n m * bandScale n m)) * |
| 386 | 369 | phaseWeight n m = bandVelocityScale h n m * bandVelocityScale h n m := by |
+0 −351 NavierStokes/ActualSignedControl.lean View file
| @@ -31,55 +31,6 @@ noncomputable def phaseNormal {U : Domain ι PhaseCalculus.Slow} | ||
| 31 | 31 | (F : PhaseConstruction U) (χ : ι → D → PhaseCalculus.Slow × ℝ) : ι → D → Space := |
| 32 | 32 | fun i x => F.phase.normal i (PrimaryCopyBounds.phasePoint F χ i x) |
| 33 | 33 | |
| 34 | -noncomputable def phaseMotion {U : Domain ι PhaseCalculus.Slow} | |
| 35 | - (F : PhaseConstruction U) (χ : ι → D → PhaseCalculus.Slow × ℝ) : ι → D → Space := | |
| 36 | - fun i x => F.phase.velocity i (PrimaryCopyBounds.phasePoint F χ i x) | |
| 37 | - | |
| 38 | -noncomputable def phaseAction {U : Domain ι PhaseCalculus.Slow} | |
| 39 | - (F : PhaseConstruction U) (χ : ι → D → PhaseCalculus.Slow × ℝ) : | |
| 40 | - ι → D → Space →L[ℝ] Space := | |
| 41 | - fun i x => PrimaryCopyBridge.baseOperator (F.phase.F i (χ i x).1) | |
| 42 | - (F.phase.shear i (PrimaryCopyBounds.phasePoint F χ i x)) | |
| 43 | - | |
| 44 | -omit [NormedAddCommGroup D] [NormedSpace ℝ D] in | |
| 45 | -theorem pulseMatrix_eq_phaseMatrix {U : Domain ℕ PhaseCalculus.Slow} | |
| 46 | - (F : Fin 2 → PhaseConstruction U) (pref : Fin 2 → ℕ → ℝ) | |
| 47 | - (χ : ℕ → D → PhaseCalculus.Slow × ℝ) : | |
| 48 | - pulseMatrix F pref χ = SignedWaveUpdate.phaseMatrix F pref χ := rfl | |
| 49 | - | |
| 50 | -omit [NormedAddCommGroup D] [NormedSpace ℝ D] in | |
| 51 | -theorem pulseVector_eq_phaseFundamental {U : Domain ℕ PhaseCalculus.Slow} | |
| 52 | - (F : Fin 2 → PhaseConstruction U) (χ : ℕ → D → PhaseCalculus.Slow × ℝ) (j : Fin 2) : | |
| 53 | - pulseVector F χ j = SignedWaveUpdate.phaseFundamental F χ j := rfl | |
| 54 | - | |
| 55 | -/-- The three geometric jet estimates are obtained from the actual phase | |
| 56 | -construction, rather than being supplied for the pressure output. -/ | |
| 57 | -theorem phase_geometry_jets {V : JetDomain ι D} {U : Domain ι PhaseCalculus.Slow} | |
| 58 | - (F : PhaseConstruction U) (χ : ι → D → PhaseCalculus.Slow × ℝ) | |
| 59 | - (hscale : ∀ i, U.scale i = V.scale i) (hχ : PolynomialJets V.toDomain χ) | |
| 60 | - (hmap : ∀ i x, x ∈ V.carrier i → χ i x ∈ U.carrier i ×ˢ Ioo (0 : ℝ) 1) : | |
| 61 | - PolynomialJets V.toDomain (phaseNormal F χ) ∧ | |
| 62 | - PolynomialJets V.toDomain (phaseMotion F χ) ∧ | |
| 63 | - PolynomialJets V.toDomain (phaseAction F χ) ∧ | |
| 64 | - (∀ i x, x ∈ V.carrier i → F.b ≤ ‖phaseNormal F χ i x‖) ∧ | |
| 65 | - (∀ i x, x ∈ V.carrier i → ‖phaseNormal F χ i x‖ ≤ F.M ^ 2 + 3 * F.M) := by | |
| 66 | - have hp := PrimaryCopyBounds.phasePoint_jets F χ hscale hχ | |
| 67 | - have hm := PrimaryCopyBounds.phasePoint_maps F χ hmap | |
| 68 | - have hb := F.phase.polynomial_jets U F.V F.openV F.baseF F.baseG | |
| 69 | - F.r_pos F.one_le_M F.constants F.epsilon_ne F.radius F.slot | |
| 70 | - have hN := ((EnvelopeJets.of_polynomial hb.1).comp hp hscale hm).to_polynomial | |
| 71 | - (fun _ _ _ => le_rfl) | |
| 72 | - have hNd := ((EnvelopeJets.of_polynomial hb.2.1).comp hp hscale hm).to_polynomial | |
| 73 | - (fun _ _ _ => le_rfl) | |
| 74 | - have hshear := ((EnvelopeJets.of_polynomial hb.2.2).comp hp hscale hm).to_polynomial | |
| 75 | - (fun _ _ _ => le_rfl) | |
| 76 | - have hF := ((EnvelopeJets.of_polynomial F.baseF).comp | |
| 77 | - (hχ.clm (ContinuousLinearMap.fst ℝ PhaseCalculus.Slow ℝ)) hscale | |
| 78 | - (fun i x hx => (hmap i x hx).1)).to_polynomial (fun _ _ _ => le_rfl) | |
| 79 | - exact ⟨hN, hNd, (hF.pair hshear).clm PrimaryCopyBridge.baseOperatorFamily, | |
| 80 | - fun i x hx => F.normal_range.1 i _ (hm i x hx), | |
| 81 | - fun i x hx => F.normal_range.2 i _ (hm i x hx)⟩ | |
| 82 | - | |
| 83 | 34 | /-- A proved reference certificate. The prepared-family constructor below |
| 84 | 35 | derives its target and mask estimates and all three scalar margins. -/ |
| 85 | 36 | structure ReferenceBounds (V : JetDomain ι D) (U : Domain ι PhaseCalculus.Slow) |
| @@ -113,22 +64,6 @@ variable {V : JetDomain ι D} {U : Domain ι PhaseCalculus.Slow} | ||
| 113 | 64 | |
| 114 | 65 | include h |
| 115 | 66 | |
| 116 | -theorem matrix_jets (j k : Fin 2) : | |
| 117 | - PolynomialJets V.toDomain (fun i x => pulseMatrix F pref χ i x j k) := | |
| 118 | - pulseMatrix_jets F pref χ h.scale h.coordinate_jets | |
| 119 | - (fun i x hx => (h.coordinate_mem i x hx).1) h.prefactor_jets j k | |
| 120 | - | |
| 121 | -theorem unit_jets (j : Fin 2) : NativeJets V (pulseEnvelope F χ j) (pulseVector F χ j) := | |
| 122 | - pulseVector_jets F χ h.scale h.coordinate_jets h.coordinate_mem j | |
| 123 | - | |
| 124 | -theorem geometry_jets (j : Fin 2) : | |
| 125 | - PolynomialJets V.toDomain (phaseNormal (F j) χ) ∧ | |
| 126 | - PolynomialJets V.toDomain (phaseMotion (F j) χ) ∧ | |
| 127 | - PolynomialJets V.toDomain (phaseAction (F j) χ) ∧ | |
| 128 | - (∀ i x, x ∈ V.carrier i → (F j).b ≤ ‖phaseNormal (F j) χ i x‖) ∧ | |
| 129 | - (∀ i x, x ∈ V.carrier i → ‖phaseNormal (F j) χ i x‖ ≤ (F j).M ^ 2 + 3 * (F j).M) := | |
| 130 | - phase_geometry_jets (F j) χ h.scale h.coordinate_jets h.coordinate_mem | |
| 131 | - | |
| 132 | 67 | theorem cutoff_jets : PolynomialJets V.toDomain |
| 133 | 68 | (fun i x => GaussianTailFlat.profile (χ i x).2) := by |
| 134 | 69 | apply (h.coordinate_jets.clm (ContinuousLinearMap.snd ℝ PhaseCalculus.Slow ℝ)).compact_comp |
| @@ -174,14 +109,6 @@ variable {s : StripData X} {V : JetDomain ι D} {ζ : ι → D → ℝ} | ||
| 174 | 109 | noncomputable def pull (f : ι → D → E) : Λ → ℕ → I → X → E := |
| 175 | 110 | affineCopy f c.index c.linear c.shift |
| 176 | 111 | |
| 177 | -theorem unweighted {f : ι → D → E} (hf : PolynomialJets V.toDomain f) : | |
| 178 | - UniformLocalJets s (fun _ _ _ => 1) 0 K (c.pull f) := by | |
| 179 | - apply (NativeJets.of_polynomial hf).copy_localJets s (fun _ _ _ => 1) 0 | |
| 180 | - c.index c.linear c.shift K (fun _ _ _ _ => zero_le_one) c.maps c.growth_one c.linear_one | |
| 181 | - c.growthDegree c.linearDegree c.growth_bound c.linear_bound | |
| 182 | - intro l n i x hx hi | |
| 183 | - simp | |
| 184 | - | |
| 185 | 112 | theorem weighted {f : ι → D → E} (hf : NativeJets V ζ f) : |
| 186 | 113 | UniformLocalJets s (fun _ _ x => s.zeta x) 0 K (c.pull f) := by |
| 187 | 114 | apply hf.copy_localJets s (fun _ _ x => s.zeta x) 0 c.index c.linear c.shift K |
| @@ -318,21 +245,6 @@ noncomputable def referenceBounds (hcone : LeadingStressWeights.FullTrueCone v | ||
| 318 | 245 | |
| 319 | 246 | end PreparedChart |
| 320 | 247 | |
| 321 | -/-- A supplied prepared family is only restricted to a later tail. | |
| 322 | -Every surviving phase and representative is the same one used by the | |
| 323 | -primary construction. No determinant or final control record is assumed. -/ | |
| 324 | -theorem exists_referenceBounds (a : PrimaryGeometryAssembly.Prepared H₀ v₀ upper B r0 N0) | |
| 325 | - (hcone : LeadingStressWeights.FullTrueCone v₀) (hr0 : 0 < r0) | |
| 326 | - (vr vt : TorusInverse.Plane) (hdet : vr.1 * vt.2 - vr.2 * vt.1 ≠ 0) : | |
| 327 | - ∃ N : ℕ, ∃ hN : a.N ≤ N, | |
| 328 | - ∀ c : PreparedChart H₀ v₀ (a.restrict N hN) D, | |
| 329 | - Nonempty (ReferenceBounds c.native (PrimaryGeometryAssembly.domain W₀ N) | |
| 330 | - (PrimaryGeometryAssembly.construction H₀ v₀ (a.restrict N hN) hr0) | |
| 331 | - (preparedPrefactor r0 vr vt) c.coordinate c.target c.mask c.weight) := by | |
| 332 | - obtain ⟨N, hN, dg, eb, il, hdg, heb, hil, hz⟩ := | |
| 333 | - PrimaryTargetBounds.exists_restricted_actual_bounds H₀ v₀ a hcone vr vt hdet hr0 | |
| 334 | - exact ⟨N, hN, fun c => ⟨c.referenceBounds hcone hr0 vr vt dg eb il hdg heb hil hz⟩⟩ | |
| 335 | - | |
| 336 | 248 | end Prepared |
| 337 | 249 | |
| 338 | 250 | /-! ## Transport through the actual affine views -/ |
| @@ -352,19 +264,6 @@ variable (a b : PositiveScale Λ) | ||
| 352 | 264 | |
| 353 | 265 | theorem value_pos (l : Λ) (n : ℕ) : 0 < a.value l n := a.lower_pos.trans_le (a.bounds l n).1 |
| 354 | 266 | |
| 355 | -theorem bandBound (s : StripData X) : UniformPrimaryWeights.UniformBandBound s 0 a.value := by | |
| 356 | - refine ⟨a.upper, zero_le_one.trans a.upper_one, 0, ?_⟩ | |
| 357 | - intro l n | |
| 358 | - simpa only [Real.norm_eq_abs, abs_of_pos (a.value_pos l n), Real.rpow_zero, | |
| 359 | - pow_zero, mul_one] using (a.bounds l n).2 | |
| 360 | - | |
| 361 | -theorem square_bandBound (s : StripData X) : | |
| 362 | - UniformPrimaryWeights.UniformBandBound s 0 (fun l n => a.value l n ^ 2) := by | |
| 363 | - refine ⟨a.upper ^ 2, sq_nonneg _, 0, ?_⟩ | |
| 364 | - intro l n | |
| 365 | - simpa only [Real.norm_eq_abs, abs_of_nonneg (sq_nonneg (a.value l n)), Real.rpow_zero, | |
| 366 | - pow_zero, mul_one] using pow_le_pow_left₀ (a.value_pos l n).le (a.bounds l n).2 2 | |
| 367 | - | |
| 368 | 267 | noncomputable def mul : PositiveScale Λ where |
| 369 | 268 | value l n := a.value l n * b.value l n |
| 370 | 269 | lower := a.lower * b.lower |
| @@ -376,21 +275,6 @@ noncomputable def mul : PositiveScale Λ where | ||
| 376 | 275 | |
| 377 | 276 | end PositiveScale |
| 378 | 277 | |
| 379 | -theorem uniform_band_smul [Countable Λ] [Nonempty Λ] | |
| 380 | - {s : StripData X} {K : Λ → ℕ → I → Set X} {w : Λ → ℕ → X → ℝ} {α β : ℝ} | |
| 381 | - {f : Λ → ℕ → I → X → E} {r : Λ → ℕ → ℝ} | |
| 382 | - (hf : UniformLocalJets s w α K f) (hr : UniformPrimaryWeights.UniformBandBound s β r) | |
| 383 | - (hw : ∀ l n x, x ∈ s.domain → 0 ≤ w l n x) : | |
| 384 | - UniformLocalJets s w (α + β) K (fun l n i x => r l n • f l n i x) := by | |
| 385 | - let e := UniformPrimaryWeights.enumeration Λ | |
| 386 | - apply SignedCopyBounds.uniform_local_of_pull (UniformPrimaryWeights.enumeration_surjective Λ) | |
| 387 | - have hr' : UniformPrimaryWeights.UniformBandBound (UniformPrimaryWeights.reindexedStrip s e) β | |
| 388 | - (fun (_ : I) k => r (e k).2 (e k).1) := by | |
| 389 | - obtain ⟨C, hC, p, hb⟩ := hr | |
| 390 | - exact ⟨C, hC, p, fun _ k => hb (e k).2 (e k).1⟩ | |
| 391 | - exact SignedCopyBounds.local_indexed_band_smul (SignedCopyBounds.local_pull hf e) hr' | |
| 392 | - (fun k => hw (e k).2 (e k).1) | |
| 393 | - | |
| 394 | 278 | theorem uniform_local_congr {s : StripData X} {K : Λ → ℕ → I → Set X} |
| 395 | 279 | {w : Λ → ℕ → X → ℝ} {α : ℝ} {f g : Λ → ℕ → I → X → E} |
| 396 | 280 | (hf : UniformLocalJets s w α K f) |
| @@ -449,123 +333,10 @@ variable [Countable Λ] [Nonempty Λ] | ||
| 449 | 333 | {s : StripData X} {K : Λ → ℕ → I → Set X} |
| 450 | 334 | (c : CopyChart s V ζ K) (scale : PositiveScale Λ) |
| 451 | 335 | |
| 452 | -/-- Construct the actual uniform native covariance record from the | |
| 453 | -derived reference jets and the primitive view geometry. -/ | |
| 454 | -noncomputable def nativeCovariance (hzeta : ∀ x ∈ s.domain, 0 < s.zeta x) : | |
| 455 | - SignedCopyBounds.UniformNativeCovariance s K | |
| 456 | - (fun l i n => c.pull (pulseMatrix F pref χ) l n i) | |
| 457 | - (fun l i n x => scale.value l n ^ 2 • c.pull T l n i x) where | |
| 458 | - matrix_jets j k := c.unweighted (h.matrix_jets j k) | |
| 459 | - target_jets q := by | |
| 460 | - have ht := uniform_band_smul (c.weighted (h.target_jets q)) (scale.square_bandBound s) | |
| 461 | - (fun _ _ x hx => s.zeta_nonneg x hx) | |
| 462 | - simp only [zero_add] at ht | |
| 463 | - exact ht | |
| 464 | - zeta_pos := hzeta | |
| 465 | - determinantGap := c.ratioLower ^ 2 * h.determinantGap | |
| 466 | - entryBound := c.ratioUpper * h.entryBound | |
| 467 | - primaryLower := scale.lower ^ 2 * h.primaryLower | |
| 468 | - gap_pos := mul_pos (sq_pos_of_pos c.ratio_pos) h.gap_pos | |
| 469 | - entry_one := one_le_mul_of_one_le_of_one_le c.ratio_one h.entry_one | |
| 470 | - lower_pos := mul_pos (sq_pos_of_pos scale.lower_pos) h.lower_pos | |
| 471 | - determinant := by | |
| 472 | - intro l n i x hx hi | |
| 473 | - have hz := h.zero_order (c.index l n) _ (c.maps l n i x hx hi) | |
| 474 | - rw [c.weight_eq l n i x hx hi] at hz | |
| 475 | - exact (rescale_margins hz (Real.one_le_sqrt.mpr (V.one_le_scale _)) h.gap_pos.le h.lower_pos.le | |
| 476 | - (s.zeta_nonneg x hx) scale.lower_pos (scale.bounds l n).1 c.ratio_pos | |
| 477 | - (c.scale_ratio l n).1 (c.scale_ratio l n).2).1 | |
| 478 | - entries := by | |
| 479 | - intro l n i x hx hi | |
| 480 | - have hz := h.zero_order (c.index l n) _ (c.maps l n i x hx hi) | |
| 481 | - rw [c.weight_eq l n i x hx hi] at hz | |
| 482 | - exact (rescale_margins hz (Real.one_le_sqrt.mpr (V.one_le_scale _)) h.gap_pos.le h.lower_pos.le | |
| 483 | - (s.zeta_nonneg x hx) scale.lower_pos (scale.bounds l n).1 c.ratio_pos | |
| 484 | - (c.scale_ratio l n).1 (c.scale_ratio l n).2).2.1 | |
| 485 | - lower := by | |
| 486 | - intro l n i x hx hi | |
| 487 | - have hz := h.zero_order (c.index l n) _ (c.maps l n i x hx hi) | |
| 488 | - rw [c.weight_eq l n i x hx hi] at hz | |
| 489 | - exact (rescale_margins hz (Real.one_le_sqrt.mpr (V.one_le_scale _)) h.gap_pos.le h.lower_pos.le | |
| 490 | - (s.zeta_nonneg x hx) scale.lower_pos (scale.bounds l n).1 c.ratio_pos | |
| 491 | - (c.scale_ratio l n).1 (c.scale_ratio l n).2).2.2 | |
| 492 | - | |
| 493 | -/-- The requested copy-level `NativeCovariance` is a projection of the | |
| 494 | -jointly proved record, retaining the same numerical margins. -/ | |
| 495 | -noncomputable def nativeCovarianceAt (hzeta : ∀ x ∈ s.domain, 0 < s.zeta x) (l : Λ) : | |
| 496 | - SignedCopyBounds.NativeCovariance s (K l) | |
| 497 | - (fun i n => c.pull (pulseMatrix F pref χ) l n i) | |
| 498 | - (fun i n x => scale.value l n ^ 2 • c.pull T l n i x) := by | |
| 499 | - let hc := h.nativeCovariance c scale hzeta | |
| 500 | - exact { | |
| 501 | - matrix_jets := fun j k => (hc.matrix_jets j k).each l | |
| 502 | - target_jets := fun j => (hc.target_jets j).each l | |
| 503 | - zeta_pos := hc.zeta_pos | |
| 504 | - determinantGap := hc.determinantGap | |
| 505 | - entryBound := hc.entryBound | |
| 506 | - primaryLower := hc.primaryLower | |
| 507 | - gap_pos := hc.gap_pos | |
| 508 | - entry_one := hc.entry_one | |
| 509 | - lower_pos := hc.lower_pos | |
| 510 | - determinant := hc.determinant l | |
| 511 | - entries := hc.entries l | |
| 512 | - lower := hc.lower l } | |
| 513 | - | |
| 514 | 336 | include h |
| 515 | 337 | |
| 516 | -omit [Countable Λ] [Nonempty Λ] in | |
| 517 | -theorem copied_unit_jets (j : Fin 2) {W : Λ → ℕ → X → ℝ} | |
| 518 | - (hW : ∀ l n x, x ∈ s.domain → 0 ≤ W l n x) | |
| 519 | - (henv : ∀ l n i x, x ∈ s.domain → x ∈ K l n i → | |
| 520 | - c.pull (pulseEnvelope F χ j) l n i x ≤ W l n x) : | |
| 521 | - UniformLocalJets s W 0 K (c.pull (pulseVector F χ j)) := | |
| 522 | - c.envelope (h.unit_jets j) hW henv | |
| 523 | - | |
| 524 | -/-- The modeled normal, normal motion and action are the transported | |
| 525 | -ones from the selected primary phase, with its actual clock factors. -/ | |
| 526 | -theorem copied_geometry_jets (normal clock : PositiveScale Λ) (j : Fin 2) : | |
| 527 | - UniformLocalJets s (fun _ _ _ => 1) 0 K | |
| 528 | - (fun l n i x => normal.value l n • c.pull (phaseNormal (F j) χ) l n i x) ∧ | |
| 529 | - UniformLocalJets s (fun _ _ _ => 1) 0 K | |
| 530 | - (fun l n i x => (normal.value l n * clock.value l n) • c.pull (phaseMotion (F j) χ) l n i x) ∧ | |
| 531 | - UniformLocalJets s (fun _ _ _ => 1) 0 K | |
| 532 | - (fun l n i x => clock.value l n • c.pull (phaseAction (F j) χ) l n i x) := by | |
| 533 | - have hg := h.geometry_jets j | |
| 534 | - refine ⟨?_, ?_, ?_⟩ | |
| 535 | - · simpa only [zero_add] using uniform_band_smul (c.unweighted hg.1) (normal.bandBound s) | |
| 536 | - (fun _ _ _ _ => zero_le_one) | |
| 537 | - · simpa only [zero_add, PositiveScale.mul] using | |
| 538 | - uniform_band_smul (c.unweighted hg.2.1) ((normal.mul clock).bandBound s) | |
| 539 | - (fun _ _ _ _ => zero_le_one) | |
| 540 | - · simpa only [zero_add] using uniform_band_smul (c.unweighted hg.2.2.1) (clock.bandBound s) | |
| 541 | - (fun _ _ _ _ => zero_le_one) | |
| 542 | - | |
| 543 | -omit [Countable Λ] [Nonempty Λ] in | |
| 544 | -theorem copied_normal_bounds (normal : PositiveScale Λ) (j : Fin 2) | |
| 545 | - (l : Λ) (n : ℕ) (i : I) {x : X} (hx : x ∈ s.domain) (hi : x ∈ K l n i) : | |
| 546 | - normal.lower * (F j).b ≤ ‖normal.value l n • c.pull (phaseNormal (F j) χ) l n i x‖ ∧ | |
| 547 | - ‖normal.value l n • c.pull (phaseNormal (F j) χ) l n i x‖ ≤ | |
| 548 | - normal.upper * ((F j).M ^ 2 + 3 * (F j).M) := by | |
| 549 | - have hg := h.geometry_jets j | |
| 550 | - have hlo := hg.2.2.2.1 (c.index l n) _ (c.maps l n i x hx hi) | |
| 551 | - have hhi := hg.2.2.2.2 (c.index l n) _ (c.maps l n i x hx hi) | |
| 552 | - simp only [norm_smul, Real.norm_eq_abs, abs_of_pos (normal.value_pos l n)] | |
| 553 | - exact ⟨mul_le_mul (normal.bounds l n).1 hlo (F j).b_pos.le (normal.value_pos l n).le, | |
| 554 | - mul_le_mul (normal.bounds l n).2 hhi (norm_nonneg _) (zero_le_one.trans normal.upper_one)⟩ | |
| 555 | - | |
| 556 | 338 | end ReferenceBounds |
| 557 | 339 | |
| 558 | -/-- The carrier bound is derived for any nonzero integral harmonic, with | |
| 559 | -one constant before both the label and the copy. -/ | |
| 560 | -theorem harmonic_frequency_bound (s : StripData X) | |
| 561 | - (base : Λ → I → LinearWaveBounds.WaveCoefficients X) | |
| 562 | - (harmonic : Λ → ℕ → ℤ) (hn : ∀ l n, harmonic l n ≠ 0) | |
| 563 | - (hf : ∀ l i n, (base l i).frequency n = CurlClassBounds.carrierFrequency s n * (harmonic l n : ℝ)) : | |
| 564 | - UniformPrimaryWeights.UniformBandBound s (1 / 2) | |
| 565 | - (fun li : Λ × I => fun n => 1 / (base li.1 li.2).frequency n) := by | |
| 566 | - obtain ⟨C, hC, p, hb⟩ := UniformPrimaryWeights.harmonic_inverse_bandBound s harmonic hn | |
| 567 | - exact ⟨C, hC, p, fun li n => by dsimp only; rw [hf]; exact hb li.1 n⟩ | |
| 568 | - | |
| 569 | 340 | namespace ReferenceBounds |
| 570 | 341 | |
| 571 | 342 | variable [Countable Λ] [Nonempty Λ] |
| @@ -576,58 +347,8 @@ variable [Countable Λ] [Nonempty Λ] | ||
| 576 | 347 | {s : StripData X} {K : Λ → ℕ → I → Set X} |
| 577 | 348 | (c : CopyChart s V ζ K) (scale normal clock : PositiveScale Λ) |
| 578 | 349 | |
| 579 | -/-- Exact functional form of the transported shared-reference signed | |
| 580 | -constructor, including the target square and the pressure clock factors. -/ | |
| 581 | -noncomputable def copiedCoefficients | |
| 582 | - (base : Λ → I → LinearWaveBounds.WaveCoefficients X) | |
| 583 | - (dirs : Λ → I → LinearWaveBounds.GraphDirections X) | |
| 584 | - (request : ℕ → X → Vec2) (j : Fin 2) (l : Λ) (i : I) : | |
| 585 | - LinearWaveBounds.WaveCoefficients X := | |
| 586 | - SignedWaveUpdate.coefficients (base l i) s (dirs l i) | |
| 587 | - (fun n => c.pull (pulseMatrix F pref χ) l n i) | |
| 588 | - (fun n x => scale.value l n ^ 2 • c.pull T l n i x) request | |
| 589 | - (fun n => c.pull mask l n i) (fun n => c.pull (pulseVector F χ j) l n i) | |
| 590 | - (fun n x => (normal.value l n * clock.value l n) • c.pull (phaseMotion (F j) χ) l n i x) | |
| 591 | - (fun n x => clock.value l n • c.pull (phaseAction (F j) χ) l n i x) j | |
| 592 | - | |
| 593 | 350 | include h |
| 594 | 351 | |
| 595 | -/-- The native signed estimates are obtained from the constructed | |
| 596 | -reference, without accepting a completed native covariance record. -/ | |
| 597 | -theorem copied_coefficients_jets | |
| 598 | - (base : Λ → I → LinearWaveBounds.WaveCoefficients X) | |
| 599 | - (dirs : Λ → I → LinearWaveBounds.GraphDirections X) | |
| 600 | - (request : ℕ → X → Vec2) {β : ℝ} {W : Λ → ℕ → X → ℝ} | |
| 601 | - (hzeta : ∀ x ∈ s.domain, 0 < s.zeta x) | |
| 602 | - (hR : ∀ q, UniformLocalJets s (fun _ _ x => s.zeta x) β K (fun _ n _ x => request n x q)) | |
| 603 | - (hW : ∀ l n x, x ∈ s.domain → 0 ≤ W l n x) | |
| 604 | - (j : Fin 2) | |
| 605 | - (henv : ∀ l n i x, x ∈ s.domain → x ∈ K l n i → | |
| 606 | - c.pull (pulseEnvelope F χ j) l n i x ≤ W l n x) | |
| 607 | - (hnormal : ∀ l n i x, x ∈ s.domain → x ∈ K l n i → | |
| 608 | - (fun y => normal.value l n • c.pull (phaseNormal (F j) χ) l n i y) =ᶠ[𝓝 x] | |
| 609 | - (base l i).normal s (dirs l i) n) | |
| 610 | - (hfrequency : UniformPrimaryWeights.UniformBandBound s (1 / 2) | |
| 611 | - (fun li : Λ × I => fun n => 1 / (base li.1 li.2).frequency n)) : | |
| 612 | - UniformLocalJets s (fun l n x => Real.sqrt (s.zeta x) * W l n x) (β + 1 / 2) K | |
| 613 | - (fun l n i => (copiedCoefficients (F := F) (pref := pref) (χ := χ) (T := T) (mask := mask) | |
| 614 | - c scale normal clock base dirs request j l i).amplitude n) ∧ | |
| 615 | - UniformLocalJets s (fun l n x => Real.sqrt (s.zeta x) * W l n x) (β + 1) K | |
| 616 | - (fun l n i => (copiedCoefficients (F := F) (pref := pref) (χ := χ) (T := T) (mask := mask) | |
| 617 | - c scale normal clock base dirs request j l i).pressure n) := by | |
| 618 | - have hg := h.copied_geometry_jets c normal clock j | |
| 619 | - have hN := uniform_local_congr hg.1 hnormal | |
| 620 | - apply SignedCopyBounds.uniform_coefficients_jets (M := normal.upper * ((F j).M ^ 2 + 3 * (F j).M)) | |
| 621 | - (h.nativeCovariance c scale hzeta) hR | |
| 622 | - (c.unweighted h.mask_jets) (h.copied_unit_jets c j hW henv) hW hN hg.2.1 hg.2.2 | |
| 623 | - (mul_pos normal.lower_pos (F j).b_pos) _ _ hfrequency j | |
| 624 | - · intro l n i x hx hi | |
| 625 | - rw [← Filter.EventuallyEq.eq_of_nhds (hnormal l n i x hx hi)] | |
| 626 | - exact (h.copied_normal_bounds c normal j l n i hx hi).1 | |
| 627 | - · intro l n i x hx hi | |
| 628 | - rw [← Filter.EventuallyEq.eq_of_nhds (hnormal l n i x hx hi)] | |
| 629 | - exact (h.copied_normal_bounds c normal j l n i hx hi).2 | |
| 630 | - | |
| 631 | 352 | end ReferenceBounds |
| 632 | 353 | |
| 633 | 354 | /-! ## The signed request is the measured current-state request -/ |
| @@ -693,80 +414,8 @@ variable {a : PrimaryGeometryAssembly.Prepared H₀ v₀ upper B r0 N0} | ||
| 693 | 414 | {s : StripData X} {K : Λ → ℕ → I → Set X} |
| 694 | 415 | (copy : CopyChart s C.native C.weight K) |
| 695 | 416 | |
| 696 | -noncomputable def copiedMatrix : Λ → I → ℕ → X → Mat2 := | |
| 697 | - fun l i n => copy.pull (pulseMatrix (PrimaryGeometryAssembly.construction H₀ v₀ a hr0) | |
| 698 | - (preparedPrefactor r0 vr vt) C.coordinate) l n i | |
| 699 | - | |
| 700 | -noncomputable def copiedTarget (scale : PositiveScale Λ) : Λ → I → ℕ → X → Vec2 := | |
| 701 | - fun l i n x => scale.value l n ^ 2 • copy.pull C.target l n i x | |
| 702 | - | |
| 703 | -noncomputable def copiedCoefficients (scale normal clock : PositiveScale Λ) | |
| 704 | - (base : Λ → I → LinearWaveBounds.WaveCoefficients X) | |
| 705 | - (dirs : Λ → I → LinearWaveBounds.GraphDirections X) (request : ℕ → X → Vec2) (j : Fin 2) : | |
| 706 | - Λ → I → LinearWaveBounds.WaveCoefficients X := | |
| 707 | - ReferenceBounds.copiedCoefficients | |
| 708 | - (F := PrimaryGeometryAssembly.construction H₀ v₀ a hr0) | |
| 709 | - (pref := preparedPrefactor r0 vr vt) (χ := C.coordinate) (T := C.target) (mask := C.mask) | |
| 710 | - copy scale normal clock base dirs request j | |
| 711 | - | |
| 712 | 417 | end PreparedChart |
| 713 | 418 | |
| 714 | -/-- Starting with an already selected prepared primary, a common tail | |
| 715 | -restriction gives actual uniform native covariance, request-driven signed | |
| 716 | -amplitude/pressure bounds, and the actual cutoff jets. No finished control | |
| 717 | -record, target jet, fundamental jet, or copied request jet is an input. -/ | |
| 718 | -theorem exists_actual_signed_control | |
| 719 | - (a : PrimaryGeometryAssembly.Prepared H₀ v₀ upper B r0 N0) | |
| 720 | - (hcone : LeadingStressWeights.FullTrueCone v₀) (hr0 : 0 < r0) | |
| 721 | - (vr vt : TorusInverse.Plane) (hdet : vr.1 * vt.2 - vr.2 * vt.1 ≠ 0) : | |
| 722 | - ∃ N : ℕ, ∃ hN : a.N ≤ N, | |
| 723 | - ∀ (C : PreparedChart H₀ v₀ (a.restrict N hN) D) | |
| 724 | - (s : StripData LocalSignedRequest.Point) | |
| 725 | - (K : Λ → ℕ → I → Set (LocalSignedRequest.Point × ℝ)) | |
| 726 | - (copy : CopyChart (HarmonicWaveInteraction.productStrip s) C.native C.weight K) | |
| 727 | - (scale normal clock : PositiveScale Λ) | |
| 728 | - (base : Λ → I → LinearWaveBounds.WaveCoefficients (LocalSignedRequest.Point × ℝ)) | |
| 729 | - (dirs : Λ → I → LinearWaveBounds.GraphDirections (LocalSignedRequest.Point × ℝ)) | |
| 730 | - (P : SignedStressPrimitive.Patch) (coord : ℝ) | |
| 731 | - (ctx : CorrectionState.Context LocalSignedRequest.Point) | |
| 732 | - (u : CorrectionState.State LocalSignedRequest.Point) (β : ℝ) | |
| 733 | - (W : Λ → ℕ → LocalSignedRequest.Point × ℝ → ℝ) | |
| 734 | - (j : Fin 2), | |
| 735 | - (∀ x ∈ s.domain, 0 < s.zeta x) → | |
| 736 | - (∀ q, MeanClass s β (fun n x => LocalSignedRequest.normalizedRequest s P coord ctx u n x q)) → | |
| 737 | - (∀ l n x, x ∈ (HarmonicWaveInteraction.productStrip s).domain → 0 ≤ W l n x) → | |
| 738 | - (∀ l n i x, x ∈ (HarmonicWaveInteraction.productStrip s).domain → x ∈ K l n i → | |
| 739 | - copy.pull (pulseEnvelope (PrimaryGeometryAssembly.construction H₀ v₀ (a.restrict N hN) hr0) | |
| 740 | - C.coordinate j) l n i x ≤ W l n x) → | |
| 741 | - (∀ l n i x, x ∈ (HarmonicWaveInteraction.productStrip s).domain → x ∈ K l n i → | |
| 742 | - (fun y => normal.value l n • copy.pull | |
| 743 | - (phaseNormal (PrimaryGeometryAssembly.construction H₀ v₀ (a.restrict N hN) hr0 j) C.coordinate) | |
| 744 | - l n i y) =ᶠ[𝓝 x] (base l i).normal (HarmonicWaveInteraction.productStrip s) (dirs l i) n) → | |
| 745 | - UniformPrimaryWeights.UniformBandBound (HarmonicWaveInteraction.productStrip s) (1 / 2) | |
| 746 | - (fun li : Λ × I => fun n => 1 / (base li.1 li.2).frequency n) → | |
| 747 | - Nonempty (SignedCopyBounds.UniformNativeCovariance (HarmonicWaveInteraction.productStrip s) K | |
| 748 | - (C.copiedMatrix hr0 vr vt copy) (C.copiedTarget copy scale)) ∧ | |
| 749 | - UniformLocalJets (HarmonicWaveInteraction.productStrip s) | |
| 750 | - (fun l n x => Real.sqrt (s.zeta x.1) * W l n x) (β + 1 / 2) K | |
| 751 | - (fun l n i => (C.copiedCoefficients hr0 vr vt copy scale normal clock base dirs | |
| 752 | - (LocalSignedRequest.fullRequest s P coord ctx u) j l i).amplitude n) ∧ | |
| 753 | - UniformLocalJets (HarmonicWaveInteraction.productStrip s) | |
| 754 | - (fun l n x => Real.sqrt (s.zeta x.1) * W l n x) (β + 1) K | |
| 755 | - (fun l n i => (C.copiedCoefficients hr0 vr vt copy scale normal clock base dirs | |
| 756 | - (LocalSignedRequest.fullRequest s P coord ctx u) j l i).pressure n) ∧ | |
| 757 | - UniformLocalJets (HarmonicWaveInteraction.productStrip s) (fun _ _ _ => 1) 0 K | |
| 758 | - (copy.pull (fun L x => GaussianTailFlat.profile (C.coordinate L x).2)) := by | |
| 759 | - obtain ⟨N, hN, hc⟩ := exists_referenceBounds (D := D) H₀ v₀ a hcone hr0 vr vt hdet | |
| 760 | - refine ⟨N, hN, ?_⟩ | |
| 761 | - intro C s K copy scale normal clock base dirs P coord ctx u β W j hzeta hrequest hW henv hnormal hfrequency | |
| 762 | - obtain ⟨hr⟩ := hc C | |
| 763 | - have hζ : ∀ x ∈ (HarmonicWaveInteraction.productStrip s).domain, | |
| 764 | - 0 < (HarmonicWaveInteraction.productStrip s).zeta x := fun x hx => hzeta x.1 hx | |
| 765 | - have hb := hr.copied_coefficients_jets copy scale normal clock base dirs | |
| 766 | - (LocalSignedRequest.fullRequest s P coord ctx u) hζ | |
| 767 | - (fullRequest_localJets s P coord ctx u hrequest K) hW j henv hnormal hfrequency | |
| 768 | - exact ⟨⟨hr.nativeCovariance copy scale hζ⟩, hb.1, hb.2, copy.unweighted hr.cutoff_jets⟩ | |
| 769 | - | |
| 770 | 419 | end Combined |
| 771 | 420 | |
| 772 | 421 | end NavierStokes.ActualSignedControl |
+0 −125 NavierStokes/ActualSignedCurrentSupport.lean View file
| @@ -61,19 +61,6 @@ theorem pressureMode_zero (l : Index B N0) (u : State Point) (n : ℕ) {x : Full | ||
| 61 | 61 | simp only [ActualSignedPotentialCoherence.pressureMode, mode, |
| 62 | 62 | (common_zero l u n hx hn).2, zero_mul] |
| 63 | 63 | |
| 64 | -theorem native_zero_germs (l : Index B N0) (u : State Point) (n : ℕ) {x : FullPoint} | |
| 65 | - (hx : x.1 ∈ ActualInitialization.geometry.domain) | |
| 66 | - (hn : l ∉ activeLabels standardRegion B N0 n) : | |
| 67 | - (ActualSignedPotentialCoherence.potential l u n =ᶠ[𝓝 x] fun _ => 0) ∧ | |
| 68 | - (ActualSignedPotentialCoherence.pressureMode l u n =ᶠ[𝓝 x] fun _ => 0) := by | |
| 69 | - have hU : {y : FullPoint | y.1 ∈ ActualInitialization.geometry.domain} ∈ 𝓝 x := | |
| 70 | - (ActualInitialization.geometry.domain_open.preimage continuous_fst).mem_nhds hx | |
| 71 | - constructor | |
| 72 | - · filter_upwards [hU] with y hy | |
| 73 | - exact potential_zero l u n hy hn | |
| 74 | - · filter_upwards [hU] with y hy | |
| 75 | - exact pressureMode_zero l u n hy hn | |
| 76 | - | |
| 77 | 64 | theorem cylindrical_zero (l : Index B N0) (u : State Point) (n : ℕ) |
| 78 | 65 | {z : ProblemStatement.SpaceTime} |
| 79 | 66 | (hz : z ∈ ActualSignedPotentialCoherence.physicalDomain n) |
| @@ -91,118 +78,6 @@ theorem physicalDomain_of_source (n : ℕ) {z : ProblemStatement.SpaceTime} | ||
| 91 | 78 | z ∈ ActualSignedPotentialCoherence.physicalDomain n := |
| 92 | 79 | ⟨hz.1, (CurrentSignedCurl.nativePoint_mem n hz).1.1⟩ |
| 93 | 80 | |
| 94 | -theorem currentPotential_zero (l : Index B N0) (u : State Point) (n : ℕ) | |
| 95 | - {qbig a : ℝ} {i : PolarCharts.Index} {z : ProblemStatement.SpaceTime} | |
| 96 | - (hz : z ∈ ActualPhysicalPrefixFields.cartesianChartDomain qbig n a i) | |
| 97 | - (hn : l ∉ activeLabels standardRegion B N0 n) : | |
| 98 | - CurrentSignedCurl.currentPotential l u n a i z = 0 := by | |
| 99 | - have hp := (cylindrical_zero l u n (physicalDomain_of_source n hz.2.2) hn).1 | |
| 100 | - have hzero : PhysicalCurlCovariance.realVector (0 : ComplexVector) = 0 := by | |
| 101 | - ext j | |
| 102 | - simp | |
| 103 | - simp only [CurrentSignedCurl.currentPotential, PhysicalCurlCovariance.cartesianPotential, | |
| 104 | - hp, hzero, map_zero] | |
| 105 | - | |
| 106 | -theorem currentPressure_zero (l : Index B N0) (u : State Point) (n : ℕ) | |
| 107 | - {qbig a : ℝ} {i : PolarCharts.Index} {z : ProblemStatement.SpaceTime} | |
| 108 | - (hz : z ∈ ActualPhysicalPrefixFields.cartesianChartDomain qbig n a i) | |
| 109 | - (hn : l ∉ activeLabels standardRegion B N0 n) : | |
| 110 | - CurrentSignedCurl.currentPressure l u n a i z = 0 := by | |
| 111 | - have hp := (cylindrical_zero l u n (physicalDomain_of_source n hz.2.2) hn).2 | |
| 112 | - simp only [CurrentSignedCurl.currentPressure, hp, Complex.zero_re] | |
| 113 | - | |
| 114 | -theorem currentPotential_zero_germ (l : Index B N0) (u : State Point) (n : ℕ) | |
| 115 | - {qbig a : ℝ} (ha : 0 < a) {i : PolarCharts.Index} {z : ProblemStatement.SpaceTime} | |
| 116 | - (hz : z ∈ ActualPhysicalPrefixFields.cartesianChartDomain qbig n a i) | |
| 117 | - (hn : l ∉ activeLabels standardRegion B N0 n) : | |
| 118 | - CurrentSignedCurl.currentPotential l u n a i =ᶠ[𝓝 z] fun _ => 0 := by | |
| 119 | - filter_upwards [(ActualPhysicalPrefixFields.cartesianChartDomain_open qbig n ha i).mem_nhds hz] | |
| 120 | - with w hw | |
| 121 | - exact currentPotential_zero l u n hw hn | |
| 122 | - | |
| 123 | -theorem currentPressure_zero_germ (l : Index B N0) (u : State Point) (n : ℕ) | |
| 124 | - {qbig a : ℝ} (ha : 0 < a) {i : PolarCharts.Index} {z : ProblemStatement.SpaceTime} | |
| 125 | - (hz : z ∈ ActualPhysicalPrefixFields.cartesianChartDomain qbig n a i) | |
| 126 | - (hn : l ∉ activeLabels standardRegion B N0 n) : | |
| 127 | - CurrentSignedCurl.currentPressure l u n a i =ᶠ[𝓝 z] fun _ => 0 := by | |
| 128 | - filter_upwards [(ActualPhysicalPrefixFields.cartesianChartDomain_open qbig n ha i).mem_nhds hz] | |
| 129 | - with w hw | |
| 130 | - exact currentPressure_zero l u n hw hn | |
| 131 | - | |
| 132 | 81 | /-! ## The canonical sum is the finite current active-label sum -/ |
| 133 | 82 | |
| 134 | -theorem finsum_eq_active_sum {E : Type*} [AddCommMonoid E] (n : ℕ) | |
| 135 | - (f : Index B N0 → E) | |
| 136 | - (hz : ∀ l, l ∉ activeLabels standardRegion B N0 n → f l = 0) : | |
| 137 | - (∑ᶠ l, f l) = ∑ l ∈ activeLabels standardRegion B N0 n, f l := by | |
| 138 | - classical | |
| 139 | - apply finsum_eq_sum_of_support_subset | |
| 140 | - intro l hl | |
| 141 | - by_contra hn | |
| 142 | - exact hl (hz l hn) | |
| 143 | - | |
| 144 | -theorem finsum_eq_labels_sum {E : Type*} [AddCommMonoid E] | |
| 145 | - (v : CycleCoefficients (Index B N0)) | |
| 146 | - (hv : v.labels = activeLabels standardRegion B N0) (n : ℕ) | |
| 147 | - (f : Index B N0 → E) | |
| 148 | - (hz : ∀ l, l ∉ activeLabels standardRegion B N0 n → f l = 0) : | |
| 149 | - (∑ᶠ l, f l) = ∑ l ∈ v.labels n, f l := by | |
| 150 | - rw [hv] | |
| 151 | - exact finsum_eq_active_sum n f hz | |
| 152 | - | |
| 153 | -theorem potential_finsum (u : State Point) (n : ℕ) {x : FullPoint} | |
| 154 | - (hx : x.1 ∈ ActualInitialization.geometry.domain) : | |
| 155 | - (∑ᶠ l : Index B N0, ActualSignedPotentialCoherence.potential l u n x) = | |
| 156 | - ∑ l ∈ activeLabels standardRegion B N0 n, ActualSignedPotentialCoherence.potential l u n x := | |
| 157 | - finsum_eq_active_sum n _ (fun l hn => potential_zero l u n hx hn) | |
| 158 | - | |
| 159 | -theorem pressureMode_finsum (u : State Point) (n : ℕ) {x : FullPoint} | |
| 160 | - (hx : x.1 ∈ ActualInitialization.geometry.domain) : | |
| 161 | - (∑ᶠ l : Index B N0, ActualSignedPotentialCoherence.pressureMode l u n x) = | |
| 162 | - ∑ l ∈ activeLabels standardRegion B N0 n, ActualSignedPotentialCoherence.pressureMode l u n x := | |
| 163 | - finsum_eq_active_sum n _ (fun l hn => pressureMode_zero l u n hx hn) | |
| 164 | - | |
| 165 | -theorem currentPotential_finsum (u : State Point) (n : ℕ) | |
| 166 | - {qbig a : ℝ} {i : PolarCharts.Index} {z : ProblemStatement.SpaceTime} | |
| 167 | - (hz : z ∈ ActualPhysicalPrefixFields.cartesianChartDomain qbig n a i) : | |
| 168 | - (∑ᶠ l : Index B N0, CurrentSignedCurl.currentPotential l u n a i z) = | |
| 169 | - ∑ l ∈ activeLabels standardRegion B N0 n, CurrentSignedCurl.currentPotential l u n a i z := | |
| 170 | - finsum_eq_active_sum n _ (fun l hn => currentPotential_zero l u n hz hn) | |
| 171 | - | |
| 172 | -theorem currentPressure_finsum (u : State Point) (n : ℕ) | |
| 173 | - {qbig a : ℝ} {i : PolarCharts.Index} {z : ProblemStatement.SpaceTime} | |
| 174 | - (hz : z ∈ ActualPhysicalPrefixFields.cartesianChartDomain qbig n a i) : | |
| 175 | - (∑ᶠ l : Index B N0, CurrentSignedCurl.currentPressure l u n a i z) = | |
| 176 | - ∑ l ∈ activeLabels standardRegion B N0 n, CurrentSignedCurl.currentPressure l u n a i z := | |
| 177 | - finsum_eq_active_sum n _ (fun l hn => currentPressure_zero l u n hz hn) | |
| 178 | - | |
| 179 | -theorem currentPotential_finsum_germ (u : State Point) (n : ℕ) | |
| 180 | - {qbig a : ℝ} (ha : 0 < a) {i : PolarCharts.Index} {z : ProblemStatement.SpaceTime} | |
| 181 | - (hz : z ∈ ActualPhysicalPrefixFields.cartesianChartDomain qbig n a i) : | |
| 182 | - (fun w => ∑ᶠ l : Index B N0, CurrentSignedCurl.currentPotential l u n a i w) =ᶠ[𝓝 z] | |
| 183 | - fun w => ∑ l ∈ activeLabels standardRegion B N0 n, CurrentSignedCurl.currentPotential l u n a i w := by | |
| 184 | - filter_upwards [(ActualPhysicalPrefixFields.cartesianChartDomain_open qbig n ha i).mem_nhds hz] | |
| 185 | - with w hw | |
| 186 | - exact currentPotential_finsum u n hw | |
| 187 | - | |
| 188 | -theorem currentPressure_finsum_germ (u : State Point) (n : ℕ) | |
| 189 | - {qbig a : ℝ} (ha : 0 < a) {i : PolarCharts.Index} {z : ProblemStatement.SpaceTime} | |
| 190 | - (hz : z ∈ ActualPhysicalPrefixFields.cartesianChartDomain qbig n a i) : | |
| 191 | - (fun w => ∑ᶠ l : Index B N0, CurrentSignedCurl.currentPressure l u n a i w) =ᶠ[𝓝 z] | |
| 192 | - fun w => ∑ l ∈ activeLabels standardRegion B N0 n, CurrentSignedCurl.currentPressure l u n a i w := by | |
| 193 | - filter_upwards [(ActualPhysicalPrefixFields.cartesianChartDomain_open qbig n ha i).mem_nhds hz] | |
| 194 | - with w hw | |
| 195 | - exact currentPressure_finsum u n hw | |
| 196 | - | |
| 197 | -theorem current_finsums_eq_labels (u : State Point) (v : CycleCoefficients (Index B N0)) | |
| 198 | - (hv : v.labels = activeLabels standardRegion B N0) (n : ℕ) | |
| 199 | - {qbig a : ℝ} {i : PolarCharts.Index} {z : ProblemStatement.SpaceTime} | |
| 200 | - (hz : z ∈ ActualPhysicalPrefixFields.cartesianChartDomain qbig n a i) : | |
| 201 | - (∑ᶠ l : Index B N0, CurrentSignedCurl.currentPotential l u n a i z) = | |
| 202 | - ∑ l ∈ v.labels n, CurrentSignedCurl.currentPotential l u n a i z ∧ | |
| 203 | - (∑ᶠ l : Index B N0, CurrentSignedCurl.currentPressure l u n a i z) = | |
| 204 | - ∑ l ∈ v.labels n, CurrentSignedCurl.currentPressure l u n a i z := by | |
| 205 | - rw [hv] | |
| 206 | - exact ⟨currentPotential_finsum u n hz, currentPressure_finsum u n hz⟩ | |
| 207 | - | |
| 208 | 83 | end NavierStokes.ActualSignedCurrentSupport |
+0 −12 NavierStokes/ActualSignedDynamics.lean View file
| @@ -259,16 +259,4 @@ theorem unitPulse_tangent_germ (j : Fin 2) (L : Label B N0) (n : ℕ) | ||
| 259 | 259 | filter_upwards [normal_eq_copy_germ j L n U k hR hT hc, hp', ht'] with y hy hyp hyt |
| 260 | 260 | rw [hy, inner_smul_left, unitPulse, nativeUnit_tangent j L hyp ⟨hyt.1.le, hyt.2.le⟩, mul_zero] |
| 261 | 261 | |
| 262 | -theorem unitPulse_tangent (j : Fin 2) (L : Label B N0) (n : ℕ) | |
| 263 | - (U : LocalSignedRequest.SlowRegion (2*h)) (k : TorusInverse.Frequency) {x : FullPoint} | |
| 264 | - (hR : 0 < x.1.1) (hT : 0 < x.1.2.1.1) | |
| 265 | - (hp : (copyPoint j L n k x).1 ∈ | |
| 266 | - (PrimaryGeometryAssembly.domain nominal (choice B N0).prepared.N).carrier L) | |
| 267 | - (ht : (copyPoint j L n k x).2.2 / (phases B N0 j).L L ∈ Ioo (0 : ℝ) 1) | |
| 268 | - (hc : (copyPoint j L n k x).2 ∈ (clockWindow L).core) : | |
| 269 | - ⟪(chartCoefficients j L).normal | |
| 270 | - (HarmonicWaveInteraction.productStrip (BaseContextAssembly.nativeStrip nominal U)) | |
| 271 | - (PrimaryResidualClass.directions (commonContext B)) n x, unitPulse j L n k x⟫_ℝ = 0 := | |
| 272 | - (unitPulse_tangent_germ j L n U k hR hT hp ht hc).eq_of_nhds | |
| 273 | - | |
| 274 | 262 | end NavierStokes.ActualSignedDynamics |
+0 −49 NavierStokes/ActualSignedExterior.lean View file
| @@ -134,12 +134,6 @@ theorem nativeLabel_ext {S : Set BandLabel} | ||
| 134 | 134 | nativeLabel (actualLabel L) = L := |
| 135 | 135 | nativeLabel_ext (congrArg Subtype.val (bandLabel_actualLabel L)) |
| 136 | 136 | |
| 137 | -noncomputable def labelEquiv : Label B N0 ≃ ActualSignedPhysicalData.NativeLabel (labels B N0) where | |
| 138 | - toFun := nativeLabel | |
| 139 | - invFun := actualLabel | |
| 140 | - left_inv := actualLabel_nativeLabel | |
| 141 | - right_inv := nativeLabel_actualLabel | |
| 142 | - | |
| 143 | 137 | theorem actualLabel_reference (L : ActualSignedPhysicalData.NativeLabel (labels B N0)) : |
| 144 | 138 | ActualSignedPhysicalBinding.reference (actualLabel L) = L.val.1 := |
| 145 | 139 | congrArg (fun L : BandLabel => L.val.1) (bandLabel_actualLabel L) |
| @@ -322,17 +316,6 @@ theorem pressure_zero_germ {w : SpaceTime} (hw : w ∈ preterminal) (hout : w | ||
| 322 | 316 | filter_upwards [exterior_open.mem_nhds ⟨hw, hout⟩] with y hy |
| 323 | 317 | exact pressure_zero s hy.1 hy.2 |
| 324 | 318 | |
| 325 | -theorem velocity_zero {w : SpaceTime} (hw : w ∈ preterminal) (hout : w ∉ active) : | |
| 326 | - SpatialCurl.spatialCurl (potential s) w = 0 := | |
| 327 | - PhysicalCurlCovariance.spatialCurl_zero_of_zero_near (potential_zero_germ s hw hout) | |
| 328 | - | |
| 329 | -/-- Any fixed residual floor is allowed, since the stronger exterior | |
| 330 | -identity above holds on the whole preterminal set. -/ | |
| 331 | -theorem exterior_below (Nres : ℕ) {w : SpaceTime} (hw : w ∈ preterminal) | |
| 332 | - (_hq : physicalQ h w < ChartScales.Q Nres) (hout : w ∉ active) : | |
| 333 | - potential s w = 0 ∧ pressure s w = 0 := | |
| 334 | - ⟨potential_zero s hw hout, pressure_zero s hw hout⟩ | |
| 335 | - | |
| 336 | 319 | end Fields |
| 337 | 320 | |
| 338 | 321 | /-! ## The same state and request as the actual correction cycle -/ |
| @@ -355,48 +338,16 @@ noncomputable def cycleNativeStates (l : Label B N0) : | ||
| 355 | 338 | ((ActualCycleParameters.fixedParameters B N0).afterParticular |
| 356 | 339 | x.coefficients (commonContext B) x.state) H hp |
| 357 | 340 | |
| 358 | -noncomputable def cycleFamily : DependentSignedPhysicalFamily.Family := | |
| 359 | - family (cycleNativeStates x H hp) | |
| 360 | - | |
| 361 | 341 | noncomputable def cyclePotential : VelocityField := potential (cycleNativeStates x H hp) |
| 362 | 342 | |
| 363 | 343 | noncomputable def cyclePressure : PressureField := pressure (cycleNativeStates x H hp) |
| 364 | 344 | |
| 365 | -/-- The exterior statement concerns the signed request of the literal | |
| 366 | -cycle after its particular update, without replacing the incoming state. -/ | |
| 367 | -theorem cycle_referenceRequest (l : Label B N0) (z : ActualSignedPhysicalBinding.Cylinder) : | |
| 368 | - ((cycleFamily x H hp).state (nativeLabel l)).referenceRequest | |
| 369 | - (ActualSignedPhysicalBinding.reference l) z = | |
| 370 | - (ActualCycleParameters.fixedParameters B N0).signedRequest | |
| 371 | - x.coefficients (commonContext B) x.state (ActualSignedPhysicalBinding.reference l) | |
| 372 | - (ActualSignedPhysicalBinding.toCommonCylinder l z) := by | |
| 373 | - change ((family (cycleNativeStates x H hp)).state (nativeLabel l)).referenceRequest _ _ = _ | |
| 374 | - rw [family_referenceRequest_nativeLabel] | |
| 375 | - exact ActualSignedPhysicalBinding.nativeStateData_referenceRequest l ActualInitialization.patch | |
| 376 | - ((ActualCycleParameters.fixedParameters B N0).afterParticular | |
| 377 | - x.coefficients (commonContext B) x.state) H hp z | |
| 378 | - | |
| 379 | -theorem cycle_potential_zero {w : SpaceTime} (hw : w ∈ preterminal) (hout : w ∉ active) : | |
| 380 | - cyclePotential x H hp w = 0 := potential_zero (cycleNativeStates x H hp) hw hout | |
| 381 | - | |
| 382 | -theorem cycle_pressure_zero {w : SpaceTime} (hw : w ∈ preterminal) (hout : w ∉ active) : | |
| 383 | - cyclePressure x H hp w = 0 := pressure_zero (cycleNativeStates x H hp) hw hout | |
| 384 | - | |
| 385 | 345 | theorem cycle_zero_germs {w : SpaceTime} (hw : w ∈ preterminal) (hout : w ∉ active) : |
| 386 | 346 | (cyclePotential x H hp =ᶠ[𝓝 w] fun _ => 0) ∧ |
| 387 | 347 | (cyclePressure x H hp =ᶠ[𝓝 w] fun _ => 0) := |
| 388 | 348 | ⟨potential_zero_germ (cycleNativeStates x H hp) hw hout, |
| 389 | 349 | pressure_zero_germ (cycleNativeStates x H hp) hw hout⟩ |
| 390 | 350 | |
| 391 | -theorem cycle_velocity_zero {w : SpaceTime} (hw : w ∈ preterminal) (hout : w ∉ active) : | |
| 392 | - SpatialCurl.spatialCurl (cyclePotential x H hp) w = 0 := | |
| 393 | - velocity_zero (cycleNativeStates x H hp) hw hout | |
| 394 | - | |
| 395 | -theorem cycle_exterior (Nres : ℕ) {w : SpaceTime} (hw : w ∈ preterminal) | |
| 396 | - (hq : physicalQ h w < ChartScales.Q Nres) (hout : w ∉ active) : | |
| 397 | - cyclePotential x H hp w = 0 ∧ cyclePressure x H hp w = 0 := | |
| 398 | - exterior_below (cycleNativeStates x H hp) Nres hw hq hout | |
| 399 | - | |
| 400 | 351 | end Cycle |
| 401 | 352 | |
| 402 | 353 | end NavierStokes.ActualSignedExterior |
+0 −23 NavierStokes/ActualSignedGaussian.lean View file
| @@ -31,9 +31,6 @@ noncomputable def localGaussian (request : ℕ → FullPoint → SignedWaveUpdat | ||
| 31 | 31 | (l : SignedLabel B N0) (n : ℕ) (k : Frequency) : FullPoint → HarmonicCalculus.ComplexVector := |
| 32 | 32 | (copies request l).localGaussian (directions B) n k |
| 33 | 33 | |
| 34 | -theorem source_zero (request : ℕ → FullPoint → SignedWaveUpdate.Vec2) (l : SignedLabel B N0) : | |
| 35 | - (copies request l).source = fun _ _ => 0 := rfl | |
| 36 | - | |
| 37 | 34 | theorem localGaussian_formula (request : ℕ → FullPoint → SignedWaveUpdate.Vec2) |
| 38 | 35 | (l : SignedLabel B N0) (n : ℕ) (k : Frequency) (x : FullPoint) : |
| 39 | 36 | localGaussian request l n k x = |
| @@ -65,26 +62,6 @@ theorem transverse_fast_zero (l : SignedLabel B N0) (n : ℕ) (k : Frequency) (x | ||
| 65 | 62 | simp only [smul_zero] at h |
| 66 | 63 | exact h |
| 67 | 64 | |
| 68 | -/-- The product cutoff is differentiated literally. The transverse | |
| 69 | -derivative term vanishes; no cutoff factor is silently moved into the mask. -/ | |
| 70 | -theorem cutoff_fast (l : SignedLabel B N0) (n : ℕ) (k : Frequency) (x : FullPoint) : | |
| 71 | - (directions B).Dfast (cutoff l k) n x = | |
| 72 | - transverse l k n x * (directions B).Dfast | |
| 73 | - (fun m y => GaussianTailFlat.profile (nativeTime l m k y)) n x := by | |
| 74 | - have ht := ((transverse_smooth l n k).differentiable (by simp)).differentiableAt (x := x) | |
| 75 | - have hg := ((GaussianTailFlat.profile_contDiff.comp (nativeTime_smooth l n k)).differentiable | |
| 76 | - (by simp)).differentiableAt (x := x) | |
| 77 | - simp only [Function.comp_def] at hg | |
| 78 | - have hz := transverse_fast_zero l n k x | |
| 79 | - change fderiv ℝ (transverse l k n) x ((directions B).fastField n x) = 0 at hz | |
| 80 | - change fderiv ℝ (fun y => transverse l k n y * GaussianTailFlat.profile (nativeTime l n k y)) | |
| 81 | - x ((directions B).fastField n x) = | |
| 82 | - transverse l k n x * fderiv ℝ (fun y => GaussianTailFlat.profile (nativeTime l n k y)) | |
| 83 | - x ((directions B).fastField n x) | |
| 84 | - rw [fderiv_fun_mul ht hg] | |
| 85 | - simp only [_root_.add_apply, _root_.smul_apply, smul_eq_mul, hz] | |
| 86 | - ring | |
| 87 | - | |
| 88 | 65 | /-- The central Gaussian plateau kills the actual error even when the |
| 89 | 66 | transverse cutoff is strictly between zero and one. -/ |
| 90 | 67 | theorem localGaussian_zero_plateau (request : ℕ → FullPoint → SignedWaveUpdate.Vec2) |
+0 −70 NavierStokes/ActualSignedGaussianCoherence.lean View file
| @@ -75,17 +75,6 @@ theorem globalGaussian_equiv (e : D ≃L[ℝ] E) | ||
| 75 | 75 | |
| 76 | 76 | end EquivariantCutoff |
| 77 | 77 | |
| 78 | -/-- Exchanging the two bands inverts the physical Gaussian weight. -/ | |
| 79 | -theorem gaussianWeight_swap (exponent : ℝ) (n m : ℕ) : | |
| 80 | - (bandVelocityScale exponent n m * bandVelocityScale exponent n m * bandScale n m)⁻¹ = | |
| 81 | - bandVelocityScale exponent m n * bandVelocityScale exponent m n * bandScale m n := by | |
| 82 | - have hr : ChartScales.Q m / ChartScales.Q n = (ChartScales.Q n / ChartScales.Q m)⁻¹ := | |
| 83 | - (inv_div _ _).symm | |
| 84 | - unfold bandVelocityScale bandScale | |
| 85 | - simp only [hr, Real.inv_rpow (div_nonneg (ChartScales.Q_pos n).le (ChartScales.Q_pos m).le), | |
| 86 | - mul_inv_rev] | |
| 87 | - ring | |
| 88 | - | |
| 89 | 78 | section ActualFourierField |
| 90 | 79 | |
| 91 | 80 | variable {B N0 : ℕ} |
| @@ -178,33 +167,6 @@ theorem gaussian_transport (l : SignedLabel B N0) (u : State Point) | ||
| 178 | 167 | gaussian_transport_of_request l u n m k hi x |
| 179 | 168 | (fullRequest_transport u H hfixed n m k hi HS x hx) |
| 180 | 169 | |
| 181 | -/-- Reverse transport of the actual complex Gaussian coefficient on the | |
| 182 | -image of the same overlap, with the reciprocal physical weight. -/ | |
| 183 | -theorem gaussian_transport_symm (l : SignedLabel B N0) (u : State Point) | |
| 184 | - (H : MeanStateRegularity.PrimitiveData ActualInitialization.geometry.region | |
| 185 | - ActualInitialization.geometry.patch.a ActualInitialization.geometry.patch.b (commonContext B) u) | |
| 186 | - (hfixed : (VariableGaugeMean.reconstructState ActualInitialization.geometry.gauge | |
| 187 | - (commonContext B) u).pressure = u.pressure) | |
| 188 | - (n m k : ℕ) (hi : CommonWindow.index h n + k = CommonWindow.index h m) | |
| 189 | - (HS : PhysicalResidualNaturality.StateOn | |
| 190 | - (PhysicalMeanDomain.slowDomain (ActualInitialCoherence.overlap n m)) | |
| 191 | - (bandChartEquiv h n m k) (bandVelocityScale h n m) (bandScale n m) u u n m) | |
| 192 | - (x : ActualSignedCoherence.FullPoint) | |
| 193 | - (hx : ((chart n m k).symm x).1.2.1 ∈ ActualInitialCoherence.overlap n m) : | |
| 194 | - (copies l u).globalGaussian (ActualSignedStageControls.directions B) m x = | |
| 195 | - (bandVelocityScale h m n * bandVelocityScale h m n * bandScale m n) • | |
| 196 | - (copies l u).globalGaussian (ActualSignedStageControls.directions B) n ((chart n m k).symm x) := by | |
| 197 | - have he := gaussian_transport l u H hfixed n m k hi HS ((chart n m k).symm x) hx | |
| 198 | - have hw : bandVelocityScale h n m * bandVelocityScale h n m * bandScale n m ≠ 0 := | |
| 199 | - mul_ne_zero (mul_ne_zero (velocity_pos n m).ne' (velocity_pos n m).ne') | |
| 200 | - (bandScale_pos n m).ne' | |
| 201 | - have he' := congrArg (fun z : ComplexVector => | |
| 202 | - (bandVelocityScale h n m * bandVelocityScale h n m * bandScale n m)⁻¹ • z) he | |
| 203 | - have he'' := he'.symm | |
| 204 | - simp only [ContinuousLinearEquiv.apply_symm_apply, smul_smul, | |
| 205 | - inv_mul_cancel₀ hw, one_smul] at he'' | |
| 206 | - simpa only [gaussianWeight_swap] using he'' | |
| 207 | - | |
| 208 | 170 | /-- The Gaussian component of `WaveOn`, for the actual signed Fourier |
| 209 | 171 | block, on all radial and free auxiliary fibers and at every angle. -/ |
| 210 | 172 | theorem gaussianBlock_transport (l : SignedLabel B N0) (u : State Point) |
| @@ -227,38 +189,6 @@ theorem gaussianBlock_transport (l : SignedLabel B N0) (u : State Point) | ||
| 227 | 189 | n m k hi x theta _ i |
| 228 | 190 | exact gaussian_transport l u H hfixed n m k hi HS (x,0) hx |
| 229 | 191 | |
| 230 | -/-- The same field comparison in the reverse common-chart direction. | |
| 231 | -Its domain is the exact image of the forward overlap. -/ | |
| 232 | -theorem gaussianBlock_transport_symm (l : SignedLabel B N0) (u : State Point) | |
| 233 | - (H : MeanStateRegularity.PrimitiveData ActualInitialization.geometry.region | |
| 234 | - ActualInitialization.geometry.patch.a ActualInitialization.geometry.patch.b (commonContext B) u) | |
| 235 | - (hfixed : (VariableGaugeMean.reconstructState ActualInitialization.geometry.gauge | |
| 236 | - (commonContext B) u).pressure = u.pressure) | |
| 237 | - (n m k : ℕ) (hi : CommonWindow.index h n + k = CommonWindow.index h m) | |
| 238 | - (HS : PhysicalResidualNaturality.StateOn | |
| 239 | - (PhysicalMeanDomain.slowDomain (ActualInitialCoherence.overlap n m)) | |
| 240 | - (bandChartEquiv h n m k) (bandVelocityScale h n m) (bandScale n m) u u n m) | |
| 241 | - (x : Point) | |
| 242 | - (hx : (bandChartEquiv h n m k).symm x ∈ | |
| 243 | - PhysicalMeanDomain.slowDomain (ActualInitialCoherence.overlap n m)) | |
| 244 | - (theta : ℝ) (i : Fin 3) : | |
| 245 | - ((ActualSignedStageControls.parameters l).gaussianBlock ActualInitialization.geometry.strip | |
| 246 | - (request B u)).oscillation m (x,theta) i = | |
| 247 | - (bandVelocityScale h m n * bandVelocityScale h m n * bandScale m n) * | |
| 248 | - ((ActualSignedStageControls.parameters l).gaussianBlock ActualInitialization.geometry.strip | |
| 249 | - (request B u)).oscillation n ((bandChartEquiv h n m k).symm x,theta) i := by | |
| 250 | - have he := gaussianBlock_transport l u H hfixed n m k hi HS | |
| 251 | - ((bandChartEquiv h n m k).symm x) hx theta i | |
| 252 | - have hw : bandVelocityScale h n m * bandVelocityScale h n m * bandScale n m ≠ 0 := | |
| 253 | - mul_ne_zero (mul_ne_zero (velocity_pos n m).ne' (velocity_pos n m).ne') | |
| 254 | - (bandScale_pos n m).ne' | |
| 255 | - have he' := congrArg (fun z : ℝ => | |
| 256 | - (bandVelocityScale h n m * bandVelocityScale h n m * bandScale n m)⁻¹ * z) he | |
| 257 | - have he'' := he'.symm | |
| 258 | - simp only [ContinuousLinearEquiv.apply_symm_apply, ← mul_assoc, | |
| 259 | - inv_mul_cancel₀ hw, one_mul] at he'' | |
| 260 | - simpa only [gaussianWeight_swap] using he'' | |
| 261 | - | |
| 262 | 192 | end ActualTransport |
| 263 | 193 | |
| 264 | 194 | end NavierStokes.ActualSignedGaussianCoherence |
+0 −284 NavierStokes/ActualSignedGeometry.lean View file
| @@ -555,10 +555,6 @@ noncomputable def viewStrip {F : OutgoingProfile.Profile} (W : NominalProfile.Wi | ||
| 555 | 555 | (UniformPrimaryWeights.reindexedStrip (BaseContextAssembly.nativeStrip W U) |
| 556 | 556 | (fun n => (chart n, ()))) |
| 557 | 557 | |
| 558 | -theorem viewStrip_slow {F : OutgoingProfile.Profile} (W : NominalProfile.Witness F) | |
| 559 | - (U : LocalSignedRequest.SlowRegion (2 * F.data.h)) (chart : ℕ → ℕ) (n : ℕ) : | |
| 560 | - (viewStrip W U chart).slow n = max 1 (ChartScales.S (chart n)) := rfl | |
| 561 | - | |
| 562 | 558 | theorem viewStrip_mem {F : OutgoingProfile.Profile} (W : NominalProfile.Witness F) |
| 563 | 559 | (U : LocalSignedRequest.SlowRegion (2 * F.data.h)) (chart : ℕ → ℕ) (x : Native) : |
| 564 | 560 | x ∈ (viewStrip W U chart).domain ↔ x.1 ∈ BaseContextAssembly.slowCarrier W U := Iff.rfl |
| @@ -737,134 +733,6 @@ variable {F : OutgoingProfile.Profile} {W : NominalProfile.Witness F} | ||
| 737 | 733 | {Λ : Type} (reference : Λ → ℕ → Label H v a) |
| 738 | 734 | (chart index : ℕ → ℕ) (sign : Λ → ℕ → Fin 2) |
| 739 | 735 | |
| 740 | -noncomputable def copyLabel (l : Λ) (n : ℕ) : SlotColoring.Label := | |
| 741 | - PartitionedCovariance.signedLabel (PrimaryGeometryAssembly.label W (reference l n)) (sign l n) | |
| 742 | - | |
| 743 | -noncomputable def phaseCell (l : Λ) (n : ℕ) (k : TorusInverse.Frequency) : Set Native := | |
| 744 | - copyPoint sys hdet (copyLabel H v a reference sign l n) (chart n) (index (chart n)) k ⁻¹' | |
| 745 | - (nativeDomain H v a).carrier (reference l n) | |
| 746 | - | |
| 747 | -theorem phaseCell_open (l : Λ) (n : ℕ) (k : TorusInverse.Frequency) : | |
| 748 | - IsOpen (phaseCell H v a sys hdet reference chart index sign l n k) := by | |
| 749 | - apply ((nativeDomain H v a).isOpen (reference l n)).preimage | |
| 750 | - exact ((slowChange F.data.h _ _).continuous.comp continuous_fst).prodMk | |
| 751 | - (((slotGeometry sys hdet _ _).coordinates_contDiff k).continuous.comp continuous_snd) | |
| 752 | - | |
| 753 | -theorem copy_weight_eq (hr0 : 0 < r0) (l : Λ) (n : ℕ) (k : TorusInverse.Frequency) | |
| 754 | - {x : Native} (hx : x ∈ (viewStrip W U chart).domain) : | |
| 755 | - (preparedChart H v a hr0).weight (reference l n) | |
| 756 | - (copyPoint sys hdet (copyLabel H v a reference sign l n) (chart n) (index (chart n)) k x) = | |
| 757 | - (viewStrip W U chart).zeta x := by | |
| 758 | - have hp := (viewStrip_mem W U chart x).mp hx | |
| 759 | - have ht := BaseContextAssembly.nativeStrip_time W U hp | |
| 760 | - have hr := BaseContextAssembly.nativeStrip_radius W U hp | |
| 761 | - change PrimaryTargetBounds.movingWeight W (slowChange F.data.h _ _ x.1) = _ | |
| 762 | - rw [movingWeight_slowChange W (ChartScales.Q_pos _) (ChartScales.Q_pos _) ht hr, | |
| 763 | - viewStrip_zeta] | |
| 764 | - | |
| 765 | -theorem copy_growth_le | |
| 766 | - (hchart : ∀ n, 1 ≤ chart n) | |
| 767 | - (hnear : ∀ l n, chart n ≤ BaseChartJets.cellBand (reference l n) + 4 ∧ | |
| 768 | - BaseChartJets.cellBand (reference l n) ≤ chart n + 4) | |
| 769 | - (l : Λ) (n : ℕ) (k : TorusInverse.Frequency) | |
| 770 | - {x : Native} (hx : x ∈ (viewStrip W U chart).domain) : | |
| 771 | - (nativeDomain H v a).growth (reference l n) | |
| 772 | - (copyPoint sys hdet (copyLabel H v a reference sign l n) (chart n) (index (chart n)) k x) ≤ | |
| 773 | - 25 * (viewStrip W U chart).growth n x := by | |
| 774 | - have hp := (viewStrip_mem W U chart x).mp hx | |
| 775 | - have ht := BaseContextAssembly.nativeStrip_time W U hp | |
| 776 | - have hr := BaseContextAssembly.nativeStrip_radius W U hp | |
| 777 | - have he : (BaseContextAssembly.nativeStrip W (standardSlowRegion F.data.h_pos F.data.h_lt_half)).delta | |
| 778 | - (BaseContextAssembly.insertSlow (slowChange F.data.h (ChartScales.Q (chart n)) | |
| 779 | - (ChartScales.Q (BaseChartJets.cellBand (reference l n))) x.1)) = | |
| 780 | - (viewStrip W U chart).delta x := by | |
| 781 | - change (viewStrip W (standardSlowRegion F.data.h_pos F.data.h_lt_half) id).delta | |
| 782 | - (slowChange F.data.h (ChartScales.Q (chart n)) | |
| 783 | - (ChartScales.Q (BaseChartJets.cellBand (reference l n))) x.1, 0) = _ | |
| 784 | - rw [viewStrip_delta, viewStrip_delta, | |
| 785 | - profileRadius_slowChange (ChartScales.Q_pos _) (ChartScales.Q_pos _) ht hr] | |
| 786 | - have hSn := PhysicalGraphBounds.S_ge_one (hchart n) | |
| 787 | - have hSm := S_window_le (hchart n) (hnear l n).2 | |
| 788 | - have hmax : BaseContextAssembly.slowScale (BaseChartJets.cellBand (reference l n)) ≤ | |
| 789 | - 25 * BaseContextAssembly.slowScale (chart n) := by | |
| 790 | - unfold BaseContextAssembly.slowScale | |
| 791 | - rw [max_eq_right hSn] | |
| 792 | - exact max_le (by linarith) hSm | |
| 793 | - change BaseContextAssembly.slowScale (BaseChartJets.cellBand (reference l n)) * | |
| 794 | - max 1 ((BaseContextAssembly.nativeStrip W _).delta | |
| 795 | - (BaseContextAssembly.insertSlow (slowChange F.data.h (ChartScales.Q (chart n)) | |
| 796 | - (ChartScales.Q (BaseChartJets.cellBand (reference l n))) x.1)))⁻¹ ≤ _ | |
| 797 | - rw [he] | |
| 798 | - exact (mul_le_mul_of_nonneg_right hmax (zero_le_one.trans (le_max_left 1 _))).trans_eq (by | |
| 799 | - change (25 * BaseContextAssembly.slowScale (chart n)) * max 1 ((viewStrip W U chart).delta x)⁻¹ = | |
| 800 | - 25 * (BaseContextAssembly.slowScale (chart n) * max 1 ((viewStrip W U chart).delta x)⁻¹) | |
| 801 | - ring) | |
| 802 | - | |
| 803 | -/-- The copy chart is assembled from the actual dyadic and slot maps. | |
| 804 | -The only indexing restrictions are the active four-level window and | |
| 805 | -the chosen common-cover budget; all analytic comparisons are derived. -/ | |
| 806 | -noncomputable def copyChart (hr0 : 0 < r0) | |
| 807 | - (hchart : ∀ n, 1 ≤ chart n) | |
| 808 | - (hnear : ∀ l n, chart n ≤ BaseChartJets.cellBand (reference l n) + 4 ∧ | |
| 809 | - BaseChartJets.cellBand (reference l n) ≤ chart n + 4) | |
| 810 | - {budget : ℕ} (hi : CommonBaseContext.IndexBounds F.data.h index budget) : | |
| 811 | - ActualSignedControl.CopyChart (viewStrip W U chart) (nativeDomain H v a) | |
| 812 | - (preparedChart H v a hr0).weight | |
| 813 | - (phaseCell H v a sys hdet reference chart index sign) where | |
| 814 | - index := reference | |
| 815 | - linear l n _ := copyLinear sys hdet (copyLabel H v a reference sign l n) (chart n) (index (chart n)) | |
| 816 | - shift l n k := copyPoint sys hdet (copyLabel H v a reference sign l n) (chart n) (index (chart n)) k 0 | |
| 817 | - maps l n k x hx hi := by | |
| 818 | - rw [← copyPoint_affine] | |
| 819 | - exact hi | |
| 820 | - growthConstant := 25 | |
| 821 | - linearConstant := slowChangeCost F.data.h + | |
| 822 | - 25 * CommonCoverClass.bandArgumentCost (TorusAverages.slotChart vr vt hdet) | |
| 823 | - (budget + SlotColoring.nativeGap F.data.h) | |
| 824 | - growth_one := by norm_num | |
| 825 | - linear_one := by | |
| 826 | - have h1 := slowChangeCost_one F.data.h | |
| 827 | - have h2 := CommonCoverClass.bandArgumentCost_one_le (TorusAverages.slotChart vr vt hdet) | |
| 828 | - (budget + SlotColoring.nativeGap F.data.h) | |
| 829 | - linarith | |
| 830 | - growthDegree := 1 | |
| 831 | - linearDegree := 1 | |
| 832 | - growth_bound l n k x hx _ := by | |
| 833 | - rw [← copyPoint_affine, pow_one] | |
| 834 | - exact copy_growth_le H v a sys hdet U reference chart index sign hchart hnear l n k hx | |
| 835 | - linear_bound l n _ := by | |
| 836 | - rw [pow_one] | |
| 837 | - exact norm_copyLinear_le sys hdet F.data.h_pos.le hi (hchart n) | |
| 838 | - (a.large _ (reference l n).property).four_le (hnear l n).1 (hnear l n).2 | |
| 839 | - weight_eq l n k x hx _ := by | |
| 840 | - rw [← copyPoint_affine] | |
| 841 | - exact copy_weight_eq H v a sys hdet U reference chart index sign hr0 l n k hx | |
| 842 | - ratioLower := 1 / 5 | |
| 843 | - ratioUpper := 5 | |
| 844 | - ratio_pos := by norm_num | |
| 845 | - ratio_one := by norm_num | |
| 846 | - scale_ratio l n := by | |
| 847 | - change 1 / 5 ≤ Real.sqrt (max 1 (ChartScales.S (chart n))) / | |
| 848 | - Real.sqrt (ChartScales.S (BaseChartJets.cellBand (reference l n))) ∧ | |
| 849 | - Real.sqrt (max 1 (ChartScales.S (chart n))) / | |
| 850 | - Real.sqrt (ChartScales.S (BaseChartJets.cellBand (reference l n))) ≤ 5 | |
| 851 | - rw [max_eq_right (PhysicalGraphBounds.S_ge_one (hchart n))] | |
| 852 | - exact sqrt_S_window (hchart n) (reference l n).val.property.1 (hnear l n).1 (hnear l n).2 | |
| 853 | - | |
| 854 | -theorem copyChart_pull (hr0 : 0 < r0) (hchart : ∀ n, 1 ≤ chart n) | |
| 855 | - (hnear : ∀ l n, chart n ≤ BaseChartJets.cellBand (reference l n) + 4 ∧ | |
| 856 | - BaseChartJets.cellBand (reference l n) ≤ chart n + 4) | |
| 857 | - {budget : ℕ} (hi : CommonBaseContext.IndexBounds F.data.h index budget) | |
| 858 | - {E : Type} [NormedAddCommGroup E] [NormedSpace ℝ E] | |
| 859 | - (f : Label H v a → Native → E) (l : Λ) (n : ℕ) (k : TorusInverse.Frequency) (x : Native) : | |
| 860 | - (copyChart H v a sys hdet U reference chart index sign hr0 hchart hnear hi).pull f l n k x = | |
| 861 | - f (reference l n) (copyPoint sys hdet (copyLabel H v a reference sign l n) | |
| 862 | - (chart n) (index (chart n)) k x) := by | |
| 863 | - change f (reference l n) | |
| 864 | - (copyLinear sys hdet (copyLabel H v a reference sign l n) (chart n) (index (chart n)) x + | |
| 865 | - copyPoint sys hdet (copyLabel H v a reference sign l n) (chart n) (index (chart n)) k 0) = _ | |
| 866 | - rw [← copyPoint_affine] | |
| 867 | - | |
| 868 | 736 | end PreparedCopies |
| 869 | 737 | |
| 870 | 738 | /-! ## Actual periodic phase normals on the native cores -/ |
| @@ -1119,16 +987,6 @@ theorem copyPoint_eq_reference_view (l : SlotColoring.Label) (n common : ℕ) | ||
| 1119 | 987 | apply Prod.ext rfl |
| 1120 | 988 | exact (slot_coordinates_from_zero sys hdet l _ k _).symm |
| 1121 | 989 | |
| 1122 | -theorem reference_view_graph (l : SlotColoring.Label) (n common : ℕ) | |
| 1123 | - (hi : common ≤ ChartScales.nativeIndex h l.1) | |
| 1124 | - {z : ProblemStatement.SpaceTime} (hz : 0 < z.2 0) : | |
| 1125 | - PhysicalParticularWave.cylinderChange h (ChartScales.Q n) (ChartScales.Q l.1) | |
| 1126 | - (ChartScales.nativeIndex h l.1 - common) | |
| 1127 | - ((PhysicalResidualBridge.commonGraph (ChartScales.Q n) h common).map z) = | |
| 1128 | - (PhysicalResidualBridge.commonGraph (ChartScales.Q l.1) h (ChartScales.nativeIndex h l.1)).map z := by | |
| 1129 | - rw [PhysicalParticularWave.cylinderChange_graph (ChartScales.Q_pos _) (ChartScales.Q_pos _) h common _ hz, | |
| 1130 | - Nat.add_sub_of_le hi] | |
| 1131 | - | |
| 1132 | 990 | end ReferenceViews |
| 1133 | 991 | |
| 1134 | 992 | section PreparedNormals |
| @@ -1268,48 +1126,8 @@ noncomputable def ActivePairCondition (l : Λ) (n : ℕ) : Prop := | ||
| 1268 | 1126 | |
| 1269 | 1127 | abbrev ActivePair := {q : Λ × ℕ // ActivePairCondition H v a reference chart q.1 q.2} |
| 1270 | 1128 | |
| 1271 | -noncomputable def activePhaseCell (l : Λ) (n : ℕ) (k : TorusInverse.Frequency) : Set Native := | |
| 1272 | - {x | ActivePairCondition H v a reference chart l n ∧ | |
| 1273 | - x ∈ phaseCell H v a sys hdet reference chart index sign l n k} | |
| 1274 | - | |
| 1275 | 1129 | variable [Countable Λ] [Nonempty (ActivePair H v a reference chart)] |
| 1276 | 1130 | |
| 1277 | -noncomputable def activeEnumeration : ℕ → ActivePair H v a reference chart := | |
| 1278 | - Classical.choose (exists_surjective_nat (ActivePair H v a reference chart)) | |
| 1279 | - | |
| 1280 | -theorem activeEnumeration_surjective : Surjective (activeEnumeration H v a reference chart) := | |
| 1281 | - Classical.choose_spec (exists_surjective_nat (ActivePair H v a reference chart)) | |
| 1282 | - | |
| 1283 | -noncomputable def activeReference (_ : Unit) (q : ℕ) : Label H v a := | |
| 1284 | - reference (activeEnumeration H v a reference chart q).val.1 | |
| 1285 | - (activeEnumeration H v a reference chart q).val.2 | |
| 1286 | - | |
| 1287 | -noncomputable def activeChart (q : ℕ) : ℕ := | |
| 1288 | - chart (activeEnumeration H v a reference chart q).val.2 | |
| 1289 | - | |
| 1290 | -noncomputable def activeSign (_ : Unit) (q : ℕ) : Fin 2 := | |
| 1291 | - sign (activeEnumeration H v a reference chart q).val.1 | |
| 1292 | - (activeEnumeration H v a reference chart q).val.2 | |
| 1293 | - | |
| 1294 | -theorem active_near (q : ℕ) : | |
| 1295 | - activeChart H v a reference chart q ≤ BaseChartJets.cellBand (activeReference H v a reference chart () q) + 4 ∧ | |
| 1296 | - BaseChartJets.cellBand (activeReference H v a reference chart () q) ≤ activeChart H v a reference chart q + 4 := | |
| 1297 | - (activeEnumeration H v a reference chart q).property.2 | |
| 1298 | - | |
| 1299 | -/-- Every input of this chart is the original active pair. Its uniform | |
| 1300 | -bounds are valid without any comparison for inactive label-band pairs. -/ | |
| 1301 | -noncomputable def activeCopyChart (hr0 : 0 < r0) {budget : ℕ} | |
| 1302 | - (hi : CommonBaseContext.IndexBounds F.data.h index budget) := | |
| 1303 | - copyChart H v a sys hdet U (activeReference H v a reference chart) | |
| 1304 | - (activeChart H v a reference chart) index (activeSign H v a reference chart sign) hr0 | |
| 1305 | - (fun q => (activeEnumeration H v a reference chart q).property.1) | |
| 1306 | - (fun _ q => active_near H v a reference chart q) hi | |
| 1307 | - | |
| 1308 | -theorem active_reindexed_strip : | |
| 1309 | - viewStrip W U (activeChart H v a reference chart) = | |
| 1310 | - UniformPrimaryWeights.reindexedStrip (viewStrip W U chart) | |
| 1311 | - (fun q => ((activeEnumeration H v a reference chart q).val.2, ())) := rfl | |
| 1312 | - | |
| 1313 | 1131 | end ActiveCopies |
| 1314 | 1132 | |
| 1315 | 1133 | /-! ## The angle coordinate is retained when making harmonic blocks -/ |
| @@ -1321,49 +1139,6 @@ noncomputable def cylinderNativeLinear : Cylinder →L[ℝ] Native := | ||
| 1321 | 1139 | @[simp] theorem cylinderNativeLinear_apply (x : Cylinder) : |
| 1322 | 1140 | cylinderNativeLinear x = cylinderNative x := rfl |
| 1323 | 1141 | |
| 1324 | -theorem norm_cylinderNativeLinear : ‖cylinderNativeLinear‖ ≤ 1 := by | |
| 1325 | - apply ContinuousLinearMap.opNorm_le_bound _ zero_le_one | |
| 1326 | - intro x | |
| 1327 | - change ‖(ParticularWaveBounds.liftAssoc Plane) x.1‖ ≤ 1 * ‖x‖ | |
| 1328 | - rw [LinearIsometryEquiv.norm_map, one_mul] | |
| 1329 | - exact norm_fst_le x | |
| 1330 | - | |
| 1331 | -noncomputable def cylinderStrip (s : StripData Native) : StripData Cylinder := | |
| 1332 | - ParticularWaveBounds.reindexStrip (StateReindex.cylinder (ParticularWaveBounds.liftAssoc Plane)) | |
| 1333 | - (HarmonicWaveInteraction.productStrip s) | |
| 1334 | - | |
| 1335 | -noncomputable def cylinderCopyChart {Λ I i : Type} {s : StripData Native} | |
| 1336 | - {V : JetDomain i Native} {weight : i → Native → ℝ} {K : Λ → ℕ → I → Set Native} | |
| 1337 | - (c : ActualSignedControl.CopyChart s V weight K) : | |
| 1338 | - ActualSignedControl.CopyChart (cylinderStrip s) V weight | |
| 1339 | - (fun l n k => cylinderNative ⁻¹' K l n k) where | |
| 1340 | - index := c.index | |
| 1341 | - linear l n k := (c.linear l n k).comp cylinderNativeLinear | |
| 1342 | - shift := c.shift | |
| 1343 | - maps l n k x hx hk := c.maps l n k (cylinderNative x) hx hk | |
| 1344 | - growthConstant := c.growthConstant | |
| 1345 | - linearConstant := c.linearConstant | |
| 1346 | - growth_one := c.growth_one | |
| 1347 | - linear_one := c.linear_one | |
| 1348 | - growthDegree := c.growthDegree | |
| 1349 | - linearDegree := c.linearDegree | |
| 1350 | - growth_bound l n k x hx hk := c.growth_bound l n k (cylinderNative x) hx hk | |
| 1351 | - linear_bound l n k := by | |
| 1352 | - exact (ContinuousLinearMap.opNorm_comp_le _ _).trans | |
| 1353 | - ((mul_le_of_le_one_right (norm_nonneg _) norm_cylinderNativeLinear).trans (c.linear_bound l n k)) | |
| 1354 | - weight_eq l n k x hx hk := c.weight_eq l n k (cylinderNative x) hx hk | |
| 1355 | - ratioLower := c.ratioLower | |
| 1356 | - ratioUpper := c.ratioUpper | |
| 1357 | - ratio_pos := c.ratio_pos | |
| 1358 | - ratio_one := c.ratio_one | |
| 1359 | - scale_ratio := c.scale_ratio | |
| 1360 | - | |
| 1361 | -theorem cylinderCopyChart_pull {Λ I i E : Type} [NormedAddCommGroup E] [NormedSpace ℝ E] | |
| 1362 | - {s : StripData Native} {V : JetDomain i Native} {weight : i → Native → ℝ} | |
| 1363 | - {K : Λ → ℕ → I → Set Native} (c : ActualSignedControl.CopyChart s V weight K) | |
| 1364 | - (f : i → Native → E) (l : Λ) (n : ℕ) (k : I) (x : Cylinder) : | |
| 1365 | - (cylinderCopyChart c).pull f l n k x = c.pull f l n k (cylinderNative x) := rfl | |
| 1366 | - | |
| 1367 | 1142 | /-! ## The actual cutoffs locate every nonzero native contribution -/ |
| 1368 | 1143 | |
| 1369 | 1144 | section CutoffSupport |
| @@ -1410,51 +1185,6 @@ theorem nativeCutoff_nonzero_mem (hr0 : 0 < r0) (L : Label H v a) {x : Native} | ||
| 1410 | 1185 | apply (BaseContextAssembly.nativeStrip_mem W _ _).mpr |
| 1411 | 1186 | exact ⟨⟨ht, hq⟩, hactive⟩ |
| 1412 | 1187 | |
| 1413 | -theorem nativeCutoff_zero_germ_outside_q (L : Label H v a) {x : Native} | |
| 1414 | - (ht : 0 < x.1.2.2) | |
| 1415 | - (hq : SimilarityHomogeneity.chartQ F.data.h x.1 ∉ Icc (1 / 2 : ℝ) 2) : | |
| 1416 | - nativeCutoff H v a L =ᶠ[𝓝 x] fun _ => 0 := by | |
| 1417 | - have he : SquaredPartition.dyadicProfile =ᶠ[𝓝 (SimilarityHomogeneity.chartQ F.data.h x.1)] fun _ => 0 := | |
| 1418 | - notMem_tsupport_iff_eventuallyEq.mp (by simpa only [SquaredPartition.dyadicProfile_tsupport] using hq) | |
| 1419 | - have hc : ContinuousAt (fun y : Native => SimilarityHomogeneity.chartQ F.data.h y.1) x := by | |
| 1420 | - exact ((SimilarityCoordinates.coordinateQ_smooth | |
| 1421 | - (by linarith [F.data.h_pos]) (by linarith [F.data.h_lt_half]) ht).continuousAt).comp | |
| 1422 | - (continuousAt_fst.snd.snd.prodMk continuousAt_fst.snd.fst) | |
| 1423 | - filter_upwards [hc.eventually he] with y hy | |
| 1424 | - simp only [nativeCutoff, hy, zero_mul] | |
| 1425 | - | |
| 1426 | -theorem nativeCutoff_zero_germ_outside_cell (L : Label H v a) {x : Native} | |
| 1427 | - (ht : 0 < x.1.2.2) (hx : x.1 ∉ (PrimaryGeometryAssembly.domain W a.N).carrier L) : | |
| 1428 | - nativeCutoff H v a L =ᶠ[𝓝 x] fun _ => 0 := by | |
| 1429 | - have hs : x.1 ∉ tsupport (PrimaryRepresentatives.nativeMask | |
| 1430 | - (BaseChartJets.cellBand L) (PrimaryGeometryAssembly.label W L).2) := by | |
| 1431 | - intro hs | |
| 1432 | - exact hx (PrimaryGeometryAssembly.native_support_in_carrier W L ⟨hs, ht⟩) | |
| 1433 | - have he := notMem_tsupport_iff_eventuallyEq.mp hs | |
| 1434 | - filter_upwards [continuousAt_fst.eventually he] with y hy | |
| 1435 | - simp only [nativeCutoff, hy, Pi.zero_apply, mul_zero, zero_mul] | |
| 1436 | - | |
| 1437 | -theorem copy_cutoff_mem_phaseCell (hr0 : 0 < r0) | |
| 1438 | - {vr vt : Plane} | |
| 1439 | - (sys : PartitionedCovariance.SlotSystem (CoordinateAlgebra.D F.data.h) F.data.h vr vt) | |
| 1440 | - (hdet : vr.1 * vt.2 - vr.2 * vt.1 ≠ 0) | |
| 1441 | - (U : LocalSignedRequest.SlowRegion (2 * F.data.h)) | |
| 1442 | - {Λ : Type} (reference : Λ → ℕ → Label H v a) (chart index : ℕ → ℕ) | |
| 1443 | - (sign : Λ → ℕ → Fin 2) (l : Λ) (n : ℕ) (k : TorusInverse.Frequency) | |
| 1444 | - {x : Native} (hx : x ∈ (viewStrip W U chart).domain) | |
| 1445 | - (hn : nativeCutoff H v a (reference l n) | |
| 1446 | - (copyPoint sys hdet (copyLabel H v a reference sign l n) (chart n) (index (chart n)) k x) ≠ 0) : | |
| 1447 | - x ∈ phaseCell H v a sys hdet reference chart index sign l n k := by | |
| 1448 | - have hp := (viewStrip_mem W U chart x).mp hx | |
| 1449 | - have ht := BaseContextAssembly.nativeStrip_time W U hp | |
| 1450 | - have hr := BaseContextAssembly.nativeStrip_radius W U hp | |
| 1451 | - have ha := ((BaseContextAssembly.nativeStrip_mem W U _).mp hp).2 | |
| 1452 | - apply nativeCutoff_nonzero_mem H v a hr0 (reference l n) _ _ hn | |
| 1453 | - · exact slowChange_time (ChartScales.Q_pos _) (ChartScales.Q_pos _) ht | |
| 1454 | - · change PrimaryTargetBounds.profileRadius F.data.h (slowChange F.data.h _ _ x.1) ∈ _ | |
| 1455 | - rw [profileRadius_slowChange (ChartScales.Q_pos _) (ChartScales.Q_pos _) ht hr] | |
| 1456 | - exact ha | |
| 1457 | - | |
| 1458 | 1188 | end CutoffSupport |
| 1459 | 1189 | |
| 1460 | 1190 | /-! ## The solver's `(R,(T,Z))` parameter ordering -/ |
| @@ -1477,18 +1207,4 @@ noncomputable def parameterLinear (h Q Qr : ℝ) : Slow →L[ℝ] Slow := | ||
| 1477 | 1207 | @[simp] theorem parameterLinear_apply (h Q Qr : ℝ) (x : Slow) : |
| 1478 | 1208 | parameterLinear h Q Qr x = PhysicalParticularWave.parameterChange h Q Qr x := rfl |
| 1479 | 1209 | |
| 1480 | -theorem norm_parameterLinear_le (h : ℝ) {n m : ℕ} | |
| 1481 | - (hnm : n ≤ m + 4) (hmn : m ≤ n + 4) : | |
| 1482 | - ‖parameterLinear h (ChartScales.Q n) (ChartScales.Q m)‖ ≤ slowChangeCost h := by | |
| 1483 | - apply ContinuousLinearMap.opNorm_le_bound _ (zero_le_one.trans (slowChangeCost_one h)) | |
| 1484 | - intro x | |
| 1485 | - change ‖swapParameter (slowChange h (ChartScales.Q n) (ChartScales.Q m) (swapParameter x))‖ ≤ _ | |
| 1486 | - rw [LinearIsometryEquiv.norm_map] | |
| 1487 | - calc | |
| 1488 | - _ ≤ ‖slowChange h (ChartScales.Q n) (ChartScales.Q m)‖ * ‖swapParameter x‖ := | |
| 1489 | - (slowChange h _ _).le_opNorm _ | |
| 1490 | - _ ≤ slowChangeCost h * ‖x‖ := by | |
| 1491 | - rw [LinearIsometryEquiv.norm_map] | |
| 1492 | - exact mul_le_mul_of_nonneg_right (norm_slowChange_le h hnm hmn) (norm_nonneg _) | |
| 1493 | - | |
| 1494 | 1210 | end NavierStokes.ActualSignedGeometry |
+0 −247 NavierStokes/ActualSignedMeanBinding.lean View file
| @@ -31,45 +31,6 @@ abbrev Frequency := TorusInverse.Frequency | ||
| 31 | 31 | |
| 32 | 32 | /-! ## The legacy normalized-tail input cannot describe this chart -/ |
| 33 | 33 | |
| 34 | -theorem Q_le_half {n : ℕ} (hn : 1 ≤ n) : ChartScales.Q n ≤ 1 / 2 := by | |
| 35 | - calc | |
| 36 | - ChartScales.Q n ≤ (2 : ℝ) ^ (-1 : ℝ) := | |
| 37 | - Real.rpow_le_rpow_of_exponent_le (by norm_num) | |
| 38 | - (neg_le_neg (by exact_mod_cast hn : (1 : ℝ) ≤ n)) | |
| 39 | - _ = 1 / 2 := by norm_num | |
| 40 | - | |
| 41 | -theorem legacy_nativeData_excludes_strip (B : SignedMeanGain.NativeData ActualInitialization.geometry) | |
| 42 | - {x : Point} (hx : x ∈ ActualInitialization.geometry.strip.domain) : False := by | |
| 43 | - have hs := ActualInitialization.geometry.strip_subset hx | |
| 44 | - have hlarge : (1 / 2 : ℝ) < SimilarityCoordinates.coordinateQ (2 * h) x.2.1 := hs.2.1 | |
| 45 | - have hsmall := (B.tail_bound 0 x hx).trans (Q_le_half (B.index_pos 0)) | |
| 46 | - exact (not_lt_of_ge hsmall) hlarge | |
| 47 | - | |
| 48 | -theorem normalized_axis_scale : SimilarityCoordinates.coordinateQ (2 * h) (1, 0) = 1 := by | |
| 49 | - symm | |
| 50 | - exact SimilarityCoordinates.eq_coordinateQ (by linarith [outgoing.data.h_pos]) | |
| 51 | - (by linarith [outgoing.data.h_lt_half]) (by norm_num) (by norm_num) | |
| 52 | - (by simp [SimilarityCoordinates.forwardScalar]) | |
| 53 | - | |
| 54 | -theorem actual_strip_nonempty : ActualInitialization.geometry.strip.domain.Nonempty := by | |
| 55 | - let G := ActualInitialization.geometry | |
| 56 | - refine ⟨((G.patch.a + G.patch.b) / 2, ((1, 0), (0, 0))), ?_⟩ | |
| 57 | - apply (LocalSignedRequest.movingStrip_domain G.region G.patch.a G.patch.b | |
| 58 | - G.leftWeight G.rightWeight G.patch.a_pos G.left_pos G.right_pos | |
| 59 | - G.epsilon G.slow G.epsilon_pos G.epsilon_le_one G.slow_ge_one _).mpr | |
| 60 | - constructor | |
| 61 | - · change 0 < (1 : ℝ) ∧ SimilarityCoordinates.coordinateQ (2 * h) (1, 0) ∈ Ioo (1 / 2 : ℝ) 2 | |
| 62 | - rw [normalized_axis_scale] | |
| 63 | - norm_num | |
| 64 | - · change ((G.patch.a + G.patch.b) / 2) / | |
| 65 | - Real.sqrt (SimilarityCoordinates.coordinateQ (2 * h) (1, 0)) ∈ Ioo G.patch.a G.patch.b | |
| 66 | - rw [normalized_axis_scale, Real.sqrt_one, div_one] | |
| 67 | - constructor <;> linarith [G.patch.a_lt_b] | |
| 68 | - | |
| 69 | -theorem no_legacy_nativeData : IsEmpty (SignedMeanGain.NativeData ActualInitialization.geometry) := by | |
| 70 | - obtain ⟨x, hx⟩ := actual_strip_nonempty | |
| 71 | - exact ⟨fun B => legacy_nativeData_excludes_strip B hx⟩ | |
| 72 | - | |
| 73 | 34 | /-! ## Shared matrix, scaled target and ratio of the signed coefficients -/ |
| 74 | 35 | |
| 75 | 36 | variable {B N0 : ℕ} |
| @@ -100,12 +61,6 @@ theorem velocityScale_eq (L : Label B N0) (n : ℕ) : | ||
| 100 | 61 | simp only [velocityScale, PhysicalParticularWave.velocityWeight, PhysicalParticularWave.ratioPower, |
| 101 | 62 | Real.rpow_neg (ChartScales.Q_pos _).le, div_eq_mul_inv] |
| 102 | 63 | |
| 103 | -theorem commonMatrix_eq (L : Label B N0) (n : ℕ) (x : Point) (j : Fin 2) (k : Frequency) : | |
| 104 | - ActualSignedStageControls.matrix (L, j) k n (x, 0) = commonMatrix L n x := rfl | |
| 105 | - | |
| 106 | -theorem commonTarget_eq (L : Label B N0) (n : ℕ) (x : Point) (j : Fin 2) (k : Frequency) : | |
| 107 | - ActualSignedStageControls.target (L, j) k n (x, 0) = commonTarget L n x := rfl | |
| 108 | - | |
| 109 | 64 | theorem commonTarget_cone (L : Label B N0) (n : ℕ) {x : Point} |
| 110 | 65 | (hx : x ∈ ActualInitialization.geometry.strip.domain) |
| 111 | 66 | (hm : spatialMask L (nativePoint n x L) ≠ 0) : |
| @@ -189,15 +144,6 @@ theorem primaryBlock_eq_model (L : Label B N0) (j : Fin 2) : | ||
| 189 | 144 | ((chartCoefficients j L).withCutoff (chartCutoff j L)) |
| 190 | 145 | (fun _ => PrimaryGeometryAssembly.angularMode certificate modulation (choice B N0).prepared j L) := rfl |
| 191 | 146 | |
| 192 | -theorem primary_tangent_band (l : Label B N0 × Fin 2) : | |
| 193 | - (ActualInitialization.tangentBlock l).BandLimited 1 := | |
| 194 | - CorrectionInitialization.PrimaryHarmonics.block_band _ _ _ | |
| 195 | - | |
| 196 | -theorem actual_sameCarrier (request : ℕ → FullPoint → Vec2) (L : Label B N0) (j : Fin 2) : | |
| 197 | - LabelSumBounds.SameCarrier (ActualInitialization.tangentBlock (L, j)) | |
| 198 | - ((ActualSignedStageControls.parameters (L, j)).tangentBlock ActualInitialization.geometry.strip request) := | |
| 199 | - ⟨rfl, rfl, rfl⟩ | |
| 200 | - | |
| 201 | 147 | theorem signed_tangent_ratio (request : ℕ → FullPoint → Vec2) (L : Label B N0) |
| 202 | 148 | (n : ℕ) {x : Point} (hx : x ∈ ActualInitialization.geometry.strip.domain) |
| 203 | 149 | (j : Fin 2) (theta : ℝ) (i : Fin 3) : |
| @@ -215,14 +161,6 @@ theorem signed_tangent_ratio (request : ℕ → FullPoint → Vec2) (L : Label B | ||
| 215 | 161 | zero_mul, mul_zero, add_zero, sub_zero] |
| 216 | 162 | ring |
| 217 | 163 | |
| 218 | -theorem signedRatio_fiber (c : CorrectionState.Context Point) (u : CorrectionState.State Point) | |
| 219 | - (L : Label B N0) (n : ℕ) (x : Point) (Y : TorusInverse.Plane) (j : Fin 2) : | |
| 220 | - signedRatio (LocalSignedRequest.fullRequest ActualInitialization.geometry.strip | |
| 221 | - ActualInitialization.geometry.patch ActualInitialization.geometry.coord c u) | |
| 222 | - L n (x.1, (x.2.1, Y)) j = | |
| 223 | - signedRatio (LocalSignedRequest.fullRequest ActualInitialization.geometry.strip | |
| 224 | - ActualInitialization.geometry.patch ActualInitialization.geometry.coord c u) L n x j := rfl | |
| 225 | - | |
| 226 | 164 | /-! ## Individual primary modes at the actual common cover -/ |
| 227 | 165 | |
| 228 | 166 | theorem primary_mode_view (n : ℕ) {x : Point} |
| @@ -470,171 +408,14 @@ theorem requested_cross_tail (B N0 : ℕ) (c : CorrectionState.Context Point) | ||
| 470 | 408 | rw [requested_cross_factor B N0 c u n hx i, |
| 471 | 409 | partitionFactor_eq_one B N0 n hx (physicalScale_tail B N0 hn hx), one_mul] |
| 472 | 410 | |
| 473 | -/-- Earlier bands retain their actual cutoff deficit. In particular this | |
| 474 | -theorem makes no assertion of cancellation on every normalized band. -/ | |
| 475 | -theorem requested_cross_defect (B N0 : ℕ) (c : CorrectionState.Context Point) | |
| 476 | - (u : CorrectionState.State Point) (n : ℕ) {x : Point} | |
| 477 | - (hx : x ∈ ActualInitialization.geometry.strip.domain) (i : Fin 2) : | |
| 478 | - StateMomentBalances.meanBar (actualCross B N0 c u 0 i.succ) n x - | |
| 479 | - LocalSignedRequest.requestedStress ActualInitialization.geometry.patch | |
| 480 | - ActualInitialization.geometry.coord c u n x i = | |
| 481 | - -missingWeight (choice B N0).prepared.N (physicalScale n x) * | |
| 482 | - LocalSignedRequest.requestedStress ActualInitialization.geometry.patch | |
| 483 | - ActualInitialization.geometry.coord c u n x i := by | |
| 484 | - rw [requested_cross_factor B N0 c u n hx i, partitionFactor_eq_one_sub_missing B N0 n hx] | |
| 485 | - ring | |
| 486 | - | |
| 487 | -theorem theta_cross_tail (B N0 : ℕ) (c : CorrectionState.Context Point) | |
| 488 | - (u : CorrectionState.State Point) {n : ℕ} | |
| 489 | - (hn : (choice B N0).prepared.N + 1 ≤ n) {x : Point} | |
| 490 | - (hx : x ∈ ActualInitialization.geometry.strip.domain) : | |
| 491 | - StateMomentBalances.meanBar (actualCross B N0 c u 0 1) n x = | |
| 492 | - SignedMeanGain.physicalSigma ActualInitialization.geometry 2 (u.thetaResidual c) n x := | |
| 493 | - requested_cross_tail B N0 c u hn hx 0 | |
| 494 | - | |
| 495 | -theorem axial_cross_tail (B N0 : ℕ) (c : CorrectionState.Context Point) | |
| 496 | - (u : CorrectionState.State Point) {n : ℕ} | |
| 497 | - (hn : (choice B N0).prepared.N + 1 ≤ n) {x : Point} | |
| 498 | - (hx : x ∈ ActualInitialization.geometry.strip.domain) : | |
| 499 | - StateMomentBalances.meanBar (actualCross B N0 c u 0 2) n x = | |
| 500 | - SignedMeanGain.physicalSigma ActualInitialization.geometry 1 (u.axialResidual c) n x := | |
| 501 | - requested_cross_tail B N0 c u hn hx 1 | |
| 502 | - | |
| 503 | -theorem requested_cross_tail_jets (B N0 : ℕ) (c : CorrectionState.Context Point) | |
| 504 | - (u : CorrectionState.State Point) {n : ℕ} | |
| 505 | - (hn : (choice B N0).prepared.N + 1 ≤ n) {x : Point} | |
| 506 | - (hx : x ∈ ActualInitialization.geometry.strip.domain) (i : Fin 2) (m : ℕ) : | |
| 507 | - iteratedFDeriv ℝ m (StateMomentBalances.meanBar (actualCross B N0 c u 0 i.succ) n) x = | |
| 508 | - iteratedFDeriv ℝ m (fun x => LocalSignedRequest.requestedStress | |
| 509 | - ActualInitialization.geometry.patch ActualInitialization.geometry.coord c u n x i) x := by | |
| 510 | - exact (SolenoidalDiagonal.iteratedFDeriv_eventuallyEq | |
| 511 | - (eventually_of_mem (ActualInitialization.geometry.strip.isOpen_domain.mem_nhds hx) | |
| 512 | - (fun y hy => requested_cross_tail B N0 c u hn hy i)) m).self_of_nhds | |
| 513 | - | |
| 514 | 411 | /-! ## Binding to the signed family of the literal correction cycle -/ |
| 515 | 412 | |
| 516 | 413 | open CorrectionStep CorrectionState |
| 517 | 414 | |
| 518 | -/-- This is the actual cycle constructor with its particular solver left | |
| 519 | -as a parameter. Both fixed and state-dependent actual particular solvers | |
| 520 | -use this very signed subsystem. -/ | |
| 521 | -noncomputable def cycleParameters | |
| 522 | - (particular : (Label B N0 × Fin 2) → ParticularParameters CycleSlow) : | |
| 523 | - CycleParameters (Label B N0 × Fin 2) := | |
| 524 | - CycleParameters.ofGeometry ActualInitialization.geometry h | |
| 525 | - (CorrectionInitialization.CommonWindow.index h) ActualInitialization.axial | |
| 526 | - particular ActualSignedStageControls.parameters rankData | |
| 527 | - | |
| 528 | -theorem cycle_signedRequest_eq | |
| 529 | - (particular : (Label B N0 × Fin 2) → ParticularParameters CycleSlow) | |
| 530 | - (v : CycleCoefficients (Label B N0 × Fin 2)) (c : Context Point) (u : State Point) : | |
| 531 | - (cycleParameters particular).signedRequest v c u = | |
| 532 | - actualRequest c ((cycleParameters particular).afterParticular v c u) := rfl | |
| 533 | - | |
| 534 | -theorem cycle_signedTangent_eq | |
| 535 | - (particular : (Label B N0 × Fin 2) → ParticularParameters CycleSlow) | |
| 536 | - (v : CycleCoefficients (Label B N0 × Fin 2)) (c : Context Point) (u : State Point) | |
| 537 | - (l : Label B N0 × Fin 2) : | |
| 538 | - (cycleParameters particular).signedTangent v c u l = | |
| 539 | - actualSignedBlock c ((cycleParameters particular).afterParticular v c u) l := rfl | |
| 540 | - | |
| 541 | -theorem cycle_signed_sameCarrier | |
| 542 | - (particular : (Label B N0 × Fin 2) → ParticularParameters CycleSlow) | |
| 543 | - (v : CycleCoefficients (Label B N0 × Fin 2)) (c : Context Point) (u : State Point) | |
| 544 | - (l : Label B N0 × Fin 2) : | |
| 545 | - LabelSumBounds.SameCarrier (ActualInitialization.tangentBlock l) | |
| 546 | - ((cycleParameters particular).signedBlock v c u l) := ⟨rfl, rfl, rfl⟩ | |
| 547 | - | |
| 548 | -theorem cycle_current_signedCarrier | |
| 549 | - (particular : (Label B N0 × Fin 2) → ParticularParameters CycleSlow) | |
| 550 | - (v : CycleCoefficients (Label B N0 × Fin 2)) (c : Context Point) (u : State Point) | |
| 551 | - (hcp : ∀ l, LabelSumBounds.SameCarrier (v.blocks l) (ActualInitialization.tangentBlock l)) | |
| 552 | - (l : Label B N0 × Fin 2) : | |
| 553 | - LabelSumBounds.SameCarrier (v.blocks l) ((cycleParameters particular).signedBlock v c u l) := | |
| 554 | - ⟨(hcp l).frequency, (hcp l).phase, (hcp l).angular⟩ | |
| 555 | - | |
| 556 | -theorem fixedParameters_eq_cycle (B N0 : ℕ) : | |
| 557 | - ActualCycleParameters.fixedParameters B N0 = | |
| 558 | - cycleParameters (fun l : Label B N0 × Fin 2 => | |
| 559 | - ActualParticularStageControls.canonicalParameters (l.2, l.1)) := rfl | |
| 560 | - | |
| 561 | -theorem parameters_eq_cycle (x : CycleState (Label B N0 × Fin 2)) : | |
| 562 | - ActualCycleParameters.parameters x = | |
| 563 | - cycleParameters (fun l => ActualParticularStageControls.parameters | |
| 564 | - (ActualCycleParameters.particularState x) (ActualCycleParameters.swap B N0 l)) := rfl | |
| 565 | - | |
| 566 | -theorem initial_labels (B N0 : ℕ) : | |
| 567 | - (ActualInitialization.coefficients B N0).labels = activeLabels standardRegion B N0 := rfl | |
| 568 | - | |
| 569 | -theorem next_labels | |
| 570 | - (p : CycleParameters (Label B N0 × Fin 2)) | |
| 571 | - (v : CycleCoefficients (Label B N0 × Fin 2)) (c : Context Point) (u : State Point) : | |
| 572 | - (p.nextCoefficients v c u).labels = v.labels := rfl | |
| 573 | - | |
| 574 | 415 | /-! The cycle field identity is stated without expanding its quantitative |
| 575 | 416 | `SignedFamily` proof object. Its coefficient projections are all that the |
| 576 | 417 | covariance uses. -/ |
| 577 | 418 | |
| 578 | -theorem cycle_cross_eq | |
| 579 | - (particular : (Label B N0 × Fin 2) → ParticularParameters CycleSlow) | |
| 580 | - (v : CycleCoefficients (Label B N0 × Fin 2)) (c : Context Point) (u : State Point) | |
| 581 | - (hlabels : v.labels = activeLabels standardRegion B N0) : | |
| 582 | - LabelSumBounds.symmetricCovariance | |
| 583 | - (LabelSumBounds.fieldSum v.labels (fun l => (ActualInitialization.tangentBlock l).oscillation)) | |
| 584 | - (LabelSumBounds.fieldSum v.labels | |
| 585 | - (fun l => ((cycleParameters particular).signedTangent v c u l).oscillation)) = | |
| 586 | - actualCross B N0 c ((cycleParameters particular).afterParticular v c u) := by | |
| 587 | - rw [hlabels] | |
| 588 | - rfl | |
| 589 | - | |
| 590 | -theorem cycle_requested_cross_tail | |
| 591 | - (particular : (Label B N0 × Fin 2) → ParticularParameters CycleSlow) | |
| 592 | - (v : CycleCoefficients (Label B N0 × Fin 2)) (c : Context Point) (u : State Point) | |
| 593 | - (hlabels : v.labels = activeLabels standardRegion B N0) {n : ℕ} | |
| 594 | - (hn : (choice B N0).prepared.N + 1 ≤ n) {x : Point} | |
| 595 | - (hx : x ∈ ActualInitialization.geometry.strip.domain) (i : Fin 2) : | |
| 596 | - StateMomentBalances.meanBar (LabelSumBounds.symmetricCovariance | |
| 597 | - (LabelSumBounds.fieldSum v.labels (fun l => (ActualInitialization.tangentBlock l).oscillation)) | |
| 598 | - (LabelSumBounds.fieldSum v.labels | |
| 599 | - (fun l => ((cycleParameters particular).signedTangent v c u l).oscillation)) 0 i.succ) n x = | |
| 600 | - LocalSignedRequest.requestedStress ActualInitialization.geometry.patch | |
| 601 | - ActualInitialization.geometry.coord c ((cycleParameters particular).afterParticular v c u) n x i := by | |
| 602 | - rw [cycle_cross_eq particular v c u hlabels] | |
| 603 | - exact requested_cross_tail B N0 c _ hn hx i | |
| 604 | - | |
| 605 | -theorem fixed_requested_cross_tail | |
| 606 | - (v : CycleCoefficients (Label B N0 × Fin 2)) (c : Context Point) (u : State Point) | |
| 607 | - (hlabels : v.labels = activeLabels standardRegion B N0) {n : ℕ} | |
| 608 | - (hn : (choice B N0).prepared.N + 1 ≤ n) {x : Point} | |
| 609 | - (hx : x ∈ ActualInitialization.geometry.strip.domain) (i : Fin 2) : | |
| 610 | - StateMomentBalances.meanBar (LabelSumBounds.symmetricCovariance | |
| 611 | - (LabelSumBounds.fieldSum v.labels (fun l => (ActualInitialization.tangentBlock l).oscillation)) | |
| 612 | - (LabelSumBounds.fieldSum v.labels | |
| 613 | - (fun l => ((ActualCycleParameters.fixedParameters B N0).signedTangent v c u l).oscillation)) | |
| 614 | - 0 i.succ) n x = | |
| 615 | - LocalSignedRequest.requestedStress ActualInitialization.geometry.patch | |
| 616 | - ActualInitialization.geometry.coord c | |
| 617 | - ((ActualCycleParameters.fixedParameters B N0).afterParticular v c u) n x i := by | |
| 618 | - rw [fixedParameters_eq_cycle] | |
| 619 | - exact cycle_requested_cross_tail _ v c u hlabels hn hx i | |
| 620 | - | |
| 621 | -theorem literal_requested_cross_tail (state : CycleState (Label B N0 × Fin 2)) | |
| 622 | - (hlabels : state.coefficients.labels = activeLabels standardRegion B N0) {n : ℕ} | |
| 623 | - (hn : (choice B N0).prepared.N + 1 ≤ n) {x : Point} | |
| 624 | - (hx : x ∈ ActualInitialization.geometry.strip.domain) (i : Fin 2) : | |
| 625 | - StateMomentBalances.meanBar (LabelSumBounds.symmetricCovariance | |
| 626 | - (LabelSumBounds.fieldSum state.coefficients.labels | |
| 627 | - (fun l => (ActualInitialization.tangentBlock l).oscillation)) | |
| 628 | - (LabelSumBounds.fieldSum state.coefficients.labels | |
| 629 | - (fun l => ((ActualCycleParameters.parameters state).signedTangent | |
| 630 | - state.coefficients (commonContext B) state.state l).oscillation)) 0 i.succ) n x = | |
| 631 | - LocalSignedRequest.requestedStress ActualInitialization.geometry.patch | |
| 632 | - ActualInitialization.geometry.coord (commonContext B) | |
| 633 | - ((ActualCycleParameters.parameters state).afterParticular | |
| 634 | - state.coefficients (commonContext B) state.state) n x i := by | |
| 635 | - rw [parameters_eq_cycle] | |
| 636 | - exact cycle_requested_cross_tail _ state.coefficients (commonContext B) state.state hlabels hn hx i | |
| 637 | - | |
| 638 | 419 | section Family |
| 639 | 420 | |
| 640 | 421 | variable {P : (Label B N0 × Fin 2) → ℕ → Point → ℝ} {α δ β η : ℝ} |
| @@ -666,34 +447,6 @@ theorem family_requested_cross_tail (c : Context Point) (u : State Point) | ||
| 666 | 447 | rw [family_cross_eq c u f a hprimary htangent hlabels] |
| 667 | 448 | exact requested_cross_tail B N0 c u hn hx i |
| 668 | 449 | |
| 669 | -/-- Every requested exponent follows for the literal finite-head defects. | |
| 670 | -The analytic inputs are the usual supported residual/coefficient estimates, | |
| 671 | -not an assumption on the cross defect or its vanishing. -/ | |
| 672 | -theorem family_defects_all_exponents (c : Context Point) (u : State Point) {σ κ : ℝ} | |
| 673 | - (f : LabelSumBounds.SignedFamily ActualInitialization.geometry.strip P (1 / 2) (17 / 25) | |
| 674 | - (1 / 2 + σ - κ) (1 + σ - 2 * κ)) (a : SignedMeanGain.Assembly f) | |
| 675 | - (hprimary : f.primary = ActualInitialization.tangentBlock) | |
| 676 | - (htangent : f.tangent = actualSignedBlock c u) | |
| 677 | - (hlabels : a.labels = activeLabels standardRegion B N0) | |
| 678 | - (hS : ∀ i j, SignedMeanGain.MovingField ActualInitialization.geometry | |
| 679 | - (SignedMeanGain.crossTensor f a i j)) | |
| 680 | - (H : MeanStateRegularity.PrimitiveData ActualInitialization.geometry.region | |
| 681 | - ActualInitialization.geometry.patch.a ActualInitialization.geometry.patch.b c u) | |
| 682 | - (hfixed : (VariableGaugeMean.reconstructState ActualInitialization.geometry.gauge c u).pressure = u.pressure) | |
| 683 | - (hθ : WeightedClasses.MeanClass ActualInitialization.geometry.strip (1 + σ - κ) (u.thetaResidual c)) | |
| 684 | - (hz : WeightedClasses.MeanClass ActualInitialization.geometry.strip (1 + σ - κ) (u.axialResidual c)) : | |
| 685 | - ∀ γ : ℝ, | |
| 686 | - WeightedClasses.MeanClass ActualInitialization.geometry.strip γ | |
| 687 | - (StateMomentBalances.meanBar (SignedMeanGain.crossTensor f a 0 1) - | |
| 688 | - SignedMeanGain.physicalSigma ActualInitialization.geometry 2 (u.thetaResidual c)) ∧ | |
| 689 | - WeightedClasses.MeanClass ActualInitialization.geometry.strip γ | |
| 690 | - (StateMomentBalances.meanBar (SignedMeanGain.crossTensor f a 0 2) - | |
| 691 | - SignedMeanGain.physicalSigma ActualInitialization.geometry 1 (u.axialResidual c)) := by | |
| 692 | - apply SignedCrossDefectClass.residual_defects_all_exponents_of_primitive | |
| 693 | - ActualInitialization.geometry c u f a hS H hfixed hθ hz ((choice B N0).prepared.N + 1) | |
| 694 | - intro n hn x hx i | |
| 695 | - exact family_requested_cross_tail c u f a hprimary htangent hlabels hn hx i | |
| 696 | - | |
| 697 | 450 | end Family |
| 698 | 451 | |
| 699 | 452 | end NavierStokes.ActualSignedMeanBinding |
+0 −21 NavierStokes/ActualSignedNativeBounds.lean View file
| @@ -680,25 +680,4 @@ theorem source_bounds {β : ℝ} | ||
| 680 | 680 | |
| 681 | 681 | end Bounds |
| 682 | 682 | |
| 683 | -/-- The request premise can itself be discharged by the measured theta and | |
| 684 | -axial residual classes of this same reconstructed state. -/ | |
| 685 | -theorem source_bounds_from_residuals | |
| 686 | - (u : State LocalSignedRequest.Point) (α : ℝ) | |
| 687 | - (H : MeanStateRegularity.PrimitiveData standardRegion | |
| 688 | - ActualInitialization.patch.a ActualInitialization.patch.b (commonContext B) u) | |
| 689 | - (hp : GaugeMomentBalances.MovingField standardRegion | |
| 690 | - ActualInitialization.patch.a ActualInitialization.patch.b u.pressure) | |
| 691 | - (hfixed : VariableGaugeMean.reconstructState ActualInitialization.geometry.gauge | |
| 692 | - (commonContext B) u = u) | |
| 693 | - (hθ : MeanClass ActualInitialization.geometry.strip α (u.thetaResidual (commonContext B))) | |
| 694 | - (hz : MeanClass ActualInitialization.geometry.strip α (u.axialResidual (commonContext B))) : | |
| 695 | - LocalPhysicalCopyBounds.LocalSourceBounds ActualPrimaryBounds.strip h α weight | |
| 696 | - (potentialSource (N0 := N0) ActualInitialization.patch u H hp) ∧ | |
| 697 | - LocalPhysicalCopyBounds.LocalSourceBounds ActualPrimaryBounds.strip h α weight | |
| 698 | - (pressureSource (N0 := N0) ActualInitialization.patch u H hp) := by | |
| 699 | - have hR := ActualSignedStageControls.fullRequest_jets_from_residuals | |
| 700 | - ActualInitialization.geometry (commonContext B) u α H hfixed hθ hz | |
| 701 | - (ActualSignedStageControls.phaseCell (B := B) (N0 := N0)) | |
| 702 | - simpa only [sub_add_cancel] using source_bounds ActualInitialization.patch u H hp hR | |
| 703 | - | |
| 704 | 683 | end NavierStokes.ActualSignedNativeBounds |
+0 −45 NavierStokes/ActualSignedNativeRegularity.lean View file
| @@ -202,16 +202,9 @@ noncomputable def nativeCylinderMap : Native →L[ℝ] PhysicalSignedWave.Cylind | ||
| 202 | 202 | let swap := (ContinuousLinearMap.snd ℝ ℝ ℝ).prod (ContinuousLinearMap.fst ℝ ℝ ℝ) |
| 203 | 203 | (r.prod ((swap.comp tz).prod y)).prod 0 |
| 204 | 204 | |
| 205 | -theorem nativeCylinderMap_apply (y : Native) : | |
| 206 | - nativeCylinderMap y = ActualSignedPhysicalData.nativeCylinder y := rfl | |
| 207 | - | |
| 208 | 205 | noncomputable def nativeToCommon {B N0 : ℕ} (l : Label B N0) : Native →L[ℝ] FullPoint := |
| 209 | 206 | (ActualSignedPhysicalBinding.toCommonCylinder l).toContinuousLinearMap.comp nativeCylinderMap |
| 210 | 207 | |
| 211 | -theorem nativeToCommon_apply {B N0 : ℕ} (l : Label B N0) (y : Native) : | |
| 212 | - nativeToCommon l y = ActualSignedPhysicalBinding.toCommonCylinder l | |
| 213 | - (ActualSignedPhysicalData.nativeCylinder y) := rfl | |
| 214 | - | |
| 215 | 208 | noncomputable def nativeQ (y : Native) : ℝ := |
| 216 | 209 | SimilarityCoordinates.coordinateQ (2 * ActualPrimary.h) y.2.1 |
| 217 | 210 | |
| @@ -252,14 +245,6 @@ theorem primary_mask_zero_outside {B N0 : ℕ} (l : Label B N0) (n : ℕ) | ||
| 252 | 245 | by_contra hn |
| 253 | 246 | exact ho (ActualPrimary.spatialMask_q_range l.1 (x.1.1,x.1.2.1) hn) |
| 254 | 247 | |
| 255 | -theorem referenceScalar_zero_outside {B N0 : ℕ} (l : Label B N0) | |
| 256 | - (request : ℕ → PhysicalSignedWave.Cylinder → SignedWaveUpdate.Vec2) | |
| 257 | - (j : Fin 2) (n : ℕ) (x : PhysicalSignedWave.Cylinder) | |
| 258 | - (ho : SimilarityCoordinates.coordinateQ (2 * ActualPrimary.h) (x.1.2.1.2,x.1.2.1.1) ∉ Ioo (1/2 : ℝ) 2) : | |
| 259 | - ActualPeriodizedSignedRealization.referenceScalar (ActualSignedPhysicalBinding.primary l) request j n x = 0 := by | |
| 260 | - simp only [ActualPeriodizedSignedRealization.referenceScalar, SignedWaveUpdate.signedScalar, | |
| 261 | - primary_mask_zero_outside l n x ho, mul_zero] | |
| 262 | - | |
| 263 | 248 | section ActualCoefficients |
| 264 | 249 | |
| 265 | 250 | open ActualSignedUnmaskedBounds |
| @@ -493,36 +478,6 @@ theorem nativeRegular_from_residuals | ||
| 493 | 478 | nativeRegular ActualInitialization.patch u H hp |
| 494 | 479 | (request_jets_from_residuals u α H hfixed hθ hz) L |
| 495 | 480 | |
| 496 | -/-- This is the literal post-particular state used to construct the | |
| 497 | -canonical signed physical family, with its initialization and gauge intact. -/ | |
| 498 | -theorem cycleNativeRegular | |
| 499 | - (x : CorrectionStep.CycleState (Label B N0)) | |
| 500 | - (H : MeanStateRegularity.PrimitiveData ActualPrimary.standardRegion | |
| 501 | - ActualInitialization.patch.a ActualInitialization.patch.b (ActualPrimary.commonContext B) | |
| 502 | - ((ActualCycleParameters.fixedParameters B N0).afterParticular | |
| 503 | - x.coefficients (ActualPrimary.commonContext B) x.state)) | |
| 504 | - (hp : GaugeMomentBalances.MovingField ActualPrimary.standardRegion | |
| 505 | - ActualInitialization.patch.a ActualInitialization.patch.b | |
| 506 | - ((ActualCycleParameters.fixedParameters B N0).afterParticular | |
| 507 | - x.coefficients (ActualPrimary.commonContext B) x.state).pressure) | |
| 508 | - (α : ℝ) | |
| 509 | - (hfixed : VariableGaugeMean.reconstructState ActualInitialization.geometry.gauge | |
| 510 | - (ActualPrimary.commonContext B) | |
| 511 | - ((ActualCycleParameters.fixedParameters B N0).afterParticular | |
| 512 | - x.coefficients (ActualPrimary.commonContext B) x.state) = | |
| 513 | - ((ActualCycleParameters.fixedParameters B N0).afterParticular | |
| 514 | - x.coefficients (ActualPrimary.commonContext B) x.state)) | |
| 515 | - (hθ : MeanClass ActualInitialization.geometry.strip α | |
| 516 | - (((ActualCycleParameters.fixedParameters B N0).afterParticular | |
| 517 | - x.coefficients (ActualPrimary.commonContext B) x.state).thetaResidual (ActualPrimary.commonContext B))) | |
| 518 | - (hz : MeanClass ActualInitialization.geometry.strip α | |
| 519 | - (((ActualCycleParameters.fixedParameters B N0).afterParticular | |
| 520 | - x.coefficients (ActualPrimary.commonContext B) x.state).axialResidual (ActualPrimary.commonContext B))) | |
| 521 | - (L : NativeLabel B N0) : | |
| 522 | - ActualSignedPhysicalData.NativeRegular ActualPrimary.slots ActualPrimary.outgoing.data.h_pos.le | |
| 523 | - ((ActualSignedExterior.cycleFamily x H hp).singleton L) := | |
| 524 | - nativeRegular_from_residuals _ H hp α hfixed hθ hz L | |
| 525 | - | |
| 526 | 481 | end ActualResiduals |
| 527 | 482 | |
| 528 | 483 | end NavierStokes.ActualSignedNativeRegularity |
+0 −36 NavierStokes/ActualSignedOutputBounds.lean View file
| @@ -45,14 +45,6 @@ theorem primary_local {E : Type*} [NormedAddCommGroup E] [NormedSpace ℝ E] | ||
| 45 | 45 | theorem envelope_nonneg (l : SignedLabel B N0) (n : ℕ) (x : FullPoint) : |
| 46 | 46 | 0 ≤ envelope l n x := ActualPrimaryBounds.fullEnvelope_nonneg (l.2, l.1) n x |
| 47 | 47 | |
| 48 | -theorem background_normal_eq (request : ℕ → FullPoint → SignedWaveUpdate.Vec2) : | |
| 49 | - (jointRawBackground (copies (B := B) (N0 := N0) request)).normal fullStrip (directions B) = | |
| 50 | - fun n i => ActualPrimaryBounds.actualFamily.normal fullStrip (directions B) n (primaryIndex i) := rfl | |
| 51 | - | |
| 52 | -theorem background_defect_eq (request : ℕ → FullPoint → SignedWaveUpdate.Vec2) : | |
| 53 | - (jointRawBackground (copies (B := B) (N0 := N0) request)).defect fullStrip (directions B) = | |
| 54 | - fun n i => ActualPrimaryBounds.actualFamily.defect fullStrip (directions B) n (primaryIndex i) := rfl | |
| 55 | - | |
| 56 | 48 | /-- This background certificate has zero amplitude and pressure. Every |
| 57 | 49 | nonzero field in it is an actual primary background or phase expression. -/ |
| 58 | 50 | theorem background_inputs (request : ℕ → FullPoint → SignedWaveUpdate.Vec2) : |
| @@ -326,32 +318,4 @@ theorem localized_pressure_jets {β : ℝ} {request : ℕ → FullPoint → Sign | ||
| 326 | 318 | rw [show β + 1 / 2 + 1 / 2 = β + 1 by ring] at hp |
| 327 | 319 | exact hp.to_uniformLocalJets |
| 328 | 320 | |
| 329 | -/-- Native potential and pressure bounds directly from the actual | |
| 330 | -incoming residual classes, before their distinct physical prefactors. -/ | |
| 331 | -theorem actual_native_potential_pressure_jets (G : SignedMeanGain.Geometry) | |
| 332 | - (hs : G.strip = ActualPrimaryBounds.strip) | |
| 333 | - (c : CorrectionState.Context Point) (u : CorrectionState.State Point) (α : ℝ) | |
| 334 | - (H : MeanStateRegularity.PrimitiveData G.region G.patch.a G.patch.b c u) | |
| 335 | - (hfixed : VariableGaugeMean.reconstructState G.gauge c u = u) | |
| 336 | - (hθ : MeanClass G.strip α (u.thetaResidual c)) | |
| 337 | - (hz : MeanClass G.strip α (u.axialResidual c)) : | |
| 338 | - let request := LocalSignedRequest.fullRequest G.strip G.patch G.coord c u | |
| 339 | - PeriodizedWaveBounds.UniformLocalJets fullStrip | |
| 340 | - (fun l n x => Real.sqrt (fullStrip.zeta x) * envelope l n x) α | |
| 341 | - (phaseCell (B := B) (N0 := N0)) (localPotential request) ∧ | |
| 342 | - PeriodizedWaveBounds.UniformLocalJets fullStrip | |
| 343 | - (fun l n x => Real.sqrt (fullStrip.zeta x) * envelope l n x) α | |
| 344 | - (phaseCell (B := B) (N0 := N0)) | |
| 345 | - (fun l n k => ((copies request l).localized k).pressure n) := by | |
| 346 | - dsimp only | |
| 347 | - have hr := fullRequest_jets_from_residuals G c u α H hfixed hθ hz | |
| 348 | - (phaseCell (B := B) (N0 := N0)) | |
| 349 | - have hr' : ∀ q, PeriodizedWaveBounds.UniformLocalJets fullStrip | |
| 350 | - (fun _ _ x => fullStrip.zeta x) (α - 1) (phaseCell (B := B) (N0 := N0)) | |
| 351 | - (fun _ n _ x => LocalSignedRequest.fullRequest G.strip G.patch G.coord c u n x q) := by | |
| 352 | - simp only [hs] at hr ⊢ | |
| 353 | - exact hr | |
| 354 | - exact ⟨by simpa only [sub_add_cancel] using localPotential_jets hr', | |
| 355 | - by simpa only [sub_add_cancel] using localized_pressure_jets hr'⟩ | |
| 356 | - | |
| 357 | 321 | end NavierStokes.ActualSignedOutputBounds |
+0 −60 NavierStokes/ActualSignedPhysicalBinding.lean View file
| @@ -174,17 +174,6 @@ theorem primary_phase (l : Label B N0) (n : ℕ) : | ||
| 174 | 174 | rw [div_self hK, one_mul] |
| 175 | 175 | rfl |
| 176 | 176 | |
| 177 | -/-- The native record retains the exact annular domain; it is not an empty | |
| 178 | -or shrinking domain chosen to make the reference data vacuous. -/ | |
| 179 | -theorem primary_domain (l : Label B N0) (x : Cylinder) : | |
| 180 | - x ∈ (primary l).strip.domain ↔ | |
| 181 | - PhysicalResidualTZ.swapSlow x.1 ∈ | |
| 182 | - (BaseContextAssembly.nativeStrip nominal standardRegion).domain := Iff.rfl | |
| 183 | - | |
| 184 | -theorem primary_time_pos (l : Label B N0) {x : Cylinder} | |
| 185 | - (hx : x ∈ (primary l).strip.domain) : 0 < x.1.2.1.2 := | |
| 186 | - BaseContextAssembly.nativeStrip_time nominal standardRegion hx | |
| 187 | - | |
| 188 | 177 | theorem primary_slow_mem (l : Label B N0) {x : Cylinder} |
| 189 | 178 | (hx : x ∈ (primary l).strip.domain) : (x.1.2.1.2, x.1.2.1.1) ∈ standardRegion.carrier := |
| 190 | 179 | ((BaseContextAssembly.nativeStrip_mem nominal standardRegion |
| @@ -439,13 +428,6 @@ theorem signed_action_reference (l : Label B N0) (k : TorusInverse.Frequency) {x | ||
| 439 | 428 | rw [nativeClock_on_core l k hx] |
| 440 | 429 | rfl |
| 441 | 430 | |
| 442 | -/-- The lower endpoint is the integration anchor; the physical carrier | |
| 443 | -retains the individual copy midpoint. -/ | |
| 444 | -theorem carrier_midpoint (l : Label B N0) (k : TorusInverse.Frequency) : | |
| 445 | - ActualSignedPhysicalData.center (h := h) (spatialLabel l) k = | |
| 446 | - (geometry l).center + TorusAverages.latticePoint k + slots.radius • ActualSignedGeometry.temporalVector := | |
| 447 | - ActualSignedPhysicalData.center_eq_anchor slots (spatialLabel l) 0 k | |
| 448 | - | |
| 449 | 431 | theorem primary_radial_pull (l : Label B N0) (n : ℕ) (x : Cylinder) : |
| 450 | 432 | (primary l).directions.radialField n x = |
| 451 | 433 | (toCommonCylinder l).symm ((PrimaryResidualClass.directions (commonContext B)).radialField |
| @@ -690,18 +672,6 @@ theorem localized_pressure_reference (k : TorusInverse.Frequency) (x : Cylinder) | ||
| 690 | 672 | · simp only [hc, Complex.ofReal_zero, zero_mul] |
| 691 | 673 | · rw [raw_pressure_reference l P u H hp k (reference_cutoff_core l P u H hp k hc)] |
| 692 | 674 | |
| 693 | -theorem referenceCopies_eq_nativeCopies : | |
| 694 | - referenceCopies l P u H hp = nativeCopies l P u := rfl | |
| 695 | - | |
| 696 | -/-- Exact cutoff repartition into the existing compact periodized family. -/ | |
| 697 | -theorem referenceCopies_localized (k : TorusInverse.Frequency) : | |
| 698 | - (referenceCopies l P u H hp).localized k = | |
| 699 | - (ActualPeriodizedSignedRealization.copyData (primary l) (layout l) (nativeViews l) | |
| 700 | - (nativeStateData l P u H hp).referenceRequest l.2).localized k := | |
| 701 | - ActualSignedPhysicalData.dynamic_localized_eq slots outgoing.data.h_pos.le | |
| 702 | - (spatialLabel l) (label_large l) 0 (primary l) (nativeViews l) | |
| 703 | - (nativeStateData l P u H hp).referenceRequest l.2 k | |
| 704 | - | |
| 705 | 675 | theorem common_amplitude_reference (x : Cylinder) : |
| 706 | 676 | (commonCopies l P u).common.amplitude (reference l) (toCommonCylinder l x) = |
| 707 | 677 | (referenceCopies l P u H hp).common.amplitude (reference l) x := by |
| @@ -770,14 +740,6 @@ theorem curlPotential_reference (x : Cylinder) : | ||
| 770 | 740 | rw [reference_phase] |
| 771 | 741 | rfl |
| 772 | 742 | |
| 773 | -theorem reference_exactCoefficients : | |
| 774 | - (referenceCopies l P u H hp).commonCorrected (primary l).strip (primary l).directions = | |
| 775 | - (ActualPeriodizedSignedRealization.views (primary l) (layout l) (nativeViews l)).exactCoefficients | |
| 776 | - (nativeStateData l P u H hp).referenceRequest l.2 := | |
| 777 | - ActualSignedPhysicalData.dynamic_commonCorrected_eq slots outgoing.data.h_pos.le | |
| 778 | - (spatialLabel l) (label_large l) 0 (primary l) (nativeViews l) | |
| 779 | - (nativeStateData l P u H hp).referenceRequest l.2 | |
| 780 | - | |
| 781 | 743 | end LocalizedComparison |
| 782 | 744 | |
| 783 | 745 | /-! Bind to the literal request after the actual particular update. -/ |
| @@ -785,13 +747,6 @@ end LocalizedComparison | ||
| 785 | 747 | noncomputable def afterParticular (x : CorrectionStep.CycleState (Label B N0)) : State Point := |
| 786 | 748 | (ActualCycleParameters.fixedParameters B N0).afterParticular x.coefficients (commonContext B) x.state |
| 787 | 749 | |
| 788 | -noncomputable def cycleStateData (l : Label B N0) (x : CorrectionStep.CycleState (Label B N0)) | |
| 789 | - (H : MeanStateRegularity.PrimitiveData standardRegion ActualInitialization.patch.a | |
| 790 | - ActualInitialization.patch.b (commonContext B) (afterParticular x)) | |
| 791 | - (hp : GaugeMomentBalances.MovingField standardRegion ActualInitialization.patch.a | |
| 792 | - ActualInitialization.patch.b (afterParticular x).pressure) : (nativeViews l).StateData := | |
| 793 | - nativeStateData l ActualInitialization.patch (afterParticular x) H hp | |
| 794 | - | |
| 795 | 750 | theorem afterParticular_pressure (x : CorrectionStep.CycleState (Label B N0)) |
| 796 | 751 | (H : MeanStateRegularity.PrimitiveData standardRegion ActualInitialization.patch.a |
| 797 | 752 | ActualInitialization.patch.b (commonContext B) (afterParticular x)) : |
| @@ -800,19 +755,4 @@ theorem afterParticular_pressure (x : CorrectionStep.CycleState (Label B N0)) | ||
| 800 | 755 | H.pressure (g := ActualInitialization.geometry.gauge) ActualInitialization.geometry.inner_pos |
| 801 | 756 | ActualInitialization.geometry.exponent_pos ActualInitialization.geometry.length_eq rfl |
| 802 | 757 | |
| 803 | -noncomputable def cycleStateDataOfPrimitive (l : Label B N0) (x : CorrectionStep.CycleState (Label B N0)) | |
| 804 | - (H : MeanStateRegularity.PrimitiveData standardRegion ActualInitialization.patch.a | |
| 805 | - ActualInitialization.patch.b (commonContext B) (afterParticular x)) : (nativeViews l).StateData := | |
| 806 | - cycleStateData l x H (afterParticular_pressure x H) | |
| 807 | - | |
| 808 | -theorem cycleStateData_request (l : Label B N0) (x : CorrectionStep.CycleState (Label B N0)) | |
| 809 | - (H : MeanStateRegularity.PrimitiveData standardRegion ActualInitialization.patch.a | |
| 810 | - ActualInitialization.patch.b (commonContext B) (afterParticular x)) | |
| 811 | - (hp : GaugeMomentBalances.MovingField standardRegion ActualInitialization.patch.a | |
| 812 | - ActualInitialization.patch.b (afterParticular x).pressure) (z : Cylinder) : | |
| 813 | - (cycleStateData l x H hp).referenceRequest (reference l) z = | |
| 814 | - (ActualCycleParameters.fixedParameters B N0).signedRequest x.coefficients | |
| 815 | - (commonContext B) x.state (reference l) (toCommonCylinder l z) := | |
| 816 | - nativeStateData_referenceRequest l ActualInitialization.patch (afterParticular x) H hp z | |
| 817 | - | |
| 818 | 758 | end NavierStokes.ActualSignedPhysicalBinding |
+0 −30 NavierStokes/ActualSignedPhysicalCoherence.lean View file
| @@ -49,13 +49,6 @@ theorem finsum_injective_support (e : α → β) (he : Injective e) (f : β → | ||
| 49 | 49 | · simp only [indicator_of_notMem hb, hz b hb] |
| 50 | 50 | _ = _ := finsum_mem_range he |
| 51 | 51 | |
| 52 | -theorem finsum_finite_support (s : Finset α) (f : α → V) | |
| 53 | - (hz : ∀ a, a ∉ s → f a = 0) : (∑ᶠ a, f a) = ∑ a ∈ s, f a := by | |
| 54 | - apply finsum_eq_sum_of_support_subset | |
| 55 | - intro a ha | |
| 56 | - by_contra hn | |
| 57 | - exact ha (hz a hn) | |
| 58 | - | |
| 59 | 52 | end FiniteSums |
| 60 | 53 | |
| 61 | 54 | noncomputable def physicalIndex (l : Label B N0) : WaveIndex 1 := |
| @@ -188,19 +181,6 @@ theorem toCommon_nativeGraph (l : Label B N0) (z : SpaceTime) (hr : 0 < z.2 0) : | ||
| 188 | 181 | (((1 - z.1) / ChartScales.Q m, ChartScales.Q m ^ (-CoordinateAlgebra.D h) * z.2 2), Y)), z.2 1)) |
| 189 | 182 | (he _) |
| 190 | 183 | |
| 191 | -theorem nativePoint_radius (n : ℕ) (z : SpaceTime) (hr : 0 < z.2 0) : | |
| 192 | - (ActualSignedPotentialCoherence.nativePoint n z).1.1 = | |
| 193 | - ChartScales.Q n ^ (-(1 / 2 : ℝ)) * z.2 0 := by | |
| 194 | - simp only [ActualSignedPotentialCoherence.nativePoint, | |
| 195 | - PhysicalResidualBridge.commonGraph_map (ChartScales.Q_pos _) h _ hr, | |
| 196 | - PhysicalResidualTZ.swapCylinder_apply, PhysicalResidualTZ.swapSlow_apply] | |
| 197 | - | |
| 198 | -theorem nativePoint_time (n : ℕ) (z : SpaceTime) (hr : 0 < z.2 0) : | |
| 199 | - (ActualSignedPotentialCoherence.nativePoint n z).1.2.1.1 = (1 - z.1) / ChartScales.Q n := by | |
| 200 | - simp only [ActualSignedPotentialCoherence.nativePoint, | |
| 201 | - PhysicalResidualBridge.commonGraph_map (ChartScales.Q_pos _) h _ hr, | |
| 202 | - PhysicalResidualTZ.swapCylinder_apply, PhysicalResidualTZ.swapSlow_apply] | |
| 203 | - | |
| 204 | 184 | section ReferenceAlgebra |
| 205 | 185 | |
| 206 | 186 | variable (l : Label B N0) (P : SignedStressPrimitive.Patch) (u : CorrectionState.State Point) |
| @@ -722,16 +702,6 @@ theorem measuredPotential_germ (v : CorrectionStep.CycleCoefficients (Label B N0 | ||
| 722 | 702 | with z hz |
| 723 | 703 | exact measuredPotential_eq_sum u H hp hfixed HS v hlabels n ha i hz |
| 724 | 704 | |
| 725 | -theorem measuredPressure_germ (v : CorrectionStep.CycleCoefficients (Label B N0)) | |
| 726 | - (hlabels : v.labels = activeLabels standardRegion B N0) (n : ℕ) {qbig a : ℝ} | |
| 727 | - (ha : 0 < a) (i : PolarCharts.Index) {w : SpaceTime} | |
| 728 | - (hw : w ∈ ActualPhysicalPrefixFields.cartesianChartDomain qbig n a i) : | |
| 729 | - ActualSignedExterior.pressure (measuredStates (N0 := N0) ActualInitialization.patch u H hp) =ᶠ[𝓝 w] | |
| 730 | - fun z => ∑ l ∈ v.labels n, CurrentSignedCurl.currentPressure l u n a i z := by | |
| 731 | - filter_upwards [(ActualPhysicalPrefixFields.cartesianChartDomain_open qbig n ha i).mem_nhds hw] | |
| 732 | - with z hz | |
| 733 | - exact measuredPressure_eq_sum u H hp hfixed HS v hlabels n ha i hz | |
| 734 | - | |
| 735 | 705 | theorem measuredPotential_curl (v : CorrectionStep.CycleCoefficients (Label B N0)) |
| 736 | 706 | (hlabels : v.labels = activeLabels standardRegion B N0) (n : ℕ) {α : ℝ} |
| 737 | 707 | (hamp : ∀ l ∈ v.labels n, CurrentSignedCurl.AmplitudeBound l u α) |
+0 −459 NavierStokes/ActualSignedPhysicalData.lean View file
| @@ -36,100 +36,12 @@ variable {D : Type} [NormedAddCommGroup D] [NormedSpace ℝ D] | ||
| 36 | 36 | (mask factor cutoff : ℕ → D → ℝ) (unit Ndot : ℕ → D → Space) |
| 37 | 37 | (A : ℕ → D → Space →L[ℝ] Space) (j : Fin 2) |
| 38 | 38 | |
| 39 | -theorem repartition_amplitude (n : ℕ) (x : D) : | |
| 40 | - ((SignedWaveUpdate.coefficients a s d H T R (fun n x => mask n x * factor n x) | |
| 41 | - unit Ndot A j).withCutoff cutoff).amplitude n x = | |
| 42 | - ((SignedWaveUpdate.coefficients a s d H T R mask unit Ndot A j).withCutoff | |
| 43 | - (fun n x => cutoff n x * factor n x)).amplitude n x := by | |
| 44 | - simp only [WaveCoefficients.withCutoff, | |
| 45 | - ActualPeriodizedSignedRealization.coefficients_amplitude_at, | |
| 46 | - ActualPeriodizedSignedRealization.signedScalar_mul_mask, mul_smul] | |
| 47 | - | |
| 48 | -theorem repartition_pressure (n : ℕ) (x : D) : | |
| 49 | - ((SignedWaveUpdate.coefficients a s d H T R (fun n x => mask n x * factor n x) | |
| 50 | - unit Ndot A j).withCutoff cutoff).pressure n x = | |
| 51 | - ((SignedWaveUpdate.coefficients a s d H T R mask unit Ndot A j).withCutoff | |
| 52 | - (fun n x => cutoff n x * factor n x)).pressure n x := by | |
| 53 | - simp only [WaveCoefficients.withCutoff, | |
| 54 | - ActualPeriodizedSignedRealization.coefficients_pressure_at, | |
| 55 | - ActualPeriodizedSignedRealization.signedScalar_mul_mask, | |
| 56 | - Complex.real_smul, Complex.ofReal_mul] | |
| 57 | - ring | |
| 58 | - | |
| 59 | -/-- Moving a scalar cutoff from the raw signed mask to the final cutoff | |
| 60 | -preserves both coefficients, before any differentiation. -/ | |
| 61 | -theorem coefficients_repartition : | |
| 62 | - (SignedWaveUpdate.coefficients a s d H T R (fun n x => mask n x * factor n x) | |
| 63 | - unit Ndot A j).withCutoff cutoff = | |
| 64 | - (SignedWaveUpdate.coefficients a s d H T R mask unit Ndot A j).withCutoff | |
| 65 | - (fun n x => cutoff n x * factor n x) := by | |
| 66 | - let u := (SignedWaveUpdate.coefficients a s d H T R (fun n x => mask n x * factor n x) | |
| 67 | - unit Ndot A j).withCutoff cutoff | |
| 68 | - let v := (SignedWaveUpdate.coefficients a s d H T R mask unit Ndot A j).withCutoff | |
| 69 | - (fun n x => cutoff n x * factor n x) | |
| 70 | - have ha : u.amplitude = v.amplitude := funext fun n => funext fun x => | |
| 71 | - repartition_amplitude a s d H T R mask factor cutoff unit Ndot A j n x | |
| 72 | - have hp : u.pressure = v.pressure := funext fun n => funext fun x => | |
| 73 | - repartition_pressure a s d H T R mask factor cutoff unit Ndot A j n x | |
| 74 | - calc | |
| 75 | - u = {a with amplitude := u.amplitude, pressure := u.pressure} := rfl | |
| 76 | - _ = {a with amplitude := v.amplitude, pressure := v.pressure} := by rw [ha, hp] | |
| 77 | - _ = v := rfl | |
| 78 | - | |
| 79 | -/-- The outer bump is one on the Gaussian support, so it can be removed | |
| 80 | -from the raw mask without changing the actual once-cutoff signed wave. -/ | |
| 81 | -theorem coefficients_outer (clock : ℕ → D → ℝ) : | |
| 82 | - (SignedWaveUpdate.coefficients a s d H T R | |
| 83 | - (fun n x => mask n x * PrimaryCopyBounds.outerCutoff (clock n x)) | |
| 84 | - unit Ndot A j).withCutoff (fun n x => GaussianTailFlat.profile (clock n x)) = | |
| 85 | - (SignedWaveUpdate.coefficients a s d H T R mask unit Ndot A j).withCutoff | |
| 86 | - (fun n x => GaussianTailFlat.profile (clock n x)) := by | |
| 87 | - rw [coefficients_repartition] | |
| 88 | - have he : (fun n x => GaussianTailFlat.profile (clock n x) * PrimaryCopyBounds.outerCutoff (clock n x)) = | |
| 89 | - (fun n x => GaussianTailFlat.profile (clock n x)) := | |
| 90 | - funext fun n => funext fun x => PrimaryCopyBounds.profile_mul_outerCutoff (clock n x) | |
| 91 | - rw [he] | |
| 92 | - | |
| 93 | -theorem corrected_outer (clock : ℕ → D → ℝ) : | |
| 94 | - (SignedWaveUpdate.coefficients a s d H T R | |
| 95 | - (fun n x => mask n x * PrimaryCopyBounds.outerCutoff (clock n x)) | |
| 96 | - unit Ndot A j).corrected s d (fun n x => GaussianTailFlat.profile (clock n x)) = | |
| 97 | - (SignedWaveUpdate.coefficients a s d H T R mask unit Ndot A j).corrected s d | |
| 98 | - (fun n x => GaussianTailFlat.profile (clock n x)) := by | |
| 99 | - simp only [WaveCoefficients.corrected, coefficients_outer] | |
| 100 | - | |
| 101 | 39 | end Repartition |
| 102 | 40 | |
| 103 | 41 | section Copies |
| 104 | 42 | |
| 105 | 43 | variable {D : Type} [NormedAddCommGroup D] [NormedSpace ℝ D] {K : Type} |
| 106 | 44 | |
| 107 | -omit [NormedAddCommGroup D] [NormedSpace ℝ D] in | |
| 108 | -/-- Equality of every actual localized copy is enough for equality of the | |
| 109 | -whole common coefficients. Summability is not assumed here. -/ | |
| 110 | -theorem common_eq_of_localized (f g : PeriodizedWaveBounds.CopyData D K) | |
| 111 | - (hb : f.background = g.background) (he : ∀ k, f.localized k = g.localized k) : | |
| 112 | - f.common = g.common := by | |
| 113 | - have ha : f.common.amplitude = g.common.amplitude := by | |
| 114 | - funext n x | |
| 115 | - change (∑' k, (f.localized k).amplitude n x) = ∑' k, (g.localized k).amplitude n x | |
| 116 | - exact tsum_congr fun k => congrArg (fun a : WaveCoefficients D => a.amplitude n x) (he k) | |
| 117 | - have hp : f.common.pressure = g.common.pressure := by | |
| 118 | - funext n x | |
| 119 | - change (∑' k, (f.localized k).pressure n x) = ∑' k, (g.localized k).pressure n x | |
| 120 | - exact tsum_congr fun k => congrArg (fun a : WaveCoefficients D => a.pressure n x) (he k) | |
| 121 | - calc | |
| 122 | - f.common = {f.background with amplitude := f.common.amplitude, pressure := f.common.pressure} := rfl | |
| 123 | - _ = {g.background with amplitude := g.common.amplitude, pressure := g.common.pressure} := by rw [hb, ha, hp] | |
| 124 | - _ = g.common := rfl | |
| 125 | - | |
| 126 | -theorem commonCorrected_eq_of_localized (f g : PeriodizedWaveBounds.CopyData D K) | |
| 127 | - (hb : f.background = g.background) (he : ∀ k, f.localized k = g.localized k) | |
| 128 | - (s : StripData D) (d : GraphDirections D) : | |
| 129 | - f.commonCorrected s d = g.commonCorrected s d := by | |
| 130 | - unfold PeriodizedWaveBounds.CopyData.commonCorrected | |
| 131 | - rw [common_eq_of_localized f g hb he] | |
| 132 | - | |
| 133 | 45 | end Copies |
| 134 | 46 | |
| 135 | 47 | section Geometry |
| @@ -308,46 +220,6 @@ noncomputable def dynamicCopyData (request : ℕ → Cylinder → Vec2) (j : Fin | ||
| 308 | 220 | (layout sys hh label hl gap).nativeGaussian reference k (V.map n x).1.2.2 |
| 309 | 221 | source := fun _ _ => 0 |
| 310 | 222 | |
| 311 | -theorem dynamic_localized_eq (request : ℕ → Cylinder → Vec2) (j : Fin 2) (k : Frequency) : | |
| 312 | - (dynamicCopyData sys hh label hl gap B V request j).localized k = | |
| 313 | - (ActualPeriodizedSignedRealization.copyData B (layout sys hh label hl gap) V request j).localized k := by | |
| 314 | - have hm : ActualPeriodizedSignedRealization.copyMask B (layout sys hh label hl gap) V k = | |
| 315 | - fun n x => ActualPeriodizedSignedRealization.sharedMask B V n x * | |
| 316 | - nativeMask sys label ((geometry sys label gap).coordinates k (V.map n x).1.2.2) := rfl | |
| 317 | - change ((dynamicCoefficients sys hh label hl gap B V request j k).withCutoff _) = | |
| 318 | - ((ActualPeriodizedSignedRealization.nativeCoefficients B (layout sys hh label hl gap) V request j k).withCutoff _) | |
| 319 | - unfold dynamicCoefficients ActualPeriodizedSignedRealization.nativeCoefficients | |
| 320 | - rw [hm] | |
| 321 | - unfold ActualPeriodizedSignedRealization.coefficientsWith | |
| 322 | - rw [coefficients_repartition] | |
| 323 | - congr 1 | |
| 324 | - funext n x | |
| 325 | - change PartitionedCovariance.cutoff sys.radius | |
| 326 | - ((geometry sys label gap).coordinates k (V.map n x).1.2.2).1 * | |
| 327 | - GaussianTailFlat.profile (((geometry sys label gap).coordinates k (V.map n x).1.2.2).2 / | |
| 328 | - ChartScales.slotLength sys.radius h label.1) = | |
| 329 | - GaussianTailFlat.profile (((geometry sys label gap).coordinates k (V.map n x).1.2.2).2 / | |
| 330 | - ChartScales.slotLength sys.radius h label.1) * | |
| 331 | - (PartitionedCovariance.cutoff sys.radius | |
| 332 | - ((geometry sys label gap).coordinates k (V.map n x).1.2.2).1 * | |
| 333 | - PrimaryCopyBounds.outerCutoff (((geometry sys label gap).coordinates k (V.map n x).1.2.2).2 / | |
| 334 | - ChartScales.slotLength sys.radius h label.1)) | |
| 335 | - rw [mul_left_comm, PrimaryCopyBounds.profile_mul_outerCutoff] | |
| 336 | - | |
| 337 | -theorem dynamic_common_eq (request : ℕ → Cylinder → Vec2) (j : Fin 2) : | |
| 338 | - (dynamicCopyData sys hh label hl gap B V request j).common = | |
| 339 | - (ActualPeriodizedSignedRealization.copyData B (layout sys hh label hl gap) V request j).common := | |
| 340 | - common_eq_of_localized _ _ rfl (dynamic_localized_eq sys hh label hl gap B V request j) | |
| 341 | - | |
| 342 | -theorem dynamic_commonCorrected_eq (request : ℕ → Cylinder → Vec2) (j : Fin 2) : | |
| 343 | - (dynamicCopyData sys hh label hl gap B V request j).commonCorrected V.strip V.directions = | |
| 344 | - (ActualPeriodizedSignedRealization.views B (layout sys hh label hl gap) V).exactCoefficients request j := by | |
| 345 | - rw [commonCorrected_eq_of_localized | |
| 346 | - (dynamicCopyData sys hh label hl gap B V request j) | |
| 347 | - (ActualPeriodizedSignedRealization.copyData B (layout sys hh label hl gap) V request j) rfl | |
| 348 | - (dynamic_localized_eq sys hh label hl gap B V request j), | |
| 349 | - ActualPeriodizedSignedRealization.commonCorrected_eq] | |
| 350 | - | |
| 351 | 223 | end ActualCopies |
| 352 | 224 | |
| 353 | 225 | /-! ## Literal physical copies of the same signed reference data -/ |
| @@ -405,11 +277,6 @@ theorem rotateCoefficient_real_smul (Y : Plane) (c : ℝ) (v : ComplexVector) : | ||
| 405 | 277 | rotateCoefficient Y (c • v) = c • rotateCoefficient Y v := by |
| 406 | 278 | simpa only [rotationMap_apply] using (rotationMap Y).map_smul c v |
| 407 | 279 | |
| 408 | -theorem rotateCoefficient_complex_smul (Y : Plane) (c : ℂ) (v : ComplexVector) : | |
| 409 | - rotateCoefficient Y (c • v) = c • rotateCoefficient Y v := by | |
| 410 | - ext i | |
| 411 | - fin_cases i <;> simp [rotateCoefficient, Complex.real_smul, Pi.smul_apply, smul_eq_mul] <;> ring | |
| 412 | - | |
| 413 | 280 | theorem rotateCoefficient_vectorMode (Y : Plane) (K : ℝ) (Phi : Cylinder → ℝ) |
| 414 | 281 | (v : Cylinder → ComplexVector) (x : Cylinder) (i : Fin 3) : |
| 415 | 282 | rotateCoefficient Y (HarmonicCalculus.vectorMode K Phi v x) i = |
| @@ -889,29 +756,6 @@ theorem pressure_commonWave (L : NativeLabel f.active) (k : Frequency) | ||
| 889 | 756 | congr 1 |
| 890 | 757 | ring |
| 891 | 758 | |
| 892 | -/-- The complete copy sum is exactly the same reference pressure mode. -/ | |
| 893 | -theorem pressure_periodized (L : NativeLabel f.active) {a b : ℝ} (ha : 0 < a) | |
| 894 | - (w : SpaceTime) (hw : PhysicalGraphBounds.scaledRadial L.val.1 w ∈ PhysicalGraphBounds.annulus a b) : | |
| 895 | - (pressureFamily sys hh f).periodized a h sys.radius (positiveIndex L) w = | |
| 896 | - (ChartScales.Q L.val.1 ^ (-(2 * CoordinateAlgebra.A h)) : ℝ) • | |
| 897 | - HarmonicCalculus.mode ((f.primary L).base.frequency L.val.1) | |
| 898 | - ((f.primary L).base.phase L.val.1) | |
| 899 | - ((ActualPeriodizedSignedRealization.periodizedPrimary (f.primary L) | |
| 900 | - (layout sys hh L.val L.property 0)).rawPressure (f.state L).referenceRequest (f.column L) L.val.1) | |
| 901 | - (cylinderAt a (PhysicalWaveSum.chooseChart a (PhysicalGraphBounds.scaledRadial L.val.1 w)) | |
| 902 | - (PhysicalGraphBounds.physicalLift h L.val.1 w)) := by | |
| 903 | - have hc := PhysicalWaveSum.chooseChart_valid ha hw | |
| 904 | - unfold PhysicalCopyBounds.CopyFamily.periodized | |
| 905 | - simp_rw [pressure_term_active] | |
| 906 | - change (∑' k, PhysicalWaveSum.commonWave a h L.val.1 0 sys.radius | |
| 907 | - ((selectedCarrier (h := h) f L k).withChart | |
| 908 | - (PhysicalWaveSum.chooseChart a (PhysicalGraphBounds.scaledRadial L.val.1 w))) | |
| 909 | - ((pressureFamily sys hh f).amplitude k (positiveIndex L)) 1 w) = _ | |
| 910 | - simp_rw [pressure_commonWave sys hh f G L _ ha _ w hc] | |
| 911 | - rw [tsum_mul_right, tsum_const_smul''] | |
| 912 | - rw [HarmonicCalculus.mode, signed_pressure_eq_sum sys hh f L] | |
| 913 | - exact smul_mul_assoc _ _ _ | |
| 914 | - | |
| 915 | 759 | |
| 916 | 760 | theorem potential_commonWave (L : NativeLabel f.active) (k : Frequency) (i : Fin 3) |
| 917 | 761 | {a : ℝ} (ha : 0 < a) (chart : PolarCharts.Index) (w : SpaceTime) |
| @@ -962,36 +806,6 @@ theorem rotatedPotential_sum (L : NativeLabel f.active) (x : Cylinder) (Y : Plan | ||
| 962 | 806 | rw [← signed_potential_eq_sum sys hh f L x] at he |
| 963 | 807 | exact he.symm |
| 964 | 808 | |
| 965 | -/-- The complete vector-potential copy sum retains the same reference | |
| 966 | -coefficient. The rotation acts on the actual sum, not a surrogate field. -/ | |
| 967 | -theorem potential_periodized (L : NativeLabel f.active) (i : Fin 3) | |
| 968 | - {a b : ℝ} (ha : 0 < a) (w : SpaceTime) | |
| 969 | - (hw : PhysicalGraphBounds.scaledRadial L.val.1 w ∈ PhysicalGraphBounds.annulus a b) : | |
| 970 | - (potentialFamily sys hh f i).periodized a h sys.radius (positiveIndex L) w = | |
| 971 | - (ChartScales.Q L.val.1 ^ (-h) : ℝ) • | |
| 972 | - (rotateCoefficient (PhysicalGraphBounds.liftXY (PhysicalGraphBounds.physicalLift h L.val.1 w)) | |
| 973 | - (referencePotentialCoefficient sys hh f L | |
| 974 | - (cylinderAt a (PhysicalWaveSum.chooseChart a (PhysicalGraphBounds.scaledRadial L.val.1 w)) | |
| 975 | - (PhysicalGraphBounds.physicalLift h L.val.1 w))) i * | |
| 976 | - HarmonicCalculus.carrier ((f.primary L).base.frequency L.val.1) | |
| 977 | - ((f.primary L).base.phase L.val.1) | |
| 978 | - (cylinderAt a (PhysicalWaveSum.chooseChart a (PhysicalGraphBounds.scaledRadial L.val.1 w)) | |
| 979 | - (PhysicalGraphBounds.physicalLift h L.val.1 w))) := by | |
| 980 | - have hc := PhysicalWaveSum.chooseChart_valid ha hw | |
| 981 | - unfold PhysicalCopyBounds.CopyFamily.periodized | |
| 982 | - simp_rw [potential_term_active] | |
| 983 | - change (∑' k, PhysicalWaveSum.commonWave a h L.val.1 0 sys.radius | |
| 984 | - ((selectedCarrier (h := h) f L k).withChart | |
| 985 | - (PhysicalWaveSum.chooseChart a (PhysicalGraphBounds.scaledRadial L.val.1 w))) | |
| 986 | - ((potentialFamily sys hh f i).amplitude k (positiveIndex L)) 1 w) = _ | |
| 987 | - simp_rw [potential_commonWave sys hh f G L _ i ha _ w hc] | |
| 988 | - rw [tsum_mul_right, tsum_const_smul''] | |
| 989 | - rw [← rotatedPotential_sum sys hh f L | |
| 990 | - (cylinderAt a (PhysicalWaveSum.chooseChart a (PhysicalGraphBounds.scaledRadial L.val.1 w)) | |
| 991 | - (PhysicalGraphBounds.physicalLift h L.val.1 w)) | |
| 992 | - (PhysicalGraphBounds.liftXY (PhysicalGraphBounds.physicalLift h L.val.1 w)) i] | |
| 993 | - exact smul_mul_assoc _ _ _ | |
| 994 | - | |
| 995 | 809 | |
| 996 | 810 | omit hh in |
| 997 | 811 | theorem angular_integer (L : NativeLabel f.active) (k : Frequency) : |
| @@ -1061,126 +875,6 @@ theorem potential_periodized_of_chart (L : NativeLabel f.active) (i : Fin 3) | ||
| 1061 | 875 | (PhysicalGraphBounds.liftXY (PhysicalGraphBounds.physicalLift h L.val.1 w)) i] |
| 1062 | 876 | exact smul_mul_assoc _ _ _ |
| 1063 | 877 | |
| 1064 | -/-- Equality with the original Cartesian signed pressure, not merely a | |
| 1065 | -newly defined coefficient sum. -/ | |
| 1066 | -theorem pressure_periodized_physical (L : NativeLabel f.active) {a b delta : ℝ} | |
| 1067 | - (ha : 0 < a) (hdelta : 0 < delta) (j : PolarCharts.Index) (z : SpaceTime) | |
| 1068 | - (hz : z ∈ PhysicalCurlCovariance.validCylindrical delta j) | |
| 1069 | - (hw : PhysicalGraphBounds.scaledRadial L.val.1 (z.1, CylindricalResidual.chart z.2) ∈ | |
| 1070 | - PhysicalGraphBounds.annulus a b) | |
| 1071 | - (hj : PhysicalGraphBounds.scaledRadial L.val.1 (z.1, CylindricalResidual.chart z.2) ∈ | |
| 1072 | - PolarCharts.chartDomain a j) : | |
| 1073 | - ((pressureFamily sys hh f).periodized a h sys.radius (positiveIndex L) | |
| 1074 | - (z.1, CylindricalResidual.chart z.2)).re = | |
| 1075 | - ActualPeriodizedSignedRealization.physicalPressure (f.primary L) | |
| 1076 | - (layout sys hh L.val L.property 0) (f.view L) (f.state L) (f.column L) delta | |
| 1077 | - (z.1, CylindricalResidual.chart z.2) := by | |
| 1078 | - rw [pressure_periodized_of_chart sys hh f G L ha _ hw j hj, | |
| 1079 | - cylinderAt_physical_forward h L.val.1 ha j z hz.1 hz.2.1 hj] | |
| 1080 | - have hK : (f.primary L).base.frequency L.val.1 ≠ 0 := by | |
| 1081 | - rw [G.frequency L] | |
| 1082 | - exact PartitionedCovariance.actual_carrier_ne_zero _ _ | |
| 1083 | - have hG : PhysicalSignedWave.ChartGeometry | |
| 1084 | - (ActualPeriodizedSignedRealization.periodizedPrimary (f.primary L) (layout sys hh L.val L.property 0)).base | |
| 1085 | - (ActualPeriodizedSignedRealization.periodizedPrimary (f.primary L) (layout sys hh L.val L.property 0)).strip | |
| 1086 | - (ActualPeriodizedSignedRealization.periodizedPrimary (f.primary L) (layout sys hh L.val L.property 0)).directions | |
| 1087 | - L.val.1 (f.view L).exponent (f.view L).referenceScale (f.view L).referenceCover := by | |
| 1088 | - simp only [G.exponent L, G.scale L, G.cover L] | |
| 1089 | - exact G.chart L | |
| 1090 | - have he := (ActualPeriodizedSignedRealization.views (f.primary L) | |
| 1091 | - (layout sys hh L.val L.property 0) (f.view L)).physicalPressure_forward | |
| 1092 | - (ActualPeriodizedSignedRealization.periodizedAngular (f.primary L) | |
| 1093 | - (layout sys hh L.val L.property 0) (G.angular L)) hK hG (f.column L) hdelta j hz | |
| 1094 | - change _ = (ActualPeriodizedSignedRealization.views (f.primary L) | |
| 1095 | - (layout sys hh L.val L.property 0) (f.view L)).physicalPressure | |
| 1096 | - (f.state L).referenceRequest (f.column L) delta (z.1, CylindricalResidual.chart z.2) | |
| 1097 | - rw [he] | |
| 1098 | - simp only [PhysicalSignedWave.PrimaryData.Views.complexPhysicalPressure, | |
| 1099 | - PhysicalSignedWave.PrimaryData.Views.physicalPressureCoefficient, | |
| 1100 | - ActualPeriodizedSignedRealization.views, G.exponent L, G.scale L, G.cover L, | |
| 1101 | - HarmonicCalculus.mode, smul_mul_assoc] | |
| 1102 | - rfl | |
| 1103 | - | |
| 1104 | - | |
| 1105 | -/-- The original physical potential is the pulled-back native coefficient | |
| 1106 | -mode, with the potential scale derived by the actual curl construction. -/ | |
| 1107 | -theorem referencePotential_eq_mode (L : NativeLabel f.active) | |
| 1108 | - (hPhi : ContDiffOn ℝ ∞ ((f.primary L).base.phase L.val.1) (f.primary L).strip.domain) | |
| 1109 | - (z : SpaceTime) (hr : 0 < z.2 0) | |
| 1110 | - (hz : (PhysicalResidualBridge.commonGraph (ChartScales.Q L.val.1) h | |
| 1111 | - (ChartScales.nativeIndex h L.val.1)).map z ∈ (f.primary L).strip.domain) : | |
| 1112 | - (ActualPeriodizedSignedRealization.views (f.primary L) (layout sys hh L.val L.property 0) | |
| 1113 | - (f.view L)).referencePotential (f.state L).referenceRequest (f.column L) z = | |
| 1114 | - (ChartScales.Q L.val.1 ^ (-h) : ℝ) • HarmonicCalculus.vectorMode | |
| 1115 | - ((f.primary L).base.frequency L.val.1) ((f.primary L).base.phase L.val.1) | |
| 1116 | - (referencePotentialCoefficient sys hh f L) | |
| 1117 | - ((PhysicalResidualBridge.commonGraph (ChartScales.Q L.val.1) h | |
| 1118 | - (ChartScales.nativeIndex h L.val.1)).map z) := by | |
| 1119 | - let V := ActualPeriodizedSignedRealization.views (f.primary L) | |
| 1120 | - (layout sys hh L.val L.property 0) (f.view L) | |
| 1121 | - have hK : (f.primary L).base.frequency L.val.1 ≠ 0 := by | |
| 1122 | - rw [G.frequency L] | |
| 1123 | - exact PartitionedCovariance.actual_carrier_ne_zero _ _ | |
| 1124 | - have hx : z ∈ (PhysicalResidualBridge.commonGraph (f.view L).referenceScale | |
| 1125 | - (f.view L).exponent (f.view L).referenceCover).source (f.primary L).strip.domain := by | |
| 1126 | - simp only [G.scale L, G.exponent L, G.cover L] | |
| 1127 | - exact And.intro hr hz | |
| 1128 | - have he := PhysicalCurlCovariance.referencePotential_eq_on (f.view L).referenceScale_pos | |
| 1129 | - (f.view L).exponent (f.view L).referenceCover (f.primary L).strip.isOpen_domain | |
| 1130 | - hK hK hPhi | |
| 1131 | - ((ActualPeriodizedSignedRealization.periodizedPrimary (f.primary L) | |
| 1132 | - (layout sys hh L.val L.property 0)).raw (f.state L).referenceRequest (f.column L) L.val.1) | |
| 1133 | - V.physicalPhase (V.physicalRaw (f.state L).referenceRequest (f.column L)) | |
| 1134 | - (fun _ _ => rfl) (fun _ _ => rfl) hx | |
| 1135 | - simp only [G.scale L, G.exponent L, G.cover L] at he | |
| 1136 | - change V.referencePotential (f.state L).referenceRequest (f.column L) z = _ at he | |
| 1137 | - simp only [CurlClassBounds.vectorPotential, CurlClassBounds.coefficient, | |
| 1138 | - ← (G.chart L).normal] at he ⊢ | |
| 1139 | - exact he | |
| 1140 | - | |
| 1141 | -/-- Equality with the same signed Cartesian potential. Every native copy, | |
| 1142 | -cutoff and the potential's actual derivative normalization is retained. -/ | |
| 1143 | -theorem potential_periodized_physical (L : NativeLabel f.active) (i : Fin 3) | |
| 1144 | - (hPhi : ContDiffOn ℝ ∞ ((f.primary L).base.phase L.val.1) (f.primary L).strip.domain) | |
| 1145 | - {a b delta : ℝ} (ha : 0 < a) (hdelta : 0 < delta) (j : PolarCharts.Index) (z : SpaceTime) | |
| 1146 | - (hz : z ∈ PhysicalCurlCovariance.validCylindrical delta j) | |
| 1147 | - (hsource : (PhysicalResidualBridge.commonGraph (ChartScales.Q L.val.1) h | |
| 1148 | - (ChartScales.nativeIndex h L.val.1)).map z ∈ (f.primary L).strip.domain) | |
| 1149 | - (hw : PhysicalGraphBounds.scaledRadial L.val.1 (z.1, CylindricalResidual.chart z.2) ∈ | |
| 1150 | - PhysicalGraphBounds.annulus a b) | |
| 1151 | - (hj : PhysicalGraphBounds.scaledRadial L.val.1 (z.1, CylindricalResidual.chart z.2) ∈ | |
| 1152 | - PolarCharts.chartDomain a j) : | |
| 1153 | - ((potentialFamily sys hh f i).periodized a h sys.radius (positiveIndex L) | |
| 1154 | - (z.1, CylindricalResidual.chart z.2)).re = | |
| 1155 | - ActualPeriodizedSignedRealization.physicalPotential (f.primary L) | |
| 1156 | - (layout sys hh L.val L.property 0) (f.view L) (f.state L) (f.column L) delta | |
| 1157 | - (z.1, CylindricalResidual.chart z.2) i := by | |
| 1158 | - let V := ActualPeriodizedSignedRealization.views (f.primary L) | |
| 1159 | - (layout sys hh L.val L.property 0) (f.view L) | |
| 1160 | - have hK : (f.primary L).base.frequency L.val.1 ≠ 0 := by | |
| 1161 | - rw [G.frequency L] | |
| 1162 | - exact PartitionedCovariance.actual_carrier_ne_zero _ _ | |
| 1163 | - have hmap := cylinderAt_physical_forward h L.val.1 ha j z hz.1 hz.2.1 hj | |
| 1164 | - have hc : PhysicalGraphBounds.liftXY | |
| 1165 | - (PhysicalGraphBounds.physicalLift h L.val.1 (z.1, CylindricalResidual.chart z.2)) ∈ | |
| 1166 | - PolarCharts.chartDomain a j := by simpa only [PhysicalGraphBounds.liftXY_physicalLift] using hj | |
| 1167 | - have hangle : (PolarCharts.chart a j (PhysicalGraphBounds.liftXY | |
| 1168 | - (PhysicalGraphBounds.physicalLift h L.val.1 (z.1, CylindricalResidual.chart z.2)))).2 = z.2 1 := | |
| 1169 | - congrArg Prod.snd hmap | |
| 1170 | - rw [potential_periodized_of_chart sys hh f G L i ha _ hw j hj, | |
| 1171 | - ← rotateCoefficient_vectorMode] | |
| 1172 | - have he := rotateCoefficient_chart_re ha j hc | |
| 1173 | - ((ChartScales.Q L.val.1 ^ (-h) : ℝ) • HarmonicCalculus.vectorMode | |
| 1174 | - ((f.primary L).base.frequency L.val.1) ((f.primary L).base.phase L.val.1) | |
| 1175 | - (referencePotentialCoefficient sys hh f L) | |
| 1176 | - (cylinderAt a j (PhysicalGraphBounds.physicalLift h L.val.1 (z.1, CylindricalResidual.chart z.2)))) i | |
| 1177 | - rw [rotateCoefficient_real_smul, Pi.smul_apply] at he | |
| 1178 | - rw [he, hangle, hmap, ← referencePotential_eq_mode sys hh f G L hPhi z hz.1 hsource] | |
| 1179 | - have hf := (PhysicalCurlCovariance.globalCartesianPotential_forward_germ hdelta j | |
| 1180 | - (V.referencePotential (f.state L).referenceRequest (f.column L)) | |
| 1181 | - (V.referencePotential_periodic (ActualPeriodizedSignedRealization.periodizedAngular | |
| 1182 | - (f.primary L) (layout sys hh L.val L.property 0) (G.angular L)) hK (f.column L)) hz).eq_of_nhds | |
| 1183 | - exact (congrArg (fun v : Space => v i) hf).symm | |
| 1184 | 878 | |
| 1185 | 879 | end PhysicalFamilies |
| 1186 | 880 | |
| @@ -1481,58 +1175,12 @@ noncomputable def copyPotential (G : ReferenceGeometry sys f) (hh0 : 0 < h) (hh1 | ||
| 1481 | 1175 | support := potential_support sys hh f hloc G hh0 hh1 ha hb |
| 1482 | 1176 | cells := potentialCells sys hh f |
| 1483 | 1177 | |
| 1484 | -theorem copyPotential_field (G : ReferenceGeometry sys f) (hh0 : 0 < h) (hh1 : h < 1 / 2) | |
| 1485 | - (ha : 0 < a) (hb : 0 < b) : | |
| 1486 | - (copyPotential sys hh f hloc G hh0 hh1 ha hb).field = | |
| 1487 | - PhysicalCopyBounds.vectorSum (potentialFamily sys hh f) (a / 4) h sys.radius := rfl | |
| 1488 | - | |
| 1489 | 1178 | end NativeSources |
| 1490 | 1179 | |
| 1491 | 1180 | |
| 1492 | 1181 | |
| 1493 | 1182 | /-! ## A fixed native region for the selected carrier profiles -/ |
| 1494 | 1183 | |
| 1495 | -noncomputable def carrierRegion (h a b : ℝ) : Set PhysicalGraphBounds.Slow := | |
| 1496 | - {p | p.1 ∈ Ioo (a / 8) (4 * b + 1) ∧ | |
| 1497 | - (p.2.2, p.2.1) ∈ PhysicalMeanDomain.normalizedSlowDomain (2 * h) (1 / 4) 4} | |
| 1498 | - | |
| 1499 | -theorem carrierRegion_open {h : ℝ} (hh : 0 < h) (hh1 : h < 1 / 2) (a b : ℝ) : | |
| 1500 | - IsOpen (carrierRegion h a b) := | |
| 1501 | - (isOpen_Ioo.preimage continuous_fst).inter | |
| 1502 | - ((PhysicalMeanDomain.normalizedSlowDomain_open (by linarith : 0 < 2 * h) | |
| 1503 | - (by linarith : 2 * h < 1) (1 / 4) 4).preimage | |
| 1504 | - (continuous_snd.snd.prodMk continuous_snd.fst)) | |
| 1505 | - | |
| 1506 | -/-- Carrier profile arguments lie in a fixed open native region. The | |
| 1507 | -native phase center affects the clock, but not this slow argument. -/ | |
| 1508 | -theorem carrierRegion_contains {h a b : ℝ} (hh : 0 < h) (hh1 : h < 1 / 2) (ha : 0 < a) | |
| 1509 | - (c : PhysicalWaveSum.CarrierData) (r0 : ℝ) (L : PhysicalWaveSum.BandLabel) | |
| 1510 | - (w : SpaceTime) (hw : w ∈ PhysicalWaveSum.preterminal) | |
| 1511 | - (hregion : PhysicalWaveSum.physicalParams h w ∈ | |
| 1512 | - PhysicalWaveSum.labelRegion (CoordinateAlgebra.D h) L.val) | |
| 1513 | - (hann : PhysicalGraphBounds.scaledRadial L.val.1 w ∈ PhysicalGraphBounds.annulus (a / 4) (2 * b)) | |
| 1514 | - (j : PolarCharts.Index) | |
| 1515 | - (hj : PhysicalGraphBounds.scaledRadial L.val.1 w ∈ PolarCharts.chartDomain (a / 4) j) : | |
| 1516 | - LocalPhysicalCopyBounds.slotSlow (c.withChart j) (a / 4) h L.val.1 r0 w ∈ carrierRegion h a b := by | |
| 1517 | - have ha4 : 0 < a / 4 := by positivity | |
| 1518 | - have hrel := PhysicalWaveSum.labelRegion_active_relation hregion | |
| 1519 | - have hs := PhysicalMeanJetBounds.graph_slow_normalized hh hh1 L.val.1 0 hw hrel.1 hrel.2 | |
| 1520 | - have hn : ‖PhysicalGraphBounds.scaledRadial L.val.1 w‖ ≤ 2 * b := by | |
| 1521 | - simpa only [Metric.mem_closedBall, dist_zero_right] using hann.1 | |
| 1522 | - have hl : a / 4 ≤ ‖PhysicalGraphBounds.scaledRadial L.val.1 w‖ := hann.2 | |
| 1523 | - have hrlo := PolarCharts.norm_le_radius (PhysicalGraphBounds.scaledRadial L.val.1 w) | |
| 1524 | - have hrhi := PolarCharts.radius_le_two_norm (PhysicalGraphBounds.scaledRadial L.val.1 w) | |
| 1525 | - change ((PhysicalGraphBounds.slotMap (PolarCharts.chart (a / 4) j) | |
| 1526 | - (ChartScales.timeCoefficient h L.val.1) c.center r0 | |
| 1527 | - (PhysicalGraphBounds.physicalLift h L.val.1 w)).1).1 ∈ Ioo (a / 8) (4 * b + 1) ∧ _ | |
| 1528 | - rw [PhysicalGraphBounds.slotMap_formula, PhysicalGraphBounds.liftXY_physicalLift, | |
| 1529 | - chart_radius ha4 j hj] | |
| 1530 | - constructor | |
| 1531 | - · exact ⟨by linarith, by linarith⟩ | |
| 1532 | - · simpa only [LocalPhysicalCopyBounds.slotSlow, PhysicalGraphBounds.slotMap_formula, | |
| 1533 | - PhysicalMeanJetBounds.graph, Function.comp_apply, commonLift_zero, | |
| 1534 | - PhysicalClassBounds.cylindricalMap, PhysicalClassBounds.slowFast_apply] using hs | |
| 1535 | - | |
| 1536 | 1184 | /-- Support of one full native carrier implies closed label membership, |
| 1537 | 1185 | including the edge of the actual zero-extended coefficient. -/ |
| 1538 | 1186 | theorem term_tsupport_labelRegion {H : ℕ} {K : Type*} |
| @@ -1959,26 +1607,6 @@ variable | ||
| 1959 | 1607 | (hpotential : LocalPhysicalCopyBounds.LocalSourceBounds s h α w (nativePotentialSource sys hh f)) |
| 1960 | 1608 | (hpressure : LocalPhysicalCopyBounds.LocalSourceBounds s h α w (nativePressureSource sys hh f)) |
| 1961 | 1609 | |
| 1962 | -theorem potentialWaveData_vector : | |
| 1963 | - (potentialWaveData sys hh f hloc G hh0 hh1 ha hb hp hn hP hf hpotential).vector = | |
| 1964 | - PhysicalCopyBounds.vectorSum (potentialFamily sys hh f) (a / 4) h sys.radius := rfl | |
| 1965 | - | |
| 1966 | -theorem pressureWaveData_pressure : | |
| 1967 | - (pressureWaveData sys hh f hloc G hh0 hh1 ha hb hp hn hP hf hpressure).pressure = | |
| 1968 | - fun x => ((pressureFamily sys hh f).sum (a / 4) h sys.radius x).re := rfl | |
| 1969 | - | |
| 1970 | -theorem potentialWaveData_copyPotential : | |
| 1971 | - (potentialWaveData sys hh f hloc G hh0 hh1 ha hb hp hn hP hf hpotential).vector = | |
| 1972 | - (copyPotential sys hh f hloc G hh0 hh1 ha hb).field := rfl | |
| 1973 | - | |
| 1974 | -theorem potentialWaveData_outer : | |
| 1975 | - (potentialWaveData sys hh f hloc G hh0 hh1 ha hb hp hn hP hf hpotential).upperRadius = | |
| 1976 | - 2 * b := rfl | |
| 1977 | - | |
| 1978 | -theorem pressureWaveData_outer : | |
| 1979 | - (pressureWaveData sys hh f hloc G hh0 hh1 ha hb hp hn hP hf hpressure).upperRadius = | |
| 1980 | - 2 * b := rfl | |
| 1981 | - | |
| 1982 | 1610 | /- Every fixed physical jet is controlled by the supplied native exponent, |
| 1983 | 1611 | with the physical potential scaling retained exactly. -/ |
| 1984 | 1612 | include G hp hn hP hf hpotential in |
| @@ -2048,99 +1676,12 @@ variable {D h : ℝ} | ||
| 2048 | 1676 | (sys : PartitionedCovariance.SlotSystem D h ActualSignedGeometry.radialVector ActualSignedGeometry.temporalVector) |
| 2049 | 1677 | (hh : 0 ≤ h) {U : PhaseJetBounds.Domain ℕ PhaseCalculus.Slow} (f : SignedFamily U) |
| 2050 | 1678 | |
| 2051 | -noncomputable def labelPotential (L : NativeLabel f.active) (a : ℝ) : VelocityField := | |
| 2052 | - fun x => PhysicalCurlCovariance.realVector (fun i => | |
| 2053 | - (potentialFamily sys hh f i).periodized a h sys.radius (positiveIndex L) x) | |
| 2054 | - | |
| 2055 | -noncomputable def labelPressure (L : NativeLabel f.active) (a : ℝ) : PressureField := | |
| 2056 | - fun x => ((pressureFamily sys hh f).periodized a h sys.radius (positiveIndex L) x).re | |
| 2057 | - | |
| 2058 | -/-- Only coordinate domains and the original native phase domain occur in | |
| 2059 | -this set. Its definition contains no output-field equality. -/ | |
| 2060 | -noncomputable def referencePatch (L : NativeLabel f.active) (a b delta : ℝ) | |
| 2061 | - (j : PolarCharts.Index) : Set SpaceTime := | |
| 2062 | - {x | PhysicalGraphBounds.radialProjection x ∈ PolarCharts.chartDomain delta j ∧ | |
| 2063 | - PhysicalGraphBounds.scaledRadial L.val.1 x ∈ PhysicalGraphBounds.annulus a b ∧ | |
| 2064 | - PhysicalGraphBounds.scaledRadial L.val.1 x ∈ PolarCharts.chartDomain a j ∧ | |
| 2065 | - (PhysicalResidualBridge.commonGraph (ChartScales.Q L.val.1) h | |
| 2066 | - (ChartScales.nativeIndex h L.val.1)).map (PhysicalCurlCovariance.polarCoordinates delta j x) ∈ | |
| 2067 | - (f.primary L).strip.domain} | |
| 2068 | - | |
| 2069 | 1679 | variable (G : ReferenceGeometry sys f) (L : NativeLabel f.active) |
| 2070 | 1680 | (hPhi : ContDiffOn ℝ ∞ ((f.primary L).base.phase L.val.1) (f.primary L).strip.domain) |
| 2071 | 1681 | {a b delta : ℝ} (ha : 0 < a) (hd : 0 < delta) (j : PolarCharts.Index) |
| 2072 | 1682 | |
| 2073 | 1683 | include G ha hd |
| 2074 | 1684 | |
| 2075 | -include hPhi in | |
| 2076 | -theorem labelPotential_eq_reference {x : SpaceTime} | |
| 2077 | - (hx : x ∈ referencePatch (h := h) f L a b delta j) : | |
| 2078 | - labelPotential sys hh f L a x = | |
| 2079 | - ActualPeriodizedSignedRealization.physicalPotential (f.primary L) | |
| 2080 | - (layout sys hh L.val L.property 0) (f.view L) (f.state L) (f.column L) delta x := by | |
| 2081 | - let z := PhysicalCurlCovariance.polarCoordinates delta j x | |
| 2082 | - have hz : z ∈ PhysicalCurlCovariance.validCylindrical delta j := polarCoordinates_valid hd j hx.1 | |
| 2083 | - have he : (z.1, CylindricalResidual.chart z.2) = x := polarCoordinates_backward hd j hx.1 | |
| 2084 | - ext i | |
| 2085 | - simp only [labelPotential, PhysicalCurlCovariance.realVector_apply] | |
| 2086 | - have hb' : PhysicalGraphBounds.scaledRadial L.val.1 (z.1, CylindricalResidual.chart z.2) ∈ | |
| 2087 | - PhysicalGraphBounds.annulus a b := by simpa only [he] using hx.2.1 | |
| 2088 | - have hj' : PhysicalGraphBounds.scaledRadial L.val.1 (z.1, CylindricalResidual.chart z.2) ∈ | |
| 2089 | - PolarCharts.chartDomain a j := by simpa only [he] using hx.2.2.1 | |
| 2090 | - have H := potential_periodized_physical sys hh f G L i hPhi ha hd j z hz hx.2.2.2 hb' hj' | |
| 2091 | - simp only [he] at H | |
| 2092 | - exact H | |
| 2093 | - | |
| 2094 | -theorem labelPressure_eq_reference {x : SpaceTime} | |
| 2095 | - (hx : x ∈ referencePatch (h := h) f L a b delta j) : | |
| 2096 | - labelPressure sys hh f L a x = | |
| 2097 | - ActualPeriodizedSignedRealization.physicalPressure (f.primary L) | |
| 2098 | - (layout sys hh L.val L.property 0) (f.view L) (f.state L) (f.column L) delta x := by | |
| 2099 | - let z := PhysicalCurlCovariance.polarCoordinates delta j x | |
| 2100 | - have hz : z ∈ PhysicalCurlCovariance.validCylindrical delta j := polarCoordinates_valid hd j hx.1 | |
| 2101 | - have he : (z.1, CylindricalResidual.chart z.2) = x := polarCoordinates_backward hd j hx.1 | |
| 2102 | - have hb' : PhysicalGraphBounds.scaledRadial L.val.1 (z.1, CylindricalResidual.chart z.2) ∈ | |
| 2103 | - PhysicalGraphBounds.annulus a b := by simpa only [he] using hx.2.1 | |
| 2104 | - have hj' : PhysicalGraphBounds.scaledRadial L.val.1 (z.1, CylindricalResidual.chart z.2) ∈ | |
| 2105 | - PolarCharts.chartDomain a j := by simpa only [he] using hx.2.2.1 | |
| 2106 | - have H := pressure_periodized_physical sys hh f G L ha hd j z hz hb' hj' | |
| 2107 | - simp only [he] at H | |
| 2108 | - exact H | |
| 2109 | - | |
| 2110 | -include hPhi in | |
| 2111 | -theorem labelPotential_germ {x : SpaceTime} | |
| 2112 | - (hx : x ∈ interior (referencePatch (h := h) f L a b delta j)) : | |
| 2113 | - labelPotential sys hh f L a =ᶠ[𝓝 x] | |
| 2114 | - ActualPeriodizedSignedRealization.physicalPotential (f.primary L) | |
| 2115 | - (layout sys hh L.val L.property 0) (f.view L) (f.state L) (f.column L) delta := | |
| 2116 | - eventually_of_mem (isOpen_interior.mem_nhds hx) (fun _ hy => | |
| 2117 | - labelPotential_eq_reference sys hh f G L hPhi ha hd j (interior_subset hy)) | |
| 2118 | - | |
| 2119 | -theorem labelPressure_germ {x : SpaceTime} | |
| 2120 | - (hx : x ∈ interior (referencePatch (h := h) f L a b delta j)) : | |
| 2121 | - labelPressure sys hh f L a =ᶠ[𝓝 x] | |
| 2122 | - ActualPeriodizedSignedRealization.physicalPressure (f.primary L) | |
| 2123 | - (layout sys hh L.val L.property 0) (f.view L) (f.state L) (f.column L) delta := | |
| 2124 | - eventually_of_mem (isOpen_interior.mem_nhds hx) (fun _ hy => | |
| 2125 | - labelPressure_eq_reference sys hh f G L ha hd j (interior_subset hy)) | |
| 2126 | - | |
| 2127 | -include hPhi in | |
| 2128 | -theorem labelVelocity_eq_reference {x : SpaceTime} | |
| 2129 | - (hx : x ∈ interior (referencePatch (h := h) f L a b delta j)) : | |
| 2130 | - SpatialCurl.spatialCurl (labelPotential sys hh f L a) x = | |
| 2131 | - ActualPeriodizedSignedRealization.physicalVelocity (f.primary L) | |
| 2132 | - (layout sys hh L.val L.property 0) (f.view L) (f.state L) (f.column L) delta x := | |
| 2133 | - PhysicalCurlCovariance.spatialCurl_congr (labelPotential_germ sys hh f G L hPhi ha hd j hx) | |
| 2134 | - | |
| 2135 | -include hPhi in | |
| 2136 | -theorem labelPotential_jets_eq_reference {x : SpaceTime} | |
| 2137 | - (hx : x ∈ interior (referencePatch (h := h) f L a b delta j)) (m : ℕ) : | |
| 2138 | - iteratedFDeriv ℝ m (labelPotential sys hh f L a) x = | |
| 2139 | - iteratedFDeriv ℝ m (ActualPeriodizedSignedRealization.physicalPotential (f.primary L) | |
| 2140 | - (layout sys hh L.val L.property 0) (f.view L) (f.state L) (f.column L) delta) x := | |
| 2141 | - PhysicalWaveSum.iteratedFDeriv_eq_of_eventuallyEq | |
| 2142 | - (labelPotential_germ sys hh f G L hPhi ha hd j hx) m | |
| 2143 | - | |
| 2144 | 1685 | end ReferenceGerms |
| 2145 | 1686 | |
| 2146 | 1687 | end NavierStokes.ActualSignedPhysicalData |
+0 −10 NavierStokes/ActualSignedPhysicalGeometry.lean View file
| @@ -116,16 +116,6 @@ theorem cylinderAt_physical_chart (h : ℝ) (n : ℕ) {a : ℝ} (ha : 0 < a) | ||
| 116 | 116 | simpa only [he] using ActualSignedPhysicalData.cylinderAt_physical_forward h n ha j |
| 117 | 117 | (PhysicalCurlCovariance.polarCoordinates (chartRadius a n) j w) hv.1 hv.2.1 hc |
| 118 | 118 | |
| 119 | -theorem exists_physical_chart (h : ℝ) (n : ℕ) {a : ℝ} (ha : 0 < a) | |
| 120 | - (j : PolarCharts.Index) {w : SpaceTime} | |
| 121 | - (hchart : scaledRadial n w ∈ PolarCharts.chartDomain a j) : | |
| 122 | - ∃ b : ℝ, 0 < b ∧ radialProjection w ∈ PolarCharts.chartDomain b j ∧ | |
| 123 | - ActualSignedPhysicalData.cylinderAt a j (physicalLift h n w) = | |
| 124 | - (PhysicalResidualBridge.commonGraph (ChartScales.Q n) h | |
| 125 | - (ChartScales.nativeIndex h n)).map (PhysicalCurlCovariance.polarCoordinates b j w) := | |
| 126 | - ⟨chartRadius a n, chartRadius_pos ha n, physical_chart_mem n j hchart, | |
| 127 | - cylinderAt_physical_chart h n ha j hchart⟩ | |
| 128 | - | |
| 129 | 119 | /-- The mean graph's slow coordinate does not depend on its auxiliary cover. -/ |
| 130 | 120 | theorem graph_slow_mem_standard_of_ratio {h : ℝ} (hh : 0 < h) (hh1 : h < 1 / 2) |
| 131 | 121 | (n d : ℕ) {w : SpaceTime} (hw : w ∈ preterminal) |
+0 −83 NavierStokes/ActualSignedPotentialCoherence.lean View file
| @@ -45,10 +45,6 @@ theorem potential_eq_mode (l : SignedLabel B N0) (u : CorrectionState.State Poin | ||
| 45 | 45 | potential l u n = vectorMode ((copies l u).common.frequency n) ((copies l u).common.phase n) |
| 46 | 46 | (potentialCoefficient l u n) := rfl |
| 47 | 47 | |
| 48 | -theorem potential_eq_curlPotential (l : SignedLabel B N0) (u : CorrectionState.State Point) (n : ℕ) : | |
| 49 | - potential l u n = (copies l u).common.curlPotential fullStrip | |
| 50 | - (ActualSignedStageControls.directions B) n := rfl | |
| 51 | - | |
| 52 | 48 | theorem potential_weight (n m : ℕ) : |
| 53 | 49 | bandVelocityScale h n m / bandScale n m = |
| 54 | 50 | PhysicalParticularWave.ratioPower (ChartScales.Q n) (ChartScales.Q m) h := by |
| @@ -188,36 +184,6 @@ theorem rescaledPressureMode_transport (x : FullPoint) (hx : x.1.2.1 ∈ ActualI | ||
| 188 | 184 | PhysicalParticularWave.pressureWeight, mul_comm, |
| 189 | 185 | PhysicalParticularWave.ratioPower_cancel (ChartScales.Q_pos n) (ChartScales.Q_pos m)] |
| 190 | 186 | |
| 191 | -theorem potential_transport_germ (x : FullPoint) (hx : x.1.2.1 ∈ ActualInitialCoherence.overlap n m) : | |
| 192 | - potential l u n =ᶠ[𝓝 x] fun y => (bandVelocityScale h n m / bandScale n m) • | |
| 193 | - potential l u m (chart n m k y) := by | |
| 194 | - have hU : {y : FullPoint | y.1.2.1 ∈ ActualInitialCoherence.overlap n m} ∈ 𝓝 x := | |
| 195 | - ((ActualInitialCoherence.overlap_open n m).preimage continuous_fst.snd.fst).mem_nhds hx | |
| 196 | - filter_upwards [hU] with y hy | |
| 197 | - exact potential_transport l u H hfixed n m k hi HS y hy | |
| 198 | - | |
| 199 | -theorem pressureMode_transport_germ (x : FullPoint) (hx : x.1.2.1 ∈ ActualInitialCoherence.overlap n m) : | |
| 200 | - pressureMode l u n =ᶠ[𝓝 x] fun y => (bandVelocityScale h n m * bandVelocityScale h n m) • | |
| 201 | - pressureMode l u m (chart n m k y) := by | |
| 202 | - have hU : {y : FullPoint | y.1.2.1 ∈ ActualInitialCoherence.overlap n m} ∈ 𝓝 x := | |
| 203 | - ((ActualInitialCoherence.overlap_open n m).preimage continuous_fst.snd.fst).mem_nhds hx | |
| 204 | - filter_upwards [hU] with y hy | |
| 205 | - exact pressureMode_transport l u H hfixed n m k hi HS y hy | |
| 206 | - | |
| 207 | -theorem rescaledPotential_transport_germ (x : FullPoint) (hx : x.1.2.1 ∈ ActualInitialCoherence.overlap n m) : | |
| 208 | - rescaledPotential l u n =ᶠ[𝓝 x] fun y => rescaledPotential l u m (chart n m k y) := by | |
| 209 | - have hU : {y : FullPoint | y.1.2.1 ∈ ActualInitialCoherence.overlap n m} ∈ 𝓝 x := | |
| 210 | - ((ActualInitialCoherence.overlap_open n m).preimage continuous_fst.snd.fst).mem_nhds hx | |
| 211 | - filter_upwards [hU] with y hy | |
| 212 | - exact rescaledPotential_transport l u H hfixed n m k hi HS y hy | |
| 213 | - | |
| 214 | -theorem rescaledPressureMode_transport_germ (x : FullPoint) (hx : x.1.2.1 ∈ ActualInitialCoherence.overlap n m) : | |
| 215 | - rescaledPressureMode l u n =ᶠ[𝓝 x] fun y => rescaledPressureMode l u m (chart n m k y) := by | |
| 216 | - have hU : {y : FullPoint | y.1.2.1 ∈ ActualInitialCoherence.overlap n m} ∈ 𝓝 x := | |
| 217 | - ((ActualInitialCoherence.overlap_open n m).preimage continuous_fst.snd.fst).mem_nhds hx | |
| 218 | - filter_upwards [hU] with y hy | |
| 219 | - exact rescaledPressureMode_transport l u H hfixed n m k hi HS y hy | |
| 220 | - | |
| 221 | 187 | end IncomingState |
| 222 | 188 | |
| 223 | 189 | /-! ## Comparing any two valid current-band representatives -/ |
| @@ -288,12 +254,6 @@ theorem nativePoint_absolute (n : ℕ) (z : ProblemStatement.SpaceTime) (hr : 0 | ||
| 288 | 254 | ActualPrimaryCoherence.absoluteChart n (nativePoint n z) = ActualPrimaryCoherence.physicalLift z := |
| 289 | 255 | ActualPrimaryCoherence.absoluteChart_physical n hr |
| 290 | 256 | |
| 291 | -theorem chart_nativePoint (n m k : ℕ) | |
| 292 | - (hi : CommonWindow.index h n + k = CommonWindow.index h m) | |
| 293 | - (z : ProblemStatement.SpaceTime) (hr : 0 < z.2 0) : | |
| 294 | - chart n m k (nativePoint n z) = nativePoint m z := | |
| 295 | - chart_eq_of_absolute n m k hi _ _ ((nativePoint_absolute n z hr).trans (nativePoint_absolute m z hr).symm) | |
| 296 | - | |
| 297 | 257 | theorem nativePoint_smoothAt (n : ℕ) (z : ProblemStatement.SpaceTime) (hr : 0 < z.2 0) : |
| 298 | 258 | ContDiffAt ℝ ∞ (nativePoint n) z := |
| 299 | 259 | PhysicalResidualTZ.swapCylinder.contDiff.contDiffAt.comp z |
| @@ -312,30 +272,6 @@ noncomputable def cylindricalPressureMode (l : SignedLabel B N0) (u : Correction | ||
| 312 | 272 | noncomputable def physicalDomain (n : ℕ) : Set ProblemStatement.SpaceTime := |
| 313 | 273 | {z | 0 < z.2 0 ∧ (nativePoint n z).1.2.1 ∈ standardRegion.carrier} |
| 314 | 274 | |
| 315 | -theorem physicalDomain_open (n : ℕ) : IsOpen (physicalDomain n) := by | |
| 316 | - rw [isOpen_iff_mem_nhds] | |
| 317 | - intro z hz | |
| 318 | - have hr : {w : ProblemStatement.SpaceTime | 0 < w.2 0} ∈ 𝓝 z := | |
| 319 | - (isOpen_lt continuous_const (PhysicalGraphBounds.coordinateProjection 0).continuous).mem_nhds hz.1 | |
| 320 | - have hs : {w : ProblemStatement.SpaceTime | (nativePoint n w).1.2.1 ∈ standardRegion.carrier} ∈ 𝓝 z := | |
| 321 | - (nativePoint_smoothAt n z hz.1).continuousAt.fst.snd.fst.preimage_mem_nhds | |
| 322 | - (standardRegion.isOpen.mem_nhds hz.2) | |
| 323 | - exact inter_mem hr hs | |
| 324 | - | |
| 325 | -theorem cylindrical_values_eq_of_index (l : SignedLabel B N0) (u : CorrectionState.State Point) | |
| 326 | - (H : MeanStateRegularity.PrimitiveData ActualInitialization.geometry.region | |
| 327 | - ActualInitialization.geometry.patch.a ActualInitialization.geometry.patch.b (commonContext B) u) | |
| 328 | - (hfixed : (VariableGaugeMean.reconstructState ActualInitialization.geometry.gauge | |
| 329 | - (commonContext B) u).pressure = u.pressure) | |
| 330 | - (n m k : ℕ) (hi : CommonWindow.index h n + k = CommonWindow.index h m) | |
| 331 | - (HS : PhysicalResidualNaturality.StateOn (PhysicalMeanDomain.slowDomain (ActualInitialCoherence.overlap n m)) | |
| 332 | - (bandChartEquiv h n m k) (bandVelocityScale h n m) (bandScale n m) u u n m) | |
| 333 | - (z : ProblemStatement.SpaceTime) (hn : z ∈ physicalDomain n) (hm : z ∈ physicalDomain m) : | |
| 334 | - cylindricalPotential l u n z = cylindricalPotential l u m z ∧ | |
| 335 | - cylindricalPressureMode l u n z = cylindricalPressureMode l u m z := | |
| 336 | - rescaled_eq_of_absolute_of_index l u H hfixed n m k hi HS _ _ hn.2 hm.2 | |
| 337 | - ((nativePoint_absolute n z hn.1).trans (nativePoint_absolute m z hn.1).symm) | |
| 338 | - | |
| 339 | 275 | theorem cylindrical_values_eq (l : SignedLabel B N0) (u : CorrectionState.State Point) |
| 340 | 276 | (H : MeanStateRegularity.PrimitiveData ActualInitialization.geometry.region |
| 341 | 277 | ActualInitialization.geometry.patch.a ActualInitialization.geometry.patch.b (commonContext B) u) |
| @@ -350,23 +286,4 @@ theorem cylindrical_values_eq (l : SignedLabel B N0) (u : CorrectionState.State | ||
| 350 | 286 | rescaled_eq_of_absolute l u H hfixed HS n m _ _ hn.2 hm.2 |
| 351 | 287 | ((nativePoint_absolute n z hn.1).trans (nativePoint_absolute m z hn.1).symm) |
| 352 | 288 | |
| 353 | -theorem cylindrical_values_germ (l : SignedLabel B N0) (u : CorrectionState.State Point) | |
| 354 | - (H : MeanStateRegularity.PrimitiveData ActualInitialization.geometry.region | |
| 355 | - ActualInitialization.geometry.patch.a ActualInitialization.geometry.patch.b (commonContext B) u) | |
| 356 | - (hfixed : (VariableGaugeMean.reconstructState ActualInitialization.geometry.gauge | |
| 357 | - (commonContext B) u).pressure = u.pressure) | |
| 358 | - (HS : ∀ n m k, CommonWindow.index h n + k = CommonWindow.index h m → | |
| 359 | - PhysicalResidualNaturality.StateOn (PhysicalMeanDomain.slowDomain (ActualInitialCoherence.overlap n m)) | |
| 360 | - (bandChartEquiv h n m k) (bandVelocityScale h n m) (bandScale n m) u u n m) | |
| 361 | - (n m : ℕ) (z : ProblemStatement.SpaceTime) (hn : z ∈ physicalDomain n) (hm : z ∈ physicalDomain m) : | |
| 362 | - cylindricalPotential l u n =ᶠ[𝓝 z] cylindricalPotential l u m ∧ | |
| 363 | - cylindricalPressureMode l u n =ᶠ[𝓝 z] cylindricalPressureMode l u m := by | |
| 364 | - have hN := (physicalDomain_open n).mem_nhds hn | |
| 365 | - have hM := (physicalDomain_open m).mem_nhds hm | |
| 366 | - constructor | |
| 367 | - · filter_upwards [hN, hM] with w hwn hwm | |
| 368 | - exact (cylindrical_values_eq l u H hfixed HS n m w hwn hwm).1 | |
| 369 | - · filter_upwards [hN, hM] with w hwn hwm | |
| 370 | - exact (cylindrical_values_eq l u H hfixed HS n m w hwn hwm).2 | |
| 371 | - | |
| 372 | 289 | end NavierStokes.ActualSignedPotentialCoherence |
+0 −15 NavierStokes/ActualSignedReferenceGeometry.lean View file
| @@ -151,21 +151,6 @@ variable (x : CorrectionStep.CycleState (Label B N0)) | ||
| 151 | 151 | ((ActualCycleParameters.fixedParameters B N0).afterParticular |
| 152 | 152 | x.coefficients (commonContext B) x.state).pressure) |
| 153 | 153 | |
| 154 | -/-- The actual post-particular cycle family is definitionally the same | |
| 155 | -family used above, including its state and request. -/ | |
| 156 | -noncomputable def cycleSingletonGeometry | |
| 157 | - (L : ActualSignedPhysicalData.NativeLabel (ActualSignedExterior.cycleFamily x H hp).active) : | |
| 158 | - ActualSignedPhysicalData.ReferenceGeometry (h := h) slots | |
| 159 | - ((ActualSignedExterior.cycleFamily x H hp).singleton L) := | |
| 160 | - singletonGeometry ActualInitialization.patch | |
| 161 | - ((ActualCycleParameters.fixedParameters B N0).afterParticular | |
| 162 | - x.coefficients (commonContext B) x.state) H hp L | |
| 163 | - | |
| 164 | -noncomputable def cycleNativeGeometry (l : Label B N0) : | |
| 165 | - ActualSignedPhysicalData.ReferenceGeometry (h := h) slots | |
| 166 | - ((ActualSignedExterior.cycleFamily x H hp).singleton (ActualSignedExterior.nativeLabel l)) := | |
| 167 | - cycleSingletonGeometry x H hp (ActualSignedExterior.nativeLabel l) | |
| 168 | - | |
| 169 | 154 | end Cycle |
| 170 | 155 | |
| 171 | 156 | end NavierStokes.ActualSignedReferenceGeometry |
+0 −91 NavierStokes/ActualSignedStageControls.lean View file
| @@ -181,21 +181,6 @@ theorem fullRequest_jets_from_residuals (G : SignedMeanGain.Geometry) | ||
| 181 | 181 | htheta.smooth haxial'.smooth (MeanStateRegularity.MovingField.movingSupport htheta) |
| 182 | 182 | (MeanStateRegularity.MovingField.movingSupport haxial') hθ hz K |
| 183 | 183 | |
| 184 | -/-- The initial cycle invariant gives the request class without assuming | |
| 185 | -any request derivative or signed output bound. -/ | |
| 186 | -theorem fullRequest_jets_from_invariant {ι : Type} (G : SignedMeanGain.Geometry) | |
| 187 | - (c : CorrectionState.Context Point) (primary : ι → CorrectionState.HarmonicBlock Point) | |
| 188 | - (P : ι → ℕ → Point → ℝ) (labelCarrier : ι → ℕ → Set Point) | |
| 189 | - (sigma : ℝ) (u : CorrectionStep.CycleState ι) | |
| 190 | - (H : CorrectionStep.CycleAnalyticInvariant G c primary P labelCarrier sigma u) | |
| 191 | - {Λ I : Type} (K : Λ → ℕ → I → Set FullPoint) : | |
| 192 | - ∀ q, PeriodizedWaveBounds.UniformLocalJets (HarmonicWaveInteraction.productStrip G.strip) | |
| 193 | - (fun _ _ x => G.strip.zeta x.1) sigma K | |
| 194 | - (fun _ n _ x => LocalSignedRequest.fullRequest G.strip G.patch G.coord c u.state n x q) := by | |
| 195 | - have hh := fullRequest_jets_from_residuals G c u.state (1 + sigma) H.primitives H.reconstructed | |
| 196 | - H.raw_mean_bounds.1 H.raw_mean_bounds.2 K | |
| 197 | - simpa only [show (1 : ℝ) + sigma - 1 = sigma by ring] using hh | |
| 198 | - | |
| 199 | 184 | /-! ## Native input jets on a neighborhood of the closed band -/ |
| 200 | 185 | |
| 201 | 186 | open PhaseJetBounds PrimaryCopyBounds |
| @@ -408,10 +393,6 @@ theorem coefficientLower_pos : 0 < coefficientLower := by | ||
| 408 | 393 | unfold coefficientLower |
| 409 | 394 | positivity |
| 410 | 395 | |
| 411 | -theorem coefficientUpper_one : 1 ≤ coefficientUpper := | |
| 412 | - one_le_mul_of_one_le_of_one_le (ActualSignedGeometry.powerBound_one _) | |
| 413 | - (ActualSignedGeometry.powerBound_one _) | |
| 414 | - | |
| 415 | 396 | theorem coefficientScale_bounds (l : SignedLabel B N0) {n : ℕ} |
| 416 | 397 | (hnm : n ≤ BaseChartJets.cellBand l.1 + 4) (hmn : BaseChartJets.cellBand l.1 ≤ n + 4) : |
| 417 | 398 | coefficientLower ≤ coefficientScale l n ∧ coefficientScale l n ≤ coefficientUpper := by |
| @@ -422,9 +403,6 @@ theorem coefficientScale_bounds (l : SignedLabel B N0) {n : ℕ} | ||
| 422 | 403 | rw [ActualSignedGeometry.coefficientScale_value] at h |
| 423 | 404 | exact h |
| 424 | 405 | |
| 425 | -theorem nativePoint_eq_dynamics (l : SignedLabel B N0) (n : ℕ) (k : Frequency) : | |
| 426 | - nativePoint l n k = ActualPrimaryDynamics.copyPoint l.2 l.1 n k := rfl | |
| 427 | - | |
| 428 | 406 | theorem clockScale_eq_dynamics (l : SignedLabel B N0) (n : ℕ) : |
| 429 | 407 | clockScale l n = ActualPrimaryDynamics.clockScale l.1 n := by |
| 430 | 408 | change ChartScales.Q n ^ (CoordinateAlgebra.A ActualPrimary.h + 1 / 2) / |
| @@ -1154,34 +1132,6 @@ theorem raw_coefficients_jets {β : ℝ} {request : ℕ → FullPoint → Signed | ||
| 1154 | 1132 | · exact uniform_select_two (fun j => (hh j).1) hweight |
| 1155 | 1133 | · exact uniform_select_two (fun j => (hh j).2) hweight |
| 1156 | 1134 | |
| 1157 | -/-- The actual full request is derived from the current residuals. No | |
| 1158 | -request-output class or signed-output estimate is an input. -/ | |
| 1159 | -theorem actual_raw_coefficients_jets (G : SignedMeanGain.Geometry) | |
| 1160 | - (hs : G.strip = ActualPrimaryBounds.strip) | |
| 1161 | - (c : CorrectionState.Context Point) (u : CorrectionState.State Point) (α : ℝ) | |
| 1162 | - (H : MeanStateRegularity.PrimitiveData G.region G.patch.a G.patch.b c u) | |
| 1163 | - (hfixed : VariableGaugeMean.reconstructState G.gauge c u = u) | |
| 1164 | - (hθ : MeanClass G.strip α (u.thetaResidual c)) | |
| 1165 | - (hz : MeanClass G.strip α (u.axialResidual c)) : | |
| 1166 | - PeriodizedWaveBounds.UniformLocalJets fullStrip | |
| 1167 | - (fun (l : SignedLabel B N0) n x => Real.sqrt (fullStrip.zeta x) * envelope l n x) (α - 1 / 2) | |
| 1168 | - (phaseCell (B := B) (N0 := N0)) | |
| 1169 | - (fun l n k => (((parameters l).copyData ActualPrimaryBounds.strip | |
| 1170 | - (LocalSignedRequest.fullRequest G.strip G.patch G.coord c u)).raw k).amplitude n) ∧ | |
| 1171 | - PeriodizedWaveBounds.UniformLocalJets fullStrip | |
| 1172 | - (fun (l : SignedLabel B N0) n x => Real.sqrt (fullStrip.zeta x) * envelope l n x) α phaseCell | |
| 1173 | - (fun l n k => (((parameters l).copyData ActualPrimaryBounds.strip | |
| 1174 | - (LocalSignedRequest.fullRequest G.strip G.patch G.coord c u)).raw k).pressure n) := by | |
| 1175 | - have hr := fullRequest_jets_from_residuals G c u α H hfixed hθ hz | |
| 1176 | - (phaseCell (B := B) (N0 := N0)) | |
| 1177 | - have hr' : ∀ q, PeriodizedWaveBounds.UniformLocalJets fullStrip | |
| 1178 | - (fun _ _ x => fullStrip.zeta x) (α - 1) (phaseCell (B := B) (N0 := N0)) | |
| 1179 | - (fun _ n _ x => LocalSignedRequest.fullRequest G.strip G.patch G.coord c u n x q) := by | |
| 1180 | - simp only [hs] at hr ⊢ | |
| 1181 | - exact hr | |
| 1182 | - simpa only [show α - 1 + 1 / 2 = α - 1 / 2 by ring, sub_add_cancel] using | |
| 1183 | - raw_coefficients_jets hr' | |
| 1184 | - | |
| 1185 | 1135 | noncomputable def covariance_at_label (l : SignedLabel B N0) : |
| 1186 | 1136 | SignedCopyBounds.NativeCovariance fullStrip (phaseCell l) (matrix l) (target l) where |
| 1187 | 1137 | matrix_jets a b := ((nativeCovariance B N0).matrix_jets a b).each l |
| @@ -1197,12 +1147,6 @@ noncomputable def covariance_at_label (l : SignedLabel B N0) : | ||
| 1197 | 1147 | entries := (nativeCovariance B N0).entries l |
| 1198 | 1148 | lower := (nativeCovariance B N0).lower l |
| 1199 | 1149 | |
| 1200 | -theorem primary_weight_pos {l : SignedLabel B N0} {n : ℕ} {k : Frequency} {x : FullPoint} | |
| 1201 | - (hx : x ∈ fullStrip.domain) (hc : x ∈ phaseCell l n k) (j : Fin 2) : | |
| 1202 | - 0 < SmoothCovariance.weights (matrix l k n x) (target l k n x) j := | |
| 1203 | - (mul_pos (nativeCovariance B N0).lower_pos (fullStrip_zeta_pos hx)).trans_le | |
| 1204 | - ((nativeCovariance B N0).lower l n k x hx hc j) | |
| 1205 | - | |
| 1206 | 1150 | open scoped InnerProductSpace |
| 1207 | 1151 | open HarmonicCalculus |
| 1208 | 1152 | |
| @@ -1314,39 +1258,4 @@ theorem raw_principal_zero {β : ℝ} {request : ℕ → FullPoint → SignedWav | ||
| 1314 | 1258 | (Scaling.carrier_frequency_pos (fullStrip.epsilon_pos n)).ne' |
| 1315 | 1259 | (actual_unit_ode hx hc) (actual_unit_action hx) |
| 1316 | 1260 | |
| 1317 | -theorem fullRequest_principal_zero {β : ℝ} (s : StripData Point) | |
| 1318 | - (P : SignedStressPrimitive.Patch) (coord : ℝ) | |
| 1319 | - (c : CorrectionState.Context Point) (u : CorrectionState.State Point) | |
| 1320 | - (hR : ∀ q, PeriodizedWaveBounds.UniformLocalJets fullStrip | |
| 1321 | - (fun _ _ x => fullStrip.zeta x) β (phaseCell (B := B) (N0 := N0)) | |
| 1322 | - (fun _ n _ x => LocalSignedRequest.fullRequest s P coord c u n x q)) | |
| 1323 | - {l : SignedLabel B N0} {n : ℕ} {k : Frequency} {x : FullPoint} | |
| 1324 | - (hx : x ∈ fullStrip.domain) (hc : x ∈ phaseCell l n k) : | |
| 1325 | - (((parameters l).copyData ActualPrimaryBounds.strip | |
| 1326 | - (LocalSignedRequest.fullRequest s P coord c u)).raw k).principal fullStrip (directions B) n x = 0 := | |
| 1327 | - raw_principal_zero hR (request_frozen s P coord c u) hx hc | |
| 1328 | - | |
| 1329 | -/-- The current residuals provide every request estimate needed by the | |
| 1330 | -actual homogeneous signed equation. -/ | |
| 1331 | -theorem actual_principal_zero (G : SignedMeanGain.Geometry) | |
| 1332 | - (hs : G.strip = ActualPrimaryBounds.strip) | |
| 1333 | - (c : CorrectionState.Context Point) (u : CorrectionState.State Point) (α : ℝ) | |
| 1334 | - (H : MeanStateRegularity.PrimitiveData G.region G.patch.a G.patch.b c u) | |
| 1335 | - (hfixed : VariableGaugeMean.reconstructState G.gauge c u = u) | |
| 1336 | - (hθ : MeanClass G.strip α (u.thetaResidual c)) | |
| 1337 | - (hz : MeanClass G.strip α (u.axialResidual c)) | |
| 1338 | - {l : SignedLabel B N0} {n : ℕ} {k : Frequency} {x : FullPoint} | |
| 1339 | - (hx : x ∈ fullStrip.domain) (hc : x ∈ phaseCell l n k) : | |
| 1340 | - (((parameters l).copyData ActualPrimaryBounds.strip | |
| 1341 | - (LocalSignedRequest.fullRequest G.strip G.patch G.coord c u)).raw k).principal | |
| 1342 | - fullStrip (directions B) n x = 0 := by | |
| 1343 | - have hr := fullRequest_jets_from_residuals G c u α H hfixed hθ hz | |
| 1344 | - (phaseCell (B := B) (N0 := N0)) | |
| 1345 | - have hr' : ∀ q, PeriodizedWaveBounds.UniformLocalJets fullStrip | |
| 1346 | - (fun _ _ x => fullStrip.zeta x) (α - 1) (phaseCell (B := B) (N0 := N0)) | |
| 1347 | - (fun _ n _ x => LocalSignedRequest.fullRequest G.strip G.patch G.coord c u n x q) := by | |
| 1348 | - simp only [hs] at hr ⊢ | |
| 1349 | - exact hr | |
| 1350 | - exact fullRequest_principal_zero G.strip G.patch G.coord c u hr' hx hc | |
| 1351 | - | |
| 1352 | 1261 | end NavierStokes.ActualSignedStageControls |
+0 −59 NavierStokes/ActualSignedUnmaskedBounds.lean View file
| @@ -393,65 +393,6 @@ theorem own_zero_outside (request : ℕ → Full → SignedWaveUpdate.Vec2) | ||
| 393 | 393 | simp only [amplitude, pressure, potential, hza, hzp, CurlClassBounds.normalCoefficient, |
| 394 | 394 | CurlClassBounds.normalCross, map_zero, smul_zero, and_self] |
| 395 | 395 | |
| 396 | -/-- The full-strip families supplied to radial continuation have literal | |
| 397 | -zero values outside the original open radial interval, in every band. -/ | |
| 398 | -theorem ownFields_zero_outside (request : ℕ → Full → SignedWaveUpdate.Vec2) | |
| 399 | - (i : Label B N0 × Copy) (n : ℕ) {x : Full} | |
| 400 | - (hx : x ∈ ActualWaveRegularity.fullDomain standardRegion) | |
| 401 | - (hout : ActualWaveRegularityData.radius x ∉ Ioo | |
| 402 | - (PrimaryTargetBounds.leftRadius nominal) (PrimaryTargetBounds.rightRadius nominal)) : | |
| 403 | - ownField (amplitude request) i n x = 0 ∧ | |
| 404 | - ownField (pressure request) i n x = 0 ∧ ownField (potential request) i n x = 0 := by | |
| 405 | - by_cases hn : n = reference i.1 | |
| 406 | - · subst n | |
| 407 | - simp only [ownField_reference] | |
| 408 | - exact own_zero_outside request i.1 i.2 hx hout | |
| 409 | - · simp only [ownField_other _ i hn, and_self] | |
| 410 | - | |
| 411 | 396 | /-! ## The request is the measured current residual -/ |
| 412 | 397 | |
| 413 | -/-- The actual residual-to-request construction supplies the unmasked | |
| 414 | -potential and pressure estimates. No bound for either output is assumed. -/ | |
| 415 | -theorem actual_own_potential_pressure_class (G : SignedMeanGain.Geometry) | |
| 416 | - (hs : G.strip = ActualPrimaryBounds.strip) | |
| 417 | - (c : CorrectionState.Context Point) (u : CorrectionState.State Point) (α : ℝ) | |
| 418 | - (H : MeanStateRegularity.PrimitiveData G.region G.patch.a G.patch.b c u) | |
| 419 | - (hfixed : VariableGaugeMean.reconstructState G.gauge c u = u) | |
| 420 | - (hθ : MeanClass G.strip α (u.thetaResidual c)) | |
| 421 | - (hz : MeanClass G.strip α (u.axialResidual c)) : | |
| 422 | - let request := LocalSignedRequest.fullRequest G.strip G.patch G.coord c u | |
| 423 | - LabelSumBounds.UniformClass fullStrip | |
| 424 | - (fun (i : Label B N0 × Copy) n x => Real.sqrt (fullStrip.zeta x) * envelope i.1 n x) α | |
| 425 | - (ownField (potential request)) ∧ | |
| 426 | - LabelSumBounds.UniformClass fullStrip | |
| 427 | - (fun (i : Label B N0 × Copy) n x => Real.sqrt (fullStrip.zeta x) * envelope i.1 n x) α | |
| 428 | - (ownField (pressure request)) := by | |
| 429 | - dsimp only | |
| 430 | - have hr := fullRequest_jets_from_residuals G c u α H hfixed hθ hz | |
| 431 | - (phaseCell (B := B) (N0 := N0)) | |
| 432 | - have hr' : ∀ q, PeriodizedWaveBounds.UniformLocalJets fullStrip | |
| 433 | - (fun _ _ x => fullStrip.zeta x) (α - 1) (phaseCell (B := B) (N0 := N0)) | |
| 434 | - (fun _ n _ x => LocalSignedRequest.fullRequest G.strip G.patch G.coord c u n x q) := by | |
| 435 | - simp only [hs] at hr ⊢ | |
| 436 | - exact hr | |
| 437 | - simpa only [sub_add_cancel] using own_potential_pressure_class hr' | |
| 438 | - | |
| 439 | -/-- In particular the literal reconstructed cycle invariant is sufficient; | |
| 440 | -the only analytic output used is its already measured residual class. -/ | |
| 441 | -theorem invariant_own_potential_pressure_class {ι : Type} (G : SignedMeanGain.Geometry) | |
| 442 | - (hs : G.strip = ActualPrimaryBounds.strip) | |
| 443 | - (c : CorrectionState.Context Point) (primary : ι → CorrectionState.HarmonicBlock Point) | |
| 444 | - (P : ι → ℕ → Point → ℝ) (labelCarrier : ι → ℕ → Set Point) | |
| 445 | - (σ : ℝ) (u : CorrectionStep.CycleState ι) | |
| 446 | - (H : CorrectionStep.CycleAnalyticInvariant G c primary P labelCarrier σ u) : | |
| 447 | - let request := LocalSignedRequest.fullRequest G.strip G.patch G.coord c u.state | |
| 448 | - LabelSumBounds.UniformClass fullStrip | |
| 449 | - (fun (i : Label B N0 × Copy) n x => Real.sqrt (fullStrip.zeta x) * envelope i.1 n x) (1 + σ) | |
| 450 | - (ownField (potential request)) ∧ | |
| 451 | - LabelSumBounds.UniformClass fullStrip | |
| 452 | - (fun (i : Label B N0 × Copy) n x => Real.sqrt (fullStrip.zeta x) * envelope i.1 n x) (1 + σ) | |
| 453 | - (ownField (pressure request)) := | |
| 454 | - actual_own_potential_pressure_class G hs c u.state (1 + σ) H.primitives H.reconstructed | |
| 455 | - H.raw_mean_bounds.1 H.raw_mean_bounds.2 | |
| 456 | - | |
| 457 | 398 | end NavierStokes.ActualSignedUnmaskedBounds |
+0 −87 NavierStokes/ActualSignedWaveData.lean View file
| @@ -27,7 +27,6 @@ open PhysicalWaveSum PhysicalCopyBounds | ||
| 27 | 27 | open scoped Topology ContDiff BigOperators |
| 28 | 28 | |
| 29 | 29 | abbrev Label := ActualSignedPhysicalBinding.Label |
| 30 | -abbrev Native := ActualSignedPhysicalData.Native | |
| 31 | 30 | abbrev SourceIndex := Σ (_ : BandLabel), ActualSignedPhysicalData.SourceIndex |
| 32 | 31 | |
| 33 | 32 | variable {B N0 : ℕ} |
| @@ -57,23 +56,6 @@ noncomputable def singletonGeometry | ||
| 57 | 56 | ActualSignedPhysicalData.ReferenceGeometry slots ((family P u H hp).singleton L) := |
| 58 | 57 | ActualSignedReferenceGeometry.singletonGeometry P u H hp L |
| 59 | 58 | |
| 60 | -/-- One actual bound works for every native label and both signs. -/ | |
| 61 | -theorem singleton_frequencies | |
| 62 | - (L : ActualSignedPhysicalData.NativeLabel (family (N0 := N0) P u H hp).active) | |
| 63 | - (K : ActualSignedPhysicalData.NativeLabel ((family P u H hp).singleton L).active) : | |
| 64 | - |((((family P u H hp).singleton L).primary K).pulse | |
| 65 | - (((family P u H hp).singleton L).column K)).phase.p K.val.1| ≤ | |
| 66 | - ActualPhaseJetBounds.phaseSize B N0 ∧ | |
| 67 | - |((((family P u H hp).singleton L).primary K).pulse | |
| 68 | - (((family P u H hp).singleton L).column K)).phase.pz K.val.1| ≤ | |
| 69 | - ActualPhaseJetBounds.phaseSize B N0 ∧ | |
| 70 | - |((((family P u H hp).singleton L).primary K).pulse | |
| 71 | - (((family P u H hp).singleton L).column K)).phase.x0 K.val.1| ≤ | |
| 72 | - ActualPhaseJetBounds.phaseSize B N0 := by | |
| 73 | - rw [ActualSignedReferenceGeometry.singleton_index_eq (family P u H hp) L K] | |
| 74 | - exact ActualPhaseJetBounds.phase_constants_bound | |
| 75 | - ((ActualSignedExterior.actualLabel L).2, (ActualSignedExterior.actualLabel L).1) | |
| 76 | - | |
| 77 | 59 | end Geometry |
| 78 | 60 | |
| 79 | 61 | private theorem cells_mpr {H : ℕ} {K : Type*} {f g : CopyFamily H K} |
| @@ -232,19 +214,6 @@ theorem pressure_field_eq {w : SpaceTime} (hw : w ∈ preterminal) : | ||
| 232 | 214 | ActualSignedExterior.pressure s w := |
| 233 | 215 | congrArg Complex.re (PositiveTimeCopyFamily.sum_eq _ _ _ _ hw) |
| 234 | 216 | |
| 235 | -theorem potential_field_germ {w : SpaceTime} (hw : w ∈ preterminal) : | |
| 236 | - vectorSum (potentialCopies s) ActualPolarCoverage.inner h slots.radius =ᶠ[𝓝 w] | |
| 237 | - ActualSignedExterior.potential s := | |
| 238 | - PositiveTimeCopyFamily.vectorSum_germ _ _ _ _ hw | |
| 239 | - | |
| 240 | -theorem pressure_field_germ {w : SpaceTime} (hw : w ∈ preterminal) : | |
| 241 | - (fun w => ((pressureCopies s).sum ActualPolarCoverage.inner h slots.radius w).re) =ᶠ[𝓝 w] | |
| 242 | - ActualSignedExterior.pressure s := by | |
| 243 | - filter_upwards [PositiveTimeCopyFamily.sum_germ | |
| 244 | - ((ActualSignedExterior.family s).pressureCopies slots outgoing.data.h_pos.le) | |
| 245 | - ActualPolarCoverage.inner h slots.radius hw] with y hy | |
| 246 | - exact congrArg Complex.re hy | |
| 247 | - | |
| 248 | 217 | |
| 249 | 218 | /-- The carrier coefficients remain jointly bounded after label selection |
| 250 | 219 | and the positive-time extension. -/ |
| @@ -478,22 +447,6 @@ variable | ||
| 478 | 447 | @[simp] theorem pressureOfNative_shift : |
| 479 | 448 | (pressureOfNative s hgeo hn hpressure).shift = -(2 * CoordinateAlgebra.A h) := rfl |
| 480 | 449 | |
| 481 | -theorem potentialOfNative_vector_eq {w : SpaceTime} (hw : w ∈ preterminal) : | |
| 482 | - (potentialOfNative s hgeo hn hpotential).vector w = ActualSignedExterior.potential s w := | |
| 483 | - potential_field_eq s hw | |
| 484 | - | |
| 485 | -theorem pressureOfNative_pressure_eq {w : SpaceTime} (hw : w ∈ preterminal) : | |
| 486 | - (pressureOfNative s hgeo hn hpressure).pressure w = ActualSignedExterior.pressure s w := | |
| 487 | - pressure_field_eq s hw | |
| 488 | - | |
| 489 | -theorem potentialOfNative_vector_germ {w : SpaceTime} (hw : w ∈ preterminal) : | |
| 490 | - (potentialOfNative s hgeo hn hpotential).vector =ᶠ[𝓝 w] ActualSignedExterior.potential s := | |
| 491 | - potential_field_germ s hw | |
| 492 | - | |
| 493 | -theorem pressureOfNative_pressure_germ {w : SpaceTime} (hw : w ∈ preterminal) : | |
| 494 | - (pressureOfNative s hgeo hn hpressure).pressure =ᶠ[𝓝 w] ActualSignedExterior.pressure s := | |
| 495 | - pressure_field_germ s hw | |
| 496 | - | |
| 497 | 450 | end NativeAssembly |
| 498 | 451 | |
| 499 | 452 | |
| @@ -599,46 +552,6 @@ theorem cyclePressureData_eq : EqOn (cyclePressureData x R).pressure | ||
| 599 | 552 | (ActualSignedPhysicalBinding.afterParticular_pressure x R.primitive)) preterminal := |
| 600 | 553 | fun _ hw => pressure_field_eq _ hw |
| 601 | 554 | |
| 602 | -theorem cyclePotentialData_germ {w : SpaceTime} (hw : w ∈ preterminal) : | |
| 603 | - (cyclePotentialData x R).vector =ᶠ[𝓝 w] | |
| 604 | - ActualSignedExterior.cyclePotential x R.primitive | |
| 605 | - (ActualSignedPhysicalBinding.afterParticular_pressure x R.primitive) := | |
| 606 | - potential_field_germ _ hw | |
| 607 | - | |
| 608 | -theorem cyclePressureData_germ {w : SpaceTime} (hw : w ∈ preterminal) : | |
| 609 | - (cyclePressureData x R).pressure =ᶠ[𝓝 w] | |
| 610 | - ActualSignedExterior.cyclePressure x R.primitive | |
| 611 | - (ActualSignedPhysicalBinding.afterParticular_pressure x R.primitive) := | |
| 612 | - pressure_field_germ _ hw | |
| 613 | - | |
| 614 | -/-- A consequence for the original signed potential, including every | |
| 615 | -ambient time and spatial derivative. -/ | |
| 616 | -theorem cyclePotential_bound (m : ℕ) : | |
| 617 | - ∃ C : ℝ, 0 ≤ C ∧ ∀ w ∈ preterminal, physicalQ h w ≤ 1 → | |
| 618 | - ‖iteratedFDeriv ℝ m | |
| 619 | - (ActualSignedExterior.cyclePotential x R.primitive | |
| 620 | - (ActualSignedPhysicalBinding.afterParticular_pressure x R.primitive)) w‖ ≤ | |
| 621 | - C * physicalQ h w ^ (h * (1 + σ - ChartScales.kappa) - | |
| 622 | - PhysicalClassBounds.physicalLoss h (-h) m) := by | |
| 623 | - obtain ⟨C, hC, hb⟩ := (cyclePotentialData x R).vector_bound | |
| 624 | - outgoing.data.h_pos outgoing.data.h_lt_half m | |
| 625 | - refine ⟨C, hC, fun w hw hq => ?_⟩ | |
| 626 | - rw [← PhysicalWaveSum.iteratedFDeriv_eq_of_eventuallyEq (cyclePotentialData_germ x R hw) m] | |
| 627 | - exact hb w hw hq | |
| 628 | - | |
| 629 | -theorem cyclePressure_bound (m : ℕ) : | |
| 630 | - ∃ C : ℝ, 0 ≤ C ∧ ∀ w ∈ preterminal, physicalQ h w ≤ 1 → | |
| 631 | - ‖iteratedFDeriv ℝ m | |
| 632 | - (ActualSignedExterior.cyclePressure x R.primitive | |
| 633 | - (ActualSignedPhysicalBinding.afterParticular_pressure x R.primitive)) w‖ ≤ | |
| 634 | - C * physicalQ h w ^ (h * (1 + σ - ChartScales.kappa) - | |
| 635 | - PhysicalClassBounds.physicalLoss h (-(2 * CoordinateAlgebra.A h)) m) := by | |
| 636 | - obtain ⟨C, hC, hb⟩ := (cyclePressureData x R).pressure_bound | |
| 637 | - outgoing.data.h_pos outgoing.data.h_lt_half m | |
| 638 | - refine ⟨C, hC, fun w hw hq => ?_⟩ | |
| 639 | - rw [← PhysicalWaveSum.iteratedFDeriv_eq_of_eventuallyEq (cyclePressureData_germ x R hw) m] | |
| 640 | - exact hb w hw hq | |
| 641 | - | |
| 642 | 555 | end Cycle |
| 643 | 556 | |
| 644 | 557 | /-! ## The actual infinite stage sequence -/ |
+0 −194 NavierStokes/ActualSlowAxis.lean View file
| @@ -44,29 +44,6 @@ theorem parameterDomain_real {Ω : Set ℂ} | ||
| 44 | 44 | theorem parameterDomain_real_interval {Ω : Set ℂ} {eta : ℝ} |
| 45 | 45 | (heta : (eta : ℂ) ∈ parameterDomain Ω) : eta ∈ ReferencePath.parameterInterval := heta.2 |
| 46 | 46 | |
| 47 | -theorem parameterTube_conjugate (J : AxisCoefficientSpace.Window) {ρ : ℝ} {z : ℂ} | |
| 48 | - (hz : z ∈ AxisHolomorphic.parameterTube J ρ) : | |
| 49 | - starRingEnd ℂ z ∈ AxisHolomorphic.parameterTube J ρ := by | |
| 50 | - rcases hz with ⟨x, hx, hd⟩ | |
| 51 | - refine ⟨x, hx, ?_⟩ | |
| 52 | - simpa only [Complex.dist_conj_comm, Complex.conj_ofReal] using hd | |
| 53 | - | |
| 54 | -theorem smallTube_subset_domain {ρ τ : ℝ} (hτρ : τ ≤ ρ) (hτ : τ ≤ 1 / 40) : | |
| 55 | - AxisHolomorphic.parameterTube ActivationHolomorphic.parameterWindow τ ⊆ | |
| 56 | - parameterDomain (AxisHolomorphic.parameterTube ActivationHolomorphic.parameterWindow ρ) := by | |
| 57 | - intro z hz | |
| 58 | - rcases hz with ⟨x, hx, hd⟩ | |
| 59 | - have hzρ : z ∈ AxisHolomorphic.parameterTube ActivationHolomorphic.parameterWindow ρ := | |
| 60 | - ⟨x, hx, lt_of_lt_of_le hd hτρ⟩ | |
| 61 | - refine ⟨⟨hzρ, parameterTube_conjugate _ hzρ⟩, ?_⟩ | |
| 62 | - have hre : |z.re - x| ≤ dist z (x : ℂ) := by | |
| 63 | - simpa only [dist_eq_norm, Complex.sub_re, Complex.ofReal_re] using | |
| 64 | - Complex.abs_re_le_norm (z - (x : ℂ)) | |
| 65 | - have hb := abs_lt.mp (lt_of_le_of_lt hre hd) | |
| 66 | - change -21 / 20 ≤ x ∧ x ≤ 21 / 20 at hx | |
| 67 | - change -11 / 10 < z.re ∧ z.re < 11 / 10 | |
| 68 | - constructor <;> linarith [hx.1, hx.2, hb.1, hb.2] | |
| 69 | - | |
| 70 | 47 | theorem histories_congr_below {D D' : ProfileHistories.RadialDomain} |
| 71 | 48 | (P : ProfileHistories.Profiles D) (Q : ProfileHistories.Profiles D') |
| 72 | 49 | {X eta : ℝ} (hX : 0 ≤ X) (hP0 : P.pressure0 eta = Q.pressure0 eta) |
| @@ -164,42 +141,12 @@ theorem element_profile {T δ : ℝ} (hT : 0 < T) (hδ : 0 < δ) | ||
| 164 | 141 | (fields_real E hT hδ hδT κ hP0 i X heta) |
| 165 | 142 | exact congrArg Complex.re hc |
| 166 | 143 | |
| 167 | -theorem realFields_smooth {T δ : ℝ} (hT : 0 < T) (hδ : 0 < δ) | |
| 168 | - (hδT : 2 * δ < ReferencePath.rampLimit) (κ : ℝ) (hP0 : ContDiff ℝ ∞ P0) | |
| 169 | - (i : Fin 4) : ContDiffOn ℝ ∞ (realFields (N := N) hT hδ hδT κ hP0 i) N.radialDomain.carrier := by | |
| 170 | - let P := StressActivation.FromReference.histories N hT hδ hδT κ P0 hP0 | |
| 171 | - fin_cases i | |
| 172 | - · exact P.f_smooth | |
| 173 | - · exact P.U_smooth | |
| 174 | - · exact P.Ubar_smooth | |
| 175 | - · exact P.pressure_smooth | |
| 176 | - | |
| 177 | 144 | theorem real_domain_mem (N : ReferencePath.Input) {X eta : ℝ} (hX : 0 ≤ X) |
| 178 | 145 | (heta : eta ∈ ReferencePath.parameterInterval) : (X, eta) ∈ N.radialDomain.carrier := by |
| 179 | 146 | refine ⟨?_, heta⟩ |
| 180 | 147 | have := mul_nonneg N.scale_pos.le hX |
| 181 | 148 | linarith |
| 182 | 149 | |
| 183 | -/-- The canonical right jets agree with the actual smooth ACT jets at the | |
| 184 | -axis as well as at every positive radius. -/ | |
| 185 | -theorem element_right_jets {T δ : ℝ} (hT : 0 < T) (hδ : 0 < δ) | |
| 186 | - (hδT : 2 * δ < ReferencePath.rampLimit) (κ : ℝ) (hP0 : ContDiff ℝ ∞ P0) | |
| 187 | - (S : ℝ) (i : Fin 4) (k : ℕ) {X eta : ℝ} (hX : 0 ≤ X) | |
| 188 | - (heta : eta ∈ ReferencePath.parameterInterval) : | |
| 189 | - iteratedDerivWithin k (fun Y => SlowRecursion.profile (element E hT hδ hδT κ hP0 S i) (Y, eta)) (Ici 0) X = | |
| 190 | - iteratedDeriv k (fun Y => realFields (N := N) hT hδ hδT κ hP0 i (Y, eta)) X := by | |
| 191 | - have he : EqOn (fun Y => SlowRecursion.profile (element E hT hδ hδT κ hP0 S i) (Y, eta)) | |
| 192 | - (fun Y => realFields (N := N) hT hδ hδT κ hP0 i (Y, eta)) (Ici 0) := | |
| 193 | - fun Y hY => element_profile E hT hδ hδT κ hP0 S i hY heta | |
| 194 | - rw [iteratedDerivWithin_congr he hX] | |
| 195 | - have hs : ContDiffAt ℝ ∞ (fun Y => realFields (N := N) hT hδ hδT κ hP0 i (Y, eta)) X := | |
| 196 | - ((realFields_smooth hT hδ hδT κ hP0 i).contDiffAt | |
| 197 | - (N.radialDomain.isOpen.mem_nhds (real_domain_mem N hX heta))).comp X | |
| 198 | - (contDiffAt_id.prodMk contDiffAt_const) | |
| 199 | - simp only [iteratedDerivWithin_eq_iteratedFDerivWithin, iteratedDeriv_eq_iteratedFDeriv] | |
| 200 | - rw [iteratedFDerivWithin_eq_iteratedFDeriv (uniqueDiffOn_Ici 0) | |
| 201 | - (hs.of_le (ENat.natCast_le_of_coe_top_le_withTop le_rfl k)) hX] | |
| 202 | - | |
| 203 | 150 | theorem element_profile_germ {T δ : ℝ} (hT : 0 < T) (hδ : 0 < δ) |
| 204 | 151 | (hδT : 2 * δ < ReferencePath.rampLimit) (κ : ℝ) (hP0 : ContDiff ℝ ∞ P0) |
| 205 | 152 | (S : ℝ) (i : Fin 4) {X eta : ℝ} (hX : 0 < X) |
| @@ -304,27 +251,6 @@ theorem hierarchy_base_values {T δ : ℝ} (hT : 0 < T) (hδ : 0 < δ) | ||
| 304 | 251 | simp only [(hierarchy E hT hδ hδT κ hP0 C).starts] |
| 305 | 252 | exact base_values E hT hδ hδT κ hP0 C _ hX heta |
| 306 | 253 | |
| 307 | -theorem hierarchy_physical_swirl {T δ : ℝ} (hT : 0 < T) (hδ : 0 < δ) | |
| 308 | - (hδT : 2 * δ < ReferencePath.rampLimit) (κ : ℝ) (hP0 : ContDiff ℝ ∞ P0) | |
| 309 | - {C : ℝ} (hC : C ≠ 0) {X eta : ℝ} (hX : 0 ≤ X) | |
| 310 | - (heta : eta ∈ ReferencePath.parameterInterval) : | |
| 311 | - let A := hierarchy E hT hδ hδT κ hP0 C | |
| 312 | - let P := StressActivation.FromReference.histories N hT hδ hδT κ P0 hP0 | |
| 313 | - Real.sqrt (2 * X) * SlowRecursion.profile (A.coefficients 0 0) (X, eta) / C = P.E (X, eta) := by | |
| 314 | - have hv := (hierarchy_base_values E hT hδ hδT κ hP0 C hX heta).1 | |
| 315 | - dsimp only | |
| 316 | - rw [hv] | |
| 317 | - unfold ProfileHistories.Profiles.E | |
| 318 | - field_simp | |
| 319 | - | |
| 320 | -theorem hierarchy_on_collar {T δ : ℝ} (hT : 0 < T) (hδ : 0 < δ) | |
| 321 | - (hδT : 2 * δ < ReferencePath.rampLimit) (κ : ℝ) (hP0 : ContDiff ℝ ∞ P0) (C : ℝ) | |
| 322 | - {n : ℕ} (hn : 0 < n) {X eta : ℝ} (hX : 0 < X) | |
| 323 | - (hcollar : X ≤ N.endpoint * Real.exp δ) (heta : eta ∈ Icc (-1 : ℝ) 1) : | |
| 324 | - SlowRecursion.OrderEquations h C (hierarchy E hT hδ hδT κ hP0 C).coefficients n (X, eta) := | |
| 325 | - (hierarchy E hT hδ hδT κ hP0 C).equations n hn X | |
| 326 | - ⟨hX, lt_of_le_of_lt hcollar (collar_lt_square N δ)⟩ eta (parameterDomain_real E.real_mem heta) | |
| 327 | - | |
| 328 | 254 | end ActualBase |
| 329 | 255 | |
| 330 | 256 | section NaturalConstruction |
| @@ -344,9 +270,6 @@ theorem exists_tube_of_pressure_eq : | ||
| 344 | 270 | |
| 345 | 271 | noncomputable def tubeWidth : ℝ := Classical.choose (exists_tube_of_pressure_eq hp hP0 F hΛ hsmall hσ) |
| 346 | 272 | |
| 347 | -theorem tubeWidth_pos : 0 < tubeWidth hp hP0 F hΛ hsmall hσ := | |
| 348 | - (Classical.choose_spec (exists_tube_of_pressure_eq hp hP0 F hΛ hsmall hσ)).1 | |
| 349 | - | |
| 350 | 273 | /-- This witness is obtained from the actual coefficient-space natural |
| 351 | 274 | solution and the proved pressure integral, not supplied by the caller. -/ |
| 352 | 275 | noncomputable def constructedTube : InitialTube (ReferenceJetBounds.referenceInput F hΛ) h P0 (5 / Λ) |
| @@ -362,20 +285,6 @@ noncomputable def fromNatural {T δ : ℝ} (hT : 0 < T) (hδ : 0 < δ) | ||
| 362 | 285 | (hδT : 2 * δ < ReferencePath.rampLimit) (κ : ℝ) := |
| 363 | 286 | hierarchy (constructedTube hp hP0 F hΛ hsmall hσ) hT hδ hδT κ (actualPressure_smooth hp hP0) C |
| 364 | 287 | |
| 365 | -theorem fromNatural_window {eta : ℝ} (heta : eta ∈ Icc (-1 : ℝ) 1) : | |
| 366 | - (eta : ℂ) ∈ parameterDomain | |
| 367 | - (AxisHolomorphic.parameterTube ActivationHolomorphic.parameterWindow (tubeWidth hp hP0 F hΛ hsmall hσ)) := | |
| 368 | - parameterDomain_real (constructedTube hp hP0 F hΛ hsmall hσ).real_mem heta | |
| 369 | - | |
| 370 | -theorem fromNatural_uniform_tube : | |
| 371 | - ∃ τ : ℝ, 0 < τ ∧ | |
| 372 | - AxisHolomorphic.parameterTube ActivationHolomorphic.parameterWindow τ ⊆ | |
| 373 | - parameterDomain (AxisHolomorphic.parameterTube ActivationHolomorphic.parameterWindow | |
| 374 | - (tubeWidth hp hP0 F hΛ hsmall hσ)) := by | |
| 375 | - exact ⟨min (tubeWidth hp hP0 F hΛ hsmall hσ) (1 / 40), | |
| 376 | - lt_min (tubeWidth_pos hp hP0 F hΛ hsmall hσ) (by norm_num), | |
| 377 | - smallTube_subset_domain (min_le_left _ _) (min_le_right _ _)⟩ | |
| 378 | - | |
| 379 | 288 | theorem fromNatural_base_values {T δ : ℝ} (hT : 0 < T) (hδ : 0 < δ) |
| 380 | 289 | (hδT : 2 * δ < ReferencePath.rampLimit) (κ : ℝ) {X eta : ℝ} (hX : 0 ≤ X) |
| 381 | 290 | (heta : eta ∈ ReferencePath.parameterInterval) : |
| @@ -389,109 +298,6 @@ theorem fromNatural_base_values {T δ : ℝ} (hT : 0 < T) (hδ : 0 < δ) | ||
| 389 | 298 | hierarchy_base_values (constructedTube hp hP0 F hΛ hsmall hσ) hT hδ hδT κ |
| 390 | 299 | (actualPressure_smooth hp hP0) C hX heta |
| 391 | 300 | |
| 392 | -theorem fromNatural_positive_order {T δ : ℝ} (hT : 0 < T) (hδ : 0 < δ) | |
| 393 | - (hδT : 2 * δ < ReferencePath.rampLimit) (κ : ℝ) {n : ℕ} (hn : 0 < n) | |
| 394 | - {X eta : ℝ} (hX : 0 < X) | |
| 395 | - (hcollar : X ≤ (ReferenceJetBounds.referenceInput F hΛ).endpoint * Real.exp δ) | |
| 396 | - (heta : eta ∈ Icc (-1 : ℝ) 1) : | |
| 397 | - SlowRecursion.OrderEquations h C | |
| 398 | - (fromNatural hp hP0 F hΛ hsmall hσ hT hδ hδT κ).coefficients n (X, eta) := | |
| 399 | - hierarchy_on_collar (constructedTube hp hP0 F hΛ hsmall hσ) hT hδ hδT κ | |
| 400 | - (actualPressure_smooth hp hP0) C hn hX hcollar heta | |
| 401 | - | |
| 402 | -theorem fromNatural_initial {T δ : ℝ} (hT : 0 < T) (hδ : 0 < δ) | |
| 403 | - (hδT : 2 * δ < ReferencePath.rampLimit) (κ : ℝ) {X eta : ℝ} | |
| 404 | - (hX : 0 ≤ X) (hinitial : X ≤ 4 / Λ) (heta : eta ∈ ReferencePath.parameterInterval) : | |
| 405 | - let A := fromNatural hp hP0 F hΛ hsmall hσ hT hδ hδT κ | |
| 406 | - SlowRecursion.profile (A.coefficients 0 0) (X, eta) = C * F.family.f (X, eta) ∧ | |
| 407 | - SlowRecursion.profile (A.coefficients 0 1) (X, eta) = F.family.U (X, eta) := by | |
| 408 | - have hv := fromNatural_base_values hp hP0 F hΛ hsmall hσ hT hδ hδT κ hX heta | |
| 409 | - have he : X ≤ (ReferenceJetBounds.referenceInput F hΛ).endpoint := hinitial | |
| 410 | - dsimp only at hv ⊢ | |
| 411 | - refine ⟨hv.1.trans ?_, hv.2.1.trans ?_⟩ | |
| 412 | - · change C * StressActivation.FromReference.f _ T κ δ (X, eta) = _ | |
| 413 | - rw [StressActivation.FromReference.f_eq_reference _ T κ δ he, | |
| 414 | - ReferencePath.Input.refF_eq_natural_initial _ δ he] | |
| 415 | - rfl | |
| 416 | - · change StressActivation.FromReference.U _ T κ δ (X, eta) = _ | |
| 417 | - rw [StressActivation.FromReference.U_eq_reference _ T κ δ he, | |
| 418 | - ReferencePath.Input.refU_eq_natural_initial _ δ he] | |
| 419 | - rfl | |
| 420 | - | |
| 421 | -theorem fromNatural_stock_prefix {T δ κ w₁ w₂ : ℝ} (hT : 0 < T) (hδ : 0 < δ) | |
| 422 | - (hδT : 2 * δ < ReferencePath.rampLimit) | |
| 423 | - (hb : δ ≤ (TransitionRamp.ofNatural F.family hΛ hsmall hδ hδT (actualPressure_smooth hp hP0)).bigTime) | |
| 424 | - (hw₁ : 0 < w₁) (hw₂ : 0 < w₂) {X eta : ℝ} (hX : 0 ≤ X) | |
| 425 | - (hcollar : X ≤ (ReferenceJetBounds.referenceInput F hΛ).endpoint * Real.exp δ) | |
| 426 | - (heta : eta ∈ ReferencePath.parameterInterval) : | |
| 427 | - let A := fromNatural hp hP0 F hΛ hsmall hσ hT hδ hδT κ | |
| 428 | - let Q := TransitionRamp.physicalProfiles F.family hΛ hsmall hδ hδT | |
| 429 | - (actualPressure_smooth hp hP0) (κ := κ) hT hb hw₁ hw₂ | |
| 430 | - SlowRecursion.profile (A.coefficients 0 0) (X, eta) = C * Q.f (X, eta) ∧ | |
| 431 | - SlowRecursion.profile (A.coefficients 0 1) (X, eta) = Q.U (X, eta) ∧ | |
| 432 | - SlowRecursion.profile (A.coefficients 0 2) (X, eta) = Q.Ubar (X, eta) - Q.U (X, eta) ∧ | |
| 433 | - SlowRecursion.profile (A.coefficients 0 3) (X, eta) = Q.pressure (X, eta) := by | |
| 434 | - let P := StressActivation.FromReference.histories (ReferenceJetBounds.referenceInput F hΛ) | |
| 435 | - hT hδ hδT κ P0 (actualPressure_smooth hp hP0) | |
| 436 | - let Q := TransitionRamp.physicalProfiles F.family hΛ hsmall hδ hδT | |
| 437 | - (actualPressure_smooth hp hP0) (κ := κ) hT hb hw₁ hw₂ | |
| 438 | - have he (Y : ℝ) (hY : Y ≤ X) : Q.f (Y, eta) = P.f (Y, eta) ∧ Q.U (Y, eta) = P.U (Y, eta) := | |
| 439 | - TransitionRamp.physical_fields_eq_activation F.family hΛ hsmall hδ hδT | |
| 440 | - (actualPressure_smooth hp hP0) hT hb hw₁ hw₂ heta (le_trans hY hcollar) | |
| 441 | - have hhist := histories_congr_below Q P hX rfl | |
| 442 | - (fun Y hY => (he Y hY.2).1) (fun Y hY => (he Y hY.2).2) | |
| 443 | - have hv := fromNatural_base_values hp hP0 F hΛ hsmall hσ hT hδ hδT κ hX heta | |
| 444 | - dsimp only at hv ⊢ | |
| 445 | - exact ⟨hv.1.trans (congrArg (C * ·) (he X le_rfl).1.symm), | |
| 446 | - hv.2.1.trans (he X le_rfl).2.symm, | |
| 447 | - hv.2.2.1.trans (congrArg₂ (· - ·) hhist.1.symm (he X le_rfl).2.symm), | |
| 448 | - hv.2.2.2.trans hhist.2.symm⟩ | |
| 449 | - | |
| 450 | -theorem fromNatural_stock_fields {T δ κ w₁ w₂ : ℝ} (hT : 0 < T) (hδ : 0 < δ) | |
| 451 | - (hδT : 2 * δ < ReferencePath.rampLimit) (hC : C ≠ 0) | |
| 452 | - (hb : δ ≤ (TransitionRamp.ofNatural F.family hΛ hsmall hδ hδT (actualPressure_smooth hp hP0)).bigTime) | |
| 453 | - (hw₁ : 0 < w₁) (hw₂ : 0 < w₂) {X eta : ℝ} (hX : 0 ≤ X) | |
| 454 | - (hcollar : X ≤ (ReferenceJetBounds.referenceInput F hΛ).endpoint * Real.exp δ) | |
| 455 | - (heta : eta ∈ ReferencePath.parameterInterval) : | |
| 456 | - let A := fromNatural hp hP0 F hΛ hsmall hσ hT hδ hδT κ | |
| 457 | - let Q := TransitionRamp.physicalProfiles F.family hΛ hsmall hδ hδT | |
| 458 | - (actualPressure_smooth hp hP0) (κ := κ) hT hb hw₁ hw₂ | |
| 459 | - Real.sqrt (2 * X) * SlowRecursion.profile (A.coefficients 0 0) (X, eta) / C = Q.E (X, eta) ∧ | |
| 460 | - SlowRecursion.profile (A.coefficients 0 1) (X, eta) = Q.U (X, eta) ∧ | |
| 461 | - SlowRecursion.profile (A.coefficients 0 3) (X, eta) = Q.pressure (X, eta) := by | |
| 462 | - have hv := fromNatural_stock_prefix hp hP0 F hΛ hsmall hσ (κ := κ) hT hδ hδT hb hw₁ hw₂ hX hcollar heta | |
| 463 | - refine ⟨?_, hv.2.1, hv.2.2.2⟩ | |
| 464 | - rw [hv.1] | |
| 465 | - unfold ProfileHistories.Profiles.E | |
| 466 | - field_simp | |
| 467 | - | |
| 468 | -theorem fromNatural_profiles_smooth {T δ : ℝ} (hT : 0 < T) (hδ : 0 < δ) | |
| 469 | - (hδT : 2 * δ < ReferencePath.rampLimit) (κ : ℝ) (n : ℕ) (i : Fin 5) : | |
| 470 | - ContDiffOn ℝ ∞ | |
| 471 | - (SlowRecursion.profile ((fromNatural hp hP0 F hΛ hsmall hσ hT hδ hδT κ).coefficients n i)) | |
| 472 | - (Ico (0 : ℝ) (axisRadius (ReferenceJetBounds.referenceInput F hΛ) δ ^ 2) ×ˢ | |
| 473 | - PositiveAxisExistence.realParameterDomain (parameterDomain | |
| 474 | - (AxisHolomorphic.parameterTube ActivationHolomorphic.parameterWindow (tubeWidth hp hP0 F hΛ hsmall hσ)))) := | |
| 475 | - (fromNatural hp hP0 F hΛ hsmall hσ hT hδ hδT κ).profiles_smooth (axisRadius_pos _ _) | |
| 476 | - (parameterDomain_open (constructedTube hp hP0 F hΛ hsmall hσ).isOpen) n i | |
| 477 | - | |
| 478 | -theorem fromNatural_zero_axis {T δ : ℝ} (hT : 0 < T) (hδ : 0 < δ) | |
| 479 | - (hδT : 2 * δ < ReferencePath.rampLimit) (κ : ℝ) {n : ℕ} (hn : 0 < n) | |
| 480 | - (i : Fin 5) {eta : ℝ} (heta : eta ∈ Icc (-1 : ℝ) 1) : | |
| 481 | - (fromNatural hp hP0 F hΛ hsmall hσ hT hδ hδT κ).coefficients n i (0, (eta : ℂ)) = 0 := | |
| 482 | - (fromNatural hp hP0 F hΛ hsmall hσ hT hδ hδT κ).zero_axis n hn i (eta : ℂ) | |
| 483 | - (fromNatural_window hp hP0 F hΛ hsmall hσ heta) | |
| 484 | - | |
| 485 | -theorem fromNatural_axis_jets {T δ : ℝ} (hT : 0 < T) (hδ : 0 < δ) | |
| 486 | - (hδT : 2 * δ < ReferencePath.rampLimit) (κ : ℝ) (n : ℕ) (i : Fin 5) (k : ℕ) | |
| 487 | - {eta : ℝ} (heta : eta ∈ Icc (-1 : ℝ) 1) : | |
| 488 | - let A := fromNatural hp hP0 F hΛ hsmall hσ hT hδ hδT κ | |
| 489 | - iteratedDerivWithin k (fun X => SlowRecursion.profile (A.coefficients n i) (X, eta)) (Ici 0) 0 = | |
| 490 | - ((k.factorial : ℝ) / ((2 * k).factorial : ℝ)) • | |
| 491 | - iteratedDeriv (2 * k) (fun r => (A.coefficients n i (r, (eta : ℂ))).re) 0 := | |
| 492 | - SlowRecursion.profile_axis_jet (axisRadius_pos _ _) _ | |
| 493 | - (fromNatural_window hp hP0 F hΛ hsmall hσ heta) k | |
| 494 | - | |
| 495 | 301 | end NaturalConstruction |
| 496 | 302 | |
| 497 | 303 | end NavierStokes.ActualSlowAxis |
+0 −119 NavierStokes/ActualStageEstimates.lean View file
| @@ -206,48 +206,6 @@ noncomputable def cycleInputs : CycleInputs h DP (Fin 3 × IP) KP DS (Fin 3 × I | ||
| 206 | 206 | angular := angularInput R M hN |
| 207 | 207 | pressure := pressureInput R M hN |
| 208 | 208 | |
| 209 | -theorem cycleInputs_potential (j : ℕ) : | |
| 210 | - (cycleInputs R M hN W).potential j = fun w => | |
| 211 | - (W.particularPotential j).vector w + (W.signedPotential j).vector w + | |
| 212 | - ((ActualMeanPhysicalData.initialCycleData M).temporalFamily j).angularField w + | |
| 213 | - ((ActualMeanPhysicalData.initialCycleData M).rankFamily j).angularField w := rfl | |
| 214 | - | |
| 215 | -theorem cycleInputs_direct (j : ℕ) : | |
| 216 | - (cycleInputs R M hN W).direct j = | |
| 217 | - ((ActualMeanPhysicalData.initialCycleData M).angularIncrementFamily j).angularField := rfl | |
| 218 | - | |
| 219 | -theorem cycleInputs_pressure (j : ℕ) : | |
| 220 | - (cycleInputs R M hN W).pressureField j = fun w => | |
| 221 | - (W.particularPressure j).pressure w + (W.signedPressure j).pressure w + | |
| 222 | - ((ActualMeanPhysicalData.initialCycleData M).pressureIncrementFamily j).field w := rfl | |
| 223 | - | |
| 224 | -theorem cycleInputs_metadata : (cycleInputs R M hN W).Metadata ChartScales.kappa := by | |
| 225 | - constructor | |
| 226 | - · intro j | |
| 227 | - exact (nativePotential_eq_ledger j).symm.le.trans (W.particularPotential_exponent j) | |
| 228 | - · intro j | |
| 229 | - exact (W.particularPotential_shift j).ge | |
| 230 | - · intro j | |
| 231 | - exact (nativePotential_eq_ledger j).symm.le.trans (W.signedPotential_exponent j) | |
| 232 | - · intro j | |
| 233 | - exact (W.signedPotential_shift j).ge | |
| 234 | - · intro j | |
| 235 | - exact (nativeMean_eq_ledger j).ge | |
| 236 | - · intro j | |
| 237 | - exact (nativeMean_eq_ledger j).ge | |
| 238 | - · intro j | |
| 239 | - exact (nativeMean_eq_ledger j).ge | |
| 240 | - · intro j | |
| 241 | - exact (nativePressure_eq_ledger j).symm.le.trans (W.particularPressure_exponent j) | |
| 242 | - · intro j | |
| 243 | - exact (W.particularPressure_shift j).ge | |
| 244 | - · intro j | |
| 245 | - exact (nativePressure_eq_ledger j).symm.le.trans (W.signedPressure_exponent j) | |
| 246 | - · intro j | |
| 247 | - exact (W.signedPressure_shift j).ge | |
| 248 | - · intro j | |
| 249 | - exact (nativeMean_eq_ledger j).ge | |
| 250 | - | |
| 251 | 209 | theorem cycleInputs_validScale {qbig : ℝ} (hq : qbig ≤ ChartScales.Q N) : |
| 252 | 210 | (cycleInputs R M hN W).ValidScale qbig := |
| 253 | 211 | ⟨fun _ => hq, fun _ => hq, fun _ => hq, fun _ => hq⟩ |
| @@ -341,83 +299,6 @@ theorem Representations.pressure_smooth (j : ℕ) : | ||
| 341 | 299 | exact ((cycleInputs R M hN W).pressure_smooth (cycleInputs_validScale R M hN W hq) |
| 342 | 300 | outgoing.data.h_pos outgoing.data.h_lt_half j).congr (fun _ hw => (e.pressure_succ j hw).symm) |
| 343 | 301 | |
| 344 | -/-- The complete estimate record is constructed from native data and | |
| 345 | -exact physical realizations. The residual comparison floor is separate | |
| 346 | -from the mean-family floor, so it can be chosen one band larger. -/ | |
| 347 | -noncomputable def stageEstimates_of_representations | |
| 348 | - (hqbig : 0 < qbig) {Nres : ℕ} (hNres : 4 ≤ Nres) | |
| 349 | - (hGeom : ActualCarrierGeometry.geometricThreshold ≤ N0) | |
| 350 | - (d : ∀ J, ActualCycleResidualBounds.PhysicalData B Nres | |
| 351 | - (ActualCyclePreservation.state B N0 J).state | |
| 352 | - (MixedDiagonalResidual.uncutVelocity A Bdirect J) | |
| 353 | - (DiagonalJetBounds.uncutPrefix P (J + 1))) : | |
| 354 | - MixedCandidateAssembly.StageEstimates h qbig A Bdirect P := by | |
| 355 | - let Cyc := cycleInputs R M hN W | |
| 356 | - have hmeta := cycleInputs_metadata R M hN W | |
| 357 | - have hscale := cycleInputs_validScale R M hN W hq | |
| 358 | - have hraw := Cyc.represented_raw_bounds hmeta hscale outgoing.data.h_pos | |
| 359 | - outgoing.data.h_lt_half ActualCyclePreservation.kappa_small A Bdirect P | |
| 360 | - e.potential_succ e.direct_succ e.pressure_succ | |
| 361 | - let CA := hraw.choose | |
| 362 | - let CB := hraw.choose_spec.choose | |
| 363 | - let CP := hraw.choose_spec.choose_spec.choose | |
| 364 | - have hc := hraw.choose_spec.choose_spec.choose_spec | |
| 365 | - refine { | |
| 366 | - potential_smooth := e.potential_smooth R M hN W WA WP hq | |
| 367 | - direct_smooth := e.direct_smooth R M hN W WA WP hq | |
| 368 | - pressure_smooth := e.pressure_smooth R M hN W WA WP hq | |
| 369 | - gain := ActualIterationLedger.gain h | |
| 370 | - gain_zero := ActualIterationLedger.gain_nonneg outgoing.data.h_pos.le 0 | |
| 371 | - gain_pos := fun _ hj => ActualIterationLedger.gain_pos outgoing.data.h_pos hj | |
| 372 | - gain_mono := ActualIterationLedger.gain_monotone outgoing.data.h_pos.le | |
| 373 | - gain_top := ActualIterationLedger.gain_tendsto_atTop outgoing.data.h_pos | |
| 374 | - potentialLoss := PhysicalStageBounds.potentialLoss h h 0 | |
| 375 | - directLoss := PhysicalStageBounds.directLoss h 0 | |
| 376 | - pressureLoss := PhysicalStageBounds.pressureLoss h (2 * CoordinateAlgebra.A h) 0 | |
| 377 | - potentialConstant := CA | |
| 378 | - directConstant := CB | |
| 379 | - pressureConstant := CP | |
| 380 | - potentialLog := fun _ _ => 0 | |
| 381 | - directLog := fun _ _ => 0 | |
| 382 | - pressureLog := fun _ _ => 0 | |
| 383 | - potential_bound := hc.2.1 | |
| 384 | - direct_bound := hc.2.2.1 | |
| 385 | - pressure_bound := hc.2.2.2 | |
| 386 | - backgroundLoss := backgroundLoss WA.alpha WA.shift | |
| 387 | - residualLoss := ActualCycleResidualBounds.fixedLoss | |
| 388 | - finite_background := ?_ | |
| 389 | - finite_residual := ?_ } | |
| 390 | - · intro J m | |
| 391 | - have hb := background_from_representations certificate modulation Cyc hmeta hscale | |
| 392 | - ActualCyclePreservation.kappa_small hqbig upper B WA | |
| 393 | - (actualInitialTemporalInput B N0 N hN) (actualInitialRankInput B N0 N hN) | |
| 394 | - (actualInitialAngularInput B N0 N hN) hq hq hq A Bdirect | |
| 395 | - e.potential_zero e.direct_zero e.potential_succ e.direct_succ J m | |
| 396 | - simp only [backgroundLoss, actualInitialTemporalInput, actualInitialRankInput, | |
| 397 | - actualInitialAngularInput, MeanInput.ofMoving, min_self] at hb ⊢ | |
| 398 | - exact hb | |
| 399 | - · exact ActualCycleResidualBounds.finite_residual_rates hGeom hNres | |
| 400 | - (fun _ => ActualCycleParameters.fixedParameters B N0) | |
| 401 | - (fun J => MixedDiagonalResidual.uncutVelocity A Bdirect J) | |
| 402 | - (fun J => DiagonalJetBounds.uncutPrefix P (J + 1)) | |
| 403 | - (fun J => ActualCyclePreservation.broad_invariant (R.invariant J)) d | |
| 404 | - | |
| 405 | -theorem stageEstimates_ledger | |
| 406 | - (hqbig : 0 < qbig) {Nres : ℕ} (hNres : 4 ≤ Nres) | |
| 407 | - (hGeom : ActualCarrierGeometry.geometricThreshold ≤ N0) | |
| 408 | - (d : ∀ J, ActualCycleResidualBounds.PhysicalData B Nres | |
| 409 | - (ActualCyclePreservation.state B N0 J).state | |
| 410 | - (MixedDiagonalResidual.uncutVelocity A Bdirect J) | |
| 411 | - (DiagonalJetBounds.uncutPrefix P (J + 1))) : | |
| 412 | - let E := stageEstimates_of_representations R M hN W WA WP e hq hqbig hNres hGeom d | |
| 413 | - E.gain = ActualIterationLedger.gain h ∧ | |
| 414 | - E.potentialLoss = PhysicalStageBounds.potentialLoss h h 0 ∧ | |
| 415 | - E.directLoss = PhysicalStageBounds.directLoss h 0 ∧ | |
| 416 | - E.pressureLoss = PhysicalStageBounds.pressureLoss h (2 * CoordinateAlgebra.A h) 0 ∧ | |
| 417 | - E.backgroundLoss = backgroundLoss WA.alpha WA.shift ∧ | |
| 418 | - E.residualLoss = ActualCycleResidualBounds.fixedLoss := | |
| 419 | - ⟨rfl, rfl, rfl, rfl, rfl, rfl⟩ | |
| 420 | - | |
| 421 | 302 | end StageEstimates |
| 422 | 303 | |
| 423 | 304 | end NavierStokes.ActualStageEstimates |
+0 −9 NavierStokes/ActualValidBandWaves.lean View file
| @@ -293,15 +293,6 @@ theorem potential_curl_germ (N n : ℕ) (hn : N ≤ n) {w : SpaceTime} | ||
| 293 | 293 | SpatialCurl.spatialCurl (potential x N) =ᶠ[𝓝 w] SpatialCurl.spatialCurl (localPotential x n) := |
| 294 | 294 | SolenoidalDiagonal.spatialCurl_eventuallyEq (potential_germ H C hN hS hcore N n hn hw) |
| 295 | 295 | |
| 296 | -include C hN hS hcore in | |
| 297 | -theorem jets_eq (N n : ℕ) (hn : N ≤ n) {w : SpaceTime} | |
| 298 | - (hw : w ∈ ValidDyadicBandCover.band h n) (m : ℕ) : | |
| 299 | - iteratedFDeriv ℝ m (potential x N) w = iteratedFDeriv ℝ m (localPotential x n) w ∧ | |
| 300 | - iteratedFDeriv ℝ m (pressure x N) w = iteratedFDeriv ℝ m (localPressure x n) w := by | |
| 301 | - have hc := compatible H C hN hS hcore N | |
| 302 | - exact ⟨ValidDyadicBandCover.field_jet_eq outgoing.data.h_pos outgoing.data.h_lt_half hc.1 hn hw m, | |
| 303 | - ValidDyadicBandCover.field_jet_eq outgoing.data.h_pos outgoing.data.h_lt_half hc.2 hn hw m⟩ | |
| 304 | - | |
| 305 | 296 | include C hN hS hcore in |
| 306 | 297 | theorem active_zero_germs {N : ℕ} {qbig : ℝ} (hqbig : qbig ≤ ChartScales.Q N) |
| 307 | 298 | {w : SpaceTime} (hw : w ∈ CutStageEstimates.physicalSublevel h qbig) |
+0 −283 NavierStokes/ActualWaveRegularity.lean View file
| @@ -38,10 +38,6 @@ noncomputable def onDomain (s : StripData D) (Ω : Set D) (hΩ : IsOpen Ω) : St | ||
| 38 | 38 | zeta_smooth := contDiffOn_const |
| 39 | 39 | zeta_nonneg := fun _ _ => le_rfl |
| 40 | 40 | |
| 41 | -theorem commonCorrected_onDomain (a : CopyData D I) (s : StripData D) | |
| 42 | - (d : GraphDirections D) (Ω : Set D) (hΩ : IsOpen Ω) : | |
| 43 | - a.commonCorrected (onDomain s Ω hΩ) d = a.commonCorrected s d := rfl | |
| 44 | - | |
| 45 | 41 | /-- These are native, uncorrected data. In particular the smoothness of |
| 46 | 42 | the common corrected velocity is a conclusion, not a field of this record. -/ |
| 47 | 43 | structure NativeData (a : CopyData D I) (s : StripData D) (d : GraphDirections D) |
| @@ -65,79 +61,6 @@ theorem common_velocity_smooth (n : ℕ) : | ||
| 65 | 61 | ((a.commonCorrected s d).amplitude n)) Ω := |
| 66 | 62 | LocalizedCurlRealization.RawData.common_velocity_smooth h.raw h.cells h.cutoff_support h.cover n |
| 67 | 63 | |
| 68 | -theorem common_potential_smooth (n : ℕ) : | |
| 69 | - ContDiffOn ℝ ∞ (a.common.curlPotential s d n) Ω := | |
| 70 | - LocalizedCurlRealization.RawData.common_potential_smooth h.raw h.cells h.cutoff_support h.cover n | |
| 71 | - | |
| 72 | -theorem glue_smooth {E : Type} [NormedAddCommGroup E] [NormedSpace ℝ E] | |
| 73 | - (F : ℕ → D → E) (f : ℕ → I → D → E) | |
| 74 | - (hg : ∀ n i x, x ∈ h.cells.carrier n i → F n =ᶠ[𝓝 x] f n i) | |
| 75 | - (hz : ∀ n x, (∀ i, x ∉ h.cells.carrier n i) → F n =ᶠ[𝓝 x] fun _ => 0) | |
| 76 | - (hs : ∀ n i, ContDiffOn ℝ ∞ (f n i) (Ω ∩ h.patch n i)) | |
| 77 | - (hflat : ∀ n i x, ((a.localized i).amplitude n =ᶠ[𝓝 x] fun _ => 0) → | |
| 78 | - f n i =ᶠ[𝓝 x] fun _ => 0) (n : ℕ) : ContDiffOn ℝ ∞ (F n) Ω := by | |
| 79 | - intro x hx | |
| 80 | - apply ContDiffAt.contDiffWithinAt | |
| 81 | - classical | |
| 82 | - by_cases hi : ∃ i, x ∈ h.cells.carrier n i | |
| 83 | - · obtain ⟨i, hi⟩ := hi | |
| 84 | - rcases h.cover n i x hx hi with hC | h0 | |
| 85 | - · exact ((hs n i).contDiffAt ((h.raw.geometry n i).isOpen.mem_nhds ⟨hx, hC⟩)).congr_of_eventuallyEq | |
| 86 | - (hg n i x hi) | |
| 87 | - · exact contDiffAt_const.congr_of_eventuallyEq ((hg n i x hi).trans (hflat n i x h0)) | |
| 88 | - · exact contDiffAt_const.congr_of_eventuallyEq (hz n x (not_exists.mp hi)) | |
| 89 | - | |
| 90 | -theorem common_raw_smooth (n : ℕ) : ContDiffOn ℝ ∞ (a.common.amplitude n) Ω := by | |
| 91 | - apply h.glue_smooth a.common.amplitude (fun n i => (a.localized i).amplitude n) | |
| 92 | - · exact fun n _ _ hi => a.common_amplitude_germ h.cells h.cutoff_support n hi | |
| 93 | - · exact fun _ _ hi => (a.common_zero_germs h.cells h.cutoff_support hi).1 | |
| 94 | - · exact h.raw.localized_smooth | |
| 95 | - · exact fun _ _ _ hz => hz | |
| 96 | - | |
| 97 | -theorem native_normal_smooth (n : ℕ) (i : I) : | |
| 98 | - ContDiffOn ℝ ∞ (coefficient (a.background.radius n) (d.radialField n) | |
| 99 | - (fun _ => d.angular) (d.axialField s n) (a.background.phase n) | |
| 100 | - ((a.localized i).amplitude n)) (Ω ∩ h.patch n i) := | |
| 101 | - normalCoefficient_contDiffOn (phaseNormal_contDiffOn (h.raw.geometry n i) (h.raw.phase n i)) | |
| 102 | - (h.raw.localized_smooth n i) (h.raw.normal n i) | |
| 103 | - | |
| 104 | -/-- The actual normalized vector-potential coefficient has a smooth zero | |
| 105 | -extension too; smoothness of the bare phase normal off support is not used. -/ | |
| 106 | -theorem common_normal_smooth (n : ℕ) : | |
| 107 | - ContDiffOn ℝ ∞ (coefficient (a.background.radius n) (d.radialField n) | |
| 108 | - (fun _ => d.angular) (d.axialField s n) (a.background.phase n) (a.common.amplitude n)) Ω := by | |
| 109 | - let B := fun n (f : D → ComplexVector) => coefficient (a.background.radius n) (d.radialField n) | |
| 110 | - (fun _ => d.angular) (d.axialField s n) (a.background.phase n) f | |
| 111 | - have hmap {n : ℕ} {f g : D → ComplexVector} {x : D} (he : f =ᶠ[𝓝 x] g) : | |
| 112 | - B n f =ᶠ[𝓝 x] B n g := by | |
| 113 | - filter_upwards [he] with y hy | |
| 114 | - simp only [B, coefficient, hy] | |
| 115 | - change ContDiffOn ℝ ∞ (B n (a.common.amplitude n)) Ω | |
| 116 | - apply h.glue_smooth (fun n => B n (a.common.amplitude n)) | |
| 117 | - (fun n i => B n ((a.localized i).amplitude n)) | |
| 118 | - · exact fun n _ _ hi => hmap (a.common_amplitude_germ h.cells h.cutoff_support n hi) | |
| 119 | - · intro m x hi | |
| 120 | - simpa only [B, coefficient_zero] using hmap (n := m) (a.common_zero_germs h.cells h.cutoff_support hi).1 | |
| 121 | - · exact h.native_normal_smooth | |
| 122 | - · intro m i x hz | |
| 123 | - simpa only [B, coefficient_zero] using hmap (n := m) hz | |
| 124 | - | |
| 125 | -theorem native_corrected_smooth (n : ℕ) (i : I) : | |
| 126 | - ContDiffOn ℝ ∞ ((a.corrected s d i).amplitude n) (Ω ∩ h.patch n i) := by | |
| 127 | - have G := h.raw.geometry n i | |
| 128 | - have hc := cylindricalCurl_contDiffOn G.isOpen (G.radius_smooth.inv G.radius_ne) | |
| 129 | - G.radial_smooth G.angular_smooth G.axial_smooth (h.native_normal_smooth n i) | |
| 130 | - exact (h.raw.localized_smooth n i).add | |
| 131 | - ((hc.const_smul Complex.I).const_smul (1 / a.background.frequency n)) | |
| 132 | - | |
| 133 | -theorem common_corrected_smooth (n : ℕ) : | |
| 134 | - ContDiffOn ℝ ∞ ((a.commonCorrected s d).amplitude n) Ω := by | |
| 135 | - apply h.glue_smooth (a.commonCorrected s d).amplitude (fun n i => (a.corrected s d i).amplitude n) | |
| 136 | - · exact fun n _ _ hi => a.commonCorrected_amplitude_germ h.cells h.cutoff_support s d n hi | |
| 137 | - · exact fun _ _ hi => a.commonCorrected_zero_germ h.cells h.cutoff_support s d hi | |
| 138 | - · exact h.native_corrected_smooth | |
| 139 | - · exact fun _ _ _ hz => (LocalizedCurlRealization.native_zero_germs a s d hz).2.1 | |
| 140 | - | |
| 141 | 64 | /-- Locally finite native zero germs give a zero germ for the common |
| 142 | 65 | corrected amplitude, even if the phase or normal is singular at this point. -/ |
| 143 | 66 | theorem common_zero_germ {n : ℕ} {x : D} |
| @@ -308,55 +231,8 @@ structure ModalSmooth (t : ℕ → TangentData P ProblemStatement.Space) | ||
| 308 | 231 | (synthesisColumn (copyFrame (frame n) (g n) k) i) (neighborhood n k ×ˢ interval n) |
| 309 | 232 | current_slot : ∀ n k x, x ∈ neighborhood n k → ((g n).coordinates k x.2).2 ∈ Ioo 0 (L n) |
| 310 | 233 | |
| 311 | -theorem ModalSmooth.copySolve_smooth | |
| 312 | - {t : ℕ → TangentData P ProblemStatement.Space} {harmonic : ℤ} | |
| 313 | - {g : ℕ → Geometry} {L : ℕ → ℝ} {Ω : Set (P × Plane)} | |
| 314 | - {C : ℕ → Frequency → Set (P × Plane)} (h : ModalSmooth t harmonic g L Ω C) | |
| 315 | - (hL : ∀ n, 0 < L n) (n : ℕ) (k : Frequency) : | |
| 316 | - ContDiffOn ℝ ∞ ((t n).linearData.copySolve (g n) (hL n).le k) (Ω ∩ C n k) := | |
| 317 | - (copySolve_contDiffOn_from_modal (h.frame n) (t n) harmonic (g n) k (hL n) | |
| 318 | - (h.open_neighborhood n k) (h.open_interval n) (h.contains_interval n) (h.bridge n k) | |
| 319 | - (h.coefficient n k) (h.forcing n k) (h.columns n k) (h.current_slot n k)).mono | |
| 320 | - (h.contains n k) | |
| 321 | - | |
| 322 | -theorem complexCopy_smooth | |
| 323 | - {t : ℕ → TangentData P ProblemStatement.Space} {source : ℕ → P × Plane → ComplexVector} | |
| 324 | - {harmonic : ℤ} {g : ℕ → Geometry} {L : ℕ → ℝ} {Ω : Set (P × Plane)} | |
| 325 | - {C : ℕ → Frequency → Set (P × Plane)} | |
| 326 | - (hr : ModalSmooth (fun n => realData (t n) (source n)) harmonic g L Ω C) | |
| 327 | - (hi : ModalSmooth (fun n => imagData (t n) (source n)) harmonic g L Ω C) | |
| 328 | - (hL : ∀ n, 0 < L n) (n : ℕ) (k : Frequency) : | |
| 329 | - ContDiffOn ℝ ∞ (complexCopyVelocity (t n) (source n) (g n) (hL n).le k) (Ω ∩ C n k) := by | |
| 330 | - have hreal := complexify.contDiff.comp_contDiffOn (hr.copySolve_smooth hL n k) | |
| 331 | - have himag := complexify.contDiff.comp_contDiffOn (hi.copySolve_smooth hL n k) | |
| 332 | - have hc := hreal.add (himag.const_smul Complex.I) | |
| 333 | - simp only [Function.comp_def] at hc ⊢ | |
| 334 | - exact hc | |
| 335 | - | |
| 336 | 234 | end Modal |
| 337 | 235 | |
| 338 | -/-- The actual signed quotient is smooth from its matrix, target, request, | |
| 339 | -mask and homogeneous fundamental, on the strict covariance cone. -/ | |
| 340 | -theorem signed_coefficients_smooth (s : StripData D) (d : GraphDirections D) | |
| 341 | - (a : WaveCoefficients D) (H : ℕ → D → SignedWaveUpdate.Mat2) | |
| 342 | - (T R : ℕ → D → SignedWaveUpdate.Vec2) (mask : ℕ → D → ℝ) | |
| 343 | - (v Ndot : ℕ → D → ProblemStatement.Space) | |
| 344 | - (A : ℕ → D → ProblemStatement.Space →L[ℝ] ProblemStatement.Space) | |
| 345 | - (j : Fin 2) (n : ℕ) {Ω : Set D} | |
| 346 | - (hH : ∀ i j, ContDiffOn ℝ ∞ (fun x => H n x i j) Ω) | |
| 347 | - (hT : ∀ i, ContDiffOn ℝ ∞ (fun x => T n x i) Ω) | |
| 348 | - (hR : ∀ i, ContDiffOn ℝ ∞ (fun x => R n x i) Ω) | |
| 349 | - (hm : ContDiffOn ℝ ∞ (mask n) Ω) (hv : ContDiffOn ℝ ∞ (v n) Ω) | |
| 350 | - (hc : ∀ x ∈ Ω, SmoothCovariance.StrictCone (H n x) (T n x)) : | |
| 351 | - ContDiffOn ℝ ∞ ((SignedWaveUpdate.coefficients a s d H T R mask v Ndot A j).amplitude n) Ω := by | |
| 352 | - have hnum := SmoothCovariance.contDiffOn_inverse_solution hH hR | |
| 353 | - (fun x hx => (hc x hx).det_ne_zero) j | |
| 354 | - have hden := SmoothCovariance.contDiffOn_amplitudes hH hT hc j | |
| 355 | - have hinc : ContDiffOn ℝ ∞ (fun x => SignedCovariance.increment (H n x) (T n x) (R n x) j) Ω := | |
| 356 | - hnum.div (contDiffOn_const.mul hden) | |
| 357 | - (fun x hx => mul_ne_zero (by norm_num) ((hc x hx).amplitudes_pos j).ne') | |
| 358 | - exact complexify.contDiff.comp_contDiffOn ((contDiffOn_const.mul hinc |>.mul hm).smul hv) | |
| 359 | - | |
| 360 | 236 | /-! ## One actual mode on the full physical slow domain -/ |
| 361 | 237 | |
| 362 | 238 | abbrev Point := CorrectionStep.CyclePoint |
| @@ -451,13 +327,6 @@ theorem support : WaveStateRegularity.WaveSupport U r₀ r₁ (modeOscillation a | ||
| 451 | 327 | rw [hz] |
| 452 | 328 | rfl |
| 453 | 329 | |
| 454 | -theorem regular : | |
| 455 | - WaveStateRegularity.AngularSmooth (PhysicalMeanDomain.slowDomain U.carrier) | |
| 456 | - (modeOscillation a s d e) ∧ | |
| 457 | - CorrectionStep.OscillationPeriodic U.carrier (modeOscillation a s d e) ∧ | |
| 458 | - WaveStateRegularity.WaveSupport U r₀ r₁ (modeOscillation a s d e) := | |
| 459 | - ⟨h.smooth, h.periodic, h.support⟩ | |
| 460 | - | |
| 461 | 330 | end ModeData |
| 462 | 331 | |
| 463 | 332 | /-! ## Finite sums retain the whole-domain conclusions -/ |
| @@ -523,32 +392,6 @@ noncomputable def particularCopyData {ι : Type} (p : CycleParameters ι) | ||
| 523 | 392 | (StateReindex.blockCoefficients cycleAssoc.symm (v.gaussian l)) |
| 524 | 393 | (StateReindex.blockCoefficients cycleAssoc.symm (v.aliasCoefficients l)) j |
| 525 | 394 | |
| 526 | -/-- Deck covariance of the actual Volterra coefficient follows from | |
| 527 | -periodicity of its incoming residual coefficient, with the same anchor. -/ | |
| 528 | -theorem particular_amplitude_deck {ι : Type} (p : CycleParameters ι) | |
| 529 | - (v : CycleCoefficients ι) (c : Context Point) (u : State Point) (l : ι) (j : ℤ) | |
| 530 | - (n : ℕ) (k m : TorusInverse.Frequency) (x : ParticularSpace) | |
| 531 | - (hp : CommonCoverSolve.PeriodicAt ((particularCopyData p v c u l j).source n) x.1) : | |
| 532 | - (particularCopyData p v c u l j).amplitude n | |
| 533 | - (k + CommonCoverSolve.coverIndex ((p.particular l).geometry n).gap m) | |
| 534 | - (x.1, x.2 + TorusAverages.latticePoint m) = | |
| 535 | - (particularCopyData p v c u l j).amplitude n k x := by | |
| 536 | - exact complexCopyVelocity_deck _ _ _ ((p.particular l).length_pos n).le k m x.1 hp x.2 | |
| 537 | - | |
| 538 | -theorem particular_cutoff_deck {ι : Type} (p : CycleParameters ι) | |
| 539 | - (v : CycleCoefficients ι) (c : Context Point) (u : State Point) (l : ι) (j : ℤ) | |
| 540 | - (n : ℕ) (k m : TorusInverse.Frequency) (x : ParticularSpace) : | |
| 541 | - (particularCopyData p v c u l j).cutoff n | |
| 542 | - (k + CommonCoverSolve.coverIndex ((p.particular l).geometry n).gap m) | |
| 543 | - (x.1, x.2 + TorusAverages.latticePoint m) = | |
| 544 | - (particularCopyData p v c u l j).cutoff n k x := by | |
| 545 | - change (p.particular l).cutoff n | |
| 546 | - (((p.particular l).geometry n).coordinates | |
| 547 | - (k + CommonCoverSolve.coverIndex ((p.particular l).geometry n).gap m) | |
| 548 | - (x.2 + TorusAverages.latticePoint m)) = _ | |
| 549 | - rw [CommonCoverSolve.Geometry.coordinates_deck] | |
| 550 | - rfl | |
| 551 | - | |
| 552 | 395 | /-- This representation is derived from the actual angle-lifted Volterra |
| 553 | 396 | solve and the original carrier. No equality of completed output fields is |
| 554 | 397 | an assumption. -/ |
| @@ -615,27 +458,6 @@ structure ParticularData {ι : Type} (p : CycleParameters ι) (v : CycleCoeffici | ||
| 615 | 458 | ((p.particular l).directions.radialField n) |
| 616 | 459 | frequency : ∀ l n, (v.blocks l).frequency n ≠ 0 |
| 617 | 460 | |
| 618 | -theorem ParticularData.block_regular {ι : Type} {p : CycleParameters ι} {v : CycleCoefficients ι} | |
| 619 | - {c : Context Point} {u : State Point} {coord r₀ r₁ : ℝ} | |
| 620 | - {U : LocalSignedRequest.SlowRegion coord} (h : ParticularData p v c u U r₀ r₁) (l : ι) : | |
| 621 | - WaveStateRegularity.AngularSmooth (PhysicalMeanDomain.slowDomain U.carrier) | |
| 622 | - (p.particularBlock v c u l).oscillation ∧ | |
| 623 | - OscillationPeriodic U.carrier (p.particularBlock v c u l).oscillation ∧ | |
| 624 | - WaveStateRegularity.WaveSupport U r₀ r₁ (p.particularBlock v c u l).oscillation := by | |
| 625 | - rw [particularBlock_eq_modes p v c u l (h.radius_angular l) (h.radial_angular l) (h.frequency l)] | |
| 626 | - exact finset_regular _ _ (fun j hj => (h.mode l j hj).regular) | |
| 627 | - | |
| 628 | -theorem ParticularData.regular {ι : Type} {p : CycleParameters ι} {v : CycleCoefficients ι} | |
| 629 | - {c : Context Point} {u : State Point} {coord r₀ r₁ : ℝ} | |
| 630 | - {U : LocalSignedRequest.SlowRegion coord} (h : ParticularData p v c u U r₀ r₁) : | |
| 631 | - WaveStateRegularity.AngularSmooth (PhysicalMeanDomain.slowDomain U.carrier) | |
| 632 | - (p.particularVelocity v c u) ∧ | |
| 633 | - OscillationPeriodic U.carrier (p.particularVelocity v c u) ∧ | |
| 634 | - WaveStateRegularity.WaveSupport U r₀ r₁ (p.particularVelocity v c u) := | |
| 635 | - ⟨finite_smooth _ _ (fun l => (h.block_regular l).1), | |
| 636 | - finite_periodic _ _ (fun l => (h.block_regular l).2.1), | |
| 637 | - finite_support _ _ (fun l => (h.block_regular l).2.2)⟩ | |
| 638 | - | |
| 639 | 461 | end ParticularCycle |
| 640 | 462 | |
| 641 | 463 | /-! ## The literal signed update, using the post-particular request -/ |
| @@ -727,47 +549,6 @@ theorem block_eq_mode : | ||
| 727 | 549 | |
| 728 | 550 | end SignedAngles |
| 729 | 551 | |
| 730 | -/-- The existing native angular inputs imply the smaller qualitative | |
| 731 | -record. Their quantitative-domain smoothness field is not extended or used. -/ | |
| 732 | -noncomputable def signedAngles_of_inputs (p : PeriodizedSignedParameters Point I) (s : StripData Point) | |
| 733 | - (request : ℕ → Cylinder → SignedWaveUpdate.Vec2) (m : ℕ → ℝ) (i₀ : I) | |
| 734 | - (hθ : p.directions.angular = ((0 : Point), 1)) | |
| 735 | - (hf : ∀ n, p.base.frequency n * m n = (p.angularFrequency n : ℝ)) | |
| 736 | - (h : ∀ i, SignedWaveUpdate.AngularInputs (HarmonicWaveInteraction.productStrip s) | |
| 737 | - p.directions p.base (p.matrix i) (p.target i) request (p.mask i) (p.fundamental i) | |
| 738 | - (p.normalMotion i) (p.action i) (p.cutoff i) m) : SignedAngles p s request := by | |
| 739 | - refine ⟨m, ?_, ?_, ?_, hf, ?_, ?_, ?_, ?_, ?_, ?_⟩ | |
| 740 | - · intro n | |
| 741 | - have he := (h i₀).radius n | |
| 742 | - simp only [hθ] at he | |
| 743 | - exact he | |
| 744 | - · intro n; simpa only [hθ] using (h i₀).radialField n | |
| 745 | - · intro n; simpa only [hθ] using (h i₀).phase n | |
| 746 | - · intro i n | |
| 747 | - have he := (h i).matrix n | |
| 748 | - simp only [hθ] at he | |
| 749 | - exact he | |
| 750 | - · intro i n | |
| 751 | - have he := (h i).primary_target n | |
| 752 | - simp only [hθ] at he | |
| 753 | - exact he | |
| 754 | - · intro n | |
| 755 | - have he := (h i₀).signed_target n | |
| 756 | - simp only [hθ] at he | |
| 757 | - exact he | |
| 758 | - · intro i n | |
| 759 | - have he := (h i).mask n | |
| 760 | - simp only [hθ] at he | |
| 761 | - exact he | |
| 762 | - · intro i n | |
| 763 | - have he := (h i).fundamental n | |
| 764 | - simp only [hθ] at he | |
| 765 | - exact he | |
| 766 | - · intro i n | |
| 767 | - have he := (h i).cutoff n | |
| 768 | - simp only [hθ] at he | |
| 769 | - exact he | |
| 770 | - | |
| 771 | 552 | /-- All fields use the literal post-particular request. The old state, |
| 772 | 553 | profile, and native data are not reselected. -/ |
| 773 | 554 | structure SignedData {ι : Type} (p : CycleParameters ι) (v : CycleCoefficients ι) |
| @@ -778,49 +559,8 @@ structure SignedData {ι : Type} (p : CycleParameters ι) (v : CycleCoefficients | ||
| 778 | 559 | (LinearIsometryEquiv.refl ℝ Cylinder) U r₀ r₁ |
| 779 | 560 | angles : ∀ l, SignedAngles (p.signed l) p.strip (p.signedRequest v c u) |
| 780 | 561 | |
| 781 | -theorem SignedData.block_regular {ι : Type} {p : CycleParameters ι} {v : CycleCoefficients ι} | |
| 782 | - {c : Context Point} {u : State Point} {coord r₀ r₁ : ℝ} | |
| 783 | - {U : LocalSignedRequest.SlowRegion coord} (h : SignedData p v c u U r₀ r₁) (l : ι) : | |
| 784 | - WaveStateRegularity.AngularSmooth (PhysicalMeanDomain.slowDomain U.carrier) | |
| 785 | - (p.signedBlock v c u l).oscillation ∧ | |
| 786 | - OscillationPeriodic U.carrier (p.signedBlock v c u l).oscillation ∧ | |
| 787 | - WaveStateRegularity.WaveSupport U r₀ r₁ (p.signedBlock v c u l).oscillation := by | |
| 788 | - unfold CycleParameters.signedBlock | |
| 789 | - rw [(h.angles l).block_eq_mode] | |
| 790 | - exact (h.mode l).regular | |
| 791 | - | |
| 792 | -theorem SignedData.regular {ι : Type} {p : CycleParameters ι} {v : CycleCoefficients ι} | |
| 793 | - {c : Context Point} {u : State Point} {coord r₀ r₁ : ℝ} | |
| 794 | - {U : LocalSignedRequest.SlowRegion coord} (h : SignedData p v c u U r₀ r₁) : | |
| 795 | - WaveStateRegularity.AngularSmooth (PhysicalMeanDomain.slowDomain U.carrier) | |
| 796 | - (p.signedVelocity v c u) ∧ | |
| 797 | - OscillationPeriodic U.carrier (p.signedVelocity v c u) ∧ | |
| 798 | - WaveStateRegularity.WaveSupport U r₀ r₁ (p.signedVelocity v c u) := | |
| 799 | - ⟨finite_smooth _ _ (fun l => (h.block_regular l).1), | |
| 800 | - finite_periodic _ _ (fun l => (h.block_regular l).2.1), | |
| 801 | - finite_support _ _ (fun l => (h.block_regular l).2.2)⟩ | |
| 802 | - | |
| 803 | 562 | end SignedCycle |
| 804 | 563 | |
| 805 | -/-- The qualitative oscillation fields of the actual next cycle state. | |
| 806 | -The intervening temporal, rank, and pressure-refresh operations preserve the | |
| 807 | -same oscillation by the literal recurrence. -/ | |
| 808 | -theorem next_regular {ι : Type} {p : CorrectionStep.CycleParameters ι} | |
| 809 | - {v : CorrectionStep.CycleCoefficients ι} {c : Context Point} {u : State Point} | |
| 810 | - {coord r₀ r₁ : ℝ} {U : LocalSignedRequest.SlowRegion coord} | |
| 811 | - (hp : ParticularData p v c u U r₀ r₁) (hs : SignedData p v c u U r₀ r₁) | |
| 812 | - (hu : WaveStateRegularity.AngularSmooth (PhysicalMeanDomain.slowDomain U.carrier) u.oscillation) | |
| 813 | - (hper : CorrectionStep.OscillationPeriodic U.carrier u.oscillation) | |
| 814 | - (hsup : WaveStateRegularity.WaveSupport U r₀ r₁ u.oscillation) : | |
| 815 | - WaveStateRegularity.AngularSmooth (PhysicalMeanDomain.slowDomain U.carrier) | |
| 816 | - (p.next v c u).oscillation ∧ | |
| 817 | - CorrectionStep.OscillationPeriodic U.carrier (p.next v c u).oscillation ∧ | |
| 818 | - WaveStateRegularity.WaveSupport U r₀ r₁ (p.next v c u).oscillation := by | |
| 819 | - rw [p.next_oscillation] | |
| 820 | - exact ⟨(hu.add hp.regular.1).add hs.regular.1, | |
| 821 | - (hper.add hp.regular.2.1).add hs.regular.2.1, | |
| 822 | - (hsup.add hp.regular.2.2).add hs.regular.2.2⟩ | |
| 823 | - | |
| 824 | 564 | /-! ## Moving radial edges of the literal coefficients |
| 825 | 565 | |
| 826 | 566 | At a flat radial boundary the coefficient need not have a zero germ. |
| @@ -863,29 +603,6 @@ theorem literal_moving_regular {Ω : Set D} (hΩ : IsOpen Ω) {ρ : D → ℝ} | ||
| 863 | 603 | rw [← jets_eq_of_germ hg n] |
| 864 | 604 | exact iteratedFDeriv_extension_edge hΩ hρ ha hab hcL hcR hf hB n hx hedge |
| 865 | 605 | |
| 866 | -/-- Apply the already proved native Gaussian derivative estimates to the | |
| 867 | -same literal coefficient. The constants are those in the native estimates; | |
| 868 | -no full-domain estimate or output smoothness is assumed. -/ | |
| 869 | -theorem literal_native_regular {J : Type} {V : PrimaryCopyBounds.JetDomain J D} | |
| 870 | - {Ω : Set D} (hΩ : IsOpen Ω) {ρ : D → ℝ} (hρ : ContDiffOn ℝ ∞ ρ Ω) | |
| 871 | - {a b cL cR : ℝ} (ha : 0 < a) (hab : a < b) (hcL : 0 < cL) (hcR : 0 < cR) | |
| 872 | - {A S : J → ℝ} {P : J → D → ℝ} {f : J → D → E} | |
| 873 | - (hf : PrimaryCopyBounds.NativeJets V | |
| 874 | - (fun i x => A i * Real.sqrt (flatWeight ρ a b cL cR x) * P i x) f) | |
| 875 | - (hA : ∀ i, 0 ≤ A i) (hS : ∀ i, 1 ≤ S i) | |
| 876 | - (hP : ∀ i, ContinuousOn (P i) Ω) (hP0 : ∀ i x, x ∈ Ω → 0 ≤ P i x) | |
| 877 | - (hdom : ∀ i, windowDomain Ω ρ a b ⊆ V.carrier i) | |
| 878 | - (q : ℕ) (hG : ∀ i x, x ∈ windowDomain Ω ρ a b → | |
| 879 | - V.growth i x ≤ S i * edgeGrowth ρ a b x ^ q) | |
| 880 | - (hz : ∀ i x, x ∈ Ω → x ∉ window ρ a b → f i x = 0) : | |
| 881 | - ∀ i, ContDiffOn ℝ ∞ (f i) Ω ∧ | |
| 882 | - ∀ n x, x ∈ Ω → (ρ x = a ∨ ρ x = b) → iteratedFDeriv ℝ n (f i) x = 0 := by | |
| 883 | - intro i | |
| 884 | - have hB := boundaryControls_of_majorants hΩ hρ (hP i) ha hab hcL hcR | |
| 885 | - (native_jet_majorant hf hA hS hP0 hdom q hG i) | |
| 886 | - exact literal_moving_regular hΩ hρ ha hab (half_pos hcL) (half_pos hcR) | |
| 887 | - ((hf.smooth i).mono (hdom i)) hB (hz i) | |
| 888 | - | |
| 889 | 606 | end RadialEdges |
| 890 | 607 | |
| 891 | 608 | end NavierStokes.ActualWaveRegularity |
+0 −89 NavierStokes/ActualWaveRegularityData.lean View file
| @@ -335,19 +335,6 @@ theorem signed_block_periodic (l : Index B N0) (s : StripData Point) | ||
| 335 | 335 | |
| 336 | 336 | /-! ## The actual full-domain phase patches -/ |
| 337 | 337 | |
| 338 | -noncomputable def signedPhasePatch (l : Index B N0) (n : ℕ) (k : Frequency) : Set FullPoint := | |
| 339 | - {x | (ActualSignedStageControls.nativePoint l n k x).1 ∈ | |
| 340 | - (PrimaryGeometryAssembly.domain ActualPrimary.nominal | |
| 341 | - (ActualPrimary.choice B N0).prepared.N).carrier l.1 ∧ | |
| 342 | - ActualSignedStageControls.nativeTime l n k x ∈ Ioo (0 : ℝ) 1} | |
| 343 | - | |
| 344 | -theorem signedPhasePatch_open (l : Index B N0) (n : ℕ) (k : Frequency) : | |
| 345 | - IsOpen (signedPhasePatch l n k) := | |
| 346 | - (((PrimaryGeometryAssembly.domain ActualPrimary.nominal | |
| 347 | - (ActualPrimary.choice B N0).prepared.N).isOpen l.1).preimage | |
| 348 | - (ActualSignedStageControls.nativePoint_smooth l n k).continuous.fst).inter | |
| 349 | - (isOpen_Ioo.preimage (ActualSignedStageControls.nativeTime_smooth l n k).continuous) | |
| 350 | - | |
| 351 | 338 | theorem native_time_pos (l : Index B N0) (n : ℕ) (k : Frequency) {x : FullPoint} |
| 352 | 339 | (hx : x ∈ ActualWaveRegularity.fullDomain ActualPrimary.standardRegion) : |
| 353 | 340 | 0 < (ActualSignedStageControls.nativePoint l n k x).1.2.2 := by |
| @@ -374,66 +361,6 @@ theorem mask_zero_germ_outside_carrier (l : Index B N0) (n : ℕ) (k : Frequency | ||
| 374 | 361 | change ActualPrimary.spatialMask l.1 (ActualSignedStageControls.nativePoint l n k y).1 = 0 |
| 375 | 362 | rw [ActualPrimary.spatialMask_eq, hy, mul_zero] |
| 376 | 363 | |
| 377 | -/-- Every point of the full slow domain either lies in the genuine | |
| 378 | -positive-radius, interior-clock patch, or has a zero localized raw germ. -/ | |
| 379 | -theorem signed_patch_cover (l : Index B N0) (s : StripData Point) | |
| 380 | - (request : ℕ → FullPoint → SignedWaveUpdate.Vec2) (n : ℕ) (k : Frequency) | |
| 381 | - {x : FullPoint} (hx : x ∈ ActualWaveRegularity.fullDomain ActualPrimary.standardRegion) : | |
| 382 | - x ∈ signedPhasePatch l n k ∨ | |
| 383 | - ((((ActualSignedStageControls.parameters l).copyData s request).localized k).amplitude n | |
| 384 | - =ᶠ[𝓝 x] fun _ => 0) := by | |
| 385 | - by_cases hc : (ActualSignedStageControls.nativePoint l n k x).1 ∈ | |
| 386 | - (PrimaryGeometryAssembly.domain ActualPrimary.nominal | |
| 387 | - (ActualPrimary.choice B N0).prepared.N).carrier l.1 | |
| 388 | - · by_cases ht : ActualSignedStageControls.nativeTime l n k x ∈ Ioo (0 : ℝ) 1 | |
| 389 | - · exact Or.inl ⟨hc, ht⟩ | |
| 390 | - · right | |
| 391 | - apply (((ActualSignedStageControls.parameters l).copyData s request).localized_zero_germs ?_).1 | |
| 392 | - apply ActualSignedStageControls.cutoff_zero_germ_outside_time l n k | |
| 393 | - intro htime | |
| 394 | - exact ht ⟨by linarith [htime.1], by linarith [htime.2]⟩ | |
| 395 | - · exact Or.inr (((ActualSignedStageControls.parameters l).localized_zero_of_mask request | |
| 396 | - (mask_zero_germ_outside_carrier l n k hx hc)).1) | |
| 397 | - | |
| 398 | -theorem signedPhasePatch_positive (l : Index B N0) (n : ℕ) (k : Frequency) | |
| 399 | - {x : FullPoint} (hx : x ∈ ActualWaveRegularity.fullDomain ActualPrimary.standardRegion ∩ | |
| 400 | - signedPhasePatch l n k) : x ∈ ActualPrimaryCoherence.positiveRadialChart := by | |
| 401 | - have hp := (ActualPrimary.choice B N0).prepared.radius_pos l.1 | |
| 402 | - (ActualSignedStageControls.nativePoint l n k x).1 hx.2.1 | |
| 403 | - have hq := Real.sqrt_pos.mpr (ChartScales.Q_pos (BaseChartJets.cellBand l.1)) | |
| 404 | - have hn := Real.sqrt_pos.mpr (ChartScales.Q_pos n) | |
| 405 | - change 0 < Real.sqrt (ChartScales.Q n) * x.1.1 / | |
| 406 | - Real.sqrt (ChartScales.Q (BaseChartJets.cellBand l.1)) at hp | |
| 407 | - have hmul := (div_pos_iff_of_pos_right hq).mp hp | |
| 408 | - exact ⟨(mul_pos_iff_of_pos_left hn).mp hmul, ActualPrimary.standardRegion.time_pos _ hx.1.1⟩ | |
| 409 | - | |
| 410 | -theorem signed_phase_smooth (l : Index B N0) (n : ℕ) (k : Frequency) : | |
| 411 | - ContDiffOn ℝ ∞ ((ActualSignedStageControls.parameters l).base.phase n) | |
| 412 | - (ActualWaveRegularity.fullDomain ActualPrimary.standardRegion ∩ signedPhasePatch l n k) := | |
| 413 | - (ActualPrimaryDynamics.phase_smooth l.2 l.1 n).mono (fun _ hx => signedPhasePatch_positive l n k hx) | |
| 414 | - | |
| 415 | -theorem signed_geometry (l : Index B N0) (n : ℕ) (k : Frequency) : | |
| 416 | - CurlClassBounds.CylindricalGeometry | |
| 417 | - (ActualWaveRegularity.fullDomain ActualPrimary.standardRegion ∩ signedPhasePatch l n k) | |
| 418 | - ((ActualSignedStageControls.parameters l).base.radius n) | |
| 419 | - ((ActualSignedStageControls.parameters l).directions.radialField n) | |
| 420 | - (fun _ => (ActualSignedStageControls.parameters l).directions.angular) | |
| 421 | - ((ActualSignedStageControls.parameters l).directions.axialField | |
| 422 | - (HarmonicWaveInteraction.productStrip ActualPrimaryBounds.strip) n) := | |
| 423 | - LocalizedCurlRealization.geometry_restrict | |
| 424 | - (ActualPrimaryCoherence.piece_geometry ActualPrimary.standardRegion B n) | |
| 425 | - ((ActualWaveRegularity.fullDomain_open ActualPrimary.standardRegion).inter | |
| 426 | - (signedPhasePatch_open l n k)) (fun _ hx => signedPhasePatch_positive l n k hx) | |
| 427 | - | |
| 428 | -theorem signed_normal_ne (l : Index B N0) (n : ℕ) (k : Frequency) | |
| 429 | - {x : FullPoint} (hx : x ∈ ActualWaveRegularity.fullDomain ActualPrimary.standardRegion ∩ | |
| 430 | - signedPhasePatch l n k) : | |
| 431 | - (ActualSignedStageControls.parameters l).base.normal | |
| 432 | - (HarmonicWaveInteraction.productStrip ActualPrimaryBounds.strip) | |
| 433 | - (ActualSignedStageControls.parameters l).directions n x ≠ 0 := | |
| 434 | - ActualPrimaryCoherence.piece_normal_ne ActualPrimary.standardRegion l.2 l.1 n | |
| 435 | - (signedPhasePatch_positive l n k hx) | |
| 436 | - | |
| 437 | 364 | /-! ## Literal exterior values of the signed quotient -/ |
| 438 | 365 | |
| 439 | 366 | theorem raw_zero_of_target (l : Index B N0) (s : StripData Point) |
| @@ -1107,18 +1034,6 @@ theorem signed_exact_coefficients_smooth (l : Index B N0) | ||
| 1107 | 1034 | exact ((contDiffOn_pi.mp (signed_corrected_smooth l request ha n)) i).comp |
| 1108 | 1035 | (HarmonicWaveInteraction.inclusion (D := Point)).contDiff.contDiffOn (fun _ hx => ⟨hx, mem_univ _⟩) |
| 1109 | 1036 | |
| 1110 | -theorem signed_tangent_coefficients_smooth (l : Index B N0) | |
| 1111 | - (request : ℕ → FullPoint → SignedWaveUpdate.Vec2) {α : ℝ} | |
| 1112 | - (ha : MemClass ActualSignedStageControls.fullStrip | |
| 1113 | - (fun n x => Real.sqrt (ActualSignedStageControls.fullStrip.zeta x) * | |
| 1114 | - ActualSignedStageControls.envelope l n x) α (signedCopies l request).common.amplitude) | |
| 1115 | - (n : ℕ) (i : Fin 3) : | |
| 1116 | - HarmonicResidual.SmoothCoefficients (PhysicalMeanDomain.slowDomain ActualPrimary.standardRegion.carrier) | |
| 1117 | - (((ActualSignedStageControls.parameters l).tangentBlock ActualPrimaryBounds.strip request).velocity n i) := by | |
| 1118 | - apply smooth_conjugatePair | |
| 1119 | - exact ((contDiffOn_pi.mp (signed_raw_full_regular l request ha n).1) i).comp | |
| 1120 | - (HarmonicWaveInteraction.inclusion (D := Point)).contDiff.contDiffOn (fun _ hx => ⟨hx, mem_univ _⟩) | |
| 1121 | - | |
| 1122 | 1037 | theorem signed_pressure_coefficients_smooth (l : Index B N0) |
| 1123 | 1038 | (request : ℕ → FullPoint → SignedWaveUpdate.Vec2) {α : ℝ} |
| 1124 | 1039 | (hp : MemClass ActualSignedStageControls.fullStrip |
| @@ -1210,10 +1125,6 @@ noncomputable def particularFullStrip : StripData ActualWaveRegularity.Particula | ||
| 1210 | 1125 | ParticularWaveBounds.reindexStrip ActualWaveRegularity.particularChart.symm |
| 1211 | 1126 | ActualSignedStageControls.fullStrip |
| 1212 | 1127 | |
| 1213 | -theorem particularFullStrip_eq : particularFullStrip = | |
| 1214 | - CorrectionStep.ParticularParameters.nativeStrip | |
| 1215 | - ActualParticularStageControls.associatedStrip := rfl | |
| 1216 | - | |
| 1217 | 1128 | theorem particular_pull_class {E : Type} [NormedAddCommGroup E] [NormedSpace ℝ E] |
| 1218 | 1129 | {f : ℕ → ActualWaveRegularity.ParticularSpace → E} {α : ℝ} |
| 1219 | 1130 | (hf : MemClass particularFullStrip (fun _ x => Real.sqrt (particularFullStrip.zeta x)) α f) : |
+0 −107 NavierStokes/AxisCoefficientSpace.lean View file
| @@ -176,29 +176,6 @@ theorem iteratedDerivWithin_coefficient (I : Window) (w : ℕ → ℕ → ℝ) | ||
| 176 | 176 | iteratedDerivWithin m (coefficient I w A n) I.interval x = jet I w A.1 n m x := by |
| 177 | 177 | simpa only [coefficient, Nat.zero_add] using iteratedDerivWithin_jet I w A n 0 m hx |
| 178 | 178 | |
| 179 | -/-- Genuine infinite smoothness on the full compact interval. -/ | |
| 180 | -theorem contDiffOn_jet (I : Window) (w : ℕ → ℕ → ℝ) | |
| 181 | - (A : CoefficientSpace I w) (n q : ℕ) : | |
| 182 | - ContDiffOn ℝ ∞ (jet I w A.1 n q) I.interval := by | |
| 183 | - apply contDiffOn_of_differentiableOn_deriv | |
| 184 | - intro m hm x hx | |
| 185 | - exact ((hasDerivWithinAt_jet I w A n (q + m) hx).congr_of_mem | |
| 186 | - (fun y hy => iteratedDerivWithin_jet I w A n q m hy) hx).differentiableWithinAt | |
| 187 | - | |
| 188 | -theorem contDiffOn_coefficient (I : Window) (w : ℕ → ℕ → ℝ) | |
| 189 | - (A : CoefficientSpace I w) (n : ℕ) : | |
| 190 | - ContDiffOn ℝ ∞ (coefficient I w A n) I.interval := | |
| 191 | - contDiffOn_jet I w A n 0 | |
| 192 | - | |
| 193 | -/-- On the interior these are ordinary smooth real functions on an open | |
| 194 | -neighborhood, so an original interval may be placed inside this enlarged one. -/ | |
| 195 | -theorem contDiffAt_coefficient_interior (I : Window) (w : ℕ → ℕ → ℝ) | |
| 196 | - (A : CoefficientSpace I w) (n : ℕ) {x : ℝ} | |
| 197 | - (hx : x ∈ Ioo I.left I.right) : | |
| 198 | - ContDiffAt ℝ ∞ (coefficient I w A n) x := | |
| 199 | - ((contDiffOn_coefficient I w A n) x ⟨hx.1.le, hx.2.le⟩).contDiffAt | |
| 200 | - (Icc_mem_nhds hx.1 hx.2) | |
| 201 | - | |
| 202 | 179 | /-- The inherited norm controls every actual parameter derivative with its weight. -/ |
| 203 | 180 | theorem abs_jet_le (I : Window) (w : ℕ → ℕ → ℝ) (A : CoefficientSpace I w) |
| 204 | 181 | (n m : ℕ) (x : ℝ) : |
| @@ -207,18 +184,6 @@ theorem abs_jet_le (I : Window) (w : ℕ → ℕ → ℝ) (A : CoefficientSpace | ||
| 207 | 184 | exact mul_le_mul_of_nonneg_left |
| 208 | 185 | (A.1.norm_coe_le_norm ((n, m), I.project x)) (abs_nonneg _) |
| 209 | 186 | |
| 210 | -theorem abs_iteratedDerivWithin_coefficient_le (I : Window) (w : ℕ → ℕ → ℝ) | |
| 211 | - (A : CoefficientSpace I w) (n m : ℕ) {x : ℝ} (hx : x ∈ I.interval) : | |
| 212 | - |iteratedDerivWithin m (coefficient I w A n) I.interval x| ≤ |w n m| * ‖A‖ := by | |
| 213 | - rw [iteratedDerivWithin_coefficient I w A n m hx] | |
| 214 | - exact abs_jet_le I w A n m x | |
| 215 | - | |
| 216 | -/-- Norm convergence controls every derivative uniformly in the parameter. -/ | |
| 217 | -theorem abs_jet_sub_le (I : Window) (w : ℕ → ℕ → ℝ) (A B : CoefficientSpace I w) | |
| 218 | - (n m : ℕ) (x : ℝ) : | |
| 219 | - |jet I w A.1 n m x - jet I w B.1 n m x| ≤ |w n m| * ‖A - B‖ := by | |
| 220 | - simpa only [Submodule.coe_sub, jet_sub] using abs_jet_le I w (A - B) n m x | |
| 221 | - | |
| 222 | 187 | /-- For nonzero weights, the normalized actual derivative recovers exactly |
| 223 | 188 | the stored bounded-continuous coordinate. -/ |
| 224 | 189 | theorem normalized_derivative (I : Window) (w : ℕ → ℕ → ℝ) |
| @@ -369,83 +334,11 @@ theorem norm_ofJetFamily_le (I : Window) (w : ℕ → ℕ → ℝ) (hw : ∀ n m | ||
| 369 | 334 | jet_ofJetFamily I w hw J hcont hderiv C hC hbound n m x.property] |
| 370 | 335 | exact (div_le_iff₀ (hw n m)).mpr (hbound n m x x.property) |
| 371 | 336 | |
| 372 | -/-- A smooth coefficient family's genuine iterated derivatives form the | |
| 373 | -adjacent derivative chain required by `ofJetFamily`. -/ | |
| 374 | -theorem hasDerivWithinAt_iterated_smooth (I : Window) (F : ℕ → ℝ → ℝ) | |
| 375 | - (hF : ∀ n, ContDiffOn ℝ ∞ (F n) I.interval) (n m : ℕ) | |
| 376 | - {x : ℝ} (hx : x ∈ I.interval) : | |
| 377 | - HasDerivWithinAt (iteratedDerivWithin m (F n) I.interval) | |
| 378 | - (iteratedDerivWithin (m + 1) (F n) I.interval x) I.interval x := by | |
| 379 | - have hd : DifferentiableWithinAt ℝ (iteratedDerivWithin m (F n) I.interval) I.interval x := | |
| 380 | - (hF n).differentiableOn_iteratedDerivWithin (m := m) | |
| 381 | - (by exact_mod_cast (ENat.natCast_lt_top m)) | |
| 382 | - (uniqueDiffOn_Icc I.nondegenerate) x hx | |
| 383 | - simpa only [iteratedDerivWithin_succ] using hd.hasDerivWithinAt | |
| 384 | - | |
| 385 | -/-- Reverse constructor from actual smooth coefficient functions with | |
| 386 | -uniform bounds on all their parameter derivatives. -/ | |
| 387 | -def ofSmoothFamily (I : Window) (w : ℕ → ℕ → ℝ) (hw : ∀ n m, 0 < w n m) | |
| 388 | - (F : ℕ → ℝ → ℝ) (hF : ∀ n, ContDiffOn ℝ ∞ (F n) I.interval) | |
| 389 | - (C : ℝ) (hC : 0 ≤ C) | |
| 390 | - (hbound : ∀ n m x, x ∈ I.interval → | |
| 391 | - |iteratedDerivWithin m (F n) I.interval x| ≤ C * w n m) : CoefficientSpace I w := | |
| 392 | - ofJetFamily I w hw (fun n m => iteratedDerivWithin m (F n) I.interval) | |
| 393 | - (fun n m => (hF n).continuousOn_iteratedDerivWithin (m := m) | |
| 394 | - (by exact_mod_cast (ENat.natCast_lt_top m).le) | |
| 395 | - (uniqueDiffOn_Icc I.nondegenerate)) | |
| 396 | - (fun n m _ hx => hasDerivWithinAt_iterated_smooth I F hF n m hx) C hC hbound | |
| 397 | - | |
| 398 | -theorem jet_ofSmoothFamily (I : Window) (w : ℕ → ℕ → ℝ) (hw : ∀ n m, 0 < w n m) | |
| 399 | - (F : ℕ → ℝ → ℝ) (hF : ∀ n, ContDiffOn ℝ ∞ (F n) I.interval) | |
| 400 | - (C : ℝ) (hC : 0 ≤ C) | |
| 401 | - (hbound : ∀ n m x, x ∈ I.interval → | |
| 402 | - |iteratedDerivWithin m (F n) I.interval x| ≤ C * w n m) | |
| 403 | - (n m : ℕ) {x : ℝ} (hx : x ∈ I.interval) : | |
| 404 | - jet I w (ofSmoothFamily I w hw F hF C hC hbound).1 n m x = | |
| 405 | - iteratedDerivWithin m (F n) I.interval x := by | |
| 406 | - unfold ofSmoothFamily | |
| 407 | - exact jet_ofJetFamily I w hw _ _ _ C hC hbound n m hx | |
| 408 | - | |
| 409 | -theorem coefficient_ofSmoothFamily (I : Window) (w : ℕ → ℕ → ℝ) (hw : ∀ n m, 0 < w n m) | |
| 410 | - (F : ℕ → ℝ → ℝ) (hF : ∀ n, ContDiffOn ℝ ∞ (F n) I.interval) | |
| 411 | - (C : ℝ) (hC : 0 ≤ C) | |
| 412 | - (hbound : ∀ n m x, x ∈ I.interval → | |
| 413 | - |iteratedDerivWithin m (F n) I.interval x| ≤ C * w n m) | |
| 414 | - (n : ℕ) {x : ℝ} (hx : x ∈ I.interval) : | |
| 415 | - coefficient I w (ofSmoothFamily I w hw F hF C hC hbound) n x = F n x := by | |
| 416 | - simpa only [coefficient, iteratedDerivWithin_zero] using | |
| 417 | - jet_ofSmoothFamily I w hw F hF C hC hbound n 0 hx | |
| 418 | - | |
| 419 | -theorem norm_ofSmoothFamily_le (I : Window) (w : ℕ → ℕ → ℝ) (hw : ∀ n m, 0 < w n m) | |
| 420 | - (F : ℕ → ℝ → ℝ) (hF : ∀ n, ContDiffOn ℝ ∞ (F n) I.interval) | |
| 421 | - (C : ℝ) (hC : 0 ≤ C) | |
| 422 | - (hbound : ∀ n m x, x ∈ I.interval → | |
| 423 | - |iteratedDerivWithin m (F n) I.interval x| ≤ C * w n m) : | |
| 424 | - ‖ofSmoothFamily I w hw F hF C hC hbound‖ ≤ C := by | |
| 425 | - unfold ofSmoothFamily | |
| 426 | - exact norm_ofJetFamily_le I w hw _ _ _ C hC hbound | |
| 427 | - | |
| 428 | 337 | /-- The specific space in GAX.2, with the manuscript's exact positive weights |
| 429 | 338 | when `ε>0`. Completeness and normed vector-space structures are inherited. -/ |
| 430 | 339 | abbrev AxisSpace (I : Window) (ε : ℝ) := |
| 431 | 340 | CoefficientSpace I (AxisWeightEstimates.weight ε) |
| 432 | 341 | |
| 433 | -/-- The concrete space is a complete normed space of actual smooth functions. -/ | |
| 434 | -theorem axisSpace_complete (I : Window) (ε : ℝ) : CompleteSpace (AxisSpace I ε) := | |
| 435 | - inferInstance | |
| 436 | - | |
| 437 | -theorem axisSpace_smooth (I : Window) (ε : ℝ) (A : AxisSpace I ε) (n : ℕ) : | |
| 438 | - ContDiffOn ℝ ∞ (coefficient I (AxisWeightEstimates.weight ε) A n) I.interval := | |
| 439 | - contDiffOn_coefficient I (AxisWeightEstimates.weight ε) A n | |
| 440 | - | |
| 441 | -/-- Each actual derivative is controlled by exactly the printed weight. -/ | |
| 442 | -theorem axisSpace_derivative_bound (I : Window) {ε : ℝ} (hε : 0 < ε) | |
| 443 | - (A : AxisSpace I ε) (n m : ℕ) {x : ℝ} (hx : x ∈ I.interval) : | |
| 444 | - |iteratedDerivWithin m (coefficient I (AxisWeightEstimates.weight ε) A n) I.interval x| ≤ | |
| 445 | - AxisWeightEstimates.weight ε n m * ‖A‖ := by | |
| 446 | - simpa only [abs_of_pos (AxisWeightEstimates.weight_pos hε n m)] using | |
| 447 | - abs_iteratedDerivWithin_coefficient_le I (AxisWeightEstimates.weight ε) A n m hx | |
| 448 | - | |
| 449 | 342 | /-- The exact manuscript norm, with actual derivatives in its quotient. -/ |
| 450 | 343 | theorem axisSpace_norm_le_iff (I : Window) {ε : ℝ} (hε : 0 < ε) |
| 451 | 344 | (A : AxisSpace I ε) (C : ℝ) (hC : 0 ≤ C) : |
+0 −108 NavierStokes/AxisContraction.lean View file
| @@ -368,32 +368,6 @@ def naturalRemainder (O : NaturalOperators V) (d : AxisData V) | ||
| 368 | 368 | def referencePair (O : NaturalOperators V) (d : AxisData V) (S : V →L[ℝ] V) : V × V := |
| 369 | 369 | (S d.one, -(1 / 2 : ℝ) • O.j1 (O.product d.inverseL d.zStar)) |
| 370 | 370 | |
| 371 | -/-- Scalar check of the angular grouping used before applying the actual | |
| 372 | -linear radial inverse. No derivative terms are omitted in the expansion. -/ | |
| 373 | -theorem angular_remainder_expansion | |
| 374 | - (t h D η d U W H κ φ u bu buη φdot φη : ℝ) : | |
| 375 | - ((W + h - 2 * h * η * U) * φ + W * φdot + H * φη) + | |
| 376 | - d * κ * u * φ - | |
| 377 | - t * (((2 * D * η) * bu + (2 * h * η) * u) * φ + | |
| 378 | - d * buη * φ + (2 * D * η) * bu * φdot + | |
| 379 | - d * buη * φdot - d * u * φη) = | |
| 380 | - ((W - t * ((2 * D * η) * bu + d * buη)) + | |
| 381 | - h * (1 - 2 * η * (U + t * u)) + d * u * κ) * φ + | |
| 382 | - (W - t * ((2 * D * η) * bu + d * buη)) * φdot + | |
| 383 | - (H + t * d * u) * φη := by ring | |
| 384 | - | |
| 385 | -/-- Scalar check of the axial grouping, including the pressure terms. -/ | |
| 386 | -theorem axial_remainder_expansion | |
| 387 | - (t A D η d U Uη W H u bu buη udot uη P Pη Pdot : ℝ) : | |
| 388 | - ((A - 4 * A * η * U + d * Uη) * u + W * udot + H * uη) - | |
| 389 | - t * ((2 * A * η) * (u * u) + (2 * D * η) * bu * udot + | |
| 390 | - d * buη * udot - d * u * uη) + | |
| 391 | - (-4 * A * η * P + d * Pη - 2 * η * Pdot) = | |
| 392 | - A * (1 - 4 * η * U) * u - 2 * A * η * t * (u * u) + | |
| 393 | - (W - t * ((2 * D * η) * bu + d * buη)) * udot + | |
| 394 | - H * uη + d * Uη * u + t * d * u * uη - | |
| 395 | - 4 * A * η * P + d * Pη - 2 * η * Pdot := by ring | |
| 396 | - | |
| 397 | 371 | /-- Explicit propagation of local bounds through every term in the actual |
| 398 | 372 | integrated remainders. Its numerical fields do not depend on t or a, |
| 399 | 373 | only on the uniform upper bound M for the norm of a. -/ |
| @@ -471,18 +445,6 @@ def remainderLip (O : NaturalOperators V) (d : AxisData V) | ||
| 471 | 445 | (S : V →L[ℝ] V) (R M : ℝ) (hR : 0 ≤ R) (hM : 0 ≤ M) : ℝ := |
| 472 | 446 | (controlledRemainder O d S R M hR hM 0 (by simp) 0 (by simpa using hM)).lip |
| 473 | 447 | |
| 474 | -theorem controlledRemainder_bound_eq (O : NaturalOperators V) (d : AxisData V) | |
| 475 | - (S : V →L[ℝ] V) (R M : ℝ) (hR : 0 ≤ R) (hM : 0 ≤ M) | |
| 476 | - (t : ℝ) (ht : |t| ≤ 1) (a : V) (ha : ‖a‖ ≤ M) : | |
| 477 | - (controlledRemainder O d S R M hR hM t ht a ha).bound = | |
| 478 | - remainderBound O d S R M hR hM := by rfl | |
| 479 | - | |
| 480 | -theorem controlledRemainder_lip_eq (O : NaturalOperators V) (d : AxisData V) | |
| 481 | - (S : V →L[ℝ] V) (R M : ℝ) (hR : 0 ≤ R) (hM : 0 ≤ M) | |
| 482 | - (t : ℝ) (ht : |t| ≤ 1) (a : V) (ha : ‖a‖ ≤ M) : | |
| 483 | - (controlledRemainder O d S R M hR hM t ht a ha).lip = | |
| 484 | - remainderLip O d S R M hR hM := by rfl | |
| 485 | - | |
| 486 | 448 | theorem remainderBound_nonneg (O : NaturalOperators V) (d : AxisData V) |
| 487 | 449 | (S : V →L[ℝ] V) (R M : ℝ) (hR : 0 ≤ R) (hM : 0 ≤ M) : |
| 488 | 450 | 0 ≤ remainderBound O d S R M hR hM := |
| @@ -493,27 +455,6 @@ theorem remainderLip_nonneg (O : NaturalOperators V) (d : AxisData V) | ||
| 493 | 455 | 0 ≤ remainderLip O d S R M hR hM := |
| 494 | 456 | (controlledRemainder O d S R M hR hM 0 (by simp) 0 (by simpa using hM)).lip_nonneg |
| 495 | 457 | |
| 496 | -/-- The actual remainder is bounded uniformly in both the small parameter | |
| 497 | -and every normalized angular amplitude with norm at most M. -/ | |
| 498 | -theorem norm_naturalRemainder_le (O : NaturalOperators V) (d : AxisData V) | |
| 499 | - (S : V →L[ℝ] V) (R M : ℝ) (hR : 0 ≤ R) (hM : 0 ≤ M) | |
| 500 | - (t : ℝ) (ht : |t| ≤ 1) (a : V) (ha : ‖a‖ ≤ M) | |
| 501 | - (x : V × V) (hx : ‖x‖ ≤ R) : | |
| 502 | - ‖naturalRemainder O d S t a x‖ ≤ remainderBound O d S R M hR hM := by | |
| 503 | - have h := (controlledRemainder O d S R M hR hM t ht a ha).norm_le x hx | |
| 504 | - simpa only [controlledRemainder_eval, controlledRemainder_bound_eq] using h | |
| 505 | - | |
| 506 | -/-- The local Lipschitz estimate is derived term by term from the actual | |
| 507 | -polynomial operators, including the mixed and pressure terms. -/ | |
| 508 | -theorem naturalRemainder_sub_le (O : NaturalOperators V) (d : AxisData V) | |
| 509 | - (S : V →L[ℝ] V) (R M : ℝ) (hR : 0 ≤ R) (hM : 0 ≤ M) | |
| 510 | - (t : ℝ) (ht : |t| ≤ 1) (a : V) (ha : ‖a‖ ≤ M) | |
| 511 | - (x y : V × V) (hx : ‖x‖ ≤ R) (hy : ‖y‖ ≤ R) : | |
| 512 | - ‖naturalRemainder O d S t a x - naturalRemainder O d S t a y‖ ≤ | |
| 513 | - remainderLip O d S R M hR hM * ‖x - y‖ := by | |
| 514 | - have h := (controlledRemainder O d S R M hR hM t ht a ha).sub_le x y hx hy | |
| 515 | - simpa only [controlledRemainder_eval, controlledRemainder_lip_eq] using h | |
| 516 | - | |
| 517 | 458 | /-- A finite threshold depending only on fixed operator/coefficient data, |
| 518 | 459 | the reference pair, and the uniform norm bound M. In particular it does |
| 519 | 460 | not depend on the normalized amplitude a. -/ |
| @@ -639,55 +580,6 @@ theorem fixedPoint_integrated_equations (O : NaturalOperators V) (d : AxisData V | ||
| 639 | 580 | rwa [hlin] at h |
| 640 | 581 | · exact hu.symm |
| 641 | 582 | |
| 642 | -/-- With the left resolvent identity, the two integrated equations also | |
| 643 | -imply the nonlinear fixed-point equation. -/ | |
| 644 | -theorem integrated_equations_fixedPoint (O : NaturalOperators V) (d : AxisData V) | |
| 645 | - (S Q : V →L[ℝ] V) (hS : ∀ y : V, S (y + Q y) = y) | |
| 646 | - (t s : ℝ) (a : V) (x : V × V) | |
| 647 | - (hφ : x.1 + Q x.1 = | |
| 648 | - d.one + s • (naturalRemainder O d (ContinuousLinearMap.id ℝ V) t a x).1) | |
| 649 | - (hu : x.2 = -(1 / 2 : ℝ) • O.j1 (O.product d.inverseL d.zStar) + | |
| 650 | - s • (naturalRemainder O d (ContinuousLinearMap.id ℝ V) t a x).2) : | |
| 651 | - referencePair O d S + s • naturalRemainder O d S t a x = x := by | |
| 652 | - apply Prod.ext | |
| 653 | - · change S d.one + s • (naturalRemainder O d S t a x).1 = x.1 | |
| 654 | - rw [naturalRemainder_fst_resolvent] | |
| 655 | - calc | |
| 656 | - S d.one + s • S ((naturalRemainder O d (ContinuousLinearMap.id ℝ V) t a x).1) = | |
| 657 | - S (d.one + s • (naturalRemainder O d (ContinuousLinearMap.id ℝ V) t a x).1) := by | |
| 658 | - rw [map_add, map_smul] | |
| 659 | - _ = S (x.1 + Q x.1) := congrArg S hφ.symm | |
| 660 | - _ = x.1 := hS x.1 | |
| 661 | - · change -(1 / 2 : ℝ) • O.j1 (O.product d.inverseL d.zStar) + | |
| 662 | - s • (naturalRemainder O d S t a x).2 = x.2 | |
| 663 | - rw [naturalRemainder_snd_resolvent] | |
| 664 | - exact hu.symm | |
| 665 | - | |
| 666 | -/-- A single coefficient-space norm error controls every angular parameter | |
| 667 | -jet uniformly on the full real parameter interval. -/ | |
| 668 | -theorem axis_angular_jet_error (I : AxisCoefficientSpace.Window) (ε : ℝ) | |
| 669 | - (x x₀ : AxisCoefficientSpace.AxisSpace I ε × AxisCoefficientSpace.AxisSpace I ε) | |
| 670 | - (B : ℝ) (hB : ‖x - x₀‖ ≤ B) (n m : ℕ) (η : ℝ) : | |
| 671 | - |AxisCoefficientSpace.jet I (AxisWeightEstimates.weight ε) x.1.1 n m η - | |
| 672 | - AxisCoefficientSpace.jet I (AxisWeightEstimates.weight ε) x₀.1.1 n m η| ≤ | |
| 673 | - |AxisWeightEstimates.weight ε n m| * B := by | |
| 674 | - have hcomponent : ‖x.1 - x₀.1‖ ≤ B := (norm_fst_le (x - x₀)).trans hB | |
| 675 | - exact (AxisCoefficientSpace.abs_jet_sub_le I (AxisWeightEstimates.weight ε) | |
| 676 | - x.1 x₀.1 n m η).trans | |
| 677 | - (mul_le_mul_of_nonneg_left hcomponent (abs_nonneg _)) | |
| 678 | - | |
| 679 | -/-- The same uniform control for every axial parameter jet. -/ | |
| 680 | -theorem axis_axial_jet_error (I : AxisCoefficientSpace.Window) (ε : ℝ) | |
| 681 | - (x x₀ : AxisCoefficientSpace.AxisSpace I ε × AxisCoefficientSpace.AxisSpace I ε) | |
| 682 | - (B : ℝ) (hB : ‖x - x₀‖ ≤ B) (n m : ℕ) (η : ℝ) : | |
| 683 | - |AxisCoefficientSpace.jet I (AxisWeightEstimates.weight ε) x.2.1 n m η - | |
| 684 | - AxisCoefficientSpace.jet I (AxisWeightEstimates.weight ε) x₀.2.1 n m η| ≤ | |
| 685 | - |AxisWeightEstimates.weight ε n m| * B := by | |
| 686 | - have hcomponent : ‖x.2 - x₀.2‖ ≤ B := (norm_snd_le (x - x₀)).trans hB | |
| 687 | - exact (AxisCoefficientSpace.abs_jet_sub_le I (AxisWeightEstimates.weight ε) | |
| 688 | - x.2 x₀.2 n m η).trans | |
| 689 | - (mul_le_mul_of_nonneg_left hcomponent (abs_nonneg _)) | |
| 690 | - | |
| 691 | 583 | /-- The coefficient fixed-point error controls actual mixed derivatives |
| 692 | 584 | of the evaluated functions, uniformly on every smaller radial interval. -/ |
| 693 | 585 | theorem evaluated_mixed_error (I : AxisCoefficientSpace.Window) |
+0 −70 NavierStokes/AxisEvaluation.lean View file
| @@ -135,24 +135,6 @@ theorem summable_term (I : Window) {ε R : ℝ} (hε : 0 < ε) | ||
| 135 | 135 | {p : ℝ × ℝ} (hp : |p.1| ≤ R) : Summable (fun n => term I ε A k m n p) := |
| 136 | 136 | .of_norm_bounded (summable_majorant hR hR20 k m) (fun n => term_bound I hε hR A k m n hp) |
| 137 | 137 | |
| 138 | -theorem term_continuous (I : Window) (ε : ℝ) (A : AxisSpace I ε) (k m n : ℕ) : | |
| 139 | - Continuous (term I ε A k m n) := by | |
| 140 | - exact (continuous_const.mul (continuous_fst.pow (n - k))).mul | |
| 141 | - ((continuous_jet I (weight ε) A.1 n m).comp continuous_snd) | |
| 142 | - | |
| 143 | -/-- Uniform convergence of every mixed derivative series on every strictly | |
| 144 | -smaller closed radial interval, uniformly over the parameter interval. In | |
| 145 | -fact the clamped coefficient extension gives uniformity over all real `η`. -/ | |
| 146 | -theorem mixedSeries_uniform (I : Window) {ε R : ℝ} (hε : 0 < ε) (hR20 : R < 20) | |
| 147 | - (A : AxisSpace I ε) (k m : ℕ) : | |
| 148 | - TendstoUniformlyOn | |
| 149 | - (fun N (p : ℝ × ℝ) => ∑ n ∈ Finset.range N, term I ε A k m n p) | |
| 150 | - (mixedSeries I ε A k m) atTop {p : ℝ × ℝ | |p.1| ≤ R} := by | |
| 151 | - have hmax : max 1 R < 20 := max_lt (by norm_num) hR20 | |
| 152 | - exact tendstoUniformlyOn_tsum_nat (summable_majorant (le_max_left 1 R) hmax k m) | |
| 153 | - (fun n p hp => term_bound I hε (le_max_left 1 R) A k m n | |
| 154 | - (hp.trans (le_max_right 1 R))) | |
| 155 | - | |
| 156 | 138 | def strip (I : Window) (R : ℝ) : Set (ℝ × ℝ) := |
| 157 | 139 | Ioo (-R) R ×ˢ Ioo I.left I.right |
| 158 | 140 | |
| @@ -435,56 +417,4 @@ theorem mixedSeries_sub_bound (I : Window) {ε R : ℝ} (hε : 0 < ε) | ||
| 435 | 417 | rw [mixedSeries_sub I hε A B k m (hp.trans_lt hR20)] |
| 436 | 418 | _ ≤ _ := mixedSeries_bound I hε hR hR20 (A - B) k m hp |
| 437 | 419 | |
| 438 | -theorem profile_smooth_radius (I : Window) {ε R : ℝ} (hε : 0 < ε) (hR20 : R < 20) | |
| 439 | - (A : AxisSpace I ε) : ContDiffOn ℝ ∞ (profile I ε A) (strip I R) := by | |
| 440 | - apply (profile_smooth I hε A).mono | |
| 441 | - intro p hp | |
| 442 | - exact ⟨⟨(neg_lt_neg hR20).trans hp.1.1, hp.1.2.trans hR20⟩, hp.2⟩ | |
| 443 | - | |
| 444 | -theorem coefficient_iteratedDeriv (I : Window) (ε : ℝ) (A : AxisSpace I ε) | |
| 445 | - (n m : ℕ) {η : ℝ} (hη : η ∈ Ioo I.left I.right) : | |
| 446 | - iteratedDeriv m (coefficient I (weight ε) A n) η = jet I (weight ε) A.1 n m η := by | |
| 447 | - induction m generalizing η with | |
| 448 | - | zero => rfl | |
| 449 | - | succ m ih => | |
| 450 | - rw [iteratedDeriv_succ] | |
| 451 | - have heq : iteratedDeriv m (coefficient I (weight ε) A n) =ᶠ[𝓝 η] | |
| 452 | - jet I (weight ε) A.1 n m := by | |
| 453 | - filter_upwards [Ioo_mem_nhds hη.1 hη.2] with x hx | |
| 454 | - exact ih hx | |
| 455 | - rw [heq.deriv_eq, (hasDerivAt_jet_interior I (weight ε) A n m hη).deriv] | |
| 456 | - | |
| 457 | -/-- Termwise mixed differentiation stated entirely using ordinary | |
| 458 | -derivatives of the actual coefficient functions. -/ | |
| 459 | -theorem mixed_derivative_profile_coefficients (I : Window) {ε : ℝ} (hε : 0 < ε) | |
| 460 | - (A : AxisSpace I ε) (k m : ℕ) {Y η : ℝ} | |
| 461 | - (hY : Y ∈ Ioo (-20 : ℝ) 20) (hη : η ∈ Ioo I.left I.right) : | |
| 462 | - iteratedDeriv m (fun x => iteratedDeriv k (fun y => profile I ε A (y, x)) Y) η = | |
| 463 | - ∑' n : ℕ, (n.descFactorial k : ℝ) * Y ^ (n - k) * | |
| 464 | - iteratedDeriv m (coefficient I (weight ε) A n) η := by | |
| 465 | - rw [mixed_derivative_profile I hε A k m hY hη] | |
| 466 | - apply tsum_congr | |
| 467 | - intro n | |
| 468 | - rw [coefficient_iteratedDeriv I ε A n m hη] | |
| 469 | - | |
| 470 | -/-- A window larger than the target interval, with arbitrarily small margin. -/ | |
| 471 | -def enlargedUnitWindow (δ : ℝ) (hδ : 0 < δ) : Window where | |
| 472 | - left := -1 - δ | |
| 473 | - right := 1 + δ | |
| 474 | - nondegenerate := by linarith | |
| 475 | - | |
| 476 | -theorem unitInterval_in_enlargedWindow {δ : ℝ} (hδ : 0 < δ) : | |
| 477 | - Icc (-1 : ℝ) 1 ⊆ Ioo (enlargedUnitWindow δ hδ).left (enlargedUnitWindow δ hδ).right := by | |
| 478 | - intro x hx | |
| 479 | - constructor <;> dsimp [enlargedUnitWindow] <;> linarith [hx.1, hx.2] | |
| 480 | - | |
| 481 | -/-- In particular both endpoints of the target interval `[-1,1]` have | |
| 482 | -ordinary open-neighborhood smoothness; no endpoint extension is assumed. -/ | |
| 483 | -theorem profile_smooth_target {δ ε : ℝ} (hδ : 0 < δ) (hε : 0 < ε) | |
| 484 | - (A : AxisSpace (enlargedUnitWindow δ hδ) ε) {Y η : ℝ} | |
| 485 | - (hY : Y ∈ Ioo (-20 : ℝ) 20) (hη : η ∈ Icc (-1 : ℝ) 1) : | |
| 486 | - ContDiffAt ℝ ∞ (profile (enlargedUnitWindow δ hδ) ε A) (Y, η) := by | |
| 487 | - rw [← mixedSeries_zero] | |
| 488 | - exact mixedSeries_smooth _ hε A 0 0 ⟨hY, unitInterval_in_enlargedWindow hδ hη⟩ | |
| 489 | - | |
| 490 | 420 | end NavierStokes.AxisEvaluation |
+0 −72 NavierStokes/AxisEvaluationAlgebra.lean View file
| @@ -57,14 +57,6 @@ theorem profile_axis (I : Window) (ε : ℝ) (A : AxisSpace I ε) (η : ℝ) : | ||
| 57 | 57 | · intro n hn |
| 58 | 58 | simp [zero_pow hn] |
| 59 | 59 | |
| 60 | -theorem profile_deriv_Y (I : Window) {ε : ℝ} (hε : 0 < ε) | |
| 61 | - (A : AxisSpace I ε) {Y η : ℝ} (hY : Y ∈ Ioo (-20 : ℝ) 20) | |
| 62 | - (hη : η ∈ Ioo I.left I.right) : | |
| 63 | - deriv (fun y => profile I ε A (y, η)) Y = mixedSeries I ε A 1 0 (Y, η) := by | |
| 64 | - have hd := mixedSeries_hasDerivAt_Y I hε A 0 0 hY hη | |
| 65 | - rw [mixedSeries_zero] at hd | |
| 66 | - exact hd.deriv | |
| 67 | - | |
| 68 | 60 | theorem profile_deriv_eta (I : Window) {ε : ℝ} (hε : 0 < ε) |
| 69 | 61 | (A : AxisSpace I ε) {Y η : ℝ} (hY : Y ∈ Ioo (-20 : ℝ) 20) |
| 70 | 62 | (hη : η ∈ Ioo I.left I.right) : |
| @@ -73,24 +65,9 @@ theorem profile_deriv_eta (I : Window) {ε : ℝ} (hε : 0 < ε) | ||
| 73 | 65 | rw [mixedSeries_zero] at hd |
| 74 | 66 | exact hd.deriv |
| 75 | 67 | |
| 76 | -theorem profile_iteratedDeriv_Y (I : Window) {ε : ℝ} (hε : 0 < ε) | |
| 77 | - (A : AxisSpace I ε) (k : ℕ) {Y η : ℝ} (hY : Y ∈ Ioo (-20 : ℝ) 20) | |
| 78 | - (hη : η ∈ Ioo I.left I.right) : | |
| 79 | - iteratedDeriv k (fun y => profile I ε A (y, η)) Y = mixedSeries I ε A k 0 (Y, η) := by | |
| 80 | - simpa only [mixedSeries_zero, Nat.zero_add] using iteratedDeriv_Y I hε A 0 0 k hY hη | |
| 81 | - | |
| 82 | 68 | def radialValue (I : Window) (ε : ℝ) (r : ℕ) (A : AxisSpace I ε) (p : ℝ × ℝ) : ℝ := |
| 83 | 69 | p.1 * mixedSeries I ε A 2 0 p + (r : ℝ) * mixedSeries I ε A 1 0 p |
| 84 | 70 | |
| 85 | -theorem radialValue_eq_derivatives (I : Window) {ε : ℝ} (hε : 0 < ε) | |
| 86 | - (r : ℕ) (A : AxisSpace I ε) {Y η : ℝ} (hY : Y ∈ Ioo (-20 : ℝ) 20) | |
| 87 | - (hη : η ∈ Ioo I.left I.right) : | |
| 88 | - radialValue I ε r A (Y, η) = | |
| 89 | - Y * iteratedDeriv 2 (fun y => profile I ε A (y, η)) Y + | |
| 90 | - (r : ℝ) * deriv (fun y => profile I ε A (y, η)) Y := by | |
| 91 | - rw [profile_iteratedDeriv_Y I hε A 2 hY hη, profile_deriv_Y I hε A hY hη] | |
| 92 | - rfl | |
| 93 | - | |
| 94 | 71 | theorem polynomialJet_radial (r n : ℕ) (Y : ℝ) : |
| 95 | 72 | Y * polynomialJet (n + 1) 2 Y + (r : ℝ) * polynomialJet (n + 1) 1 Y = |
| 96 | 73 | radialDivisor r n * Y ^ n := by |
| @@ -413,35 +390,6 @@ theorem parameterPrimitive_eq_deriv_eta (I : Window) {ε : ℝ} (hε : 0 < ε) | ||
| 413 | 390 | rw [profile_deriv_eta I hε _ hY hη] |
| 414 | 391 | exact parameterPrimitive_eta_value I hε A Y ⟨hη.1.le, hη.2.le⟩ |
| 415 | 392 | |
| 416 | -theorem parameterPrimitive_Y_value (I : Window) {ε : ℝ} (hε : 0 < ε) | |
| 417 | - (A : AxisSpace I ε) {Y η : ℝ} (hY : |Y| < 20) (hη : η ∈ I.interval) : | |
| 418 | - mixedSeries I ε (parameterPrimitive I hε A) 1 0 (Y, η) = | |
| 419 | - mixedSeries I ε A 0 1 (Y, η) := by | |
| 420 | - rw [derivativeSeries I hε _ hY, parameterSeries] | |
| 421 | - apply tsum_congr | |
| 422 | - intro n | |
| 423 | - change ((n : ℝ) + 1) * Y ^ n * inputJet I ε (parameterPrimitive I hε A) (n + 1) 0 η = _ | |
| 424 | - rw [jet_parameterPrimitive_eval I hε A (n + 1) 0 hη] | |
| 425 | - simp only [primitiveScale, Nat.pred_succ, Nat.add_zero] | |
| 426 | - field_simp | |
| 427 | - | |
| 428 | -theorem parameterPrimitive_hasDerivAt (I : Window) {ε : ℝ} (hε : 0 < ε) | |
| 429 | - (A : AxisSpace I ε) {Y η : ℝ} (hY : Y ∈ Ioo (-20 : ℝ) 20) | |
| 430 | - (hη : η ∈ Ioo I.left I.right) : | |
| 431 | - HasDerivAt (fun y => profile I ε (parameterPrimitive I hε A) (y, η)) | |
| 432 | - (deriv (fun x => profile I ε A (Y, x)) η) Y := by | |
| 433 | - have hd := mixedSeries_hasDerivAt_Y I hε (parameterPrimitive I hε A) 0 0 hY hη | |
| 434 | - rw [mixedSeries_zero, parameterPrimitive_Y_value I hε A (abs_lt.mpr hY) ⟨hη.1.le, hη.2.le⟩] at hd | |
| 435 | - rwa [profile_deriv_eta I hε A hY hη] | |
| 436 | - | |
| 437 | -theorem parameterPrimitive_axis_zero (I : Window) {ε : ℝ} (hε : 0 < ε) | |
| 438 | - (A : AxisSpace I ε) {η : ℝ} (hη : η ∈ I.interval) : | |
| 439 | - profile I ε (parameterPrimitive I hε A) (0, η) = 0 := by | |
| 440 | - rw [profile_axis] | |
| 441 | - change inputJet I ε (parameterPrimitive I hε A) 0 0 η = _ | |
| 442 | - rw [jet_parameterPrimitive_eval I hε A 0 0 hη] | |
| 443 | - simp [primitiveScale] | |
| 444 | - | |
| 445 | 393 | theorem radial_segment_mem {Y y : ℝ} (hY : Y ∈ Ioo (-20 : ℝ) 20) |
| 446 | 394 | (hy : y ∈ uIcc (0 : ℝ) Y) : y ∈ Ioo (-20 : ℝ) 20 := by |
| 447 | 395 | rcases le_total (0 : ℝ) Y with h | h |
| @@ -475,26 +423,6 @@ theorem average_integral (I : Window) {ε : ℝ} (hε : 0 < ε) | ||
| 475 | 423 | rw [average_times_Y I hε A (abs_lt.mpr hY) ⟨hη.1.le, hη.2.le⟩] |
| 476 | 424 | exact primitive_integral I hε A hY hη |
| 477 | 425 | |
| 478 | -theorem regularInverse_actual_equation (I : Window) {ε : ℝ} (hε : 0 < ε) | |
| 479 | - (r : ℕ) (hr : 1 ≤ r) (A : AxisSpace I ε) {Y η : ℝ} | |
| 480 | - (hY : Y ∈ Ioo (-20 : ℝ) 20) (hη : η ∈ Ioo I.left I.right) : | |
| 481 | - Y * iteratedDeriv 2 (fun y => profile I ε (regularInverse I hε r hr A) (y, η)) Y + | |
| 482 | - (r : ℝ) * deriv (fun y => profile I ε (regularInverse I hε r hr A) (y, η)) Y = | |
| 483 | - profile I ε A (Y, η) := by | |
| 484 | - rw [← radialValue_eq_derivatives I hε r _ hY hη] | |
| 485 | - exact regularInverse_equation I hε r hr A (abs_lt.mpr hY) ⟨hη.1.le, hη.2.le⟩ | |
| 486 | - | |
| 487 | -theorem inverseMixed_actual_equation (I : Window) {ε : ℝ} (hε : 0 < ε) | |
| 488 | - (r : ℕ) (hr : 1 ≤ r) (A B : AxisSpace I ε) {Y η : ℝ} | |
| 489 | - (hY : Y ∈ Ioo (-20 : ℝ) 20) (hη : η ∈ Ioo I.left I.right) : | |
| 490 | - Y * iteratedDeriv 2 (fun y => profile I ε (inverseMixed I hε r hr A B) (y, η)) Y + | |
| 491 | - (r : ℝ) * deriv (fun y => profile I ε (inverseMixed I hε r hr A B) (y, η)) Y = | |
| 492 | - deriv (fun x => profile I ε A (Y, x)) η * | |
| 493 | - (Y * deriv (fun y => profile I ε B (y, η)) Y) := by | |
| 494 | - rw [← radialValue_eq_derivatives I hε r _ hY hη, | |
| 495 | - profile_deriv_eta I hε A hY hη, profile_deriv_Y I hε B hY hη] | |
| 496 | - exact inverseMixed_equation I hε r hr A B (abs_lt.mpr hY) ⟨hη.1.le, hη.2.le⟩ | |
| 497 | - | |
| 498 | 426 | theorem average_axis (I : Window) {ε : ℝ} (hε : 0 < ε) |
| 499 | 427 | (A : AxisSpace I ε) {η : ℝ} (hη : η ∈ I.interval) : |
| 500 | 428 | profile I ε (average I hε A) (0, η) = profile I ε A (0, η) := by |
+0 −83 NavierStokes/AxisHolomorphic.lean View file
| @@ -456,50 +456,6 @@ theorem complexProfile_hasDerivAt_Y (I : Window) {ε R s : ℝ} (hε : 0 < ε) | ||
| 456 | 456 | (fun n => normalizedJet_bound I hε hR hs hs1 A k n hY.le z.re)) |
| 457 | 457 | (abs_lt.mp hY) |
| 458 | 458 | |
| 459 | -/-- Every member of the holomorphic family is the actual corresponding radial derivative. -/ | |
| 460 | -theorem complexProfile_iteratedDeriv_Y (I : Window) {ε R s : ℝ} (hε : 0 < ε) | |
| 461 | - (hR : 1 ≤ R) (hs : R / 20 < s) (hs1 : s < 1) (A : AxisSpace I ε) | |
| 462 | - (k r : ℕ) {Y : ℝ} (hY : |Y| < R) {z : ℂ} | |
| 463 | - (hz : z ∈ parameterStrip I (ε * (1 - s))) : | |
| 464 | - iteratedDeriv r (fun y => complexProfile I ε A k y z) Y = | |
| 465 | - complexProfile I ε A (k + r) Y z := by | |
| 466 | - induction r generalizing Y with | |
| 467 | - | zero => simp | |
| 468 | - | succ r ih => | |
| 469 | - rw [iteratedDeriv_succ] | |
| 470 | - have heq : (iteratedDeriv r (fun y => complexProfile I ε A k y z)) =ᶠ[𝓝 Y] | |
| 471 | - (fun y => complexProfile I ε A (k + r) y z) := by | |
| 472 | - filter_upwards [Ioo_mem_nhds (abs_lt.mp hY).1 (abs_lt.mp hY).2] with y hy | |
| 473 | - exact ih (abs_lt.mpr hy) | |
| 474 | - rw [heq.deriv_eq, (complexProfile_hasDerivAt_Y I hε hR hs hs1 A (k + r) hY hz).deriv] | |
| 475 | - simp only [Nat.add_assoc] | |
| 476 | - | |
| 477 | -/-- On the real axis, every genuine complex derivative is the corresponding | |
| 478 | -already constructed compatible parameter jet. -/ | |
| 479 | -theorem complexProfile_iteratedDeriv_ofReal (I : Window) {ε R s : ℝ} (hε : 0 < ε) | |
| 480 | - (hR : 1 ≤ R) (hs : R / 20 < s) (hs1 : s < 1) (A : AxisSpace I ε) | |
| 481 | - (k m : ℕ) {Y x : ℝ} (hY : |Y| ≤ R) (hx : x ∈ Ioo I.left I.right) : | |
| 482 | - iteratedDeriv m (complexProfile I ε A k Y) (x : ℂ) = | |
| 483 | - (mixedSeries I ε A k m (Y, x) : ℂ) := by | |
| 484 | - have hY20 : |Y| < 20 := hY.trans_lt (by linarith) | |
| 485 | - have ha : 0 < ε * (1 - s) := mul_pos hε (by linarith) | |
| 486 | - induction m generalizing x with | |
| 487 | - | zero => simpa only [iteratedDeriv_zero] using complexProfile_ofReal I ε A k Y x | |
| 488 | - | succ m ih => | |
| 489 | - rw [iteratedDeriv_succ] | |
| 490 | - have hx' : (x : ℂ) ∈ parameterStrip I (ε * (1 - s)) := by | |
| 491 | - exact ⟨hx, by simpa only [Complex.ofReal_im, abs_zero] using half_pos ha⟩ | |
| 492 | - have han : AnalyticAt ℂ (iteratedDeriv m (complexProfile I ε A k Y)) (x : ℂ) := by | |
| 493 | - simpa only [iteratedDeriv_eq_iterate] using | |
| 494 | - ((complexProfile_analytic I hε hR hs hs1 A k hY) (x : ℂ) hx').iterated_deriv m | |
| 495 | - have heq : (fun t : ℝ => iteratedDeriv m (complexProfile I ε A k Y) (t : ℂ)) =ᶠ[𝓝 x] | |
| 496 | - (fun t : ℝ => (mixedSeries I ε A k m (Y, t) : ℂ)) := by | |
| 497 | - filter_upwards [Ioo_mem_nhds hx.1 hx.2] with t ht | |
| 498 | - exact ih ht | |
| 499 | - have hreal := (mixedSeries_hasDerivAt_eta I hε A k m (abs_lt.mp hY20) hx).ofReal_comp | |
| 500 | - exact han.differentiableAt.hasDerivAt.comp_ofReal.unique | |
| 501 | - (hreal.congr_of_eventuallyEq heq) | |
| 502 | - | |
| 503 | 459 | /-- The open complex tube around a closed real window. -/ |
| 504 | 460 | noncomputable def parameterTube (J : Window) (δ : ℝ) : Set ℂ := |
| 505 | 461 | {z | ∃ x ∈ J.interval, dist z (x : ℂ) < δ} |
| @@ -530,43 +486,4 @@ theorem exists_parameterTube_subset (I J : Window) (hleft : I.left < J.left) | ||
| 530 | 486 | have hz' := abs_le.mp hre |
| 531 | 487 | exact ⟨⟨by linarith, by linarith⟩, by linarith⟩ |
| 532 | 488 | |
| 533 | -/-- A common, explicitly constructed holomorphic extension exists on a positive | |
| 534 | -tube over every strictly smaller real window and compact radial interval. | |
| 535 | - | |
| 536 | -The tube and all bound constants are chosen before the coefficient vector. | |
| 537 | -Every radial derivative uses this same tube, and all complex parameter jets | |
| 538 | -match the genuine real jets. -/ | |
| 539 | -theorem exists_common_holomorphic_extension (I J : Window) (hleft : I.left < J.left) | |
| 540 | - (hright : J.right < I.right) {ε R : ℝ} (hε : 0 < ε) (hR20 : R < 20) : | |
| 541 | - ∃ δ : ℝ, 0 < δ ∧ ∃ B : ℕ → ℝ, (∀ k, 0 ≤ B k) ∧ | |
| 542 | - ∀ (A : AxisSpace I ε) (Y : ℝ), |Y| ≤ R → ∀ k : ℕ, | |
| 543 | - AnalyticOnNhd ℂ (complexProfile I ε A k Y) (parameterTube J δ) ∧ | |
| 544 | - (∀ z ∈ parameterTube J δ, ‖complexProfile I ε A k Y z‖ ≤ B k * ‖A‖) ∧ | |
| 545 | - (∀ z ∈ parameterTube J δ, | |
| 546 | - iteratedDeriv k (fun y => complexProfile I ε A 0 y z) Y = | |
| 547 | - complexProfile I ε A k Y z) ∧ | |
| 548 | - (∀ (m : ℕ) (x : ℝ), x ∈ J.interval → | |
| 549 | - iteratedDeriv m (complexProfile I ε A k Y) (x : ℂ) = | |
| 550 | - (mixedSeries I ε A k m (Y, x) : ℂ)) := by | |
| 551 | - obtain ⟨S, hS, hS20⟩ := exists_between (max_lt (by norm_num : (1 : ℝ) < 20) hR20) | |
| 552 | - have hS1 : 1 ≤ S := (le_max_left 1 R).trans hS.le | |
| 553 | - have hRS : R < S := (le_max_right 1 R).trans_lt hS | |
| 554 | - obtain ⟨s, hs, hs1⟩ := exists_between (show S / 20 < 1 by linarith) | |
| 555 | - have ha : 0 < ε * (1 - s) := mul_pos hε (by linarith) | |
| 556 | - obtain ⟨δ, hδ, htube⟩ := exists_parameterTube_subset I J hleft hright ha | |
| 557 | - refine ⟨δ, hδ, (fun k => 2 * jetConstant S s k), ?_, ?_⟩ | |
| 558 | - · intro k | |
| 559 | - exact mul_nonneg (by norm_num) (jetConstant_nonneg hS1 hs hs1 k) | |
| 560 | - · intro A Y hY k | |
| 561 | - have hYS : |Y| < S := hY.trans_lt hRS | |
| 562 | - refine ⟨(complexProfile_analytic I hε hS1 hs hs1 A k hYS.le).mono htube, ?_, ?_, ?_⟩ | |
| 563 | - · intro z hz | |
| 564 | - exact complexProfile_bound I hε hS1 hs hs1 A k hYS.le (htube hz).2.le | |
| 565 | - · intro z hz | |
| 566 | - simpa only [Nat.zero_add] using | |
| 567 | - complexProfile_iteratedDeriv_Y I hε hS1 hs hs1 A 0 k hYS (htube hz) | |
| 568 | - · intro m x hx | |
| 569 | - exact complexProfile_iteratedDeriv_ofReal I hε hS1 hs hs1 A k m hYS.le | |
| 570 | - ⟨hleft.trans_le hx.1, hx.2.trans_lt hright⟩ | |
| 571 | - | |
| 572 | 489 | end NavierStokes.AxisHolomorphic |
+0 −64 NavierStokes/AxisHolomorphicJoint.lean View file
| @@ -173,68 +173,4 @@ theorem complexProfile_joint_smooth (I : Window) {ε R s : ℝ} (hε : 0 < ε) | ||
| 173 | 173 | exact (hlocal.contDiffAt ((isOpen_Ioo.prod isOpen_ball).mem_nhds |
| 174 | 174 | ⟨hp.1, mem_ball_self hσ⟩)).contDiffWithinAt |
| 175 | 175 | |
| 176 | -/-- Every tube contained in the constructed strip inherits joint smoothness. -/ | |
| 177 | -theorem complexProfile_joint_smooth_tube (I J : Window) {ε R s δ : ℝ} | |
| 178 | - (hε : 0 < ε) (hR : 1 ≤ R) (hs : R / 20 < s) (hs1 : s < 1) | |
| 179 | - (htube : parameterTube J δ ⊆ parameterStrip I (ε * (1 - s))) | |
| 180 | - (A : AxisSpace I ε) (k : ℕ) : | |
| 181 | - ContDiffOn ℝ ∞ (fun p : ℝ × ℂ => complexProfile I ε A k p.1 p.2) | |
| 182 | - (Ioo (-R) R ×ˢ parameterTube J δ) := | |
| 183 | - (complexProfile_joint_smooth I hε hR hs hs1 A k).mono | |
| 184 | - (Set.prod_mono Subset.rfl htube) | |
| 185 | - | |
| 186 | -/-- The jointly smooth extension is exactly the original real radial jet on | |
| 187 | -the real slice, rather than a separately selected continuation. -/ | |
| 188 | -theorem complexProfile_joint_real_agreement (I : Window) (ε : ℝ) | |
| 189 | - (A : AxisSpace I ε) (k : ℕ) (Y x : ℝ) : | |
| 190 | - complexProfile I ε A k Y (x : ℂ) = (mixedSeries I ε A k 0 (Y, x) : ℂ) := | |
| 191 | - complexProfile_ofReal I ε A k Y x | |
| 192 | - | |
| 193 | -theorem complexProfile_joint_zero_real_agreement (I : Window) (ε : ℝ) | |
| 194 | - (A : AxisSpace I ε) (Y x : ℝ) : | |
| 195 | - complexProfile I ε A 0 Y (x : ℂ) = (profile I ε A (Y, x) : ℂ) := | |
| 196 | - complexProfile_zero_ofReal I ε A Y x | |
| 197 | - | |
| 198 | -/-- A common positive tube and a genuine open radial neighborhood work for | |
| 199 | -every coefficient vector and every radial derivative order. The extension is | |
| 200 | -jointly real smooth, holomorphic in the complex parameter, uniformly bounded, | |
| 201 | -and agrees with all actual real parameter jets. -/ | |
| 202 | -theorem exists_common_joint_extension (I J : Window) (hleft : I.left < J.left) | |
| 203 | - (hright : J.right < I.right) {ε R : ℝ} (hε : 0 < ε) (hR20 : R < 20) : | |
| 204 | - ∃ δ : ℝ, 0 < δ ∧ ∃ S : ℝ, R < S ∧ S < 20 ∧ ∃ B : ℕ → ℝ, | |
| 205 | - (∀ k, 0 ≤ B k) ∧ ∀ (A : AxisSpace I ε) (k : ℕ), | |
| 206 | - ContDiffOn ℝ ∞ (fun p : ℝ × ℂ => complexProfile I ε A k p.1 p.2) | |
| 207 | - (Ioo (-S) S ×ˢ parameterTube J δ) ∧ | |
| 208 | - ∀ Y : ℝ, |Y| ≤ R → | |
| 209 | - AnalyticOnNhd ℂ (complexProfile I ε A k Y) (parameterTube J δ) ∧ | |
| 210 | - (∀ z ∈ parameterTube J δ, ‖complexProfile I ε A k Y z‖ ≤ B k * ‖A‖) ∧ | |
| 211 | - (∀ z ∈ parameterTube J δ, | |
| 212 | - iteratedDeriv k (fun y => complexProfile I ε A 0 y z) Y = | |
| 213 | - complexProfile I ε A k Y z) ∧ | |
| 214 | - (∀ (m : ℕ) (x : ℝ), x ∈ J.interval → | |
| 215 | - iteratedDeriv m (complexProfile I ε A k Y) (x : ℂ) = | |
| 216 | - (mixedSeries I ε A k m (Y, x) : ℂ)) := by | |
| 217 | - obtain ⟨S, hS, hS20⟩ := exists_between (max_lt (by norm_num : (1 : ℝ) < 20) hR20) | |
| 218 | - have hS1 : 1 ≤ S := (le_max_left 1 R).trans hS.le | |
| 219 | - have hRS : R < S := (le_max_right 1 R).trans_lt hS | |
| 220 | - obtain ⟨s, hs, hs1⟩ := exists_between (show S / 20 < 1 by linarith) | |
| 221 | - have ha : 0 < ε * (1 - s) := mul_pos hε (by linarith) | |
| 222 | - obtain ⟨δ, hδ, htube⟩ := exists_parameterTube_subset I J hleft hright ha | |
| 223 | - refine ⟨δ, hδ, S, hRS, hS20, (fun k => 2 * jetConstant S s k), ?_, ?_⟩ | |
| 224 | - · intro k | |
| 225 | - exact mul_nonneg (by norm_num) (jetConstant_nonneg hS1 hs hs1 k) | |
| 226 | - · intro A k | |
| 227 | - refine ⟨complexProfile_joint_smooth_tube I J hε hS1 hs hs1 htube A k, ?_⟩ | |
| 228 | - intro Y hY | |
| 229 | - have hYS : |Y| < S := hY.trans_lt hRS | |
| 230 | - refine ⟨(complexProfile_analytic I hε hS1 hs hs1 A k hYS.le).mono htube, ?_, ?_, ?_⟩ | |
| 231 | - · intro z hz | |
| 232 | - exact complexProfile_bound I hε hS1 hs hs1 A k hYS.le (htube hz).2.le | |
| 233 | - · intro z hz | |
| 234 | - simpa only [Nat.zero_add] using | |
| 235 | - complexProfile_iteratedDeriv_Y I hε hS1 hs hs1 A 0 k hYS (htube hz) | |
| 236 | - · intro m x hx | |
| 237 | - exact complexProfile_iteratedDeriv_ofReal I hε hS1 hs hs1 A k m hYS.le | |
| 238 | - ⟨hleft.trans_le hx.1, hx.2.trans_lt hright⟩ | |
| 239 | - | |
| 240 | 176 | end NavierStokes.AxisHolomorphicJoint |
+0 −239 NavierStokes/AxisInverseFactors.lean View file
| @@ -14,28 +14,6 @@ private local instance (I : Window) (ε : ℝ) : NormedSpace ℝ (AxisSpace I ε | ||
| 14 | 14 | |
| 15 | 15 | def degreeMultiplier (r n : ℕ) : ℝ := (n : ℝ) * ((n : ℝ) + r - 1) |
| 16 | 16 | |
| 17 | -theorem degreeMultiplier_nonneg {r : ℕ} (hr : 1 ≤ r) (n : ℕ) : | |
| 18 | - 0 ≤ degreeMultiplier r n := by | |
| 19 | - have hr' : (1 : ℝ) ≤ r := by exact_mod_cast hr | |
| 20 | - have hn : 0 ≤ (n : ℝ) := by positivity | |
| 21 | - unfold degreeMultiplier | |
| 22 | - exact mul_nonneg hn (by linarith) | |
| 23 | - | |
| 24 | -theorem degreeMultiplier_mono {r : ℕ} (hr : 1 ≤ r) : Monotone (degreeMultiplier r) := by | |
| 25 | - intro i n hin | |
| 26 | - have hr' : (1 : ℝ) ≤ r := by exact_mod_cast hr | |
| 27 | - have hi : 0 ≤ (i : ℝ) := by positivity | |
| 28 | - have hn : (i : ℝ) ≤ n := by exact_mod_cast hin | |
| 29 | - unfold degreeMultiplier | |
| 30 | - nlinarith | |
| 31 | - | |
| 32 | -theorem degreeMultiplier_pos {r n : ℕ} (hr : 1 ≤ r) (hn : 0 < n) : | |
| 33 | - 0 < degreeMultiplier r n := by | |
| 34 | - have hr' : (1 : ℝ) ≤ r := by exact_mod_cast hr | |
| 35 | - have hn' : (0 : ℝ) < n := by exact_mod_cast hn | |
| 36 | - unfold degreeMultiplier | |
| 37 | - exact mul_pos hn' (by linarith) | |
| 38 | - | |
| 39 | 17 | @[simp] theorem degreeMultiplier_zero (r : ℕ) : degreeMultiplier r 0 = 0 := by |
| 40 | 18 | simp [degreeMultiplier] |
| 41 | 19 | |
| @@ -44,221 +22,4 @@ theorem degreeMultiplier_pos {r n : ℕ} (hr : 1 ≤ r) (hn : 0 < n) : | ||
| 44 | 22 | simp only [degreeMultiplier, radialDivisor, Nat.cast_add, Nat.cast_one] |
| 45 | 23 | ring |
| 46 | 24 | |
| 47 | -/-- The harmless cutoff only makes the coefficient ratio bounded for | |
| 48 | -indices outside the convolution range. -/ | |
| 49 | -def ratio (r n i : ℕ) : ℝ := degreeMultiplier r (min i n) / degreeMultiplier r n | |
| 50 | - | |
| 51 | -theorem ratio_mem_Icc {r : ℕ} (hr : 1 ≤ r) (n i : ℕ) : ratio r n i ∈ Icc (0 : ℝ) 1 := by | |
| 52 | - refine ⟨div_nonneg (degreeMultiplier_nonneg hr _) (degreeMultiplier_nonneg hr _), ?_⟩ | |
| 53 | - by_cases hn : n = 0 | |
| 54 | - · simp [ratio, hn] | |
| 55 | - · exact (div_le_one (degreeMultiplier_pos hr (Nat.pos_of_ne_zero hn))).mpr | |
| 56 | - (degreeMultiplier_mono hr (min_le_right _ _)) | |
| 57 | - | |
| 58 | -theorem ratio_of_le (r n i : ℕ) (hi : i ≤ n) : | |
| 59 | - ratio r n i = degreeMultiplier r i / degreeMultiplier r n := by | |
| 60 | - simp only [ratio, min_eq_left hi] | |
| 61 | - | |
| 62 | -def insertFamily (I : Window) (ε : ℝ) (r : ℕ) (A B : AxisSpace I ε) | |
| 63 | - (n m : ℕ) (x : ℝ) : ℝ := | |
| 64 | - jetProduct (fun i k => ratio r n i * inputJet I ε A i k x) | |
| 65 | - (fun j l => inputJet I ε B j l x) n m | |
| 66 | - | |
| 67 | -theorem insertFamily_continuous (I : Window) (ε : ℝ) (r : ℕ) | |
| 68 | - (A B : AxisSpace I ε) (n m : ℕ) : | |
| 69 | - ContinuousOn (insertFamily I ε r A B n m) I.interval := by | |
| 70 | - change ContinuousOn (fun x => ∑ ij ∈ antidiagonal n, | |
| 71 | - leibnizSum (fun k => ratio r n ij.1 * inputJet I ε A ij.1 k x) | |
| 72 | - (fun l => inputJet I ε B ij.2 l x) m) I.interval | |
| 73 | - apply continuousOn_finsetSum | |
| 74 | - intro ij _ | |
| 75 | - apply continuousOn_leibnizSum I | |
| 76 | - · intro k | |
| 77 | - exact continuousOn_const.mul (continuous_jet I (weight ε) A.1 ij.1 k).continuousOn | |
| 78 | - · intro k | |
| 79 | - exact (continuous_jet I (weight ε) B.1 ij.2 k).continuousOn | |
| 80 | - | |
| 81 | -theorem insertFamily_deriv (I : Window) (ε : ℝ) (r : ℕ) | |
| 82 | - (A B : AxisSpace I ε) (n m : ℕ) (x : ℝ) (hx : x ∈ I.interval) : | |
| 83 | - HasDerivWithinAt (insertFamily I ε r A B n m) | |
| 84 | - (insertFamily I ε r A B n (m+1) x) I.interval x := by | |
| 85 | - exact HasDerivWithinAt.fun_sum (u := antidiagonal n) (fun ij _ => | |
| 86 | - hasDerivWithinAt_leibnizSum I _ _ | |
| 87 | - (fun k y hy => (hasDerivWithinAt_jet I (weight ε) A ij.1 k hy).const_mul (ratio r n ij.1)) | |
| 88 | - (fun k y hy => hasDerivWithinAt_jet I (weight ε) B ij.2 k hy) m hx) | |
| 89 | - | |
| 90 | -theorem insertFamily_bound (I : Window) {ε : ℝ} (hε : 0 < ε) | |
| 91 | - {r : ℕ} (hr : 1 ≤ r) (A B : AxisSpace I ε) (n m : ℕ) (x : ℝ) : | |
| 92 | - |insertFamily I ε r A B n m x| ≤ (64 * ‖A‖ * ‖B‖) * weight ε n m := by | |
| 93 | - apply jetProduct_bound hε (norm_nonneg A) (norm_nonneg B) | |
| 94 | - · intro i k | |
| 95 | - rw [abs_mul, abs_of_nonneg (ratio_mem_Icc hr n i).1] | |
| 96 | - exact (mul_le_mul_of_nonneg_left (inputJet_bound I hε A i k x) | |
| 97 | - (ratio_mem_Icc hr n i).1).trans | |
| 98 | - (mul_le_of_le_one_left (mul_nonneg (norm_nonneg A) (weight_pos hε i k).le) | |
| 99 | - (ratio_mem_Icc hr n i).2) | |
| 100 | - · intro j k | |
| 101 | - exact inputJet_bound I hε B j k x | |
| 102 | - | |
| 103 | -/-- The first argument is an already inverted source. The second is | |
| 104 | -inserted before that inverse, with one algebra constant. -/ | |
| 105 | -def insert (I : Window) {ε : ℝ} (hε : 0 < ε) (r : ℕ) (hr : 1 ≤ r) | |
| 106 | - (A B : AxisSpace I ε) : AxisSpace I ε := | |
| 107 | - ofJetFamily I (weight ε) (weight_pos hε) (insertFamily I ε r A B) | |
| 108 | - (insertFamily_continuous I ε r A B) (insertFamily_deriv I ε r A B) | |
| 109 | - (64 * ‖A‖ * ‖B‖) (by positivity) | |
| 110 | - (fun n m x _ => insertFamily_bound I hε hr A B n m x) | |
| 111 | - | |
| 112 | -theorem norm_insert_le (I : Window) {ε : ℝ} (hε : 0 < ε) (r : ℕ) (hr : 1 ≤ r) | |
| 113 | - (A B : AxisSpace I ε) : ‖insert I hε r hr A B‖ ≤ 64 * ‖A‖ * ‖B‖ := | |
| 114 | - norm_ofJetFamily_le _ _ _ _ _ _ _ _ _ | |
| 115 | - | |
| 116 | -theorem jet_insert (I : Window) {ε : ℝ} (hε : 0 < ε) (r : ℕ) (hr : 1 ≤ r) | |
| 117 | - (A B : AxisSpace I ε) (n m : ℕ) {x : ℝ} (hx : x ∈ I.interval) : | |
| 118 | - inputJet I ε (insert I hε r hr A B) n m x = insertFamily I ε r A B n m x := by | |
| 119 | - unfold insert inputJet | |
| 120 | - exact jet_ofJetFamily I (weight ε) (weight_pos hε) _ _ _ _ _ _ _ _ hx | |
| 121 | - | |
| 122 | -theorem coefficient_insert (I : Window) {ε : ℝ} (hε : 0 < ε) (r : ℕ) (hr : 1 ≤ r) | |
| 123 | - (A B : AxisSpace I ε) (n : ℕ) {x : ℝ} (hx : x ∈ I.interval) : | |
| 124 | - coefficient I (weight ε) (insert I hε r hr A B) n x = | |
| 125 | - ∑ ij ∈ antidiagonal n, ratio r n ij.1 * | |
| 126 | - coefficient I (weight ε) A ij.1 x * coefficient I (weight ε) B ij.2 x := by | |
| 127 | - simpa only [insertFamily, jetProduct, antidiagonal_zero, Finset.sum_singleton, | |
| 128 | - Nat.choose_zero_right, Nat.cast_one, one_mul, coefficient] using | |
| 129 | - jet_insert I hε r hr A B n 0 hx | |
| 130 | - | |
| 131 | -/-- This operator really inserts the factor inside the inverse. -/ | |
| 132 | -theorem insert_regularInverse (I : Window) {ε : ℝ} (hε : 0 < ε) (r : ℕ) (hr : 1 ≤ r) | |
| 133 | - (F B : AxisSpace I ε) : | |
| 134 | - insert I hε r hr (regularInverse I hε r hr F) B = | |
| 135 | - regularInverse I hε r hr (product I hε F B) := by | |
| 136 | - apply coefficient_ext I (weight ε) (fun n m => (weight_pos hε n m).ne') | |
| 137 | - intro n x hx | |
| 138 | - rw [coefficient_insert I hε r hr _ _ n hx] | |
| 139 | - cases n with | |
| 140 | - | zero => | |
| 141 | - change _ = inputJet I ε (regularInverse I hε r hr (product I hε F B)) 0 0 x | |
| 142 | - rw [jet_regularInverse_zero I hε r hr _ _ hx] | |
| 143 | - simp [ratio] | |
| 144 | - | succ n => | |
| 145 | - change _ = inputJet I ε (regularInverse I hε r hr (product I hε F B)) (n+1) 0 x | |
| 146 | - rw [jet_regularInverse_succ I hε r hr _ _ _ hx] | |
| 147 | - change _ = coefficient I (weight ε) (product I hε F B) n x / radialDivisor r n | |
| 148 | - rw [coefficient_product I hε F B n hx, sum_antidiagonal_succ] | |
| 149 | - simp only [ratio, Nat.zero_min, degreeMultiplier_zero, zero_div, zero_mul, zero_add] | |
| 150 | - rw [Finset.sum_div] | |
| 151 | - apply Finset.sum_congr rfl | |
| 152 | - intro ij hij | |
| 153 | - have hi : ij.1+1 ≤ n+1 := Nat.succ_le_succ (Nat.le.intro (mem_antidiagonal.mp hij)) | |
| 154 | - rw [min_eq_left hi, degreeMultiplier_succ, degreeMultiplier_succ] | |
| 155 | - change (radialDivisor r ij.1 / radialDivisor r n) * | |
| 156 | - inputJet I ε (regularInverse I hε r hr F) (ij.1+1) 0 x * _ = _ | |
| 157 | - rw [jet_regularInverse_succ I hε r hr _ _ _ hx] | |
| 158 | - have hd := radialDivisor_pos hr ij.1 | |
| 159 | - field_simp [hd.ne'] | |
| 160 | - simp only [coefficient] | |
| 161 | - ring | |
| 162 | - | |
| 163 | -/-- Repeat insertion for any finite list of factors. -/ | |
| 164 | -def insertFactors (I : Window) {ε : ℝ} (hε : 0 < ε) (r : ℕ) (hr : 1 ≤ r) | |
| 165 | - (A : AxisSpace I ε) : List (AxisSpace I ε) → AxisSpace I ε | |
| 166 | - | [] => A | |
| 167 | - | B :: Bs => insertFactors I hε r hr (insert I hε r hr A B) Bs | |
| 168 | - | |
| 169 | -theorem norm_insertFactors_le (I : Window) {ε : ℝ} (hε : 0 < ε) (r : ℕ) (hr : 1 ≤ r) | |
| 170 | - (A : AxisSpace I ε) (Bs : List (AxisSpace I ε)) : | |
| 171 | - ‖insertFactors I hε r hr A Bs‖ ≤ 64 ^ Bs.length * ‖A‖ * (Bs.map norm).prod := by | |
| 172 | - induction Bs generalizing A with | |
| 173 | - | nil => simp [insertFactors] | |
| 174 | - | cons B Bs ih => | |
| 175 | - apply (ih (insert I hε r hr A B)).trans | |
| 176 | - have hp : 0 ≤ (Bs.map norm).prod := by | |
| 177 | - apply List.prod_nonneg | |
| 178 | - intro a ha | |
| 179 | - obtain ⟨v, _, rfl⟩ := List.mem_map.mp ha | |
| 180 | - exact norm_nonneg v | |
| 181 | - calc | |
| 182 | - _ ≤ 64 ^ Bs.length * (64 * ‖A‖ * ‖B‖) * (Bs.map norm).prod := | |
| 183 | - mul_le_mul_of_nonneg_right | |
| 184 | - (mul_le_mul_of_nonneg_left (norm_insert_le I hε r hr A B) (by positivity)) hp | |
| 185 | - _ = _ := by simp only [List.length_cons, List.map_cons, List.prod_cons, pow_succ]; ring | |
| 186 | - | |
| 187 | -/-- Recover the source coefficients by applying the radial differential | |
| 188 | -operator to a zero-constant inverse. These coefficients need not themselves | |
| 189 | -belong to the bounded axis space. -/ | |
| 190 | -def recoveredSource (I : Window) (ε : ℝ) (r : ℕ) (A : AxisSpace I ε) | |
| 191 | - (n : ℕ) (x : ℝ) : ℝ := radialDivisor r n * coefficient I (weight ε) A (n+1) x | |
| 192 | - | |
| 193 | -theorem recoveredSource_insert (I : Window) {ε : ℝ} (hε : 0 < ε) (r : ℕ) (hr : 1 ≤ r) | |
| 194 | - (A B : AxisSpace I ε) (n : ℕ) {x : ℝ} (hx : x ∈ I.interval) : | |
| 195 | - recoveredSource I ε r (insert I hε r hr A B) n x = | |
| 196 | - ∑ ij ∈ antidiagonal n, recoveredSource I ε r A ij.1 x * | |
| 197 | - coefficient I (weight ε) B ij.2 x := by | |
| 198 | - unfold recoveredSource | |
| 199 | - rw [coefficient_insert I hε r hr A B _ hx, sum_antidiagonal_succ] | |
| 200 | - simp only [ratio, Nat.zero_min, degreeMultiplier_zero, zero_div, zero_mul, zero_add] | |
| 201 | - rw [Finset.mul_sum] | |
| 202 | - apply Finset.sum_congr rfl | |
| 203 | - intro ij hij | |
| 204 | - have hi : ij.1+1 ≤ n+1 := Nat.succ_le_succ (Nat.le.intro (mem_antidiagonal.mp hij)) | |
| 205 | - rw [min_eq_left hi, degreeMultiplier_succ, degreeMultiplier_succ] | |
| 206 | - field_simp [(radialDivisor_pos hr n).ne'] | |
| 207 | - | |
| 208 | -/-- Arbitrarily many undifferentiated factors cost exactly one additional | |
| 209 | -algebra constant apiece in the mixed derivative estimate. -/ | |
| 210 | -theorem norm_mixed_extra_factors (I : Window) {ε : ℝ} (hε : 0 < ε) (r : ℕ) (hr : 1 ≤ r) | |
| 211 | - (F G : AxisSpace I ε) (Bs : List (AxisSpace I ε)) : | |
| 212 | - ‖insertFactors I hε r hr (inverseMixed I hε r hr F G) Bs‖ ≤ | |
| 213 | - 64 ^ Bs.length * (5120 / ε * ‖F‖ * ‖G‖) * (Bs.map norm).prod := by | |
| 214 | - apply (norm_insertFactors_le I hε r hr _ Bs).trans | |
| 215 | - have hb : ‖inverseMixed I hε r hr F G‖ ≤ 5120 / ε * ‖F‖ * ‖G‖ := by | |
| 216 | - have ht := norm_bilinearValue_le I hε (inverseMixedData I hε r hr) F G | |
| 217 | - change ‖inverseMixed I hε r hr F G‖ ≤ (64 * (80 / ε)) * ‖F‖ * ‖G‖ at ht | |
| 218 | - convert ht using 1 | |
| 219 | - ring | |
| 220 | - have hp : 0 ≤ (Bs.map norm).prod := by | |
| 221 | - apply List.prod_nonneg | |
| 222 | - intro a ha | |
| 223 | - obtain ⟨v, _, rfl⟩ := List.mem_map.mp ha | |
| 224 | - exact norm_nonneg v | |
| 225 | - exact mul_le_mul_of_nonneg_right (mul_le_mul_of_nonneg_left hb (by positivity)) hp | |
| 226 | - | |
| 227 | -theorem coefficient_insert_zero (I : Window) {ε : ℝ} (hε : 0 < ε) (r : ℕ) (hr : 1 ≤ r) | |
| 228 | - (A B : AxisSpace I ε) {x : ℝ} (hx : x ∈ I.interval) : | |
| 229 | - coefficient I (weight ε) (insert I hε r hr A B) 0 x = 0 := by | |
| 230 | - rw [coefficient_insert I hε r hr A B 0 hx] | |
| 231 | - simp [ratio] | |
| 232 | - | |
| 233 | -/-- The recovered mixed source is the actual coefficient convolution of | |
| 234 | -the parameter derivative of F with the logarithmic radial derivative of G. -/ | |
| 235 | -theorem recoveredSource_mixed (I : Window) {ε : ℝ} (hε : 0 < ε) (r : ℕ) (hr : 1 ≤ r) | |
| 236 | - (F G : AxisSpace I ε) (n : ℕ) {x : ℝ} (hx : x ∈ I.interval) : | |
| 237 | - recoveredSource I ε r (inverseMixed I hε r hr F G) n x = | |
| 238 | - ∑ ij ∈ antidiagonal n, inputJet I ε F ij.1 1 x * | |
| 239 | - ((ij.2 : ℝ) * coefficient I (weight ε) G ij.2 x) := by | |
| 240 | - unfold recoveredSource | |
| 241 | - change radialDivisor r n * inputJet I ε (inverseMixed I hε r hr F G) (n+1) 0 x = _ | |
| 242 | - rw [jet_inverseMixed I hε r hr F G (n+1) 0 hx] | |
| 243 | - simp only [differentialFamily, antidiagonal_zero, Finset.sum_singleton, | |
| 244 | - Nat.choose_zero_right, Nat.cast_one, mul_one, Nat.add_zero] | |
| 245 | - rw [Finset.mul_sum] | |
| 246 | - apply Finset.sum_congr rfl | |
| 247 | - intro ij _ | |
| 248 | - simp only [coefficient] | |
| 249 | - field_simp [(radialDivisor_pos hr n).ne'] | |
| 250 | - | |
| 251 | -/-- Any established norm estimate, including omission of either derivative | |
| 252 | -or radial averaging, acquires the same one-constant-per-factor bound. -/ | |
| 253 | -theorem norm_extra_factors_of_bound (I : Window) {ε : ℝ} (hε : 0 < ε) (r : ℕ) (hr : 1 ≤ r) | |
| 254 | - (A : AxisSpace I ε) (Bs : List (AxisSpace I ε)) {K : ℝ} (hK : ‖A‖ ≤ K) : | |
| 255 | - ‖insertFactors I hε r hr A Bs‖ ≤ 64 ^ Bs.length * K * (Bs.map norm).prod := by | |
| 256 | - apply (norm_insertFactors_le I hε r hr A Bs).trans | |
| 257 | - have hp : 0 ≤ (Bs.map norm).prod := by | |
| 258 | - apply List.prod_nonneg | |
| 259 | - intro a ha | |
| 260 | - obtain ⟨v, _, rfl⟩ := List.mem_map.mp ha | |
| 261 | - exact norm_nonneg v | |
| 262 | - exact mul_le_mul_of_nonneg_right (mul_le_mul_of_nonneg_left hK (by positivity)) hp | |
| 263 | - | |
| 264 | 25 | end NavierStokes.AxisInverseFactors |
+0 −45 NavierStokes/AxisModelBounds.lean View file
| @@ -12,49 +12,4 @@ noncomputable section | ||
| 12 | 12 | |
| 13 | 13 | namespace NavierStokes.AxisModelBounds |
| 14 | 14 | |
| 15 | -/-- The comparison function `f₀` in the axis construction. -/ | |
| 16 | -def model (z : ℝ) : ℝ := AxisSeries.profile 1 z | |
| 17 | - | |
| 18 | -theorem model_eq_series (z : ℝ) : | |
| 19 | - model z = ∑' n : ℕ, | |
| 20 | - (-z / 2) ^ n / ((n.factorial : ℝ) * ((n + 1).factorial : ℝ)) := by | |
| 21 | - simpa only [model, neg_mul, one_mul] using AxisSeries.profile_eq_tsum 1 z | |
| 22 | - | |
| 23 | -/-- The cubic truncation is bounded below by its exact endpoint value. -/ | |
| 24 | -theorem cubicLower_ge_endpoint (t : ℝ) (ht : t ≤ 41 / 20) : | |
| 25 | - (305719 / 1152000 : ℝ) ≤ AxisProfile.cubicLower t := by | |
| 26 | - have hd : 0 ≤ 41 / 20 - t := sub_nonneg.mpr ht | |
| 27 | - have h2 : 0 ≤ (41 / 20 - t) ^ 2 := sq_nonneg _ | |
| 28 | - have h3 : 0 ≤ (41 / 20 - t) ^ 3 := pow_nonneg hd _ | |
| 29 | - have hidentity : AxisProfile.cubicLower t = | |
| 30 | - AxisProfile.cubicLower (41 / 20) + | |
| 31 | - (1 / 2 - (41 / 20) / 6 + (41 / 20) ^ 2 / 48) * (41 / 20 - t) + | |
| 32 | - (1 / 12 - (41 / 20) / 48) * (41 / 20 - t) ^ 2 + | |
| 33 | - (41 / 20 - t) ^ 3 / 144 := by | |
| 34 | - unfold AxisProfile.cubicLower | |
| 35 | - ring | |
| 36 | - norm_num [AxisProfile.cubicLower] at hidentity | |
| 37 | - unfold AxisProfile.cubicLower | |
| 38 | - nlinarith | |
| 39 | - | |
| 40 | -theorem bessel_one_lower (t : ℝ) (ht0 : 0 ≤ t) (ht : t ≤ 41 / 20) : | |
| 41 | - (305719 / 1152000 : ℝ) ≤ AxisSeries.bessel 1 t := | |
| 42 | - (cubicLower_ge_endpoint t ht).trans (AxisSeries.cubic_lower_le_bessel t ht0 ht) | |
| 43 | - | |
| 44 | -/-- The full bounds hold uniformly for every `0 ≤ χ ≤ 1`. -/ | |
| 45 | -theorem profile_bounds (χ Y : ℝ) (hχ0 : 0 ≤ χ) (hχ1 : χ ≤ 1) | |
| 46 | - (hY0 : 0 ≤ Y) (hY1 : Y ≤ 41 / 10) : | |
| 47 | - (305719 / 1152000 : ℝ) ≤ AxisSeries.profile χ Y ∧ | |
| 48 | - AxisSeries.profile χ Y ≤ 1 := by | |
| 49 | - have ht0 : 0 ≤ (χ / 2) * Y := mul_nonneg (div_nonneg hχ0 (by norm_num)) hY0 | |
| 50 | - have ht : (χ / 2) * Y ≤ 41 / 20 := by nlinarith | |
| 51 | - exact ⟨bessel_one_lower _ ht0 ht, | |
| 52 | - AxisSeries.bessel_one_le_one _ ht0 (by linarith)⟩ | |
| 53 | - | |
| 54 | -/-- The exact rational and decimal bounds printed for `f₀`. -/ | |
| 55 | -theorem model_bounds (z : ℝ) (hz0 : 0 ≤ z) (hz1 : z ≤ 41 / 10) : | |
| 56 | - (53 / 200 : ℝ) < (305719 / 1152000 : ℝ) ∧ | |
| 57 | - (305719 / 1152000 : ℝ) ≤ model z ∧ model z ≤ 1 := by | |
| 58 | - exact ⟨by norm_num, profile_bounds 1 z (by norm_num) (by norm_num) hz0 hz1⟩ | |
| 59 | - | |
| 60 | 15 | end NavierStokes.AxisModelBounds |
+0 −45 NavierStokes/AxisOperators.lean View file
| @@ -87,13 +87,6 @@ theorem inputJet_bound (I : Window) {ε : ℝ} (hε : 0 < ε) (A : AxisSpace I | ||
| 87 | 87 | def productFamily (I : Window) (ε : ℝ) (A B : AxisSpace I ε) (n m : ℕ) (x : ℝ) : ℝ := |
| 88 | 88 | jetProduct (fun i k => inputJet I ε A i k x) (fun j l => inputJet I ε B j l x) n m |
| 89 | 89 | |
| 90 | -theorem productFamily_eq (I : Window) (ε : ℝ) (A B : AxisSpace I ε) | |
| 91 | - (n m : ℕ) (x : ℝ) : | |
| 92 | - productFamily I ε A B n m x = | |
| 93 | - ∑ ij ∈ antidiagonal n, | |
| 94 | - leibnizSum (fun k => inputJet I ε A ij.1 k x) | |
| 95 | - (fun l => inputJet I ε B ij.2 l x) m := rfl | |
| 96 | - | |
| 97 | 90 | theorem productFamily_continuous (I : Window) (ε : ℝ) (A B : AxisSpace I ε) (n m : ℕ) : |
| 98 | 91 | ContinuousOn (productFamily I ε A B n m) I.interval := by |
| 99 | 92 | change ContinuousOn (fun x => ∑ ij ∈ antidiagonal n, |
| @@ -283,10 +276,6 @@ theorem jet_bilinearLift (I : Window) {ε : ℝ} (hε : 0 < ε) | ||
| 283 | 276 | inputJet I ε (bilinearLift I hε F A B) n m x = F.value A B n m x := |
| 284 | 277 | jet_bilinearValue I hε F A B n m hx |
| 285 | 278 | |
| 286 | -theorem norm_bilinearLift_le (I : Window) {ε : ℝ} (hε : 0 < ε) | |
| 287 | - (F : BoundedBilinearJetFamily I ε) : ‖bilinearLift I hε F‖ ≤ F.boundConstant := | |
| 288 | - LinearMap.mkContinuous₂_norm_le _ F.bound_nonneg _ | |
| 289 | - | |
| 290 | 279 | def productData (I : Window) {ε : ℝ} (hε : 0 < ε) : BoundedBilinearJetFamily I ε where |
| 291 | 280 | value := productFamily I ε |
| 292 | 281 | boundConstant := 64 |
| @@ -327,9 +316,6 @@ def product (I : Window) {ε : ℝ} (hε : 0 < ε) : | ||
| 327 | 316 | AxisSpace I ε →L[ℝ] AxisSpace I ε →L[ℝ] AxisSpace I ε := |
| 328 | 317 | bilinearLift I hε (productData I hε) |
| 329 | 318 | |
| 330 | -theorem norm_product_le (I : Window) {ε : ℝ} (hε : 0 < ε) : ‖product I hε‖ ≤ 64 := | |
| 331 | - norm_bilinearLift_le I hε (productData I hε) | |
| 332 | - | |
| 333 | 319 | theorem jet_product (I : Window) {ε : ℝ} (hε : 0 < ε) (A B : AxisSpace I ε) |
| 334 | 320 | (n m : ℕ) {x : ℝ} (hx : x ∈ I.interval) : |
| 335 | 321 | inputJet I ε (product I hε A B) n m x = |
| @@ -479,18 +465,6 @@ def mulY (I : Window) {ε : ℝ} (hε : 0 < ε) : AxisSpace I ε →L[ℝ] AxisS | ||
| 479 | 465 | theorem norm_average_le (I : Window) {ε : ℝ} (hε : 0 < ε) : ‖average I hε‖ ≤ 1 := |
| 480 | 466 | norm_linearLift_le I hε (averageData I hε) |
| 481 | 467 | |
| 482 | -theorem norm_primitive_le (I : Window) {ε : ℝ} (hε : 0 < ε) : ‖primitive I hε‖ ≤ 80 := | |
| 483 | - norm_linearLift_le I hε (primitiveData I hε) | |
| 484 | - | |
| 485 | -theorem norm_regularInverse_le (I : Window) {ε : ℝ} (hε : 0 < ε) (r : ℕ) (hr : 1 ≤ r) : | |
| 486 | - ‖regularInverse I hε r hr‖ ≤ 80 := norm_linearLift_le I hε (inverseData I hε r hr) | |
| 487 | - | |
| 488 | -theorem norm_parameterPrimitive_le (I : Window) {ε : ℝ} (hε : 0 < ε) : | |
| 489 | - ‖parameterPrimitive I hε‖ ≤ 80 / ε := norm_linearLift_le I hε (parameterPrimitiveData I hε) | |
| 490 | - | |
| 491 | -theorem norm_mulY_le (I : Window) {ε : ℝ} (hε : 0 < ε) : ‖mulY I hε‖ ≤ 80 := | |
| 492 | - norm_linearLift_le I hε (multiplyYData I hε) | |
| 493 | - | |
| 494 | 468 | theorem jet_regularInverse_zero (I : Window) {ε : ℝ} (hε : 0 < ε) (r : ℕ) (hr : 1 ≤ r) |
| 495 | 469 | (A : AxisSpace I ε) (m : ℕ) {x : ℝ} (hx : x ∈ I.interval) : |
| 496 | 470 | inputJet I ε (regularInverse I hε r hr A) 0 m x = 0 := by |
| @@ -716,25 +690,6 @@ def inverseDotProduct (I : Window) {ε : ℝ} (hε : 0 < ε) (r : ℕ) (hr : 1 | ||
| 716 | 690 | AxisSpace I ε →L[ℝ] AxisSpace I ε →L[ℝ] AxisSpace I ε := |
| 717 | 691 | bilinearLift I hε (inverseDotProductData I hε r hr) |
| 718 | 692 | |
| 719 | -theorem norm_inverseMixed_le (I : Window) {ε : ℝ} (hε : 0 < ε) (r : ℕ) (hr : 1 ≤ r) : | |
| 720 | - ‖inverseMixed I hε r hr‖ ≤ 5120 / ε := by | |
| 721 | - have h := norm_bilinearLift_le I hε (inverseMixedData I hε r hr) | |
| 722 | - change ‖inverseMixed I hε r hr‖ ≤ 64 * (80 / ε) at h | |
| 723 | - convert! h using 1 ; ring | |
| 724 | - | |
| 725 | -theorem norm_inverseParamProduct_le (I : Window) {ε : ℝ} (hε : 0 < ε) (r : ℕ) (hr : 1 ≤ r) : | |
| 726 | - ‖inverseParamProduct I hε r hr‖ ≤ 5120 / ε := by | |
| 727 | - have h := norm_bilinearLift_le I hε (inverseParamProductData I hε r hr) | |
| 728 | - change ‖inverseParamProduct I hε r hr‖ ≤ 64 * (80 / ε) at h | |
| 729 | - convert! h using 1 ; ring | |
| 730 | - | |
| 731 | -theorem norm_inverseDotProduct_le (I : Window) {ε : ℝ} (hε : 0 < ε) (r : ℕ) (hr : 1 ≤ r) : | |
| 732 | - ‖inverseDotProduct I hε r hr‖ ≤ 5120 := by | |
| 733 | - have h := norm_bilinearLift_le I hε (inverseDotProductData I hε r hr) | |
| 734 | - change ‖inverseDotProduct I hε r hr‖ ≤ 64 * 80 at h | |
| 735 | - norm_num at h ⊢ | |
| 736 | - exact h | |
| 737 | - | |
| 738 | 693 | theorem jet_inverseMixed (I : Window) {ε : ℝ} (hε : 0 < ε) (r : ℕ) (hr : 1 ≤ r) |
| 739 | 694 | (A B : AxisSpace I ε) (n m : ℕ) {x : ℝ} (hx : x ∈ I.interval) : |
| 740 | 695 | inputJet I ε (inverseMixed I hε r hr A B) n m x = |
+0 −73 NavierStokes/AxisPreservation.lean View file
| @@ -17,49 +17,6 @@ noncomputable section | ||
| 17 | 17 | open Set Filter Function ProblemStatement PhysicalWaveSum SolenoidalDiagonal |
| 18 | 18 | open scoped Topology BigOperators |
| 19 | 19 | |
| 20 | -theorem wave_sum_zero_near_axis {H : ℕ} {f : WaveFamily H} | |
| 21 | - {a b h r0 Z : ℝ} {gap : ℕ} | |
| 22 | - (hf : RegularFamily f a b h r0 Z gap) (ha : 0 < a) | |
| 23 | - (hh : 0 < h) (hh1 : h < 1 / 2) {w : SpaceTime} | |
| 24 | - (hw : w ∈ preterminal) (haxis : PhysicalGraphBounds.radialProjection w = 0) : | |
| 25 | - f.sum a h r0 =ᶠ[𝓝 w] fun _ => 0 := by | |
| 26 | - classical | |
| 27 | - obtain ⟨s, _, hsum⟩ := hf.sum_locally_finite hh hh1 hw | |
| 28 | - have hz (I : WaveIndex H) : f.term a h r0 I =ᶠ[𝓝 w] fun _ => 0 := by | |
| 29 | - apply globalWave_eventually_zero_off_annulus (b := b) (f.carrier I.1) | |
| 30 | - (f.amplitude I) I.2.val (fun y hy => (hf.geometry_support I y hy).1) | |
| 31 | - intro hm | |
| 32 | - have hn := PhysicalGraphBounds.annulus_axisFree ha hm | |
| 33 | - apply hn | |
| 34 | - simp only [PhysicalGraphBounds.scaledRadial, _root_.smul_apply, | |
| 35 | - haxis, smul_zero] | |
| 36 | - have hfinite : ∀ᶠ y in 𝓝 w, ∀ I ∈ s, f.term a h r0 I y = 0 := | |
| 37 | - (eventually_all_finset s).2 (fun I _ => hz I) | |
| 38 | - filter_upwards [hsum, hfinite] with y hy hz | |
| 39 | - rw [hy] | |
| 40 | - exact Finset.sum_eq_zero hz | |
| 41 | - | |
| 42 | -theorem vector_sum_zero_near_axis {H : ℕ} {f : Fin 3 → WaveFamily H} | |
| 43 | - {a b h r0 Z : ℝ} {gap : ℕ} | |
| 44 | - (hf : ∀ i, RegularFamily (f i) a b h r0 Z gap) (ha : 0 < a) | |
| 45 | - (hh : 0 < h) (hh1 : h < 1 / 2) {w : SpaceTime} | |
| 46 | - (hw : w ∈ preterminal) (haxis : PhysicalGraphBounds.radialProjection w = 0) : | |
| 47 | - vectorSum f a h r0 =ᶠ[𝓝 w] fun _ => 0 := by | |
| 48 | - have hz : ∀ᶠ y in 𝓝 w, ∀ i : Fin 3, (f i).sum a h r0 y = 0 := | |
| 49 | - (Filter.eventually_all).2 (fun i => wave_sum_zero_near_axis (hf i) ha hh hh1 hw haxis) | |
| 50 | - filter_upwards [hz] with y hy | |
| 51 | - simp only [vectorSum, hy, map_zero, Finset.sum_const_zero] | |
| 52 | - | |
| 53 | -theorem wave_curl_zero_on_axis {H : ℕ} {f : Fin 3 → WaveFamily H} | |
| 54 | - {a b h r0 Z : ℝ} {gap : ℕ} | |
| 55 | - (hf : ∀ i, RegularFamily (f i) a b h r0 Z gap) (ha : 0 < a) | |
| 56 | - (hh : 0 < h) (hh1 : h < 1 / 2) {w : SpaceTime} | |
| 57 | - (hw : w ∈ preterminal) (haxis : PhysicalGraphBounds.radialProjection w = 0) : | |
| 58 | - SpatialCurl.spatialCurl (vectorSum f a h r0) w = 0 := by | |
| 59 | - have he := spatialCurl_eq_of_eventuallyEq | |
| 60 | - (vector_sum_zero_near_axis hf ha hh hh1 hw haxis) | |
| 61 | - simpa [SpatialCurl.spatialCurl, SpatialCurl.curl] using he | |
| 62 | - | |
| 63 | 20 | /-- Only finitely many zero germs are intersected at each positive-scale |
| 64 | 21 | point. There is no common support radius assumed for every stage. -/ |
| 65 | 22 | theorem potentialSum_eq_first_near {scales : ℕ → ℝ} |
| @@ -147,36 +104,6 @@ theorem physicalQ_origin_tendsto {h : ℝ} (hh : 0 < h) (hh1 : h < 1 / 2) : | ||
| 147 | 104 | filter_upwards [self_mem_nhdsWithin (a := (1 : ℝ)) (s := Iio 1)] with t ht |
| 148 | 105 | exact (physicalQ_origin hh hh1 ht).symm |
| 149 | 106 | |
| 150 | -/-- The zeroth potential is kept separate from the annular wave increments. | |
| 151 | -Each increment may have its own finite harmonic band. -/ | |
| 152 | -noncomputable def waveSeries (base : VelocityField) (H : ℕ → ℕ) | |
| 153 | - (f : (j : ℕ) → Fin 3 → WaveFamily (H j)) (a h r0 : ℝ) : ℕ → VelocityField | |
| 154 | - | 0 => base | |
| 155 | - | j + 1 => vectorSum (f j) a h r0 | |
| 156 | - | |
| 157 | -theorem physical_wave_diagonal_origin_blowup | |
| 158 | - {base : VelocityField} {H : ℕ → ℕ} {f : (j : ℕ) → Fin 3 → WaveFamily (H j)} | |
| 159 | - {a b h r0 : ℝ} {Z : ℕ → ℝ} {gap : ℕ → ℕ} | |
| 160 | - (hf : ∀ j i, RegularFamily (f j i) a b h r0 (Z j) (gap j)) | |
| 161 | - (ha : 0 < a) (hh : 0 < h) (hh1 : h < 1 / 2) | |
| 162 | - {scales : ℕ → ℝ} (hscales : Tendsto scales atTop atTop) | |
| 163 | - (hbase : Tendsto (fun t : ℝ => ‖SpatialCurl.spatialCurl base (t, 0)‖) | |
| 164 | - (𝓝[<] 1) atTop) : | |
| 165 | - Tendsto (fun t : ℝ => | |
| 166 | - ‖velocitySum scales (physicalQ h) (waveSeries base H f a h r0) (t, 0)‖) | |
| 167 | - (𝓝[<] 1) atTop := by | |
| 168 | - have hz : ∀ t < 1, ∀ j : ℕ, j ≠ 0 → | |
| 169 | - waveSeries base H f a h r0 j =ᶠ[𝓝 (t, 0)] fun _ => 0 := by | |
| 170 | - intro t ht j hj | |
| 171 | - cases j with | |
| 172 | - | zero => exact (hj rfl).elim | |
| 173 | - | succ j => | |
| 174 | - exact vector_sum_zero_near_axis (hf j) ha hh hh1 ht | |
| 175 | - (by simp only [PhysicalGraphBounds.radialProjection_apply]; rfl) | |
| 176 | - exact origin_blowup hscales | |
| 177 | - (fun t ht => (physicalQ_smoothAt hh hh1 ht).continuousAt) | |
| 178 | - (fun t ht => physicalQ_pos hh hh1 ht) hz (physicalQ_origin_tendsto hh hh1) hbase | |
| 179 | - | |
| 180 | 107 | end |
| 181 | 108 | |
| 182 | 109 | end NavierStokes.AxisPreservation |
+0 −93 NavierStokes/AxisProfile.lean View file
| @@ -20,11 +20,6 @@ namespace NavierStokes.AxisProfile | ||
| 20 | 20 | |
| 21 | 21 | noncomputable section |
| 22 | 22 | |
| 23 | -/-- The coefficient of `Y^n` in `(Y ∂YY + m ∂Y) a`, at the formal | |
| 24 | -coefficient level. -/ | |
| 25 | -def radialOperatorCoeff (m : ℕ) (a : ℕ → ℝ) (n : ℕ) : ℝ := | |
| 26 | - ((n : ℝ) + 1) * ((n : ℝ) + m) * a (n + 1) | |
| 27 | - | |
| 28 | 23 | /-- The regular zero-datum formal inverse used in the scaled equations. -/ |
| 29 | 24 | def radialInverseCoeff (m : ℕ) (f : ℕ → ℝ) : ℕ → ℝ |
| 30 | 25 | | 0 => 0 |
| @@ -33,16 +28,6 @@ def radialInverseCoeff (m : ℕ) (f : ℕ → ℝ) : ℕ → ℝ | ||
| 33 | 28 | @[simp] theorem radialInverseCoeff_zero (m : ℕ) (f : ℕ → ℝ) : |
| 34 | 29 | radialInverseCoeff m f 0 = 0 := rfl |
| 35 | 30 | |
| 36 | -/-- For positive `m`, the stated shift really inverts the formal radial | |
| 37 | -operator. No assertion about convergence is implicit in this theorem. -/ | |
| 38 | -theorem radialOperator_inverse (m : ℕ) (hm : 0 < m) (f : ℕ → ℝ) (n : ℕ) : | |
| 39 | - radialOperatorCoeff m (radialInverseCoeff m f) n = f n := by | |
| 40 | - have hm' : (0 : ℝ) < m := Nat.cast_pos.mpr hm | |
| 41 | - have hden : ((n : ℝ) + 1) * ((n : ℝ) + m) ≠ 0 := by positivity | |
| 42 | - unfold radialOperatorCoeff | |
| 43 | - rw [radialInverseCoeff] | |
| 44 | - exact mul_div_cancel₀ (f n) hden | |
| 45 | - | |
| 46 | 31 | /-- The leading angular series coefficient from Proposition 5.1: |
| 47 | 32 | `(-χ/2)^n / (n! (n+1)!)`. -/ |
| 48 | 33 | def profileCoeff (χ : ℝ) (n : ℕ) : ℝ := |
| @@ -51,35 +36,6 @@ def profileCoeff (χ : ℝ) (n : ℕ) : ℝ := | ||
| 51 | 36 | @[simp] theorem profileCoeff_zero (χ : ℝ) : profileCoeff χ 0 = 1 := by |
| 52 | 37 | norm_num [profileCoeff] |
| 53 | 38 | |
| 54 | -/-- Exact recurrence for the displayed regular series. -/ | |
| 55 | -theorem profileCoeff_recurrence (χ : ℝ) (n : ℕ) : | |
| 56 | - 2 * ((n : ℝ) + 1) * ((n : ℝ) + 2) * profileCoeff χ (n + 1) = | |
| 57 | - -χ * profileCoeff χ n := by | |
| 58 | - have hf : (n.factorial : ℝ) ≠ 0 := Nat.cast_ne_zero.mpr (Nat.factorial_ne_zero n) | |
| 59 | - have hn1 : (n : ℝ) + 1 ≠ 0 := by positivity | |
| 60 | - have hn2 : (n : ℝ) + 1 + 1 ≠ 0 := by positivity | |
| 61 | - simp only [profileCoeff, Nat.factorial_succ, Nat.cast_mul, Nat.cast_add, | |
| 62 | - Nat.cast_one, pow_succ] | |
| 63 | - field_simp; ring | |
| 64 | - | |
| 65 | -/-- The formal series solves the leading angular equation coefficient by | |
| 66 | -coefficient. This does not identify an analytic solution. -/ | |
| 67 | -theorem profileCoeff_scaled_equation (χ : ℝ) (n : ℕ) : | |
| 68 | - 2 * radialOperatorCoeff 2 (profileCoeff χ) n = -χ * profileCoeff χ n := by | |
| 69 | - simpa only [radialOperatorCoeff, Nat.cast_ofNat, mul_assoc] using | |
| 70 | - profileCoeff_recurrence χ n | |
| 71 | - | |
| 72 | -/-- The coefficient transformation for the formal combination `f + Yf'` | |
| 73 | -is exactly the factorial-square series used for the sign test. -/ | |
| 74 | -theorem weighted_profileCoeff (χ : ℝ) (n : ℕ) : | |
| 75 | - ((n : ℝ) + 1) * profileCoeff χ n = | |
| 76 | - (-χ / 2) ^ n / (n.factorial : ℝ) ^ 2 := by | |
| 77 | - have hf : (n.factorial : ℝ) ≠ 0 := Nat.cast_ne_zero.mpr (Nat.factorial_ne_zero n) | |
| 78 | - have hn : (n : ℝ) + 1 ≠ 0 := by positivity | |
| 79 | - simp only [profileCoeff, Nat.factorial_succ, Nat.cast_mul, Nat.cast_add, | |
| 80 | - Nat.cast_one] | |
| 81 | - field_simp | |
| 82 | - | |
| 83 | 39 | /-- The cubic lower truncation in the manuscript, with `t = Yχ/2`. -/ |
| 84 | 40 | def cubicLower (t : ℝ) : ℝ := 1 - t / 2 + t ^ 2 / 12 - t ^ 3 / 144 |
| 85 | 41 | |
| @@ -120,58 +76,9 @@ theorem quarticUpper_lt_neg_eighteen_hundredths | ||
| 120 | 76 | unfold quarticUpper |
| 121 | 77 | nlinarith |
| 122 | 78 | |
| 123 | -/-- The first four actual displayed series terms, for a concrete link | |
| 124 | -between the coefficient calculation and the lower polynomial. -/ | |
| 125 | -theorem first_four_terms_eq_cubic (χ Y : ℝ) : | |
| 126 | - profileCoeff χ 0 + profileCoeff χ 1 * Y + | |
| 127 | - profileCoeff χ 2 * Y ^ 2 + profileCoeff χ 3 * Y ^ 3 = | |
| 128 | - cubicLower (Y * χ / 2) := by | |
| 129 | - norm_num [profileCoeff, cubicLower, Nat.factorial_succ] | |
| 130 | - ring | |
| 131 | - | |
| 132 | -/-- The first five terms of the formal `f + Yf'` series give exactly the | |
| 133 | -quartic sign-test polynomial. -/ | |
| 134 | -theorem first_five_weighted_terms_eq_quartic (χ Y : ℝ) : | |
| 135 | - profileCoeff χ 0 + 2 * profileCoeff χ 1 * Y + | |
| 136 | - 3 * profileCoeff χ 2 * Y ^ 2 + 4 * profileCoeff χ 3 * Y ^ 3 + | |
| 137 | - 5 * profileCoeff χ 4 * Y ^ 4 = quarticUpper (Y * χ / 2) := by | |
| 138 | - norm_num [profileCoeff, quarticUpper, Nat.factorial_succ] | |
| 139 | - ring | |
| 140 | - | |
| 141 | 79 | /-- The leading axial profile displayed in the scaled construction. -/ |
| 142 | 80 | def leadingAxial (Z L Y : ℝ) : ℝ := -Y * Z / (2 * L) |
| 143 | 81 | |
| 144 | -theorem leadingAxial_zero (Z L : ℝ) : leadingAxial Z L 0 = 0 := by | |
| 145 | - simp [leadingAxial] | |
| 146 | - | |
| 147 | -theorem hasDerivAt_leadingAxial (Z L Y : ℝ) : | |
| 148 | - HasDerivAt (leadingAxial Z L) (-Z / (2 * L)) Y := by | |
| 149 | - have hfun : leadingAxial Z L = fun x : ℝ => (-Z / (2 * L)) * x := by | |
| 150 | - funext x | |
| 151 | - unfold leadingAxial | |
| 152 | - ring | |
| 153 | - rw [hfun] | |
| 154 | - simpa only [id_eq, mul_one] using (hasDerivAt_id Y).const_mul (-Z / (2 * L)) | |
| 155 | - | |
| 156 | -/-- The derivative of the linear leading axial solution is constant. -/ | |
| 157 | -theorem hasDerivAt_leadingAxial_derivative (Z L Y : ℝ) : | |
| 158 | - HasDerivAt (fun _ : ℝ => -Z / (2 * L)) 0 Y := | |
| 159 | - hasDerivAt_const Y _ | |
| 160 | - | |
| 161 | -/-- The derivative as a function, permitting a second differentiation. -/ | |
| 162 | -theorem deriv_leadingAxial (Z L : ℝ) : | |
| 163 | - deriv (leadingAxial Z L) = fun _ : ℝ => -Z / (2 * L) := by | |
| 164 | - funext Y | |
| 165 | - exact (hasDerivAt_leadingAxial Z L Y).deriv | |
| 166 | - | |
| 167 | -/-- The linear leading axial profile satisfies the actual scaled ODE. -/ | |
| 168 | -theorem leadingAxial_scaled_equation (Z L Y : ℝ) (hL : L ≠ 0) : | |
| 169 | - 2 * (Y * deriv (deriv (leadingAxial Z L)) Y + deriv (leadingAxial Z L) Y) = | |
| 170 | - -Z / L := by | |
| 171 | - rw [deriv_leadingAxial] | |
| 172 | - simp only [deriv_const, mul_zero, zero_add] | |
| 173 | - field_simp | |
| 174 | - | |
| 175 | 82 | end |
| 176 | 83 | |
| 177 | 84 | end NavierStokes.AxisProfile |
+0 −7 NavierStokes/AxisReference.lean View file
| @@ -197,13 +197,6 @@ on `|Y|≤5`, uniformly over the parameter interval. -/ | ||
| 197 | 197 | def stabilityScale (ε K : ℝ) : ℝ := |
| 198 | 198 | 1 + 500 * (AxisEvaluation.jetBound ε 5 0 0 + AxisEvaluation.jetBound ε 5 1 0) * K |
| 199 | 199 | |
| 200 | -theorem stabilityScale_pos {ε K : ℝ} (hε : 0 < ε) (hK : 0 ≤ K) : | |
| 201 | - 0 < stabilityScale ε K := by | |
| 202 | - have hC₀ := AxisEvaluation.jetBound_nonneg hε (by norm_num : (1 : ℝ) ≤ 5) 0 0 | |
| 203 | - have hC₁ := AxisEvaluation.jetBound_nonneg hε (by norm_num : (1 : ℝ) ≤ 5) 1 0 | |
| 204 | - unfold stabilityScale | |
| 205 | - positivity | |
| 206 | - | |
| 207 | 200 | theorem value_error_le (I : Window) {ε K Λ : ℝ} (hε : 0 < ε) (hK : 0 ≤ K) |
| 208 | 201 | (hΛ : stabilityScale ε K ≤ Λ) {Φ u Φ₀ u₀ : ℝ × ℝ → ℝ} |
| 209 | 202 | (herr : UniformMixedError I ε (K / (2 * Λ)) Φ u Φ₀ u₀) |
+0 −111 NavierStokes/AxisResolvent.lean View file
| @@ -156,18 +156,6 @@ theorem one_sub_mul_tsum_pow {Q : R} (hs : Summable (fun k : ℕ => Q ^ k)) : | ||
| 156 | 156 | funext k |
| 157 | 157 | rw [← mul_neg_geom_sum, Finset.mul_sum] |
| 158 | 158 | |
| 159 | -/-- The same convergent series is also a right inverse in a possibly | |
| 160 | -noncommutative ring. -/ | |
| 161 | -theorem tsum_pow_mul_one_sub {Q : R} (hs : Summable (fun k : ℕ => Q ^ k)) : | |
| 162 | - (∑' k : ℕ, Q ^ k) * (1 - Q) = 1 := by | |
| 163 | - have h := hs.hasSum.mul_right (1 - Q) | |
| 164 | - refine tendsto_nhds_unique h.tendsto_sum_nat ?_ | |
| 165 | - have hz : Tendsto (fun k : ℕ => 1 - Q ^ k) atTop (𝓝 (1 : R)) := by | |
| 166 | - simpa using tendsto_const_nhds.sub hs.tendsto_atTop_zero | |
| 167 | - convert! ← hz using 1 | |
| 168 | - funext k | |
| 169 | - rw [← geom_sum_mul_neg, Finset.sum_mul] | |
| 170 | - | |
| 171 | 159 | theorem summable_norm_neg_pow_of_factorial_bound (Q : R) {K : ℝ} (hK : 0 ≤ K) |
| 172 | 160 | (hQ : ∀ k : ℕ, ‖Q ^ k‖ ≤ factorialMajorant K k) : |
| 173 | 161 | Summable (fun k : ℕ => ‖(-Q) ^ k‖) := by |
| @@ -182,34 +170,12 @@ theorem summable_neg_pow_of_factorial_bound (Q : R) {K : ℝ} (hK : 0 ≤ K) | ||
| 182 | 170 | Summable (fun k : ℕ => (-Q) ^ k) := |
| 183 | 171 | (summable_norm_neg_pow_of_factorial_bound Q hK hQ).of_norm |
| 184 | 172 | |
| 185 | -theorem hasSum_alternatingResolvent (Q : R) {K : ℝ} (hK : 0 ≤ K) | |
| 186 | - (hQ : ∀ k : ℕ, ‖Q ^ k‖ ≤ factorialMajorant K k) : | |
| 187 | - HasSum (fun k : ℕ => (-Q) ^ k) (alternatingResolvent Q) := | |
| 188 | - (summable_neg_pow_of_factorial_bound Q hK hQ).hasSum | |
| 189 | - | |
| 190 | 173 | theorem one_add_mul_alternatingResolvent (Q : R) {K : ℝ} (hK : 0 ≤ K) |
| 191 | 174 | (hQ : ∀ k : ℕ, ‖Q ^ k‖ ≤ factorialMajorant K k) : |
| 192 | 175 | (1 + Q) * alternatingResolvent Q = 1 := by |
| 193 | 176 | simpa only [alternatingResolvent, sub_neg_eq_add] using |
| 194 | 177 | one_sub_mul_tsum_pow (summable_neg_pow_of_factorial_bound Q hK hQ) |
| 195 | 178 | |
| 196 | -theorem alternatingResolvent_mul_one_add (Q : R) {K : ℝ} (hK : 0 ≤ K) | |
| 197 | - (hQ : ∀ k : ℕ, ‖Q ^ k‖ ≤ factorialMajorant K k) : | |
| 198 | - alternatingResolvent Q * (1 + Q) = 1 := by | |
| 199 | - simpa only [alternatingResolvent, sub_neg_eq_add] using | |
| 200 | - tsum_pow_mul_one_sub (summable_neg_pow_of_factorial_bound Q hK hQ) | |
| 201 | - | |
| 202 | -omit [CompleteSpace R] in | |
| 203 | -theorem norm_alternatingResolvent_le (Q : R) {K : ℝ} (hK : 0 ≤ K) | |
| 204 | - (hQ : ∀ k : ℕ, ‖Q ^ k‖ ≤ factorialMajorant K k) : | |
| 205 | - ‖alternatingResolvent Q‖ ≤ ∑' k : ℕ, factorialMajorant K k := by | |
| 206 | - apply (norm_tsum_le_tsum_norm | |
| 207 | - (summable_norm_neg_pow_of_factorial_bound Q hK hQ)).trans | |
| 208 | - apply Summable.tsum_le_tsum | |
| 209 | - (fun k => by simpa only [norm_neg_pow_eq] using hQ k) | |
| 210 | - (summable_norm_neg_pow_of_factorial_bound Q hK hQ) | |
| 211 | - (summable_factorialMajorant hK) | |
| 212 | - | |
| 213 | 179 | end BanachRing |
| 214 | 180 | |
| 215 | 181 | section BanachOperators |
| @@ -258,41 +224,12 @@ theorem one_add_apply_alternatingResolvent (Q : E →L[ℝ] E) {K : ℝ} (hK : 0 | ||
| 258 | 224 | (one_add_mul_alternatingResolvent Q hK hQ) |
| 259 | 225 | simpa only [_root_.mul_apply_eq_comp, _root_.one_apply_eq_self] using h |
| 260 | 226 | |
| 261 | -theorem alternatingResolvent_apply_one_add (Q : E →L[ℝ] E) {K : ℝ} (hK : 0 ≤ K) | |
| 262 | - (hQ : ∀ k : ℕ, ‖Q ^ k‖ ≤ factorialMajorant K k) (x : E) : | |
| 263 | - alternatingResolvent Q ((1 + Q) x) = x := by | |
| 264 | - have h := congrArg (fun T : E →L[ℝ] E => T x) | |
| 265 | - (alternatingResolvent_mul_one_add Q hK hQ) | |
| 266 | - simpa only [_root_.mul_apply_eq_comp, _root_.one_apply_eq_self] using h | |
| 267 | - | |
| 268 | 227 | theorem alternatingResolvent_equation (Q : E →L[ℝ] E) {K : ℝ} (hK : 0 ≤ K) |
| 269 | 228 | (hQ : ∀ k : ℕ, ‖Q ^ k‖ ≤ factorialMajorant K k) (x : E) : |
| 270 | 229 | alternatingResolvent Q x + Q (alternatingResolvent Q x) = x := by |
| 271 | 230 | simpa only [_root_.add_apply, _root_.one_apply_eq_self] using |
| 272 | 231 | one_add_apply_alternatingResolvent Q hK hQ x |
| 273 | 232 | |
| 274 | -/-- The inverse gives the unique solution of the integrated linear equation. -/ | |
| 275 | -theorem alternatingResolvent_unique (Q : E →L[ℝ] E) {K : ℝ} (hK : 0 ≤ K) | |
| 276 | - (hQ : ∀ k : ℕ, ‖Q ^ k‖ ≤ factorialMajorant K k) | |
| 277 | - {x b : E} (hx : x + Q x = b) : x = alternatingResolvent Q b := by | |
| 278 | - calc | |
| 279 | - x = alternatingResolvent Q ((1 + Q) x) := | |
| 280 | - (alternatingResolvent_apply_one_add Q hK hQ x).symm | |
| 281 | - _ = alternatingResolvent Q b := by | |
| 282 | - exact congrArg (fun y => alternatingResolvent Q y) | |
| 283 | - (by simpa only [_root_.add_apply, _root_.one_apply_eq_self] using hx) | |
| 284 | - | |
| 285 | -/-- Both continuous directions are constructed explicitly from the series. -/ | |
| 286 | -def oneAddEquiv (Q : E →L[ℝ] E) {K : ℝ} (hK : 0 ≤ K) | |
| 287 | - (hQ : ∀ k : ℕ, ‖Q ^ k‖ ≤ factorialMajorant K k) : E ≃L[ℝ] E where | |
| 288 | - toLinearEquiv := | |
| 289 | - { (1 + Q).toLinearMap with | |
| 290 | - invFun := fun x => alternatingResolvent Q x | |
| 291 | - left_inv := alternatingResolvent_apply_one_add Q hK hQ | |
| 292 | - right_inv := one_add_apply_alternatingResolvent Q hK hQ } | |
| 293 | - continuous_toFun := (1 + Q).continuous | |
| 294 | - continuous_invFun := (alternatingResolvent Q).continuous | |
| 295 | - | |
| 296 | 233 | end BanachOperators |
| 297 | 234 | |
| 298 | 235 | section AxisOperators |
| @@ -388,13 +325,6 @@ theorem axisLinearOperator_pow_bound (I : Window) {ε : ℝ} (hε : 0 < ε) | ||
| 388 | 325 | simpa only [radialDivisor, Nat.cast_ofNat] using |
| 389 | 326 | axisLinearOperator_bound_on_order I hε χ Q hQ k A hA |
| 390 | 327 | |
| 391 | -theorem axisLinearOperator_resolvent_equation (I : Window) {ε : ℝ} (hε : 0 < ε) | |
| 392 | - (χ : AxisSpace I ε) (Q : AxisSpace I ε →L[ℝ] AxisSpace I ε) | |
| 393 | - (hQ : IsAxisLinearOperator I ε χ Q) (A : AxisSpace I ε) : | |
| 394 | - alternatingResolvent Q A + Q (alternatingResolvent Q A) = A := | |
| 395 | - alternatingResolvent_equation Q (by positivity) | |
| 396 | - (axisLinearOperator_pow_bound I hε χ Q hQ) A | |
| 397 | - | |
| 398 | 328 | /-- The exact bounded operator in the natural angular equation. -/ |
| 399 | 329 | def naturalOperator (I : Window) {ε : ℝ} (hε : 0 < ε) (χ : AxisSpace I ε) : |
| 400 | 330 | AxisSpace I ε →L[ℝ] AxisSpace I ε := |
| @@ -431,52 +361,11 @@ theorem naturalOperator_pow_bound (I : Window) {ε : ℝ} (hε : 0 < ε) | ||
| 431 | 361 | def naturalResolvent (I : Window) {ε : ℝ} (hε : 0 < ε) (χ : AxisSpace I ε) : |
| 432 | 362 | AxisSpace I ε →L[ℝ] AxisSpace I ε := alternatingResolvent (naturalOperator I hε χ) |
| 433 | 363 | |
| 434 | -theorem naturalResolvent_hasSum (I : Window) {ε : ℝ} (hε : 0 < ε) | |
| 435 | - (χ : AxisSpace I ε) : | |
| 436 | - HasSum (fun k : ℕ => (-naturalOperator I hε χ) ^ k) (naturalResolvent I hε χ) := | |
| 437 | - hasSum_alternatingResolvent _ (by positivity) (naturalOperator_pow_bound I hε χ) | |
| 438 | - | |
| 439 | -theorem naturalResolvent_norm_le (I : Window) {ε : ℝ} (hε : 0 < ε) | |
| 440 | - (χ : AxisSpace I ε) : | |
| 441 | - ‖naturalResolvent I hε χ‖ ≤ ∑' k : ℕ, factorialMajorant (2560 * ‖χ‖) k := | |
| 442 | - norm_alternatingResolvent_le _ (by positivity) (naturalOperator_pow_bound I hε χ) | |
| 443 | - | |
| 444 | -theorem one_add_mul_naturalResolvent (I : Window) {ε : ℝ} (hε : 0 < ε) | |
| 445 | - (χ : AxisSpace I ε) : | |
| 446 | - (1 + naturalOperator I hε χ) * naturalResolvent I hε χ = 1 := | |
| 447 | - one_add_mul_alternatingResolvent _ (by positivity) (naturalOperator_pow_bound I hε χ) | |
| 448 | - | |
| 449 | -theorem naturalResolvent_mul_one_add (I : Window) {ε : ℝ} (hε : 0 < ε) | |
| 450 | - (χ : AxisSpace I ε) : | |
| 451 | - naturalResolvent I hε χ * (1 + naturalOperator I hε χ) = 1 := | |
| 452 | - alternatingResolvent_mul_one_add _ (by positivity) (naturalOperator_pow_bound I hε χ) | |
| 453 | - | |
| 454 | -theorem one_add_apply_naturalResolvent (I : Window) {ε : ℝ} (hε : 0 < ε) | |
| 455 | - (χ A : AxisSpace I ε) : | |
| 456 | - (1 + naturalOperator I hε χ) (naturalResolvent I hε χ A) = A := | |
| 457 | - one_add_apply_alternatingResolvent _ (by positivity) (naturalOperator_pow_bound I hε χ) A | |
| 458 | - | |
| 459 | -theorem naturalResolvent_apply_one_add (I : Window) {ε : ℝ} (hε : 0 < ε) | |
| 460 | - (χ A : AxisSpace I ε) : | |
| 461 | - naturalResolvent I hε χ ((1 + naturalOperator I hε χ) A) = A := | |
| 462 | - alternatingResolvent_apply_one_add _ (by positivity) (naturalOperator_pow_bound I hε χ) A | |
| 463 | - | |
| 464 | 364 | theorem naturalResolvent_equation (I : Window) {ε : ℝ} (hε : 0 < ε) |
| 465 | 365 | (χ A : AxisSpace I ε) : |
| 466 | 366 | naturalResolvent I hε χ A + naturalOperator I hε χ (naturalResolvent I hε χ A) = A := |
| 467 | 367 | alternatingResolvent_equation _ (by positivity) (naturalOperator_pow_bound I hε χ) A |
| 468 | 368 | |
| 469 | -theorem naturalResolvent_unique (I : Window) {ε : ℝ} (hε : 0 < ε) | |
| 470 | - (χ : AxisSpace I ε) {A b : AxisSpace I ε} | |
| 471 | - (hA : A + naturalOperator I hε χ A = b) : A = naturalResolvent I hε χ b := | |
| 472 | - alternatingResolvent_unique _ (by positivity) (naturalOperator_pow_bound I hε χ) hA | |
| 473 | - | |
| 474 | -/-- In particular, the reference angular profile is obtained by applying this | |
| 475 | -map to the constant coefficient representing `1`. -/ | |
| 476 | -def naturalEquationEquiv (I : Window) {ε : ℝ} (hε : 0 < ε) (χ : AxisSpace I ε) : | |
| 477 | - AxisSpace I ε ≃L[ℝ] AxisSpace I ε := | |
| 478 | - oneAddEquiv _ (by positivity) (naturalOperator_pow_bound I hε χ) | |
| 479 | - | |
| 480 | 369 | end AxisOperators |
| 481 | 370 | |
| 482 | 371 | end NavierStokes.AxisResolvent |
+0 −64 NavierStokes/AxisRootPressureBounds.lean View file
| @@ -8,68 +8,4 @@ namespace NavierStokes.AxisRootPressureBounds | ||
| 8 | 8 | |
| 9 | 9 | open Set NaturalAxisData |
| 10 | 10 | |
| 11 | -/-- The root margin retains the square of the pressure-prefix amplitude. -/ | |
| 12 | -theorem Z_at_root_pressure_lower {h j η B : ℝ} {P : ℝ → ℝ} | |
| 13 | - (p : NaturalAxisRange.Parameters h j) (hB : 2 ≤ B) | |
| 14 | - (hη : η ∈ Ioo (-j / 4) (-j / 5)) (hz : H h j η = 0) | |
| 15 | - (hP : P η ≤ -(B ^ 2 / 4)) (hP' : deriv P η ≤ 0) : | |
| 16 | - j * B ^ 2 / 20 < Z h j P η := by | |
| 17 | - have hηn : η < 0 := by linarith [hη.2, p.j_pos] | |
| 18 | - have hI : η ∈ Icc (-1 : ℝ) 1 := by | |
| 19 | - constructor <;> linarith [hη.1, hη.2, p.j_pos, p.j_le] | |
| 20 | - have hU : 0 < U j η := by dsimp [U]; linarith [hη.1] | |
| 21 | - have hUj : U j η < j / 5 := by dsimp [U]; linarith [hη.2] | |
| 22 | - have hrU : -η * U j η ≤ U j η := by | |
| 23 | - simpa using mul_le_mul_of_nonneg_right (show -η ≤ 1 by linarith [hI.1]) hU.le | |
| 24 | - have hfactor : 1 - 2 * η * U j η ≤ 2 := by nlinarith [p.j_le] | |
| 25 | - have hadverse : (1 - 2 * η * U j η) * U j η < 2 * j / 5 := | |
| 26 | - lt_of_le_of_lt (mul_le_mul_of_nonneg_right hfactor hU.le) (by linarith) | |
| 27 | - have hBsq : (4 : ℝ) ≤ B ^ 2 := by nlinarith | |
| 28 | - have hpressure := mul_le_mul_of_nonpos_left hP hηn.le | |
| 29 | - have hroot := mul_lt_mul_of_pos_right hη.2 (show 0 < B ^ 2 by positivity) | |
| 30 | - have hcore : j * B ^ 2 / 10 < -(1 - 2 * η * U j η) * U j η + 4 * η * P η := by | |
| 31 | - have hjB := mul_le_mul_of_nonneg_left hBsq p.j_pos.le | |
| 32 | - nlinarith | |
| 33 | - have hderiv : d η * deriv P η ≤ 0 := | |
| 34 | - mul_nonpos_of_nonneg_of_nonpos (d_nonneg hI) hP' | |
| 35 | - calc | |
| 36 | - j * B ^ 2 / 20 ≤ A h * (j * B ^ 2 / 10) := by | |
| 37 | - have hm := mul_nonneg (show 0 ≤ A h - 1 / 2 by | |
| 38 | - linarith [(NaturalAxisRange.A_bounds p).1]) | |
| 39 | - (mul_nonneg p.j_pos.le (sq_nonneg B)) | |
| 40 | - nlinarith | |
| 41 | - _ < A h * (-(1 - 2 * η * U j η) * U j η + 4 * η * P η) := | |
| 42 | - mul_lt_mul_of_pos_left hcore (NaturalAxisRange.A_pos p) | |
| 43 | - _ ≤ Z h j P η := by | |
| 44 | - unfold Z | |
| 45 | - rw [hz] | |
| 46 | - nlinarith | |
| 47 | - | |
| 48 | -/-- The actual integral pressure supplies the pressure-scaled root margin, | |
| 49 | -with the root and its uniqueness both constructed rather than assumed. -/ | |
| 50 | -theorem ideal_prefix_root_pressure_lower {h j : ℝ} | |
| 51 | - (p : NaturalAxisRange.Parameters h j) {g a : ℝ → ℝ} {cap B : ℝ} | |
| 52 | - (hp : PressureDatum.Admissible g a cap) (hB : 2 ≤ B) | |
| 53 | - (hg : ∀ y ≤ 0, g y = B ^ 2 * Real.exp ((1 / 5 : ℝ) * y)) | |
| 54 | - (ha : ∀ y ≤ 0, a y = 1) : | |
| 55 | - ∃ η₀ : ℝ, η₀ ∈ Ioo (-j / 4) (-j / 5) ∧ H h j η₀ = 0 ∧ | |
| 56 | - j * B ^ 2 / 20 < Z h j (PressureDatum.pressure g a) η₀ ∧ | |
| 57 | - ∀ η ∈ Icc (-1 : ℝ) 1, H h j η = 0 → η = η₀ := by | |
| 58 | - obtain ⟨η₀, hη₀, hz, huniq⟩ := NaturalAxisRange.exists_unique_root p | |
| 59 | - have hI : η₀ ∈ Icc (-1 : ℝ) 1 := by | |
| 60 | - constructor <;> linarith [hη₀.1, hη₀.2, p.j_pos, p.j_le] | |
| 61 | - have hn : η₀ < 0 := by linarith [hη₀.2, p.j_pos] | |
| 62 | - have hs : η₀ ^ 2 ≤ 1 := by nlinarith [hI.1, hI.2] | |
| 63 | - have hi : 1 / 2 ≤ (1 + η₀ ^ 2)⁻¹ := by | |
| 64 | - rw [← one_div] | |
| 65 | - apply (le_div_iff₀ (show (0 : ℝ) < 1 + η₀ ^ 2 by positivity)).mpr | |
| 66 | - linarith | |
| 67 | - have hi2 : (1 / 4 : ℝ) ≤ ((1 + η₀ ^ 2)⁻¹) ^ 2 := by nlinarith | |
| 68 | - have hm := mul_le_mul_of_nonneg_left hi2 (sq_nonneg B) | |
| 69 | - have hp0 : PressureDatum.pressure g a η₀ ≤ -(B ^ 2 / 4) := by | |
| 70 | - have hb := PressureDatum.pressure_le_of_ideal_prefix hp hg ha η₀ | |
| 71 | - nlinarith | |
| 72 | - exact ⟨η₀, hη₀, hz, Z_at_root_pressure_lower p hB hη₀ hz hp0 | |
| 73 | - ((pressureData_of_ideal_prefix hp hB hg ha).deriv_nonpos hI hn), huniq⟩ | |
| 74 | - | |
| 75 | 11 | end NavierStokes.AxisRootPressureBounds |
+0 −43 NavierStokes/AxisSeries.lean View file
| @@ -154,22 +154,6 @@ theorem bessel_contiguous (k : ℕ) (t : ℝ) : | ||
| 154 | 154 | unfold bessel |
| 155 | 155 | ring |
| 156 | 156 | |
| 157 | -theorem second_deriv_bessel (k : ℕ) (t : ℝ) : | |
| 158 | - deriv (deriv (bessel k)) t = bessel (k + 2) t := by | |
| 159 | - rw [deriv_bessel] | |
| 160 | - simpa only [neg_neg, Nat.add_assoc] using (hasDerivAt_bessel (k + 1) t).fun_neg.deriv | |
| 161 | - | |
| 162 | -/-- An actual differential equation for the infinite function. -/ | |
| 163 | -theorem bessel_ode (k : ℕ) (t : ℝ) : | |
| 164 | - t * deriv (deriv (bessel k)) t + ((k : ℝ) + 1) * deriv (bessel k) t + | |
| 165 | - bessel k t = 0 := by | |
| 166 | - rw [second_deriv_bessel, deriv_bessel, bessel_contiguous k t] | |
| 167 | - ring | |
| 168 | - | |
| 169 | -theorem bessel_zero (k : ℕ) : bessel k 0 = 1 / (k.factorial : ℝ) := by | |
| 170 | - rw [bessel_eq_constant_add_tail] | |
| 171 | - simp [term] | |
| 172 | - | |
| 173 | 157 | /-- The leading regular angular profile in the manuscript's scaled radius. -/ |
| 174 | 158 | def profile (χ Y : ℝ) : ℝ := bessel 1 ((χ / 2) * Y) |
| 175 | 159 | |
| @@ -182,9 +166,6 @@ theorem profile_eq_tsum (χ Y : ℝ) : | ||
| 182 | 166 | congr 2 |
| 183 | 167 | ring |
| 184 | 168 | |
| 185 | -theorem profile_zero (χ : ℝ) : profile χ 0 = 1 := by | |
| 186 | - simp [profile, bessel_zero] | |
| 187 | - | |
| 188 | 169 | theorem hasDerivAt_profile (χ Y : ℝ) : |
| 189 | 170 | HasDerivAt (profile χ) (-(χ / 2) * bessel 2 ((χ / 2) * Y)) Y := by |
| 190 | 171 | convert! (hasDerivAt_bessel 1 ((χ / 2) * Y)).comp Y |
| @@ -197,25 +178,6 @@ theorem deriv_profile (χ : ℝ) : | ||
| 197 | 178 | funext Y |
| 198 | 179 | exact (hasDerivAt_profile χ Y).deriv |
| 199 | 180 | |
| 200 | -theorem second_deriv_profile (χ Y : ℝ) : | |
| 201 | - deriv (deriv (profile χ)) Y = (χ / 2) ^ 2 * bessel 3 ((χ / 2) * Y) := by | |
| 202 | - rw [deriv_profile] | |
| 203 | - have h := ((hasDerivAt_bessel 2 ((χ / 2) * Y)).comp Y | |
| 204 | - ((hasDerivAt_id Y).const_mul (χ / 2))).const_mul (-(χ / 2)) | |
| 205 | - convert! h.deriv using 1 | |
| 206 | - simp only [mul_one] | |
| 207 | - ring | |
| 208 | - | |
| 209 | -/-- The leading regular equation `2(YΦ''+2Φ') = -χΦ`, for the actual sum. -/ | |
| 210 | -theorem profile_scaled_ode (χ Y : ℝ) : | |
| 211 | - 2 * (Y * deriv (deriv (profile χ)) Y + 2 * deriv (profile χ) Y) = | |
| 212 | - -χ * profile χ Y := by | |
| 213 | - rw [second_deriv_profile, deriv_profile] | |
| 214 | - unfold profile | |
| 215 | - rw [bessel_contiguous 1 ((χ / 2) * Y)] | |
| 216 | - norm_num | |
| 217 | - ring | |
| 218 | - | |
| 219 | 181 | /-- The exact successive-term ratio, including its sign. -/ |
| 220 | 182 | theorem term_succ_ratio (k n : ℕ) (t : ℝ) : |
| 221 | 183 | term k (n + 1) t = |
| @@ -305,11 +267,6 @@ theorem profile_gt_quarter (χ Y : ℝ) (hχ0 : 0 ≤ χ) (hχ1 : χ ≤ 1) | ||
| 305 | 267 | · positivity |
| 306 | 268 | · nlinarith [mul_nonneg (sub_nonneg.mpr hχ1) hY0] |
| 307 | 269 | |
| 308 | -theorem profile_pos (χ Y : ℝ) (hχ0 : 0 ≤ χ) (hχ1 : χ ≤ 1) | |
| 309 | - (hY0 : 0 ≤ Y) (hY1 : Y ≤ 41 / 10) : 0 < profile χ Y := by | |
| 310 | - have h := profile_gt_quarter χ Y hχ0 hχ1 hY0 hY1 | |
| 311 | - linarith | |
| 312 | - | |
| 313 | 270 | /-- A convergent alternating tail beginning with its positive sign has |
| 314 | 271 | nonnegative total, for every offset starting after at least one term. -/ |
| 315 | 272 | theorem alternating_tail_nonneg (k j : ℕ) (hj : 1 ≤ j) |
+0 −552 NavierStokes/AxisSourceRegularity.lean View file
| @@ -211,62 +211,6 @@ theorem omegaDivX_smooth (h : ℝ) (U v : ℕ → InnerProfile) (k : ℕ) (w : I | ||
| 211 | 211 | ((contDiffAt_const.mul contDiffAt_fst).mul |
| 212 | 212 | (partialX_smooth (partialX_smooth (hv k le_rfl)))))).sub hp |
| 213 | 213 | |
| 214 | -theorem omegaDivX_smooth_extension_at_axis (h : ℝ) (U v : ℕ → InnerProfile) | |
| 215 | - (k : ℕ) (η : ℝ) | |
| 216 | - (hU : ∀ j, j ≤ k → ContDiffAt ℝ ∞ (U j) (0, η)) | |
| 217 | - (hv : ∀ j, j ≤ k → ContDiffAt ℝ ∞ (v j) (0, η)) (hL : L h η ≠ 0) : | |
| 218 | - ContDiffAt ℝ ∞ (omegaDivX h U v k) (0, η) := | |
| 219 | - omegaDivX_smooth h U v k (0, η) hU hv hL | |
| 220 | - | |
| 221 | -theorem partialX_analytic {v : InnerProfile} {w : InnerPoint} | |
| 222 | - (hv : AnalyticAt ℝ v w) : AnalyticAt ℝ (partialX v) w := | |
| 223 | - ((ContinuousLinearMap.apply ℝ ℝ ((1, 0) : InnerPoint)).analyticAt _).comp hv.fderiv | |
| 224 | - | |
| 225 | -theorem partialEta_analytic {v : InnerProfile} {w : InnerPoint} | |
| 226 | - (hv : AnalyticAt ℝ v w) : AnalyticAt ℝ (partialEta v) w := | |
| 227 | - ((ContinuousLinearMap.apply ℝ ℝ ((0, 1) : InnerPoint)).analyticAt _).comp hv.fderiv | |
| 228 | - | |
| 229 | -theorem T_analytic (h b : ℝ) {v : InnerProfile} {w : InnerPoint} | |
| 230 | - (hv : AnalyticAt ℝ v w) (hL : L h w.2 ≠ 0) : AnalyticAt ℝ (T h b v) w := by | |
| 231 | - exact (((analyticAt_const.mul hv).add | |
| 232 | - ((analyticAt_const.mul analyticAt_snd).mul (partialEta_analytic hv))).add | |
| 233 | - (analyticAt_fst.mul (partialX_analytic hv))).fun_div | |
| 234 | - (analyticAt_const.sub (analyticAt_const.mul (analyticAt_snd.pow 2))) hL | |
| 235 | - | |
| 236 | -theorem Z_analytic (h b : ℝ) {v : InnerProfile} {w : InnerPoint} | |
| 237 | - (hv : AnalyticAt ℝ v w) (hL : L h w.2 ≠ 0) : AnalyticAt ℝ (Z h b v) w := by | |
| 238 | - exact ((((analyticAt_const.mul analyticAt_snd).mul analyticAt_const).mul hv).add | |
| 239 | - ((analyticAt_const.sub (analyticAt_snd.pow 2)).mul (partialEta_analytic hv)) |>.sub | |
| 240 | - (((analyticAt_const.mul analyticAt_snd).mul analyticAt_fst).mul (partialX_analytic hv))).fun_div | |
| 241 | - (analyticAt_const.sub (analyticAt_const.mul (analyticAt_snd.pow 2))) hL | |
| 242 | - | |
| 243 | -theorem Z2_analytic (h b : ℝ) {v : InnerProfile} {w : InnerPoint} | |
| 244 | - (hv : AnalyticAt ℝ v w) (hL : L h w.2 ≠ 0) : AnalyticAt ℝ (Z2 h b v) w := | |
| 245 | - Z_analytic h (b - D h) (Z_analytic h b hv hL) hL | |
| 246 | - | |
| 247 | -/-- Joint analytic input germs give an analytic quotient germ, including at X=0. -/ | |
| 248 | -theorem omegaDivX_analytic (h : ℝ) (U v : ℕ → InnerProfile) (k : ℕ) (w : InnerPoint) | |
| 249 | - (hU : ∀ j, j ≤ k → AnalyticAt ℝ (U j) w) | |
| 250 | - (hv : ∀ j, j ≤ k → AnalyticAt ℝ (v j) w) (hL : L h w.2 ≠ 0) : | |
| 251 | - AnalyticAt ℝ (omegaDivX h U v k) w := by | |
| 252 | - have hs : AnalyticAt ℝ (fun y => ∑ ij ∈ Finset.antidiagonal k, | |
| 253 | - (v ij.1 y * (v ij.2 y / 2 + y.1 * partialX (v ij.2) y) + | |
| 254 | - U ij.1 y * Z h (slowOrder h ij.2 - 1) (v ij.2) y)) w := by | |
| 255 | - apply Finset.analyticAt_fun_sum | |
| 256 | - intro ij hij | |
| 257 | - obtain ⟨hi, hj⟩ := antidiagonal_indices_le hij | |
| 258 | - exact ((hv ij.1 hi).mul (((hv ij.2 hj).fun_div analyticAt_const (by norm_num)).add | |
| 259 | - (analyticAt_fst.mul (partialX_analytic (hv ij.2 hj))))).add | |
| 260 | - ((hU ij.1 hi).mul (Z_analytic h _ (hv ij.2 hj) hL)) | |
| 261 | - have hp : AnalyticAt ℝ (shiftedAxialFactor h v k) w := by | |
| 262 | - cases k with | |
| 263 | - | zero => exact analyticAt_const | |
| 264 | - | succ k => exact Z2_analytic h _ (hv k (Nat.le_succ k)) hL | |
| 265 | - exact (((T_analytic h _ (hv k le_rfl) hL).add hs).sub | |
| 266 | - ((analyticAt_const.mul (partialX_analytic (hv k le_rfl))).add | |
| 267 | - ((analyticAt_const.mul analyticAt_fst).mul | |
| 268 | - (partialX_analytic (partialX_analytic (hv k le_rfl)))))).sub hp | |
| 269 | - | |
| 270 | 214 | /-! ## Explicit finite jets and parameter-analytic source formulas -/ |
| 271 | 215 | |
| 272 | 216 | structure Jet2 (K : Type*) where |
| @@ -278,116 +222,6 @@ structure Jet2 (K : Type*) where | ||
| 278 | 222 | dex : K |
| 279 | 223 | dee : K |
| 280 | 224 | |
| 281 | -noncomputable def profileJet (v : InnerProfile) (w : InnerPoint) : Jet2 ℝ where | |
| 282 | - value := v w | |
| 283 | - dx := partialX v w | |
| 284 | - de := partialEta v w | |
| 285 | - dxx := partialX (partialX v) w | |
| 286 | - dxe := partialEta (partialX v) w | |
| 287 | - dex := partialX (partialEta v) w | |
| 288 | - dee := partialEta (partialEta v) w | |
| 289 | - | |
| 290 | -noncomputable def jetL {K : Type*} [Field K] (h e : K) : K := 1 - 2 * h * e ^ 2 | |
| 291 | - | |
| 292 | -noncomputable def jetT {K : Type*} [Field K] (h b X e : K) (j : Jet2 K) : K := | |
| 293 | - (-b * j.value + (1 / 2 - h) * e * j.de + X * j.dx) / jetL h e | |
| 294 | - | |
| 295 | -noncomputable def jetZNumerator {K : Type*} [Field K] (b X e : K) (j : Jet2 K) : K := | |
| 296 | - 2 * e * b * j.value + (1 - e ^ 2) * j.de - 2 * e * X * j.dx | |
| 297 | - | |
| 298 | -noncomputable def jetZNumeratorX {K : Type*} [Field K] (b X e : K) (j : Jet2 K) : K := | |
| 299 | - 2 * e * b * j.dx + (1 - e ^ 2) * j.dex - 2 * e * (j.dx + X * j.dxx) | |
| 300 | - | |
| 301 | -noncomputable def jetZNumeratorE {K : Type*} [Field K] (b X e : K) (j : Jet2 K) : K := | |
| 302 | - 2 * b * j.value + 2 * e * b * j.de - 2 * e * j.de + | |
| 303 | - (1 - e ^ 2) * j.dee - 2 * X * j.dx - 2 * e * X * j.dxe | |
| 304 | - | |
| 305 | -noncomputable def jetZ {K : Type*} [Field K] (h b X e : K) (j : Jet2 K) : K := | |
| 306 | - jetZNumerator b X e j / jetL h e | |
| 307 | - | |
| 308 | -noncomputable def jetZX {K : Type*} [Field K] (h b X e : K) (j : Jet2 K) : K := | |
| 309 | - jetZNumeratorX b X e j / jetL h e | |
| 310 | - | |
| 311 | -noncomputable def jetZE {K : Type*} [Field K] (h b X e : K) (j : Jet2 K) : K := | |
| 312 | - (jetZNumeratorE b X e j * jetL h e + 4 * h * e * jetZNumerator b X e j) / | |
| 313 | - jetL h e ^ 2 | |
| 314 | - | |
| 315 | -noncomputable def jetZ2 {K : Type*} [Field K] (h b X e : K) (j : Jet2 K) : K := | |
| 316 | - (2 * e * (b - (1 / 2 - h)) * jetZ h b X e j + | |
| 317 | - (1 - e ^ 2) * jetZE h b X e j - 2 * e * X * jetZX h b X e j) / jetL h e | |
| 318 | - | |
| 319 | -theorem T_eq_jet (h b : ℝ) (v : InnerProfile) (w : InnerPoint) : | |
| 320 | - T h b v w = jetT h b w.1 w.2 (profileJet v w) := rfl | |
| 321 | - | |
| 322 | -theorem Z_eq_jet (h b : ℝ) (v : InnerProfile) (w : InnerPoint) : | |
| 323 | - Z h b v w = jetZ h b w.1 w.2 (profileJet v w) := rfl | |
| 324 | - | |
| 325 | -theorem Z_partials_eq_jet (h b : ℝ) {v : InnerProfile} {w : InnerPoint} | |
| 326 | - (hv : ContDiffAt ℝ 2 v w) (hL : L h w.2 ≠ 0) : | |
| 327 | - partialX (Z h b v) w = jetZX h b w.1 w.2 (profileJet v w) ∧ | |
| 328 | - partialEta (Z h b v) w = jetZE h b w.1 w.2 (profileJet v w) := by | |
| 329 | - have hvd := (hv.differentiableAt (by norm_num)).hasFDerivAt | |
| 330 | - have hxd := ((partialX_smoothAt hv (m := 1) (by norm_num)).differentiableAt (by norm_num)).hasFDerivAt | |
| 331 | - have hed := ((partialEta_smoothAt hv (m := 1) (by norm_num)).differentiableAt (by norm_num)).hasFDerivAt | |
| 332 | - have hx : HasFDerivAt (fun y : InnerPoint => y.1) (ContinuousLinearMap.fst ℝ ℝ ℝ) w := | |
| 333 | - hasFDerivAt_fst | |
| 334 | - have he : HasFDerivAt (fun y : InnerPoint => y.2) (ContinuousLinearMap.snd ℝ ℝ ℝ) w := | |
| 335 | - hasFDerivAt_snd | |
| 336 | - have hn := (((he.const_mul 2).mul_const b).mul hvd).add | |
| 337 | - (((hasFDerivAt_const (1 : ℝ) w).sub (he.mul he)).mul hed) |>.sub | |
| 338 | - (((he.const_mul 2).mul hx).mul hxd) | |
| 339 | - have hl := (hasFDerivAt_const (1 : ℝ) w).sub ((he.mul he).const_mul (2 * h)) | |
| 340 | - have hL₀ : 1 - 2 * h * (w.2 * w.2) ≠ 0 := by | |
| 341 | - simpa only [L, CoordinateAlgebra.L, pow_two] using hL | |
| 342 | - have hL₁ : 1 - 2 * h * w.2 ^ 2 ≠ 0 := hL | |
| 343 | - have hz := hn.mul ((hasDerivAt_inv hL₀).comp_hasFDerivAt w hl) | |
| 344 | - simp only [Function.comp_def, ← pow_two] at hz | |
| 345 | - change HasFDerivAt (Z h b v) _ w at hz | |
| 346 | - constructor | |
| 347 | - · change (fderiv ℝ (Z h b v) w) (1, 0) = _ | |
| 348 | - rw [hz.fderiv] | |
| 349 | - simp [jetZX, jetZNumeratorX, jetL, profileJet, partialX, partialEta, smul_eq_mul] | |
| 350 | - field_simp [hL₁] ; ring | |
| 351 | - · change (fderiv ℝ (Z h b v) w) (0, 1) = _ | |
| 352 | - rw [hz.fderiv] | |
| 353 | - simp [jetZE, jetZNumeratorE, jetZNumerator, jetL, profileJet, partialX, partialEta, | |
| 354 | - smul_eq_mul] | |
| 355 | - field_simp [hL₁] ; ring | |
| 356 | - | |
| 357 | -theorem Z2_eq_jet (h b : ℝ) {v : InnerProfile} {w : InnerPoint} | |
| 358 | - (hv : ContDiffAt ℝ 2 v w) (hL : L h w.2 ≠ 0) : | |
| 359 | - Z2 h b v w = jetZ2 h b w.1 w.2 (profileJet v w) := by | |
| 360 | - obtain ⟨hx, he⟩ := Z_partials_eq_jet h b hv hL | |
| 361 | - change (2 * w.2 * (b - D h) * Z h b v w + d w.2 * partialEta (Z h b v) w - | |
| 362 | - 2 * w.2 * w.1 * partialX (Z h b v) w) / L h w.2 = _ | |
| 363 | - rw [hx, he, Z_eq_jet] | |
| 364 | - rfl | |
| 365 | - | |
| 366 | -noncomputable def jetShifted {K : Type*} [Field K] (h X e : K) (v : ℕ → Jet2 K) : ℕ → K | |
| 367 | - | 0 => 0 | |
| 368 | - | k + 1 => jetZ2 h (2 * (k : K) * h - 1) X e (v k) | |
| 369 | - | |
| 370 | -/-- The same regular source formula over any field, so complex parameter | |
| 371 | -extensions use precisely the algebra verified for the real profile derivatives. -/ | |
| 372 | -noncomputable def jetOmegaDivX {K : Type*} [Field K] (h X e : K) | |
| 373 | - (U : ℕ → K) (v : ℕ → Jet2 K) (k : ℕ) : K := | |
| 374 | - jetT h (2 * (k : K) * h - 1) X e (v k) + | |
| 375 | - (∑ ij ∈ Finset.antidiagonal k, | |
| 376 | - ((v ij.1).value * ((v ij.2).value / 2 + X * (v ij.2).dx) + | |
| 377 | - U ij.1 * jetZ h (2 * (ij.2 : K) * h - 1) X e (v ij.2))) - | |
| 378 | - (4 * (v k).dx + 2 * X * (v k).dxx) - jetShifted h X e v k | |
| 379 | - | |
| 380 | -theorem omegaDivX_eq_jet (h : ℝ) (U v : ℕ → InnerProfile) (k : ℕ) (w : InnerPoint) | |
| 381 | - (hv : ∀ j, j ≤ k → ContDiffAt ℝ 2 (v j) w) (hL : L h w.2 ≠ 0) : | |
| 382 | - omegaDivX h U v k w = jetOmegaDivX h w.1 w.2 (fun j => U j w) | |
| 383 | - (fun j => profileJet (v j) w) k := by | |
| 384 | - cases k with | |
| 385 | - | zero => rfl | |
| 386 | - | succ k => | |
| 387 | - simp only [omegaDivX, jetOmegaDivX, shiftedAxialFactor, jetShifted] | |
| 388 | - rw [Z2_eq_jet h (slowOrder h k - 1) (hv k (Nat.le_succ k)) hL] | |
| 389 | - rfl | |
| 390 | - | |
| 391 | 225 | /-- Holomorphic extensions of the seven actual input jets. This is stronger |
| 392 | 226 | than separate analyticity of v alone and is the precise parameter hypothesis used. -/ |
| 393 | 227 | structure AnalyticJetAt (J : ℂ → Jet2 ℂ) (e : ℂ) : Prop where |
| @@ -399,396 +233,10 @@ structure AnalyticJetAt (J : ℂ → Jet2 ℂ) (e : ℂ) : Prop where | ||
| 399 | 233 | dex : AnalyticAt ℂ (fun z => (J z).dex) e |
| 400 | 234 | dee : AnalyticAt ℂ (fun z => (J z).dee) e |
| 401 | 235 | |
| 402 | -theorem jetL_analytic (h e : ℂ) : AnalyticAt ℂ (jetL h) e := | |
| 403 | - analyticAt_const.sub (analyticAt_const.mul (analyticAt_id.pow 2)) | |
| 404 | - | |
| 405 | -theorem jetT_analytic (h b X : ℂ) {J : ℂ → Jet2 ℂ} {e : ℂ} | |
| 406 | - (hJ : AnalyticJetAt J e) (hL : jetL h e ≠ 0) : | |
| 407 | - AnalyticAt ℂ (fun z => jetT h b X z (J z)) e := by | |
| 408 | - exact (((analyticAt_const.mul hJ.value).add | |
| 409 | - ((analyticAt_const.mul analyticAt_id).mul hJ.de)).add | |
| 410 | - (analyticAt_const.mul hJ.dx)).fun_div (jetL_analytic h e) hL | |
| 411 | - | |
| 412 | -theorem jetZNumerator_analytic (b X : ℂ) {J : ℂ → Jet2 ℂ} {e : ℂ} | |
| 413 | - (hJ : AnalyticJetAt J e) : AnalyticAt ℂ (fun z => jetZNumerator b X z (J z)) e := by | |
| 414 | - exact ((((analyticAt_const.mul analyticAt_id).mul analyticAt_const).mul hJ.value).add | |
| 415 | - ((analyticAt_const.sub (analyticAt_id.pow 2)).mul hJ.de)).sub | |
| 416 | - (((analyticAt_const.mul analyticAt_id).mul analyticAt_const).mul hJ.dx) | |
| 417 | - | |
| 418 | -theorem jetZNumeratorX_analytic (b X : ℂ) {J : ℂ → Jet2 ℂ} {e : ℂ} | |
| 419 | - (hJ : AnalyticJetAt J e) : AnalyticAt ℂ (fun z => jetZNumeratorX b X z (J z)) e := by | |
| 420 | - exact ((((analyticAt_const.mul analyticAt_id).mul analyticAt_const).mul hJ.dx).add | |
| 421 | - ((analyticAt_const.sub (analyticAt_id.pow 2)).mul hJ.dex)).sub | |
| 422 | - ((analyticAt_const.mul analyticAt_id).mul (hJ.dx.add (analyticAt_const.mul hJ.dxx))) | |
| 423 | - | |
| 424 | -theorem jetZNumeratorE_analytic (b X : ℂ) {J : ℂ → Jet2 ℂ} {e : ℂ} | |
| 425 | - (hJ : AnalyticJetAt J e) : AnalyticAt ℂ (fun z => jetZNumeratorE b X z (J z)) e := by | |
| 426 | - exact (((((analyticAt_const.mul hJ.value).add | |
| 427 | - (((analyticAt_const.mul analyticAt_id).mul analyticAt_const).mul hJ.de)).sub | |
| 428 | - ((analyticAt_const.mul analyticAt_id).mul hJ.de)).add | |
| 429 | - ((analyticAt_const.sub (analyticAt_id.pow 2)).mul hJ.dee)).sub | |
| 430 | - (analyticAt_const.mul hJ.dx)).sub | |
| 431 | - (((analyticAt_const.mul analyticAt_id).mul analyticAt_const).mul hJ.dxe) | |
| 432 | - | |
| 433 | -theorem jetZ_analytic (h b X : ℂ) {J : ℂ → Jet2 ℂ} {e : ℂ} | |
| 434 | - (hJ : AnalyticJetAt J e) (hL : jetL h e ≠ 0) : | |
| 435 | - AnalyticAt ℂ (fun z => jetZ h b X z (J z)) e := | |
| 436 | - (jetZNumerator_analytic b X hJ).fun_div (jetL_analytic h e) hL | |
| 437 | - | |
| 438 | -theorem jetZX_analytic (h b X : ℂ) {J : ℂ → Jet2 ℂ} {e : ℂ} | |
| 439 | - (hJ : AnalyticJetAt J e) (hL : jetL h e ≠ 0) : | |
| 440 | - AnalyticAt ℂ (fun z => jetZX h b X z (J z)) e := | |
| 441 | - (jetZNumeratorX_analytic b X hJ).fun_div (jetL_analytic h e) hL | |
| 442 | - | |
| 443 | -theorem jetZE_analytic (h b X : ℂ) {J : ℂ → Jet2 ℂ} {e : ℂ} | |
| 444 | - (hJ : AnalyticJetAt J e) (hL : jetL h e ≠ 0) : | |
| 445 | - AnalyticAt ℂ (fun z => jetZE h b X z (J z)) e := by | |
| 446 | - exact (((jetZNumeratorE_analytic b X hJ).mul (jetL_analytic h e)).add | |
| 447 | - ((analyticAt_const.mul analyticAt_id).mul (jetZNumerator_analytic b X hJ))).fun_div | |
| 448 | - ((jetL_analytic h e).pow 2) (pow_ne_zero _ hL) | |
| 449 | - | |
| 450 | -theorem jetZ2_analytic (h b X : ℂ) {J : ℂ → Jet2 ℂ} {e : ℂ} | |
| 451 | - (hJ : AnalyticJetAt J e) (hL : jetL h e ≠ 0) : | |
| 452 | - AnalyticAt ℂ (fun z => jetZ2 h b X z (J z)) e := by | |
| 453 | - exact (((((analyticAt_const.mul analyticAt_id).mul analyticAt_const).mul | |
| 454 | - (jetZ_analytic h b X hJ hL)).add | |
| 455 | - ((analyticAt_const.sub (analyticAt_id.pow 2)).mul (jetZE_analytic h b X hJ hL))).sub | |
| 456 | - (((analyticAt_const.mul analyticAt_id).mul analyticAt_const).mul | |
| 457 | - (jetZX_analytic h b X hJ hL))).fun_div (jetL_analytic h e) hL | |
| 458 | - | |
| 459 | -/-- The finite quotient source is holomorphic in the parameter whenever the | |
| 460 | -finite input jets have holomorphic extensions and the sole denominator is nonzero. -/ | |
| 461 | -theorem jetOmegaDivX_analytic (h X : ℂ) (U : ℕ → ℂ → ℂ) | |
| 462 | - (v : ℕ → ℂ → Jet2 ℂ) (k : ℕ) (e : ℂ) | |
| 463 | - (hU : ∀ j, j ≤ k → AnalyticAt ℂ (U j) e) | |
| 464 | - (hv : ∀ j, j ≤ k → AnalyticJetAt (v j) e) (hL : jetL h e ≠ 0) : | |
| 465 | - AnalyticAt ℂ (fun z => jetOmegaDivX h X z (fun j => U j z) (fun j => v j z) k) e := by | |
| 466 | - have hs : AnalyticAt ℂ (fun z => ∑ ij ∈ Finset.antidiagonal k, | |
| 467 | - ((v ij.1 z).value * ((v ij.2 z).value / 2 + X * (v ij.2 z).dx) + | |
| 468 | - U ij.1 z * jetZ h (2 * (ij.2 : ℂ) * h - 1) X z (v ij.2 z))) e := by | |
| 469 | - apply Finset.analyticAt_fun_sum | |
| 470 | - intro ij hij | |
| 471 | - obtain ⟨hi, hj⟩ := antidiagonal_indices_le hij | |
| 472 | - exact ((hv ij.1 hi).value.mul (((hv ij.2 hj).value.fun_div analyticAt_const | |
| 473 | - (by norm_num)).add (analyticAt_const.mul (hv ij.2 hj).dx))).add | |
| 474 | - ((hU ij.1 hi).mul (jetZ_analytic h _ X (hv ij.2 hj) hL)) | |
| 475 | - have hp : AnalyticAt ℂ (fun z => jetShifted h X z (fun j => v j z) k) e := by | |
| 476 | - cases k with | |
| 477 | - | zero => exact analyticAt_const | |
| 478 | - | succ k => exact jetZ2_analytic h _ X (hv k (Nat.le_succ k)) hL | |
| 479 | - exact (((jetT_analytic h _ X (hv k le_rfl) hL).add hs).sub | |
| 480 | - ((analyticAt_const.mul (hv k le_rfl).dx).add | |
| 481 | - (analyticAt_const.mul (hv k le_rfl).dxx))).sub hp | |
| 482 | - | |
| 483 | -noncomputable def complexifyJet (j : Jet2 ℝ) : Jet2 ℂ where | |
| 484 | - value := j.value | |
| 485 | - dx := j.dx | |
| 486 | - de := j.de | |
| 487 | - dxx := j.dxx | |
| 488 | - dxe := j.dxe | |
| 489 | - dex := j.dex | |
| 490 | - dee := j.dee | |
| 491 | - | |
| 492 | -/-- The holomorphic algebra uses the exact real source formula on real inputs. -/ | |
| 493 | -theorem jetOmegaDivX_ofReal (h X e : ℝ) (U : ℕ → ℝ) (v : ℕ → Jet2 ℝ) (k : ℕ) : | |
| 494 | - ((jetOmegaDivX h X e U v k : ℝ) : ℂ) = | |
| 495 | - jetOmegaDivX (h : ℂ) (X : ℂ) (e : ℂ) (fun j => (U j : ℂ)) | |
| 496 | - (fun j => complexifyJet (v j)) k := by | |
| 497 | - cases k <;> simp [jetOmegaDivX, jetShifted, jetT, jetZ2, jetZ, jetZE, jetZX, | |
| 498 | - jetZNumerator, jetZNumeratorX, jetZNumeratorE, jetL, complexifyJet] | |
| 499 | - | |
| 500 | -theorem omegaDivX_complex_formula (h : ℝ) (U v : ℕ → InnerProfile) (k : ℕ) (w : InnerPoint) | |
| 501 | - (hv : ∀ j, j ≤ k → ContDiffAt ℝ 2 (v j) w) (hL : L h w.2 ≠ 0) : | |
| 502 | - (omegaDivX h U v k w : ℂ) = | |
| 503 | - jetOmegaDivX (h : ℂ) (w.1 : ℂ) (w.2 : ℂ) (fun j => (U j w : ℂ)) | |
| 504 | - (fun j => complexifyJet (profileJet (v j) w)) k := by | |
| 505 | - rw [omegaDivX_eq_jet h U v k w hv hL, jetOmegaDivX_ofReal] | |
| 506 | - | |
| 507 | -noncomputable def lowerPairs (n : ℕ) : Finset (ℕ × ℕ) := | |
| 508 | - (Finset.antidiagonal n).filter (fun ij => 0 < ij.1 ∧ 0 < ij.2) | |
| 509 | - | |
| 510 | -theorem lowerPairs_lt {n i j : ℕ} (hij : (i, j) ∈ lowerPairs n) : i < n ∧ j < n := by | |
| 511 | - obtain ⟨ha, hi, hj⟩ := Finset.mem_filter.mp hij | |
| 512 | - have he := Finset.mem_antidiagonal.mp ha | |
| 513 | - omega | |
| 514 | - | |
| 515 | -noncomputable def lowerConvolution (a b : ℕ → InnerProfile) (n : ℕ) (w : InnerPoint) : ℝ := | |
| 516 | - ∑ ij ∈ lowerPairs n, a ij.1 w * b ij.2 w | |
| 517 | - | |
| 518 | 236 | noncomputable def previousOmegaDivX (h : ℝ) (U v : ℕ → InnerProfile) : ℕ → InnerProfile |
| 519 | 237 | | 0 => fun _ => 0 |
| 520 | 238 | | k + 1 => omegaDivX h U v k |
| 521 | 239 | |
| 522 | -/-- The known lower-order pressure source after its radial cancellation. -/ | |
| 523 | -noncomputable def lowerPressureSource (h C : ℝ) (φ U v : ℕ → InnerProfile) | |
| 524 | - (n : ℕ) (w : InnerPoint) : ℝ := | |
| 525 | - C⁻¹ ^ 2 * lowerConvolution φ φ n w - previousOmegaDivX h U v n w / 2 | |
| 526 | - | |
| 527 | -theorem lowerConvolution_smooth (a b : ℕ → InnerProfile) (n : ℕ) (w : InnerPoint) | |
| 528 | - (ha : ∀ j, j < n → ContDiffAt ℝ ∞ (a j) w) | |
| 529 | - (hb : ∀ j, j < n → ContDiffAt ℝ ∞ (b j) w) : | |
| 530 | - ContDiffAt ℝ ∞ (lowerConvolution a b n) w := by | |
| 531 | - apply ContDiffAt.sum | |
| 532 | - intro ij hij | |
| 533 | - obtain ⟨hi, hj⟩ := lowerPairs_lt hij | |
| 534 | - exact (ha ij.1 hi).mul (hb ij.2 hj) | |
| 535 | - | |
| 536 | -theorem lowerPressureSource_smooth (h C : ℝ) (φ U v : ℕ → InnerProfile) | |
| 537 | - (n : ℕ) (w : InnerPoint) | |
| 538 | - (hφ : ∀ j, j < n → ContDiffAt ℝ ∞ (φ j) w) | |
| 539 | - (hU : ∀ j, j < n → ContDiffAt ℝ ∞ (U j) w) | |
| 540 | - (hv : ∀ j, j < n → ContDiffAt ℝ ∞ (v j) w) (hL : L h w.2 ≠ 0) : | |
| 541 | - ContDiffAt ℝ ∞ (lowerPressureSource h C φ U v n) w := by | |
| 542 | - have hp : ContDiffAt ℝ ∞ (previousOmegaDivX h U v n) w := by | |
| 543 | - cases n with | |
| 544 | - | zero => exact contDiffAt_const | |
| 545 | - | succ k => | |
| 546 | - exact omegaDivX_smooth h U v k w (fun j hj => hU j (Nat.lt_succ_of_le hj)) | |
| 547 | - (fun j hj => hv j (Nat.lt_succ_of_le hj)) hL | |
| 548 | - exact (contDiffAt_const.mul (lowerConvolution_smooth φ φ n w hφ hφ)).sub | |
| 549 | - (hp.div contDiffAt_const (by norm_num)) | |
| 550 | - | |
| 551 | -theorem lowerConvolution_analytic (a b : ℕ → InnerProfile) (n : ℕ) (w : InnerPoint) | |
| 552 | - (ha : ∀ j, j < n → AnalyticAt ℝ (a j) w) | |
| 553 | - (hb : ∀ j, j < n → AnalyticAt ℝ (b j) w) : | |
| 554 | - AnalyticAt ℝ (lowerConvolution a b n) w := by | |
| 555 | - apply Finset.analyticAt_fun_sum | |
| 556 | - intro ij hij | |
| 557 | - obtain ⟨hi, hj⟩ := lowerPairs_lt hij | |
| 558 | - exact (ha ij.1 hi).mul (hb ij.2 hj) | |
| 559 | - | |
| 560 | -theorem lowerPressureSource_analytic (h C : ℝ) (φ U v : ℕ → InnerProfile) | |
| 561 | - (n : ℕ) (w : InnerPoint) | |
| 562 | - (hφ : ∀ j, j < n → AnalyticAt ℝ (φ j) w) | |
| 563 | - (hU : ∀ j, j < n → AnalyticAt ℝ (U j) w) | |
| 564 | - (hv : ∀ j, j < n → AnalyticAt ℝ (v j) w) (hL : L h w.2 ≠ 0) : | |
| 565 | - AnalyticAt ℝ (lowerPressureSource h C φ U v n) w := by | |
| 566 | - have hp : AnalyticAt ℝ (previousOmegaDivX h U v n) w := by | |
| 567 | - cases n with | |
| 568 | - | zero => exact analyticAt_const | |
| 569 | - | succ k => | |
| 570 | - exact omegaDivX_analytic h U v k w (fun j hj => hU j (Nat.lt_succ_of_le hj)) | |
| 571 | - (fun j hj => hv j (Nat.lt_succ_of_le hj)) hL | |
| 572 | - exact (analyticAt_const.mul (lowerConvolution_analytic φ φ n w hφ hφ)).sub | |
| 573 | - (hp.fun_div analyticAt_const (by norm_num)) | |
| 574 | - | |
| 575 | -/-- The regular lower-order source agrees with the displayed pressure source | |
| 576 | -away from the axis. -/ | |
| 577 | -theorem lowerPressureSource_eq_quotient (h C : ℝ) (φ U v : ℕ → InnerProfile) | |
| 578 | - (k : ℕ) (w : InnerPoint) | |
| 579 | - (hv : ∀ j, j ≤ k → ContDiffAt ℝ 2 (v j) w) | |
| 580 | - (hL : L h w.2 ≠ 0) (hX : w.1 ≠ 0) : | |
| 581 | - lowerPressureSource h C φ U v (k + 1) w = | |
| 582 | - C⁻¹ ^ 2 * lowerConvolution φ φ (k + 1) w - | |
| 583 | - (omega h U (fun j => axisFactor (v j)) k w / w.1) / 2 := by | |
| 584 | - rw [omega_quotient_eq h U v k w hv hL hX] | |
| 585 | - rfl | |
| 586 | - | |
| 587 | -noncomputable def jetPreviousOmega {K : Type*} [Field K] (h X e : K) | |
| 588 | - (U : ℕ → K) (v : ℕ → Jet2 K) : ℕ → K | |
| 589 | - | 0 => 0 | |
| 590 | - | k + 1 => jetOmegaDivX h X e U v k | |
| 591 | - | |
| 592 | -/-- Parameter-analytic algebra for the same finite lower pressure source. -/ | |
| 593 | -noncomputable def jetLowerPressureSource {K : Type*} [Field K] (h C X e : K) | |
| 594 | - (φ U : ℕ → K) (v : ℕ → Jet2 K) (n : ℕ) : K := | |
| 595 | - C⁻¹ ^ 2 * (∑ ij ∈ lowerPairs n, φ ij.1 * φ ij.2) - | |
| 596 | - jetPreviousOmega h X e U v n / 2 | |
| 597 | - | |
| 598 | -theorem lowerPressureSource_eq_jet (h C : ℝ) (φ U v : ℕ → InnerProfile) | |
| 599 | - (n : ℕ) (w : InnerPoint) | |
| 600 | - (hv : ∀ j, j < n → ContDiffAt ℝ 2 (v j) w) (hL : L h w.2 ≠ 0) : | |
| 601 | - lowerPressureSource h C φ U v n w = | |
| 602 | - jetLowerPressureSource h C w.1 w.2 (fun j => φ j w) (fun j => U j w) | |
| 603 | - (fun j => profileJet (v j) w) n := by | |
| 604 | - cases n with | |
| 605 | - | zero => rfl | |
| 606 | - | succ k => | |
| 607 | - simp only [lowerPressureSource, previousOmegaDivX, jetLowerPressureSource, | |
| 608 | - jetPreviousOmega] | |
| 609 | - rw [omegaDivX_eq_jet h U v k w (fun j hj => hv j (Nat.lt_succ_of_le hj)) hL] | |
| 610 | - rfl | |
| 611 | - | |
| 612 | -theorem jetLowerPressureSource_ofReal (h C X e : ℝ) (φ U : ℕ → ℝ) | |
| 613 | - (v : ℕ → Jet2 ℝ) (n : ℕ) : | |
| 614 | - ((jetLowerPressureSource h C X e φ U v n : ℝ) : ℂ) = | |
| 615 | - jetLowerPressureSource (h : ℂ) (C : ℂ) (X : ℂ) (e : ℂ) | |
| 616 | - (fun j => (φ j : ℂ)) (fun j => (U j : ℂ)) | |
| 617 | - (fun j => complexifyJet (v j)) n := by | |
| 618 | - cases n <;> simp [jetLowerPressureSource, jetPreviousOmega, jetOmegaDivX_ofReal] | |
| 619 | - | |
| 620 | -theorem lowerPressureSource_complex_formula (h C : ℝ) (φ U v : ℕ → InnerProfile) | |
| 621 | - (n : ℕ) (w : InnerPoint) | |
| 622 | - (hv : ∀ j, j < n → ContDiffAt ℝ 2 (v j) w) (hL : L h w.2 ≠ 0) : | |
| 623 | - (lowerPressureSource h C φ U v n w : ℂ) = | |
| 624 | - jetLowerPressureSource (h : ℂ) (C : ℂ) (w.1 : ℂ) (w.2 : ℂ) | |
| 625 | - (fun j => (φ j w : ℂ)) (fun j => (U j w : ℂ)) | |
| 626 | - (fun j => complexifyJet (profileJet (v j) w)) n := by | |
| 627 | - rw [lowerPressureSource_eq_jet h C φ U v n w hv hL, jetLowerPressureSource_ofReal] | |
| 628 | - | |
| 629 | -/-- Only previously constructed profiles, indexed strictly below n, are needed | |
| 630 | -for holomorphy of the known source at order n. -/ | |
| 631 | -theorem jetLowerPressureSource_analytic (h C X : ℂ) (φ U : ℕ → ℂ → ℂ) | |
| 632 | - (v : ℕ → ℂ → Jet2 ℂ) (n : ℕ) (e : ℂ) | |
| 633 | - (hφ : ∀ j, j < n → AnalyticAt ℂ (φ j) e) | |
| 634 | - (hU : ∀ j, j < n → AnalyticAt ℂ (U j) e) | |
| 635 | - (hv : ∀ j, j < n → AnalyticJetAt (v j) e) (hL : jetL h e ≠ 0) : | |
| 636 | - AnalyticAt ℂ (fun z => jetLowerPressureSource h C X z | |
| 637 | - (fun j => φ j z) (fun j => U j z) (fun j => v j z) n) e := by | |
| 638 | - have hs : AnalyticAt ℂ (fun z => ∑ ij ∈ lowerPairs n, φ ij.1 z * φ ij.2 z) e := by | |
| 639 | - apply Finset.analyticAt_fun_sum | |
| 640 | - intro ij hij | |
| 641 | - obtain ⟨hi, hj⟩ := lowerPairs_lt hij | |
| 642 | - exact (hφ ij.1 hi).mul (hφ ij.2 hj) | |
| 643 | - have hp : AnalyticAt ℂ (fun z => jetPreviousOmega h X z | |
| 644 | - (fun j => U j z) (fun j => v j z) n) e := by | |
| 645 | - cases n with | |
| 646 | - | zero => exact analyticAt_const | |
| 647 | - | succ k => | |
| 648 | - exact jetOmegaDivX_analytic h X U v k e | |
| 649 | - (fun j hj => hU j (Nat.lt_succ_of_le hj)) | |
| 650 | - (fun j hj => hv j (Nat.lt_succ_of_le hj)) hL | |
| 651 | - exact (analyticAt_const.mul hs).sub (hp.fun_div analyticAt_const (by norm_num)) | |
| 652 | - | |
| 653 | 240 | /-! ## The other finite lower-order transport sources -/ |
| 654 | 241 | |
| 655 | -theorem transport_axisFactor (σ : ℝ) (v f : InnerProfile) (w : InnerPoint) | |
| 656 | - (hX : w.1 ≠ 0) : | |
| 657 | - axisFactor v w * (partialX f w + σ * f w / w.1) = | |
| 658 | - v w * (w.1 * partialX f w + σ * f w) := by | |
| 659 | - unfold axisFactor | |
| 660 | - field_simp [hX] | |
| 661 | - | |
| 662 | -noncomputable def shiftedProfileAxial (h b : ℝ) (f : ℕ → InnerProfile) : ℕ → InnerProfile | |
| 663 | - | 0 => fun _ => 0 | |
| 664 | - | k + 1 => Z2 h (b + slowOrder h k) (f k) | |
| 665 | - | |
| 666 | -/-- The finite known transport part of the angular row has σ=1, and that of | |
| 667 | -the axial row has σ=0. The base exponents b are supplied separately. -/ | |
| 668 | -noncomputable def lowerTransportSource (h b σ : ℝ) (v U f : ℕ → InnerProfile) | |
| 669 | - (n : ℕ) (w : InnerPoint) : ℝ := | |
| 670 | - (∑ ij ∈ lowerPairs n, | |
| 671 | - (v ij.1 w * (w.1 * partialX (f ij.2) w + σ * f ij.2 w) + | |
| 672 | - U ij.1 w * Z h (b + slowOrder h ij.2) (f ij.2) w)) - | |
| 673 | - shiftedProfileAxial h b f n w | |
| 674 | - | |
| 675 | -theorem lowerTransportSource_eq_quotient (h b σ : ℝ) (v U f : ℕ → InnerProfile) | |
| 676 | - (n : ℕ) (w : InnerPoint) (hX : w.1 ≠ 0) : | |
| 677 | - lowerTransportSource h b σ v U f n w = | |
| 678 | - (∑ ij ∈ lowerPairs n, | |
| 679 | - (axisFactor (v ij.1) w * (partialX (f ij.2) w + σ * f ij.2 w / w.1) + | |
| 680 | - U ij.1 w * Z h (b + slowOrder h ij.2) (f ij.2) w)) - | |
| 681 | - shiftedProfileAxial h b f n w := by | |
| 682 | - simp only [lowerTransportSource, transport_axisFactor σ _ _ w hX] | |
| 683 | - | |
| 684 | -theorem lowerTransportSource_smooth (h b σ : ℝ) (v U f : ℕ → InnerProfile) | |
| 685 | - (n : ℕ) (w : InnerPoint) | |
| 686 | - (hv : ∀ j, j < n → ContDiffAt ℝ ∞ (v j) w) | |
| 687 | - (hU : ∀ j, j < n → ContDiffAt ℝ ∞ (U j) w) | |
| 688 | - (hf : ∀ j, j < n → ContDiffAt ℝ ∞ (f j) w) (hL : L h w.2 ≠ 0) : | |
| 689 | - ContDiffAt ℝ ∞ (lowerTransportSource h b σ v U f n) w := by | |
| 690 | - have hs : ContDiffAt ℝ ∞ (fun y => ∑ ij ∈ lowerPairs n, | |
| 691 | - (v ij.1 y * (y.1 * partialX (f ij.2) y + σ * f ij.2 y) + | |
| 692 | - U ij.1 y * Z h (b + slowOrder h ij.2) (f ij.2) y)) w := by | |
| 693 | - apply ContDiffAt.sum | |
| 694 | - intro ij hij | |
| 695 | - obtain ⟨hi, hj⟩ := lowerPairs_lt hij | |
| 696 | - exact ((hv ij.1 hi).mul ((contDiffAt_fst.mul (partialX_smooth (hf ij.2 hj))).add | |
| 697 | - (contDiffAt_const.mul (hf ij.2 hj)))).add | |
| 698 | - ((hU ij.1 hi).mul (Z_smooth h _ (hf ij.2 hj) hL)) | |
| 699 | - have hp : ContDiffAt ℝ ∞ (shiftedProfileAxial h b f n) w := by | |
| 700 | - cases n with | |
| 701 | - | zero => exact contDiffAt_const | |
| 702 | - | succ k => exact Z2_smooth h _ (hf k (Nat.lt_succ_self k)) hL | |
| 703 | - exact hs.sub hp | |
| 704 | - | |
| 705 | -theorem lowerTransportSource_analytic (h b σ : ℝ) (v U f : ℕ → InnerProfile) | |
| 706 | - (n : ℕ) (w : InnerPoint) | |
| 707 | - (hv : ∀ j, j < n → AnalyticAt ℝ (v j) w) | |
| 708 | - (hU : ∀ j, j < n → AnalyticAt ℝ (U j) w) | |
| 709 | - (hf : ∀ j, j < n → AnalyticAt ℝ (f j) w) (hL : L h w.2 ≠ 0) : | |
| 710 | - AnalyticAt ℝ (lowerTransportSource h b σ v U f n) w := by | |
| 711 | - have hs : AnalyticAt ℝ (fun y => ∑ ij ∈ lowerPairs n, | |
| 712 | - (v ij.1 y * (y.1 * partialX (f ij.2) y + σ * f ij.2 y) + | |
| 713 | - U ij.1 y * Z h (b + slowOrder h ij.2) (f ij.2) y)) w := by | |
| 714 | - apply Finset.analyticAt_fun_sum | |
| 715 | - intro ij hij | |
| 716 | - obtain ⟨hi, hj⟩ := lowerPairs_lt hij | |
| 717 | - exact ((hv ij.1 hi).mul ((analyticAt_fst.mul (partialX_analytic (hf ij.2 hj))).add | |
| 718 | - (analyticAt_const.mul (hf ij.2 hj)))).add | |
| 719 | - ((hU ij.1 hi).mul (Z_analytic h _ (hf ij.2 hj) hL)) | |
| 720 | - have hp : AnalyticAt ℝ (shiftedProfileAxial h b f n) w := by | |
| 721 | - cases n with | |
| 722 | - | zero => exact analyticAt_const | |
| 723 | - | succ k => exact Z2_analytic h _ (hf k (Nat.lt_succ_self k)) hL | |
| 724 | - exact hs.sub hp | |
| 725 | - | |
| 726 | -noncomputable def jetShiftedProfileAxial {K : Type*} [Field K] (h b X e : K) | |
| 727 | - (f : ℕ → Jet2 K) : ℕ → K | |
| 728 | - | 0 => 0 | |
| 729 | - | k + 1 => jetZ2 h (b + 2 * (k : K) * h) X e (f k) | |
| 730 | - | |
| 731 | -noncomputable def jetLowerTransportSource {K : Type*} [Field K] (h b σ X e : K) | |
| 732 | - (v U : ℕ → K) (f : ℕ → Jet2 K) (n : ℕ) : K := | |
| 733 | - (∑ ij ∈ lowerPairs n, | |
| 734 | - (v ij.1 * (X * (f ij.2).dx + σ * (f ij.2).value) + | |
| 735 | - U ij.1 * jetZ h (b + 2 * (ij.2 : K) * h) X e (f ij.2))) - | |
| 736 | - jetShiftedProfileAxial h b X e f n | |
| 737 | - | |
| 738 | -theorem lowerTransportSource_eq_jet (h b σ : ℝ) (v U f : ℕ → InnerProfile) | |
| 739 | - (n : ℕ) (w : InnerPoint) | |
| 740 | - (hf : ∀ j, j < n → ContDiffAt ℝ 2 (f j) w) (hL : L h w.2 ≠ 0) : | |
| 741 | - lowerTransportSource h b σ v U f n w = | |
| 742 | - jetLowerTransportSource h b σ w.1 w.2 (fun j => v j w) (fun j => U j w) | |
| 743 | - (fun j => profileJet (f j) w) n := by | |
| 744 | - cases n with | |
| 745 | - | zero => rfl | |
| 746 | - | succ k => | |
| 747 | - simp only [lowerTransportSource, jetLowerTransportSource, shiftedProfileAxial, | |
| 748 | - jetShiftedProfileAxial] | |
| 749 | - rw [Z2_eq_jet h (b + slowOrder h k) (hf k (Nat.lt_succ_self k)) hL] | |
| 750 | - rfl | |
| 751 | - | |
| 752 | -theorem jetLowerTransportSource_ofReal (h b σ X e : ℝ) (v U : ℕ → ℝ) | |
| 753 | - (f : ℕ → Jet2 ℝ) (n : ℕ) : | |
| 754 | - ((jetLowerTransportSource h b σ X e v U f n : ℝ) : ℂ) = | |
| 755 | - jetLowerTransportSource (h : ℂ) (b : ℂ) (σ : ℂ) (X : ℂ) (e : ℂ) | |
| 756 | - (fun j => (v j : ℂ)) (fun j => (U j : ℂ)) | |
| 757 | - (fun j => complexifyJet (f j)) n := by | |
| 758 | - cases n <;> simp [jetLowerTransportSource, jetShiftedProfileAxial, | |
| 759 | - jetZ2, jetZ, jetZE, jetZX, jetZNumerator, jetZNumeratorX, jetZNumeratorE, | |
| 760 | - jetL, complexifyJet] | |
| 761 | - | |
| 762 | -theorem lowerTransportSource_complex_formula (h b σ : ℝ) (v U f : ℕ → InnerProfile) | |
| 763 | - (n : ℕ) (w : InnerPoint) | |
| 764 | - (hf : ∀ j, j < n → ContDiffAt ℝ 2 (f j) w) (hL : L h w.2 ≠ 0) : | |
| 765 | - (lowerTransportSource h b σ v U f n w : ℂ) = | |
| 766 | - jetLowerTransportSource (h : ℂ) (b : ℂ) (σ : ℂ) (w.1 : ℂ) (w.2 : ℂ) | |
| 767 | - (fun j => (v j w : ℂ)) (fun j => (U j w : ℂ)) | |
| 768 | - (fun j => complexifyJet (profileJet (f j) w)) n := by | |
| 769 | - rw [lowerTransportSource_eq_jet h b σ v U f n w hf hL, jetLowerTransportSource_ofReal] | |
| 770 | - | |
| 771 | -theorem jetLowerTransportSource_analytic (h b σ X : ℂ) (v U : ℕ → ℂ → ℂ) | |
| 772 | - (f : ℕ → ℂ → Jet2 ℂ) (n : ℕ) (e : ℂ) | |
| 773 | - (hv : ∀ j, j < n → AnalyticAt ℂ (v j) e) | |
| 774 | - (hU : ∀ j, j < n → AnalyticAt ℂ (U j) e) | |
| 775 | - (hf : ∀ j, j < n → AnalyticJetAt (f j) e) (hL : jetL h e ≠ 0) : | |
| 776 | - AnalyticAt ℂ (fun z => jetLowerTransportSource h b σ X z | |
| 777 | - (fun j => v j z) (fun j => U j z) (fun j => f j z) n) e := by | |
| 778 | - have hs : AnalyticAt ℂ (fun z => ∑ ij ∈ lowerPairs n, | |
| 779 | - (v ij.1 z * (X * (f ij.2 z).dx + σ * (f ij.2 z).value) + | |
| 780 | - U ij.1 z * jetZ h (b + 2 * (ij.2 : ℂ) * h) X z (f ij.2 z))) e := by | |
| 781 | - apply Finset.analyticAt_fun_sum | |
| 782 | - intro ij hij | |
| 783 | - obtain ⟨hi, hj⟩ := lowerPairs_lt hij | |
| 784 | - exact ((hv ij.1 hi).mul ((analyticAt_const.mul (hf ij.2 hj).dx).add | |
| 785 | - (analyticAt_const.mul (hf ij.2 hj).value))).add | |
| 786 | - ((hU ij.1 hi).mul (jetZ_analytic h _ X (hf ij.2 hj) hL)) | |
| 787 | - have hp : AnalyticAt ℂ (fun z => jetShiftedProfileAxial h b X z | |
| 788 | - (fun j => f j z) n) e := by | |
| 789 | - cases n with | |
| 790 | - | zero => exact analyticAt_const | |
| 791 | - | succ k => exact jetZ2_analytic h _ X (hf k (Nat.lt_succ_self k)) hL | |
| 792 | - exact hs.sub hp | |
| 793 | - | |
| 794 | 242 | end NavierStokes.AxisSourceRegularity |
+0 −109 NavierStokes/AxisTailRegularity.lean View file
| @@ -324,56 +324,6 @@ theorem pressureTerm_eq_regular_on_nonnegative {O : Set InnerPoint} (hO : IsOpen | ||
| 324 | 324 | |
| 325 | 325 | /-! ## The same finite monomials, with regular inner coefficients -/ |
| 326 | 326 | |
| 327 | -theorem transportTail_eq_regular_of_germs (N : ℕ) (q h e α : ℝ) | |
| 328 | - {v u f beta u' f' : ℕ → InnerProfile} {w : InnerPoint} | |
| 329 | - (hv : ∀ j ≤ N, v j =ᶠ[𝓝 w] AxisSourceRegularity.axisFactor (beta j)) | |
| 330 | - (hu : ∀ j ≤ N, u j =ᶠ[𝓝 w] u' j) | |
| 331 | - (hf : ∀ j ≤ N, f j =ᶠ[𝓝 w] f' j) (hX : w.1 ≠ 0) : | |
| 332 | - transportTail N q h e α v u f w = | |
| 333 | - ∑ i ∈ transportIndices N, | |
| 334 | - q ^ transportPower N h e i * regularTransportTerm N h e α beta u' f' i w := by | |
| 335 | - rw [transportTail_eq_finite_monomials] | |
| 336 | - apply Finset.sum_congr rfl | |
| 337 | - intro i hi | |
| 338 | - rw [transportTerm_eq_regular_of_germs N h e α hv hu hf hX hi] | |
| 339 | - | |
| 340 | -theorem pressureTail_div_eq_regular_of_germs (N : ℕ) (q h C : ℝ) | |
| 341 | - {f : SlowProfiles} {phi u beta : ℕ → InnerProfile} {w : InnerPoint} | |
| 342 | - (hv : ∀ j ≤ N, f.flux j =ᶠ[𝓝 w] AxisSourceRegularity.axisFactor (beta j)) | |
| 343 | - (hu : ∀ j ≤ N, f.axial j =ᶠ[𝓝 w] u j) | |
| 344 | - (hp : ∀ j ≤ N, f.phi j =ᶠ[𝓝 w] phi j) | |
| 345 | - (hb : ∀ j ≤ N, ContDiffAt ℝ 2 (beta j) w) | |
| 346 | - (hL : CoordinateAlgebra.L h w.2 ≠ 0) (hX : w.1 ≠ 0) : | |
| 347 | - pressureTail N q h C f w / (2 * w.1) = | |
| 348 | - ∑ i ∈ pressureIndices N, | |
| 349 | - q ^ pressurePower N h i * regularPressureTerm N h C phi u beta i w := by | |
| 350 | - rw [pressureTail_eq_finite_monomials, Finset.sum_div] | |
| 351 | - apply Finset.sum_congr rfl | |
| 352 | - intro i hi | |
| 353 | - rw [mul_div_assoc, pressureTerm_eq_regular_of_germs N h C hv hu hp hb hL hX hi] | |
| 354 | - | |
| 355 | -/-- The physical radial denominator contributes precisely the original | |
| 356 | -single power of `q`. Regularizing `X` costs no further power. -/ | |
| 357 | -theorem radialTail_eq_regular_of_germs {h : ℝ} (hh : 0 < h) (hh1 : h < 1 / 2) | |
| 358 | - (N : ℕ) (C : ℝ) {f : SlowProfiles} {phi u beta : ℕ → InnerProfile} | |
| 359 | - {p : PhysicalPoint} (hp : p.1 < 1) (hs : 0 < p.2.1) | |
| 360 | - (hv : ∀ j ≤ N, f.flux j =ᶠ[𝓝 (SimilarityProfile.inner h p)] | |
| 361 | - AxisSourceRegularity.axisFactor (beta j)) | |
| 362 | - (hu : ∀ j ≤ N, f.axial j =ᶠ[𝓝 (SimilarityProfile.inner h p)] u j) | |
| 363 | - (hphi : ∀ j ≤ N, f.phi j =ᶠ[𝓝 (SimilarityProfile.inner h p)] phi j) | |
| 364 | - (hb : ∀ j ≤ N, ContDiffAt ℝ 2 (beta j) (SimilarityProfile.inner h p)) | |
| 365 | - (hL : CoordinateAlgebra.L h (SimilarityProfile.inner h p).2 ≠ 0) : | |
| 366 | - pressureTail N (SimilarityProfile.q h p) h C f (SimilarityProfile.inner h p) / | |
| 367 | - (2 * p.2.1) = | |
| 368 | - ∑ i ∈ pressureIndices N, | |
| 369 | - SimilarityProfile.q h p ^ (pressurePower N h i - 1) * | |
| 370 | - regularPressureTerm N h C phi u beta i (SimilarityProfile.inner h p) := by | |
| 371 | - rw [radialTail_eq_finite_monomials hh hh1 N C f hp hs] | |
| 372 | - apply Finset.sum_congr rfl | |
| 373 | - intro i hi | |
| 374 | - rw [pressureTerm_eq_regular_of_germs N h C hv hu hphi hb hL | |
| 375 | - (LeadingStress.inner_X_pos hh hh1 hp hs).ne' hi] | |
| 376 | - | |
| 377 | 327 | theorem angular_power_lower {h : ℝ} (hh : 0 ≤ h) (N : ℕ) |
| 378 | 328 | {i : TailIndex} (hi : i ∈ transportIndices N) : |
| 379 | 329 | 2 * (N : ℝ) * h - 2 ≤ transportPower N h (angularExponent h) i := by |
| @@ -395,63 +345,4 @@ theorem radial_power_lower {h : ℝ} (hh : 0 ≤ h) (N : ℕ) | ||
| 395 | 345 | |
| 396 | 346 | /-! ## Actual smoothness through `X = 0` and even radial pullbacks -/ |
| 397 | 347 | |
| 398 | -theorem radiusPoint_contDiff : ContDiff ℝ ∞ radiusPoint := by | |
| 399 | - change ContDiff ℝ ∞ (fun w : InnerPoint => (w.1 ^ 2 / 2, w.2)) | |
| 400 | - exact ((contDiff_fst.pow 2).div_const 2).prodMk contDiff_snd | |
| 401 | - | |
| 402 | -theorem toRadius_smoothOn {O : Set InnerPoint} {f : InnerProfile} | |
| 403 | - (hf : ContDiffOn ℝ ∞ f O) : | |
| 404 | - ContDiffOn ℝ ∞ (toRadius f) (radiusPoint ⁻¹' O) := | |
| 405 | - hf.comp radiusPoint_contDiff.contDiffOn (fun _ hw => hw) | |
| 406 | - | |
| 407 | -theorem toRadius_even (f : InnerProfile) (R η : ℝ) : | |
| 408 | - toRadius f (-R, η) = toRadius f (R, η) := by | |
| 409 | - simp [toRadius, radiusPoint] | |
| 410 | - | |
| 411 | -theorem regularTransportTerm_right_smoothOn {O : Set InnerPoint} (hO : IsOpen O) | |
| 412 | - (N : ℕ) (h e α : ℝ) (beta u f : ℕ → InnerProfile) | |
| 413 | - (hb : ∀ j ≤ N, ContDiffOn ℝ ∞ (beta j) O) | |
| 414 | - (hu : ∀ j ≤ N, ContDiffOn ℝ ∞ (u j) O) | |
| 415 | - (hf : ∀ j ≤ N, ContDiffOn ℝ ∞ (f j) O) | |
| 416 | - (hL : ∀ w ∈ O, CoordinateAlgebra.L h w.2 ≠ 0) | |
| 417 | - {i : TailIndex} (hi : i ∈ transportIndices N) : | |
| 418 | - ContDiffOn ℝ ∞ (regularTransportTerm N h e α beta u f i) | |
| 419 | - (O ∩ {w | 0 ≤ w.1}) := | |
| 420 | - (regularTransportTerm_smoothOn hO N h e α beta u f hb hu hf hL hi).mono | |
| 421 | - Set.inter_subset_left | |
| 422 | - | |
| 423 | -theorem regularPressureTerm_right_smoothOn {O : Set InnerPoint} (hO : IsOpen O) | |
| 424 | - (N : ℕ) (h C : ℝ) (phi u beta : ℕ → InnerProfile) | |
| 425 | - (hp : ∀ j ≤ N, ContDiffOn ℝ ∞ (phi j) O) | |
| 426 | - (hu : ∀ j ≤ N, ContDiffOn ℝ ∞ (u j) O) | |
| 427 | - (hb : ∀ j ≤ N, ContDiffOn ℝ ∞ (beta j) O) | |
| 428 | - (hL : ∀ w ∈ O, CoordinateAlgebra.L h w.2 ≠ 0) | |
| 429 | - {i : PressureIndex} (hi : i ∈ pressureIndices N) : | |
| 430 | - ContDiffOn ℝ ∞ (regularPressureTerm N h C phi u beta i) | |
| 431 | - (O ∩ {w | 0 ≤ w.1}) := | |
| 432 | - (regularPressureTerm_smoothOn hO N h C phi u beta hp hu hb hL hi).mono | |
| 433 | - Set.inter_subset_left | |
| 434 | - | |
| 435 | -theorem regularTransportTerm_radial_smoothOn {O : Set InnerPoint} (hO : IsOpen O) | |
| 436 | - (N : ℕ) (h e α : ℝ) (beta u f : ℕ → InnerProfile) | |
| 437 | - (hb : ∀ j ≤ N, ContDiffOn ℝ ∞ (beta j) O) | |
| 438 | - (hu : ∀ j ≤ N, ContDiffOn ℝ ∞ (u j) O) | |
| 439 | - (hf : ∀ j ≤ N, ContDiffOn ℝ ∞ (f j) O) | |
| 440 | - (hL : ∀ w ∈ O, CoordinateAlgebra.L h w.2 ≠ 0) | |
| 441 | - {i : TailIndex} (hi : i ∈ transportIndices N) : | |
| 442 | - ContDiffOn ℝ ∞ (toRadius (regularTransportTerm N h e α beta u f i)) | |
| 443 | - (radiusPoint ⁻¹' O) := | |
| 444 | - toRadius_smoothOn (regularTransportTerm_smoothOn hO N h e α beta u f hb hu hf hL hi) | |
| 445 | - | |
| 446 | -theorem regularPressureTerm_radial_smoothOn {O : Set InnerPoint} (hO : IsOpen O) | |
| 447 | - (N : ℕ) (h C : ℝ) (phi u beta : ℕ → InnerProfile) | |
| 448 | - (hp : ∀ j ≤ N, ContDiffOn ℝ ∞ (phi j) O) | |
| 449 | - (hu : ∀ j ≤ N, ContDiffOn ℝ ∞ (u j) O) | |
| 450 | - (hb : ∀ j ≤ N, ContDiffOn ℝ ∞ (beta j) O) | |
| 451 | - (hL : ∀ w ∈ O, CoordinateAlgebra.L h w.2 ≠ 0) | |
| 452 | - {i : PressureIndex} (hi : i ∈ pressureIndices N) : | |
| 453 | - ContDiffOn ℝ ∞ (toRadius (regularPressureTerm N h C phi u beta i)) | |
| 454 | - (radiusPoint ⁻¹' O) := | |
| 455 | - toRadius_smoothOn (regularPressureTerm_smoothOn hO N h C phi u beta hp hu hb hL hi) | |
| 456 | - | |
| 457 | 348 | end NavierStokes.AxisTailRegularity |
+0 −181 NavierStokes/AxisWeightEstimates.lean View file
| @@ -247,10 +247,6 @@ theorem weight_radial_shift {ε : ℝ} (hε : 0 < ε) (n m : ℕ) : | ||
| 247 | 247 | (squareDecay_pos n).le (mul_nonneg (by norm_num) (coreWeight_pos hε (n + 1) m).le) |
| 248 | 248 | _ = _ := by ring |
| 249 | 249 | |
| 250 | -theorem weight_radial_shift_ratio {ε : ℝ} (hε : 0 < ε) (n m : ℕ) : | |
| 251 | - weight ε n m / weight ε (n + 1) m ≤ 80 := by | |
| 252 | - exact (div_le_iff₀ (weight_pos hε (n + 1) m)).2 (weight_radial_shift hε n m) | |
| 253 | - | |
| 254 | 250 | /-- Assigning the output radial shift to a parameter-differentiated factor. -/ |
| 255 | 251 | theorem weight_parameter_radial_shift {ε : ℝ} (hε : 0 < ε) (i k : ℕ) : |
| 256 | 252 | weight ε i (k + 1) ≤ (80 / ε) * ((i : ℝ) + 1) * weight ε (i + 1) k := by |
| @@ -267,10 +263,6 @@ theorem weight_parameter_radial_shift {ε : ℝ} (hε : 0 < ε) (i k : ℕ) : | ||
| 267 | 263 | (4 * squareDecay (i + 1) * squareDecay k) := mul_le_mul_of_nonneg_left hd hc |
| 268 | 264 | _ = _ := by ring |
| 269 | 265 | |
| 270 | -theorem weight_parameter_radial_shift_ratio {ε : ℝ} (hε : 0 < ε) (i k : ℕ) : | |
| 271 | - weight ε i (k + 1) / weight ε (i + 1) k ≤ (80 / ε) * ((i : ℝ) + 1) := by | |
| 272 | - exact (div_le_iff₀ (weight_pos hε (i + 1) k)).2 (weight_parameter_radial_shift hε i k) | |
| 273 | - | |
| 274 | 266 | /-- The finite weight convolution associated with radial multiplication and |
| 275 | 267 | the parameter Leibniz rule. -/ |
| 276 | 268 | def productWeightSum (ε : ℝ) (n m : ℕ) : ℝ := |
| @@ -417,98 +409,6 @@ theorem shiftedProductWeightSum_le {ε : ℝ} (hε : 0 < ε) (n m : ℕ) : | ||
| 417 | 409 | (weight_pos hε _ _).le |
| 418 | 410 | exact hsub.trans (productWeightSum_le hε (n + 1) m) |
| 419 | 411 | |
| 420 | -/-- A single mixed term after applying the inverse radial divisor. -/ | |
| 421 | -theorem mixed_weight_term_le {ε : ℝ} (hε : 0 < ε) {r n i j : ℕ} | |
| 422 | - (hr : 1 ≤ r) (hij : i + j = n) (m k l : ℕ) : | |
| 423 | - (((m.choose k : ℝ) * j) / radialDivisor r n) * weight ε i (k + 1) * weight ε j l ≤ | |
| 424 | - (80 / ε) * ((m.choose k : ℝ) * weight ε (i + 1) k * weight ε j l) := by | |
| 425 | - have hD := radialDivisor_pos hr n | |
| 426 | - have hcoef : 0 ≤ ((m.choose k : ℝ) * j) / radialDivisor r n := by positivity | |
| 427 | - have hfactor : (((i : ℝ) + 1) * j) / radialDivisor r n ≤ 1 := by | |
| 428 | - apply (div_le_iff₀ hD).2 | |
| 429 | - simpa only [one_mul] using mixed_factors_le_divisor hr hij | |
| 430 | - have hnonneg : 0 ≤ (80 / ε) * | |
| 431 | - ((m.choose k : ℝ) * weight ε (i + 1) k * weight ε j l) := by | |
| 432 | - exact mul_nonneg (by positivity) | |
| 433 | - (mul_nonneg (mul_nonneg (Nat.cast_nonneg _) (weight_pos hε _ _).le) (weight_pos hε _ _).le) | |
| 434 | - calc | |
| 435 | - _ ≤ (((m.choose k : ℝ) * j) / radialDivisor r n) * | |
| 436 | - ((80 / ε) * ((i : ℝ) + 1) * weight ε (i + 1) k) * weight ε j l := by | |
| 437 | - exact mul_le_mul_of_nonneg_right | |
| 438 | - (mul_le_mul_of_nonneg_left (weight_parameter_radial_shift hε i k) hcoef) | |
| 439 | - (weight_pos hε _ _).le | |
| 440 | - _ = ((80 / ε) * ((m.choose k : ℝ) * weight ε (i + 1) k * weight ε j l)) * | |
| 441 | - ((((i : ℝ) + 1) * j) / radialDivisor r n) := by ring | |
| 442 | - _ ≤ ((80 / ε) * ((m.choose k : ℝ) * weight ε (i + 1) k * weight ε j l)) * 1 := | |
| 443 | - mul_le_mul_of_nonneg_left hfactor hnonneg | |
| 444 | - _ = _ := mul_one _ | |
| 445 | - | |
| 446 | -def mixedWeightSum (ε : ℝ) (r n m : ℕ) : ℝ := | |
| 447 | - ∑ ij ∈ antidiagonal n, ∑ kl ∈ antidiagonal m, | |
| 448 | - (((m.choose kl.1 : ℝ) * ij.2) / radialDivisor r n) * | |
| 449 | - weight ε ij.1 (kl.1 + 1) * weight ε ij.2 kl.2 | |
| 450 | - | |
| 451 | -theorem mixedWeightSum_le {ε : ℝ} (hε : 0 < ε) {r : ℕ} (hr : 1 ≤ r) (n m : ℕ) : | |
| 452 | - mixedWeightSum ε r n m ≤ (5120 / ε) * weight ε (n + 1) m := by | |
| 453 | - have hsum : mixedWeightSum ε r n m ≤ | |
| 454 | - ∑ ij ∈ antidiagonal n, ∑ kl ∈ antidiagonal m, | |
| 455 | - (80 / ε) * ((m.choose kl.1 : ℝ) * weight ε (ij.1 + 1) kl.1 * weight ε ij.2 kl.2) := by | |
| 456 | - apply Finset.sum_le_sum | |
| 457 | - intro ij hij | |
| 458 | - apply Finset.sum_le_sum | |
| 459 | - intro kl hkl | |
| 460 | - exact mixed_weight_term_le hε hr (mem_antidiagonal.mp hij) m kl.1 kl.2 | |
| 461 | - have hfactor : | |
| 462 | - (∑ ij ∈ antidiagonal n, ∑ kl ∈ antidiagonal m, | |
| 463 | - (80 / ε) * ((m.choose kl.1 : ℝ) * weight ε (ij.1 + 1) kl.1 * weight ε ij.2 kl.2)) = | |
| 464 | - (80 / ε) * shiftedProductWeightSum ε n m := by | |
| 465 | - simp only [shiftedProductWeightSum, Finset.mul_sum] | |
| 466 | - rw [hfactor] at hsum | |
| 467 | - calc | |
| 468 | - _ ≤ (80 / ε) * shiftedProductWeightSum ε n m := hsum | |
| 469 | - _ ≤ (80 / ε) * (64 * weight ε (n + 1) m) := | |
| 470 | - mul_le_mul_of_nonneg_left (shiftedProductWeightSum_le hε n m) (by positivity) | |
| 471 | - _ = _ := by ring | |
| 472 | - | |
| 473 | -/-- The coefficient at radial degree n+1 of J_r((∂η f) D_Y g). | |
| 474 | -The radial divisor is distributed over its finite convolution sum. -/ | |
| 475 | -def inverseMixedJet (r : ℕ) (f g : ℕ → ℕ → ℝ) (n m : ℕ) : ℝ := | |
| 476 | - ∑ ij ∈ antidiagonal n, ∑ kl ∈ antidiagonal m, | |
| 477 | - (((m.choose kl.1 : ℝ) * ij.2) / radialDivisor r n) * | |
| 478 | - f ij.1 (kl.1 + 1) * g ij.2 kl.2 | |
| 479 | - | |
| 480 | -/-- The mixed derivative is bounded after radial inversion, with explicit | |
| 481 | -constant 5120/ε. Neither individual derivative is assumed bounded. -/ | |
| 482 | -theorem inverseMixedJet_bound {ε F G : ℝ} (hε : 0 < ε) (hF : 0 ≤ F) (hG : 0 ≤ G) | |
| 483 | - {r : ℕ} (hr : 1 ≤ r) (f g : ℕ → ℕ → ℝ) | |
| 484 | - (hf : ∀ n m, |f n m| ≤ F * weight ε n m) | |
| 485 | - (hg : ∀ n m, |g n m| ≤ G * weight ε n m) (n m : ℕ) : | |
| 486 | - |inverseMixedJet r f g n m| ≤ (5120 / ε) * F * G * weight ε (n + 1) m := by | |
| 487 | - have hD := radialDivisor_pos hr n | |
| 488 | - have hsum : |inverseMixedJet r f g n m| ≤ | |
| 489 | - ∑ ij ∈ antidiagonal n, ∑ kl ∈ antidiagonal m, | |
| 490 | - (F * G) * ((((m.choose kl.1 : ℝ) * ij.2) / radialDivisor r n) * | |
| 491 | - weight ε ij.1 (kl.1 + 1) * weight ε ij.2 kl.2) := by | |
| 492 | - apply abs_double_sum_le | |
| 493 | - intro ij hij kl hkl | |
| 494 | - exact abs_bilinear_term_le _ _ _ _ _ _ _ (by positivity) hF hG | |
| 495 | - (weight_pos hε _ _).le (weight_pos hε _ _).le (hf _ _) (hg _ _) | |
| 496 | - have hfactor : | |
| 497 | - (∑ ij ∈ antidiagonal n, ∑ kl ∈ antidiagonal m, | |
| 498 | - (F * G) * ((((m.choose kl.1 : ℝ) * ij.2) / radialDivisor r n) * | |
| 499 | - weight ε ij.1 (kl.1 + 1) * weight ε ij.2 kl.2)) = | |
| 500 | - (F * G) * mixedWeightSum ε r n m := by | |
| 501 | - simp only [mixedWeightSum, Finset.mul_sum] | |
| 502 | - rw [hfactor] at hsum | |
| 503 | - calc | |
| 504 | - _ ≤ (F * G) * mixedWeightSum ε r n m := hsum | |
| 505 | - _ ≤ (F * G) * ((5120 / ε) * weight ε (n + 1) m) := | |
| 506 | - mul_le_mul_of_nonneg_left (mixedWeightSum_le hε hr n m) (mul_nonneg hF hG) | |
| 507 | - _ = _ := by ring | |
| 508 | - | |
| 509 | -/-- Coefficients of the radial averaging operator `Bf(Y)=∫₀¹ f(tY)dt`. -/ | |
| 510 | -def averageJet (f : ℕ → ℕ → ℝ) (n m : ℕ) : ℝ := f n m / ((n : ℝ) + 1) | |
| 511 | - | |
| 512 | 412 | /-- Coefficients of the zero-datum primitive. -/ |
| 513 | 413 | def primitiveJet (f : ℕ → ℕ → ℝ) : ℕ → ℕ → ℝ |
| 514 | 414 | | 0, _ => 0 |
| @@ -519,35 +419,6 @@ def regularInverseJet (r : ℕ) (f : ℕ → ℕ → ℝ) : ℕ → ℕ → ℝ | ||
| 519 | 419 | | 0, _ => 0 |
| 520 | 420 | | n + 1, m => f n m / radialDivisor r n |
| 521 | 421 | |
| 522 | -/-- The primitive is applied together with the parameter derivative. -/ | |
| 523 | -def parameterPrimitiveJet (f : ℕ → ℕ → ℝ) : ℕ → ℕ → ℝ | |
| 524 | - | 0, _ => 0 | |
| 525 | - | n + 1, m => f n (m + 1) / ((n : ℝ) + 1) | |
| 526 | - | |
| 527 | -theorem averageJet_bound {ε F : ℝ} (_hε : 0 < ε) (_hF : 0 ≤ F) | |
| 528 | - (f : ℕ → ℕ → ℝ) (hf : ∀ n m, |f n m| ≤ F * weight ε n m) (n m : ℕ) : | |
| 529 | - |averageJet f n m| ≤ F * weight ε n m := by | |
| 530 | - unfold averageJet | |
| 531 | - rw [abs_div, abs_of_pos (by positivity : 0 < (n : ℝ) + 1)] | |
| 532 | - exact (div_le_self (abs_nonneg _) (by | |
| 533 | - have hn : (0 : ℝ) ≤ n := by positivity | |
| 534 | - linarith)).trans (hf n m) | |
| 535 | - | |
| 536 | -theorem primitiveJet_bound {ε F : ℝ} (hε : 0 < ε) (hF : 0 ≤ F) | |
| 537 | - (f : ℕ → ℕ → ℝ) (hf : ∀ n m, |f n m| ≤ F * weight ε n m) (n m : ℕ) : | |
| 538 | - |primitiveJet f n m| ≤ 80 * F * weight ε n m := by | |
| 539 | - cases n with | |
| 540 | - | zero => | |
| 541 | - simpa only [primitiveJet, abs_zero] using | |
| 542 | - (mul_nonneg (mul_nonneg (by norm_num) hF) (weight_pos hε 0 m).le) | |
| 543 | - | succ n => | |
| 544 | - calc | |
| 545 | - |primitiveJet f (n + 1) m| = |averageJet f n m| := rfl | |
| 546 | - _ ≤ F * weight ε n m := averageJet_bound hε hF f hf n m | |
| 547 | - _ ≤ F * (80 * weight ε (n + 1) m) := | |
| 548 | - mul_le_mul_of_nonneg_left (weight_radial_shift hε n m) hF | |
| 549 | - _ = _ := by ring | |
| 550 | - | |
| 551 | 422 | theorem radialDivisor_ge_one {r : ℕ} (hr : 1 ≤ r) (n : ℕ) : 1 ≤ radialDivisor r n := by |
| 552 | 423 | have hn : (0 : ℝ) ≤ n := by positivity |
| 553 | 424 | have hr' : (1 : ℝ) ≤ r := by exact_mod_cast hr |
| @@ -556,58 +427,6 @@ theorem radialDivisor_ge_one {r : ℕ} (hr : 1 ≤ r) (n : ℕ) : 1 ≤ radialDi | ||
| 556 | 427 | simpa only [one_mul, radialDivisor] using |
| 557 | 428 | (mul_le_mul ha hb (by norm_num : (0 : ℝ) ≤ 1) (by positivity : 0 ≤ (n : ℝ) + 1)) |
| 558 | 429 | |
| 559 | -theorem regularInverseJet_bound {ε F : ℝ} (hε : 0 < ε) (hF : 0 ≤ F) | |
| 560 | - {r : ℕ} (hr : 1 ≤ r) (f : ℕ → ℕ → ℝ) | |
| 561 | - (hf : ∀ n m, |f n m| ≤ F * weight ε n m) (n m : ℕ) : | |
| 562 | - |regularInverseJet r f n m| ≤ 80 * F * weight ε n m := by | |
| 563 | - cases n with | |
| 564 | - | zero => | |
| 565 | - simpa only [regularInverseJet, abs_zero] using | |
| 566 | - (mul_nonneg (mul_nonneg (by norm_num) hF) (weight_pos hε 0 m).le) | |
| 567 | - | succ n => | |
| 568 | - rw [regularInverseJet, abs_div, abs_of_pos (radialDivisor_pos hr n)] | |
| 569 | - calc | |
| 570 | - |f n m| / radialDivisor r n ≤ |f n m| := | |
| 571 | - div_le_self (abs_nonneg _) (radialDivisor_ge_one hr n) | |
| 572 | - _ ≤ F * weight ε n m := hf n m | |
| 573 | - _ ≤ F * (80 * weight ε (n + 1) m) := | |
| 574 | - mul_le_mul_of_nonneg_left (weight_radial_shift hε n m) hF | |
| 575 | - _ = _ := by ring | |
| 576 | - | |
| 577 | -theorem parameterPrimitiveJet_bound {ε F : ℝ} (hε : 0 < ε) (hF : 0 ≤ F) | |
| 578 | - (f : ℕ → ℕ → ℝ) (hf : ∀ n m, |f n m| ≤ F * weight ε n m) (n m : ℕ) : | |
| 579 | - |parameterPrimitiveJet f n m| ≤ (80 / ε) * F * weight ε n m := by | |
| 580 | - cases n with | |
| 581 | - | zero => | |
| 582 | - simpa only [parameterPrimitiveJet, abs_zero] using | |
| 583 | - (mul_nonneg (mul_nonneg (show 0 ≤ 80 / ε by positivity) hF) (weight_pos hε 0 m).le) | |
| 584 | - | succ n => | |
| 585 | - rw [parameterPrimitiveJet, abs_div, abs_of_pos (by positivity : 0 < (n : ℝ) + 1)] | |
| 586 | - apply (div_le_iff₀ (by positivity : 0 < (n : ℝ) + 1)).2 | |
| 587 | - calc | |
| 588 | - |f n (m + 1)| ≤ F * weight ε n (m + 1) := hf n (m + 1) | |
| 589 | - _ ≤ F * ((80 / ε) * ((n : ℝ) + 1) * weight ε (n + 1) m) := | |
| 590 | - mul_le_mul_of_nonneg_left (weight_parameter_radial_shift hε n m) hF | |
| 591 | - _ = _ := by ring | |
| 592 | - | |
| 593 | -/-- Put the already estimated mixed coefficient in its output radial degree. -/ | |
| 594 | -def regularInverseMixedJet (r : ℕ) (f g : ℕ → ℕ → ℝ) : ℕ → ℕ → ℝ | |
| 595 | - | 0, _ => 0 | |
| 596 | - | n + 1, m => inverseMixedJet r f g n m | |
| 597 | - | |
| 598 | -theorem regularInverseMixedJet_bound {ε F G : ℝ} | |
| 599 | - (hε : 0 < ε) (hF : 0 ≤ F) (hG : 0 ≤ G) {r : ℕ} (hr : 1 ≤ r) | |
| 600 | - (f g : ℕ → ℕ → ℝ) | |
| 601 | - (hf : ∀ n m, |f n m| ≤ F * weight ε n m) | |
| 602 | - (hg : ∀ n m, |g n m| ≤ G * weight ε n m) (n m : ℕ) : | |
| 603 | - |regularInverseMixedJet r f g n m| ≤ (5120 / ε) * F * G * weight ε n m := by | |
| 604 | - cases n with | |
| 605 | - | zero => | |
| 606 | - simpa only [regularInverseMixedJet, abs_zero] using | |
| 607 | - (mul_nonneg (mul_nonneg (mul_nonneg (show 0 ≤ 5120 / ε by positivity) hF) hG) | |
| 608 | - (weight_pos hε 0 m).le) | |
| 609 | - | succ n => exact inverseMixedJet_bound hε hF hG hr f g hf hg n m | |
| 610 | - | |
| 611 | 430 | end |
| 612 | 431 | |
| 613 | 432 | end NavierStokes.AxisWeightEstimates |
+0 −102 NavierStokes/CopyAngularInvariance.lean View file
| @@ -61,12 +61,6 @@ theorem fderiv_invariant (hf : Invariant θ f) : Invariant θ (fderiv ℝ f) := | ||
| 61 | 61 | have he : (fun y => f (y + t • θ)) = f := funext (fun y => hf y t) |
| 62 | 62 | rw [← fderiv_comp_add_right (t • θ), he] |
| 63 | 63 | |
| 64 | -theorem iteratedFDeriv_invariant (hf : Invariant θ f) (j : ℕ) : | |
| 65 | - Invariant θ (iteratedFDeriv ℝ j f) := by | |
| 66 | - intro x t | |
| 67 | - have he : (fun y => f (y + t • θ)) = f := funext (fun y => hf y t) | |
| 68 | - rw [← iteratedFDeriv_comp_add_right j (t • θ) x, he] | |
| 69 | - | |
| 70 | 64 | theorem along {V : D → D} (hf : Invariant θ f) (hV : Invariant θ V) : |
| 71 | 65 | Invariant θ (HarmonicCalculus.along V f) := by |
| 72 | 66 | intro x t |
| @@ -161,33 +155,6 @@ theorem copySolve_invariant (d : LinearData P V E) (g : Geometry) (hab : a ≤ b | ||
| 161 | 155 | unfold LinearData.copySolve |
| 162 | 156 | exact slow_shift_apply (anchoredSolve_invariant d g hab θ hA hB hf j _) p Y t |
| 163 | 157 | |
| 164 | -theorem localizedCopy_invariant (d : LinearData P V E) (g : Geometry) (hab : a ≤ b) | |
| 165 | - (θ : P) (hA : Invariant (θ, (0 : Plane)) d.coefficient) | |
| 166 | - (hB : Invariant (θ, (0 : Plane)) d.forcingMap) | |
| 167 | - (hf : Invariant (θ, (0 : Plane)) d.source) (κ : Plane → ℝ) (j : Frequency) : | |
| 168 | - Invariant (θ, (0 : Plane)) (d.localizedCopy g hab κ j) := by | |
| 169 | - rintro ⟨p, Y⟩ t | |
| 170 | - change d.localizedCopy g hab κ j (p + t • θ, Y + t • (0 : Plane)) = _ | |
| 171 | - rw [smul_zero, add_zero] | |
| 172 | - simp only [LinearData.localizedCopy, slow_shift_apply (copySolve_invariant d g hab θ hA hB hf j)] | |
| 173 | - | |
| 174 | -theorem commonSolve_invariant (d : LinearData P V E) (g : Geometry) (hab : a ≤ b) | |
| 175 | - (θ : P) (hA : Invariant (θ, (0 : Plane)) d.coefficient) | |
| 176 | - (hB : Invariant (θ, (0 : Plane)) d.forcingMap) | |
| 177 | - (hf : Invariant (θ, (0 : Plane)) d.source) (κ : Plane → ℝ) : | |
| 178 | - Invariant (θ, (0 : Plane)) (d.commonSolve g hab κ) := by | |
| 179 | - intro x t | |
| 180 | - apply tsum_congr | |
| 181 | - intro j | |
| 182 | - exact localizedCopy_invariant d g hab θ hA hB hf κ j x t | |
| 183 | - | |
| 184 | -theorem copySolve_angular_zero (d : LinearData P V E) (g : Geometry) (hab : a ≤ b) | |
| 185 | - (θ : P) (hA : Invariant (θ, (0 : Plane)) d.coefficient) | |
| 186 | - (hB : Invariant (θ, (0 : Plane)) d.forcingMap) | |
| 187 | - (hf : Invariant (θ, (0 : Plane)) d.source) (j : Frequency) (x : P × Plane) : | |
| 188 | - HarmonicCalculus.along (fun _ => (θ, (0 : Plane))) (d.copySolve g hab j) x = 0 := | |
| 189 | - (copySolve_invariant d g hab θ hA hB hf j).along_zero x | |
| 190 | - | |
| 191 | 158 | end CopySolve |
| 192 | 159 | |
| 193 | 160 | /-! ## Tangent data and the actual pressure formula -/ |
| @@ -260,12 +227,6 @@ theorem TangentInvariant.copyPressure_invariant {θ : P} {d : TangentData P H} | ||
| 260 | 227 | Invariant (θ, (0 : Plane)) (copyPressure d g hab j K) := |
| 261 | 228 | (h.copyPressureReal_invariant g hab j).map (fun r : ℝ => Complex.I * (r : ℂ) / (K : ℂ)) |
| 262 | 229 | |
| 263 | -theorem TangentInvariant.copyPressure_angular_zero {θ : P} {d : TangentData P H} | |
| 264 | - (h : TangentInvariant θ d) (g : Geometry) (hab : a ≤ b) (j : Frequency) (K : ℝ) | |
| 265 | - (x : P × Plane) : | |
| 266 | - HarmonicCalculus.along (fun _ => (θ, (0 : Plane))) (copyPressure d g hab j K) x = 0 := | |
| 267 | - (h.copyPressure_invariant g hab j K).along_zero x | |
| 268 | - | |
| 269 | 230 | theorem nativeCutoff_invariant (θ : P) (g : Geometry) (κ : Plane → ℝ) (j : Frequency) : |
| 270 | 231 | Invariant (θ, (0 : Plane)) (fun x : P × Plane => κ (g.coordinates j x.2)) := by |
| 271 | 232 | have hY : Invariant (θ, (0 : Plane)) (fun x : P × Plane => x.2) := by |
| @@ -286,12 +247,6 @@ theorem TangentInvariant.commonPressure_invariant {θ : P} {d : TangentData P H} | ||
| 286 | 247 | exact (nativeCutoff_invariant θ g κ j).map₂ (h.copyPressure_invariant g hab j K) |
| 287 | 248 | (fun r p => (r : ℂ) * p) |
| 288 | 249 | |
| 289 | -theorem TangentInvariant.commonPressure_angular_zero {θ : P} {d : TangentData P H} | |
| 290 | - (h : TangentInvariant θ d) (g : Geometry) (hab : a ≤ b) (κ : Plane → ℝ) (K : ℝ) | |
| 291 | - (x : P × Plane) : | |
| 292 | - HarmonicCalculus.along (fun _ => (θ, (0 : Plane))) (commonPressure d g hab κ K) x = 0 := | |
| 293 | - (h.commonPressure_invariant g hab κ K).along_zero x | |
| 294 | - | |
| 295 | 250 | end Tangent |
| 296 | 251 | |
| 297 | 252 | /-! ## Invariance of the actual stripped cylindrical curl -/ |
| @@ -338,13 +293,6 @@ theorem realizedCoefficient_invariant (hR : Invariant θ R) | ||
| 338 | 293 | ha.map₂ (curlRemainder_invariant hR hr hθ hz (coefficient_invariant hR hr hθ hz hΦ ha) K) |
| 339 | 294 | (fun u v => u + v) |
| 340 | 295 | |
| 341 | -theorem realizedCoefficient_angular_zero (hR : Invariant θ R) | |
| 342 | - (hr : Invariant θ Vr) (hθ : Invariant θ Vθ) (hz : Invariant θ Vz) | |
| 343 | - (hΦ : AffinePhase θ m Φ) (ha : Invariant θ a) (K : ℝ) (i : Fin 3) (x : D) : | |
| 344 | - HarmonicCalculus.along (fun _ => θ) | |
| 345 | - (fun y => CurlClassBounds.realizedCoefficient K R Vr Vθ Vz Φ a y i) x = 0 := | |
| 346 | - ((realizedCoefficient_invariant hR hr hθ hz hΦ ha K).component i).along_zero x | |
| 347 | - | |
| 348 | 296 | end Curl |
| 349 | 297 | |
| 350 | 298 | section ActualCopyCurl |
| @@ -352,21 +300,6 @@ section ActualCopyCurl | ||
| 352 | 300 | variable {P : Type} [NormedAddCommGroup P] [NormedSpace ℝ P] |
| 353 | 301 | {θ : P} {d : TangentData P CurlClassBounds.RealVector} {a b : ℝ} |
| 354 | 302 | |
| 355 | -/-- The amplitude premise of the curl invariance theorem is discharged by | |
| 356 | -the actual tangent copy solve and invariant scalar mask. -/ | |
| 357 | -theorem actualCopy_realizedCoefficient_invariant (hd : TangentInvariant θ d) | |
| 358 | - (g : Geometry) (hab : a ≤ b) (j : Frequency) | |
| 359 | - {R ψ : P × Plane → ℝ} {Vr Vz : P × Plane → P × Plane} | |
| 360 | - {Φ : P × Plane → ℝ} {m : ℝ} | |
| 361 | - (hR : Invariant (θ, (0 : Plane)) R) (hψ : Invariant (θ, (0 : Plane)) ψ) | |
| 362 | - (hr : Invariant (θ, (0 : Plane)) Vr) (hz : Invariant (θ, (0 : Plane)) Vz) | |
| 363 | - (hΦ : AffinePhase (θ, (0 : Plane)) m Φ) (K : ℝ) : | |
| 364 | - Invariant (θ, (0 : Plane)) | |
| 365 | - (CurlClassBounds.realizedCoefficient K R Vr (fun _ => (θ, (0 : Plane))) Vz Φ | |
| 366 | - (fun x => ψ x • CurlClassBounds.complexify (d.linearData.copySolve g hab j x))) := by | |
| 367 | - apply realizedCoefficient_invariant hR hr (Invariant.const _) hz hΦ | |
| 368 | - exact hψ.map₂ ((hd.copySolve_invariant g hab j).map CurlClassBounds.complexify) (fun r v => r • v) | |
| 369 | - | |
| 370 | 303 | end ActualCopyCurl |
| 371 | 304 | |
| 372 | 305 | /-! ## The carrier has its angular character; only the coefficient is invariant -/ |
| @@ -398,27 +331,6 @@ theorem vectorMode_translate {a : D → HarmonicCalculus.ComplexVector} | ||
| 398 | 331 | ext i |
| 399 | 332 | exact mode_translate (ha.component i) hΦ K x t |
| 400 | 333 | |
| 401 | -/-- This version works with any chosen angular section, independently of | |
| 402 | -where the angular coordinate is stored in a product type. -/ | |
| 403 | -theorem mode_eq_field_along {P : Type} {f : D → ℂ} | |
| 404 | - (hf : Invariant θ f) (hΦ : AffinePhase θ m Φ) (σ : P → D) | |
| 405 | - (k : ℝ) (j kp : ℤ) (hkp : (kp : ℝ) = k * m) (p : P) (t : ℝ) : | |
| 406 | - HarmonicCalculus.mode ((j : ℝ) * k) Φ f (σ p + t • θ) = | |
| 407 | - HarmonicFields.field (AddMonoidAlgebra.single j (fun p => f (σ p))) k (fun p => Φ (σ p)) kp (p, t) := by | |
| 408 | - simp only [HarmonicCalculus.mode, HarmonicCalculus.carrier, HarmonicCalculus.phaseFactor, | |
| 409 | - HarmonicFields.field, HarmonicFields.evaluate_single, HarmonicFields.character] | |
| 410 | - rw [hf (σ p) t, hΦ (σ p) t] | |
| 411 | - simp only [hkp, Complex.ofReal_add, Complex.ofReal_mul, Complex.ofReal_intCast] | |
| 412 | - congr 2 | |
| 413 | - ring | |
| 414 | - | |
| 415 | -theorem vectorMode_eq_field_along_component {P : Type} {a : D → HarmonicCalculus.ComplexVector} | |
| 416 | - (ha : Invariant θ a) (hΦ : AffinePhase θ m Φ) (σ : P → D) | |
| 417 | - (k : ℝ) (j kp : ℤ) (hkp : (kp : ℝ) = k * m) (p : P) (t : ℝ) (i : Fin 3) : | |
| 418 | - HarmonicCalculus.vectorMode ((j : ℝ) * k) Φ a (σ p + t • θ) i = | |
| 419 | - HarmonicFields.field (AddMonoidAlgebra.single j (fun p => a (σ p) i)) k (fun p => Φ (σ p)) kp (p, t) := | |
| 420 | - mode_eq_field_along (ha.component i) hΦ σ k j kp hkp p t | |
| 421 | - | |
| 422 | 334 | end HarmonicPhase |
| 423 | 335 | |
| 424 | 336 | section Slice |
| @@ -434,20 +346,6 @@ theorem affinePhase_eq_zeroSlice {Φ : P × ℝ → ℝ} {m : ℝ} | ||
| 434 | 346 | Φ (p, t) = Φ (p, 0) + m * t := by |
| 435 | 347 | simpa using hΦ (p, 0) t |
| 436 | 348 | |
| 437 | -/-- The true full coefficient is equal to its zero-angle slice. The carrier | |
| 438 | -then agrees exactly with the existing finite-harmonic field constructor. -/ | |
| 439 | -theorem mode_eq_field_single {f : P × ℝ → ℂ} {Φ : P × ℝ → ℝ} {m : ℝ} | |
| 440 | - (hf : Invariant ((0 : P), (1 : ℝ)) f) (hΦ : AffinePhase ((0 : P), (1 : ℝ)) m Φ) | |
| 441 | - (k : ℝ) (j kp : ℤ) (hkp : (kp : ℝ) = k * m) (p : P) (t : ℝ) : | |
| 442 | - HarmonicCalculus.mode ((j : ℝ) * k) Φ f (p, t) = | |
| 443 | - HarmonicFields.field (AddMonoidAlgebra.single j (fun p => f (p, 0))) k (fun p => Φ (p, 0)) kp (p, t) := by | |
| 444 | - simp only [HarmonicCalculus.mode, HarmonicCalculus.carrier, HarmonicCalculus.phaseFactor, | |
| 445 | - HarmonicFields.field, HarmonicFields.evaluate_single, HarmonicFields.character] | |
| 446 | - rw [invariant_eq_zeroSlice hf p t, affinePhase_eq_zeroSlice hΦ p t] | |
| 447 | - simp only [hkp, Complex.ofReal_add, Complex.ofReal_mul, Complex.ofReal_intCast] | |
| 448 | - congr 2 | |
| 449 | - ring | |
| 450 | - | |
| 451 | 349 | end Slice |
| 452 | 350 | |
| 453 | 351 | /-! ## ExactConditions for the actual corrected coefficient -/ |
+0 −210 NavierStokes/CopySolveCompatibility.lean View file
| @@ -41,10 +41,6 @@ theorem path_refine (g : Geometry) (k : ℕ) (j : Frequency) (Y : Plane) (s : | ||
| 41 | 41 | coverPower k ((refineGeometry g k).path j Y s) = g.path j (coverPower k Y) s := by |
| 42 | 42 | simp only [Geometry.path, coordinates_refine, point_refine] |
| 43 | 43 | |
| 44 | -theorem cutoff_refine (g : Geometry) (k : ℕ) (κ : Plane → ℝ) (j : Frequency) (Y : Plane) : | |
| 45 | - κ ((refineGeometry g k).coordinates j Y) = κ (g.coordinates j (coverPower k Y)) := by | |
| 46 | - rw [coordinates_refine] | |
| 47 | - | |
| 48 | 44 | /-- This includes cutoff indicators and copy envelopes, with no regularity |
| 49 | 45 | assumption on the native function. -/ |
| 50 | 46 | theorem native_copy_sum_refine {E : Type} [NormedAddCommGroup E] (g : Geometry) (k : ℕ) |
| @@ -69,9 +65,6 @@ noncomputable def transformData (d : LinearData P V E) (φ : Q → P) (k : ℕ) | ||
| 69 | 65 | forcingMap z := d.forcingMap (φ z.1, z.2) |
| 70 | 66 | source z := d.source (φ z.1, coverPower k z.2) |
| 71 | 67 | |
| 72 | -noncomputable def pullbackData (d : LinearData P V E) (k : ℕ) : LinearData P V E := | |
| 73 | - transformData d id k | |
| 74 | - | |
| 75 | 68 | theorem coefficientAlong_transform (d : LinearData P V E) (φ : Q → P) |
| 76 | 69 | (g : Geometry) (k : ℕ) (j : Frequency) (q : Q) (Y : Plane) (s : ℝ) : |
| 77 | 70 | (transformData d φ k).coefficientAlong (refineGeometry g k) j ((q, Y), s) = |
| @@ -150,55 +143,10 @@ theorem commonSolve_transform (d : LinearData P V E) (φ : Q → P) | ||
| 150 | 143 | intro j |
| 151 | 144 | exact localizedCopy_transform d φ g hab k κ j q Y |
| 152 | 145 | |
| 153 | -theorem commonSolve_refine (d : LinearData P V E) (g : Geometry) (hab : a ≤ b) | |
| 154 | - (k : ℕ) (κ : Plane → ℝ) (p : P) (Y : Plane) : | |
| 155 | - (pullbackData d k).commonSolve (refineGeometry g k) hab κ (p, Y) = | |
| 156 | - d.commonSolve g hab κ (p, coverPower k Y) := | |
| 157 | - commonSolve_transform d id g hab k κ p Y | |
| 158 | - | |
| 159 | -omit [CompleteSpace E] in | |
| 160 | -theorem source_periodic_transform (d : LinearData P V E) (φ : Q → P) (k : ℕ) | |
| 161 | - (q : Q) (hp : PeriodicAt d.source (φ q)) : | |
| 162 | - PeriodicAt (transformData d φ k).source q := by | |
| 163 | - intro Y j | |
| 164 | - change d.source (φ q, coverPower k (Y + TorusAverages.latticePoint j)) = _ | |
| 165 | - rw [map_add, coverPower_lattice] | |
| 166 | - exact hp (coverPower k Y) (coverIndex k j) | |
| 167 | - | |
| 168 | -theorem commonOnTorus_refine [NormedAddCommGroup P] [NormedSpace ℝ P] | |
| 169 | - (d : LinearData P V E) (g : Geometry) (hab : a ≤ b) | |
| 170 | - (k : ℕ) (κ : Plane → ℝ) (p : P) (hp : PeriodicAt d.source p) (Y : Plane) : | |
| 171 | - (pullbackData d k).commonOnTorus (refineGeometry g k) hab κ p | |
| 172 | - (source_periodic_transform d id k p hp) (TorusAverages.quotientPoint Y) = | |
| 173 | - d.commonOnTorus g hab κ p hp (TorusAverages.quotientPoint (coverPower k Y)) := by | |
| 174 | - simp only [LinearData.commonOnTorus_coe] | |
| 175 | - exact commonSolve_refine d g hab k κ p Y | |
| 176 | - | |
| 177 | 146 | end Paths |
| 178 | 147 | |
| 179 | 148 | /-! ## Changing the integer representative of the native slot center -/ |
| 180 | 149 | |
| 181 | -noncomputable def recenterGeometry (g : Geometry) (l : Frequency) : Geometry := | |
| 182 | - { g with center := g.center + TorusAverages.latticePoint l } | |
| 183 | - | |
| 184 | -theorem coordinates_recenter (g : Geometry) (l j : Frequency) (Y : Plane) : | |
| 185 | - (recenterGeometry g l).coordinates j Y = g.coordinates (j + l) Y := by | |
| 186 | - unfold Geometry.coordinates recenterGeometry | |
| 187 | - rw [TorusAverages.latticePoint_add] | |
| 188 | - congr 1 | |
| 189 | - ext <;> simp only [Prod.fst_add, Prod.snd_add, Prod.fst_sub, Prod.snd_sub] <;> ring | |
| 190 | - | |
| 191 | -theorem point_recenter (g : Geometry) (l j : Frequency) (z : Plane) : | |
| 192 | - (recenterGeometry g l).point j z = g.point (j + l) z := by | |
| 193 | - unfold Geometry.point recenterGeometry | |
| 194 | - rw [TorusAverages.latticePoint_add] | |
| 195 | - congr 1 | |
| 196 | - ext <;> simp only [Prod.fst_add, Prod.snd_add] <;> ring | |
| 197 | - | |
| 198 | -theorem path_recenter (g : Geometry) (l j : Frequency) (Y : Plane) (s : ℝ) : | |
| 199 | - (recenterGeometry g l).path j Y s = g.path (j + l) Y s := by | |
| 200 | - simp only [Geometry.path, coordinates_recenter, point_recenter] | |
| 201 | - | |
| 202 | 150 | section Recenter |
| 203 | 151 | |
| 204 | 152 | variable {P V E : Type} |
| @@ -206,40 +154,6 @@ variable {P V E : Type} | ||
| 206 | 154 | [NormedAddCommGroup E] [NormedSpace ℝ E] [CompleteSpace E] |
| 207 | 155 | {a b : ℝ} |
| 208 | 156 | |
| 209 | -theorem anchoredSolve_recenter (d : LinearData P V E) (g : Geometry) (hab : a ≤ b) | |
| 210 | - (l j : Frequency) (p : P) (Y : Plane) (s : ℝ) : | |
| 211 | - d.anchoredSolve (recenterGeometry g l) hab j (p, Y) s = | |
| 212 | - d.anchoredSolve g hab (j + l) (p, Y) s := by | |
| 213 | - have hA : d.coefficientPath (a := a) (b := b) (recenterGeometry g l) j (p, Y) = | |
| 214 | - d.coefficientPath g (j + l) (p, Y) := by | |
| 215 | - apply pathFamily_congr | |
| 216 | - intro t | |
| 217 | - simp only [LinearData.coefficientAlong, coordinates_recenter] | |
| 218 | - have hf : d.forcingPath (a := a) (b := b) (recenterGeometry g l) j (p, Y) = | |
| 219 | - d.forcingPath g (j + l) (p, Y) := by | |
| 220 | - apply pathFamily_congr | |
| 221 | - intro t | |
| 222 | - simp only [LinearData.forcingAlong, coordinates_recenter, path_recenter] | |
| 223 | - simp only [LinearData.anchoredSolve, hA, hf] | |
| 224 | - | |
| 225 | -theorem copySolve_recenter (d : LinearData P V E) (g : Geometry) (hab : a ≤ b) | |
| 226 | - (l j : Frequency) (p : P) (Y : Plane) : | |
| 227 | - d.copySolve (recenterGeometry g l) hab j (p, Y) = | |
| 228 | - d.copySolve g hab (j + l) (p, Y) := by | |
| 229 | - simp only [LinearData.copySolve, coordinates_recenter, anchoredSolve_recenter] | |
| 230 | - | |
| 231 | -theorem localizedCopy_recenter (d : LinearData P V E) (g : Geometry) (hab : a ≤ b) | |
| 232 | - (l j : Frequency) (κ : Plane → ℝ) (p : P) (Y : Plane) : | |
| 233 | - d.localizedCopy (recenterGeometry g l) hab κ j (p, Y) = | |
| 234 | - d.localizedCopy g hab κ (j + l) (p, Y) := by | |
| 235 | - simp only [LinearData.localizedCopy, coordinates_recenter, copySolve_recenter] | |
| 236 | - | |
| 237 | -theorem commonSolve_recenter (d : LinearData P V E) (g : Geometry) (hab : a ≤ b) | |
| 238 | - (l : Frequency) (κ : Plane → ℝ) (p : P) (Y : Plane) : | |
| 239 | - d.commonSolve (recenterGeometry g l) hab κ (p, Y) = d.commonSolve g hab κ (p, Y) := by | |
| 240 | - simp only [LinearData.commonSolve, localizedCopy_recenter] | |
| 241 | - exact (Equiv.addRight l).tsum_eq (fun j => d.localizedCopy g hab κ j (p, Y)) | |
| 242 | - | |
| 243 | 157 | end Recenter |
| 244 | 158 | |
| 245 | 159 | /-! ## Physical units: scaling the actual source scales the actual solution -/ |
| @@ -524,61 +438,6 @@ theorem commonSolve_transport {a b : ℝ} (d : LinearData P V E) (φ : Q → P) | ||
| 524 | 438 | rw [commonSolve_scaleSource, commonSolve_transform, |
| 525 | 439 | commonSolve_timeData d g τ rate hrate hab hA hB hf κ hκ hq] |
| 526 | 440 | |
| 527 | -noncomputable def physicalOutput {a b : ℝ} (d : LinearData P V E) (g : Geometry) | |
| 528 | - (hab : a ≤ b) (κ : Plane → ℝ) (χ : X → P × Plane) : X → E := | |
| 529 | - fun x => d.commonSolve g hab κ (χ x) | |
| 530 | - | |
| 531 | -/-- The single reference output is an actual smooth field under the usual | |
| 532 | -compact native cutoff and smooth input hypotheses. Local finiteness of the | |
| 533 | -periodization is supplied by the constructed copy solver. -/ | |
| 534 | -theorem physicalOutput_contDiffOn [NormedAddCommGroup X] [NormedSpace ℝ X] | |
| 535 | - {a b : ℝ} (d : LinearData P V E) (g : Geometry) (hab : a ≤ b) | |
| 536 | - {U : Set P} (hU : IsOpen U) | |
| 537 | - (hA : ContDiffOn ℝ ∞ d.coefficient (U ×ˢ univ)) | |
| 538 | - (hB : ContDiffOn ℝ ∞ d.forcingMap (U ×ˢ univ)) | |
| 539 | - (hf : ContDiffOn ℝ ∞ d.source (U ×ˢ univ)) | |
| 540 | - {κ : Plane → ℝ} (hκ : ContDiff ℝ ∞ κ) (hcκ : HasCompactSupport κ) | |
| 541 | - (hsupp : tsupport κ ⊆ univ ×ˢ Ioo a b) | |
| 542 | - {Ω : Set X} {χ : X → P × Plane} (hχ : ContDiffOn ℝ ∞ χ Ω) | |
| 543 | - (hmaps : MapsTo χ Ω (U ×ˢ univ)) : | |
| 544 | - ContDiffOn ℝ ∞ (physicalOutput d g hab κ χ) Ω := | |
| 545 | - (d.commonSolve_contDiffOn g hab hU hA hB hf hκ hcκ hsupp).comp hχ hmaps | |
| 546 | - | |
| 547 | -/-- The family of chart solves represents one explicitly constructed | |
| 548 | -physical field. Assumptions concern only input transport and the coordinate | |
| 549 | -maps; no output equality or chartwise existence witness is assumed. -/ | |
| 550 | -theorem commonSolve_family_represents | |
| 551 | - {A B : ℝ} (hAB : A ≤ B) (d : LinearData P V E) (g : Geometry) | |
| 552 | - {U : Set P} (hA : ContinuousOn d.coefficient (U ×ˢ univ)) | |
| 553 | - (hB : ContinuousOn d.forcingMap (U ×ˢ univ)) (hf : ContinuousOn d.source (U ×ˢ univ)) | |
| 554 | - (κ : Plane → ℝ) (hκ : support κ ⊆ univ ×ˢ Icc A B) | |
| 555 | - (χ : X → P × Plane) (domains : I → Set X) | |
| 556 | - (charts : I → X → Q × Plane) (φ : I → Q → P) (gaps : I → ℕ) | |
| 557 | - (entry exit shift rate amplitude : I → ℝ) | |
| 558 | - (hrate : ∀ i, 0 < rate i) (hinterval : ∀ i, entry i ≤ exit i) | |
| 559 | - (hentry : ∀ i, shift i + rate i * entry i = A) | |
| 560 | - (hexit : ∀ i, shift i + rate i * exit i = B) | |
| 561 | - (hchart : ∀ i x, x ∈ domains i → | |
| 562 | - (φ i (charts i x).1, coverPower (gaps i) (charts i x).2) = χ x) | |
| 563 | - (hslow : ∀ i x, x ∈ domains i → (χ x).1 ∈ U) : | |
| 564 | - ∀ i x, x ∈ domains i → | |
| 565 | - (transportData d (φ i) (gaps i) (shift i) (rate i) (amplitude i)).commonSolve | |
| 566 | - (transportGeometry g (gaps i) (shift i) (rate i) (hrate i).ne') (hinterval i) | |
| 567 | - (κ ∘ nativeTimeMap (shift i) (rate i)) (charts i x) = | |
| 568 | - amplitude i • physicalOutput d g hAB κ χ x := by | |
| 569 | - intro i x hx | |
| 570 | - have hq : φ i (charts i x).1 ∈ U := by | |
| 571 | - have he := congrArg Prod.fst (hchart i x hx) | |
| 572 | - change φ i (charts i x).1 = (χ x).1 at he | |
| 573 | - rw [he] | |
| 574 | - exact hslow i x hx | |
| 575 | - have hκi : support κ ⊆ univ ×ˢ Icc (shift i + rate i * entry i) (shift i + rate i * exit i) := by | |
| 576 | - simpa only [hentry i, hexit i] using hκ | |
| 577 | - have h := commonSolve_transport d (φ i) g (hinterval i) (gaps i) | |
| 578 | - (shift i) (rate i) (amplitude i) (hrate i) hA hB hf κ hκi | |
| 579 | - (charts i x).1 hq (charts i x).2 | |
| 580 | - simpa only [hentry i, hexit i, hchart i x hx, physicalOutput] using h | |
| 581 | - | |
| 582 | 441 | end PhysicalCompatibility |
| 583 | 442 | |
| 584 | 443 | section ConcreteBandChart |
| @@ -586,17 +445,6 @@ section ConcreteBandChart | ||
| 586 | 445 | variable {V E : Type} [NormedAddCommGroup V] [NormedSpace ℝ V] |
| 587 | 446 | [NormedAddCommGroup E] [NormedSpace ℝ E] [CompleteSpace E] {a b : ℝ} |
| 588 | 447 | |
| 589 | -/-- The slow/torus argument is exactly the existing common-band chart map. -/ | |
| 590 | -theorem commonSolve_bandCommonChart (d : LinearData CommonCoverClass.SlowPoint V E) | |
| 591 | - (g : Geometry) (hab : a ≤ b) (D : ℝ) (n m k : ℕ) (κ : Plane → ℝ) | |
| 592 | - (x : CommonCoverClass.SlowPoint × Plane) : | |
| 593 | - (transformData d (CommonCoverClass.bandChart D n m) k).commonSolve | |
| 594 | - (refineGeometry g k) hab κ x = | |
| 595 | - d.commonSolve g hab κ (CommonCoverClass.bandCommonChart D n m true k x) := by | |
| 596 | - simpa only [CommonCoverClass.bandCommonChart_apply, CommonCoverClass.coverChange, | |
| 597 | - Bool.true_eq, ite_true, ContinuousLinearEquiv.coe_coe] using | |
| 598 | - commonSolve_transform d (CommonCoverClass.bandChart D n m) g hab k κ x.1 x.2 | |
| 599 | - | |
| 600 | 448 | end ConcreteBandChart |
| 601 | 449 | |
| 602 | 450 | /-! ## Binding existing chart data through primitive input identities -/ |
| @@ -656,66 +504,8 @@ theorem commonSolve_of_compatibleInputs (d : LinearData P V E) (e : LinearData Q | ||
| 656 | 504 | _ hab q hi] |
| 657 | 505 | exact commonSolve_transport d φ g hab k τ rate amplitude hrate hA hB hf κ hκ q hq Y |
| 658 | 506 | |
| 659 | -/-- Existing, separately defined chart inputs produce the same single | |
| 660 | -physical output as the canonical transported data when their primitive | |
| 661 | -coefficient and forcing identities are verified. -/ | |
| 662 | -theorem compatible_family_represents | |
| 663 | - {A B : ℝ} (hAB : A ≤ B) (d : LinearData P V E) (g : Geometry) | |
| 664 | - {U : Set P} (hA : ContinuousOn d.coefficient (U ×ˢ univ)) | |
| 665 | - (hB : ContinuousOn d.forcingMap (U ×ˢ univ)) (hf : ContinuousOn d.source (U ×ˢ univ)) | |
| 666 | - (κ : Plane → ℝ) (hκ : support κ ⊆ univ ×ˢ Icc A B) | |
| 667 | - (χ : X → P × Plane) (domains : I → Set X) | |
| 668 | - (charts : I → X → Q × Plane) (φ : I → Q → P) (gaps : I → ℕ) | |
| 669 | - (entry exit shift rate amplitude : I → ℝ) | |
| 670 | - (hrate : ∀ i, 0 < rate i) (hinterval : ∀ i, entry i ≤ exit i) | |
| 671 | - (hentry : ∀ i, shift i + rate i * entry i = A) | |
| 672 | - (hexit : ∀ i, shift i + rate i * exit i = B) | |
| 673 | - (hchart : ∀ i x, x ∈ domains i → | |
| 674 | - (φ i (charts i x).1, coverPower (gaps i) (charts i x).2) = χ x) | |
| 675 | - (hslow : ∀ i x, x ∈ domains i → (χ x).1 ∈ U) | |
| 676 | - (data : I → LinearData Q V E) | |
| 677 | - (hdata : ∀ i x, x ∈ domains i → SameInputsAt (data i) | |
| 678 | - (transportData d (φ i) (gaps i) (shift i) (rate i) (amplitude i)) (charts i x).1) : | |
| 679 | - ∀ i x, x ∈ domains i → | |
| 680 | - (data i).commonSolve | |
| 681 | - (transportGeometry g (gaps i) (shift i) (rate i) (hrate i).ne') (hinterval i) | |
| 682 | - (κ ∘ nativeTimeMap (shift i) (rate i)) (charts i x) = | |
| 683 | - amplitude i • physicalOutput d g hAB κ χ x := by | |
| 684 | - intro i x hx | |
| 685 | - have hi := commonSolve_eq_of_sameInputs (data i) | |
| 686 | - (transportData d (φ i) (gaps i) (shift i) (rate i) (amplitude i)) | |
| 687 | - (transportGeometry g (gaps i) (shift i) (rate i) (hrate i).ne') (hinterval i) | |
| 688 | - (charts i x).1 (hdata i x hx) (κ ∘ nativeTimeMap (shift i) (rate i)) (charts i x).2 | |
| 689 | - exact hi.trans (commonSolve_family_represents hAB d g hA hB hf κ hκ χ domains charts φ gaps | |
| 690 | - entry exit shift rate amplitude hrate hinterval hentry hexit hchart hslow i x hx) | |
| 691 | - | |
| 692 | 507 | end InputCompatibility |
| 693 | 508 | |
| 694 | 509 | /-! ## Why the anchor must be transported as input data -/ |
| 695 | 510 | |
| 696 | -noncomputable def constantForcing : LinearData ℝ ℝ ℝ where | |
| 697 | - coefficient := fun _ => 0 | |
| 698 | - forcingMap := fun _ => ContinuousLinearMap.id ℝ ℝ | |
| 699 | - source := fun _ => 1 | |
| 700 | - | |
| 701 | -theorem constantForcing_anchoredSolve {a b : ℝ} (g : Geometry) (hab : a ≤ b) | |
| 702 | - (j : Frequency) (p : ℝ) (Y : Plane) {s : ℝ} (hs : s ∈ Icc a b) : | |
| 703 | - constantForcing.anchoredSolve g hab j (p, Y) s = s - a := by | |
| 704 | - have h := constantForcing.anchoredSolve_unique g hab j (U := univ) | |
| 705 | - continuousOn_const continuousOn_const continuousOn_const (mem_univ p) Y | |
| 706 | - (u := fun t => t - a) (sub_self a) (fun t _ => by | |
| 707 | - simpa only [LinearData.coefficientAlong, LinearData.forcingAlong, constantForcing, | |
| 708 | - _root_.zero_apply, ContinuousLinearMap.id_apply, zero_add, id_eq] using | |
| 709 | - (hasDerivAt_id t).sub_const a) | |
| 710 | - exact (h hs).symm | |
| 711 | - | |
| 712 | -/-- Even smooth constant source/coefficient data do not make differently | |
| 713 | -anchored solves equal. This is an actual constructed-solution counterexample. -/ | |
| 714 | -theorem changing_anchor_changes_solution (g : Geometry) : | |
| 715 | - constantForcing.anchoredSolve g (a := 0) (b := 1) (by norm_num) 0 (0, 0) 0 ≠ | |
| 716 | - constantForcing.anchoredSolve g (a := -1) (b := 1) (by norm_num) 0 (0, 0) 0 := by | |
| 717 | - rw [constantForcing_anchoredSolve g _ _ _ _ (by norm_num : (0 : ℝ) ∈ Icc 0 1), | |
| 718 | - constantForcing_anchoredSolve g _ _ _ _ (by norm_num : (0 : ℝ) ∈ Icc (-1) 1)] | |
| 719 | - norm_num | |
| 720 | - | |
| 721 | 511 | end NavierStokes.CopySolveCompatibility |
+0 −203 NavierStokes/CorrectedPressureBounds.lean View file
| @@ -40,11 +40,6 @@ theorem editSize_nonneg {d : TailData} {K : ℝ} (w : ResetWitness d K) : | ||
| 40 | 40 | 0 ≤ editSize d K := |
| 41 | 41 | (norm_nonneg (w.coefficients 0)).trans (w.coefficient_bound 0) |
| 42 | 42 | |
| 43 | -theorem witness_K_nonneg {d : TailData} {K : ℝ} (w : ResetWitness d K) : 0 ≤ K := by | |
| 44 | - have he := editSize_nonneg w | |
| 45 | - dsimp [editSize] at he | |
| 46 | - exact nonneg_of_mul_nonneg_left he (pow_pos d.core.lam_pos 28) | |
| 47 | - | |
| 48 | 43 | theorem relative_abs_le_two_norm (c : Coeff) (t : ℝ) : |relative c t| ≤ 2 * ‖c‖ := by |
| 49 | 44 | have h0 : |c 0| ≤ ‖c‖ := by simpa only [Real.norm_eq_abs] using norm_le_pi_norm c 0 |
| 50 | 45 | have h1 : |c 1| ≤ ‖c‖ := by simpa only [Real.norm_eq_abs] using norm_le_pi_norm c 1 |
| @@ -59,12 +54,6 @@ theorem relative_abs_le_two_norm (c : Coeff) (t : ℝ) : |relative c t| ≤ 2 * | ||
| 59 | 54 | (mul_le_mul h1 (hb 1) (abs_nonneg _) (norm_nonneg _)) |
| 60 | 55 | _ = _ := by ring |
| 61 | 56 | |
| 62 | -theorem relative_coefficient_bound {d : TailData} {K : ℝ} | |
| 63 | - (w : ResetWitness d K) (eta t : ℝ) : | |
| 64 | - |relative (w.coefficients eta) t| ≤ 2 * editSize d K := | |
| 65 | - (relative_abs_le_two_norm _ _).trans | |
| 66 | - (mul_le_mul_of_nonneg_left (w.coefficient_bound eta) (by norm_num)) | |
| 67 | - | |
| 68 | 57 | theorem relative_eta_hasDerivAt {d : TailData} {K : ℝ} |
| 69 | 58 | (w : ResetWitness d K) (eta t : ℝ) : |
| 70 | 59 | HasDerivAt (fun q => relative (w.coefficients q) t) |
| @@ -138,11 +127,6 @@ theorem editDensity_eq {d : TailData} {K : ℝ} (w : ResetWitness d K) (t eta : | ||
| 138 | 127 | unfold modifiedE |
| 139 | 128 | ring |
| 140 | 129 | |
| 141 | -theorem editDensity_zero_outside {d : TailData} {K : ℝ} | |
| 142 | - (w : ResetWitness d K) (eta : ℝ) {t : ℝ} | |
| 143 | - (ht : t ∉ Ioo (d.releaseStart - 4) d.releaseStart) : editDensity w (t, eta) = 0 := by | |
| 144 | - rw [editDensity, correctedAngular_unchanged d w.coefficients eta ht, sub_self] | |
| 145 | - | |
| 146 | 130 | noncomputable def editDensityEta {d : TailData} {K : ℝ} |
| 147 | 131 | (w : ResetWitness d K) (p : ℝ × ℝ) : ℝ := |
| 148 | 132 | 2 * baseE d.core.lam (referenceAmplitude d) p.1 ^ 2 * |
| @@ -177,35 +161,6 @@ theorem editDensityEta_continuous_t {d : TailData} {K : ℝ} | ||
| 177 | 161 | · exact (relative_contDiff (deriv w.coefficients eta)).continuous.comp |
| 178 | 162 | (continuous_id.sub continuous_const) |
| 179 | 163 | |
| 180 | -theorem editDensity_abs_le {d : TailData} {K : ℝ} | |
| 181 | - (w : ResetWitness d K) (t eta : ℝ) : | |
| 182 | - |editDensity w (t, eta)| ≤ 5 * editSize d K * Real.exp 5 * releaseSquare d := by | |
| 183 | - have hR := releaseSquare_pos d | |
| 184 | - by_cases ht : t ∈ Ioo (d.releaseStart - 4) d.releaseStart | |
| 185 | - · have hs := (w.small_jets eta (t - correctionCenter d)).1 | |
| 186 | - have hr := relative_coefficient_bound w eta (t - correctionCenter d) | |
| 187 | - have hsize := editSize_nonneg w | |
| 188 | - have hprod : |(1 + relative (w.coefficients eta) (t - correctionCenter d)) ^ 2 - 1| ≤ | |
| 189 | - 5 * editSize d K := by | |
| 190 | - rw [show (1 + relative (w.coefficients eta) (t - correctionCenter d)) ^ 2 - 1 = | |
| 191 | - relative (w.coefficients eta) (t - correctionCenter d) * | |
| 192 | - (2 + relative (w.coefficients eta) (t - correctionCenter d)) by ring, abs_mul] | |
| 193 | - have ha : |2 + relative (w.coefficients eta) (t - correctionCenter d)| ≤ 5 / 2 := by | |
| 194 | - have h := abs_add_le (2 : ℝ) (relative (w.coefficients eta) (t - correctionCenter d)) | |
| 195 | - norm_num at h | |
| 196 | - linarith | |
| 197 | - have hh := mul_le_mul hr ha (abs_nonneg _) (by positivity : 0 ≤ 2 * editSize d K) | |
| 198 | - nlinarith | |
| 199 | - rw [editDensity_eq, abs_mul, abs_of_nonneg (sq_nonneg _)] | |
| 200 | - have hbase : baseE d.core.lam (referenceAmplitude d) t ^ 2 ≤ Real.exp 5 * releaseSquare d := by | |
| 201 | - rw [← original_matches_reference d eta ⟨ht.1.le, ht.2.le⟩] | |
| 202 | - exact (window_square_bounds d ⟨ht.1.le, ht.2.le⟩ eta).2 | |
| 203 | - have hb := mul_le_mul hbase hprod (abs_nonneg _) (by positivity : 0 ≤ Real.exp 5 * releaseSquare d) | |
| 204 | - nlinarith | |
| 205 | - · rw [editDensity_zero_outside w eta ht, abs_zero] | |
| 206 | - exact mul_nonneg (mul_nonneg (mul_nonneg (by norm_num) (editSize_nonneg w)) | |
| 207 | - (Real.exp_pos _).le) (releaseSquare_pos d).le | |
| 208 | - | |
| 209 | 164 | theorem editDensityEta_abs_le {d : TailData} {K : ℝ} |
| 210 | 165 | (w : ResetWitness d K) (t eta : ℝ) : |
| 211 | 166 | |editDensityEta w (t, eta)| ≤ 6 * editSize d K * Real.exp 5 * releaseSquare d := by |
| @@ -297,62 +252,6 @@ theorem pressureChange_zero_after {d : TailData} {K : ℝ} | ||
| 297 | 252 | (w : ResetWitness d K) {y : ℝ} (hy : d.releaseStart ≤ y) (eta : ℝ) : |
| 298 | 253 | pressureChange w y eta = 0 := by rw [pressureChange, correctedPi_eq_after w hy, sub_self] |
| 299 | 254 | |
| 300 | -/-- Joint smoothness of a finite integral with a variable upper limit. -/ | |
| 301 | -theorem intervalPrimitive_contDiff {f : ℝ × ℝ → ℝ} (hf : ContDiff ℝ ∞ f) (a : ℝ) : | |
| 302 | - ContDiff ℝ ∞ (fun p : ℝ × ℝ => ∫ t in a..p.1, f (t, p.2)) := by | |
| 303 | - let g : (ℝ × ℝ) × ℝ → ℝ := fun z => f (a + (z.1.1 - a) * z.2, z.1.2) | |
| 304 | - have hg : ContDiff ℝ ∞ g := hf.comp | |
| 305 | - ((contDiff_const.add ((contDiff_fst.fst.sub contDiff_const).mul contDiff_snd)).prodMk | |
| 306 | - contDiff_fst.snd) | |
| 307 | - have heq : (fun p : ℝ × ℝ => ∫ t in a..p.1, f (t, p.2)) = | |
| 308 | - fun p : ℝ × ℝ => (p.1 - a) * ∫ u in (0 : ℝ)..1, g (p, u) := by | |
| 309 | - funext p | |
| 310 | - have h := intervalIntegral.smul_integral_comp_mul_add | |
| 311 | - (f := fun t => f (t, p.2)) (a := (0 : ℝ)) (b := 1) (p.1 - a) a | |
| 312 | - simpa [g, smul_eq_mul, add_comm] using h.symm | |
| 313 | - rw [heq] | |
| 314 | - exact (contDiff_fst.sub contDiff_const).mul | |
| 315 | - (TransportPrimitive.parameterIntegral_contDiff hg 0 1) | |
| 316 | - | |
| 317 | -theorem cleanPi_joint_contDiff (d : TailData) : | |
| 318 | - ContDiff ℝ ∞ (fun p : ℝ × ℝ => Pi d p.1 p.2) := by | |
| 319 | - have heq : (fun p : ℝ × ℝ => Pi d p.1 p.2) = fun p : ℝ × ℝ => | |
| 320 | - Pi d 0 p.2 + (1 / 2) * ∫ t in (0 : ℝ)..p.1, finalAngular d (t, p.2) ^ 2 := by | |
| 321 | - funext p | |
| 322 | - exact Pi_increment d 0 p.1 p.2 | |
| 323 | - rw [heq] | |
| 324 | - exact ((Pi_contDiff_eta d 0).comp contDiff_snd).add | |
| 325 | - (contDiff_const.mul (intervalPrimitive_contDiff ((finalAngular_contDiff d).pow 2) 0)) | |
| 326 | - | |
| 327 | -theorem pressureChange_joint_contDiff {d : TailData} {K : ℝ} (w : ResetWitness d K) : | |
| 328 | - ContDiff ℝ ∞ (fun p : ℝ × ℝ => pressureChange w p.1 p.2) := by | |
| 329 | - have heq : (fun p : ℝ × ℝ => pressureChange w p.1 p.2) = fun p : ℝ × ℝ => | |
| 330 | - (1 / 2) * ∫ t in (d.releaseStart - 4)..p.1, editDensity w (t, p.2) := by | |
| 331 | - funext p | |
| 332 | - exact pressureChange_eq_partial w p.1 p.2 | |
| 333 | - rw [heq] | |
| 334 | - exact contDiff_const.mul (intervalPrimitive_contDiff (editDensity_contDiff w) _) | |
| 335 | - | |
| 336 | -theorem correctedPi_joint_contDiff {d : TailData} {K : ℝ} (w : ResetWitness d K) : | |
| 337 | - ContDiff ℝ ∞ (fun p : ℝ × ℝ => correctedPi w p.1 p.2) := by | |
| 338 | - convert! (cleanPi_joint_contDiff d).add (pressureChange_joint_contDiff w) using 1 | |
| 339 | - funext p | |
| 340 | - simp [pressureChange] | |
| 341 | - | |
| 342 | -theorem correctedPi_hasDerivAt_y {d : TailData} {K : ℝ} | |
| 343 | - (w : ResetWitness d K) (y eta : ℝ) : | |
| 344 | - HasDerivAt (fun t => correctedPi w t eta) | |
| 345 | - ((1 / 2) * correctedAngular d w.coefficients (y, eta) ^ 2) y := by | |
| 346 | - have hc : Continuous (fun t => correctedAngular d w.coefficients (t, eta) ^ 2) := | |
| 347 | - (((correctedAngular_contDiff d w.coefficients w.smooth).continuous.comp | |
| 348 | - (continuous_id.prodMk continuous_const)).pow 2) | |
| 349 | - have heq : (fun t => correctedPi w t eta) = fun t => correctedPi w 0 eta + | |
| 350 | - (1 / 2) * primitive (fun v => correctedAngular d w.coefficients (v, eta) ^ 2) t := by | |
| 351 | - funext t | |
| 352 | - exact correctedPi_increment w 0 t eta | |
| 353 | - rw [heq] | |
| 354 | - exact ((primitive_hasDerivAt hc y).const_mul (1 / 2)).const_add _ | |
| 355 | - | |
| 356 | 255 | theorem pressureChange_hasDerivAt_eta {d : TailData} {K : ℝ} |
| 357 | 256 | (w : ResetWitness d K) (y eta : ℝ) : |
| 358 | 257 | HasDerivAt (pressureChange w y) |
| @@ -445,25 +344,6 @@ theorem half_partial_integral_abs_le {f : ℝ → ℝ} {B r y : ℝ} | ||
| 445 | 344 | rw [abs_of_nonneg (by norm_num : (0 : ℝ) ≤ 1 / 2)] |
| 446 | 345 | nlinarith [mul_le_mul_of_nonneg_left hlen hB] |
| 447 | 346 | |
| 448 | -theorem pressureChange_abs_le {d : TailData} {K : ℝ} | |
| 449 | - (w : ResetWitness d K) (y eta : ℝ) : | |
| 450 | - |pressureChange w y eta| ≤ 10 * editSize d K * Real.exp 5 * releaseSquare d := by | |
| 451 | - have hsize := editSize_nonneg w | |
| 452 | - have hR := releaseSquare_pos d | |
| 453 | - by_cases hl : y ≤ d.releaseStart - 4 | |
| 454 | - · rw [pressureChange_zero_before w hl, abs_zero] | |
| 455 | - positivity | |
| 456 | - by_cases hr : d.releaseStart ≤ y | |
| 457 | - · rw [pressureChange_zero_after w hr, abs_zero] | |
| 458 | - positivity | |
| 459 | - rw [pressureChange_eq_partial] | |
| 460 | - have h := half_partial_integral_abs_le | |
| 461 | - (B := 5 * editSize d K * Real.exp 5 * releaseSquare d) | |
| 462 | - (by positivity) ⟨(le_of_not_ge hl), (le_of_not_ge hr)⟩ | |
| 463 | - (fun t => editDensity_abs_le w t eta) | |
| 464 | - convert! h using 1 | |
| 465 | - ring | |
| 466 | - | |
| 467 | 347 | theorem pressureChange_deriv_abs_le {d : TailData} {K : ℝ} |
| 468 | 348 | (w : ResetWitness d K) (y eta : ℝ) : |
| 469 | 349 | |deriv (pressureChange w y) eta| ≤ |
| @@ -571,28 +451,6 @@ theorem correctedConstant_pos : 0 < correctedConstant := by | ||
| 571 | 451 | unfold correctedConstant |
| 572 | 452 | positivity |
| 573 | 453 | |
| 574 | -theorem corrected_bounds {d : TailData} {K : ℝ} | |
| 575 | - (w : ResetWitness d K) {y eta : ℝ} (hy : 0 ≤ y) (heta : |eta| ≤ 1) : | |
| 576 | - |correctedPi w y eta| ≤ correctedConstant * (1 + editSize d K) * | |
| 577 | - correctedAngular d w.coefficients (y, eta) ^ 2 ∧ | |
| 578 | - |deriv (correctedPi w y) eta| ≤ correctedConstant * (1 + editSize d K) * | |
| 579 | - correctedAngular d w.coefficients (y, eta) ^ 2 := by | |
| 580 | - have hsize := editSize_nonneg w | |
| 581 | - have hM := envelopeConstant_pos | |
| 582 | - have he := Real.exp_pos (5 : ℝ) | |
| 583 | - have hfirst : (9 / 2 : ℝ) * envelopeConstant ≤ correctedConstant * (1 + editSize d K) := by | |
| 584 | - unfold correctedConstant | |
| 585 | - nlinarith [mul_nonneg hM.le hsize, mul_nonneg he.le hsize] | |
| 586 | - have hderiv : 8 * envelopeConstant * |eta| + 48 * Real.exp 5 * editSize d K ≤ | |
| 587 | - correctedConstant * (1 + editSize d K) := by | |
| 588 | - have hη := mul_le_mul_of_nonneg_left heta (show 0 ≤ 8 * envelopeConstant by positivity) | |
| 589 | - unfold correctedConstant | |
| 590 | - nlinarith [mul_nonneg hM.le hsize] | |
| 591 | - exact ⟨(correctedPi_abs_le w hy heta).trans | |
| 592 | - (mul_le_mul_of_nonneg_right hfirst (sq_nonneg _)), | |
| 593 | - (correctedPi_deriv_abs_le w hy heta).trans | |
| 594 | - (mul_le_mul_of_nonneg_right hderiv (sq_nonneg _))⟩ | |
| 595 | - | |
| 596 | 454 | theorem corrected_bounds_of_small {d : TailData} {K : ℝ} |
| 597 | 455 | (w : ResetWitness d K) (hsmall : editSize d K ≤ 1) {y eta : ℝ} |
| 598 | 456 | (hy : 0 ≤ y) (heta : |eta| ≤ 1) : |
| @@ -614,60 +472,6 @@ theorem corrected_bounds_of_small {d : TailData} {K : ℝ} | ||
| 614 | 472 | (correctedPi_deriv_abs_le w hy heta).trans |
| 615 | 473 | (mul_le_mul_of_nonneg_right hderiv (sq_nonneg _))⟩ |
| 616 | 474 | |
| 617 | -/-- The smallness condition follows from an explicit threshold depending only on K. -/ | |
| 618 | -theorem exists_editSize_small_threshold (K : ℝ) (hK : 0 ≤ K) : | |
| 619 | - ∃ lam0 : ℝ, 0 < lam0 ∧ ∀ d : TailData, d.core.lam < lam0 → editSize d K ≤ 1 := by | |
| 620 | - refine ⟨1 / (K + 1), by positivity, ?_⟩ | |
| 621 | - intro d hd | |
| 622 | - have hLamOne : d.core.lam ≤ 1 := by linarith [d.core.lam_lt] | |
| 623 | - have hp : d.core.lam ^ 28 ≤ d.core.lam := by | |
| 624 | - rw [show (28 : ℕ) = 27 + 1 by rfl, pow_succ] | |
| 625 | - simpa only [one_mul] using mul_le_mul_of_nonneg_right | |
| 626 | - (pow_le_one₀ (n := 27) d.core.lam_pos.le hLamOne) d.core.lam_pos.le | |
| 627 | - have hprod : d.core.lam * (K + 1) ≤ 1 := | |
| 628 | - (le_div_iff₀ (by positivity : 0 < K + 1)).mp hd.le | |
| 629 | - have h := mul_le_mul_of_nonneg_left hp hK | |
| 630 | - unfold editSize | |
| 631 | - nlinarith [d.core.lam_pos] | |
| 632 | - | |
| 633 | -theorem releaseSquare_le_core_endpoint (d : TailData) {eta : ℝ} (heta : |eta| ≤ 1) : | |
| 634 | - releaseSquare d ≤ (4 * Real.exp (6 / 5)) * finalAngular d (d.core.endpoint, eta) ^ 2 := by | |
| 635 | - have hER : d.core.endpoint ≤ d.releaseStart := | |
| 636 | - ((flattenEnd_gt_core d).trans (releaseStart_gt_flattenEnd d)).le | |
| 637 | - have hclock := clock_future_bound d (SchedulePressure.endpoint_pos d).le hER | |
| 638 | - have hexp : Real.exp (-(4 / 5) * (d.releaseStart - d.core.endpoint)) ≤ 1 := by | |
| 639 | - apply Real.exp_le_one_iff.mpr | |
| 640 | - exact mul_nonpos_of_nonpos_of_nonneg (by norm_num) (sub_nonneg.mpr hER) | |
| 641 | - change SchedulePressure.clockWeight d d.releaseStart ≤ _ | |
| 642 | - calc | |
| 643 | - _ ≤ SchedulePressure.clockWeight d d.core.endpoint * Real.exp (6 / 5) := | |
| 644 | - hclock.trans (mul_le_of_le_one_right | |
| 645 | - (mul_nonneg (SchedulePressure.clockWeight_pos d _).le (Real.exp_pos _).le) hexp) | |
| 646 | - _ ≤ (4 * finalAngular d (d.core.endpoint, eta) ^ 2) * Real.exp (6 / 5) := | |
| 647 | - mul_le_mul_of_nonneg_right (clock_le_four_angular_square d _ heta) (Real.exp_pos _).le | |
| 648 | - _ = _ := by ring | |
| 649 | - | |
| 650 | -theorem pressureChange_core_endpoint_bounds {d : TailData} {K : ℝ} | |
| 651 | - (w : ResetWitness d K) (y : ℝ) {eta : ℝ} (heta : |eta| ≤ 1) : | |
| 652 | - |pressureChange w y eta| ≤ | |
| 653 | - (40 * Real.exp 5 * Real.exp (6 / 5) * editSize d K) * | |
| 654 | - finalAngular d (d.core.endpoint, eta) ^ 2 ∧ | |
| 655 | - |deriv (pressureChange w y) eta| ≤ | |
| 656 | - (48 * Real.exp 5 * Real.exp (6 / 5) * editSize d K) * | |
| 657 | - finalAngular d (d.core.endpoint, eta) ^ 2 := by | |
| 658 | - have hsize := editSize_nonneg w | |
| 659 | - constructor | |
| 660 | - · apply (pressureChange_abs_le w y eta).trans | |
| 661 | - have h := mul_le_mul_of_nonneg_left (releaseSquare_le_core_endpoint d heta) | |
| 662 | - (show 0 ≤ 10 * editSize d K * Real.exp 5 by positivity) | |
| 663 | - convert! h using 1 | |
| 664 | - ring | |
| 665 | - · apply (pressureChange_deriv_abs_le w y eta).trans | |
| 666 | - have h := mul_le_mul_of_nonneg_left (releaseSquare_le_core_endpoint d heta) | |
| 667 | - (show 0 ≤ 12 * editSize d K * Real.exp 5 by positivity) | |
| 668 | - convert! h using 1 | |
| 669 | - ring | |
| 670 | - | |
| 671 | 475 | /-- Canonical forward pressure with the unchanged whole-axis pressure datum. -/ |
| 672 | 476 | theorem correctedPi_eq_axisPressure_add {d : TailData} {K : ℝ} |
| 673 | 477 | (w : ResetWitness d K) (y eta : ℝ) : |
| @@ -680,11 +484,4 @@ theorem correctedPi_eq_axisPressure_add {d : TailData} {K : ℝ} | ||
| 680 | 484 | unfold correctedPi SchedulePressure.axisPressure |
| 681 | 485 | linarith |
| 682 | 486 | |
| 683 | -theorem pressureChange_hasDerivAt_y {d : TailData} {K : ℝ} | |
| 684 | - (w : ResetWitness d K) (y eta : ℝ) : | |
| 685 | - HasDerivAt (fun t => pressureChange w t eta) ((1 / 2) * editDensity w (y, eta)) y := by | |
| 686 | - convert! (correctedPi_hasDerivAt_y w y eta).sub (Pi_hasDerivAt_y d y eta) using 1 | |
| 687 | - dsimp [editDensity] | |
| 688 | - ring | |
| 689 | - | |
| 690 | 487 | end NavierStokes.CorrectedPressureBounds |
+0 −10 NavierStokes/CorrectedPulseAmplitude.lean View file
| @@ -336,16 +336,6 @@ theorem amplitude_unique (d : TailData) (c : ℝ → Coeff) (eta e : ℝ) | ||
| 336 | 336 | exact (energyPolynomial_strictMonoOn d c eta e heta h hshift he).injOn hA.1 hr.1.le |
| 337 | 337 | (hn.symm.trans hn') |
| 338 | 338 | |
| 339 | -theorem realized_energy_eq (d : TailData) (c : ℝ → Coeff) (eta : ℝ) : | |
| 340 | - (∫ y, Real.exp y * (axial d.core (amplitude d c) (y, eta) ^ 2 - | |
| 341 | - correctedAngular d c (y, eta) ^ 2 / 2)) = totalEnergy d c (amplitude d c eta) eta := by | |
| 342 | - unfold totalEnergy energyIntegrand | |
| 343 | - apply integral_congr_ae | |
| 344 | - exact Eventually.of_forall (fun y => by | |
| 345 | - dsimp only | |
| 346 | - rw [PulseAmplitude.axial_eq_of_amplitude_eq d.core (amplitude d c) | |
| 347 | - (fun _ => amplitude d c eta) eta y rfl]) | |
| 348 | - | |
| 349 | 339 | def radialEnergyIntegrand (d : TailData) (c : ℝ → Coeff) (amp : ℝ → ℝ) (eta XR X : ℝ) : ℝ := |
| 350 | 340 | axial d.core amp (Real.log (X / XR), eta) ^ 2 - correctedAngular d c (Real.log (X / XR), eta) ^ 2 / 2 |
| 351 | 341 | |
+0 −32 NavierStokes/Covariance.lean View file
| @@ -82,22 +82,6 @@ theorem inverse_formula {a b scaleMinus scalePlus : ℝ} (m t : ℝ) | ||
| 82 | 82 | (ne_of_gt hMinus) (ne_of_gt hPlus)] |
| 83 | 83 | rw [Matrix.mulVec_mulVec, Matrix.nonsing_inv_mul _ hdet, Matrix.one_mulVec] |
| 84 | 84 | |
| 85 | -theorem solution_unique {a b scaleMinus scalePlus m t : ℝ} | |
| 86 | - (ha : 0 < a) (hb : 0 < b) | |
| 87 | - (hMinus : 0 < scaleMinus) (hPlus : 0 < scalePlus) | |
| 88 | - (y : Fin 2 → ℝ) | |
| 89 | - (hy : (signedMatrix a b scaleMinus scalePlus).mulVec y = target m t) : | |
| 90 | - y = coefficients a b scaleMinus scalePlus m t := by | |
| 91 | - have hdet : IsUnit (signedMatrix a b scaleMinus scalePlus).det := | |
| 92 | - isUnit_iff_ne_zero.mpr (determinant_ne_zero ha hb hMinus hPlus) | |
| 93 | - calc | |
| 94 | - y = (signedMatrix a b scaleMinus scalePlus)⁻¹.mulVec | |
| 95 | - ((signedMatrix a b scaleMinus scalePlus).mulVec y) := by | |
| 96 | - rw [Matrix.mulVec_mulVec, Matrix.nonsing_inv_mul _ hdet, Matrix.one_mulVec] | |
| 97 | - _ = (signedMatrix a b scaleMinus scalePlus)⁻¹.mulVec (target m t) := by rw [hy] | |
| 98 | - _ = coefficients a b scaleMinus scalePlus m t := | |
| 99 | - inverse_formula m t ha hb hMinus hPlus | |
| 100 | - | |
| 101 | 85 | /-- A strict geometric cone condition makes both squared amplitudes positive. -/ |
| 102 | 86 | theorem coefficients_pos {a b scaleMinus scalePlus m t : ℝ} |
| 103 | 87 | (ha : 0 < a) (hb : 0 < b) |
| @@ -112,22 +96,6 @@ theorem coefficients_pos {a b scaleMinus scalePlus m t : ℝ} | ||
| 112 | 96 | · change 0 < (b * m + a * t) / (2 * a * b * scalePlus) |
| 113 | 97 | exact div_pos (by linarith) (by positivity) |
| 114 | 98 | |
| 115 | -/-- The same strict cone condition is necessary as well as sufficient. -/ | |
| 116 | -theorem coefficients_pos_iff {a b scaleMinus scalePlus m t : ℝ} | |
| 117 | - (ha : 0 < a) (hb : 0 < b) | |
| 118 | - (hMinus : 0 < scaleMinus) (hPlus : 0 < scalePlus) : | |
| 119 | - (∀ i, 0 < coefficients a b scaleMinus scalePlus m t i) ↔ |a * t| < b * m := by | |
| 120 | - constructor | |
| 121 | - · intro hy | |
| 122 | - have hm : 0 < 2 * a * b * scaleMinus := by positivity | |
| 123 | - have hp : 0 < 2 * a * b * scalePlus := by positivity | |
| 124 | - have hnMinus : 0 < b * m - a * t := | |
| 125 | - (div_pos_iff_of_pos_right hm).mp (by simpa [coefficients] using hy 0) | |
| 126 | - have hnPlus : 0 < b * m + a * t := | |
| 127 | - (div_pos_iff_of_pos_right hp).mp (by simpa [coefficients] using hy 1) | |
| 128 | - exact abs_lt.mpr ⟨by linarith, by linarith⟩ | |
| 129 | - · exact coefficients_pos ha hb hMinus hPlus | |
| 130 | - | |
| 131 | 99 | /-- The primary velocity amplitudes are positive square roots of the solve. -/ |
| 132 | 100 | def amplitudes (a b scaleMinus scalePlus m t : ℝ) : Fin 2 → ℝ := |
| 133 | 101 | fun i => Real.sqrt (coefficients a b scaleMinus scalePlus m t i) |
+0 −24 NavierStokes/CylindricalResidual.lean View file
| @@ -52,12 +52,6 @@ theorem frame_apply (θ : ℝ) (v : Space) : | ||
| 52 | 52 | theorem connection_apply (v : Space) : connection v = pack (-v 1) (v 0) 0 := by |
| 53 | 53 | simp [connection, packDerivative_apply] |
| 54 | 54 | |
| 55 | -theorem frame_connection (θ : ℝ) : | |
| 56 | - (frame θ).comp connection = -Real.sin θ • horizontal + Real.cos θ • connection := by | |
| 57 | - ext v i | |
| 58 | - fin_cases i <;> simp [frame_apply, connection_apply, horizontal, packDerivative_apply] | |
| 59 | - ring | |
| 60 | - | |
| 61 | 55 | theorem frame_inverse (θ : ℝ) (v : Space) : frame (-θ) (frame θ v) = v := by |
| 62 | 56 | ext i |
| 63 | 57 | fin_cases i |
| @@ -280,10 +274,6 @@ theorem hasFDerivAt_frameField (q : Space) : | ||
| 280 | 274 | /-- Cartesian representation of cylindrical vector components. -/ |
| 281 | 275 | noncomputable def encode (w : Space → Space) (q : Space) : Space := frame (q 1) (w q) |
| 282 | 276 | |
| 283 | -theorem contDiffAt_encode {w : Space → Space} {q : Space} {n : WithTop ℕ∞} | |
| 284 | - (hw : ContDiffAt ℝ n w q) : ContDiffAt ℝ n (encode w) q := | |
| 285 | - (contDiff_frame.contDiffAt.comp q (projection 1).contDiff.contDiffAt).clm_apply hw | |
| 286 | - | |
| 287 | 277 | theorem fderiv_encode {w : Space → Space} {q : Space} |
| 288 | 278 | (hw : DifferentiableAt ℝ w q) (v : Space) : |
| 289 | 279 | fderiv ℝ (encode w) q v = |
| @@ -592,20 +582,6 @@ theorem navierStokesResidual_of_representation | ||
| 592 | 582 | rw [hq, frame_inverse] |
| 593 | 583 | rw [navierStokesResidual_cylindrical hu hp hr, cylindricalResidual_congr hc hP] |
| 594 | 584 | |
| 595 | -theorem navierStokesResidual_zero_iff | |
| 596 | - {u : VelocityField} {p : PressureField} {t : ℝ} {q : Space} | |
| 597 | - (hu : ContDiffAt ℝ 2 u (t, chart q)) | |
| 598 | - (hp : DifferentiableAt ℝ p (t, chart q)) (hr : 0 < q 0) : | |
| 599 | - navierStokesResidual u p t (chart q) = 0 ↔ | |
| 600 | - cylindricalResidual (velocityComponents u) (pressurePullback p) t q = 0 := by | |
| 601 | - rw [navierStokesResidual_cylindrical hu hp hr] | |
| 602 | - constructor | |
| 603 | - · intro h | |
| 604 | - have h' := congrArg (frame (-(q 1))) h | |
| 605 | - simpa only [frame_inverse, map_zero] using h' | |
| 606 | - · intro h | |
| 607 | - rw [h, map_zero] | |
| 608 | - | |
| 609 | 585 | theorem dCoord_dCoord_map (L : E →L[ℝ] F) {f : Space → E} {q : Space} |
| 610 | 586 | (hf : ContDiffAt ℝ 2 f q) (i : Fin 3) : |
| 611 | 587 | dCoord i (dCoord i (fun y => L (f y))) q = L (dCoord i (dCoord i f) q) := by |
+0 −73 NavierStokes/EndpointCoordinates.lean View file
| @@ -107,16 +107,6 @@ theorem past_mem_domain {h : ℝ} (hh : 0 < h) (hh1 : h < 1 / 2) | ||
| 107 | 107 | theorem qExtension_pos {h : ℝ} {p : PhysicalPoint} (hp : p ∈ domain h) : 0 < qExtension h p := |
| 108 | 108 | (PositiveRepresentatives.stableInverse_spec hp).1.1 |
| 109 | 109 | |
| 110 | -theorem qExtension_equation {h : ℝ} {p : PhysicalPoint} (hp : p ∈ domain h) : | |
| 111 | - forwardScalar (2 * h) p.2.2 (qExtension h p) = 1 - p.1 := by | |
| 112 | - have hs := (PositiveRepresentatives.stableInverse_spec hp).2 | |
| 113 | - have hz : (PositiveRepresentatives.stableInverse (2 * h) (timeAxial p)).2 = p.2.2 := by | |
| 114 | - simpa only [forwardMap, timeAxial] using congrArg (fun x : ℝ × ℝ => x.2) hs | |
| 115 | - have hq := congrArg (fun x : ℝ × ℝ => x.1) hs | |
| 116 | - change forwardScalar (2 * h) | |
| 117 | - (PositiveRepresentatives.stableInverse (2 * h) (timeAxial p)).2 (qExtension h p) = 1 - p.1 at hq | |
| 118 | - rwa [hz] at hq | |
| 119 | - | |
| 120 | 110 | theorem qExtension_smoothAt {h : ℝ} (hh : 0 < h) (hh1 : h < 1 / 2) |
| 121 | 111 | {p : PhysicalPoint} (hp : p ∈ domain h) : ContDiffAt ℝ ∞ (qExtension h) p := |
| 122 | 112 | ((PositiveRepresentatives.stableInverse_smoothAt (by linarith) (by linarith) hp).comp p |
| @@ -157,12 +147,6 @@ theorem qExtension_eq_physical {h : ℝ} (hh : 0 < h) (hh1 : h < 1 / 2) | ||
| 157 | 147 | (PositiveRepresentatives.stableInverse_eq_inverseMap |
| 158 | 148 | (by linarith : 0 < 2 * h) (by linarith : 2 * h < 1) (sub_pos.mpr hp)) |
| 159 | 149 | |
| 160 | -theorem innerExtension_eq_physical {h : ℝ} (hh : 0 < h) (hh1 : h < 1 / 2) | |
| 161 | - {p : PhysicalPoint} (hp : p.1 < 1) : innerExtension h p = SimilarityProfile.inner h p := by | |
| 162 | - change (p.2.1 / qExtension h p, p.2.2 / qExtension h p ^ ((1 - 2 * h) / 2)) = | |
| 163 | - (p.2.1 / SimilarityProfile.q h p, p.2.2 / SimilarityProfile.q h p ^ ((1 - 2 * h) / 2)) | |
| 164 | - rw [qExtension_eq_physical hh hh1 hp] | |
| 165 | - | |
| 166 | 150 | theorem chartExtension_eq_physical {h : ℝ} (hh : 0 < h) (hh1 : h < 1 / 2) |
| 167 | 151 | {p : PhysicalPoint} (hp : p.1 < 1) : chartExtension h p = SlowBorelBase.physicalChart h p := by |
| 168 | 152 | change (qExtension h p, (p.2.1 / qExtension h p, p.2.2 / qExtension h p ^ ((1 - 2 * h) / 2))) = |
| @@ -170,23 +154,6 @@ theorem chartExtension_eq_physical {h : ℝ} (hh : 0 < h) (hh1 : h < 1 / 2) | ||
| 170 | 154 | (p.2.1 / SimilarityProfile.q h p, p.2.2 / SimilarityProfile.q h p ^ ((1 - 2 * h) / 2))) |
| 171 | 155 | rw [qExtension_eq_physical hh hh1 hp] |
| 172 | 156 | |
| 173 | -theorem chartExtension_eventuallyEq {h : ℝ} (hh : 0 < h) (hh1 : h < 1 / 2) | |
| 174 | - {p : PhysicalPoint} (hp : p.1 < 1) : | |
| 175 | - chartExtension h =ᶠ[𝓝 p] SlowBorelBase.physicalChart h := by | |
| 176 | - filter_upwards [(isOpen_lt continuous_fst continuous_const).mem_nhds hp] with q hq | |
| 177 | - exact chartExtension_eq_physical hh hh1 hq | |
| 178 | - | |
| 179 | -theorem jets_eq_of_eventuallyEq {E V : Type*} [NormedAddCommGroup E] [NormedSpace ℝ E] | |
| 180 | - [NormedAddCommGroup V] [NormedSpace ℝ V] {f g : E → V} {p : E} | |
| 181 | - (he : f =ᶠ[𝓝 p] g) (n : ℕ) : iteratedFDeriv ℝ n f p = iteratedFDeriv ℝ n g p := by | |
| 182 | - have he' : f =ᶠ[𝓝[univ] p] g := by simpa only [nhdsWithin_univ] using he | |
| 183 | - simpa only [iteratedFDerivWithin_univ] using he'.iteratedFDerivWithin_eq he.self_of_nhds n | |
| 184 | - | |
| 185 | -theorem chartExtension_jets_eq {h : ℝ} (hh : 0 < h) (hh1 : h < 1 / 2) | |
| 186 | - {p : PhysicalPoint} (hp : p.1 < 1) (n : ℕ) : | |
| 187 | - iteratedFDeriv ℝ n (chartExtension h) p = iteratedFDeriv ℝ n (SlowBorelBase.physicalChart h) p := | |
| 188 | - jets_eq_of_eventuallyEq (chartExtension_eventuallyEq hh hh1 hp) n | |
| 189 | - | |
| 190 | 157 | noncomputable def lowerDomain (h c : ℝ) : Set PhysicalPoint := |
| 191 | 158 | domain h ∩ {p | c < qExtension h p} |
| 192 | 159 | |
| @@ -250,10 +217,6 @@ theorem cartesianExtension_smoothOn {h : ℝ} (hh : 0 < h) (hh1 : h < 1 / 2) : | ||
| 250 | 217 | theorem cartesianExtension_pos {h : ℝ} {z : ProblemStatement.SpaceTime} |
| 251 | 218 | (hz : z ∈ cartesianDomain h) : 0 < (cartesianExtension h z).1 := qExtension_pos hz |
| 252 | 219 | |
| 253 | -theorem cartesianExtension_X_nonneg {h : ℝ} {z : ProblemStatement.SpaceTime} | |
| 254 | - (hz : z ∈ cartesianDomain h) : 0 ≤ (cartesianExtension h z).2.1 := | |
| 255 | - div_nonneg (AxisymmetricFields.radialEnergy_nonneg z.2) (qExtension_pos hz).le | |
| 256 | - | |
| 257 | 220 | theorem cartesianExtension_endpoint {h : ℝ} (hh : 0 < h) (hh1 : h < 1 / 2) |
| 258 | 221 | {x : ProblemStatement.Space} (hx : x 2 ≠ 0) : |
| 259 | 222 | cartesianExtension h (1, x) = |
| @@ -267,19 +230,6 @@ theorem cartesianExtension_eq_physical {h : ℝ} (hh : 0 < h) (hh1 : h < 1 / 2) | ||
| 267 | 230 | cartesianExtension h z = SlowBorelBase.cartesianChart h z := |
| 268 | 231 | chartExtension_eq_physical hh hh1 hz |
| 269 | 232 | |
| 270 | -theorem cartesianExtension_eventuallyEq {h : ℝ} (hh : 0 < h) (hh1 : h < 1 / 2) | |
| 271 | - {z : ProblemStatement.SpaceTime} (hz : z.1 < 1) : | |
| 272 | - cartesianExtension h =ᶠ[𝓝 z] SlowBorelBase.cartesianChart h := by | |
| 273 | - filter_upwards [(isOpen_lt continuous_fst continuous_const).mem_nhds hz] with p hp | |
| 274 | - exact cartesianExtension_eq_physical hh hh1 hp | |
| 275 | - | |
| 276 | -/-- Equality is for arbitrary orders of the genuine space-time derivative. -/ | |
| 277 | -theorem cartesianExtension_jets_eq {h : ℝ} (hh : 0 < h) (hh1 : h < 1 / 2) | |
| 278 | - {z : ProblemStatement.SpaceTime} (hz : z.1 < 1) (n : ℕ) : | |
| 279 | - iteratedFDeriv ℝ n (cartesianExtension h) z = | |
| 280 | - iteratedFDeriv ℝ n (SlowBorelBase.cartesianChart h) z := | |
| 281 | - jets_eq_of_eventuallyEq (cartesianExtension_eventuallyEq hh hh1 hz) n | |
| 282 | - | |
| 283 | 233 | theorem cartesian_endpoint_neighborhood {h : ℝ} (hh : 0 < h) (hh1 : h < 1 / 2) |
| 284 | 234 | {x : ProblemStatement.Space} (hx : x 2 ≠ 0) : |
| 285 | 235 | ∃ U : Set ProblemStatement.SpaceTime, IsOpen U ∧ (1, x) ∈ U ∧ U ⊆ cartesianDomain h ∧ |
| @@ -300,27 +250,4 @@ theorem cartesian_endpoint_neighborhood {h : ℝ} (hh : 0 < h) (hh1 : h < 1 / 2) | ||
| 300 | 250 | |
| 301 | 251 | /-! ## Smooth composition and genuine derivative transfer -/ |
| 302 | 252 | |
| 303 | -theorem composition_smoothAt {V : Type*} [NormedAddCommGroup V] [NormedSpace ℝ V] | |
| 304 | - {h : ℝ} (hh : 0 < h) (hh1 : h < 1 / 2) {z : ProblemStatement.SpaceTime} | |
| 305 | - (hz : z ∈ cartesianDomain h) {f : Chart → V} | |
| 306 | - (hf : ContDiffAt ℝ ∞ f (cartesianExtension h z)) : | |
| 307 | - ContDiffAt ℝ ∞ (fun p => f (cartesianExtension h p)) z := | |
| 308 | - hf.comp z (cartesianExtension_smoothAt hh hh1 hz) | |
| 309 | - | |
| 310 | -theorem composition_endpoint_smoothAt {V : Type*} [NormedAddCommGroup V] [NormedSpace ℝ V] | |
| 311 | - {h : ℝ} (hh : 0 < h) (hh1 : h < 1 / 2) {x : ProblemStatement.Space} | |
| 312 | - (hx : x 2 ≠ 0) {f : Chart → V} | |
| 313 | - (hf : ContDiffAt ℝ ∞ f (cartesianExtension h (1, x))) : | |
| 314 | - ContDiffAt ℝ ∞ (fun p => f (cartesianExtension h p)) (1, x) := | |
| 315 | - composition_smoothAt hh hh1 (cartesian_endpoint_mem hh hh1 hx) hf | |
| 316 | - | |
| 317 | -theorem composition_jets_eq {V : Type*} [NormedAddCommGroup V] [NormedSpace ℝ V] | |
| 318 | - {h : ℝ} (hh : 0 < h) (hh1 : h < 1 / 2) (f : Chart → V) | |
| 319 | - {z : ProblemStatement.SpaceTime} (hz : z.1 < 1) (n : ℕ) : | |
| 320 | - iteratedFDeriv ℝ n (fun p => f (cartesianExtension h p)) z = | |
| 321 | - iteratedFDeriv ℝ n (fun p => f (SlowBorelBase.cartesianChart h p)) z := by | |
| 322 | - apply jets_eq_of_eventuallyEq _ n | |
| 323 | - filter_upwards [cartesianExtension_eventuallyEq hh hh1 hz] with p hp | |
| 324 | - exact congrArg f hp | |
| 325 | - | |
| 326 | 253 | end NavierStokes.EndpointCoordinates |
+0 −43 NavierStokes/EndpointExtension.lean View file
| @@ -29,10 +29,6 @@ theorem glue_eq_left {V : Type*} {a x : ℝ} {left right : ℝ → V} (hx : x | ||
| 29 | 29 | glue a left right x = left x := by |
| 30 | 30 | simp only [glue, ite_eq_left hx] |
| 31 | 31 | |
| 32 | -theorem glue_eq_right {V : Type*} {a x : ℝ} {left right : ℝ → V} (hx : a < x) : | |
| 33 | - glue a left right x = right x := by | |
| 34 | - simp only [glue, ite_eq_right (not_le_of_gt hx)] | |
| 35 | - | |
| 36 | 32 | /-- Matching endpoint values let the glued function agree with the right |
| 37 | 33 | branch on its entire closed half-line, including the joining point. -/ |
| 38 | 34 | theorem glue_eqOn_right {V : Type*} {a : ℝ} {left right : ℝ → V} |
| @@ -44,15 +40,6 @@ theorem glue_eqOn_right {V : Type*} {a : ℝ} {left right : ℝ → V} | ||
| 44 | 40 | simpa only [glue, ite_eq_left le_rfl] using hvalue |
| 45 | 41 | · simp only [glue, ite_eq_right hxa] |
| 46 | 42 | |
| 47 | -/-- Gluing preserves a right-hand time-support bound. -/ | |
| 48 | -theorem glue_vanishes_from {V : Type*} [Zero V] {a b : ℝ} {left right : ℝ → V} | |
| 49 | - (hab : a ≤ b) (hvalue : left a = right a) | |
| 50 | - (hzero : ∀ x, b ≤ x → right x = 0) : | |
| 51 | - ∀ x, b ≤ x → glue a left right x = 0 := by | |
| 52 | - intro x hx | |
| 53 | - rw [glue_eqOn_right hvalue (hab.trans hx)] | |
| 54 | - exact hzero x hx | |
| 55 | - | |
| 56 | 43 | section Normed |
| 57 | 44 | |
| 58 | 45 | variable {V : Type*} [NormedAddCommGroup V] [NormedSpace ℝ V] |
| @@ -138,36 +125,6 @@ theorem contDiff_glue {a : ℝ} {left right : ℝ → V} | ||
| 138 | 125 | intro x |
| 139 | 126 | exact (hasDerivAt_gluedJet hleft hright hmatch n x).differentiableAt |
| 140 | 127 | |
| 141 | -/-- The smooth glue preserves every prescribed endpoint jet. -/ | |
| 142 | -theorem iteratedDeriv_glue_at_join {a : ℝ} {left right : ℝ → V} | |
| 143 | - (hleft : ContDiffOn ℝ ∞ left (Iic a)) | |
| 144 | - (hright : ContDiffOn ℝ ∞ right (Ici a)) | |
| 145 | - (hmatch : ∀ n : ℕ, | |
| 146 | - iteratedDerivWithin n left (Iic a) a = iteratedDerivWithin n right (Ici a) a) | |
| 147 | - (n : ℕ) : | |
| 148 | - iteratedDeriv n (glue a left right) a = iteratedDerivWithin n left (Iic a) a := by | |
| 149 | - rw [iteratedDeriv_glue hleft hright hmatch n] | |
| 150 | - exact glue_eq_left le_rfl | |
| 151 | - | |
| 152 | -/-- Every within-derivative of the zero curve is zero. -/ | |
| 153 | -theorem iteratedDerivWithin_zero_curve (s : Set ℝ) (n : ℕ) : | |
| 154 | - iteratedDerivWithin n (fun _ : ℝ => (0 : V)) s = fun _ => 0 := by | |
| 155 | - induction n with | |
| 156 | - | zero => simp only [iteratedDerivWithin_zero] | |
| 157 | - | succ n ih => | |
| 158 | - funext x | |
| 159 | - simp only [iteratedDerivWithin_succ, ih, derivWithin_fun_const, Pi.zero_apply] | |
| 160 | - | |
| 161 | -/-- An actually constructed extension in the flat case: if all left jets | |
| 162 | -vanish, extension by zero to the right is smooth. -/ | |
| 163 | -theorem contDiff_zero_extension {a : ℝ} {left : ℝ → V} | |
| 164 | - (hleft : ContDiffOn ℝ ∞ left (Iic a)) | |
| 165 | - (hflat : ∀ n : ℕ, iteratedDerivWithin n left (Iic a) a = 0) : | |
| 166 | - ContDiff ℝ ∞ (glue a left (fun _ => 0)) := by | |
| 167 | - apply contDiff_glue hleft contDiffOn_const | |
| 168 | - intro n | |
| 169 | - rw [hflat n, iteratedDerivWithin_zero_curve] | |
| 170 | - | |
| 171 | 128 | end Normed |
| 172 | 129 | |
| 173 | 130 | end NavierStokes.EndpointExtension |
+0 −432 NavierStokes/ErrorHarmonics.lean View file
| @@ -68,12 +68,6 @@ theorem band_conjugatePair {D : Type} (j : ℤ) (a : D → ℂ) : | ||
| 68 | 68 | (band_single j (fun x => a x / 2)).add |
| 69 | 69 | (band_conjugateReverse (band_single j (fun x => a x / 2))) |
| 70 | 70 | |
| 71 | -theorem norm_pair_field_le {D : Type} (j : ℤ) (a : D → ℂ) (k : ℝ) (Φ : D → ℝ) | |
| 72 | - (kp : ℤ) (p : D × ℝ) : ‖field (conjugatePair j a) k Φ kp p‖ ≤ ‖a p.1‖ := by | |
| 73 | - rw [field_conjugatePair, Complex.norm_real] | |
| 74 | - apply (Complex.abs_re_le_norm _).trans | |
| 75 | - rw [norm_mul, norm_character, mul_one] | |
| 76 | - | |
| 77 | 71 | noncomputable def pairedBlock {D : Type} (j : ℤ) (k : ℕ → ℝ) (Φ : ℕ → D → ℝ) |
| 78 | 72 | (kp : ℕ → ℤ) (a : ℕ → D → HarmonicCalculus.ComplexVector) : HarmonicBlock D where |
| 79 | 73 | velocity n i := conjugatePair j (fun x => a n x i) |
| @@ -89,11 +83,6 @@ theorem pairedBlock_band {D : Type} (j : ℤ) (k : ℕ → ℝ) (Φ : ℕ → D | ||
| 89 | 83 | intro n l hl |
| 90 | 84 | simp [pairedBlock] at hl |
| 91 | 85 | |
| 92 | -theorem pairedBlock_symmetric {D : Type} (j : ℤ) (k : ℕ → ℝ) (Φ : ℕ → D → ℝ) | |
| 93 | - (kp : ℕ → ℤ) (a : ℕ → D → HarmonicCalculus.ComplexVector) (n : ℕ) (i : Fin 3) : | |
| 94 | - ConjugateSymmetric ((pairedBlock j k Φ kp a).velocity n i) := | |
| 95 | - conjugatePair_symmetric j (fun x => a n x i) | |
| 96 | - | |
| 97 | 86 | theorem pairedBlock_evaluation {D : Type} (j : ℤ) (k : ℕ → ℝ) (Φ : ℕ → D → ℝ) |
| 98 | 87 | (kp : ℕ → ℤ) (a : ℕ → D → HarmonicCalculus.ComplexVector) (n : ℕ) (p : D × ℝ) (i : Fin 3) : |
| 99 | 88 | (pairedBlock j k Φ kp a).oscillation n p i = |
| @@ -161,20 +150,6 @@ theorem excludedSlotError_angleIndependent (d : LinearWaveBounds.GraphDirections | ||
| 161 | 150 | simp only [LinearWaveBounds.excludedSlotError, dfast_angleIndependent d hψ hψa n x θ, |
| 162 | 151 | hψa n x θ, ha n x θ, hs n x θ] |
| 163 | 152 | |
| 164 | -theorem slot_coordinate_angleIndependent {s : WeightedClasses.StripData (D × ℝ)} | |
| 165 | - (g : GaussianTailFlat.SlotFamily s) (hangle : ∀ n, g.linear n ((0 : D), 1) = 0) : | |
| 166 | - AngleIndependent g.coordinate := by | |
| 167 | - intro n x θ | |
| 168 | - have hp : (x, θ) = (x, 0) + θ • ((0 : D), 1) := by ext <;> simp | |
| 169 | - simp only [GaussianTailFlat.SlotFamily.coordinate, hp, map_add, map_smul, hangle, | |
| 170 | - smul_zero, add_zero] | |
| 171 | - | |
| 172 | -theorem slot_cutoff_angleIndependent {s : WeightedClasses.StripData (D × ℝ)} | |
| 173 | - (g : GaussianTailFlat.SlotFamily s) (hangle : ∀ n, g.linear n ((0 : D), 1) = 0) : | |
| 174 | - AngleIndependent g.cutoff := by | |
| 175 | - intro n x θ | |
| 176 | - exact congrArg GaussianTailFlat.profile (slot_coordinate_angleIndependent g hangle n x θ) | |
| 177 | - | |
| 178 | 153 | /-- The retained Gaussian term as a literal real carrier field. -/ |
| 179 | 154 | noncomputable def gaussianField (d : LinearWaveBounds.GraphDirections (D × ℝ)) |
| 180 | 155 | (ψ : ℕ → D × ℝ → ℝ) (a source : ℕ → D × ℝ → HarmonicCalculus.ComplexVector) |
| @@ -187,26 +162,12 @@ noncomputable def gaussianBlock (d : LinearWaveBounds.GraphDirections (D × ℝ) | ||
| 187 | 162 | (j : ℤ) (k : ℕ → ℝ) (Φ : ℕ → D → ℝ) (kp : ℕ → ℤ) : HarmonicBlock D := |
| 188 | 163 | pairedBlock j k Φ kp (fun n x => LinearWaveBounds.excludedSlotError d ψ a source n (x, 0)) |
| 189 | 164 | |
| 190 | -theorem gaussianBlock_metadata (d : LinearWaveBounds.GraphDirections (D × ℝ)) | |
| 191 | - (ψ : ℕ → D × ℝ → ℝ) (a source : ℕ → D × ℝ → HarmonicCalculus.ComplexVector) | |
| 192 | - (j : ℤ) (k : ℕ → ℝ) (Φ : ℕ → D → ℝ) (kp : ℕ → ℤ) : | |
| 193 | - (gaussianBlock d ψ a source j k Φ kp).frequency = k ∧ | |
| 194 | - (gaussianBlock d ψ a source j k Φ kp).phase = Φ ∧ | |
| 195 | - (gaussianBlock d ψ a source j k Φ kp).angularFrequency = kp := ⟨rfl, rfl, rfl⟩ | |
| 196 | - | |
| 197 | 165 | theorem gaussianBlock_band (d : LinearWaveBounds.GraphDirections (D × ℝ)) |
| 198 | 166 | (ψ : ℕ → D × ℝ → ℝ) (a source : ℕ → D × ℝ → HarmonicCalculus.ComplexVector) |
| 199 | 167 | (j : ℤ) (k : ℕ → ℝ) (Φ : ℕ → D → ℝ) (kp : ℕ → ℤ) : |
| 200 | 168 | HarmonicBlock.BandLimited (gaussianBlock d ψ a source j k Φ kp) j.natAbs := |
| 201 | 169 | pairedBlock_band j k Φ kp _ |
| 202 | 170 | |
| 203 | -theorem gaussianBlock_symmetric (d : LinearWaveBounds.GraphDirections (D × ℝ)) | |
| 204 | - (ψ : ℕ → D × ℝ → ℝ) (a source : ℕ → D × ℝ → HarmonicCalculus.ComplexVector) | |
| 205 | - (j : ℤ) (k : ℕ → ℝ) (Φ : ℕ → D → ℝ) (kp : ℕ → ℤ) (n : ℕ) (i : Fin 3) : | |
| 206 | - ConjugateSymmetric ((gaussianBlock d ψ a source j k Φ kp).velocity n i) := | |
| 207 | - conjugatePair_symmetric j | |
| 208 | - (fun x => LinearWaveBounds.excludedSlotError d ψ a source n (x, 0) i) | |
| 209 | - | |
| 210 | 171 | /-- The witness evaluates to the actual error, from primitive angular |
| 211 | 172 | independence and the actual phase identity. No error representation is assumed. -/ |
| 212 | 173 | theorem gaussianBlock_represents (d : LinearWaveBounds.GraphDirections (D × ℝ)) |
| @@ -226,145 +187,18 @@ theorem gaussianBlock_represents (d : LinearWaveBounds.GraphDirections (D × ℝ | ||
| 226 | 187 | rw [← character_eq_carrier j (k n) (Ψ n) p, hphase n p.1 p.2] |
| 227 | 188 | rw [excludedSlotError_angleIndependent d hψ hψa ha hs n p.1 p.2] |
| 228 | 189 | |
| 229 | -/-- The affine Gaussian slot profile supplies the cutoff invariance itself. -/ | |
| 230 | -theorem gaussianSlotBlock_represents {s : WeightedClasses.StripData (D × ℝ)} | |
| 231 | - (g : GaussianTailFlat.SlotFamily s) (d : LinearWaveBounds.GraphDirections (D × ℝ)) | |
| 232 | - {a source : ℕ → D × ℝ → HarmonicCalculus.ComplexVector} | |
| 233 | - (j : ℤ) (k : ℕ → ℝ) (Φ : ℕ → D → ℝ) (Ψ : ℕ → D × ℝ → ℝ) (kp : ℕ → ℤ) | |
| 234 | - (hangle : ∀ n, g.linear n ((0 : D), 1) = 0) | |
| 235 | - (ha : AngleIndependent a) (hs : AngleIndependent source) | |
| 236 | - (hphase : ∀ n x θ, k n * Ψ n (x, θ) = k n * Φ n x + (kp n : ℝ) * θ) : | |
| 237 | - (gaussianBlock d g.cutoff a source j k Φ kp).oscillation = | |
| 238 | - gaussianField d g.cutoff a source j k Ψ := | |
| 239 | - gaussianBlock_represents d j k Φ Ψ kp | |
| 240 | - (fun n => GaussianTailFlat.profile_contDiff.comp (g.coordinate_contDiff n)) | |
| 241 | - (slot_cutoff_angleIndependent g hangle) ha hs hphase | |
| 242 | - | |
| 243 | -theorem gaussianField_eq_gaussianTailError {s : WeightedClasses.StripData (D × ℝ)} | |
| 244 | - (g : GaussianTailFlat.SlotFamily s) (d : LinearWaveBounds.GraphDirections (D × ℝ)) | |
| 245 | - (hfast : ∀ n, g.linear n (d.fastScale n • d.fast) = (g.length n)⁻¹) | |
| 246 | - (a source : ℕ → D × ℝ → HarmonicCalculus.ComplexVector) | |
| 247 | - (j : ℤ) (k : ℕ → ℝ) (Ψ : ℕ → D × ℝ → ℝ) : | |
| 248 | - gaussianField d g.cutoff a source j k Ψ = | |
| 249 | - fun n p i => (HarmonicCalculus.vectorMode (k n * (j : ℝ)) (Ψ n) (g.error a source n) p i).re := by | |
| 250 | - unfold gaussianField | |
| 251 | - rw [LinearWaveBounds.excludedSlotError_eq_gaussianError g d hfast] | |
| 252 | - | |
| 253 | 190 | end GaussianErrors |
| 254 | 191 | |
| 255 | 192 | section AliasErrors |
| 256 | 193 | |
| 257 | 194 | variable {S : Type} [NormedAddCommGroup S] [NormedSpace ℝ S] |
| 258 | 195 | |
| 259 | -/-- The pressure alias already used in the correction state, represented in | |
| 260 | -mode zero. Its metadata can be chosen to equal any associated label. -/ | |
| 261 | -noncomputable def pressureAliasBlock (r : ReconstructionData) (c : Context (Lift S)) | |
| 262 | - (u : State (Lift S)) (k : ℕ → ℝ) (Φ : ℕ → Lift S → ℝ) (kp : ℕ → ℤ) : | |
| 263 | - HarmonicBlock (Lift S) := | |
| 264 | - zeroBlock k Φ kp (fun n x => CorrectionState.pressureAlias r c u n (x, 0)) | |
| 265 | - | |
| 266 | -theorem pressureAliasBlock_represents (r : ReconstructionData) (c : Context (Lift S)) | |
| 267 | - (u : State (Lift S)) (k : ℕ → ℝ) (Φ : ℕ → Lift S → ℝ) (kp : ℕ → ℤ) : | |
| 268 | - (pressureAliasBlock r c u k Φ kp).oscillation = CorrectionState.pressureAlias r c u := by | |
| 269 | - funext n p i | |
| 270 | - exact zeroBlock_evaluation k Φ kp _ n p i | |
| 271 | - | |
| 272 | -theorem pressureAliasBlock_band (r : ReconstructionData) (c : Context (Lift S)) | |
| 273 | - (u : State (Lift S)) (k : ℕ → ℝ) (Φ : ℕ → Lift S → ℝ) (kp : ℕ → ℤ) : | |
| 274 | - HarmonicBlock.BandLimited (pressureAliasBlock r c u k Φ kp) 0 := | |
| 275 | - zeroBlock_band k Φ kp _ | |
| 276 | - | |
| 277 | -theorem pressureAlias_angleIndependent (r : ReconstructionData) (c : Context (Lift S)) | |
| 278 | - (u : State (Lift S)) : AngleIndependent (CorrectionState.pressureAlias r c u) := | |
| 279 | - fun _ _ _ => rfl | |
| 280 | - | |
| 281 | -/-- The temporal alias retains its actual differentiated shifted integral. -/ | |
| 282 | -noncomputable def temporalAliasBlock (r : ReconstructionData) (h : ℝ) | |
| 283 | - (c : Context (Lift S)) (u : State (Lift S)) | |
| 284 | - (k : ℕ → ℝ) (Φ : ℕ → Lift S → ℝ) (kp : ℕ → ℤ) : HarmonicBlock (Lift S) := | |
| 285 | - zeroBlock k Φ kp (fun n x => CorrectionState.temporalAlias r h c u n (x, 0)) | |
| 286 | - | |
| 287 | -theorem temporalAliasBlock_represents (r : ReconstructionData) (h : ℝ) | |
| 288 | - (c : Context (Lift S)) (u : State (Lift S)) | |
| 289 | - (k : ℕ → ℝ) (Φ : ℕ → Lift S → ℝ) (kp : ℕ → ℤ) : | |
| 290 | - (temporalAliasBlock r h c u k Φ kp).oscillation = | |
| 291 | - CorrectionState.temporalAlias r h c u := by | |
| 292 | - funext n p i | |
| 293 | - exact zeroBlock_evaluation k Φ kp _ n p i | |
| 294 | - | |
| 295 | -theorem temporalAliasBlock_band (r : ReconstructionData) (h : ℝ) | |
| 296 | - (c : Context (Lift S)) (u : State (Lift S)) | |
| 297 | - (k : ℕ → ℝ) (Φ : ℕ → Lift S → ℝ) (kp : ℕ → ℤ) : | |
| 298 | - HarmonicBlock.BandLimited (temporalAliasBlock r h c u k Φ kp) 0 := | |
| 299 | - zeroBlock_band k Φ kp _ | |
| 300 | - | |
| 301 | -theorem temporalAlias_angleIndependent (r : ReconstructionData) (h : ℝ) | |
| 302 | - (c : Context (Lift S)) (u : State (Lift S)) : | |
| 303 | - AngleIndependent (CorrectionState.temporalAlias r h c u) := fun _ _ _ => rfl | |
| 304 | - | |
| 305 | -/-- Replacing a pressure reconstruction changes the saved alias by its exact | |
| 306 | -new-minus-old value, which is again mode zero. -/ | |
| 307 | -noncomputable def pressureAliasRefreshBlock (r : ReconstructionData) | |
| 308 | - (c : Context (Lift S)) (oldState newState : State (Lift S)) | |
| 309 | - (k : ℕ → ℝ) (Φ : ℕ → Lift S → ℝ) (kp : ℕ → ℤ) : HarmonicBlock (Lift S) := | |
| 310 | - zeroBlock k Φ kp (fun n x => CorrectionState.pressureAlias r c newState n (x, 0) - | |
| 311 | - CorrectionState.pressureAlias r c oldState n (x, 0)) | |
| 312 | - | |
| 313 | -theorem pressureAliasRefreshBlock_represents (r : ReconstructionData) | |
| 314 | - (c : Context (Lift S)) (oldState newState : State (Lift S)) | |
| 315 | - (k : ℕ → ℝ) (Φ : ℕ → Lift S → ℝ) (kp : ℕ → ℤ) : | |
| 316 | - (pressureAliasRefreshBlock r c oldState newState k Φ kp).oscillation = | |
| 317 | - CorrectionState.pressureAlias r c newState - CorrectionState.pressureAlias r c oldState := by | |
| 318 | - funext n p i | |
| 319 | - exact zeroBlock_evaluation k Φ kp _ n p i | |
| 320 | - | |
| 321 | -theorem pressureAliasRefreshBlock_band (r : ReconstructionData) | |
| 322 | - (c : Context (Lift S)) (oldState newState : State (Lift S)) | |
| 323 | - (k : ℕ → ℝ) (Φ : ℕ → Lift S → ℝ) (kp : ℕ → ℤ) : | |
| 324 | - HarmonicBlock.BandLimited (pressureAliasRefreshBlock r c oldState newState k Φ kp) 0 := | |
| 325 | - zeroBlock_band k Φ kp _ | |
| 326 | - | |
| 327 | 196 | end AliasErrors |
| 328 | 197 | |
| 329 | 198 | /-- Conjugacy is kept for both velocity and pressure coefficients. -/ |
| 330 | 199 | def RealBlock {D : Type} (b : HarmonicBlock D) : Prop := |
| 331 | 200 | (∀ n i, ConjugateSymmetric (b.velocity n i)) ∧ ∀ n, ConjugateSymmetric (b.pressure n) |
| 332 | 201 | |
| 333 | -theorem pairedBlock_real {D : Type} (j : ℤ) (k : ℕ → ℝ) (Φ : ℕ → D → ℝ) | |
| 334 | - (kp : ℕ → ℤ) (a : ℕ → D → HarmonicCalculus.ComplexVector) : | |
| 335 | - RealBlock (pairedBlock j k Φ kp a) := by | |
| 336 | - refine ⟨pairedBlock_symmetric j k Φ kp a, ?_⟩ | |
| 337 | - intro n l x | |
| 338 | - simp [pairedBlock] | |
| 339 | - | |
| 340 | -theorem zeroBlock_real {D : Type} (k : ℕ → ℝ) (Φ : ℕ → D → ℝ) (kp : ℕ → ℤ) | |
| 341 | - (a : MeanVector D) : RealBlock (zeroBlock k Φ kp a) := by | |
| 342 | - refine ⟨zeroBlock_symmetric k Φ kp a, ?_⟩ | |
| 343 | - intro n l x | |
| 344 | - simp [zeroBlock] | |
| 345 | - | |
| 346 | -theorem gaussianBlock_real {D : Type} [NormedAddCommGroup D] [NormedSpace ℝ D] | |
| 347 | - (d : LinearWaveBounds.GraphDirections (D × ℝ)) | |
| 348 | - (ψ : ℕ → D × ℝ → ℝ) (a source : ℕ → D × ℝ → HarmonicCalculus.ComplexVector) | |
| 349 | - (j : ℤ) (k : ℕ → ℝ) (Φ : ℕ → D → ℝ) (kp : ℕ → ℤ) : | |
| 350 | - RealBlock (gaussianBlock d ψ a source j k Φ kp) := | |
| 351 | - pairedBlock_real j k Φ kp _ | |
| 352 | - | |
| 353 | -theorem pressureAliasBlock_real {S : Type} [NormedAddCommGroup S] [NormedSpace ℝ S] | |
| 354 | - (r : ReconstructionData) (c : Context (Lift S)) (u : State (Lift S)) | |
| 355 | - (k : ℕ → ℝ) (Φ : ℕ → Lift S → ℝ) (kp : ℕ → ℤ) : | |
| 356 | - RealBlock (pressureAliasBlock r c u k Φ kp) := zeroBlock_real k Φ kp _ | |
| 357 | - | |
| 358 | -theorem temporalAliasBlock_real {S : Type} [NormedAddCommGroup S] [NormedSpace ℝ S] | |
| 359 | - (r : ReconstructionData) (h : ℝ) (c : Context (Lift S)) (u : State (Lift S)) | |
| 360 | - (k : ℕ → ℝ) (Φ : ℕ → Lift S → ℝ) (kp : ℕ → ℤ) : | |
| 361 | - RealBlock (temporalAliasBlock r h c u k Φ kp) := zeroBlock_real k Φ kp _ | |
| 362 | - | |
| 363 | -theorem pressureAliasRefreshBlock_real {S : Type} [NormedAddCommGroup S] [NormedSpace ℝ S] | |
| 364 | - (r : ReconstructionData) (c : Context (Lift S)) (oldState newState : State (Lift S)) | |
| 365 | - (k : ℕ → ℝ) (Φ : ℕ → Lift S → ℝ) (kp : ℕ → ℤ) : | |
| 366 | - RealBlock (pressureAliasRefreshBlock r c oldState newState k Φ kp) := zeroBlock_real k Φ kp _ | |
| 367 | - | |
| 368 | 202 | theorem symmetric_add {D : Type} {a b : Coefficients D} |
| 369 | 203 | (ha : ConjugateSymmetric a) (hb : ConjugateSymmetric b) : |
| 370 | 204 | ConjugateSymmetric (a + b) := by |
| @@ -431,12 +265,6 @@ theorem sumBlock_represents {D ι : Type} (s : Finset ι) | ||
| 431 | 265 | intro l hl |
| 432 | 266 | rw [hk l hl, hΦ l hl, hkp l hl] |
| 433 | 267 | |
| 434 | -theorem realBlock_field {D : Type} {b : HarmonicBlock D} (hb : RealBlock b) | |
| 435 | - (n : ℕ) (p : D × ℝ) (i : Fin 3) : | |
| 436 | - ((b.oscillation n p i : ℝ) : ℂ) = | |
| 437 | - field (b.velocity n i) (b.frequency n) (b.phase n) (b.angularFrequency n) p := | |
| 438 | - field_real (hb.1 n i) _ _ _ _ | |
| 439 | - | |
| 440 | 268 | section FiniteStages |
| 441 | 269 | |
| 442 | 270 | variable {D : Type} [NormedAddCommGroup D] [NormedSpace ℝ D] |
| @@ -470,278 +298,18 @@ theorem GaussianData.block_represents (g : GaussianData D) | ||
| 470 | 298 | gaussianBlock_represents g.directions g.harmonic k Φ g.phase kp |
| 471 | 299 | hg.1 hg.2.1 hg.2.2.1 hg.2.2.2.1 hg.2.2.2.2 |
| 472 | 300 | |
| 473 | -noncomputable def accumulatedGaussianBlock (steps : ℕ) (g : ℕ → GaussianData D) | |
| 474 | - (k : ℕ → ℝ) (Φ : ℕ → D → ℝ) (kp : ℕ → ℤ) : HarmonicBlock D := | |
| 475 | - sumBlock (Finset.range steps) k Φ kp (fun s => (g s).block k Φ kp) | |
| 476 | - | |
| 477 | -theorem accumulatedGaussianBlock_represents (steps : ℕ) (g : ℕ → GaussianData D) | |
| 478 | - (k : ℕ → ℝ) (Φ : ℕ → D → ℝ) (kp : ℕ → ℤ) | |
| 479 | - (hg : ∀ s < steps, (g s).Compatible k Φ kp) : | |
| 480 | - (accumulatedGaussianBlock steps g k Φ kp).oscillation = | |
| 481 | - ∑ s ∈ Finset.range steps, (g s).error k := by | |
| 482 | - rw [accumulatedGaussianBlock, sumBlock_represents (Finset.range steps) k Φ kp | |
| 483 | - (fun s => (g s).block k Φ kp) | |
| 484 | - (fun _ _ => rfl) (fun _ _ => rfl) (fun _ _ => rfl)] | |
| 485 | - apply Finset.sum_congr rfl | |
| 486 | - intro s hs | |
| 487 | - exact (g s).block_represents k Φ kp (hg s (Finset.mem_range.mp hs)) | |
| 488 | - | |
| 489 | -theorem accumulatedGaussianBlock_band (steps : ℕ) (g : ℕ → GaussianData D) | |
| 490 | - (k : ℕ → ℝ) (Φ : ℕ → D → ℝ) (kp : ℕ → ℤ) | |
| 491 | - (N : ℕ) (hj : ∀ s < steps, (g s).harmonic.natAbs ≤ N) : | |
| 492 | - HarmonicBlock.BandLimited (accumulatedGaussianBlock steps g k Φ kp) N := by | |
| 493 | - apply sumBlock_band | |
| 494 | - intro s hs | |
| 495 | - have he := gaussianBlock_band (g s).directions (g s).cutoff (g s).amplitude | |
| 496 | - (g s).source (g s).harmonic k Φ kp | |
| 497 | - exact ⟨fun n i => (he.1 n i).mono (hj s (Finset.mem_range.mp hs)), | |
| 498 | - fun n => (he.2 n).mono (hj s (Finset.mem_range.mp hs))⟩ | |
| 499 | - | |
| 500 | -/-- This bounds the values of the occupied harmonics, not merely their count. -/ | |
| 501 | -theorem accumulatedGaussianBlock_band_pow (steps : ℕ) (g : ℕ → GaussianData D) | |
| 502 | - (k : ℕ → ℝ) (Φ : ℕ → D → ℝ) (kp : ℕ → ℤ) | |
| 503 | - (hj : ∀ s < steps, (g s).harmonic.natAbs ≤ 2 ^ s) : | |
| 504 | - HarmonicBlock.BandLimited (accumulatedGaussianBlock steps g k Φ kp) (2 ^ steps) := by | |
| 505 | - apply accumulatedGaussianBlock_band | |
| 506 | - intro s hs | |
| 507 | - exact (hj s hs).trans (Nat.pow_le_pow_right (by decide : 1 ≤ 2) (Nat.le_of_lt hs)) | |
| 508 | - | |
| 509 | -theorem accumulatedGaussianBlock_real (steps : ℕ) (g : ℕ → GaussianData D) | |
| 510 | - (k : ℕ → ℝ) (Φ : ℕ → D → ℝ) (kp : ℕ → ℤ) : | |
| 511 | - RealBlock (accumulatedGaussianBlock steps g k Φ kp) := by | |
| 512 | - apply sumBlock_real | |
| 513 | - intro s hs | |
| 514 | - exact pairedBlock_real (g s).harmonic k Φ kp _ | |
| 515 | - | |
| 516 | 301 | end FiniteStages |
| 517 | 302 | |
| 518 | 303 | section AliasStages |
| 519 | 304 | |
| 520 | 305 | variable {S : Type} [NormedAddCommGroup S] [NormedSpace ℝ S] |
| 521 | 306 | |
| 522 | -/-- Actual saved aliases after finitely many temporal stages and the current | |
| 523 | -pressure reconstruction. The state path may be produced by any correction rule. -/ | |
| 524 | -noncomputable def accumulatedAlias (steps : ℕ) (r : ReconstructionData) (h : ℝ) | |
| 525 | - (c : Context (Lift S)) (u : ℕ → State (Lift S)) : Oscillation (Lift S) := | |
| 526 | - CorrectionState.pressureAlias r c (u steps) + | |
| 527 | - ∑ s ∈ Finset.range steps, CorrectionState.temporalAlias r h c (u s) | |
| 528 | - | |
| 529 | -noncomputable def accumulatedAliasBlock (steps : ℕ) (r : ReconstructionData) (h : ℝ) | |
| 530 | - (c : Context (Lift S)) (u : ℕ → State (Lift S)) | |
| 531 | - (k : ℕ → ℝ) (Φ : ℕ → Lift S → ℝ) (kp : ℕ → ℤ) : HarmonicBlock (Lift S) := | |
| 532 | - zeroBlock k Φ kp (fun n x => accumulatedAlias steps r h c u n (x, 0)) | |
| 533 | - | |
| 534 | -theorem accumulatedAlias_angleIndependent (steps : ℕ) (r : ReconstructionData) (h : ℝ) | |
| 535 | - (c : Context (Lift S)) (u : ℕ → State (Lift S)) : | |
| 536 | - AngleIndependent (accumulatedAlias steps r h c u) := by | |
| 537 | - intro n x θ | |
| 538 | - simp only [accumulatedAlias, Pi.add_apply, Finset.sum_apply, CorrectionState.pressureAlias, | |
| 539 | - CorrectionState.temporalAlias] | |
| 540 | - | |
| 541 | -theorem accumulatedAliasBlock_represents (steps : ℕ) (r : ReconstructionData) (h : ℝ) | |
| 542 | - (c : Context (Lift S)) (u : ℕ → State (Lift S)) | |
| 543 | - (k : ℕ → ℝ) (Φ : ℕ → Lift S → ℝ) (kp : ℕ → ℤ) : | |
| 544 | - (accumulatedAliasBlock steps r h c u k Φ kp).oscillation = accumulatedAlias steps r h c u := by | |
| 545 | - funext n p i | |
| 546 | - rw [accumulatedAliasBlock, zeroBlock_evaluation] | |
| 547 | - exact congrFun (accumulatedAlias_angleIndependent steps r h c u n p.1 p.2).symm i | |
| 548 | - | |
| 549 | -theorem accumulatedAliasBlock_band (steps : ℕ) (r : ReconstructionData) (h : ℝ) | |
| 550 | - (c : Context (Lift S)) (u : ℕ → State (Lift S)) | |
| 551 | - (k : ℕ → ℝ) (Φ : ℕ → Lift S → ℝ) (kp : ℕ → ℤ) : | |
| 552 | - HarmonicBlock.BandLimited (accumulatedAliasBlock steps r h c u k Φ kp) 0 := | |
| 553 | - zeroBlock_band k Φ kp _ | |
| 554 | - | |
| 555 | -theorem accumulatedAliasBlock_real (steps : ℕ) (r : ReconstructionData) (h : ℝ) | |
| 556 | - (c : Context (Lift S)) (u : ℕ → State (Lift S)) | |
| 557 | - (k : ℕ → ℝ) (Φ : ℕ → Lift S → ℝ) (kp : ℕ → ℤ) : | |
| 558 | - RealBlock (accumulatedAliasBlock steps r h c u k Φ kp) := zeroBlock_real k Φ kp _ | |
| 559 | - | |
| 560 | -theorem accumulatedAlias_succ (steps : ℕ) (r : ReconstructionData) (h : ℝ) | |
| 561 | - (c : Context (Lift S)) (u : ℕ → State (Lift S)) : | |
| 562 | - accumulatedAlias (steps + 1) r h c u = accumulatedAlias steps r h c u + | |
| 563 | - CorrectionState.temporalAlias r h c (u steps) + | |
| 564 | - (CorrectionState.pressureAlias r c (u (steps + 1)) - | |
| 565 | - CorrectionState.pressureAlias r c (u steps)) := by | |
| 566 | - simp only [accumulatedAlias, Finset.sum_range_succ] | |
| 567 | - abel | |
| 568 | - | |
| 569 | -theorem pressure_refreshes_telescope (steps : ℕ) (r : ReconstructionData) | |
| 570 | - (c : Context (Lift S)) (u : ℕ → State (Lift S)) : | |
| 571 | - (∑ s ∈ Finset.range steps, (CorrectionState.pressureAlias r c (u (s + 1)) - | |
| 572 | - CorrectionState.pressureAlias r c (u s))) = | |
| 573 | - CorrectionState.pressureAlias r c (u steps) - CorrectionState.pressureAlias r c (u 0) := by | |
| 574 | - induction steps with | |
| 575 | - | zero => simp | |
| 576 | - | succ steps ih => rw [Finset.sum_range_succ, ih]; abel | |
| 577 | - | |
| 578 | -/-- The two retained error types for one label are added as actual finite | |
| 579 | -coefficient families. The base error is handled separately in the physical | |
| 580 | -decomposition and cancels from the good residual. -/ | |
| 581 | -noncomputable def accumulatedErrorBlock (steps : ℕ) (g : ℕ → GaussianData (Lift S)) | |
| 582 | - (r : ReconstructionData) (h : ℝ) (c : Context (Lift S)) (u : ℕ → State (Lift S)) | |
| 583 | - (k : ℕ → ℝ) (Φ : ℕ → Lift S → ℝ) (kp : ℕ → ℤ) : HarmonicBlock (Lift S) where | |
| 584 | - velocity n i := (accumulatedGaussianBlock steps g k Φ kp).velocity n i + | |
| 585 | - (accumulatedAliasBlock steps r h c u k Φ kp).velocity n i | |
| 586 | - pressure _ := 0 | |
| 587 | - frequency := k | |
| 588 | - phase := Φ | |
| 589 | - angularFrequency := kp | |
| 590 | - | |
| 591 | -theorem accumulatedErrorBlock_represents (steps : ℕ) (g : ℕ → GaussianData (Lift S)) | |
| 592 | - (r : ReconstructionData) (h : ℝ) (c : Context (Lift S)) (u : ℕ → State (Lift S)) | |
| 593 | - (k : ℕ → ℝ) (Φ : ℕ → Lift S → ℝ) (kp : ℕ → ℤ) | |
| 594 | - (hg : ∀ s < steps, (g s).Compatible k Φ kp) : | |
| 595 | - (accumulatedErrorBlock steps g r h c u k Φ kp).oscillation = | |
| 596 | - (∑ s ∈ Finset.range steps, (g s).error k) + accumulatedAlias steps r h c u := by | |
| 597 | - rw [← accumulatedGaussianBlock_represents steps g k Φ kp hg, | |
| 598 | - ← accumulatedAliasBlock_represents steps r h c u k Φ kp] | |
| 599 | - funext n p i | |
| 600 | - change (evaluate (_ + _) p.1 _).re = (evaluate _ p.1 _).re + (evaluate _ p.1 _).re | |
| 601 | - rw [evaluate_add, Complex.add_re] | |
| 602 | - rfl | |
| 603 | - | |
| 604 | -theorem accumulatedErrorBlock_band (steps : ℕ) (g : ℕ → GaussianData (Lift S)) | |
| 605 | - (r : ReconstructionData) (h : ℝ) (c : Context (Lift S)) (u : ℕ → State (Lift S)) | |
| 606 | - (k : ℕ → ℝ) (Φ : ℕ → Lift S → ℝ) (kp : ℕ → ℤ) | |
| 607 | - (hj : ∀ s < steps, (g s).harmonic.natAbs ≤ 2 ^ s) : | |
| 608 | - HarmonicBlock.BandLimited (accumulatedErrorBlock steps g r h c u k Φ kp) (2 ^ steps) := by | |
| 609 | - refine ⟨fun n i => ?_, ?_⟩ | |
| 610 | - · exact ((accumulatedGaussianBlock_band_pow steps g k Φ kp hj).1 n i).add | |
| 611 | - (((accumulatedAliasBlock_band steps r h c u k Φ kp).1 n i).mono (Nat.zero_le _)) | |
| 612 | - · intro n j hj | |
| 613 | - simp [accumulatedErrorBlock] at hj | |
| 614 | - | |
| 615 | -theorem accumulatedErrorBlock_real (steps : ℕ) (g : ℕ → GaussianData (Lift S)) | |
| 616 | - (r : ReconstructionData) (h : ℝ) (c : Context (Lift S)) (u : ℕ → State (Lift S)) | |
| 617 | - (k : ℕ → ℝ) (Φ : ℕ → Lift S → ℝ) (kp : ℕ → ℤ) : | |
| 618 | - RealBlock (accumulatedErrorBlock steps g r h c u k Φ kp) := by | |
| 619 | - refine ⟨fun n i => symmetric_add | |
| 620 | - ((accumulatedGaussianBlock_real steps g k Φ kp).1 n i) | |
| 621 | - ((accumulatedAliasBlock_real steps r h c u k Φ kp).1 n i), ?_⟩ | |
| 622 | - intro n j x | |
| 623 | - simp [accumulatedErrorBlock] | |
| 624 | - | |
| 625 | 307 | end AliasStages |
| 626 | 308 | |
| 627 | 309 | section AxisymmetricBase |
| 628 | 310 | |
| 629 | 311 | open ProblemStatement AxisymmetricFields |
| 630 | 312 | |
| 631 | -/-- Cartesian location of the cylindrical point `(r,z,θ)`. -/ | |
| 632 | -noncomputable def polarSpace (r z θ : ℝ) : Space := | |
| 633 | - AxisymmetricResidual.pack (r * Real.cos θ) (r * Real.sin θ) z | |
| 634 | - | |
| 635 | -noncomputable def polarProfile (q : ProfilePoint) : ProfilePoint := | |
| 636 | - (q.1, (q.2.1 ^ 2 / 2, q.2.2)) | |
| 637 | - | |
| 638 | -theorem profilePoint_polarSpace (q : ProfilePoint) (θ : ℝ) : | |
| 639 | - profilePoint q.1 (polarSpace q.2.1 q.2.2 θ) = polarProfile q := by | |
| 640 | - simp only [profilePoint, polarProfile, radialEnergy, polarSpace, | |
| 641 | - AxisymmetricResidual.pack_zero, AxisymmetricResidual.pack_one, AxisymmetricResidual.pack_two] | |
| 642 | - congr 2 | |
| 643 | - calc | |
| 644 | - _ = q.2.1 ^ 2 * (Real.sin θ ^ 2 + Real.cos θ ^ 2) / 2 := by ring | |
| 645 | - _ = _ := by rw [Real.sin_sq_add_cos_sq, mul_one] | |
| 646 | - | |
| 647 | -/-- Components in the actual orthonormal radial/angular/axial frame. -/ | |
| 648 | -noncomputable def cylindricalComponents (θ : ℝ) (v : Space) : Fin 3 → ℝ := | |
| 649 | - ![Real.cos θ * v 0 + Real.sin θ * v 1, | |
| 650 | - -Real.sin θ * v 0 + Real.cos θ * v 1, v 2] | |
| 651 | - | |
| 652 | -theorem cylindricalComponents_pack (r θ A B C : ℝ) : | |
| 653 | - cylindricalComponents θ (AxisymmetricResidual.pack | |
| 654 | - (r * Real.cos θ * A + r * Real.sin θ * B) | |
| 655 | - (r * Real.sin θ * A - r * Real.cos θ * B) C) = ![r * A, -r * B, C] := by | |
| 656 | - funext i | |
| 657 | - fin_cases i | |
| 658 | - · simp [cylindricalComponents] | |
| 659 | - calc | |
| 660 | - _ = r * A * (Real.sin θ ^ 2 + Real.cos θ ^ 2) := by ring | |
| 661 | - _ = _ := by rw [Real.sin_sq_add_cos_sq, mul_one] | |
| 662 | - · simp [cylindricalComponents] | |
| 663 | - calc | |
| 664 | - _ = -r * B * (Real.sin θ ^ 2 + Real.cos θ ^ 2) := by ring | |
| 665 | - _ = _ := by simp only [Real.sin_sq_add_cos_sq, mul_one, neg_mul] | |
| 666 | - · simp [cylindricalComponents] | |
| 667 | - | |
| 668 | -theorem axisymmetricVelocity_components (B F U : Profile) (q : ProfilePoint) (θ : ℝ) : | |
| 669 | - cylindricalComponents θ (AxisymmetricResidual.velocity B F U | |
| 670 | - (q.1, polarSpace q.2.1 q.2.2 θ)) = | |
| 671 | - ![-q.2.1 * B (polarProfile q), q.2.1 * F (polarProfile q), U (polarProfile q)] := by | |
| 672 | - have he := cylindricalComponents_pack q.2.1 θ (-B (polarProfile q)) | |
| 673 | - (-F (polarProfile q)) (U (polarProfile q)) | |
| 674 | - dsimp only [AxisymmetricResidual.velocity, AxisymmetricResidual.componentX, | |
| 675 | - AxisymmetricResidual.componentY, AxisymmetricResidual.lift] | |
| 676 | - rw [profilePoint_polarSpace] | |
| 677 | - simp only [polarSpace, AxisymmetricResidual.pack_zero, AxisymmetricResidual.pack_one] | |
| 678 | - convert! he using 2 <;> ring_nf | |
| 679 | - | |
| 680 | -/-- The literal Cartesian Navier--Stokes residual, expressed in its cylindrical | |
| 681 | -frame. This is not an independently specified error oracle. -/ | |
| 682 | -noncomputable def axisymmetricBaseError (B F U P : ℕ → Profile) : Oscillation ProfilePoint := | |
| 683 | - fun n p => cylindricalComponents p.2 | |
| 684 | - (navierStokesResidual (AxisymmetricResidual.velocity (B n) (F n) (U n)) | |
| 685 | - (AxisymmetricResidual.pressure (P n)) p.1.1 (polarSpace p.1.2.1 p.1.2.2 p.2)) | |
| 686 | - | |
| 687 | -noncomputable def axisymmetricBaseValue (B F U P : ℕ → Profile) : MeanVector ProfilePoint := | |
| 688 | - fun n q => ![q.2.1 * AxisymmetricResidual.residualRadial (B n) (F n) (U n) (P n) (polarProfile q), | |
| 689 | - -q.2.1 * AxisymmetricResidual.residualAngular (B n) (F n) (U n) (polarProfile q), | |
| 690 | - AxisymmetricResidual.residualAxial (B n) (U n) (P n) (polarProfile q)] | |
| 691 | - | |
| 692 | -theorem axisymmetricBaseError_eq_value (B F U P : ℕ → Profile) (n : ℕ) | |
| 693 | - (q : ProfilePoint) (θ : ℝ) | |
| 694 | - (hB : AxisymmetricResidual.SliceC2 (B n) q.1) | |
| 695 | - (hF : AxisymmetricResidual.SliceC2 (F n) q.1) | |
| 696 | - (hU : AxisymmetricResidual.SliceC2 (U n) q.1) | |
| 697 | - (hP : AxisymmetricResidual.SliceDifferentiable (P n) q.1) : | |
| 698 | - axisymmetricBaseError B F U P n (q, θ) = axisymmetricBaseValue B F U P n q := by | |
| 699 | - unfold axisymmetricBaseError | |
| 700 | - rw [AxisymmetricResidual.navierStokesResidual_velocity hB hF hU hP | |
| 701 | - (polarSpace q.2.1 q.2.2 θ), profilePoint_polarSpace] | |
| 702 | - simp only [polarSpace, AxisymmetricResidual.pack_zero, AxisymmetricResidual.pack_one] | |
| 703 | - exact cylindricalComponents_pack q.2.1 θ | |
| 704 | - (AxisymmetricResidual.residualRadial (B n) (F n) (U n) (P n) (polarProfile q)) | |
| 705 | - (AxisymmetricResidual.residualAngular (B n) (F n) (U n) (polarProfile q)) | |
| 706 | - (AxisymmetricResidual.residualAxial (B n) (U n) (P n) (polarProfile q)) | |
| 707 | - | |
| 708 | -/-- A local-in-time identity; no smooth continuation through singular time is | |
| 709 | -required to place the actual base residual in the zero harmonic. -/ | |
| 710 | -theorem axisymmetricBaseError_angleIndependent_at (B F U P : ℕ → Profile) (n : ℕ) | |
| 711 | - (q : ProfilePoint) (θ : ℝ) | |
| 712 | - (hB : AxisymmetricResidual.SliceC2 (B n) q.1) | |
| 713 | - (hF : AxisymmetricResidual.SliceC2 (F n) q.1) | |
| 714 | - (hU : AxisymmetricResidual.SliceC2 (U n) q.1) | |
| 715 | - (hP : AxisymmetricResidual.SliceDifferentiable (P n) q.1) : | |
| 716 | - axisymmetricBaseError B F U P n (q, θ) = axisymmetricBaseError B F U P n (q, 0) := by | |
| 717 | - rw [axisymmetricBaseError_eq_value B F U P n q θ hB hF hU hP, | |
| 718 | - axisymmetricBaseError_eq_value B F U P n q 0 hB hF hU hP] | |
| 719 | - | |
| 720 | -noncomputable def axisymmetricBaseBlock (B F U P : ℕ → Profile) | |
| 721 | - (k : ℕ → ℝ) (Φ : ℕ → ProfilePoint → ℝ) (kp : ℕ → ℤ) : HarmonicBlock ProfilePoint := | |
| 722 | - zeroBlock k Φ kp (axisymmetricBaseValue B F U P) | |
| 723 | - | |
| 724 | -theorem axisymmetricBaseBlock_represents_at (B F U P : ℕ → Profile) | |
| 725 | - (k : ℕ → ℝ) (Φ : ℕ → ProfilePoint → ℝ) (kp : ℕ → ℤ) | |
| 726 | - (n : ℕ) (q : ProfilePoint) (θ : ℝ) (i : Fin 3) | |
| 727 | - (hB : AxisymmetricResidual.SliceC2 (B n) q.1) | |
| 728 | - (hF : AxisymmetricResidual.SliceC2 (F n) q.1) | |
| 729 | - (hU : AxisymmetricResidual.SliceC2 (U n) q.1) | |
| 730 | - (hP : AxisymmetricResidual.SliceDifferentiable (P n) q.1) : | |
| 731 | - (axisymmetricBaseBlock B F U P k Φ kp).oscillation n (q, θ) i = | |
| 732 | - axisymmetricBaseError B F U P n (q, θ) i := by | |
| 733 | - rw [axisymmetricBaseBlock, zeroBlock_evaluation, | |
| 734 | - axisymmetricBaseError_eq_value B F U P n q θ hB hF hU hP] | |
| 735 | - | |
| 736 | -theorem axisymmetricBaseBlock_band (B F U P : ℕ → Profile) | |
| 737 | - (k : ℕ → ℝ) (Φ : ℕ → ProfilePoint → ℝ) (kp : ℕ → ℤ) : | |
| 738 | - HarmonicBlock.BandLimited (axisymmetricBaseBlock B F U P k Φ kp) 0 := | |
| 739 | - zeroBlock_band k Φ kp _ | |
| 740 | - | |
| 741 | -theorem axisymmetricBaseBlock_real (B F U P : ℕ → Profile) | |
| 742 | - (k : ℕ → ℝ) (Φ : ℕ → ProfilePoint → ℝ) (kp : ℕ → ℤ) : | |
| 743 | - RealBlock (axisymmetricBaseBlock B F U P k Φ kp) := zeroBlock_real k Φ kp _ | |
| 744 | - | |
| 745 | 313 | end AxisymmetricBase |
| 746 | 314 | |
| 747 | 315 | end NavierStokes.ErrorHarmonics |
+18 −0 routes/s1-euler-integral-1/README.md added View file
| @@ -0,0 +1,18 @@ | ||
| 1 | +--- | |
| 2 | +issue: 10 | |
| 3 | +status: working | |
| 4 | +--- | |
| 5 | +# s1-euler-integral-1 | |
| 6 | + | |
| 7 | +One declaration unit of S-1 (issue #10), family `Euler/Integral*`: deletes | |
| 8 | +`EulerIntegralPathLimit.pathIntegralOperator_apply` (`Euler/IntegralPathLimit.lean`, | |
| 9 | +4 lines, a `rfl` lemma unfolding `pathIntegralOperator` as the Bochner interval | |
| 10 | +integral). `git grep -n -w pathIntegralOperator_apply` finds it nowhere in the tree | |
| 11 | +after the deletion; the operator itself stays and is used by | |
| 12 | +`integral_equation_of_hasDerivAt` and `integral_equation_limit` in the same file. The | |
| 13 | +deleted docstring cites no numbered result of the paper. The diff is deletions only: | |
| 14 | +no statement and no proof that stays is changed. | |
| 15 | + | |
| 16 | +## Next | |
| 17 | + | |
| 18 | +Push this branch and open the pull request into `main`; nothing left in this unit. | |
+30 −0 routes/s1-euler-linear-1/README.md added View file
| @@ -0,0 +1,30 @@ | ||
| 1 | +--- | |
| 2 | +issue: 10 | |
| 3 | +status: working | |
| 4 | +--- | |
| 5 | +# s1-euler-linear-1 | |
| 6 | + | |
| 7 | +One unit of issue #10 (S-1, delete declarations that nothing uses): the family `Euler/Linear*` | |
| 8 | +(`Euler/LinearDuhamelGevrey.lean`, `Euler/LinearDuhamelNaturality.lean`, | |
| 9 | +`Euler/LinearDuhamelSymmetry.lean`, `Euler/LinearDuhamelWeighted.lean`). It deletes 8 | |
| 10 | +declarations that nothing uses, 153 lines in 4 files, deletions only: | |
| 11 | + | |
| 12 | +- `EulerLinearDuhamel.weightedSolution_derivative_recurrence` | |
| 13 | +- `EulerLinearDuhamel.forwardCost` | |
| 14 | +- `EulerLinearDuhamel.weightedSolution_gevrey` | |
| 15 | +- `EulerLinearDuhamel.Evolution.solution_map_apply` | |
| 16 | +- `EulerLinearDuhamel.Evolution.solution_independent` | |
| 17 | +- `EulerLinearDuhamel.solution_odd_under` | |
| 18 | +- `EulerLinearDuhamel.solution_support_subset` | |
| 19 | +- `EulerLinearDuhamel.Evolution.weightedSolution_eq` | |
| 20 | + | |
| 21 | +The list was cut from Treant's run of 2026-12-03 and kept after the declaration graph of main was | |
| 22 | +read under this project's rule: a declaration that Treant deleted stays when a paper result reaches | |
| 23 | +it, when its docstring cites the paper, or when a declaration that stays names it. None of these | |
| 24 | +eight is reached by `NavierStokes/PaperResults.lean`, `NavierStokes/R3/Theorem.lean` or | |
| 25 | +`NavierStokes/LocalPaperTheorem.lean`, none has its docstring citing the paper, and no remaining | |
| 26 | +declaration names any of them. | |
| 27 | + | |
| 28 | +## Next | |
| 29 | + | |
| 30 | +Nothing for this unit. `build` judges the change; do not wait for it. | |
+12 −0 routes/s1-euler-smooth-1/README.md added View file
| @@ -0,0 +1,12 @@ | ||
| 1 | +--- | |
| 2 | +issue: 10 | |
| 3 | +status: working | |
| 4 | +--- | |
| 5 | +# s1-euler-smooth-1 | |
| 6 | + | |
| 7 | +The family `Euler/Smooth*` (22 files): delete the 72 declarations of it that nothing uses, 586 lines. | |
| 8 | +Each names a declaration in `unit.json`'s list; no statement or proof that stays is changed. | |
| 9 | + | |
| 10 | +## Next | |
| 11 | + | |
| 12 | +Open the pull request. Anything further on this family is another unit of #10. | |
+16 −0 routes/s1-euler-strong-1/README.md added View file
| @@ -0,0 +1,16 @@ | ||
| 1 | +--- | |
| 2 | +issue: 10 | |
| 3 | +status: working | |
| 4 | +--- | |
| 5 | +# s1-euler-strong-1 | |
| 6 | + | |
| 7 | +One unit of #10 (S-1, "Delete declarations that nothing uses"), family `Euler/Strong*`: | |
| 8 | +delete `EulerStrongOperatorDerivative.hasDerivWithinAt_apply` (`Euler/StrongOperatorDerivative.lean`, | |
| 9 | +12 lines: the theorem with its docstring and the blank lines around it). Nothing in the tree | |
| 10 | +names it: `git grep -n -w hasDerivWithinAt_apply` matches no file, including this branch's notes. | |
| 11 | +Its docstring, "The same product rule for a one-sided derivative.", cites no numbered result of | |
| 12 | +the paper. Statements and proofs that stay are untouched; the diff is that one deletion. | |
| 13 | + | |
| 14 | +## Next | |
| 15 | + | |
| 16 | +Push and open the pull request; the other declaration units of #10 are separate. | |
+20 −0 routes/s1-euler-top-1/README.md added View file
| @@ -0,0 +1,20 @@ | ||
| 1 | +--- | |
| 2 | +issue: 10 | |
| 3 | +status: working | |
| 4 | +--- | |
| 5 | +# s1-euler-top-1 | |
| 6 | + | |
| 7 | +One unit of S-1 on the family `Euler/Top*`: delete the declaration nothing uses. | |
| 8 | + | |
| 9 | +`EulerTopBlockTimeNorm.top_blocks_time_norm` in `Euler/TopBlockTimeNorm.lean` (8 lines), a | |
| 10 | +wrapper that applied `pathLp_quadratic_bound` to `top_blocks_norm_sq`. On `main` (919ee76) | |
| 11 | +`git grep -n -w top_blocks_time_norm` finds only its own declaration, and its docstring cites | |
| 12 | +no numbered result of the paper; the diff is deletions only, and no statement or proof that | |
| 13 | +stays is changed. A reviewer here reads Treant's run of 2026-12-03 under this project's rule: | |
| 14 | +a declaration stays when a paper result reaches it, when its docstring cites the paper, or | |
| 15 | +when a surviving declaration names it. This one met none of those. | |
| 16 | + | |
| 17 | +## Next | |
| 18 | + | |
| 19 | +Nothing on my side: `python3 checks/challenge.py .` ends in `ok`. The `build` check runs on | |
| 20 | +the push; the maintainer agent reads the verdicts and decides. | |
+24 −0 routes/s1-ns-actual-1/README.md added View file
| @@ -0,0 +1,24 @@ | ||
| 1 | +--- | |
| 2 | +issue: 10 | |
| 3 | +status: working | |
| 4 | +--- | |
| 5 | +# s1-ns-actual-1 | |
| 6 | + | |
| 7 | +One unit of #10 (S-1, "Delete declarations that nothing uses"), the declarations step for the | |
| 8 | +family `NavierStokes/Actual*`: delete 859 declarations that nothing uses, 9736 lines in 75 files. | |
| 9 | +The list is the one cut for this unit; Treant's deletions that the paper's results reach, whose | |
| 10 | +docstring cites the paper, or that a declaration staying in the tree names are not in it. The | |
| 11 | +diff is deletions only: no statement or proof that stays is changed. | |
| 12 | + | |
| 13 | +Checked before committing: no fully-qualified reference to a deleted name remains in the tree | |
| 14 | +(`git grep -F '<namespace>.<name>'` finds none), the short names that still occur are other | |
| 15 | +declarations of the same name (a live `temporalAlias` in `CorrectionState.lean`, the `Cylinder` | |
| 16 | +abbrev in `ActualCycleResidualBounds.lean`, and so on) or prose, and no deleted line carries a | |
| 17 | +numbered citation of the paper (Lemma, Theorem, Proposition, Corollary, Section, Equation). No | |
| 18 | +`namespace`, `end`, `open` or `import` line is deleted. `python3 checks/challenge.py .` ends | |
| 19 | +with `ok`. | |
| 20 | + | |
| 21 | +## Next | |
| 22 | + | |
| 23 | +Push and open the pull request; the other units of #10, and the rest of the `Actual*` family, | |
| 24 | +are separate. | |
+16 −0 routes/s1-ns-axis-1/README.md added View file
| @@ -0,0 +1,16 @@ | ||
| 1 | +--- | |
| 2 | +issue: 10 | |
| 3 | +status: working | |
| 4 | +--- | |
| 5 | +# s1-ns-axis-1 | |
| 6 | + | |
| 7 | +One unit of issue #10 (S-1): delete the declarations of the family `NavierStokes/Axis*` | |
| 8 | +that nothing uses — 216 declarations in 18 files, 2066 lines, deletions only. The | |
| 9 | +deletions were cut from Treant's run of 2026-12-03 and re-read against this project's | |
| 10 | +declaration graph, so that a declaration the paper's results reach stays (see the pull | |
| 11 | +request body). | |
| 12 | + | |
| 13 | +## Next | |
| 14 | + | |
| 15 | +The pull request into `main` is open; wait for `build`. If it reports an error, the | |
| 16 | +declaration it names is still used by one that stays and is put back on this branch. | |
+46 −0 routes/s1-ns-copy-1/README.md added View file
| @@ -0,0 +1,46 @@ | ||
| 1 | +--- | |
| 2 | +issue: 10 | |
| 3 | +status: working | |
| 4 | +--- | |
| 5 | +# s1-ns-copy-1 | |
| 6 | + | |
| 7 | +One declarations unit of S-1 (issue #10), family `NavierStokes/Copy*`: deletes 32 | |
| 8 | +declarations nothing uses, 312 lines in `NavierStokes/CopyAngularInvariance.lean` and | |
| 9 | +`NavierStokes/CopySolveCompatibility.lean`. The diff is deletions only; no statement or proof | |
| 10 | +that stays is changed. | |
| 11 | + | |
| 12 | +The declarations: `iteratedFDeriv_invariant`, `localizedCopy_invariant`, | |
| 13 | +`commonSolve_invariant`, `copySolve_angular_zero`, `TangentInvariant.copyPressure_angular_zero`, | |
| 14 | +`TangentInvariant.commonPressure_angular_zero`, `realizedCoefficient_angular_zero`, | |
| 15 | +`actualCopy_realizedCoefficient_invariant`, `mode_eq_field_along`, | |
| 16 | +`vectorMode_eq_field_along_component`, `mode_eq_field_single` in `CopyAngularInvariance.lean`; | |
| 17 | +and `cutoff_refine`, `pullbackData`, `commonSolve_refine`, `source_periodic_transform`, | |
| 18 | +`commonOnTorus_refine`, `recenterGeometry`, `coordinates_recenter`, `point_recenter`, | |
| 19 | +`path_recenter`, `anchoredSolve_recenter`, `copySolve_recenter`, `localizedCopy_recenter`, | |
| 20 | +`commonSolve_recenter`, `physicalOutput`, `physicalOutput_contDiffOn`, | |
| 21 | +`commonSolve_family_represents`, `commonSolve_bandCommonChart`, | |
| 22 | +`compatible_family_represents`, `constantForcing`, `constantForcing_anchoredSolve`, | |
| 23 | +`changing_anchor_changes_solution` in `CopySolveCompatibility.lean`. | |
| 24 | + | |
| 25 | +How they were found. Treant (TitiSkywalker/NavierStokesAndEuler, the run of 2026-12-03 at | |
| 26 | +upstream `f9e8bc5`) found them unreachable from the four Comparator theorems. On this | |
| 27 | +project's main the declaration graph, exported from the compiled tree, was read again under | |
| 28 | +this project's rule: a declaration that Treant deleted stays when one of the paper's results | |
| 29 | +reaches it (the files `NavierStokes/PaperResults.lean` imports, `NavierStokes/R3/Theorem.lean`, | |
| 30 | +`NavierStokes/LocalPaperTheorem.lean`), when its docstring cites the paper, or when the text | |
| 31 | +of a declaration that stays names it. None of the 32 here is reached by that rule. | |
| 32 | + | |
| 33 | +Checked on this branch. `git grep -n -w` over the Lean tree finds none of the 32 short names | |
| 34 | +except `pullbackData`, which is another declaration of the same short name | |
| 35 | +(`NavierStokes/PhysicalResidualBridge.lean`, a `ScaledGraph` theorem), not the deleted | |
| 36 | +`LinearData.pullbackData`. No deleted docstring cites a numbered Lemma, Theorem, Proposition, | |
| 37 | +Corollary, Section or Equation of a paper: the deleted docstrings mention only the angular | |
| 38 | +section, the finite-harmonic field constructor and the chart maps, by name. What used a | |
| 39 | +deleted declaration is itself deleted in this same unit. | |
| 40 | + | |
| 41 | +`python3 checks/challenge.py .` ends `ok`. | |
| 42 | + | |
| 43 | +## Next | |
| 44 | + | |
| 45 | +The maintainer's review after `challenge` and `build`; the other declaration units of #10 | |
| 46 | +follow in pull requests of their own. | |
+17 −0 routes/s1-ns-corrected-1/README.md added View file
| @@ -0,0 +1,17 @@ | ||
| 1 | +--- | |
| 2 | +issue: 10 | |
| 3 | +status: working | |
| 4 | +--- | |
| 5 | +# s1-ns-corrected-1 | |
| 6 | + | |
| 7 | +The family `NavierStokes/Corrected*` of S-1 (#10): the 16 declarations of | |
| 8 | +`NavierStokes/CorrectedPressureBounds.lean` and `NavierStokes/CorrectedPulseAmplitude.lean` | |
| 9 | +that no file in the tree names and whose docstrings cite no result of the paper — 213 lines, | |
| 10 | +deletions only. Cut from Treant's run of 2026-12-03 (TitiSkywalker/NavierStokesAndEuler at | |
| 11 | +`f9e8bc5`) and read again against the declaration graph of this project's main at `5baf4fe` | |
| 12 | +under this project's rule that the paper's results stay. | |
| 13 | + | |
| 14 | +## Next | |
| 15 | + | |
| 16 | +The maintainer's review after `challenge` and `build`. If the pull request is turned down, | |
| 17 | +the 16 declarations go back into the two files. | |
+23 −0 routes/s1-ns-covariance-1/README.md added View file
| @@ -0,0 +1,23 @@ | ||
| 1 | +--- | |
| 2 | +issue: 10 | |
| 3 | +status: working | |
| 4 | +--- | |
| 5 | +# s1-ns-covariance-1 | |
| 6 | + | |
| 7 | +One unit of #10 (S-1), in the family `NavierStokes/Covariance*`: delete the | |
| 8 | +declarations of `NavierStokes/Covariance.lean` that nothing uses. The unit named | |
| 9 | +three; two are deleted here. | |
| 10 | + | |
| 11 | +- `NavierStokes.Covariance.solution_unique` (lines 85–99) | |
| 12 | +- `NavierStokes.Covariance.coefficients_pos_iff` (lines 115–129) | |
| 13 | + | |
| 14 | +The third, `NavierStokes.Covariance.scaled_primary_covariance`, stays: its | |
| 15 | +docstring cites equation (29) of the Navier–Stokes paper, and this project keeps | |
| 16 | +a declaration whose docstring cites the paper. It is not part of this pull | |
| 17 | +request. | |
| 18 | + | |
| 19 | +## Next | |
| 20 | + | |
| 21 | +Open the pull request for the two deletions and let `challenge` and `build` | |
| 22 | +report. A later unit can delete `scaled_primary_covariance` only if the | |
| 23 | +maintainer decides the docstring's (29) does not hold it. | |
+21 −0 routes/s1-ns-cylindrical-1/README.md added View file
| @@ -0,0 +1,21 @@ | ||
| 1 | +--- | |
| 2 | +issue: 10 | |
| 3 | +status: working | |
| 4 | +--- | |
| 5 | +# s1-ns-cylindrical-1 | |
| 6 | + | |
| 7 | +One unit of #10 (S-1, "Delete declarations that nothing uses"), family `NavierStokes/Cylindrical*`: | |
| 8 | +delete three declarations of `NavierStokes/CylindricalResidual.lean` that nothing uses — | |
| 9 | +`NavierStokes.CylindricalResidual.frame_connection` (lines 55–59), | |
| 10 | +`NavierStokes.CylindricalResidual.contDiffAt_encode` (283–285) and | |
| 11 | +`NavierStokes.CylindricalResidual.navierStokesResidual_zero_iff` (595–607), 24 lines. | |
| 12 | + | |
| 13 | +Nothing in the tree names them: `git grep -n -w frame_connection`, `git grep -n -w contDiffAt_encode` | |
| 14 | +and `git grep -n -w navierStokesResidual_zero_iff` find no hit at all. None of the three carries a | |
| 15 | +docstring, so no paper result depends on it. The diff is deletions only; statements and proofs that | |
| 16 | +stay are untouched. `python3 checks/challenge.py .` ends with `ok: …`. | |
| 17 | + | |
| 18 | +## Next | |
| 19 | + | |
| 20 | +Push and open the pull request; the rest of the `Cylindrical*` family and the other units of #10 are | |
| 21 | +separate. | |
+31 −0 routes/s1-ns-endpoint-1/README.md added View file
| @@ -0,0 +1,31 @@ | ||
| 1 | +--- | |
| 2 | +issue: 10 | |
| 3 | +status: working | |
| 4 | +--- | |
| 5 | +# s1-ns-endpoint-1 | |
| 6 | + | |
| 7 | +One unit of issue #10 (S-1: delete declarations that nothing uses): 16 | |
| 8 | +declarations of the family `NavierStokes/Endpoint*` that nothing on main uses, | |
| 9 | +116 lines, in two files. | |
| 10 | + | |
| 11 | +- `NavierStokes/EndpointCoordinates.lean`: `qExtension_equation`, | |
| 12 | + `innerExtension_eq_physical`, `chartExtension_eventuallyEq`, | |
| 13 | + `jets_eq_of_eventuallyEq`, `chartExtension_jets_eq`, | |
| 14 | + `cartesianExtension_X_nonneg`, `cartesianExtension_eventuallyEq`, | |
| 15 | + `cartesianExtension_jets_eq`, `composition_smoothAt`, | |
| 16 | + `composition_endpoint_smoothAt`, `composition_jets_eq`. | |
| 17 | +- `NavierStokes/EndpointExtension.lean`: `glue_eq_right`, `glue_vanishes_from`, | |
| 18 | + `iteratedDeriv_glue_at_join`, `iteratedDerivWithin_zero_curve`, | |
| 19 | + `contDiff_zero_extension`. | |
| 20 | + | |
| 21 | +The unit was cut from Treant's run of 2026-12-03 (TitiSkywalker/NavierStokesAndEuler) | |
| 22 | +and re-read against this project's declaration graph under the rule that the | |
| 23 | +paper's results stay: nothing here is reached from `NavierStokes/PaperResults.lean`, | |
| 24 | +`NavierStokes/R3/Theorem.lean` or `NavierStokes/LocalPaperTheorem.lean`, and no | |
| 25 | +deleted docstring names a numbered result of either paper. The diff is deletions | |
| 26 | +only; no remaining statement or proof changes. Each deleted short name was | |
| 27 | +searched with `git grep -n -w` across the tree and has no other hit. | |
| 28 | + | |
| 29 | +## Next | |
| 30 | + | |
| 31 | +Open the pull request into `main` (`Part of #10`) and let `build` say what it says. | |
+20 −0 routes/s1-ns-error-1/README.md added View file
| @@ -0,0 +1,20 @@ | ||
| 1 | +--- | |
| 2 | +issue: 10 | |
| 3 | +status: working | |
| 4 | +--- | |
| 5 | +# s1-ns-error-1 | |
| 6 | + | |
| 7 | +One unit of issue #10 (S-1): delete the 57 declarations of the family | |
| 8 | +`NavierStokes/Error*` that nothing uses, in `NavierStokes/ErrorHarmonics.lean` — | |
| 9 | +432 lines, deletions only. The deletions were cut from Treant's run of 2026-12-03 and | |
| 10 | +re-read against this project's declaration graph on `main`, so a declaration the | |
| 11 | +paper's results reach stays (see the pull request body). The deleted docstrings cite | |
| 12 | +no numbered result of the paper. | |
| 13 | + | |
| 14 | +Checked: `git grep -n -w` finds none of the 57 short names anywhere left in the tree; | |
| 15 | +`python3 checks/challenge.py .` ends `ok`. | |
| 16 | + | |
| 17 | +## Next | |
| 18 | + | |
| 19 | +The pull request into `main` is open; wait for `build`. If it reports an error, the | |
| 20 | +declaration it names is still used by one that stays and is put back on this branch. | |