import Mathlib import OAI.Geometry.Cannon.Modulus.TracePreconnected import OAI.Geometry.Cannon.Topology.ThreeSeparation namespace OAI section noncomputable section namespace CannonCarrierCharging open Set Metric Topology CannonMobius CannonUniformization CannonRadialWitness open scoped OnePoint lemma preimage_carrier_postcompose {X Y Z κ : Type*} (A : κ → Set X) (K : κ → Set Y) (f : X → Y) (N : Y → Z) (hpre : ∀ S : Set Y,f ⁻¹' S ⊆ ⋃(d : {d : κ // (S∩K d).Nonempty}),A d.val) : ∀ S : Set Z,(N ∘ f) ⁻¹' S ⊆ ⋃(d : {d : κ // (S∩N '' K d).Nonempty}),A d.val := by intro S x hx obtain ⟨d,hd⟩:=mem_iUnion.mp (hpre (N ⁻¹' S) hx) obtain ⟨y,hy,hyk⟩:=d.property exact mem_iUnion.mpr ⟨⟨d.val,⟨N y,hy,⟨y,hyk,rfl⟩⟩⟩,hd⟩ theorem relative_radial_carrier_witness : ∃ C : ℝ,1 ≤ C ∧ ∀ {X κ : Type*},∀ [MetricSpace X], ∀ (L σ : ℝ), (∀ o u v : X,∀ s : ℝ,0markedChart i (f y),(markedChart i).continuous.comp f.continuous⟩ have hgpole : g (v i)=∞:=by change markedChart i (f (v i))=∞; rw [hmark,markedChart_pole] have hiE:=hinner o o a₀ r hr (by simpa using hr.le) ha₀ have hoF:=houter o u (v i) R hR hu hi let γ : Path o a₀:=hiE.somePath let ζ : Path u (v i):=hoF.somePath let E:=range γ let F:=range ζ have hE : IsPreconnected E:=isPreconnected_range γ.continuous have hF : IsPreconnected F:=isPreconnected_range ζ.continuous have hEa : a₀∈E:=⟨1,γ.target⟩ have hEo : o∈E:=⟨0,γ.source⟩ have hFu : u∈F:=⟨0,ζ.source⟩ have hFv : v i∈F:=⟨1,ζ.target⟩ have hEin : E ⊆ closedBall o (L*r):=by rintro y ⟨t,rfl⟩; exact hiE.somePath_mem t have hFout : F ⊆ (ball o (σ*R))ᶜ:=by rintro y ⟨t,rfl⟩; exact hoF.somePath_mem t have hgF : IsPreconnected (g '' F):=hF.image g g.continuous.continuousOn have hFp : (p:Sphere)∈g '' F:=⟨u,hFu,hp⟩ have hFinf : ∞∈g '' F:=⟨v i,hFv,hgpole⟩ let S:=C*dist (f o) (f b₀) have hS : 0markedChart i '' K d) (preimage_carrier_postcompose A K f (markedChart i) hpre) E F hE hF o (L*r) (σ*R) hEin hFout c a b ⟨uE,huE,vE,hvE,huE',hvE'⟩ refine ⟨uF,huF,v i,hFv,?_,?_⟩ · exact ⟨c,mem_closedBall_self ha,hguF.symm⟩ · rw [hgpole] exact OnePoint.infty_notMem_image_coe end CannonCarrierCharging end end end OAI