Download data/lean/OAI/Analysis/CircleDomains/Modulus/ChainPotentialOscillation.lean from introvoyz045/math: direct link, hf CLI and curl.
- Browser
- Download file 4.26 kB
-
https://huggingface.co/datasets/introvoyz045/math/resolve/main/data/lean/OAI/Analysis/CircleDomains/Modulus/ChainPotentialOscillation.lean
- Command line
-
hf download hf://datasets/introvoyz045/math/data/lean/OAI/Analysis/CircleDomains/Modulus/ChainPotentialOscillation.lean
-
curl -L -o ChainPotentialOscillation.lean https://huggingface.co/datasets/introvoyz045/math/resolve/main/data/lean/OAI/Analysis/CircleDomains/Modulus/ChainPotentialOscillation.lean
4.26 kB
| import OAI.Analysis.CircleDomains.Selection.FiniteChainPotential | |
| import OAI.Analysis.CircleDomains.Uniformization.BandLimits | |
| namespace OAI | |
| /-! Real-valued oscillation and topological bands of the truncated chain | |
| distance. The closure argument retains all cluster values. -/ | |
| open Set Filter | |
| open scoped Topology ENNReal | |
| noncomputable section | |
| namespace CircleDomainRigidity | |
| variable {X : Type*} | |
| def realChainPotential (R : X β X β ββ₯0β β Prop) (E : Set X) (x : X) : β := | |
| (chainPotential R E x).toReal | |
| theorem chainPotential_ne_top (R : X β X β ββ₯0β β Prop) (E : Set X) (x : X) : | |
| chainPotential R E x β β := | |
| (lt_of_le_of_lt (chainPotential_le_one R E x) (by simp)).ne | |
| theorem realChainPotential_mem_Icc (R : X β X β ββ₯0β β Prop) (E : Set X) (x : X) : | |
| realChainPotential R E x β Icc 0 1 := by | |
| refine β¨ENNReal.toReal_nonneg, ?_β© | |
| change (chainPotential R E x).toReal β€ 1 | |
| simpa only [ENNReal.toReal_one] using | |
| ENNReal.toReal_mono (by simp : (1 : ββ₯0β) β β) (chainPotential_le_one R E x) | |
| theorem realChainPotential_difference (R : X β X β ββ₯0β β Prop) | |
| (hR : β x y a, R x y a β R y x a) {E : Set X} {x y : X} {a : ββ₯0β} | |
| (h : R x y a) : ENNReal.ofReal |realChainPotential R E y - realChainPotential R E x| β€ 4 * a := by | |
| by_cases ha : a = β | |
| Β· simp [ha] | |
| have hcost : (4 : ββ₯0β) * a β β := ENNReal.mul_ne_top (by simp) ha | |
| obtain β¨hyx, hxyβ© := chainPotential_two_sided R hR (E := E) h | |
| have hyxr := ENNReal.toReal_mono | |
| (ENNReal.add_ne_top.mpr β¨chainPotential_ne_top R E x, hcostβ©) hyx | |
| have hxyr := ENNReal.toReal_mono | |
| (ENNReal.add_ne_top.mpr β¨chainPotential_ne_top R E y, hcostβ©) hxy | |
| rw [ENNReal.toReal_add (chainPotential_ne_top R E x) hcost] at hyxr | |
| rw [ENNReal.toReal_add (chainPotential_ne_top R E y) hcost] at hxyr | |
| apply (ENNReal.ofReal_le_iff_le_toReal hcost).mpr | |
| apply abs_le.mpr | |
| change -(4 * a).toReal β€ (chainPotential R E y).toReal - (chainPotential R E x).toReal β§ | |
| (chainPotential R E y).toReal - (chainPotential R E x).toReal β€ (4 * a).toReal | |
| constructor <;> linarith | |
| variable [TopologicalSpace X] [FirstCountableTopology X] | |
| theorem clusterGraph_oscillation_of_neighborhood {G V : Set X} {f : X β β} | |
| {s : X} {a b : β} {c : ββ₯0β} (hV : V β π s) | |
| (hbound : β x β G β© V, β y β G β© V, ENNReal.ofReal |f x - f y| β€ c) | |
| (ha : (s, a) β clusterGraph G f) (hb : (s, b) β clusterGraph G f) : | |
| ENNReal.ofReal |a - b| β€ c := by | |
| obtain β¨v, hfv, hvβ© := (mem_clusterGraph_iff_mapClusterPt.mp ha).exists_seq_tendsto | |
| obtain β¨w, hfw, hwβ© := (mem_clusterGraph_iff_mapClusterPt.mp hb).exists_seq_tendsto | |
| have hvg := (tendsto_nhdsWithin_iff.mp hv).2 | |
| have hwg := (tendsto_nhdsWithin_iff.mp hw).2 | |
| have hvv := (tendsto_nhdsWithin_iff.mp hv).1.eventually hV | |
| have hwv := (tendsto_nhdsWithin_iff.mp hw).1.eventually hV | |
| apply le_of_tendsto (ENNReal.tendsto_ofReal ((hfv.sub hfw).abs)) | |
| filter_upwards [hvg, hwg, hvv, hwv] with n hvg hwg hvv hwv | |
| exact hbound (v n) β¨hvg, hvvβ© (w n) β¨hwg, hwvβ© | |
| theorem clusterGraph_oscillation_of_jumps (R : X β X β ββ₯0β β Prop) | |
| (hR : β x y a, R x y a β R y x a) (E G : Set X) | |
| {s : X} {V : β β Set X} (hV : β j, V j β π s) (c : β β ββ₯0β) | |
| (hj : β j, β x β G β© V j, β y β G β© V j, R x y (c j)) | |
| {a b : β} (ha : (s, a) β clusterGraph G (realChainPotential R E)) | |
| (hb : (s, b) β clusterGraph G (realChainPotential R E)) : | |
| ENNReal.ofReal |a - b| β€ 4 * limsup c atTop := by | |
| have hc (j : β) : ENNReal.ofReal |a - b| β€ 4 * c j := | |
| clusterGraph_oscillation_of_neighborhood (hV j) | |
| (fun x hx y hy => realChainPotential_difference R hR (hj j y hy x hx)) ha hb | |
| have hl : ENNReal.ofReal |a - b| β€ limsup (fun j => (4 : ββ₯0β) * c j) atTop := by | |
| apply le_limsup_of_le (h := ?_) | |
| intro t ht | |
| obtain β¨j, hjβ© := ht.exists | |
| exact (hc j).trans hj | |
| have hm := ENNReal.limsup_mul_le' (f := atTop) | |
| (u := fun _ : β => (4 : ββ₯0β)) (v := c) | |
| (Or.inl (by simp)) (Or.inl (by simp)) | |
| simp only [limsup_const] at hm | |
| exact hl.trans hm | |
| end CircleDomainRigidity | |
| end | |
| end OAI | |