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

| 1 | import NavierStokes.FourierAlias |
| 2 | import NavierStokes.WeightedRadialPrimitive |
| 3 | import NavierStokes.RadialPullback |
| 4 | import NavierStokes.SmoothFamilyTorusInverse |
| 5 | |
| 6 | /-! |
| 7 | # Uniform seminorm bounds for families of exact Fourier aliases |
| 8 | |
| 9 | All constants are chosen before the source and the band. The estimates use |
| 10 | actual derivatives and actual translated integrals. |
| 11 | -/ |
| 12 | |
| 13 | noncomputable section |
| 14 | |
| 15 | open Set Function Filter MeasureTheory |
| 16 | open scoped ContDiff Interval Topology BigOperators |
| 17 | |
| 18 | namespace NavierStokes.UniformFourierAlias |
| 19 | |
| 20 | open TorusInverse JetBounds |
| 21 | |
| 22 | private theorem nat_le_smooth (n : ℕ) : (n : WithTop ℕ∞) ≤ ∞ := |
| 23 | le_of_lt (WithTop.coe_lt_coe.mpr (ENat.natCast_lt_top n)) |
| 24 | |
| 25 | section JetOperations |
| 26 | |
| 27 | variable {D E F : Type} [NormedAddCommGroup D] [NormedSpace ℝ D] |
| 28 | [NormedAddCommGroup E] [NormedSpace ℝ E] |
| 29 | [NormedAddCommGroup F] [NormedSpace ℝ F] |
| 30 | |
| 31 | theorem norm_iteratedFDeriv_map (L : E →L[ℝ] F) {f : D → E} |
| 32 | (hf : ContDiff ℝ ∞ f) (m : ℕ) (z : D) : |
| 33 | ‖iteratedFDeriv ℝ m (fun x => L (f x)) z‖ ≤ ‖L‖ * ‖iteratedFDeriv ℝ m f z‖ := by |
| 34 | have he := L.iteratedFDeriv_comp_left hf.contDiffAt (nat_le_smooth m) (x := z) |
| 35 | change iteratedFDeriv ℝ m (fun x => L (f x)) z = _ at he |
| 36 | rw [he] |
| 37 | exact L.norm_compContinuousMultilinearMap_le _ |
| 38 | |
| 39 | theorem finiteJetBound_fixedPartial {f : D → E} (hf : ContDiff ℝ ∞ f) |
| 40 | {s : Set D} {C : ℝ} {m : ℕ} (hb : FiniteJetBound (m + 1) f s C) |
| 41 | (v : D) (hv : ‖v‖ ≤ 1) : |
| 42 | FiniteJetBound m (fun x => fderiv ℝ f x v) s C := by |
| 43 | intro j hj z hz |
| 44 | have h := norm_iteratedFDeriv_clm_apply_const (𝕜 := ℝ) (c := v) |
| 45 | (hf.fderiv_right (by simp)).contDiffAt (nat_le_smooth j) (x := z) |
| 46 | rw [norm_iteratedFDeriv_fderiv] at h |
| 47 | exact h.trans ((mul_le_mul_of_nonneg_right hv (norm_nonneg _)).trans |
| 48 | (by simpa only [one_mul] using hb (j + 1) (Nat.add_le_add_right hj 1) z hz)) |
| 49 | |
| 50 | end JetOperations |
| 51 | |
| 52 | section IterationBounds |
| 53 | |
| 54 | variable {E F : Type} [NormedAddCommGroup E] [NormedSpace ℝ E] |
| 55 | [NormedAddCommGroup F] [NormedSpace ℝ F] |
| 56 | |
| 57 | theorem sourceJet_mem (G : (ℝ × E → F) → Prop) (J : (ℝ × E → F) → ℝ × E → F) |
| 58 | (hclosed : ∀ f, G f → G (RadialAlias.slowDeriv (J f))) (p : ℕ) |
| 59 | {f : ℝ × E → F} (hf : G f) : G (RadialAlias.sourceJet J f p) := by |
| 60 | induction p with |
| 61 | | zero => exact hf |
| 62 | | succ p ih => |
| 63 | rw [RadialAlias.sourceJet_succ] |
| 64 | exact hclosed _ ih |
| 65 | |
| 66 | /-- A finite-loss estimate for an actual operator propagates through the |
| 67 | successive slow derivatives used in radial integration by parts. This lemma |
| 68 | is instantiated below with the constructed torus inverse. -/ |
| 69 | theorem sourceJet_uniform_finiteJets |
| 70 | (G : (ℝ × E → F) → Prop) (J : (ℝ × E → F) → ℝ × E → F) |
| 71 | (s : Set (ℝ × E)) (loss : ℕ) |
| 72 | (hclosed : ∀ f, G f → G (RadialAlias.slowDeriv (J f))) |
| 73 | (hsmooth : ∀ f, G f → ContDiff ℝ ∞ (J f)) |
| 74 | (htame : ∀ m : ℕ, ∃ K : ℝ, 0 ≤ K ∧ ∀ f, G f → ∀ C : ℝ, 0 ≤ C → |
| 75 | FiniteJetBound (m + loss) f s C → FiniteJetBound m (J f) s (K * C)) |
| 76 | (p m : ℕ) : |
| 77 | ∃ K : ℝ, 0 ≤ K ∧ ∀ f, G f → ∀ C : ℝ, 0 ≤ C → |
| 78 | FiniteJetBound (m + (loss + 1) * p) f s C → |
| 79 | FiniteJetBound m (RadialAlias.sourceJet J f p) s (K * C) := by |
| 80 | have hgood : ∀ p : ℕ, ∀ f, G f → G (RadialAlias.sourceJet J f p) := by |
| 81 | intro p |
| 82 | induction p with |
| 83 | | zero => exact fun _ h => h |
| 84 | | succ p ih => |
| 85 | intro f hf |
| 86 | rw [RadialAlias.sourceJet_succ] |
| 87 | exact hclosed _ (ih f hf) |
| 88 | induction p generalizing m with |
| 89 | | zero => |
| 90 | refine ⟨1, zero_le_one, ?_⟩ |
| 91 | intro f _ C _ hb |
| 92 | simpa only [Nat.mul_zero, Nat.add_zero, RadialAlias.sourceJet_zero, one_mul] using hb |
| 93 | | succ p ih => |
| 94 | obtain ⟨A, hA, hAbound⟩ := ih (m + 1 + loss) |
| 95 | obtain ⟨B, hB, hBbound⟩ := htame (m + 1) |
| 96 | refine ⟨B * A, mul_nonneg hB hA, ?_⟩ |
| 97 | intro f hf C hC hb |
| 98 | have hsource : FiniteJetBound (m + 1 + loss + (loss + 1) * p) f s C := by |
| 99 | convert! hb using 1 |
| 100 | ring |
| 101 | have hprev := hAbound f hf C hC hsource |
| 102 | have hinverse := hBbound _ (hgood p f hf) (A * C) (mul_nonneg hA hC) hprev |
| 103 | have hderiv := finiteJetBound_fixedPartial (hsmooth _ (hgood p f hf)) hinverse |
| 104 | ((1 : ℝ), (0 : E)) (by simp) |
| 105 | rw [RadialAlias.sourceJet_succ] |
| 106 | unfold RadialAlias.slowDeriv |
| 107 | simpa only [mul_assoc] using hderiv |
| 108 | |
| 109 | end IterationBounds |
| 110 | |
| 111 | section Integrals |
| 112 | |
| 113 | variable {E F : Type} [NormedAddCommGroup E] [NormedSpace ℝ E] |
| 114 | [NormedAddCommGroup F] [NormedSpace ℝ F] [CompleteSpace F] |
| 115 | |
| 116 | /-- The exact defect in the compact transport primitive, with all auxiliary |
| 117 | slow variables retained in `E`. -/ |
| 118 | noncomputable def exactAlias (χ : ℝ → ℝ) (M : ℝ) (v : E) |
| 119 | (f : ℝ × E → F) (z : ℝ × E) : F := |
| 120 | deriv χ z.1 • TransportPrimitive.totalIntegral M v f z |
| 121 | |
| 122 | theorem exactAlias_smooth {a b M : ℝ} {v : E} {χ : ℝ → ℝ} {f : ℝ × E → F} |
| 123 | (hχ : ContDiff ℝ ∞ χ) (hf : ContDiff ℝ ∞ f) |
| 124 | (hs : RadialAlias.RadiallySupported a b f) : |
| 125 | ContDiff ℝ ∞ (exactAlias χ M v f) := |
| 126 | (((contDiff_infty_iff_deriv.mp hχ).2).comp contDiff_fst).smul |
| 127 | (TransportPrimitive.totalIntegral_contDiff hf hs) |
| 128 | |
| 129 | omit [CompleteSpace F] in |
| 130 | theorem exactAlias_supported {a b M : ℝ} {v : E} {χ : ℝ → ℝ} {f : ℝ × E → F} |
| 131 | (hleft : ∀ u ≤ a, χ u = 0) (hright : ∀ u, b ≤ u → χ u = 1) : |
| 132 | RadialAlias.RadiallySupported a b (exactAlias χ M v f) := by |
| 133 | intro z hz |
| 134 | have hl : a ≤ z.1 := by |
| 135 | by_contra hn |
| 136 | have heq : χ =ᶠ[𝓝 z.1] (fun _ => 0) := |
| 137 | (eventually_lt_nhds (lt_of_not_ge hn)).mono (fun u hu => hleft u hu.le) |
| 138 | have hd : deriv χ z.1 = 0 := by simpa using heq.deriv_eq |
| 139 | exact hz (by simp only [exactAlias, hd, zero_smul]) |
| 140 | have hr : z.1 ≤ b := by |
| 141 | by_contra hn |
| 142 | have heq : χ =ᶠ[𝓝 z.1] (fun _ => 1) := |
| 143 | (eventually_gt_nhds (lt_of_not_ge hn)).mono (fun u hu => hright u hu.le) |
| 144 | have hd : deriv χ z.1 = 0 := by simpa using heq.deriv_eq |
| 145 | exact hz (by simp only [exactAlias, hd, zero_smul]) |
| 146 | exact ⟨hl, hr⟩ |
| 147 | |
| 148 | theorem transport_compact_exactAlias {a b M : ℝ} {v : E} {χ : ℝ → ℝ} {f : ℝ × E → F} |
| 149 | (hχ : ContDiff ℝ ∞ χ) (hf : ContDiff ℝ ∞ f) |
| 150 | (hs : RadialAlias.RadiallySupported a b f) (z : ℝ × E) : |
| 151 | TransportPrimitive.fixedDeriv (1, M • v) (TransportPrimitive.compactIntegral χ M v f) z = |
| 152 | f z - exactAlias χ M v f z := |
| 153 | TransportPrimitive.transport_compactIntegral hχ hf hs z |
| 154 | |
| 155 | /-- Repeated integration by parts for full derivative tensors. The last |
| 156 | premise bounds genuine source jets, not the alias. -/ |
| 157 | theorem totalIntegral_sourceJet_bound {a b M C : ℝ} {v : E} |
| 158 | (J : (ℝ × E → F) → ℝ × E → F) (f : ℝ × E → F) (p m : ℕ) |
| 159 | (hab : a ≤ b) (hM : M ≠ 0) |
| 160 | (hf : ContDiff ℝ ∞ f) (hsf : RadialAlias.RadiallySupported a b f) |
| 161 | (hJ : ∀ n < p, ContDiff ℝ ∞ (J (RadialAlias.sourceJet J f n))) |
| 162 | (hsJ : ∀ n < p, RadialAlias.RadiallySupported a b (J (RadialAlias.sourceJet J f n))) |
| 163 | (hr : ∀ n < p, RadialAlias.directionalDeriv v (J (RadialAlias.sourceJet J f n)) = |
| 164 | RadialAlias.sourceJet J f n) |
| 165 | (hbound : FiniteJetBound m (RadialAlias.sourceJet J f p) (Prod.fst ⁻¹' Icc a b) C) |
| 166 | (j : ℕ) (hj : j ≤ m) (z : ℝ × E) : |
| 167 | ‖iteratedFDeriv ℝ j (TransportPrimitive.totalIntegral M v f) z‖ ≤ |
| 168 | (C * (b - a)) * (|M|⁻¹) ^ p := by |
| 169 | have hg : ContDiff ℝ ∞ (RadialAlias.sourceJet J f p) := by |
| 170 | cases p with |
| 171 | | zero => exact hf |
| 172 | | succ p => |
| 173 | rw [RadialAlias.sourceJet_succ] |
| 174 | exact TransportPrimitive.fixedDeriv_contDiff (hJ p (Nat.lt_succ_self p)) (1, 0) |
| 175 | have hsg := RadialAlias.sourceJet_radiallySupported J f p hsf hsJ |
| 176 | have heq : TransportPrimitive.totalIntegral M v f = fun z => |
| 177 | (-M⁻¹) ^ p • TransportPrimitive.totalIntegral M v (RadialAlias.sourceJet J f p) z := by |
| 178 | funext w |
| 179 | rw [TransportPrimitive.totalIntegral_eq_wholeAlias hf.continuous hsf, |
| 180 | TransportPrimitive.totalIntegral_eq_wholeAlias hg.continuous hsg] |
| 181 | exact RadialAlias.wholeAlias_sourceJet J f p hM |
| 182 | (fun n hn => (hJ n hn).of_le (by simp)) hsJ hr |
| 183 | rw [heq, iteratedFDeriv_const_smul_apply' |
| 184 | ((TransportPrimitive.totalIntegral_contDiff hg hsg).of_le (nat_le_smooth j)).contDiffAt] |
| 185 | have hn := norm_smul ((-M⁻¹) ^ p : ℝ) |
| 186 | (iteratedFDeriv ℝ j (TransportPrimitive.totalIntegral M v (RadialAlias.sourceJet J f p)) z) |
| 187 | rw [hn, Real.norm_eq_abs, abs_pow, abs_neg, abs_inv, mul_comm] |
| 188 | apply mul_le_mul_of_nonneg_right _ (by positivity) |
| 189 | exact TransportPrimitive.iteratedFDeriv_totalIntegral_norm_le hab hg hsg j |
| 190 | (fun u hu Y => hbound j hj (u, Y) hu) z |
| 191 | |
| 192 | /-- A source-independent constant for the compactification defect, retaining |
| 193 | the entire cutoff Leibniz expansion. -/ |
| 194 | theorem exactAlias_sourceJet_bound {a b : ℝ} {χ : ℝ → ℝ} |
| 195 | (hab : a ≤ b) (hχ : ContDiff ℝ ∞ χ) |
| 196 | (hleft : ∀ u ≤ a, χ u = 0) (hright : ∀ u, b ≤ u → χ u = 1) (m : ℕ) : |
| 197 | ∃ K : ℝ, 0 ≤ K ∧ ∀ (M : ℝ) (v : E) (J : (ℝ × E → F) → ℝ × E → F) |
| 198 | (f : ℝ × E → F) (p : ℕ) (C : ℝ), M ≠ 0 → 0 ≤ C → |
| 199 | ContDiff ℝ ∞ f → RadialAlias.RadiallySupported a b f → |
| 200 | (∀ n < p, ContDiff ℝ ∞ (J (RadialAlias.sourceJet J f n))) → |
| 201 | (∀ n < p, RadialAlias.RadiallySupported a b (J (RadialAlias.sourceJet J f n))) → |
| 202 | (∀ n < p, RadialAlias.directionalDeriv v (J (RadialAlias.sourceJet J f n)) = |
| 203 | RadialAlias.sourceJet J f n) → |
| 204 | FiniteJetBound m (RadialAlias.sourceJet J f p) (Prod.fst ⁻¹' Icc a b) C → |
| 205 | ∀ j ≤ m, ∀ z : ℝ × E, |
| 206 | ‖iteratedFDeriv ℝ j (exactAlias χ M v f) z‖ ≤ K * C * (|M|⁻¹) ^ p := by |
| 207 | obtain ⟨B, hB, hcut⟩ := RadialPullback.radial_multiplier_finiteJets_uniform (E := E) (V := F) |
| 208 | a b (contDiff_infty_iff_deriv.mp hχ).2 m |
| 209 | have hL : 0 ≤ b - a := sub_nonneg.mpr hab |
| 210 | refine ⟨B * (b - a), mul_nonneg hB hL, ?_⟩ |
| 211 | intro M v J f p C hM hC hf hs hJ hsJ hr hb j hj z |
| 212 | by_cases hz : z.1 ∈ Icc a b |
| 213 | · have h := hcut (TransportPrimitive.totalIntegral M v f) |
| 214 | (TransportPrimitive.totalIntegral_contDiff hf hs) z hz (C * (b - a) * (|M|⁻¹) ^ p) |
| 215 | (by positivity) |
| 216 | (fun i hi => totalIntegral_sourceJet_bound J f p m hab hM hf hs hJ hsJ hr hb i hi z) |
| 217 | j hj |
| 218 | convert! h using 1 |
| 219 | ring |
| 220 | · have hsj := TransportPrimitive.iteratedFDeriv_supported |
| 221 | (exactAlias_supported (M := M) (v := v) (f := f) hleft hright) j |
| 222 | have heq : iteratedFDeriv ℝ j (exactAlias χ M v f) z = 0 := by |
| 223 | by_contra hnonzero |
| 224 | exact hz (hsj hnonzero) |
| 225 | rw [heq, norm_zero] |
| 226 | positivity |
| 227 | |
| 228 | theorem totalIntegral_uniform_of_inverse {a b : ℝ} {v : E} |
| 229 | (G : (ℝ × E → F) → Prop) (J : (ℝ × E → F) → ℝ × E → F) (loss : ℕ) |
| 230 | (hab : a ≤ b) |
| 231 | (hregular : ∀ f, G f → ContDiff ℝ ∞ f ∧ RadialAlias.RadiallySupported a b f) |
| 232 | (hsmooth : ∀ f, G f → ContDiff ℝ ∞ (J f)) |
| 233 | (hsupport : ∀ f, G f → RadialAlias.RadiallySupported a b (J f)) |
| 234 | (hsolve : ∀ f, G f → RadialAlias.directionalDeriv v (J f) = f) |
| 235 | (hclosed : ∀ f, G f → G (RadialAlias.slowDeriv (J f))) |
| 236 | (htame : ∀ m : ℕ, ∃ K : ℝ, 0 ≤ K ∧ ∀ f, G f → ∀ C : ℝ, 0 ≤ C → |
| 237 | FiniteJetBound (m + loss) f (Prod.fst ⁻¹' Icc a b) C → |
| 238 | FiniteJetBound m (J f) (Prod.fst ⁻¹' Icc a b) (K * C)) (m p : ℕ) : |
| 239 | ∃ K : ℝ, 0 ≤ K ∧ ∀ f, G f → ∀ C : ℝ, 0 ≤ C → |
| 240 | FiniteJetBound (m + (loss + 1) * p) f (Prod.fst ⁻¹' Icc a b) C → |
| 241 | ∀ M : ℝ, M ≠ 0 → ∀ j ≤ m, ∀ z : ℝ × E, |
| 242 | ‖iteratedFDeriv ℝ j (TransportPrimitive.totalIntegral M v f) z‖ ≤ |
| 243 | K * C * (|M|⁻¹) ^ p := by |
| 244 | obtain ⟨B, hB, hbound⟩ := sourceJet_uniform_finiteJets G J (Prod.fst ⁻¹' Icc a b) |
| 245 | loss hclosed hsmooth htame p m |
| 246 | refine ⟨B * (b - a), mul_nonneg hB (sub_nonneg.mpr hab), ?_⟩ |
| 247 | intro f hf C hC hb M hM j hj z |
| 248 | have h := totalIntegral_sourceJet_bound J f p m hab hM (hregular f hf).1 (hregular f hf).2 |
| 249 | (fun n _ => hsmooth _ (sourceJet_mem G J hclosed n hf)) |
| 250 | (fun n _ => hsupport _ (sourceJet_mem G J hclosed n hf)) |
| 251 | (fun n _ => hsolve _ (sourceJet_mem G J hclosed n hf)) |
| 252 | (hbound f hf C hC hb) j hj z |
| 253 | convert! h using 1 |
| 254 | ring |
| 255 | |
| 256 | theorem exactAlias_uniform_of_inverse {a b : ℝ} {v : E} {χ : ℝ → ℝ} |
| 257 | (G : (ℝ × E → F) → Prop) (J : (ℝ × E → F) → ℝ × E → F) (loss : ℕ) |
| 258 | (hab : a ≤ b) (hχ : ContDiff ℝ ∞ χ) |
| 259 | (hleft : ∀ u ≤ a, χ u = 0) (hright : ∀ u, b ≤ u → χ u = 1) |
| 260 | (hregular : ∀ f, G f → ContDiff ℝ ∞ f ∧ RadialAlias.RadiallySupported a b f) |
| 261 | (hsmooth : ∀ f, G f → ContDiff ℝ ∞ (J f)) |
| 262 | (hsupport : ∀ f, G f → RadialAlias.RadiallySupported a b (J f)) |
| 263 | (hsolve : ∀ f, G f → RadialAlias.directionalDeriv v (J f) = f) |
| 264 | (hclosed : ∀ f, G f → G (RadialAlias.slowDeriv (J f))) |
| 265 | (htame : ∀ m : ℕ, ∃ K : ℝ, 0 ≤ K ∧ ∀ f, G f → ∀ C : ℝ, 0 ≤ C → |
| 266 | FiniteJetBound (m + loss) f (Prod.fst ⁻¹' Icc a b) C → |
| 267 | FiniteJetBound m (J f) (Prod.fst ⁻¹' Icc a b) (K * C)) (m p : ℕ) : |
| 268 | ∃ K : ℝ, 0 ≤ K ∧ ∀ f, G f → ∀ C : ℝ, 0 ≤ C → |
| 269 | FiniteJetBound (m + (loss + 1) * p) f (Prod.fst ⁻¹' Icc a b) C → |
| 270 | ∀ M : ℝ, M ≠ 0 → ∀ j ≤ m, ∀ z : ℝ × E, |
| 271 | ‖iteratedFDeriv ℝ j (exactAlias χ M v f) z‖ ≤ K * C * (|M|⁻¹) ^ p := by |
| 272 | obtain ⟨A, hA, hAbound⟩ := exactAlias_sourceJet_bound (E := E) (F := F) |
| 273 | hab hχ hleft hright m |
| 274 | obtain ⟨B, hB, hBbound⟩ := sourceJet_uniform_finiteJets G J (Prod.fst ⁻¹' Icc a b) |
| 275 | loss hclosed hsmooth htame p m |
| 276 | refine ⟨A * B, mul_nonneg hA hB, ?_⟩ |
| 277 | intro f hf C hC hb M hM j hj z |
| 278 | have h := hAbound M v J f p (B * C) hM (mul_nonneg hB hC) |
| 279 | (hregular f hf).1 (hregular f hf).2 |
| 280 | (fun n _ => hsmooth _ (sourceJet_mem G J hclosed n hf)) |
| 281 | (fun n _ => hsupport _ (sourceJet_mem G J hclosed n hf)) |
| 282 | (fun n _ => hsolve _ (sourceJet_mem G J hclosed n hf)) |
| 283 | (hBbound f hf C hC hb) j hj z |
| 284 | simpa only [mul_assoc] using h |
| 285 | |
| 286 | end Integrals |
| 287 | |
| 288 | section RealTransfer |
| 289 | |
| 290 | variable {D E : Type} [NormedAddCommGroup D] [NormedSpace ℝ D] |
| 291 | [NormedAddCommGroup E] [NormedSpace ℝ E] |
| 292 | |
| 293 | noncomputable def complexify (f : D → ℝ) (z : D) : ℂ := f z |
| 294 | |
| 295 | theorem complexify_smooth {f : D → ℝ} (hf : ContDiff ℝ ∞ f) : |
| 296 | ContDiff ℝ ∞ (complexify f) := Complex.ofRealCLM.contDiff.comp hf |
| 297 | |
| 298 | theorem norm_iteratedFDeriv_complexify {f : D → ℝ} (hf : ContDiff ℝ ∞ f) |
| 299 | (m : ℕ) (z : D) : |
| 300 | ‖iteratedFDeriv ℝ m (complexify f) z‖ = ‖iteratedFDeriv ℝ m f z‖ := |
| 301 | Complex.ofRealLI.norm_iteratedFDeriv_comp_left hf.contDiffAt (nat_le_smooth m) |
| 302 | |
| 303 | omit [NormedAddCommGroup E] [NormedSpace ℝ E] in |
| 304 | theorem complexify_supported {a b : ℝ} {f : ℝ × E → ℝ} |
| 305 | (hs : RadialAlias.RadiallySupported a b f) : |
| 306 | RadialAlias.RadiallySupported a b (complexify f) := by |
| 307 | intro z hz |
| 308 | apply hs |
| 309 | intro h |
| 310 | exact hz (by simp only [complexify, h, Complex.ofReal_zero]) |
| 311 | |
| 312 | theorem totalIntegral_complexify (M : ℝ) (v : E) (f : ℝ × E → ℝ) : |
| 313 | TransportPrimitive.totalIntegral M v (complexify f) = |
| 314 | complexify (TransportPrimitive.totalIntegral M v f) := by |
| 315 | funext z |
| 316 | exact Complex.ofRealLI.integral_comp_comm (fun u => f (TransportPrimitive.shift M v z u)) |
| 317 | |
| 318 | theorem norm_iteratedFDeriv_totalIntegral_complexify {a b M : ℝ} {v : E} |
| 319 | {f : ℝ × E → ℝ} (hf : ContDiff ℝ ∞ f) (hs : RadialAlias.RadiallySupported a b f) |
| 320 | (m : ℕ) (z : ℝ × E) : |
| 321 | ‖iteratedFDeriv ℝ m (TransportPrimitive.totalIntegral M v (complexify f)) z‖ = |
| 322 | ‖iteratedFDeriv ℝ m (TransportPrimitive.totalIntegral M v f) z‖ := by |
| 323 | rw [totalIntegral_complexify] |
| 324 | exact norm_iteratedFDeriv_complexify (TransportPrimitive.totalIntegral_contDiff hf hs) m z |
| 325 | |
| 326 | theorem exactAlias_complexify (χ : ℝ → ℝ) (M : ℝ) (v : E) (f : ℝ × E → ℝ) : |
| 327 | exactAlias χ M v (complexify f) = complexify (exactAlias χ M v f) := by |
| 328 | funext z |
| 329 | rw [exactAlias, totalIntegral_complexify] |
| 330 | exact (Complex.ofRealCLM.map_smul (deriv χ z.1) |
| 331 | (TransportPrimitive.totalIntegral M v f z)).symm |
| 332 | |
| 333 | theorem norm_iteratedFDeriv_exactAlias_complexify {a b M : ℝ} {v : E} |
| 334 | {χ : ℝ → ℝ} {f : ℝ × E → ℝ} (hχ : ContDiff ℝ ∞ χ) (hf : ContDiff ℝ ∞ f) |
| 335 | (hs : RadialAlias.RadiallySupported a b f) (m : ℕ) (z : ℝ × E) : |
| 336 | ‖iteratedFDeriv ℝ m (exactAlias χ M v (complexify f)) z‖ = |
| 337 | ‖iteratedFDeriv ℝ m (exactAlias χ M v f) z‖ := by |
| 338 | rw [exactAlias_complexify] |
| 339 | exact norm_iteratedFDeriv_complexify (exactAlias_smooth hχ hf hs) m z |
| 340 | |
| 341 | end RealTransfer |
| 342 | |
| 343 | section ParameterGeometry |
| 344 | |
| 345 | variable {S F : Type} [NormedAddCommGroup S] [NormedSpace ℝ S] |
| 346 | [NormedAddCommGroup F] [NormedSpace ℝ F] |
| 347 | |
| 348 | /-- Reassociate radial, slow, and torus variables without changing the norm. -/ |
| 349 | noncomputable def toProduct (f : ℝ × (S × Plane) → F) (z : (ℝ × S) × Plane) : F := |
| 350 | f (z.1.1, (z.1.2, z.2)) |
| 351 | |
| 352 | noncomputable def fromProduct (f : (ℝ × S) × Plane → F) (z : ℝ × (S × Plane)) : F := |
| 353 | f ((z.1, z.2.1), z.2.2) |
| 354 | |
| 355 | omit [NormedAddCommGroup S] [NormedSpace ℝ S] [NormedAddCommGroup F] [NormedSpace ℝ F] in |
| 356 | @[simp] theorem fromProduct_toProduct (f : ℝ × (S × Plane) → F) : |
| 357 | fromProduct (toProduct f) = f := rfl |
| 358 | |
| 359 | omit [NormedAddCommGroup S] [NormedSpace ℝ S] [NormedAddCommGroup F] [NormedSpace ℝ F] in |
| 360 | @[simp] theorem toProduct_fromProduct (f : (ℝ × S) × Plane → F) : |
| 361 | toProduct (fromProduct f) = f := rfl |
| 362 | |
| 363 | theorem toProduct_smooth {f : ℝ × (S × Plane) → F} (hf : ContDiff ℝ ∞ f) : |
| 364 | ContDiff ℝ ∞ (toProduct f) := |
| 365 | hf.comp (LinearIsometryEquiv.prodAssoc ℝ ℝ S Plane).toContinuousLinearEquiv.contDiff |
| 366 | |
| 367 | theorem fromProduct_smooth {f : (ℝ × S) × Plane → F} (hf : ContDiff ℝ ∞ f) : |
| 368 | ContDiff ℝ ∞ (fromProduct f) := |
| 369 | hf.comp (LinearIsometryEquiv.prodAssoc ℝ ℝ S Plane).symm.toContinuousLinearEquiv.contDiff |
| 370 | |
| 371 | theorem norm_iteratedFDeriv_toProduct (f : ℝ × (S × Plane) → F) |
| 372 | (m : ℕ) (z : (ℝ × S) × Plane) : |
| 373 | ‖iteratedFDeriv ℝ m (toProduct f) z‖ = |
| 374 | ‖iteratedFDeriv ℝ m f (z.1.1, (z.1.2, z.2))‖ := |
| 375 | (LinearIsometryEquiv.prodAssoc ℝ ℝ S Plane).norm_iteratedFDeriv_comp_right f z m |
| 376 | |
| 377 | theorem norm_iteratedFDeriv_fromProduct (f : (ℝ × S) × Plane → F) |
| 378 | (m : ℕ) (z : ℝ × (S × Plane)) : |
| 379 | ‖iteratedFDeriv ℝ m (fromProduct f) z‖ = |
| 380 | ‖iteratedFDeriv ℝ m f ((z.1, z.2.1), z.2.2)‖ := |
| 381 | (LinearIsometryEquiv.prodAssoc ℝ ℝ S Plane).symm.norm_iteratedFDeriv_comp_right f z m |
| 382 | |
| 383 | noncomputable def sourceMean (f : ℝ × (S × Plane) → F) (p : ℝ × S) : F := |
| 384 | FourierAlias.torusMean (fun Y => f (p.1, (p.2, Y))) |
| 385 | |
| 386 | noncomputable def SourcePeriodic (f : ℝ × (S × Plane) → F) : Prop := |
| 387 | ∀ U s, FourierAlias.TorusPeriodic (fun Y => f (U, (s, Y))) |
| 388 | |
| 389 | noncomputable def radialSlice (f : ℝ × (S × Plane) → F) (s : S) (z : ℝ × Plane) : F := |
| 390 | f (z.1, (s, z.2)) |
| 391 | |
| 392 | theorem radialSlice_smooth {f : ℝ × (S × Plane) → F} (hf : ContDiff ℝ ∞ f) (s : S) : |
| 393 | ContDiff ℝ ∞ (radialSlice f s) := |
| 394 | hf.comp (contDiff_fst.prodMk (contDiff_const.prodMk contDiff_snd)) |
| 395 | |
| 396 | omit [NormedAddCommGroup S] [NormedSpace ℝ S] [NormedSpace ℝ F] in |
| 397 | theorem radialSlice_supported {a b : ℝ} {f : ℝ × (S × Plane) → F} |
| 398 | (hs : RadialAlias.RadiallySupported a b f) (s : S) : |
| 399 | RadialAlias.RadiallySupported a b (radialSlice f s) := |
| 400 | fun z hz => @hs (z.1, (s, z.2)) hz |
| 401 | |
| 402 | theorem totalIntegral_radialSlice (M : ℝ) (v : Plane) (f : ℝ × (S × Plane) → F) |
| 403 | (U : ℝ) (s : S) (Y : Plane) : |
| 404 | TransportPrimitive.totalIntegral M ((0 : S), v) f (U, (s, Y)) = |
| 405 | TransportPrimitive.totalIntegral M v (radialSlice f s) (U, Y) := by |
| 406 | apply integral_congr_ae |
| 407 | filter_upwards [] with u |
| 408 | simp only [TransportPrimitive.shift, radialSlice, Prod.mk_add_mk, Prod.smul_mk, |
| 409 | smul_zero, add_zero] |
| 410 | |
| 411 | theorem sourceMean_totalIntegral {a b M : ℝ} {v : Plane} {f : ℝ × (S × Plane) → F} |
| 412 | (hab : a ≤ b) (hf : ContDiff ℝ ∞ f) (hp : SourcePeriodic f) |
| 413 | (hs : RadialAlias.RadiallySupported a b f) (U : ℝ) (s : S) : |
| 414 | sourceMean (TransportPrimitive.totalIntegral M ((0 : S), v) f) (U, s) = |
| 415 | ∫ u in a..b, sourceMean f (u, s) := by |
| 416 | change FourierAlias.torusMean (fun Y => TransportPrimitive.totalIntegral M ((0 : S), v) f |
| 417 | (U, (s, Y))) = _ |
| 418 | simp_rw [totalIntegral_radialSlice] |
| 419 | exact FourierAlias.torusMean_totalIntegral hab (radialSlice_smooth hf s).continuous |
| 420 | (fun u => hp u s) (radialSlice_supported hs s) U |
| 421 | |
| 422 | theorem exactAlias_sourceMean_zero [CompleteSpace F] {a b M : ℝ} {v : Plane} |
| 423 | {f : ℝ × (S × Plane) → F} (χ : ℝ → ℝ) (hab : a ≤ b) |
| 424 | (hf : ContDiff ℝ ∞ f) (hp : SourcePeriodic f) |
| 425 | (hs : RadialAlias.RadiallySupported a b f) |
| 426 | (hm : ∀ s, (∫ u in a..b, sourceMean f (u, s)) = 0) (p : ℝ × S) : |
| 427 | sourceMean (exactAlias χ M ((0 : S), v) f) p = 0 := by |
| 428 | change FourierAlias.torusMean (fun Y => deriv χ p.1 • |
| 429 | TransportPrimitive.totalIntegral M ((0 : S), v) f (p.1, (p.2, Y))) = 0 |
| 430 | rw [FourierAlias.torusMean_smul] |
| 431 | change deriv χ p.1 • sourceMean (TransportPrimitive.totalIntegral M ((0 : S), v) f) p = 0 |
| 432 | rw [sourceMean_totalIntegral hab hf hp hs, hm p.2, smul_zero] |
| 433 | |
| 434 | omit [NormedAddCommGroup S] [NormedSpace ℝ S] in |
| 435 | theorem sourceMean_complexify (f : ℝ × (S × Plane) → ℝ) (p : ℝ × S) : |
| 436 | sourceMean (complexify f) p = ((sourceMean f p : ℝ) : ℂ) := by |
| 437 | simp only [sourceMean, FourierAlias.torusMean, complexify, intervalIntegral.integral_ofReal] |
| 438 | |
| 439 | end ParameterGeometry |
| 440 | |
| 441 | section RealInverse |
| 442 | |
| 443 | variable {P : Type} [NormedAddCommGroup P] [NormedSpace ℝ P] |
| 444 | |
| 445 | noncomputable def ParameterPeriodic {F : Type} (f : P × Plane → F) : Prop := |
| 446 | ∀ p, FourierAlias.TorusPeriodic (fun Y => f (p, Y)) |
| 447 | |
| 448 | noncomputable def parameterMean {F : Type} [NormedAddCommGroup F] [NormedSpace ℝ F] |
| 449 | (f : P × Plane → F) (p : P) : F := FourierAlias.torusMean (fun Y => f (p, Y)) |
| 450 | |
| 451 | omit [NormedAddCommGroup P] [NormedSpace ℝ P] in |
| 452 | theorem complexify_parameterPeriodic {f : P × Plane → ℝ} (hp : ParameterPeriodic f) : |
| 453 | SmoothFamilyTorusInverse.Periodic (complexify f) := by |
| 454 | intro p Y k |
| 455 | exact congrArg Complex.ofReal (hp p Y k) |
| 456 | |
| 457 | omit [NormedAddCommGroup P] [NormedSpace ℝ P] in |
| 458 | theorem parameterMean_complexify (f : P × Plane → ℝ) (p : P) : |
| 459 | parameterMean (complexify f) p = ((parameterMean f p : ℝ) : ℂ) := by |
| 460 | simp only [parameterMean, FourierAlias.torusMean, complexify, intervalIntegral.integral_ofReal] |
| 461 | |
| 462 | omit [NormedAddCommGroup P] [NormedSpace ℝ P] in |
| 463 | theorem familyMean_eq_parameterMean (f : P × Plane → ℂ) (p : P) : |
| 464 | SmoothFamilyTorusInverse.mean f p = parameterMean f p := |
| 465 | SmoothFamilyTorusInverse.mean_eq_integral f p |
| 466 | |
| 467 | theorem torusMean_map {F H : Type} [NormedAddCommGroup F] [NormedSpace ℝ F] |
| 468 | [NormedAddCommGroup H] [NormedSpace ℝ H] [CompleteSpace F] [CompleteSpace H] |
| 469 | (L : F →L[ℝ] H) {f : Plane → F} (hf : Continuous f) : |
| 470 | FourierAlias.torusMean (fun Y => L (f Y)) = L (FourierAlias.torusMean f) := by |
| 471 | have hx (y : ℝ) : (∫ x in (0 : ℝ)..1, L (f (x, y))) = |
| 472 | L (∫ x in (0 : ℝ)..1, f (x, y)) := |
| 473 | L.intervalIntegral_comp_comm |
| 474 | ((hf.comp (continuous_id.prodMk continuous_const)).intervalIntegrable _ _) |
| 475 | have hc : Continuous (fun y => ∫ x in (0 : ℝ)..1, f (x, y)) := |
| 476 | FourierAlias.continuous_parameter_interval (g := fun p : ℝ × ℝ => f (p.2, p.1)) |
| 477 | (hf.comp (continuous_snd.prodMk continuous_fst)) (by norm_num) |
| 478 | unfold FourierAlias.torusMean |
| 479 | simp_rw [hx] |
| 480 | exact L.intervalIntegral_comp_comm (hc.intervalIntegrable _ _) |
| 481 | |
| 482 | /-- A genuine real directional inverse, obtained from the actual complex |
| 483 | Fourier inverse by real part. -/ |
| 484 | noncomputable def realInverse (d : Direction) (f : P × Plane → ℝ) (z : P × Plane) : ℝ := |
| 485 | Complex.re (SmoothFamilyTorusInverse.inverse d (complexify f) z) |
| 486 | |
| 487 | noncomputable def realCentered (f : P × Plane → ℝ) (z : P × Plane) : ℝ := |
| 488 | f z - parameterMean f z.1 |
| 489 | |
| 490 | omit [NormedAddCommGroup P] [NormedSpace ℝ P] in |
| 491 | theorem complexify_realCentered (f : P × Plane → ℝ) : |
| 492 | complexify (realCentered f) = SmoothFamilyTorusInverse.nonbarPart (complexify f) := by |
| 493 | funext z |
| 494 | change ((f z - parameterMean f z.1 : ℝ) : ℂ) = |
| 495 | (f z : ℂ) - SmoothFamilyTorusInverse.mean (complexify f) z.1 |
| 496 | rw [Complex.ofReal_sub, familyMean_eq_parameterMean, parameterMean_complexify] |
| 497 | |
| 498 | omit [NormedAddCommGroup P] [NormedSpace ℝ P] in |
| 499 | theorem realCentered_eq_re_nonbar (f : P × Plane → ℝ) : |
| 500 | realCentered f = fun z => Complex.re (SmoothFamilyTorusInverse.nonbarPart (complexify f) z) := by |
| 501 | funext z |
| 502 | have h := congrArg Complex.re (congrFun (complexify_realCentered f) z) |
| 503 | exact h |
| 504 | |
| 505 | omit [NormedAddCommGroup P] [NormedSpace ℝ P] in |
| 506 | theorem realCentered_periodic {f : P × Plane → ℝ} (hp : ParameterPeriodic f) : |
| 507 | ParameterPeriodic (realCentered f) := by |
| 508 | intro p Y k |
| 509 | exact congrArg (fun c => c - parameterMean f p) (hp p Y k) |
| 510 | |
| 511 | omit [NormedAddCommGroup P] [NormedSpace ℝ P] in |
| 512 | theorem realCentered_preserves_parameter_support (f : P × Plane → ℝ) |
| 513 | (S : Set P) (hs : ∀ p, p ∉ S → ∀ Y, f (p, Y) = 0) : |
| 514 | ∀ p, p ∉ S → ∀ Y, realCentered f (p, Y) = 0 := by |
| 515 | have hc := SmoothFamilyTorusInverse.nonbarPart_preserves_parameter_support (complexify f) S |
| 516 | (fun p hp Y => by simp only [complexify, hs p hp Y, Complex.ofReal_zero]) |
| 517 | intro p hp Y |
| 518 | rw [realCentered_eq_re_nonbar] |
| 519 | change Complex.re (SmoothFamilyTorusInverse.nonbarPart (complexify f) (p, Y)) = 0 |
| 520 | rw [hc p hp Y, Complex.zero_re] |
| 521 | |
| 522 | omit [NormedAddCommGroup P] [NormedSpace ℝ P] in |
| 523 | theorem realInverse_periodic (d : Direction) (f : P × Plane → ℝ) : |
| 524 | ParameterPeriodic (realInverse d f) := by |
| 525 | intro p Y k |
| 526 | exact congrArg Complex.re (SmoothFamilyTorusInverse.inverse_periodic d (complexify f) p Y k) |
| 527 | |
| 528 | omit [NormedAddCommGroup P] [NormedSpace ℝ P] in |
| 529 | theorem realInverse_preserves_parameter_support (d : Direction) (f : P × Plane → ℝ) |
| 530 | (S : Set P) (hs : ∀ p, p ∉ S → ∀ Y, f (p, Y) = 0) : |
| 531 | ∀ p, p ∉ S → ∀ Y, realInverse d f (p, Y) = 0 := by |
| 532 | have hh := SmoothFamilyTorusInverse.inverse_preserves_parameter_support d (complexify f) S |
| 533 | (fun p hp Y => by simp only [complexify, hs p hp Y, Complex.ofReal_zero]) |
| 534 | intro p hp Y |
| 535 | change Complex.re (SmoothFamilyTorusInverse.inverse d (complexify f) (p, Y)) = 0 |
| 536 | rw [hh p hp Y, Complex.zero_re] |
| 537 | |
| 538 | variable [FiniteDimensional ℝ P] |
| 539 | |
| 540 | theorem realCentered_smooth {f : P × Plane → ℝ} (hf : ContDiff ℝ ∞ f) |
| 541 | (hp : ParameterPeriodic f) : ContDiff ℝ ∞ (realCentered f) := by |
| 542 | rw [realCentered_eq_re_nonbar] |
| 543 | exact Complex.reCLM.contDiff.comp |
| 544 | (SmoothFamilyTorusInverse.nonbarPart_smooth (complexify_smooth hf) (complexify_parameterPeriodic hp)) |
| 545 | |
| 546 | omit [FiniteDimensional ℝ P] in |
| 547 | theorem realCentered_zeroMean {f : P × Plane → ℝ} (hf : ContDiff ℝ ∞ f) |
| 548 | (hp : ParameterPeriodic f) : ∀ p, parameterMean (realCentered f) p = 0 := by |
| 549 | intro p |
| 550 | have hc := SmoothFamilyTorusInverse.nonbarPart_zeroMean (complexify_smooth hf) |
| 551 | (complexify_parameterPeriodic hp) p |
| 552 | rw [familyMean_eq_parameterMean, ← complexify_realCentered, parameterMean_complexify] at hc |
| 553 | exact Complex.ofReal_eq_zero.mp hc |
| 554 | |
| 555 | theorem realInverse_smooth (d : Direction) {f : P × Plane → ℝ} |
| 556 | (hf : ContDiff ℝ ∞ f) (hp : ParameterPeriodic f) : ContDiff ℝ ∞ (realInverse d f) := |
| 557 | Complex.reCLM.contDiff.comp |
| 558 | (SmoothFamilyTorusInverse.inverse_smooth d (complexify_smooth hf) (complexify_parameterPeriodic hp)) |
| 559 | |
| 560 | theorem realInverse_zeroMean (d : Direction) {f : P × Plane → ℝ} |
| 561 | (hf : ContDiff ℝ ∞ f) (hp : ParameterPeriodic f) : |
| 562 | ∀ p, parameterMean (realInverse d f) p = 0 := by |
| 563 | intro p |
| 564 | have hi := SmoothFamilyTorusInverse.inverse_smooth d (complexify_smooth hf) |
| 565 | (complexify_parameterPeriodic hp) |
| 566 | have hm := SmoothFamilyTorusInverse.inverse_zeroMean d (complexify_smooth hf) |
| 567 | (complexify_parameterPeriodic hp) p |
| 568 | change FourierAlias.torusMean (fun Y => Complex.reCLM |
| 569 | (SmoothFamilyTorusInverse.inverse d (complexify f) (p, Y))) = 0 |
| 570 | rw [torusMean_map Complex.reCLM |
| 571 | (f := fun Y => SmoothFamilyTorusInverse.inverse d (complexify f) (p, Y)) |
| 572 | (hi.continuous.comp (continuous_const.prodMk continuous_id))] |
| 573 | change Complex.re (parameterMean (SmoothFamilyTorusInverse.inverse d (complexify f)) p) = 0 |
| 574 | rw [← familyMean_eq_parameterMean, hm, Complex.zero_re] |
| 575 | |
| 576 | theorem realInverse_solves (d : Direction) {f : P × Plane → ℝ} |
| 577 | (hf : ContDiff ℝ ∞ f) (hp : ParameterPeriodic f) (hm : ∀ p, parameterMean f p = 0) |
| 578 | (z : P × Plane) : |
| 579 | fderiv ℝ (realInverse d f) z (0, vector d) = f z := by |
| 580 | have hi := SmoothFamilyTorusInverse.inverse_smooth d (complexify_smooth hf) |
| 581 | (complexify_parameterPeriodic hp) |
| 582 | have hmc : SmoothFamilyTorusInverse.ZeroMean (complexify f) := by |
| 583 | intro p |
| 584 | rw [familyMean_eq_parameterMean, parameterMean_complexify, hm p, Complex.ofReal_zero] |
| 585 | have hsolve := congrFun (SmoothFamilyTorusInverse.inverse_solves d (complexify_smooth hf) |
| 586 | (complexify_parameterPeriodic hp) hmc) z |
| 587 | have heq := (Complex.reCLM.hasFDerivAt.comp z |
| 588 | ((hi.differentiable (by simp)) z).hasFDerivAt).fderiv |
| 589 | change fderiv ℝ (Complex.reCLM ∘ SmoothFamilyTorusInverse.inverse d (complexify f)) z |
| 590 | (0, vector d) = f z |
| 591 | rw [heq] |
| 592 | change Complex.re (fderiv ℝ (SmoothFamilyTorusInverse.inverse d (complexify f)) z |
| 593 | (0, vector d)) = f z |
| 594 | rw [show fderiv ℝ (SmoothFamilyTorusInverse.inverse d (complexify f)) z (0, vector d) = |
| 595 | complexify f z from hsolve] |
| 596 | rfl |
| 597 | |
| 598 | theorem norm_iteratedFDeriv_realInverse_le (d : Direction) {f : P × Plane → ℝ} |
| 599 | (hf : ContDiff ℝ ∞ f) (hp : ParameterPeriodic f) (m : ℕ) (z : P × Plane) : |
| 600 | ‖iteratedFDeriv ℝ m (realInverse d f) z‖ ≤ |
| 601 | ‖iteratedFDeriv ℝ m (SmoothFamilyTorusInverse.inverse d (complexify f)) z‖ := by |
| 602 | have hi := SmoothFamilyTorusInverse.inverse_smooth d (complexify_smooth hf) |
| 603 | (complexify_parameterPeriodic hp) |
| 604 | have hnorm : ‖Complex.reCLM‖ ≤ 1 := by |
| 605 | apply ContinuousLinearMap.opNorm_le_bound _ zero_le_one |
| 606 | intro c |
| 607 | simpa only [Complex.reCLM_apply, Real.norm_eq_abs, one_mul] using Complex.abs_re_le_norm c |
| 608 | exact (norm_iteratedFDeriv_map Complex.reCLM hi m z).trans |
| 609 | ((mul_le_mul_of_nonneg_right hnorm (norm_nonneg _)).trans_eq (one_mul _)) |
| 610 | |
| 611 | theorem realInverse_finiteJets (d : Direction) (m : ℕ) : |
| 612 | ∃ K : ℝ, 0 ≤ K ∧ ∀ (f : P × Plane → ℝ) (A : Set P) (C : ℝ), |
| 613 | ContDiff ℝ ∞ f → ParameterPeriodic f → 0 ≤ C → |
| 614 | (∀ j ≤ m + 5, ∀ p ∈ A, ∀ Y, ‖iteratedFDeriv ℝ j f (p, Y)‖ ≤ C) → |
| 615 | ∀ j ≤ m, ∀ p ∈ A, ∀ Y, ‖iteratedFDeriv ℝ j (realInverse d f) (p, Y)‖ ≤ K * C := by |
| 616 | obtain ⟨K, hK, hb⟩ := SmoothFamilyTorusInverse.inverse_finiteJets (P := P) d m |
| 617 | refine ⟨K, hK, ?_⟩ |
| 618 | intro f A C hf hp hC hsource j hj p hpA Y |
| 619 | apply (norm_iteratedFDeriv_realInverse_le d hf hp j (p, Y)).trans |
| 620 | apply hb (complexify f) A C (complexify_smooth hf) (complexify_parameterPeriodic hp) hC |
| 621 | _ j hj p hpA Y |
| 622 | intro i hi q hq Z |
| 623 | rw [norm_iteratedFDeriv_complexify hf] |
| 624 | exact hsource i hi q hq Z |
| 625 | |
| 626 | theorem realCentered_finiteJets (m : ℕ) : |
| 627 | ∃ K : ℝ, 0 ≤ K ∧ ∀ (f : P × Plane → ℝ) (A : Set P) (C : ℝ), |
| 628 | ContDiff ℝ ∞ f → ParameterPeriodic f → 0 ≤ C → |
| 629 | (∀ j ≤ m + 4, ∀ p ∈ A, ∀ Y, ‖iteratedFDeriv ℝ j f (p, Y)‖ ≤ C) → |
| 630 | ∀ j ≤ m, ∀ p ∈ A, ∀ Y, ‖iteratedFDeriv ℝ j (realCentered f) (p, Y)‖ ≤ K * C := by |
| 631 | obtain ⟨K, hK, hb⟩ := SmoothFamilyTorusInverse.nonbarPart_finiteJets (P := P) m |
| 632 | refine ⟨K, hK, ?_⟩ |
| 633 | intro f A C hf hp hC hsource j hj p hpA Y |
| 634 | rw [← norm_iteratedFDeriv_complexify (realCentered_smooth hf hp), complexify_realCentered] |
| 635 | apply hb (complexify f) A C (complexify_smooth hf) (complexify_parameterPeriodic hp) hC |
| 636 | _ j hj p hpA Y |
| 637 | intro i hi q hq Z |
| 638 | rw [norm_iteratedFDeriv_complexify hf] |
| 639 | exact hsource i hi q hq Z |
| 640 | |
| 641 | end RealInverse |
| 642 | |
| 643 | section TransportInverse |
| 644 | |
| 645 | variable {S : Type} [NormedAddCommGroup S] [NormedSpace ℝ S] [FiniteDimensional ℝ S] |
| 646 | |
| 647 | noncomputable def familyInverse (d : Direction) (f : ℝ × (S × Plane) → ℂ) : |
| 648 | ℝ × (S × Plane) → ℂ := fromProduct (SmoothFamilyTorusInverse.inverse d (toProduct f)) |
| 649 | |
| 650 | omit [NormedAddCommGroup S] [NormedSpace ℝ S] [FiniteDimensional ℝ S] in |
| 651 | theorem mean_toProduct (f : ℝ × (S × Plane) → ℂ) (p : ℝ × S) : |
| 652 | SmoothFamilyTorusInverse.mean (toProduct f) p = sourceMean f p := |
| 653 | SmoothFamilyTorusInverse.mean_eq_integral _ _ |
| 654 | |
| 655 | noncomputable def realCenterSource (f : ℝ × (S × Plane) → ℝ) : ℝ × (S × Plane) → ℝ := |
| 656 | fromProduct (realCentered (toProduct f)) |
| 657 | |
| 658 | omit [NormedAddCommGroup S] [NormedSpace ℝ S] [FiniteDimensional ℝ S] in |
| 659 | theorem realCenterSource_apply (f : ℝ × (S × Plane) → ℝ) (z : ℝ × (S × Plane)) : |
| 660 | realCenterSource f z = f z - sourceMean f (z.1, z.2.1) := rfl |
| 661 | |
| 662 | theorem realCenterSource_smooth {f : ℝ × (S × Plane) → ℝ} |
| 663 | (hf : ContDiff ℝ ∞ f) (hp : SourcePeriodic f) : ContDiff ℝ ∞ (realCenterSource f) := |
| 664 | fromProduct_smooth (realCentered_smooth (toProduct_smooth hf) (fun p => hp p.1 p.2)) |
| 665 | |
| 666 | omit [NormedAddCommGroup S] [NormedSpace ℝ S] [FiniteDimensional ℝ S] in |
| 667 | theorem realCenterSource_periodic {f : ℝ × (S × Plane) → ℝ} (hp : SourcePeriodic f) : |
| 668 | SourcePeriodic (realCenterSource f) := by |
| 669 | intro U s Y k |
| 670 | exact realCentered_periodic (fun p => hp p.1 p.2) (U, s) Y k |
| 671 | |
| 672 | omit [FiniteDimensional ℝ S] in |
| 673 | theorem realCenterSource_zeroMean {f : ℝ × (S × Plane) → ℝ} |
| 674 | (hf : ContDiff ℝ ∞ f) (hp : SourcePeriodic f) : ∀ p, sourceMean (realCenterSource f) p = 0 := |
| 675 | realCentered_zeroMean (toProduct_smooth hf) (fun p => hp p.1 p.2) |
| 676 | |
| 677 | omit [NormedAddCommGroup S] [NormedSpace ℝ S] [FiniteDimensional ℝ S] in |
| 678 | theorem realCenterSource_supported {a b : ℝ} {f : ℝ × (S × Plane) → ℝ} |
| 679 | (hs : RadialAlias.RadiallySupported a b f) : |
| 680 | RadialAlias.RadiallySupported a b (realCenterSource f) := by |
| 681 | have hh : ∀ p : ℝ × S, p ∉ (Prod.fst ⁻¹' Icc a b) → ∀ Y : Plane, |
| 682 | toProduct f (p, Y) = 0 := by |
| 683 | intro p hp Y |
| 684 | by_contra hn |
| 685 | exact hp (@hs (p.1, (p.2, Y)) hn) |
| 686 | have hi := realCentered_preserves_parameter_support (toProduct f) (Prod.fst ⁻¹' Icc a b) hh |
| 687 | intro z hz |
| 688 | by_contra hn |
| 689 | exact hz (hi (z.1, z.2.1) hn z.2.2) |
| 690 | |
| 691 | theorem totalIntegral_realCenterSource {a b M : ℝ} {v : Plane} |
| 692 | {f : ℝ × (S × Plane) → ℝ} (hf : ContDiff ℝ ∞ f) (hp : SourcePeriodic f) |
| 693 | (hs : RadialAlias.RadiallySupported a b f) |
| 694 | (hm : ∀ s, (∫ U in a..b, sourceMean f (U, s)) = 0) (z : ℝ × (S × Plane)) : |
| 695 | TransportPrimitive.totalIntegral M ((0 : S), v) (realCenterSource f) z = |
| 696 | TransportPrimitive.totalIntegral M ((0 : S), v) f z := by |
| 697 | rw [TransportPrimitive.totalIntegral_eq_radialInterval (realCenterSource_smooth hf hp).continuous |
| 698 | (realCenterSource_supported hs), |
| 699 | TransportPrimitive.totalIntegral_eq_radialInterval hf.continuous hs] |
| 700 | have hshift (U : ℝ) : z.2 + (M * (U - z.1)) • ((0 : S), v) = |
| 701 | (z.2.1, z.2.2 + (M * (U - z.1)) • v) := by |
| 702 | apply Prod.ext <;> simp |
| 703 | simp_rw [hshift, realCenterSource_apply] |
| 704 | have hc : Continuous (fun U => f (U, (z.2.1, z.2.2 + (M * (U - z.1)) • v))) := |
| 705 | hf.continuous.comp (continuous_id.prodMk (continuous_const.prodMk |
| 706 | (continuous_const.add ((continuous_const.mul (continuous_id.sub continuous_const)).smul |
| 707 | continuous_const)))) |
| 708 | have ht : Continuous (fun U => Complex.re |
| 709 | (SmoothFamilyTorusInverse.mean (toProduct (complexify f)) (U, z.2.1))) := |
| 710 | Complex.continuous_re.comp |
| 711 | ((SmoothFamilyTorusInverse.coefficient_smooth (toProduct_smooth (complexify_smooth hf)) 0).continuous.comp |
| 712 | (continuous_id.prodMk continuous_const)) |
| 713 | have hmc : Continuous (fun U => sourceMean f (U, z.2.1)) := by |
| 714 | simpa only [mean_toProduct, sourceMean_complexify, Complex.ofReal_re] using ht |
| 715 | rw [intervalIntegral.integral_sub |
| 716 | (f := fun U => f (U, (z.2.1, z.2.2 + (M * (U - z.1)) • v))) |
| 717 | (g := fun U => sourceMean f (U, z.2.1)) (hc.intervalIntegrable _ _) (hmc.intervalIntegrable _ _), |
| 718 | hm z.2.1, sub_zero] |
| 719 | |
| 720 | theorem exactAlias_eq_realCenterSource {a b M : ℝ} {v : Plane} |
| 721 | {f : ℝ × (S × Plane) → ℝ} (χ : ℝ → ℝ) |
| 722 | (hf : ContDiff ℝ ∞ f) (hp : SourcePeriodic f) (hs : RadialAlias.RadiallySupported a b f) |
| 723 | (hm : ∀ s, (∫ U in a..b, sourceMean f (U, s)) = 0) : |
| 724 | exactAlias χ M ((0 : S), v) f = exactAlias χ M ((0 : S), v) (realCenterSource f) := by |
| 725 | funext z |
| 726 | unfold exactAlias |
| 727 | rw [totalIntegral_realCenterSource hf hp hs hm] |
| 728 | |
| 729 | omit [NormedAddCommGroup S] [NormedSpace ℝ S] [FiniteDimensional ℝ S] in |
| 730 | theorem periodic_toProduct {f : ℝ × (S × Plane) → ℂ} (hp : SourcePeriodic f) : |
| 731 | SmoothFamilyTorusInverse.Periodic (toProduct f) := fun p => hp p.1 p.2 |
| 732 | |
| 733 | theorem familyInverse_smooth (d : Direction) {f : ℝ × (S × Plane) → ℂ} |
| 734 | (hf : ContDiff ℝ ∞ f) (hp : SmoothFamilyTorusInverse.Periodic (toProduct f)) : |
| 735 | ContDiff ℝ ∞ (familyInverse d f) := |
| 736 | fromProduct_smooth (SmoothFamilyTorusInverse.inverse_smooth d (toProduct_smooth hf) hp) |
| 737 | |
| 738 | omit [NormedAddCommGroup S] [NormedSpace ℝ S] [FiniteDimensional ℝ S] in |
| 739 | theorem familyInverse_periodic (d : Direction) (f : ℝ × (S × Plane) → ℂ) : |
| 740 | SmoothFamilyTorusInverse.Periodic (toProduct (familyInverse d f)) := |
| 741 | SmoothFamilyTorusInverse.inverse_periodic d _ |
| 742 | |
| 743 | omit [FiniteDimensional ℝ S] in |
| 744 | theorem familyInverse_zeroMean (d : Direction) {f : ℝ × (S × Plane) → ℂ} |
| 745 | (hf : ContDiff ℝ ∞ f) (hp : SmoothFamilyTorusInverse.Periodic (toProduct f)) : |
| 746 | SmoothFamilyTorusInverse.ZeroMean (toProduct (familyInverse d f)) := |
| 747 | SmoothFamilyTorusInverse.inverse_zeroMean d (toProduct_smooth hf) hp |
| 748 | |
| 749 | omit [NormedAddCommGroup S] [NormedSpace ℝ S] [FiniteDimensional ℝ S] in |
| 750 | theorem familyInverse_supported (d : Direction) {a b : ℝ} {f : ℝ × (S × Plane) → ℂ} |
| 751 | (hs : RadialAlias.RadiallySupported a b f) : |
| 752 | RadialAlias.RadiallySupported a b (familyInverse d f) := by |
| 753 | have hh : ∀ p : ℝ × S, p ∉ (Prod.fst ⁻¹' Icc a b) → ∀ Y : Plane, |
| 754 | toProduct f (p, Y) = 0 := by |
| 755 | intro p hp Y |
| 756 | by_contra hn |
| 757 | exact hp (@hs (p.1, (p.2, Y)) hn) |
| 758 | have hi := SmoothFamilyTorusInverse.inverse_preserves_parameter_support d (toProduct f) |
| 759 | (Prod.fst ⁻¹' Icc a b) hh |
| 760 | intro z hz |
| 761 | by_contra hn |
| 762 | exact hz (hi (z.1, z.2.1) hn z.2.2) |
| 763 | |
| 764 | omit [FiniteDimensional ℝ S] in |
| 765 | theorem toProduct_slowDeriv {f : ℝ × (S × Plane) → ℂ} (hf : ContDiff ℝ ∞ f) : |
| 766 | toProduct (RadialAlias.slowDeriv f) = |
| 767 | SmoothFamilyTorusInverse.parameterPartial ((1 : ℝ), (0 : S)) (toProduct f) := by |
| 768 | funext z |
| 769 | let e := (LinearIsometryEquiv.prodAssoc ℝ ℝ S Plane).toContinuousLinearEquiv |
| 770 | have he := (((hf.differentiable (by simp)) (e z)).hasFDerivAt.comp z e.hasFDerivAt).fderiv |
| 771 | change fderiv ℝ f (e z) (1, 0) = fderiv ℝ (f ∘ e) z ((1, 0), 0) |
| 772 | rw [he] |
| 773 | rfl |
| 774 | |
| 775 | theorem familyInverse_solves (d : Direction) {f : ℝ × (S × Plane) → ℂ} |
| 776 | (hf : ContDiff ℝ ∞ f) (hp : SmoothFamilyTorusInverse.Periodic (toProduct f)) |
| 777 | (hm : SmoothFamilyTorusInverse.ZeroMean (toProduct f)) : |
| 778 | RadialAlias.directionalDeriv ((0 : S), vector d) (familyInverse d f) = f := by |
| 779 | funext z |
| 780 | let g := SmoothFamilyTorusInverse.inverse d (toProduct f) |
| 781 | have hg : ContDiff ℝ ∞ g := SmoothFamilyTorusInverse.inverse_smooth d (toProduct_smooth hf) hp |
| 782 | let e := (LinearIsometryEquiv.prodAssoc ℝ ℝ S Plane).symm.toContinuousLinearEquiv |
| 783 | have he := (((hg.differentiable (by simp)) (e z)).hasFDerivAt.comp z e.hasFDerivAt).fderiv |
| 784 | change fderiv ℝ (g ∘ e) z (0, (0, vector d)) = f z |
| 785 | rw [he] |
| 786 | have hi := congrFun (SmoothFamilyTorusInverse.inverse_solves d (toProduct_smooth hf) hp hm) (e z) |
| 787 | exact hi |
| 788 | |
| 789 | noncomputable def Admissible (a b : ℝ) (f : ℝ × (S × Plane) → ℂ) : Prop := |
| 790 | ContDiff ℝ ∞ f ∧ SmoothFamilyTorusInverse.Periodic (toProduct f) ∧ |
| 791 | SmoothFamilyTorusInverse.ZeroMean (toProduct f) ∧ RadialAlias.RadiallySupported a b f |
| 792 | |
| 793 | theorem admissible_step (d : Direction) {a b : ℝ} {f : ℝ × (S × Plane) → ℂ} |
| 794 | (hf : Admissible a b f) : Admissible a b (RadialAlias.slowDeriv (familyInverse d f)) := by |
| 795 | have hi := familyInverse_smooth d hf.1 hf.2.1 |
| 796 | refine ⟨TransportPrimitive.fixedDeriv_contDiff hi (1, 0), ?_, ?_, |
| 797 | RadialAlias.radialSupport_slowDeriv (familyInverse_supported d hf.2.2.2)⟩ |
| 798 | · rw [toProduct_slowDeriv hi] |
| 799 | exact SmoothFamilyTorusInverse.parameterPartial_periodic (familyInverse_periodic d f) (1, 0) |
| 800 | · rw [toProduct_slowDeriv hi] |
| 801 | exact SmoothFamilyTorusInverse.parameterPartial_zeroMean (toProduct_smooth hi) |
| 802 | (familyInverse_zeroMean d hf.1 hf.2.1) (1, 0) |
| 803 | |
| 804 | theorem familyInverse_finiteJets (d : Direction) (a b : ℝ) (m : ℕ) : |
| 805 | ∃ K : ℝ, 0 ≤ K ∧ ∀ (f : ℝ × (S × Plane) → ℂ) (C : ℝ), |
| 806 | ContDiff ℝ ∞ f → SmoothFamilyTorusInverse.Periodic (toProduct f) → 0 ≤ C → |
| 807 | FiniteJetBound (m + 5) f (Prod.fst ⁻¹' Icc a b) C → |
| 808 | FiniteJetBound m (familyInverse d f) (Prod.fst ⁻¹' Icc a b) (K * C) := by |
| 809 | obtain ⟨K, hK, hb⟩ := SmoothFamilyTorusInverse.inverse_finiteJets (P := ℝ × S) d m |
| 810 | refine ⟨K, hK, ?_⟩ |
| 811 | intro f C hf hp hC hsource |
| 812 | have hin : SmoothFamilyTorusInverse.JetBound (toProduct f) |
| 813 | (Prod.fst ⁻¹' Icc a b) (m + 5) C := by |
| 814 | intro j hj p hpA Y |
| 815 | rw [norm_iteratedFDeriv_toProduct] |
| 816 | exact hsource j hj (p.1, (p.2, Y)) hpA |
| 817 | have hout := hb (toProduct f) (Prod.fst ⁻¹' Icc a b) C (toProduct_smooth hf) hp hC hin |
| 818 | intro j hj z hz |
| 819 | change ‖iteratedFDeriv ℝ j (fromProduct (SmoothFamilyTorusInverse.inverse d (toProduct f))) z‖ ≤ _ |
| 820 | rw [norm_iteratedFDeriv_fromProduct] |
| 821 | exact hout j hj (z.1, z.2.1) hz z.2.2 |
| 822 | |
| 823 | theorem realCenterSource_finiteJets (a b : ℝ) (m : ℕ) : |
| 824 | ∃ K : ℝ, 0 ≤ K ∧ ∀ (f : ℝ × (S × Plane) → ℝ) (C : ℝ), |
| 825 | ContDiff ℝ ∞ f → SourcePeriodic f → 0 ≤ C → |
| 826 | FiniteJetBound (m + 4) f (Prod.fst ⁻¹' Icc a b) C → |
| 827 | FiniteJetBound m (realCenterSource f) (Prod.fst ⁻¹' Icc a b) (K * C) := by |
| 828 | obtain ⟨K, hK, hb⟩ := realCentered_finiteJets (P := ℝ × S) m |
| 829 | refine ⟨K, hK, ?_⟩ |
| 830 | intro f C hf hp hC hsource |
| 831 | have hin : ∀ j ≤ m + 4, ∀ p ∈ (Prod.fst ⁻¹' Icc a b : Set (ℝ × S)), ∀ Y, |
| 832 | ‖iteratedFDeriv ℝ j (toProduct f) (p, Y)‖ ≤ C := by |
| 833 | intro j hj p hpA Y |
| 834 | rw [norm_iteratedFDeriv_toProduct] |
| 835 | exact hsource j hj (p.1, (p.2, Y)) hpA |
| 836 | have hout := hb (toProduct f) (Prod.fst ⁻¹' Icc a b) C (toProduct_smooth hf) |
| 837 | (fun p => hp p.1 p.2) hC hin |
| 838 | intro j hj z hz |
| 839 | change ‖iteratedFDeriv ℝ j (fromProduct (realCentered (toProduct f))) z‖ ≤ _ |
| 840 | rw [norm_iteratedFDeriv_fromProduct] |
| 841 | exact hout j hj (z.1, z.2.1) hz z.2.2 |
| 842 | |
| 843 | /-- Actual, source-uniform finite-seminorm estimate for the translated total |
| 844 | integral. Every integration by parts consumes one radial derivative and five |
| 845 | orders for the genuine torus inverse. -/ |
| 846 | theorem totalIntegral_finiteJets (d : Direction) {a b : ℝ} (hab : a ≤ b) (m p : ℕ) : |
| 847 | ∃ K : ℝ, 0 ≤ K ∧ ∀ (f : ℝ × (S × Plane) → ℂ), Admissible a b f → |
| 848 | ∀ C : ℝ, 0 ≤ C → FiniteJetBound (m + 6 * p) f (Prod.fst ⁻¹' Icc a b) C → |
| 849 | ∀ M : ℝ, M ≠ 0 → ∀ j ≤ m, ∀ z : ℝ × (S × Plane), |
| 850 | ‖iteratedFDeriv ℝ j (TransportPrimitive.totalIntegral M ((0 : S), vector d) f) z‖ ≤ |
| 851 | K * C * (|M|⁻¹) ^ p := by |
| 852 | apply totalIntegral_uniform_of_inverse (Admissible a b) (familyInverse d) 5 hab |
| 853 | (fun _ hf => ⟨hf.1, hf.2.2.2⟩) |
| 854 | (fun _ hf => familyInverse_smooth d hf.1 hf.2.1) |
| 855 | (fun _ hf => familyInverse_supported d hf.2.2.2) |
| 856 | (fun _ hf => familyInverse_solves d hf.1 hf.2.1 hf.2.2.1) |
| 857 | (fun _ hf => admissible_step d hf) _ m p |
| 858 | intro k |
| 859 | obtain ⟨K, hK, hb⟩ := familyInverse_finiteJets (S := S) d a b k |
| 860 | exact ⟨K, hK, fun f hf C hC hsource => hb f C hf.1 hf.2.1 hC hsource⟩ |
| 861 | |
| 862 | /-- The retained alias has the same arbitrary inverse-frequency gain, with |
| 863 | all source dependence confined to a finite actual derivative bound. -/ |
| 864 | theorem exactAlias_finiteJets (d : Direction) {a b : ℝ} {χ : ℝ → ℝ} |
| 865 | (hab : a ≤ b) (hχ : ContDiff ℝ ∞ χ) |
| 866 | (hleft : ∀ u ≤ a, χ u = 0) (hright : ∀ u, b ≤ u → χ u = 1) (m p : ℕ) : |
| 867 | ∃ K : ℝ, 0 ≤ K ∧ ∀ (f : ℝ × (S × Plane) → ℂ), Admissible a b f → |
| 868 | ∀ C : ℝ, 0 ≤ C → FiniteJetBound (m + 6 * p) f (Prod.fst ⁻¹' Icc a b) C → |
| 869 | ∀ M : ℝ, M ≠ 0 → ∀ j ≤ m, ∀ z : ℝ × (S × Plane), |
| 870 | ‖iteratedFDeriv ℝ j (exactAlias χ M ((0 : S), vector d) f) z‖ ≤ |
| 871 | K * C * (|M|⁻¹) ^ p := by |
| 872 | apply exactAlias_uniform_of_inverse (Admissible a b) (familyInverse d) 5 hab hχ hleft hright |
| 873 | (fun _ hf => ⟨hf.1, hf.2.2.2⟩) |
| 874 | (fun _ hf => familyInverse_smooth d hf.1 hf.2.1) |
| 875 | (fun _ hf => familyInverse_supported d hf.2.2.2) |
| 876 | (fun _ hf => familyInverse_solves d hf.1 hf.2.1 hf.2.2.1) |
| 877 | (fun _ hf => admissible_step d hf) _ m p |
| 878 | intro k |
| 879 | obtain ⟨K, hK, hb⟩ := familyInverse_finiteJets (S := S) d a b k |
| 880 | exact ⟨K, hK, fun f hf C hC hsource => hb f C hf.1 hf.2.1 hC hsource⟩ |
| 881 | |
| 882 | end TransportInverse |
| 883 | |
| 884 | section MeanClassBounds |
| 885 | |
| 886 | open WeightedRadialPrimitive WeightedClasses |
| 887 | |
| 888 | variable {E F : Type} [NormedAddCommGroup E] [NormedSpace ℝ E] |
| 889 | [NormedAddCommGroup F] [NormedSpace ℝ F] |
| 890 | |
| 891 | /-- The flat radial weight absorbs every fixed inverse-edge power, giving a |
| 892 | global finite seminorm bound for a genuine mean-class family. -/ |
| 893 | theorem meanClass_global_finiteJets {a b cL cR : ℝ} (ha : 0 < a) |
| 894 | (hcL : 0 < cL) (hcR : 0 < cR) |
| 895 | (ε S : ℕ → ℝ) (hε : ∀ n, 0 < ε n) (hεone : ∀ n, ε n ≤ 1) (hS : ∀ n, 1 ≤ S n) |
| 896 | {α : ℝ} {f : ℕ → ℝ × E → F} |
| 897 | (hf : MeanClass (logStripData a b cL cR ha hcL hcR ε S hε hεone hS) α f) |
| 898 | (hs : ∀ n, RadialAlias.RadiallySupported a b (f n)) |
| 899 | (hfc : ∀ n, ContDiff ℝ ∞ (f n)) (m : ℕ) : |
| 900 | ∃ C : ℝ, 0 ≤ C ∧ ∃ q : ℕ, ∀ n, |
| 901 | FiniteJetBound m (f n) Set.univ (C * ε n ^ α * S n ^ q) := by |
| 902 | obtain ⟨C, hC, q, hb⟩ := hf.bounds m |
| 903 | obtain ⟨W, hW, hw⟩ := weight_uniform_bound hcL hcR (logLength a b) q |
| 904 | refine ⟨C * W, mul_nonneg hC hW, q, ?_⟩ |
| 905 | intro n j hj z _ |
| 906 | have hεα : 0 < ε n ^ α := Real.rpow_pos_of_pos (hε n) α |
| 907 | have hSn : 0 ≤ S n := zero_le_one.trans (hS n) |
| 908 | by_cases hz : z.1 ∈ Ioo a b |
| 909 | · have h := hb n z hz j hj |
| 910 | rw [logStrip_majorant_eq ha hcL hcR ε S hε hεone hS α C q n z hz] at h |
| 911 | calc |
| 912 | _ ≤ (C * ε n ^ α * S n ^ q) * logWeight cL cR a b q z.1 := h |
| 913 | _ ≤ (C * ε n ^ α * S n ^ q) * W := |
| 914 | mul_le_mul_of_nonneg_left (hw _ (logPosition_mem ha hz)) |
| 915 | (by positivity) |
| 916 | _ = (C * W) * ε n ^ α * S n ^ q := by ring |
| 917 | · have hsj := TransportPrimitive.iteratedFDeriv_supported (hs n) j |
| 918 | have heq : iteratedFDeriv ℝ j (f n) z = 0 := by |
| 919 | have hc : Continuous (fun u : ℝ => iteratedFDeriv ℝ j (f n) (u, z.2)) := |
| 920 | (TransportPrimitive.iteratedFDeriv_contDiff (hfc n) j).continuous.comp |
| 921 | (continuous_id.prodMk continuous_const) |
| 922 | have hsupport : support (fun u : ℝ => iteratedFDeriv ℝ j (f n) (u, z.2)) ⊆ Ioo a b := by |
| 923 | simpa only [interior_Icc] using hc.isOpen_support.subset_interior_iff.mpr |
| 924 | (show support (fun u : ℝ => iteratedFDeriv ℝ j (f n) (u, z.2)) ⊆ Icc a b from |
| 925 | fun u hu => hsj hu) |
| 926 | by_contra hn |
| 927 | exact hz (hsupport hn) |
| 928 | rw [heq, norm_zero] |
| 929 | positivity |
| 930 | |
| 931 | /-- The actual power-chart normalization transports the source family class; |
| 932 | all constants are uniform in the band and every auxiliary variable. -/ |
| 933 | theorem meanClass_normalizeSource {a b d cL cR : ℝ} |
| 934 | (ha : 0 < a) (hab : a < b) (hd : 0 < d) (hcL : 0 < cL) (hcR : 0 < cR) |
| 935 | (ε S : ℕ → ℝ) (hε : ∀ n, 0 < ε n) (hεone : ∀ n, ε n ≤ 1) (hS : ∀ n, 1 ≤ S n) |
| 936 | {α : ℝ} {f : ℕ → ℝ × E → F} |
| 937 | (hf : MeanClass (logStripData a b cL cR ha hcL hcR ε S hε hεone hS) α f) |
| 938 | (hfc : ∀ n, ContDiff ℝ ∞ (f n)) : |
| 939 | MeanClass (logStripData (a ^ d) (b ^ d) (d ^ 2 * cL) (d ^ 2 * cR) |
| 940 | (Real.rpow_pos_of_pos ha d) (mul_pos (sq_pos_of_pos hd) hcL) (mul_pos (sq_pos_of_pos hd) hcR) |
| 941 | ε S hε hεone hS) α (fun n => RadialPullback.normalizeSource d a (f n)) := by |
| 942 | let st := logStripData (E := E) (a ^ d) (b ^ d) (d ^ 2 * cL) (d ^ 2 * cR) |
| 943 | (Real.rpow_pos_of_pos ha d) (mul_pos (sq_pos_of_pos hd) hcL) (mul_pos (sq_pos_of_pos hd) hcR) |
| 944 | ε S hε hεone hS |
| 945 | refine ⟨fun n z hz => st.zeta_nonneg z hz, ?_, ?_⟩ |
| 946 | · intro n |
| 947 | exact (RadialPullback.normalizeSource_contDiff ha hd (hfc n)).contDiffOn |
| 948 | · intro m |
| 949 | obtain ⟨C, hC, q, hb⟩ := hf.bounds m |
| 950 | obtain ⟨K, hK, hnorm⟩ := RadialPullback.normalizeSource_finiteJets_uniform (E := E) (V := F) |
| 951 | ha hab hd cL cR q m |
| 952 | refine ⟨K * C, mul_nonneg hK hC, q, ?_⟩ |
| 953 | intro n z hz j hj |
| 954 | have hεα : 0 < ε n ^ α := Real.rpow_pos_of_pos (hε n) α |
| 955 | have hSn : 0 ≤ S n := zero_le_one.trans (hS n) |
| 956 | have hinput : ∀ i ≤ m, ∀ R ∈ Ioo a b, ∀ Y : E, |
| 957 | ‖iteratedFDeriv ℝ i (f n) (R, Y)‖ ≤ |
| 958 | (C * ε n ^ α * S n ^ q) * logWeight cL cR a b q R := by |
| 959 | intro i hi R hR Y |
| 960 | have h := hb n (R, Y) hR i hi |
| 961 | rwa [logStrip_majorant_eq ha hcL hcR ε S hε hεone hS α C q n (R, Y) hR] at h |
| 962 | have h := hnorm (f n) (hfc n) (C * ε n ^ α * S n ^ q) (by positivity) |
| 963 | hinput z hz j hj |
| 964 | rw [logStrip_majorant_eq (Real.rpow_pos_of_pos ha d) |
| 965 | (mul_pos (sq_pos_of_pos hd) hcL) (mul_pos (sq_pos_of_pos hd) hcR) |
| 966 | ε S hε hεone hS α (K * C) q n z hz] |
| 967 | convert! h using 1 |
| 968 | ring |
| 969 | |
| 970 | end MeanClassBounds |
| 971 | |
| 972 | section FiberClass |
| 973 | |
| 974 | open WeightedClasses WeightedRadialPrimitive |
| 975 | |
| 976 | variable {S F H : Type} [NormedAddCommGroup S] [NormedSpace ℝ S] |
| 977 | [NormedAddCommGroup F] [NormedSpace ℝ F] [NormedAddCommGroup H] [NormedSpace ℝ H] |
| 978 | |
| 979 | /-- A proved finite loss on each parameter fiber preserves the actual |
| 980 | all-order mean class, including its radial weight. -/ |
| 981 | theorem fiberOperator_preserves_meanClass |
| 982 | (T : (((ℝ × S) × Plane) → F) → ((ℝ × S) × Plane) → H) (loss : ℕ) |
| 983 | (hTsmooth : ∀ f, ContDiff ℝ ∞ f → ParameterPeriodic f → ContDiff ℝ ∞ (T f)) |
| 984 | (hTbound : ∀ m : ℕ, ∃ K : ℝ, 0 ≤ K ∧ ∀ (f : ((ℝ × S) × Plane) → F) |
| 985 | (A : Set (ℝ × S)) (C : ℝ), ContDiff ℝ ∞ f → ParameterPeriodic f → 0 ≤ C → |
| 986 | (∀ j ≤ m + loss, ∀ p ∈ A, ∀ Y, ‖iteratedFDeriv ℝ j f (p, Y)‖ ≤ C) → |
| 987 | ∀ j ≤ m, ∀ p ∈ A, ∀ Y, ‖iteratedFDeriv ℝ j (T f) (p, Y)‖ ≤ K * C) |
| 988 | {a b cL cR : ℝ} (ha : 0 < a) (hcL : 0 < cL) (hcR : 0 < cR) |
| 989 | (ε R : ℕ → ℝ) (hε : ∀ n, 0 < ε n) (hεone : ∀ n, ε n ≤ 1) (hR : ∀ n, 1 ≤ R n) |
| 990 | {α : ℝ} {f : ℕ → ℝ × (S × Plane) → F} |
| 991 | (hf : MeanClass (logStripData a b cL cR ha hcL hcR ε R hε hεone hR) α f) |
| 992 | (hfc : ∀ n, ContDiff ℝ ∞ (f n)) (hp : ∀ n, SourcePeriodic (f n)) : |
| 993 | MeanClass (logStripData a b cL cR ha hcL hcR ε R hε hεone hR) α |
| 994 | (fun n => fromProduct (T (toProduct (f n)))) := by |
| 995 | let st := logStripData (E := S × Plane) a b cL cR ha hcL hcR ε R hε hεone hR |
| 996 | have hprod (n : ℕ) : ParameterPeriodic (toProduct (f n)) := fun p => hp n p.1 p.2 |
| 997 | refine ⟨fun n z hz => st.zeta_nonneg z hz, ?_, ?_⟩ |
| 998 | · intro n |
| 999 | exact (fromProduct_smooth (hTsmooth _ (toProduct_smooth (hfc n)) (hprod n))).contDiffOn |
| 1000 | · intro m |
| 1001 | obtain ⟨K, hK, hbound⟩ := hTbound m |
| 1002 | obtain ⟨C, hC, q, hb⟩ := hf.bounds (m + loss) |
| 1003 | refine ⟨K * C, mul_nonneg hK hC, q, ?_⟩ |
| 1004 | intro n z hz j hj |
| 1005 | let B := (C * ε n ^ α * R n ^ q) * logWeight cL cR a b q z.1 |
| 1006 | have hεα : 0 < ε n ^ α := Real.rpow_pos_of_pos (hε n) α |
| 1007 | have hRn : 0 ≤ R n := zero_le_one.trans (hR n) |
| 1008 | have hw : 0 < logWeight cL cR a b q z.1 := weight_pos cL cR q (logPosition_mem ha hz) |
| 1009 | have hB : 0 ≤ B := by dsimp [B]; positivity |
| 1010 | have hin : ∀ i ≤ m + loss, ∀ p ∈ ({(z.1, z.2.1)} : Set (ℝ × S)), ∀ Y, |
| 1011 | ‖iteratedFDeriv ℝ i (toProduct (f n)) (p, Y)‖ ≤ B := by |
| 1012 | intro i hi p hpA Y |
| 1013 | have heq : p = (z.1, z.2.1) := Set.mem_singleton_iff.mp hpA |
| 1014 | subst p |
| 1015 | rw [norm_iteratedFDeriv_toProduct] |
| 1016 | have h := hb n (z.1, (z.2.1, Y)) hz i hi |
| 1017 | rw [logStrip_majorant_eq ha hcL hcR ε R hε hεone hR α C q n (z.1, (z.2.1, Y)) hz] at h |
| 1018 | exact h |
| 1019 | rw [norm_iteratedFDeriv_fromProduct, |
| 1020 | logStrip_majorant_eq ha hcL hcR ε R hε hεone hR α (K * C) q n z hz] |
| 1021 | calc |
| 1022 | _ ≤ K * B := hbound (toProduct (f n)) {(z.1, z.2.1)} B (toProduct_smooth (hfc n)) |
| 1023 | (hprod n) hB hin j hj (z.1, z.2.1) (Set.mem_singleton _) z.2.2 |
| 1024 | _ = ((K * C) * ε n ^ α * R n ^ q) * logWeight cL cR a b q z.1 := by dsimp [B]; ring |
| 1025 | |
| 1026 | variable [FiniteDimensional ℝ S] |
| 1027 | |
| 1028 | theorem meanClass_realInverse (d : Direction) {a b cL cR : ℝ} |
| 1029 | (ha : 0 < a) (hcL : 0 < cL) (hcR : 0 < cR) |
| 1030 | (ε R : ℕ → ℝ) (hε : ∀ n, 0 < ε n) (hεone : ∀ n, ε n ≤ 1) (hR : ∀ n, 1 ≤ R n) |
| 1031 | {α : ℝ} {f : ℕ → ℝ × (S × Plane) → ℝ} |
| 1032 | (hf : MeanClass (logStripData a b cL cR ha hcL hcR ε R hε hεone hR) α f) |
| 1033 | (hfc : ∀ n, ContDiff ℝ ∞ (f n)) (hp : ∀ n, SourcePeriodic (f n)) : |
| 1034 | MeanClass (logStripData a b cL cR ha hcL hcR ε R hε hεone hR) α |
| 1035 | (fun n => fromProduct (realInverse d (toProduct (f n)))) := |
| 1036 | fiberOperator_preserves_meanClass (realInverse d) 5 |
| 1037 | (fun _ hf hp => realInverse_smooth d hf hp) (realInverse_finiteJets d) |
| 1038 | ha hcL hcR ε R hε hεone hR hf hfc hp |
| 1039 | |
| 1040 | theorem meanClass_realCenterSource {a b cL cR : ℝ} |
| 1041 | (ha : 0 < a) (hcL : 0 < cL) (hcR : 0 < cR) |
| 1042 | (ε R : ℕ → ℝ) (hε : ∀ n, 0 < ε n) (hεone : ∀ n, ε n ≤ 1) (hR : ∀ n, 1 ≤ R n) |
| 1043 | {α : ℝ} {f : ℕ → ℝ × (S × Plane) → ℝ} |
| 1044 | (hf : MeanClass (logStripData a b cL cR ha hcL hcR ε R hε hεone hR) α f) |
| 1045 | (hfc : ∀ n, ContDiff ℝ ∞ (f n)) (hp : ∀ n, SourcePeriodic (f n)) : |
| 1046 | MeanClass (logStripData a b cL cR ha hcL hcR ε R hε hεone hR) α |
| 1047 | (fun n => realCenterSource (f n)) := |
| 1048 | fiberOperator_preserves_meanClass realCentered 4 |
| 1049 | (fun _ hf hp => realCentered_smooth hf hp) realCentered_finiteJets |
| 1050 | ha hcL hcR ε R hε hεone hR hf hfc hp |
| 1051 | |
| 1052 | end FiberClass |
| 1053 | |
| 1054 | section BandScales |
| 1055 | |
| 1056 | /-- The actual slow scale, clipped only at the finitely many initial bands. -/ |
| 1057 | noncomputable def bandSlow (n : ℕ) : ℝ := max 1 (ChartScales.S n) |
| 1058 | |
| 1059 | theorem one_le_bandSlow (n : ℕ) : 1 ≤ bandSlow n := le_max_left _ _ |
| 1060 | |
| 1061 | theorem bandSlow_eventually_eq : ∀ᶠ n : ℕ in atTop, bandSlow n = ChartScales.S n := by |
| 1062 | filter_upwards [eventually_ge_atTop 1] with n hn |
| 1063 | apply max_eq_right |
| 1064 | have hn' : (1 : ℝ) ≤ n := by exact_mod_cast hn |
| 1065 | change 1 ≤ (n : ℝ) ^ 2 |
| 1066 | nlinarith |
| 1067 | |
| 1068 | /-- Choose the number of integrations by parts before learning the finite |
| 1069 | polynomial slow-scale loss of the required source seminorm. -/ |
| 1070 | theorem frequency_gain_absorbs_family_growth {M : ℕ → ℝ} {h κ A growth α : ℝ} |
| 1071 | (hh : 0 < h) (hκ : 0 < κ) |
| 1072 | (hbound : ∀ᶠ n in atTop, |M n|⁻¹ ≤ |
| 1073 | A * ChartScales.epsilon h n ^ κ * ChartScales.S n ^ growth) (N : ℕ) : |
| 1074 | ∃ p : ℕ, ∀ q : ℕ, ∀ C : ℝ, 0 ≤ C → |
| 1075 | ∀ᶠ n in atTop, |
| 1076 | C * ChartScales.epsilon h n ^ α * bandSlow n ^ q * (|M n|⁻¹) ^ p ≤ |
| 1077 | C * ChartScales.epsilon h n ^ N := by |
| 1078 | obtain ⟨p, hp⟩ := exists_nat_gt (((N : ℝ) + 1 - α) / (κ / 2)) |
| 1079 | have hNp : (N : ℝ) + 1 ≤ α + (κ / 2) * (p : ℝ) := by |
| 1080 | have hp' := (div_lt_iff₀ (half_pos hκ)).mp hp |
| 1081 | nlinarith |
| 1082 | refine ⟨p, ?_⟩ |
| 1083 | intro q C hC |
| 1084 | have hslow := ChartScales.eventually_slow_power_epsilon_lt h hh (q : ℝ) 1 1 |
| 1085 | zero_lt_one zero_lt_one |
| 1086 | simp only [Real.rpow_natCast, Real.rpow_one] at hslow |
| 1087 | filter_upwards [FourierAlias.inverse_frequency_eventually_small hh hκ hbound, |
| 1088 | hslow, bandSlow_eventually_eq] with n hn hsn hband |
| 1089 | rw [hband] |
| 1090 | have hε := ChartScales.epsilon_pos h n |
| 1091 | have hS : 0 ≤ ChartScales.S n := sq_nonneg (n : ℝ) |
| 1092 | have hpower : (|M n|⁻¹) ^ p ≤ ChartScales.epsilon h n ^ ((κ / 2) * (p : ℝ)) := by |
| 1093 | rw [Real.rpow_mul_natCast hε.le] |
| 1094 | exact pow_le_pow_left₀ (inv_nonneg.mpr (abs_nonneg _)) hn p |
| 1095 | have hεα : 0 ≤ ChartScales.epsilon h n ^ α := (Real.rpow_pos_of_pos hε α).le |
| 1096 | calc |
| 1097 | _ ≤ C * ChartScales.epsilon h n ^ α * ChartScales.S n ^ q * |
| 1098 | ChartScales.epsilon h n ^ ((κ / 2) * (p : ℝ)) := |
| 1099 | mul_le_mul_of_nonneg_left hpower (by positivity) |
| 1100 | _ = C * ChartScales.epsilon h n ^ (α + (κ / 2) * (p : ℝ)) * ChartScales.S n ^ q := by |
| 1101 | rw [Real.rpow_add hε] |
| 1102 | ring |
| 1103 | _ ≤ C * ChartScales.epsilon h n ^ ((N : ℝ) + 1) * ChartScales.S n ^ q := |
| 1104 | mul_le_mul_of_nonneg_right |
| 1105 | (mul_le_mul_of_nonneg_left (Real.rpow_le_rpow_of_exponent_ge hε |
| 1106 | (ChartScales.epsilon_le_one h hh.le n) hNp) hC) (pow_nonneg hS q) |
| 1107 | _ = (C * ChartScales.epsilon h n ^ N) * |
| 1108 | (ChartScales.S n ^ q * ChartScales.epsilon h n) := by |
| 1109 | rw [Real.rpow_add hε, Real.rpow_natCast, Real.rpow_one] |
| 1110 | ring |
| 1111 | _ ≤ (C * ChartScales.epsilon h n ^ N) * 1 := |
| 1112 | mul_le_mul_of_nonneg_left hsn.le (by positivity) |
| 1113 | _ = C * ChartScales.epsilon h n ^ N := mul_one _ |
| 1114 | |
| 1115 | end BandScales |
| 1116 | |
| 1117 | section UniformFamilies |
| 1118 | |
| 1119 | open WeightedClasses WeightedRadialPrimitive |
| 1120 | |
| 1121 | variable {E : Type} [NormedAddCommGroup E] [NormedSpace ℝ E] |
| 1122 | |
| 1123 | /-- The concrete radial strip with the manuscript's actual band scales. -/ |
| 1124 | noncomputable def chartStrip (a b cL cR : ℝ) (ha : 0 < a) (hcL : 0 < cL) (hcR : 0 < cR) |
| 1125 | (h : ℝ) (hh : 0 < h) : StripData (ℝ × E) := |
| 1126 | logStripData a b cL cR ha hcL hcR (ChartScales.epsilon h) bandSlow |
| 1127 | (ChartScales.epsilon_pos h) (ChartScales.epsilon_le_one h hh.le) one_le_bandSlow |
| 1128 | |
| 1129 | variable {S : Type} [NormedAddCommGroup S] [NormedSpace ℝ S] [FiniteDimensional ℝ S] |
| 1130 | |
| 1131 | /-- Band-dependent sources in the actual all-order mean class have uniformly |
| 1132 | superflat aliases. The proof chooses one finite IBP order before extracting |
| 1133 | the required source seminorm and its polynomial growth degree. -/ |
| 1134 | theorem meanClass_alias_superflat (d : Direction) {a b cL cR h α : ℝ} |
| 1135 | (ha : 0 < a) (hab : a ≤ b) (hcL : 0 < cL) (hcR : 0 < cR) (hh : 0 < h) |
| 1136 | {χ : ℝ → ℝ} (hχ : ContDiff ℝ ∞ χ) |
| 1137 | (hleft : ∀ u ≤ a, χ u = 0) (hright : ∀ u, b ≤ u → χ u = 1) |
| 1138 | {f : ℕ → ℝ × (S × Plane) → ℂ} |
| 1139 | (hf : MeanClass (chartStrip a b cL cR ha hcL hcR h hh) α f) |
| 1140 | (hgood : ∀ n, Admissible a b (f n)) |
| 1141 | {M : ℕ → ℝ} {κ A growth : ℝ} (hκ : 0 < κ) |
| 1142 | (hM : ∀ᶠ n in atTop, M n ≠ 0) |
| 1143 | (hfrequency : ∀ᶠ n in atTop, |M n|⁻¹ ≤ |
| 1144 | A * ChartScales.epsilon h n ^ κ * ChartScales.S n ^ growth) (m N : ℕ) : |
| 1145 | ∃ C : ℝ, 0 ≤ C ∧ ∀ᶠ n in atTop, ∀ j ≤ m, ∀ z : ℝ × (S × Plane), |
| 1146 | ‖iteratedFDeriv ℝ j (exactAlias χ (M n) ((0 : S), vector d) (f n)) z‖ ≤ |
| 1147 | C * ChartScales.epsilon h n ^ N := by |
| 1148 | obtain ⟨p, hp⟩ := frequency_gain_absorbs_family_growth (α := α) hh hκ hfrequency N |
| 1149 | obtain ⟨K, hK, hbound⟩ := exactAlias_finiteJets (S := S) d hab hχ hleft hright m p |
| 1150 | obtain ⟨C, hC, q, hsource⟩ := meanClass_global_finiteJets ha hcL hcR |
| 1151 | (ChartScales.epsilon h) bandSlow (ChartScales.epsilon_pos h) |
| 1152 | (ChartScales.epsilon_le_one h hh.le) one_le_bandSlow hf |
| 1153 | (fun n => (hgood n).2.2.2) (fun n => (hgood n).1) (m + 6 * p) |
| 1154 | refine ⟨K * C, mul_nonneg hK hC, ?_⟩ |
| 1155 | filter_upwards [hM, hp q (K * C) (mul_nonneg hK hC)] with n hn hgain |
| 1156 | intro j hj z |
| 1157 | have hεα : 0 < ChartScales.epsilon h n ^ α := |
| 1158 | Real.rpow_pos_of_pos (ChartScales.epsilon_pos h n) α |
| 1159 | have hslow : 0 ≤ bandSlow n := zero_le_one.trans (one_le_bandSlow n) |
| 1160 | have hb := hbound (f n) (hgood n) (C * ChartScales.epsilon h n ^ α * bandSlow n ^ q) |
| 1161 | (by positivity) (fun i hi x _ => hsource n i hi x (Set.mem_univ x)) (M n) hn j hj z |
| 1162 | calc |
| 1163 | _ ≤ K * (C * ChartScales.epsilon h n ^ α * bandSlow n ^ q) * (|M n|⁻¹) ^ p := hb |
| 1164 | _ = (K * C) * ChartScales.epsilon h n ^ α * bandSlow n ^ q * (|M n|⁻¹) ^ p := by ring |
| 1165 | _ ≤ (K * C) * ChartScales.epsilon h n ^ N := hgain |
| 1166 | |
| 1167 | omit [FiniteDimensional ℝ S] in |
| 1168 | theorem admissible_complexify {a b : ℝ} {f : ℝ × (S × Plane) → ℝ} |
| 1169 | (hf : ContDiff ℝ ∞ f) (hp : SourcePeriodic f) (hm : ∀ p, sourceMean f p = 0) |
| 1170 | (hs : RadialAlias.RadiallySupported a b f) : Admissible a b (complexify f) := by |
| 1171 | refine ⟨complexify_smooth hf, ?_, ?_, complexify_supported hs⟩ |
| 1172 | · intro p Y k |
| 1173 | exact congrArg Complex.ofReal (hp p.1 p.2 Y k) |
| 1174 | · intro p |
| 1175 | rw [mean_toProduct, sourceMean_complexify, hm p, Complex.ofReal_zero] |
| 1176 | |
| 1177 | theorem real_totalIntegral_finiteJets (d : Direction) {a b : ℝ} (hab : a ≤ b) (m p : ℕ) : |
| 1178 | ∃ K : ℝ, 0 ≤ K ∧ ∀ (f : ℝ × (S × Plane) → ℝ), ContDiff ℝ ∞ f → SourcePeriodic f → |
| 1179 | (∀ q, sourceMean f q = 0) → RadialAlias.RadiallySupported a b f → |
| 1180 | ∀ C : ℝ, 0 ≤ C → FiniteJetBound (m + 6 * p) f (Prod.fst ⁻¹' Icc a b) C → |
| 1181 | ∀ M : ℝ, M ≠ 0 → ∀ j ≤ m, ∀ z : ℝ × (S × Plane), |
| 1182 | ‖iteratedFDeriv ℝ j (TransportPrimitive.totalIntegral M ((0 : S), vector d) f) z‖ ≤ |
| 1183 | K * C * (|M|⁻¹) ^ p := by |
| 1184 | obtain ⟨K, hK, hb⟩ := totalIntegral_finiteJets (S := S) d hab m p |
| 1185 | refine ⟨K, hK, ?_⟩ |
| 1186 | intro f hf hp hm hs C hC hsource M hM j hj z |
| 1187 | rw [← norm_iteratedFDeriv_totalIntegral_complexify hf hs] |
| 1188 | apply hb (complexify f) (admissible_complexify hf hp hm hs) C hC _ M hM j hj z |
| 1189 | intro i hi x hx |
| 1190 | rw [norm_iteratedFDeriv_complexify hf] |
| 1191 | exact hsource i hi x hx |
| 1192 | |
| 1193 | theorem real_exactAlias_finiteJets (d : Direction) {a b : ℝ} {χ : ℝ → ℝ} |
| 1194 | (hab : a ≤ b) (hχ : ContDiff ℝ ∞ χ) |
| 1195 | (hleft : ∀ u ≤ a, χ u = 0) (hright : ∀ u, b ≤ u → χ u = 1) (m p : ℕ) : |
| 1196 | ∃ K : ℝ, 0 ≤ K ∧ ∀ (f : ℝ × (S × Plane) → ℝ), ContDiff ℝ ∞ f → SourcePeriodic f → |
| 1197 | (∀ q, sourceMean f q = 0) → RadialAlias.RadiallySupported a b f → |
| 1198 | ∀ C : ℝ, 0 ≤ C → FiniteJetBound (m + 6 * p) f (Prod.fst ⁻¹' Icc a b) C → |
| 1199 | ∀ M : ℝ, M ≠ 0 → ∀ j ≤ m, ∀ z : ℝ × (S × Plane), |
| 1200 | ‖iteratedFDeriv ℝ j (exactAlias χ M ((0 : S), vector d) f) z‖ ≤ K * C * (|M|⁻¹) ^ p := by |
| 1201 | obtain ⟨K, hK, hb⟩ := exactAlias_finiteJets (S := S) d hab hχ hleft hright m p |
| 1202 | refine ⟨K, hK, ?_⟩ |
| 1203 | intro f hf hp hm hs C hC hsource M hM j hj z |
| 1204 | rw [← norm_iteratedFDeriv_exactAlias_complexify hχ hf hs] |
| 1205 | apply hb (complexify f) (admissible_complexify hf hp hm hs) C hC _ M hM j hj z |
| 1206 | intro i hi x hx |
| 1207 | rw [norm_iteratedFDeriv_complexify hf] |
| 1208 | exact hsource i hi x hx |
| 1209 | |
| 1210 | /-- Only the integrated torus mean must vanish. Mean subtraction costs four |
| 1211 | extra finite derivative orders and changes the exact alias by zero. -/ |
| 1212 | theorem real_exactAlias_finiteJets_of_integratedMean_zero (d : Direction) |
| 1213 | {a b : ℝ} {χ : ℝ → ℝ} (hab : a ≤ b) (hχ : ContDiff ℝ ∞ χ) |
| 1214 | (hleft : ∀ u ≤ a, χ u = 0) (hright : ∀ u, b ≤ u → χ u = 1) (m p : ℕ) : |
| 1215 | ∃ K : ℝ, 0 ≤ K ∧ ∀ (f : ℝ × (S × Plane) → ℝ), ContDiff ℝ ∞ f → SourcePeriodic f → |
| 1216 | (∀ s, (∫ U in a..b, sourceMean f (U, s)) = 0) → RadialAlias.RadiallySupported a b f → |
| 1217 | ∀ C : ℝ, 0 ≤ C → FiniteJetBound (m + 6 * p + 4) f (Prod.fst ⁻¹' Icc a b) C → |
| 1218 | ∀ M : ℝ, M ≠ 0 → ∀ j ≤ m, ∀ z : ℝ × (S × Plane), |
| 1219 | ‖iteratedFDeriv ℝ j (exactAlias χ M ((0 : S), vector d) f) z‖ ≤ K * C * (|M|⁻¹) ^ p := by |
| 1220 | obtain ⟨A, hA, ha⟩ := real_exactAlias_finiteJets (S := S) d hab hχ hleft hright m p |
| 1221 | obtain ⟨B, hB, hb⟩ := realCenterSource_finiteJets (S := S) a b (m + 6 * p) |
| 1222 | refine ⟨A * B, mul_nonneg hA hB, ?_⟩ |
| 1223 | intro f hf hp hm hs C hC hsource M hM j hj z |
| 1224 | rw [exactAlias_eq_realCenterSource χ hf hp hs hm] |
| 1225 | have h := ha (realCenterSource f) (realCenterSource_smooth hf hp) (realCenterSource_periodic hp) |
| 1226 | (realCenterSource_zeroMean hf hp) (realCenterSource_supported hs) (B * C) (mul_nonneg hB hC) |
| 1227 | (hb f C hf hp hC hsource) M hM j hj z |
| 1228 | simpa only [mul_assoc] using h |
| 1229 | |
| 1230 | theorem realMeanClass_alias_superflat (d : Direction) {a b cL cR h α : ℝ} |
| 1231 | (ha : 0 < a) (hab : a ≤ b) (hcL : 0 < cL) (hcR : 0 < cR) (hh : 0 < h) |
| 1232 | {χ : ℝ → ℝ} (hχ : ContDiff ℝ ∞ χ) |
| 1233 | (hleft : ∀ u ≤ a, χ u = 0) (hright : ∀ u, b ≤ u → χ u = 1) |
| 1234 | {f : ℕ → ℝ × (S × Plane) → ℝ} |
| 1235 | (hf : MeanClass (chartStrip a b cL cR ha hcL hcR h hh) α f) |
| 1236 | (hfc : ∀ n, ContDiff ℝ ∞ (f n)) (hp : ∀ n, SourcePeriodic (f n)) |
| 1237 | (hm : ∀ n p, sourceMean (f n) p = 0) |
| 1238 | (hs : ∀ n, RadialAlias.RadiallySupported a b (f n)) |
| 1239 | {M : ℕ → ℝ} {κ A growth : ℝ} (hκ : 0 < κ) |
| 1240 | (hM : ∀ᶠ n in atTop, M n ≠ 0) |
| 1241 | (hfrequency : ∀ᶠ n in atTop, |M n|⁻¹ ≤ |
| 1242 | A * ChartScales.epsilon h n ^ κ * ChartScales.S n ^ growth) (m N : ℕ) : |
| 1243 | ∃ C : ℝ, 0 ≤ C ∧ ∀ᶠ n in atTop, ∀ j ≤ m, ∀ z : ℝ × (S × Plane), |
| 1244 | ‖iteratedFDeriv ℝ j (exactAlias χ (M n) ((0 : S), vector d) (f n)) z‖ ≤ |
| 1245 | C * ChartScales.epsilon h n ^ N := by |
| 1246 | have hcomplex : MeanClass (chartStrip a b cL cR ha hcL hcR h hh) α |
| 1247 | (fun n => complexify (f n)) := hf.map Complex.ofRealCLM |
| 1248 | obtain ⟨C, hC, hb⟩ := meanClass_alias_superflat d ha hab hcL hcR hh hχ hleft hright hcomplex |
| 1249 | (fun n => admissible_complexify (hfc n) (hp n) (hm n) (hs n)) hκ hM hfrequency m N |
| 1250 | refine ⟨C, hC, ?_⟩ |
| 1251 | filter_upwards [hb] with n hn |
| 1252 | intro j hj z |
| 1253 | rw [← norm_iteratedFDeriv_exactAlias_complexify hχ (hfc n) (hs n)] |
| 1254 | exact hn j hj z |
| 1255 | |
| 1256 | theorem radial_realMeanClass_alias_superflat {a b cL cR h α : ℝ} |
| 1257 | (ha : 0 < a) (hab : a ≤ b) (hcL : 0 < cL) (hcR : 0 < cR) (hh : 0 < h) |
| 1258 | {χ : ℝ → ℝ} (hχ : ContDiff ℝ ∞ χ) |
| 1259 | (hleft : ∀ u ≤ a, χ u = 0) (hright : ∀ u, b ≤ u → χ u = 1) |
| 1260 | {f : ℕ → ℝ × (S × Plane) → ℝ} |
| 1261 | (hf : MeanClass (chartStrip a b cL cR ha hcL hcR h hh) α f) |
| 1262 | (hfc : ∀ n, ContDiff ℝ ∞ (f n)) (hp : ∀ n, SourcePeriodic (f n)) |
| 1263 | (hm : ∀ n p, sourceMean (f n) p = 0) |
| 1264 | (hs : ∀ n, RadialAlias.RadiallySupported a b (f n)) (m N : ℕ) : |
| 1265 | ∃ C : ℝ, 0 ≤ C ∧ ∀ᶠ n in atTop, ∀ j ≤ m, ∀ z : ℝ × (S × Plane), |
| 1266 | ‖iteratedFDeriv ℝ j |
| 1267 | (exactAlias χ (ChartScales.radialCoefficient h n) ((0 : S), vector .radial) (f n)) z‖ ≤ |
| 1268 | C * ChartScales.epsilon h n ^ N := by |
| 1269 | apply realMeanClass_alias_superflat .radial (A := ChartScales.Lambda) (growth := ChartScales.rho) |
| 1270 | ha hab hcL hcR hh hχ hleft hright hf hfc hp hm hs |
| 1271 | (show 0 < ChartScales.kappa by norm_num [ChartScales.kappa]) |
| 1272 | (Filter.Eventually.of_forall (fun n => ne_of_gt (ChartScales.radialCoefficient_pos h n))) |
| 1273 | _ m N |
| 1274 | filter_upwards [eventually_ge_atTop 4] with n hn |
| 1275 | simpa only [abs_of_pos (ChartScales.radialCoefficient_pos h n)] using |
| 1276 | ChartScales.radialCoefficient_inv_upper h hh.le hn |
| 1277 | |
| 1278 | theorem realMeanClass_alias_superflat_of_integratedMean_zero (d : Direction) |
| 1279 | {a b cL cR h α : ℝ} |
| 1280 | (ha : 0 < a) (hab : a ≤ b) (hcL : 0 < cL) (hcR : 0 < cR) (hh : 0 < h) |
| 1281 | {χ : ℝ → ℝ} (hχ : ContDiff ℝ ∞ χ) |
| 1282 | (hleft : ∀ u ≤ a, χ u = 0) (hright : ∀ u, b ≤ u → χ u = 1) |
| 1283 | {f : ℕ → ℝ × (S × Plane) → ℝ} |
| 1284 | (hf : MeanClass (chartStrip a b cL cR ha hcL hcR h hh) α f) |
| 1285 | (hfc : ∀ n, ContDiff ℝ ∞ (f n)) (hp : ∀ n, SourcePeriodic (f n)) |
| 1286 | (hm : ∀ n s, (∫ U in a..b, sourceMean (f n) (U, s)) = 0) |
| 1287 | (hs : ∀ n, RadialAlias.RadiallySupported a b (f n)) |
| 1288 | {M : ℕ → ℝ} {κ A growth : ℝ} (hκ : 0 < κ) |
| 1289 | (hM : ∀ᶠ n in atTop, M n ≠ 0) |
| 1290 | (hfrequency : ∀ᶠ n in atTop, |M n|⁻¹ ≤ |
| 1291 | A * ChartScales.epsilon h n ^ κ * ChartScales.S n ^ growth) (m N : ℕ) : |
| 1292 | ∃ C : ℝ, 0 ≤ C ∧ ∀ᶠ n in atTop, ∀ j ≤ m, ∀ z : ℝ × (S × Plane), |
| 1293 | ‖iteratedFDeriv ℝ j (exactAlias χ (M n) ((0 : S), vector d) (f n)) z‖ ≤ |
| 1294 | C * ChartScales.epsilon h n ^ N := by |
| 1295 | have hcenter : MeanClass (chartStrip a b cL cR ha hcL hcR h hh) α |
| 1296 | (fun n => realCenterSource (f n)) := |
| 1297 | meanClass_realCenterSource ha hcL hcR (ChartScales.epsilon h) bandSlow |
| 1298 | (ChartScales.epsilon_pos h) (ChartScales.epsilon_le_one h hh.le) one_le_bandSlow hf hfc hp |
| 1299 | obtain ⟨C, hC, hb⟩ := realMeanClass_alias_superflat d ha hab hcL hcR hh hχ hleft hright hcenter |
| 1300 | (fun n => realCenterSource_smooth (hfc n) (hp n)) (fun n => realCenterSource_periodic (hp n)) |
| 1301 | (fun n => realCenterSource_zeroMean (hfc n) (hp n)) (fun n => realCenterSource_supported (hs n)) |
| 1302 | hκ hM hfrequency m N |
| 1303 | refine ⟨C, hC, ?_⟩ |
| 1304 | filter_upwards [hb] with n hn |
| 1305 | intro j hj z |
| 1306 | rw [exactAlias_eq_realCenterSource χ (hfc n) (hp n) (hs n) (hm n)] |
| 1307 | exact hn j hj z |
| 1308 | |
| 1309 | theorem radial_realMeanClass_alias_superflat_of_integratedMean_zero {a b cL cR h α : ℝ} |
| 1310 | (ha : 0 < a) (hab : a ≤ b) (hcL : 0 < cL) (hcR : 0 < cR) (hh : 0 < h) |
| 1311 | {χ : ℝ → ℝ} (hχ : ContDiff ℝ ∞ χ) |
| 1312 | (hleft : ∀ u ≤ a, χ u = 0) (hright : ∀ u, b ≤ u → χ u = 1) |
| 1313 | {f : ℕ → ℝ × (S × Plane) → ℝ} |
| 1314 | (hf : MeanClass (chartStrip a b cL cR ha hcL hcR h hh) α f) |
| 1315 | (hfc : ∀ n, ContDiff ℝ ∞ (f n)) (hp : ∀ n, SourcePeriodic (f n)) |
| 1316 | (hm : ∀ n s, (∫ U in a..b, sourceMean (f n) (U, s)) = 0) |
| 1317 | (hs : ∀ n, RadialAlias.RadiallySupported a b (f n)) (m N : ℕ) : |
| 1318 | ∃ C : ℝ, 0 ≤ C ∧ ∀ᶠ n in atTop, ∀ j ≤ m, ∀ z : ℝ × (S × Plane), |
| 1319 | ‖iteratedFDeriv ℝ j |
| 1320 | (exactAlias χ (ChartScales.radialCoefficient h n) ((0 : S), vector .radial) (f n)) z‖ ≤ |
| 1321 | C * ChartScales.epsilon h n ^ N := by |
| 1322 | apply realMeanClass_alias_superflat_of_integratedMean_zero .radial |
| 1323 | (A := ChartScales.Lambda) (growth := ChartScales.rho) |
| 1324 | ha hab hcL hcR hh hχ hleft hright hf hfc hp hm hs |
| 1325 | (show 0 < ChartScales.kappa by norm_num [ChartScales.kappa]) |
| 1326 | (Filter.Eventually.of_forall (fun n => ne_of_gt (ChartScales.radialCoefficient_pos h n))) |
| 1327 | _ m N |
| 1328 | filter_upwards [eventually_ge_atTop 4] with n hn |
| 1329 | simpa only [abs_of_pos (ChartScales.radialCoefficient_pos h n)] using |
| 1330 | ChartScales.radialCoefficient_inv_upper h hh.le hn |
| 1331 | |
| 1332 | end UniformFamilies |
| 1333 | |
| 1334 | end NavierStokes.UniformFourierAlias |