cfahlgren1/math / lean /OAI /Geometry /Cannon /ScalarLimits /CompactVariationRegion.lean
cfahlgren1's picture
download
raw
9.59 kB
import Mathlib
import OAI.Geometry.Cannon.ScalarLimits.TransformedScalarEnergyConstant
import OAI.Geometry.Cannon.Energy.GeometricLimitMeasureHolder
import OAI.Geometry.Cannon.ScalarLimits.BoundaryRecordScalarLimit
import OAI.Geometry.Cannon.ScalarLimits.UniformlyImage
import OAI.Geometry.Cannon.Energy.ChartSquareInterior
namespace OAI
section
section
section
noncomputable section
section
section
section
section
section
open Set Topology Metric unitInterval
namespace CannonVariation
open Filter
lemma compact_variation_region {X : Type*} [MetricSpace X] (Ω : Set X)
(hΩ : IsOpen Ω) (P : Set X) (hP : IsCompact P) (hPne : P.Nonempty)
(hPΩ : P ⊆ Ω) (z₀ : X) (hz₀ : z₀ ∉ Ω) :
∃ O : Set X, IsOpen O ∧ Oᶜ.Nonempty ∧ closure O ⊆ Ω ∧ P ⊆ O ∧
∃ d : ℝ, 0 < d ∧ ∀ x ∈ O, d ≤ dist x z₀ := by
obtain ⟨O,hO,hPO,hOΩ⟩ := hP.exists_isOpen_closure_subset (hΩ.mem_nhdsSet.mpr hPΩ)
have hzO : z₀ ∉ closure O := fun h => hz₀ (hOΩ h)
have hOne : (closure O).Nonempty := hPne.mono (hPO.trans subset_closure)
have hd : 0 < infDist z₀ (closure O) := isClosed_closure.notMem_iff_infDist_pos hOne |>.mp hzO
refine ⟨O,hO,⟨z₀,fun h => hzO (subset_closure h)⟩,hOΩ,hPO,
infDist z₀ (closure O),hd,?_⟩
intro x hx
exact (infDist_le_dist_of_mem (subset_closure hx)).trans_eq (dist_comm z₀ x)
end CannonVariation
end
namespace CannonRelease
open CannonGraph CannonVisual CannonMagnification CannonVariation CannonComparison
open CannonPacking CannonApprox CannonGrid CannonChart CannonCharts CannonCells CannonPlanar
open Set Metric Filter Topology MeasureTheory
universe v
variable {G : Type v} [Group G] [TopologicalSpace G] [DiscreteTopology G]
variable (D : CayleyData G) {δ : ℕ} (hδ : Thin D.graph δ)
local instance : Setoid (BasedRay D) := raySetoid D
theorem boundary_exponential_records_impossible (φ : Boundary D ≃ₜ SphereTwo) :
let _ := visualMetricSpace D hδ
let a := Real.exp (2*visualExponent δ)
let LE := 8*Real.exp (visualExponent δ*(4*(8*δ+6):ℕ))
∀ d : ℝ, 0 < d → d < diam (univ : Set (Boundary D)) → d ≤ 1/(LE*3^2) →
∀ (ι : ℕ → Type*) [∀ n, Fintype (ι n)] (p : ∀ n, ι n → Boundary D),
(∀ n i j, i ≠ j → (a^n)⁻¹ ≤ dist (p n i) (p n j)) →
(∀ n x, ∃ i, dist (p n i) x ≤ (a^n)⁻¹) →
∀ lam : ℝ, 1 < lam →
(∀ B : ℝ, ∃ n,
B < modulus (fun i => ball (p n i) (2*(a^n)⁻¹)) (macroFamily d)/lam^n) → False := by
classical
let _ := visualMetricSpace D hδ
let _ : MeasurableSpace (Boundary D) := borel (Boundary D)
let _ : BorelSpace (Boundary D) := ⟨rfl⟩
let _ : LocallyPathConnectedSpace SphereTwo := CannonPaths.sphere_locallyPathConnected
let _ : LocallyPathConnectedSpace (Boundary D) := φ.symm.isQuotientMap.locallyPathConnectedSpace
dsimp only
intro d hd hdia hdc ι hι p hpsep hpnet lam hlam hunbounded
let a := Real.exp (2*visualExponent δ)
have ha : 1 < a := Real.one_lt_exp_iff.mpr (mul_pos (by norm_num) (visualExponent_pos δ))
let M := fun n => modulus (fun i => ball (p n i) (2*(a^n)⁻¹)) (macroFamily d)
obtain ⟨e,he,A,hA,N,hN,hMlim,hrecord,ρ,m,hm,hρ,hadm,henergy,hmesh,u,hu,hvar,
ν,_hν,ψ,hψ,hflim,hμlim⟩ :=
boundary_record_scalar_limit D hδ φ d hd hdia hdc ι p hpsep hpnet lam hlam.le hunbounded
let E := e ∘ squareMap
have hE : IsEmbedding E := he.isEmbedding.comp squareMap_embedding
let Ns := N ∘ ψ
have hNs : StrictMono Ns := hN.comp hψ
let w := fun n => ρ (ψ n)
let ms := m ∘ ψ
have hms : ∀ n, 0 < ms n := fun n => hm (ψ n)
have hw : ∀ n i, 0 ≤ w n i := fun n => hρ (ψ n)
have hadms : ∀ n, Admissible (fun i => E ⁻¹' ball (p (Ns n) i) (2*(a^(Ns n))⁻¹)) (w n) :=
fun n => hadm (ψ n)
obtain ⟨Q,CP,_hQ,hCP,hpack⟩ := relative_polynomial_packing D hδ
obtain ⟨L,hL,hpaths⟩ := boundary_controlled_paths D hδ φ
obtain ⟨_C,_hC,_hmeasure,hholder⟩ := geometric_limit_measure_holder φ d hd hdia a ha Q CP
(2*Real.exp (visualExponent δ*(2*(8*δ+6):ℕ)))
(1/((8*Real.exp (visualExponent δ*(4*(8*δ+6):ℕ)))*3^2)) L
hpack hCP.le (by positivity) (by positivity) hL hdc hpaths
(boundary_smallball_expansion D hδ) ι p hpsep hpnet E hE Ns w hw hadms ms hms
(fun n => hmesh (ψ n)) lam hlam.le (fun n => hrecord (ψ n)) hNs A hA.le
(fun n => henergy (ψ n)) u ν hu hflim hμlim
obtain ⟨hα,huholder⟩ := hholder hlam
let Ω := interior (range E)
obtain ⟨top,bot,htop,hbot⟩ := hvar
have hv : ∃ v ∈ Ω, ∃ w ∈ Ω, onDomain u v ≠ onDomain u w := by
refine ⟨top,top.property,bot,bot.property,?_⟩
simpa only [onDomain_eq u top top.property,onDomain_eq u bot bot.property,htop,hbot] using
(zero_ne_one : (0:ℝ) ≠ 1)
obtain ⟨v₀,w₀,q,hq,hqvar⟩ := ordered_variation_path Ω (chart_square_pathConnected e he) (onDomain u) hv
let P := range q
have hP : IsCompact P := isCompact_range q.continuous
have hPc : IsConnected P := isConnected_range q.continuous
let z₀ := e (0,0)
have hz₀ : z₀ ∉ Ω := chart_origin_outside_square e he
obtain ⟨O,hO,hOc,hOΩ,hPO,d₀,hd₀,hsep⟩ :=
compact_variation_region Ω isOpen_interior P hP hPc.nonempty hq z₀ hz₀
let r : ℕ → ℝ := fun n => (a^(Ns n))⁻¹
have hr : ∀ n, 0 < r n := fun n => inv_pos.mpr (pow_pos (zero_lt_one.trans ha) _)
have hrlim : Tendsto r atTop (𝓝 0) := by
simpa only [r,inv_pow,Function.comp_def] using
(tendsto_pow_atTop_nhds_zero_of_lt_one (inv_pos.mpr (zero_lt_one.trans ha)).le
(inv_lt_one_of_one_lt₀ ha)).comp hNs.tendsto_atTop
let f := fun n => scalar (fun i => E ⁻¹' ball (p (Ns n) i) (2*r n)) (w n) (ms n) (hms n)
let H := fun n => CannonChart.extend E (f n)
have hfprop (n : ℕ) := scalar_properties _ (w n) (hw n) (hadms n) (ms n) (hms n)
have hHrange : ∀ n y, H n y ∈ Icc (0:ℝ) 1 := by
intro n y
by_cases hy : y ∈ range E
· obtain ⟨z,rfl⟩ := hy
change CannonChart.extend E (f n) (E z) ∈ Icc (0:ℝ) 1
rw [CannonChart.extend_apply E hE.injective]
exact (hfprop n).2.1 z
· change Function.extend E (f n) (fun _ => 0) y ∈ Icc (0:ℝ) 1
rw [Function.extend_apply' _ _ y hy]
norm_num
have hHcont (n : ℕ) : ContinuousOn (H n) Ω :=
(continuousOn_extend E hE (f n) (hfprop n).1).mono interior_subset
have hHlim : ∀ K : Set (Boundary D), IsCompact K → K ⊆ Ω →
TendstoUniformlyOn H (onDomain u) atTop K := by
intro K hK hKΩ
apply uniform_onDomain H u ?_ K hK hKΩ
exact ContinuousMap.tendsto_iff_forall_isCompact_tendstoUniformlyOn.mp hflim
obtain ⟨d₁,hd₁,hlateral⟩ := exists_chart_lateral_diameter E hE
have hlevels : ∀ n τ, τ ∈ Ioo (0:ℝ) 1 →
∃ S : Set (Boundary D), IsCompact S ∧ IsConnected S ∧ d₁ ≤ diam S ∧
(∀ y ∈ S, H n y = τ) ∧
∀ v w : Boundary D, ∀ γ : Path v w, range γ ⊆ Ω →
H n v < τ → τ < H n w → (S ∩ range γ).Nonempty := by
intro n τ hτ
obtain ⟨S,hS,hSc,_hSU,hSd,hSH,hhit⟩ := scalar_ambient_level E hE
(fun i => E ⁻¹' ball (p (Ns n) i) (2*r n)) (w n) (hw n) (hadms n)
(ms n) (hms n) d₁ hlateral τ hτ
refine ⟨S,hS,hSc,hSd,hSH,?_⟩
intro v w γ hγ hv hw'
obtain ⟨v',rfl⟩ := interior_subset (hγ γ.source_mem_range)
obtain ⟨w',rfl⟩ := interior_subset (hγ γ.target_mem_range)
have hv' : f n v' < τ := by simpa only [H,CannonChart.extend_apply E hE.injective] using hv
have hw'' : τ < f n w' := by simpa only [H,CannonChart.extend_apply E hE.injective] using hw'
obtain ⟨t,ht⟩ := hhit γ (fun t => interior_subset (hγ (mem_range_self t))) hv' hw''
exact ⟨γ t,ht,mem_range_self t⟩
apply boundary_holder_scalar_impossible D hδ φ (fun n => ι (Ns n)) (fun n => p (Ns n)) r
hr hrlim (fun n => hpsep (Ns n)) (fun n => hpnet (Ns n)) Ω O P isOpen_interior hO hOc hOΩ
hP hPc hPO u ⟨v₀,q.source_mem_range,w₀,q.target_mem_range,hqvar.ne⟩
(Real.log lam/(2*Real.log a)) hα huholder z₀ d₀ hd₀ hsep H hHrange hHcont hHlim d₁ hd₁ hlevels
intro g K hK hKU J hJ
let gg := boundaryHomeomorph D ⟨δ,hδ⟩ g
let B := 2*Real.exp (visualExponent δ*(2*(3*D.graph.dist 1 g⁻¹+4*δ):ℕ))
let Ag := 2*Real.exp (visualExponent δ*(2*(3*D.graph.dist 1 g+4*δ):ℕ))
have hAg : 0 < Ag := by dsimp [Ag]; positivity
have hB : 0 < B := by dsimp [B]; positivity
have hupper : ∀ x y, dist (gg.symm x) (gg.symm y) ≤ B*dist x y :=
boundaryTranslate_lipschitz_bound D hδ g⁻¹
have hlower : ∀ x y, Ag⁻¹*dist x y ≤ dist (gg.symm x) (gg.symm y) := by
intro x y
have hh : dist (gg (gg.symm x)) (gg (gg.symm y)) ≤ Ag*dist (gg.symm x) (gg.symm y) :=
boundaryTranslate_lipschitz_bound D hδ g (gg.symm x) (gg.symm y)
simp only [gg.apply_symm_apply] at hh
calc Ag⁻¹*dist x y = dist x y/Ag := by ring
_ ≤ dist (gg.symm x) (gg.symm y) := (div_le_iff₀ hAg).mpr (by simpa only [mul_comm] using hh)
obtain ⟨_C,_hC,_htail,hzero⟩ := transformed_scalar_energy_tail Q CP L J B Ag⁻¹ hpack hCP.le hL
hJ hB (inv_pos.mpr hAg) hpaths E hE gg hlower hupper (fun n => ι (Ns n))
(fun n => p (Ns n)) r hr hrlim (fun n => hpsep (Ns n)) w hw hadms ms hms
(fun n => hmesh (ψ n)) (M ∘ Ns) (hMlim.comp hψ.tendsto_atTop) A hA.le
(fun n => henergy (ψ n)) K hK hKU
exact hzero
end CannonRelease
end
end
end
end
end
end
end
end
end OAI

Xet Storage Details

Size:
9.59 kB
·
Xet hash:
fc95edb1ad5ebaea46dc11ec10c9c67b82f6009c769d10933cded8990e0aad42

Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.