File size: 2,069 Bytes
4a56cd6 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 | import Mathlib
noncomputable section
open Set Filter
open scoped Topology
namespace OAI.Analysis.Fourier.SquareFunction
/-- A Lipschitz map on a dense, possibly redundantly indexed core has a
unique continuous extension to the ambient space. No injectivity or
completion of the core is assumed. -/
theorem exists_lipschitz_extension_dense
{I A B : Type*} [PseudoMetricSpace A] [MetricSpace B] [CompleteSpace B]
(i : I β A) (hi : DenseRange i) (f : I β B) (C : NNReal)
(hf : β x y, dist (f x) (f y) β€ C * dist (i x) (i y)) :
β F : A β B, LipschitzWith C F β§ (β x, F (i x) = f x) β§
β G : A β B, Continuous G β (β x, G (i x) = f x) β G = F := by
let g : Set.range i β B := fun x => f x.property.choose
have hg (x : I) : g β¨i x,β¨x,rflβ©β© = f x := by
apply dist_eq_zero.mp
apply le_antisymm _ dist_nonneg
simpa only [g, (show i (Exists.choose (show β y, i y = i x from β¨x,rflβ©)) = i x from
Exists.choose_spec (show β y, i y = i x from β¨x,rflβ©)),dist_self,mul_zero] using
hf (Exists.choose (show β y, i y = i x from β¨x,rflβ©)) x
have hglip : LipschitzWith C g := by
apply LipschitzWith.of_dist_le_mul
intro x y
simpa only [g,x.property.choose_spec,y.property.choose_spec,Subtype.dist_eq] using
hf x.property.choose y.property.choose
let F := hi.extend g
have hc : Continuous F := (hi.uniformContinuous_extend hglip.uniformContinuous).continuous
have hFi (x : I) : F (i x) = f x :=
(hi.extend_of_ind hglip.uniformContinuous β¨i x,β¨x,rflβ©β©).trans (hg x)
have hF : LipschitzWith C F := by
apply LipschitzWith.of_dist_le_mul
intro x y
refine hi.induction_onβ ?_ ?_ x y
Β· exact isClosed_le (hc.fst'.dist hc.snd')
(continuous_const.mul (continuous_fst.dist continuous_snd))
Β· intro a b
rw [hFi,hFi]
exact hf a b
refine β¨F,hF,hFi,?_β©
intro G hG hGi
funext x
exact hi.induction_on x (isClosed_eq hG hc) (fun a => (hGi a).trans (hFi a).symm)
end OAI.Analysis.Fourier.SquareFunction
|