| @@ -31,11 +31,6 @@ noncomputable def representative [Zero E] (U : ι → Set D) (f : ι → D → E |
| 31 | 31 | theorem mem_domain_iff {U : ι → Set D} {x : D} : x ∈ domain U ↔ ∃ i, x ∈ U i := |
| 32 | 32 | mem_iUnion |
| 33 | 33 | |
| 34 | | -theorem representative_zero [Zero E] {U : ι → Set D} {f : ι → D → E} |
| 35 | | - {x : D} (hx : x ∉ domain U) : representative U f x = 0 := by |
| 36 | | - have hn : ¬ ∃ i, x ∈ U i := fun h => hx (mem_domain_iff.mpr h) |
| 37 | | - simp only [representative, dite_eq_right hn] |
| 38 | | - |
| 39 | 34 | theorem representative_eq_of_mem [Zero E] {U : ι → Set D} {f : ι → D → E} |
| 40 | 35 | (hf : Compatible U f) {i : ι} {x : D} (hx : x ∈ U i) : |
| 41 | 36 | representative U f x = f i x := by |
| @@ -44,44 +39,15 @@ theorem representative_eq_of_mem [Zero E] {U : ι → Set D} {f : ι → D → E |
| 44 | 39 | simp only [representative, dite_eq_left h] |
| 45 | 40 | exact hf (Classical.choose h) i ⟨Classical.choose_spec h, hx⟩ |
| 46 | 41 | |
| 47 | | -theorem representative_eqOn [Zero E] {U : ι → Set D} {f : ι → D → E} |
| 48 | | - (hf : Compatible U f) (i : ι) : EqOn (representative U f) (f i) (U i) := |
| 49 | | - fun _ hx => representative_eq_of_mem hf hx |
| 50 | | - |
| 51 | | -theorem representative_unique_on_domain [Zero E] {U : ι → Set D} {f : ι → D → E} |
| 52 | | - (hf : Compatible U f) {g : D → E} (hg : ∀ i, EqOn g (f i) (U i)) : |
| 53 | | - EqOn (representative U f) g (domain U) := by |
| 54 | | - intro x hx |
| 55 | | - obtain ⟨i, hi⟩ := mem_domain_iff.mp hx |
| 56 | | - exact (representative_eq_of_mem hf hi).trans (hg i hi).symm |
| 57 | | - |
| 58 | 42 | section Topology |
| 59 | 43 | |
| 60 | 44 | variable [TopologicalSpace D] |
| 61 | 45 | |
| 62 | | -theorem domain_open {U : ι → Set D} (hU : ∀ i, IsOpen (U i)) : IsOpen (domain U) := |
| 63 | | - isOpen_iUnion hU |
| 64 | | - |
| 65 | 46 | theorem representative_germ [Zero E] {U : ι → Set D} {f : ι → D → E} |
| 66 | 47 | (hU : ∀ i, IsOpen (U i)) (hf : Compatible U f) {i : ι} {x : D} (hx : x ∈ U i) : |
| 67 | 48 | representative U f =ᶠ[𝓝 x] f i := |
| 68 | 49 | eventually_of_mem ((hU i).mem_nhds hx) (fun _ hy => representative_eq_of_mem hf hy) |
| 69 | 50 | |
| 70 | | -/-- The zero totalization has a zero germ off the closure. No such claim |
| 71 | | -is made at an excluded face in the closure of the valid union. -/ |
| 72 | | -theorem representative_zero_germ [Zero E] {U : ι → Set D} {f : ι → D → E} |
| 73 | | - {x : D} (hx : x ∉ closure (domain U)) : representative U f =ᶠ[𝓝 x] fun _ => 0 := by |
| 74 | | - filter_upwards [isClosed_closure.isOpen_compl.mem_nhds hx] with y hy |
| 75 | | - exact representative_zero (fun h => hy (subset_closure h)) |
| 76 | | - |
| 77 | | -theorem representative_continuousOn [TopologicalSpace E] [Zero E] |
| 78 | | - {U : ι → Set D} {f : ι → D → E} (hU : ∀ i, IsOpen (U i)) (hf : Compatible U f) |
| 79 | | - (hs : ∀ i, ContinuousOn (f i) (U i)) : ContinuousOn (representative U f) (domain U) := by |
| 80 | | - intro x hx |
| 81 | | - obtain ⟨i, hi⟩ := mem_domain_iff.mp hx |
| 82 | | - exact ((hs i).continuousAt ((hU i).mem_nhds hi)).congr |
| 83 | | - (representative_germ hU hf hi).symm |>.continuousWithinAt |
| 84 | | - |
| 85 | 51 | end Topology |
| 86 | 52 | |
| 87 | 53 | section Derivatives |
| @@ -102,11 +68,6 @@ theorem representative_contDiffOn {n : WithTop ℕ∞} |
| 102 | 68 | obtain ⟨i, hi⟩ := mem_domain_iff.mp hx |
| 103 | 69 | exact (representative_contDiffAt hU hf hi (hs i)).contDiffWithinAt |
| 104 | 70 | |
| 105 | | -theorem representative_fderiv_eq (hU : ∀ i, IsOpen (U i)) (hf : Compatible U f) |
| 106 | | - {i : ι} {x : D} (hx : x ∈ U i) : |
| 107 | | - fderiv ℝ (representative U f) x = fderiv ℝ (f i) x := |
| 108 | | - (representative_germ hU hf hx).fderiv_eq |
| 109 | | - |
| 110 | 71 | /-- The actual multilinear derivative tensors agree as functions near |
| 111 | 72 | each valid point. No differentiability premise is needed for germ locality. -/ |
| 112 | 73 | theorem representative_iteratedFDeriv_germ (hU : ∀ i, IsOpen (U i)) (hf : Compatible U f) |
| @@ -122,58 +83,12 @@ theorem representative_iteratedFDeriv_eq (hU : ∀ i, IsOpen (U i)) (hf : Compat |
| 122 | 83 | iteratedFDeriv ℝ m (representative U f) x = iteratedFDeriv ℝ m (f i) x := |
| 123 | 84 | (representative_iteratedFDeriv_germ hU hf hx m).self_of_nhds |
| 124 | 85 | |
| 125 | | -theorem representative_jet_bound (hU : ∀ i, IsOpen (U i)) (hf : Compatible U f) |
| 126 | | - {i : ι} {x : D} (hx : x ∈ U i) (m : ℕ) {B : ℝ} |
| 127 | | - (hb : ‖iteratedFDeriv ℝ m (f i) x‖ ≤ B) : |
| 128 | | - ‖iteratedFDeriv ℝ m (representative U f) x‖ ≤ B := by |
| 129 | | - rw [representative_iteratedFDeriv_eq hU hf hx m] |
| 130 | | - exact hb |
| 131 | | - |
| 132 | | -/-- The same pointwise majorant transfers on the entire union. There is |
| 133 | | -no multiplicity factor, regardless of the number of overlapping charts. -/ |
| 134 | | -theorem representative_jet_bound_on_union (hU : ∀ i, IsOpen (U i)) (hf : Compatible U f) |
| 135 | | - (m : ℕ) {B : D → ℝ} (hb : ∀ i, ∀ x ∈ U i, ‖iteratedFDeriv ℝ m (f i) x‖ ≤ B x) : |
| 136 | | - ∀ x ∈ domain U, ‖iteratedFDeriv ℝ m (representative U f) x‖ ≤ B x := by |
| 137 | | - intro x hx |
| 138 | | - obtain ⟨i, hi⟩ := mem_domain_iff.mp hx |
| 139 | | - exact representative_jet_bound hU hf hi m (hb i x hi) |
| 140 | | - |
| 141 | | -theorem representative_finite_jets_bound (hU : ∀ i, IsOpen (U i)) (hf : Compatible U f) |
| 142 | | - (N : ℕ) {B : ℕ → D → ℝ} |
| 143 | | - (hb : ∀ i, ∀ m ≤ N, ∀ x ∈ U i, ‖iteratedFDeriv ℝ m (f i) x‖ ≤ B m x) : |
| 144 | | - ∀ m ≤ N, ∀ x ∈ domain U, ‖iteratedFDeriv ℝ m (representative U f) x‖ ≤ B m x := by |
| 145 | | - intro m hm |
| 146 | | - exact representative_jet_bound_on_union hU hf m (fun i x hx => hb i m hm x hx) |
| 147 | | - |
| 148 | | -theorem representative_jet_apply_eq (hU : ∀ i, IsOpen (U i)) (hf : Compatible U f) |
| 149 | | - {i : ι} {x : D} (hx : x ∈ U i) (m : ℕ) (v : Fin m → D) : |
| 150 | | - iteratedFDeriv ℝ m (representative U f) x v = iteratedFDeriv ℝ m (f i) x v := by |
| 151 | | - rw [representative_iteratedFDeriv_eq hU hf hx m] |
| 152 | | - |
| 153 | 86 | end Derivatives |
| 154 | 87 | |
| 155 | 88 | section PhysicalCurl |
| 156 | 89 | |
| 157 | 90 | open ProblemStatement |
| 158 | 91 | |
| 159 | | -theorem spatialCurl_eq_of_germ {A B : VelocityField} {x : SpaceTime} |
| 160 | | - (h : A =ᶠ[𝓝 x] B) : SpatialCurl.spatialCurl A x = SpatialCurl.spatialCurl B x := by |
| 161 | | - have hs : (fun y : Space => A (x.1, y)) =ᶠ[𝓝 x.2] fun y => B (x.1, y) := |
| 162 | | - h.comp_tendsto (by |
| 163 | | - change Tendsto (fun y : Space => (x.1, y)) (𝓝 x.2) (𝓝 (x.1, x.2)) |
| 164 | | - exact continuousAt_const.prodMk continuousAt_id) |
| 165 | | - exact congrArg SpatialCurl.curlLinear hs.fderiv_eq |
| 166 | | - |
| 167 | | -theorem representative_spatialCurl_eq {U : ι → Set SpaceTime} {A : ι → VelocityField} |
| 168 | | - (hU : ∀ i, IsOpen (U i)) (hA : Compatible U A) {i : ι} {x : SpaceTime} (hx : x ∈ U i) : |
| 169 | | - SpatialCurl.spatialCurl (representative U A) x = SpatialCurl.spatialCurl (A i) x := |
| 170 | | - spatialCurl_eq_of_germ (representative_germ hU hA hx) |
| 171 | | - |
| 172 | | -theorem representative_spatialCurl_germ {U : ι → Set SpaceTime} {A : ι → VelocityField} |
| 173 | | - (hU : ∀ i, IsOpen (U i)) (hA : Compatible U A) {i : ι} {x : SpaceTime} (hx : x ∈ U i) : |
| 174 | | - SpatialCurl.spatialCurl (representative U A) =ᶠ[𝓝 x] SpatialCurl.spatialCurl (A i) := |
| 175 | | - eventually_of_mem ((hU i).mem_nhds hx) (fun _ hy => representative_spatialCurl_eq hU hA hy) |
| 176 | | - |
| 177 | 92 | end PhysicalCurl |
| 178 | 93 | |
| 179 | 94 | end NavierStokes.ValidBandGluing |