import Mathlib import OAI.Geometry.Cannon.Modulus.Ambient import OAI.Geometry.Cannon.Conformal.Round namespace OAI section section section noncomputable section namespace CannonRoundRadial open Set Metric Topology theorem carrier_homeomorph {X Y Z ι : Type*} [TopologicalSpace X] [TopologicalSpace Y] [TopologicalSpace Z] (A : ι → Set X) (K : ι → Set Y) (hc : ∀ S : Set Y,IsPreconnected S → IsPreconnected (⋃ (i : {i : ι // (S∩K i).Nonempty}),A i.val)) (N : Y ≃ₜ Z) (S : Set Z) (hS : IsPreconnected S) : IsPreconnected (⋃ (i : {i : ι // (S∩N '' K i).Nonempty}),A i.val) := by have he (i : ι) : (S∩N '' K i).Nonempty ↔ (N ⁻¹' S∩K i).Nonempty := by constructor · rintro ⟨_,hs,⟨x,hx,rfl⟩⟩ exact ⟨x,hs,hx⟩ · rintro ⟨x,hx,hk⟩ exact ⟨N x,hx,⟨x,hk,rfl⟩⟩ have hpre : IsPreconnected (N ⁻¹' S) := by rw [←Homeomorph.image_symm] exact hS.image N.symm N.symm.continuous.continuousOn have hu : (⋃ (i : {i : ι // (S∩N '' K i).Nonempty}),A i.val)= (⋃ (i : {i : ι // (N ⁻¹' S∩K i).Nonempty}),A i.val) := by ext x simp only [mem_iUnion,Subtype.exists] constructor <;> rintro ⟨i,hi,hx⟩ · exact ⟨i,(he i).mp hi,hx⟩ · exact ⟨i,(he i).mpr hi,hx⟩ rw [hu] exact hc _ hpre theorem round_realization {X ι : Type*} [PseudoMetricSpace X] (A : ι → Set X) (K : ι → Set (OnePoint ℂ)) (f : C(X,OnePoint ℂ)) (hfs : Function.Surjective f) (hpre : ∀ S : Set (OnePoint ℂ),f ⁻¹' S⊆ ⋃ (i : {i : ι // (S∩K i).Nonempty}),A i.val) (hc : ∀ S : Set (OnePoint ℂ),IsPreconnected S → IsPreconnected (⋃ (i : {i : ι // (S∩K i).Nonempty}),A i.val)) (eps : ℝ) (hfib : ∀ x y,f x=f y → dist x y≤eps) (N : OnePoint ℂ≃ₜOnePoint ℂ) : ∃ g : C(X,Round),Function.Surjective g ∧ (∀ x,g x=CannonMobius.roundChart (N (f x))) ∧ (∀ x y,g x=g y → dist x y≤eps) ∧ (∀ S : Set Round,g ⁻¹' S⊆ ⋃ (i : {i : ι // (S∩(N.trans CannonMobius.roundChart) '' K i).Nonempty}),A i.val) ∧ (∀ p : Round,∀ t : ℝ,IsPreconnected (⋃ (i : {i : ι // (sphere p t∩(N.trans CannonMobius.roundChart) '' K i).Nonempty}),A i.val)) := by let E : OnePoint ℂ≃ₜRound:=N.trans CannonMobius.roundChart let g : C(X,Round):=⟨E ∘ f,E.continuous.comp f.continuous⟩ refine ⟨g,E.surjective.comp hfs,fun x=>rfl,?_,?_,?_⟩ · intro x y hxy exact hfib x y (E.injective hxy) · intro S x hx have hx' : f x∈E ⁻¹' S:=hx obtain ⟨i,hi⟩:=mem_iUnion.mp (hpre (E ⁻¹' S) (show x∈f ⁻¹' (E ⁻¹' S) from hx')) obtain ⟨q,hq,hqK⟩:=i.property exact mem_iUnion.mpr ⟨⟨i.val,⟨E q,hq,⟨q,hqK,rfl⟩⟩⟩,hi⟩ · intro p t exact carrier_homeomorph A K hc E _ (metric_sphere_preconnected p t) end CannonRoundRadial end end section noncomputable section namespace CannonRelease open Set Metric Topology unitInterval CannonGraph CannonCarrierCharging CannonUniformization open scoped OnePoint variable {G : Type*} [Group G] [TopologicalSpace G] [DiscreteTopology G] variable (D : CayleyData G) {δ : ℕ} (hδ : Thin D.graph δ) theorem boundary_annular_metric_carriers (φ : Boundary D ≃ₜ SphereTwo) : let _ := visualMetricSpace D hδ ∃ L c : ℝ,1≤L ∧ 0