Download data/lean/OAI/Probability/CriticalPercolation/Modular/ModularGrowth.lean from introvoyz045/math: direct link, hf CLI and curl.
- Browser
- Download file 5.23 kB
-
https://huggingface.co/datasets/introvoyz045/math/resolve/main/data/lean/OAI/Probability/CriticalPercolation/Modular/ModularGrowth.lean
- Command line
-
hf download hf://datasets/introvoyz045/math/data/lean/OAI/Probability/CriticalPercolation/Modular/ModularGrowth.lean
-
curl -L -o ModularGrowth.lean https://huggingface.co/datasets/introvoyz045/math/resolve/main/data/lean/OAI/Probability/CriticalPercolation/Modular/ModularGrowth.lean
5.23 kB
| import Mathlib | |
| import OAI.Probability.CriticalPercolation.Criticality.GrowthAlternatives | |
| import OAI.Probability.CriticalPercolation.Criticality.SubexponentialVolumes | |
| import OAI.Probability.CriticalPercolation.Modular.GraphModular | |
| namespace OAI | |
| section | |
| noncomputable section | |
| open Set | |
| open scoped Classical | |
| namespace CriticalPercolation.BondGraph | |
| variable {V E : Type*} (G : BondGraph V E) | |
| lemma stabilizerOrbit_subset_ball {x y : V} {n : β} (hy : y β G.vertexBall x n) : | |
| G.stabilizerOrbit x y β G.vertexBall x n := by | |
| intro z hz | |
| obtain β¨Ο,hx,rflβ© := G.mem_stabilizerOrbit.mp hz | |
| rw [βhx] | |
| exact (Aut.vertexBall_mem G Ο x y n).mpr hy | |
| lemma Aut.pow_vertex_ball (Ο : G.Aut) (x : V) (C : β) | |
| (hx : Ο.vertex x β G.vertexBall x C) (n : β) : | |
| (Ο^n).vertex x β G.vertexBall x (n*C) := by | |
| induction n with | |
| | zero => | |
| rw [pow_zero,Nat.zero_mul] | |
| exact G.mem_vertexBall_self x 0 | |
| | succ n ih => | |
| have hstep := (Aut.vertexBall_mem G (Ο^n) x (Ο.vertex x) C).mpr hx | |
| have hh := G.vertexBall_add ih C hstep | |
| have heq : (Ο^(n+1)).vertex x = (Ο^n).vertex (Ο.vertex x) := by rw [pow_succ]; rfl | |
| simpa only [Nat.add_mul,Nat.one_mul,βheq] using hh | |
| lemma Aut.modularRatio_pow (hc : G.fullGraph.Connected) (hl : G.LocallyFinite) | |
| (Ο : G.Aut) (x : V) (n : β) : | |
| G.modularRatio x ((Ο^n).vertex x) = (G.modularRatio x (Ο.vertex x))^n := by | |
| induction n with | |
| | zero => | |
| rw [pow_zero,pow_zero] | |
| exact G.modularRatio_self x | |
| | succ n ih => | |
| have heq : (Ο^(n+1)).vertex x = (Ο^n).vertex (Ο.vertex x) := by rw [pow_succ]; rfl | |
| rw [heq,β G.modularRatio_cocycle hc hl x ((Ο^n).vertex x),Aut.modularRatio,ih,pow_succ] | |
| lemma modularRatio_le_suborbitCard (hc : G.fullGraph.Connected) (hl : G.LocallyFinite) | |
| (x y : V) : G.modularRatio x y β€ (G.suborbitCard x y : β) := by | |
| apply div_le_self (Nat.cast_nonneg _) | |
| exact_mod_cast G.suborbitCard_pos hc hl y x | |
| lemma modular_power_log_bound (hc : G.fullGraph.Connected) (hl : G.LocallyFinite) | |
| (Ο : G.Aut) (x : V) (C : β) (hx : Ο.vertex x β G.vertexBall x C) (n : β) : | |
| (n:β)*Real.log (G.modularRatio x (Ο.vertex x)) β€ | |
| Real.log ((G.vertexBall x (n*C)).ncard : β) := by | |
| have hp := G.modularRatio_pos hc hl x (Ο.vertex x) | |
| have hh : (G.modularRatio x (Ο.vertex x))^n β€ (G.vertexBall x (n*C)).ncard := by | |
| rw [βAut.modularRatio_pow G hc hl Ο x n] | |
| apply (G.modularRatio_le_suborbitCard hc hl x _).trans | |
| exact_mod_cast Set.ncard_le_ncard | |
| (G.stabilizerOrbit_subset_ball (Aut.pow_vertex_ball G Ο x C hx n)) | |
| (G.vertexBall_finite hl x (n*C)) | |
| have hlog := Real.log_le_log (pow_pos hp n) hh | |
| rwa [Real.log_pow] at hlog | |
| lemma subexponential_modularRatio_le_one (hc : G.fullGraph.Connected) | |
| (hl : G.LocallyFinite) (hg : G.SubexponentialGrowth) (Ο : G.Aut) (x : V) : | |
| G.modularRatio x (Ο.vertex x) β€ 1 := by | |
| by_contra hn | |
| have hr : 1 < G.modularRatio x (Ο.vertex x) := lt_of_not_ge hn | |
| have hlog : 0 < Real.log (G.modularRatio x (Ο.vertex x)) := Real.log_pos hr | |
| obtain β¨Cβ,hCββ© := G.finite_subset_vertexBall hc x (Set.finite_singleton (Ο.vertex x)) | |
| let C := Cβ+1 | |
| have hC : 0 < C := by omega | |
| have hx : Ο.vertex x β G.vertexBall x C := | |
| G.vertexBall_mono x (Nat.le_succ _) (hCβ (Set.mem_singleton _)) | |
| let a := Real.log (G.modularRatio x (Ο.vertex x)) | |
| have hCr : (0:β)<C := Nat.cast_pos.mpr hC | |
| obtain β¨N,hNβ© := hg x (a/(2*C)) (div_pos hlog (by positivity)) | |
| let n := N+1 | |
| have hn : 0<n := by omega | |
| have hnC : N β€ n*C := (Nat.le_succ N).trans (Nat.le_mul_of_pos_right n hC) | |
| have hlo := G.modular_power_log_bound hc hl Ο x C hx n | |
| have hhi := hN (n*C) hnC | |
| have heq : (a/(2*(C:β))) * ((n*C:β):β) = (n:β)*a/2 := by | |
| push_cast | |
| field_simp | |
| change (n:β)*a β€ _ at hlo | |
| rw [heq] at hhi | |
| have hnr : (0:β)<n := Nat.cast_pos.mpr hn | |
| nlinarith [mul_pos hnr hlog] | |
| lemma subexponential_combinatoriallyUnimodular (hc : G.fullGraph.Connected) | |
| (hl : G.LocallyFinite) (hg : G.SubexponentialGrowth) : G.CombinatoriallyUnimodular := by | |
| intro Ο x | |
| have h1 := G.subexponential_modularRatio_le_one hc hl hg Ο x | |
| have h2 := G.subexponential_modularRatio_le_one hc hl hg Οβ»ΒΉ (Ο.vertex x) | |
| have heq : (Οβ»ΒΉ).vertex (Ο.vertex x) = x := Ο.vertex.symm_apply_apply x | |
| rw [heq] at h2 | |
| unfold modularRatio at h1 h2 | |
| have hp1 : (0:β)<G.suborbitCard x (Ο.vertex x) := Nat.cast_pos.mpr (G.suborbitCard_pos hc hl x (Ο.vertex x)) | |
| have hp2 : (0:β)<G.suborbitCard (Ο.vertex x) x := Nat.cast_pos.mpr (G.suborbitCard_pos hc hl (Ο.vertex x) x) | |
| have ha := (div_le_one hp2).mp h1 | |
| have hb := (div_le_one hp1).mp h2 | |
| exact_mod_cast le_antisymm ha hb | |
| lemma exponential_of_not_combinatoriallyUnimodular [Nonempty V] | |
| (hc : G.fullGraph.Connected) (hl : G.LocallyFinite) (hq : G.QuasiTransitive) | |
| (hu : Β¬ G.CombinatoriallyUnimodular) : | |
| β a : β, 0<a β§ β N : β, β nβ₯N, β v : V, | |
| a*n β€ Real.log ((G.vertexBall v n).ncard : β) := by | |
| rcases G.growth_alternative hc hl hq with hg | hg | |
| Β· exact False.elim (hu (G.subexponential_combinatoriallyUnimodular hc hl hg)) | |
| Β· exact hg | |
| end CriticalPercolation.BondGraph | |
| end | |
| end | |
| end OAI | |