Download data/lean/OAI/Probability/BenjaminiSchramm/ExponentialDecay.lean from introvoyz045/math: direct link, hf CLI and curl.
- Browser
- Download file 12.3 kB
-
https://huggingface.co/datasets/introvoyz045/math/resolve/main/data/lean/OAI/Probability/BenjaminiSchramm/ExponentialDecay.lean
- Command line
-
hf download hf://datasets/introvoyz045/math/data/lean/OAI/Probability/BenjaminiSchramm/ExponentialDecay.lean
-
curl -L -o ExponentialDecay.lean https://huggingface.co/datasets/introvoyz045/math/resolve/main/data/lean/OAI/Probability/BenjaminiSchramm/ExponentialDecay.lean
12.3 kB
Lean 4 Β· 10
declarations statementsfull
theorem walk_crosses_sphere (H : SimpleGraph V) {x y : V} (w : H.Walk x y)
(o : V) (n : β) (hlo : H.dist o x β€ n) (hhi : n β€ H.dist o y) :
β z β w.support, H.dist o z = n := by proof Β· 10 lines
induction w with
| @nil a => exact β¨a, by simp, by omegaβ©
| @cons x a y ha w ih =>
by_cases hx : H.dist o x = n
Β· exact β¨x, by simp, hxβ©
Β· have had : H.dist o a β€ n := by
have hh := ha.diff_dist_adj (u := o)
omega
obtain β¨z, hz, hdβ© := ih had hhi
exact β¨z, by simpa only [SimpleGraph.Walk.support_cons, List.mem_cons] using Or.inr hz, hdβ©theorem mem_reachBall_of_graphDistance_le (G : BondGraph V E) (hconn : Connected G)
(x z : V) (m : β) (hd : graphDistance G x z β€ m) : z β reachBall G x m := by proof Β· 7 lines
obtain β¨w, hwβ© := ((conn_iff_reachable G Set.univ x z).mp
(conn_univ_of_connected G hconn x z)).exists_walk_length_eq_dist
obtain β¨l, hl, he, _β© := walk_lift_bonds G Set.univ w
have hlen : l.length = w.length := by
have hh := congrArg List.length he
simpa only [List.length_map, SimpleGraph.Walk.length_edges] using hh
exact reachBall_mono G x (hlen.trans_le (hw.trans_le hd)) hl.mem_reachBalltheorem sphere_split_subset (G : BondGraph V E) (hconn : Connected G)
(hloc : LocallyFinite G) (x y : V) (m r : β) (hrm : r β€ m)
(hry : r β€ graphDistance G x y) :
{Ο | Conn G Ο x y} β
β z β ((finite_reachBall hloc x m).toFinset.filter
fun z => graphDistance G x z = r),
DisjointOccurrence {Ο | Conn G Ο x z} {Ο | Conn G Ο z y} := by proof Β· 15 lines
intro Ο hc
obtain β¨wβ© := (conn_iff_reachable G Ο x y).mp hc
let q := w.bypass
have hle : openSimpleGraph G Ο β€ openSimpleGraph G Set.univ := by
rintro a b β¨hne, e, _, heβ©
exact β¨hne, e, Set.mem_univ _, heβ©
obtain β¨z, hz, hzrβ© := walk_crosses_sphere (openSimpleGraph G Set.univ)
(q.mapLe hle) x r (by simp) hry
have hzq : z β q.support := by
simpa only [SimpleGraph.Walk.support_mapLe_eq_support] using hz
have hzB : z β (finite_reachBall hloc x m).toFinset := by
apply (finite_reachBall hloc x m).mem_toFinset.mpr
exact mem_reachBall_of_graphDistance_le G hconn x z m (hzr.trans_le hrm)
exact Set.mem_iUnion.mpr β¨z, Set.mem_iUnion.mpr
β¨Finset.mem_filter.mpr β¨hzB, hzrβ©, simplePath_disjoint_at G Ο q w.bypass_isPath hzqβ©β©theorem twoPoint_le_sphere_sum [Countable E] (G : BondGraph V E)
(hconn : Connected G) (hloc : LocallyFinite G) (p : unitInterval)
(x y : V) (m r : β) (hrm : r β€ m) (hry : r β€ graphDistance G x y) :
twoPoint G p x y β€
β z β (finite_reachBall hloc x m).toFinset with graphDistance G x z = r,
twoPoint G p x z * twoPoint G p z y := by proof Β· 14 lines
let F := (finite_reachBall hloc x m).toFinset.filter fun z => graphDistance G x z = r
calc
_ β€ (law p).real (β z β F,
DisjointOccurrence {Ο | Conn G Ο x z} {Ο | Conn G Ο z y}) :=
measureReal_mono (sphere_split_subset G hconn hloc x y m r hrm hry) (measure_ne_top _ _)
_ β€ β z β F, (law p).real
(DisjointOccurrence {Ο | Conn G Ο x z} {Ο | Conn G Ο z y}) :=
measureReal_biUnion_finset_le F _
_ β€ _ := by
apply Finset.sum_le_sum
intro z _
exact bk p _ _ (fun _ _ h hc => conn_mono G h hc)
(fun _ _ h hc => conn_mono G h hc)
(finiteWitness_conn G x z) (finiteWitness_conn G z y)theorem connectivity_power_lower [Countable V] [Countable E]
(G : BondGraph V E) (hconn : Connected G) (hloc : LocallyFinite G)
(p : unitInterval) (A : Hilbert V βL[β] Hilbert V) (hA : HasKernel G p A)
(m k : β) (x y : V) (hd : k * m β€ graphDistance G x y) :
((m + 1 : β) : β) ^ k * twoPoint G p x y β€
(matrixCoeff (A ^ (k + 1)) x y).re := by proof Β· 57 lines
have hk (a b : V) : matrixCoeff A a b = (twoPoint G p a b : β) := hA a b
have hpos : PositiveRealMatrix A := by
intro a b
rw [hk]
exact β¨rfl, twoPoint_nonneg G p a bβ©
induction k generalizing x y with
| zero => simp only [pow_zero, one_mul, zero_add, pow_one, hk, Complex.ofReal_re, le_refl]
| succ k ih =>
rw [Nat.succ_mul] at hd
let B := (finite_reachBall hloc x m).toFinset
let F (z : V) := twoPoint G p x z * (matrixCoeff (A ^ (k + 1)) z y).re
have hF (z : V) : 0 β€ F z :=
mul_nonneg (twoPoint_nonneg G p x z) ((hpos.pow (k + 1)) z y).2
have hsphere (r : β) (hr : r β Finset.range (m + 1)) :
((m + 1 : β) : β) ^ k * twoPoint G p x y β€
β z β B with graphDistance G x z = r, F z := by
have hrm : r β€ m := by simpa only [Finset.mem_range, Nat.lt_succ_iff] using hr
calc
_ β€ ((m + 1 : β) : β) ^ k *
β z β B with graphDistance G x z = r,
twoPoint G p x z * twoPoint G p z y :=
mul_le_mul_of_nonneg_left (twoPoint_le_sphere_sum G hconn hloc p x y m r
hrm (by omega)) (by positivity)
_ β€ _ := by
rw [Finset.mul_sum]
apply Finset.sum_le_sum
intro z hz
have hxz := (Finset.mem_filter.mp hz).2
have hzy : k * m β€ graphDistance G z y := by
have ht := ((conn_iff_reachable G Set.univ x z).mp
(conn_univ_of_connected G hconn x z)).dist_triangle_left y
change graphDistance G x y β€ graphDistance G x z + graphDistance G z y at ht
omega
simpa only [F, mul_left_comm, mul_assoc] using
mul_le_mul_of_nonneg_left (ih z y hzy) (twoPoint_nonneg G p x z)
have havg := Finset.sum_le_sum hsphere
have hfiber : (β r β Finset.range (m + 1),
β z β B with graphDistance G x z = r, F z) = β z β B, F z := by
apply Finset.sum_fiberwise_of_maps_to
intro z hz
apply Finset.mem_range.mpr
have hh := dist_le_of_mem_reachBall G x z m ((finite_reachBall hloc x m).mem_toFinset.mp hz)
change graphDistance G x z β€ m at hh
omega
rw [hfiber] at havg
have hs := hpos.mul_hasSum (A ^ (k + 1)) x y
simp only [hk, Complex.ofReal_re] at hs
calc
_ = β _r β Finset.range (m + 1),
((m + 1 : β) : β) ^ k * twoPoint G p x y := by
simp only [Finset.sum_const, Finset.card_range, nsmul_eq_mul, pow_succ]
ring
_ β€ β z β B, F z := havg
_ β€ β' z, F z := hs.summable.sum_le_tsum B (fun z _ => hF z)
_ = (matrixCoeff (A ^ (k + 1 + 1)) x y).re := by
rw [hs.tsum_eq]
exact congrArg (fun T => (matrixCoeff T x y).re) (pow_succ' A (k + 1)).symmtheorem connectivity_block_bound [Countable V] [Countable E]
(G : BondGraph V E) (hconn : Connected G) (hloc : LocallyFinite G)
(p : unitInterval) (A : Hilbert V βL[β] Hilbert V) (hA : HasKernel G p A)
(m k : β) (x y : V) (hd : k * m β€ graphDistance G x y) :
twoPoint G p x y β€ βAβ * (βAβ / (m + 1 : β)) ^ k := by proof Β· 15 lines
have hp := connectivity_power_lower G hconn hloc p A hA m k x y hd
have hcoeff : (matrixCoeff (A ^ (k + 1)) x y).re β€ βAβ ^ (k + 1) := by
apply (Complex.re_le_norm _).trans
have hc : βmatrixCoeff (A ^ (k + 1)) x yβ β€ βA ^ (k + 1)β := by
change β(A ^ (k + 1)) (lp.single 2 y (1 : β)) xβ β€ _
apply (lp.norm_apply_le_norm (by norm_num : (2 : ENNReal) β 0)
((A ^ (k + 1)) (lp.single 2 y (1 : β))) x).trans
simpa only [lp.norm_single (by norm_num : 0 < (2 : ENNReal)), norm_one, mul_one] using
(A ^ (k + 1)).le_opNorm (lp.single 2 y (1 : β))
exact hc.trans (norm_pow_le' A (Nat.zero_lt_succ k))
have hc : (0 : β) < (m + 1 : β) := by positivity
calc
_ β€ βAβ ^ (k + 1) / ((m + 1 : β) : β) ^ k :=
(le_div_iffβ (pow_pos hc k)).mpr (by simpa only [mul_comm] using hp.trans hcoeff)
_ = _ := by rw [div_pow, pow_succ]; ringtheorem connectivity_exponential_bound [Countable V] [Countable E] [Nonempty V]
(G : BondGraph V E) (hconn : Connected G) (hloc : LocallyFinite G)
(p : unitInterval) (A : Hilbert V βL[β] Hilbert V) (hA : HasKernel G p A)
(x y : V) :
twoPoint G p x y β€ 2 * βAβ *
Real.exp (-(Real.log 2 / (3 * βAβ)) * graphDistance G x y) := by proof Β· 47 lines
have hM : 1 β€ βAβ := hA.norm_one_le G p A
have hMp : 0 < βAβ := lt_of_lt_of_le zero_lt_one hM
let m : β := β2 * βAβββ
have hml : 2 * βAβ β€ (m : β) := Nat.le_ceil _
have hmu : (m : β) β€ 3 * βAβ := by
have hh := Nat.ceil_lt_add_one (show 0 β€ 2 * βAβ by positivity)
dsimp [m]
linarith
have hmp : 0 < m := by
have : (0 : β) < m := lt_of_lt_of_le (by positivity) hml
exact_mod_cast this
let k := graphDistance G x y / m
have hk : k * m β€ graphDistance G x y := Nat.div_mul_le_self _ _
have hxy : graphDistance G x y < (k + 1) * m := by
simpa only [k, Nat.mul_comm] using Nat.lt_mul_div_succ (graphDistance G x y) hmp
have hr : βAβ / (m + 1 : β) β€ (1 / 2 : β) := by
apply (div_le_iffβ (by positivity : (0 : β) < (m + 1 : β))).mpr
push_cast
linarith
have hpow := pow_le_pow_leftβ (by positivity : (0 : β) β€ βAβ / (m + 1 : β)) hr k
have hlog : 0 < Real.log 2 := Real.log_pos (by norm_num)
have hcast : (graphDistance G x y : β) β€ ((k : β) + 1) * (3 * βAβ) := by
have h1 : (graphDistance G x y : β) β€ ((k : β) + 1) * m := by
exact_mod_cast hxy.le
exact h1.trans (mul_le_mul_of_nonneg_left hmu (by positivity))
have hexponent : -(Real.log 2) * k β€
Real.log 2 - (Real.log 2 / (3 * βAβ)) * graphDistance G x y := by
have hdiv : (graphDistance G x y : β) / (3 * βAβ) β€ (k : β) + 1 :=
(div_le_iffβ (by positivity)).mpr hcast
have hh := mul_le_mul_of_nonneg_left hdiv hlog.le
nlinarith [show (Real.log 2 / (3 * βAβ)) * graphDistance G x y =
Real.log 2 * ((graphDistance G x y : β) / (3 * βAβ)) by ring]
have hhalf : (1 / 2 : β) ^ k = Real.exp (-(Real.log 2) * k) := by
rw [mul_comm, Real.exp_nat_mul, Real.exp_neg, Real.exp_log (by norm_num : (0 : β) < 2)]
simp only [one_div]
calc
_ β€ βAβ * (βAβ / (m + 1 : β)) ^ k :=
connectivity_block_bound G hconn hloc p A hA m k x y hk
_ β€ βAβ * (1 / 2 : β) ^ k := mul_le_mul_of_nonneg_left hpow (norm_nonneg _)
_ = βAβ * Real.exp (-(Real.log 2) * k) := by rw [hhalf]
_ β€ βAβ * Real.exp (Real.log 2 -
(Real.log 2 / (3 * βAβ)) * graphDistance G x y) :=
mul_le_mul_of_nonneg_left (Real.exp_le_exp.mpr hexponent) (norm_nonneg _)
_ = _ := by
rw [Real.exp_sub, Real.exp_log (by norm_num : (0 : β) < 2),
neg_mul, Real.exp_neg, div_eq_mul_inv]
ringtheorem exponentialDecay_of_bounded [Countable V] [Countable E] [Nonempty V]
(G : BondGraph V E) (hconn : Connected G) (hloc : LocallyFinite G)
(p : unitInterval) (hb : OperatorBounded G p) : ExponentialDecay G p := by proof Β· 5 lines
obtain β¨A, hAβ© := hb
have hM : 0 < βAβ := lt_of_lt_of_le zero_lt_one (hA.norm_one_le G p A)
exact β¨2 * βAβ, Real.log 2 / (3 * βAβ), by positivity,
div_pos (Real.log_pos (by norm_num)) (by positivity),
connectivity_exponential_bound G hconn hloc p A hAβ©theorem exponentialDecay_of_lt_ptwo [Countable V] [Countable E] [Nonempty V]
(G : BondGraph V E) (hconn : Connected G) (hloc : LocallyFinite G)
(p : unitInterval) (hp : p < ptwo G) : ExponentialDecay G p := by proof Β· 3 lines
obtain β¨q, hq, hpqβ© := lt_sSup_iff.mp hp
exact exponentialDecay_of_bounded G hconn hloc p
(operatorBounded_of_le G hpq.le hq)theorem ptwo_le_pexp [Countable V] [Countable E] [Nonempty V]
(G : BondGraph V E) (hconn : Connected G) (hloc : LocallyFinite G) :
ptwo G β€ pexp G := by proof Β· 3 lines
apply le_of_forall_lt_imp_le_of_dense
intro p hp
exact le_sSup (exponentialDecay_of_lt_ptwo G hconn hloc p hp)Outline
- theorem
walk_crosses_sphere16 - theorem
mem_reachBall_of_graphDistance_le30 - theorem
sphere_split_subset40 - theorem
twoPoint_le_sphere_sum63 - theorem
connectivity_power_lower84 - theorem
connectivity_block_bound148 - theorem
connectivity_exponential_bound169 - theorem
exponentialDecay_of_bounded223 - theorem
exponentialDecay_of_lt_ptwo232 - theorem
ptwo_le_pexp239