lemmaextend_image (e : X→Y) (he : Function.Injective e) (f : X→ℝ)
(A : SetY) (hA : A⊆ range e) :
extend e f '' A = f '' (e ⁻¹' A) :=by
proof · 7
lines
ext t
constructor
· rintro ⟨y,hy,rfl⟩
obtain ⟨x,rfl⟩ := hA hy
exact ⟨x,hy,(extend_apply e he f x).symm⟩
· rintro ⟨x,hx,rfl⟩
exact ⟨e x,hx,extend_apply e he f x⟩
rw [continuousOn_iff_continuous_domRestrict]
have hc := hf.comp he.toHomeomorph.symm.continuous
convert hc using1
funext y
obtain ⟨x,hx⟩ := y.property
havehy : y = he.toHomeomorph x :=Subtype.ext hx.symm
subst y
simp only [Set.domRestrict, Function.comp_apply, Homeomorph.symm_apply_apply]
exact extend_apply e he.injective f x
theoremscalar_ambient_level {X : Type*} [MetricSpaceX]
(e : CannonGrid.Square→X) (he : Topology.IsEmbedding e)
{ι : Type*} [Fintype ι] (C : ι →SetCannonGrid.Square) (ρ : ι →ℝ)
(hρ : ∀ i, 0≤ ρ i) (hadm : AdmissibleC ρ) (n : ℕ) (hn : 0 < n)
(d₁ : ℝ) (hd₁ : ∀A : SetCannonGrid.Square, IsCompactA→
(∃ x ∈A, x.1 = 0) → (∃ x ∈A, x.1 = 1) → d₁ ≤ diam (e '' A))
(t : ℝ) (ht : t ∈Ioo (0:ℝ) 1) :
∃A : SetX, IsCompactA∧IsConnectedA∧A⊆ e '' centralRectangle ∧
d₁ ≤ diam A∧ (∀ z ∈A, extend e (scalar C ρ n hn) z = t) ∧
(∀ {a b : CannonGrid.Square} (p : Path (e a) (e b)),
(∀ s, p s ∈ range e) → scalar C ρ n hn a < t → t < scalar C ρ n hn b →∃ s, p s ∈A) :=by
proof · 11
lines
obtain ⟨A,hA,hcon,hcentral,hf,hl,hr,hhit⟩ := scalar_level C ρ hρ hadm n hn ht
refine ⟨e '' A,hA.image he.continuous,hcon.image e he.continuous.continuousOn,
image_mono hcentral,hd₁ A hA hl hr,?_,?_⟩
· rintro z ⟨x,hx,rfl⟩
rw [extend_apply e he.injective]
exact hf x hx
· intro a b p hp ha hb
obtain ⟨s,hs⟩ := hhit (liftPath e he p hp) ha hb
refine ⟨s,?_⟩
rw [← liftPath_apply e he p hp s]
exact mem_image_of_mem e hs