math / data /lean /OAI /Probability /BenjaminiSchramm /ExponentialDecay.lean
introvoyz045's picture
Migrated from GitHub
4a56cd6 verified
Raw History Blame Contribute Delete
12.3 kB
16
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⟩
30
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_reachBall
40
theorem 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⟩⟩
63
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)
84
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)).symm
148
theorem 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]; ring
169
theorem 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]
      ring
223
theorem 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⟩
232
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)
239
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)