import Mathlib import OAI.Geometry.Cannon.PlaneTopology.BoundaryControlledEmbeddedArcs import OAI.Geometry.Cannon.PlaneTopology.SeparatedArcColoring namespace OAI section section section noncomputable section open Set unitInterval Topology noncomputable section noncomputable section namespace CannonRelease open Set Metric CannonGraph CannonPacking CannonEmbeddedArc CannonEmbeddedArc.Arc variable {G : Type*} [Group G] [TopologicalSpace G] [DiscreteTopology G] variable (D : CayleyData G) {δ : ℕ} (hδ : Thin D.graph δ) theorem boundary_uniform_embedded_graph (φ : Boundary D ≃ₜ SphereTwo) : let _ := visualMetricSpace D hδ ∃ L r₀ : ℝ, 1≤L ∧ 0 Compatible (F e) (F f)) ∧ (∀ x∈T, ∀ y∈T, x≠y → dist x y<4*r → Vertex F x ∧ Vertex F y ∧ ∃ b : Arc (Boundary D), b 0=x ∧ b 1=y ∧ range b ⊆ (⋃ j, range (F j)) ∧ diam (range b)≤3*L*r) ∧ (∀ j, diam (range (F j))≤L*r) ∧ (∀ x, intersectionCount F (ball x (2*L*r))≤K) := by let _ := visualMetricSpace D hδ dsimp only obtain ⟨L,s₀,hL,hs₀,harc⟩ := boundary_controlled_embedded_arcs D hδ φ obtain ⟨Q,C,_,hC,hp⟩ := relative_polynomial_packing D hδ have hLpos : 0