cfahlgren1's picture
download
raw
39.6 kB
import Mathlib
import OAI.Probability.UnimodularPercolation.Graph.Paths
namespace OAI
/-! Sprinkling estimates for finite and infinite graph operators. -/
open MeasureTheory ProbabilityTheory
open scoped ENNReal NNReal
namespace Percolation
universe u v
variable {V : Type u} {E : Type v}
section SprinklingLaw
attribute [local instance] Classical.propDecidable
noncomputable def sprinkleParameter (p a : unitInterval) : unitInterval :=
⟨(p : ℝ) + (1-p)*a, by
constructor
· exact add_nonneg p.2.1 (mul_nonneg (sub_nonneg.mpr p.2.2) a.2.1)
· nlinarith [mul_nonneg (sub_nonneg.mpr p.2.2) (sub_nonneg.mpr a.2.2)]⟩
def pairParameter (p a : unitInterval) (b : Bool) : unitInterval := if b then p else a
theorem map_bool_or (p a : unitInterval) :
(Measure.infinitePi (fun b : Bool => bitLaw (pairParameter p a b))).map
(fun f : Bool → Prop => ∃ b, f b) = bitLaw (sprinkleParameter p a) := by
let μ := (Measure.infinitePi (fun b : Bool => bitLaw (pairParameter p a b))).map
(fun f : Bool → Prop => ∃ b, f b)
have hm : Measurable (fun f : Bool → Prop => ∃ b, f b) := .of_discrete
have : IsProbabilityMeasure μ := inferInstance
have hf : μ.real {False} = (1-(p : ℝ)) * (1-(a : ℝ)) := by
change ((Measure.infinitePi _).map _).real _ = _
rw [Measure.real, Measure.map_apply hm (measurableSet_singleton _)]
have he : (fun f : Bool → Prop => ∃ b, f b) ⁻¹' ({False} : Set Prop) =
((Finset.univ : Finset Bool) : Set Bool).pi (fun _ => ({False} : Set Prop)) := by
ext f
simp [and_comm]
rw [he, Measure.infinitePi_pi _ (fun _ _ => measurableSet_singleton _)]
simp [pairParameter, bitLaw, ENNReal.toReal_mul]
have ht : μ.real {True} = (p : ℝ) + (1-p)*a := by
have he : ({True} : Set Prop) = ({False} : Set Prop)ᶜ := by ext b; simp
rw [he, measureReal_compl (measurableSet_singleton _), probReal_univ, hf]
ring
apply Measure.ext_of_singleton
intro b
apply (ENNReal.toReal_eq_toReal_iff' (measure_ne_top _ _) (measure_ne_top _ _)).mp
change μ.real {b} = (bitLaw (sprinkleParameter p a)).real {b}
by_cases hb : b
· have he : b = True := propext (iff_true_intro hb)
subst b
rw [ht]
simp [bitLaw, Measure.real, sprinkleParameter]
· have he : b = False := propext (iff_false_intro hb)
subst b
rw [hf]
simp [bitLaw, Measure.real, sprinkleParameter]
ring
noncomputable def fieldLaw (p a : unitInterval) : Measure (Bool → Set E) :=
Measure.infinitePi (fun b => law (pairParameter p a b))
def fieldUnion (f : Bool → Set E) : Set E := f true ∪ f false
theorem measurable_fieldUnion : Measurable (fieldUnion : (Bool → Set E) → Set E) := by
have hm (e : E) : Measurable (fun f : Bool → Set E => e ∈ fieldUnion f) := by
apply measurableSet_setOfPred.mp
change MeasurableSet ({f : Bool → Set E | e ∈ f true} ∪ {f | e ∈ f false})
apply MeasurableSet.union <;> apply measurableSet_setOfPred.mpr
· exact ((measurable_pi_apply e).comp MeasurableEquiv.setOfPred.symm.measurable).comp
(measurable_pi_apply true)
· exact ((measurable_pi_apply e).comp MeasurableEquiv.setOfPred.symm.measurable).comp
(measurable_pi_apply false)
exact measurable_setOfPred.comp (Measurable.of_eval hm)
theorem map_fieldUnion (p a : unitInterval) :
(fieldLaw p a).map (fieldUnion : (Bool → Set E) → Set E) = law (sprinkleParameter p a) := by
let μ := fun b : Bool => bitLaw (pairParameter p a b)
let s := fun f : Bool → E → Prop => fun b => {e | f b e}
have hs : Measurable s := Measurable.of_eval
(fun b => measurable_setOfPred.comp (measurable_pi_apply b))
have hstart : (Measure.infinitePi (fun b : Bool => Measure.infinitePi (fun _ : E => μ b))).map s =
fieldLaw p a := by
rw [Measure.infinitePi_map_pi _ (fun _ => measurable_setOfPred)]
congr 1
funext b
rw [law, setBernoulli_eq_map]
rfl
rw [← hstart, Measure.map_map measurable_fieldUnion hs]
let f := (MeasurableEquiv.curry Bool E Prop).symm
let swap := MeasurableEquiv.piCongrLeft (fun _ : E × Bool => Prop) (Equiv.prodComm Bool E)
let c := MeasurableEquiv.curry E Bool Prop
let b := fun g : E → Bool → Prop => fun e => ∃ j, g e j
have hb : Measurable b := Measurable.of_eval
(fun e => (Measurable.of_discrete : Measurable (fun f : Bool → Prop => ∃ j, f j)).comp
(measurable_pi_apply e))
have he : fieldUnion ∘ s = (fun g : E → Prop => {e | g e}) ∘ b ∘ c ∘ swap ∘ f := by
funext g
ext e
simp [fieldUnion, s, b, c, swap, f, Function.comp_def, Bool.exists_bool, or_comm, MeasurableEquiv.coe_piCongrLeft, Equiv.piCongrLeft]
rw [he, ← Measure.map_map measurable_setOfPred (hb.comp (c.measurable.comp (swap.measurable.comp f.measurable))),
← Measure.map_map hb (c.measurable.comp (swap.measurable.comp f.measurable))]
rw [← Measure.map_map c.measurable (swap.measurable.comp f.measurable),
← Measure.map_map swap.measurable f.measurable]
rw [Measure.infinitePi_map_curry_symm]
rw [show (Measure.infinitePi (fun x : Bool × E => μ x.1)).map swap =
Measure.infinitePi (fun x : E × Bool => μ x.2) from
Measure.infinitePi_map_piCongrLeft (fun x : E × Bool => μ x.2) (Equiv.prodComm Bool E)]
rw [Measure.infinitePi_map_curry (fun (_ : E) (j : Bool) => μ j)]
dsimp only [b]
rw [Measure.infinitePi_map_pi _ (fun _ => Measurable.of_discrete)]
have hm : (Measure.infinitePi (fun j : Bool => μ j)).map Exists =
bitLaw (sprinkleParameter p a) := map_bool_or p a
rw [hm, law, setBernoulli_eq_map]
rfl
theorem fieldLaw_map_pair (p a : unitInterval) :
(fieldLaw p a).map (fun f : Bool → Set E => (f true, f false)) =
(law p).prod (law a) := by
simpa [fieldLaw, pairParameter] using
(Measure.infinitePi_map_eval_prod (P := fun b : Bool => (law (pairParameter p a b) : Measure (Set E)))
(by decide : true ≠ false))
theorem law_map_union (p a : unitInterval) :
((law p : Measure (Set E)).prod (law a)).map (fun f => f.1 ∪ f.2) =
law (sprinkleParameter p a) := by
rw [← fieldLaw_map_pair p a, Measure.map_map]
· exact map_fieldUnion p a
· have h : Measurable (fun f : Set E × Set E => fun e => e ∈ f.1 ∪ f.2) := by
apply Measurable.of_eval
intro e
apply measurableSet_setOfPred.mp
change MeasurableSet ({f : Set E × Set E | e ∈ f.1} ∪ {f | e ∈ f.2})
apply MeasurableSet.union <;> apply measurableSet_setOfPred.mpr
· exact ((measurable_pi_apply e).comp MeasurableEquiv.setOfPred.symm.measurable).comp measurable_fst
· exact ((measurable_pi_apply e).comp MeasurableEquiv.setOfPred.symm.measurable).comp measurable_snd
exact measurable_setOfPred.comp h
· exact (measurable_pi_apply true).prodMk (measurable_pi_apply false)
end SprinklingLaw
section Schur
attribute [local instance] Classical.propDecidable
theorem exists_operator_of_row_column_bound (U : V → V → ℝ) (D : ℝ)
(hD : 0 ≤ D) (hU : ∀ x y, 0 ≤ U x y)
(hrow : ∀ x (s : Finset V), ∑ y ∈ s, U x y ≤ D)
(hcol : ∀ y (s : Finset V), ∑ x ∈ s, U x y ≤ D) :
∃ A : Hilbert V →L[ℂ] Hilbert V, ‖A‖ ≤ D ∧
∀ x y, A (lp.single 2 y (1 : ℂ)) x = (U x y : ℂ) := by
have hentry (x y : V) : U x y ≤ D := by simpa using hrow x {y}
have hcm (y : V) : Memℓp (fun x => (U x y : ℂ)) 2 := by
apply (memℓp_gen_iff'' (by norm_num : 0 < (2 : ℝ≥0∞).toReal)).mpr
refine ⟨D^2, sq_nonneg _, fun s => ?_⟩
simp only [ENNReal.toReal_ofNat, Real.rpow_two, Complex.norm_real,
Real.norm_eq_abs, sq_abs]
calc
∑ x ∈ s, U x y ^ 2 ≤ ∑ x ∈ s, D * U x y := by
apply Finset.sum_le_sum
intro x _
nlinarith [hentry x y, hU x y]
_ = D * ∑ x ∈ s, U x y := by rw [Finset.mul_sum]
_ ≤ D * D := mul_le_mul_of_nonneg_left (hcol y s) hD
_ = D^2 := by ring
let col (y : V) : Hilbert V := ⟨fun x => (U x y : ℂ), hcm y⟩
let L : (V →₀ ℂ) →ₗ[ℂ] Hilbert V := Finsupp.linearCombination ℂ col
have hn (f : V →₀ ℂ) : ‖L f‖ ≤ D * ‖finiteEmbedding f‖ := by
apply lp.norm_le_of_forall_sum_le (by norm_num)
(mul_nonneg hD (norm_nonneg _))
intro s
simp only [ENNReal.toReal_ofNat, Real.rpow_two]
have hpoint (x : V) : ‖L f x‖^2 ≤ D * ∑ y ∈ f.support, ‖f y‖^2 * U x y := by
have hn0 : 0 ≤ ∑ y ∈ f.support, ‖f y‖ * U x y :=
Finset.sum_nonneg fun y _ => mul_nonneg (norm_nonneg _) (hU x y)
have hn1 : ‖L f x‖ ≤ ∑ y ∈ f.support, ‖f y‖ * U x y := by
simp only [L, Finsupp.linearCombination_apply, Finsupp.sum, lp.coeFn_sum,
Finset.sum_apply, lp.coeFn_smul, Pi.smul_apply, smul_eq_mul]
apply (norm_sum_le _ _).trans
apply Finset.sum_le_sum
intro y _
simp [col, abs_of_nonneg (hU x y)]
have hcs := Finset.sum_sq_le_sum_mul_sum_of_sq_le_mul f.support
(f := fun y => U x y) (g := fun y => ‖f y‖^2 * U x y)
(r := fun y => ‖f y‖ * U x y)
(fun y _ => hU x y)
(fun y _ => mul_nonneg (sq_nonneg _) (hU x y))
(fun y _ => by nlinarith)
exact (sq_le_sq₀ (norm_nonneg _) hn0 |>.mpr hn1).trans
(hcs.trans (mul_le_mul_of_nonneg_right (hrow x f.support)
(Finset.sum_nonneg fun y _ => mul_nonneg (sq_nonneg _) (hU x y))))
calc
∑ x ∈ s, ‖L f x‖^2 ≤ ∑ x ∈ s, D * ∑ y ∈ f.support, ‖f y‖^2 * U x y :=
Finset.sum_le_sum fun x _ => hpoint x
_ = D * ∑ y ∈ f.support, ‖f y‖^2 * ∑ x ∈ s, U x y := by
rw [← Finset.mul_sum, Finset.sum_comm]
simp_rw [← Finset.mul_sum]
_ ≤ D * ∑ y ∈ f.support, ‖f y‖^2 * D := by
apply mul_le_mul_of_nonneg_left _ hD
apply Finset.sum_le_sum
intro y _
exact mul_le_mul_of_nonneg_left (hcol y s) (sq_nonneg _)
_ = D^2 * ∑ y ∈ f.support, ‖finiteEmbedding f y‖^2 := by
simp only [finiteEmbedding_apply, ← Finset.sum_mul]
ring
_ ≤ D^2 * ‖finiteEmbedding f‖^2 := by
apply mul_le_mul_of_nonneg_left _ (sq_nonneg _)
simpa only [ENNReal.toReal_ofNat, Real.rpow_two] using
(lp.sum_rpow_le_norm_rpow (by norm_num : 0 < (2 : ℝ≥0∞).toReal)
(finiteEmbedding f) f.support)
_ = (D * ‖finiteEmbedding f‖)^2 := by ring
refine ⟨L.extendOfNorm finiteEmbedding,
LinearMap.opNorm_extendOfNorm_le finiteEmbedding_dense hD hn, ?_⟩
intro x y
have he := LinearMap.extendOfNorm_eq (f := L) finiteEmbedding_dense ⟨D, hn⟩
(Finsupp.single y (1 : ℂ))
simp only [finiteEmbedding_single] at he
rw [he]
simp [L, col]
end Schur
section SprinklingPaths
attribute [local instance] Classical.propDecidable
theorem Along.first_outside {G : BondGraph V E} {x y : V} {l : List E}
(h : Along G x l y) (S : Set E) :
(∀ e ∈ l, e ∈ S) ∨ ∃ a b e l₁ l₂,
l = l₁ ++ e :: l₂ ∧ Along G x l₁ a ∧ G e = s(a,b) ∧
Along G b l₂ y ∧ (∀ d ∈ l₁, d ∈ S) ∧ e ∉ S := by
induction h with
| nil => left; simp
| @cons x z y l e he ht ih =>
by_cases hes : e ∈ S
· rcases ih with hall | ⟨a,b,d,l₁,l₂,hl,h₁,hd,h₂,hopen,hnot⟩
· left
simpa only [List.mem_cons, forall_eq_or_imp] using And.intro hes hall
· right
refine ⟨a,b,d,e::l₁,l₂,by simp [hl], .cons e he h₁, hd, h₂, ?_, hnot⟩
simpa only [List.mem_cons, forall_eq_or_imp] using And.intro hes hopen
· right
exact ⟨x,z,e,[],l,rfl,.nil x,he,ht,by simp,hes⟩
theorem conn_first_outside (G : BondGraph V E) (S : Set E) {ω : Set E} {x y : V}
(h : Conn G ω x y) :
Conn G (ω ∩ S) x y ∨ ∃ a b e, G e = s(a,b) ∧ e ∉ S ∧
ω ∈ DisjointOccurrence {η | Conn G (η ∩ S) x a}
(DisjointOccurrence {η | e ∈ η} {η | Conn G η b y}) := by
obtain ⟨l,hl,hn,ho⟩ := conn_exists_bond_trail G h
rcases hl.first_outside S with hall | ⟨a,b,e,l₁,l₂,heq,h₁,he,h₂,hfirst,hnot⟩
· exact Or.inl (hl.conn fun e he => ⟨ho e he,hall e he⟩)
· subst l
have hnod := List.nodup_append.mp hn
have hen : e ∉ l₂ := (List.nodup_cons.mp hnod.2.1).1
right
refine ⟨a,b,e,he,hnot,l₁.toFinset,(e::l₂).toFinset,?_,?_,?_,?_,?_⟩
· intro d hd
exact ho d (List.mem_append_left _ (List.mem_toFinset.mp hd))
· intro d hd
exact ho d (List.mem_append_right _ (List.mem_toFinset.mp hd))
· apply Finset.disjoint_left.mpr
intro d hd hd'
exact hnod.2.2 d (List.mem_toFinset.mp hd) d (List.mem_toFinset.mp hd') rfl
· exact h₁.conn (fun d hd => ⟨by simpa using hd, hfirst d hd⟩)
· refine ⟨{e},l₂.toFinset,?_,?_,?_,by simp,?_⟩
· simp
· simp
· simpa using hen
· exact h₂.conn (fun d hd => by simpa using hd)
theorem law_map_preimage_embedding {F : Type*} (p : unitInterval) (f : F ↪ E) :
(law p : Measure (Set E)).map (fun ω => f ⁻¹' ω) = law p := by
have hm : Measurable (fun ω : Set E => f ⁻¹' ω) :=
measurable_setOfPred.comp (Measurable.of_eval
(fun e => (measurable_pi_apply (f e)).comp MeasurableEquiv.setOfPred.symm.measurable))
unfold law
rw [setBernoulli_eq_map, Measure.map_map hm measurable_setOfPred]
have he : (fun ω : Set E => f ⁻¹' ω) ∘ (fun g => {e | g e}) =
(fun g : F → Prop => {e | g e}) ∘ (fun g : E → Prop => fun e => g (f e)) := rfl
rw [he, ← Measure.map_map measurable_setOfPred (by fun_prop)]
simp only [Set.mem_univ]
have hi := (iIndepFun_infinitePi (P := fun _ : E => bernoulliMeasure True False p)
(X := fun (_ : E) (b : Prop) => b) (fun _ => measurable_id)).precomp f.injective
have hh := hi.map_fun_eq_infinitePi_map (fun _ => measurable_pi_apply _)
simp only [Measure.infinitePi_map_eval] at hh
rw [hh, setBernoulli_eq_map]
rfl
theorem exists_orParameter_small (p : unitInterval) (hp : p < 1)
(ε : ℝ) (hε : 0 < ε) (hε1 : ε ≤ 1) :
∃ m : ℕ, ∃ q : unitInterval, (q : ℝ) ≤ ε ∧ orParameter q m = p := by
obtain ⟨m, hm⟩ := exists_pow_lt_of_lt_one (show 0 < 1 - (p : ℝ) by exact sub_pos.mpr hp)
(show 1-ε < 1 by linarith)
let f := fun x : ℝ => 1 - (1-x)^m
have hf : Continuous f := by fun_prop
have h0 : f 0 = 0 := by simp [f]
have hp' : (p : ℝ) ∈ Set.Icc (f 0) (f ε) := by
rw [h0]
exact ⟨p.2.1, by dsimp [f]; linarith⟩
obtain ⟨q,hq,hqp⟩ := intermediate_value_Icc hε.le hf.continuousOn hp'
exact ⟨m,⟨q,hq.1,hq.2.trans hε1⟩,hq.2,Subtype.ext hqp⟩
end SprinklingPaths
section ColoredSprinkling
attribute [local instance] Classical.propDecidable
theorem conn_map_edges {F : Type*} (G : BondGraph V E) (f : F → E)
(ω : Set F) (x y : V) : Conn (G ∘ f) ω x y ↔ Conn G (f '' ω) x y := by
constructor <;> intro h
· induction h with
| refl => exact conn_refl _ _ _
| @tail a b hab he ih =>
rcases he with ⟨e,he,heq⟩
exact ih.tail ⟨f e,Set.mem_image_of_mem _ he,heq⟩
· induction h with
| refl => exact conn_refl _ _ _
| @tail a b hab he ih =>
rcases he with ⟨e,⟨d,hd,rfl⟩,heq⟩
exact ih.tail ⟨d,hd,heq⟩
theorem finiteWitness_inter (A : Set (Set E)) (hA : FiniteWitness A) (S : Set E) :
FiniteWitness {ω | ω ∩ S ∈ A} := by
intro ω h
obtain ⟨s,hs,hsa⟩ := hA (ω ∩ S) h
refine ⟨s,hs.trans Set.inter_subset_left,?_⟩
have he : (s : Set E) ∩ S = s := Set.inter_eq_left.mpr (hs.trans Set.inter_subset_right)
change (s : Set E) ∩ S ∈ A
rwa [he]
def colorInclusion (m : ℕ) : E × Fin m ↪ E × Fin (m+1) :=
Function.Embedding.prodMap (Function.Embedding.refl E) Fin.castSuccEmb
def baseColors (m : ℕ) : Set (E × Fin (m+1)) := Set.range (colorInclusion (E := E) m)
def baseField (m : ℕ) (ω : Set (E × Fin (m+1))) : Set E :=
Prod.fst '' (colorInclusion m ⁻¹' ω)
theorem not_mem_baseColors (m : ℕ) (e : E) (j : Fin (m+1)) :
(e,j) ∉ baseColors m ↔ j = Fin.last m := by
constructor
· intro h
apply Fin.eq_last_of_not_lt
intro hj
apply h
exact ⟨(e,⟨j.val,hj⟩),Prod.ext rfl (Fin.ext rfl)⟩
· rintro rfl ⟨⟨e',i⟩,hi⟩
exact Fin.castSucc_ne_last i (congrArg Prod.snd hi)
theorem fst_inter_baseColors (m : ℕ) (ω : Set (E × Fin (m+1))) :
Prod.fst '' (ω ∩ baseColors m) = baseField m ω := by
ext e
constructor
· rintro ⟨⟨e',j⟩,⟨ho,⟨⟨f,i⟩,he⟩⟩,rfl⟩
refine ⟨(f,i),?_,?_⟩
· change colorInclusion m (f,i) ∈ ω
rwa [he]
· exact congrArg Prod.fst he
· rintro ⟨⟨e',i⟩,ho,rfl⟩
exact ⟨colorInclusion m (e',i),⟨ho,Set.mem_range_self _⟩,rfl⟩
theorem measurable_baseField (m : ℕ) : Measurable (baseField (E := E) m) := by
apply (measurable_image_fst (Fin m)).comp
exact measurable_setOfPred.comp (Measurable.of_eval
(fun e => (measurable_pi_apply (colorInclusion m e)).comp
MeasurableEquiv.setOfPred.symm.measurable))
theorem law_map_baseField (q : unitInterval) (m : ℕ) :
(law q : Measure (Set (E × Fin (m+1)))).map (baseField m) = law (orParameter q m) := by
have hm : Measurable (fun ω : Set (E × Fin (m+1)) => colorInclusion m ⁻¹' ω) :=
measurable_setOfPred.comp (Measurable.of_eval
(fun e => (measurable_pi_apply (colorInclusion m e)).comp
MeasurableEquiv.setOfPred.symm.measurable))
change (law q).map ((fun ω : Set (E × Fin m) => Prod.fst '' ω) ∘
(fun ω => colorInclusion m ⁻¹' ω)) = _
rw [← Measure.map_map (measurable_image_fst (Fin m)) hm,
law_map_preimage_embedding, law_map_image_fst, Fintype.card_fin]
noncomputable def dartSource (G : BondGraph V E) (d : E × Bool) : V :=
if d.2 then (G d.1).out.1 else (G d.1).out.2
noncomputable def dartTarget (G : BondGraph V E) (d : E × Bool) : V :=
if d.2 then (G d.1).out.2 else (G d.1).out.1
theorem exists_dart (G : BondGraph V E) {e : E} {a b : V} (h : G e = s(a,b)) :
∃ j : Bool, dartSource G (e,j) = a ∧ dartTarget G (e,j) = b := by
have he : s((G e).out.1, (G e).out.2) = s(a,b) := (G e).out_eq.trans h
rcases Sym2.eq_iff.mp he with h | h
· exact ⟨true,h⟩
· exact ⟨false,h.2,h.1⟩
theorem colored_conn_probability [Countable V] [Countable E] (G : BondGraph V E)
(q : unitInterval) (m : ℕ) (x y : V) :
(law q).real {ω : Set (E × Fin m) | Conn (G ∘ Prod.fst) ω x y} =
twoPoint G (orParameter q m) x y := by
have h := law_map_image_fst (E := E) q (Fin m)
simp only [Fintype.card_fin] at h
rw [twoPoint, ← h, Measure.map_apply (measurable_image_fst (Fin m))
(measurableSet_conn G x y)]
congr 1
ext ω
exact conn_map_edges G Prod.fst ω x y
theorem base_conn_probability [Countable V] [Countable E] (G : BondGraph V E)
(q : unitInterval) (m : ℕ) (x y : V) :
(law q).real {ω : Set (E × Fin (m+1)) |
Conn (G ∘ Prod.fst) (ω ∩ baseColors m) x y} =
twoPoint G (orParameter q m) x y := by
rw [twoPoint, ← law_map_baseField (E := E) q m,
Measure.map_apply (measurable_baseField m) (measurableSet_conn G x y)]
congr 1
ext ω
change Conn (G ∘ Prod.fst) (ω ∩ baseColors m) x y ↔ Conn G (baseField m ω) x y
rw [conn_map_edges, fst_inter_baseColors]
theorem twoPoint_or_succ_le [Countable V] [Fintype E] (G : BondGraph V E) (q : unitInterval)
(m : ℕ) (x y : V) :
twoPoint G (orParameter q (m+1)) x y ≤ twoPoint G (orParameter q m) x y +
(q : ℝ) * ∑ d : E × Bool,
twoPoint G (orParameter q m) x (dartSource G d) *
twoPoint G (orParameter q (m+1)) (dartTarget G d) y := by
let H : BondGraph V (E × Fin (m+1)) := G ∘ Prod.fst
let A (a : V) : Set (Set (E × Fin (m+1))) :=
{ω | Conn H (ω ∩ baseColors m) x a}
let B (b : V) : Set (Set (E × Fin (m+1))) := {ω | Conn H ω b y}
let C (d : E × Bool) := DisjointOccurrence (A (dartSource G d))
(DisjointOccurrence {ω | (d.1,Fin.last m) ∈ ω} (B (dartTarget G d)))
have huA (a : V) : IsUpperSet (A a) :=
fun _ _ h hω => conn_mono H (Set.inter_subset_inter_left _ h) hω
have hfA (a : V) : FiniteWitness (A a) :=
finiteWitness_inter _ (finiteWitness_conn H x a) _
have huB (b : V) : IsUpperSet (B b) := fun _ _ h hω => conn_mono H h hω
have hfB (b : V) : FiniteWitness (B b) := finiteWitness_conn H b y
have hsub : {ω | Conn H ω x y} ⊆ A y ∪ ⋃ d : E × Bool, C d := by
intro ω hω
rcases conn_first_outside H (baseColors m) hω with ha | ⟨a,b,⟨e,j⟩,he,hj,hc⟩
· exact Or.inl ha
· have hj' := (not_mem_baseColors m e j).mp hj
subst j
obtain ⟨k,hk₁,hk₂⟩ := exists_dart G he
right
refine Set.mem_iUnion.mpr ⟨(e,k),?_⟩
simpa only [C,hk₁,hk₂] using hc
calc
twoPoint G (orParameter q (m+1)) x y = (law q).real {ω | Conn H ω x y} :=
(colored_conn_probability G q (m+1) x y).symm
_ ≤ (law q).real (A y ∪ ⋃ d : E × Bool, C d) := measureReal_mono hsub
_ ≤ (law q).real (A y) + (law q).real (⋃ d : E × Bool, C d) := measureReal_union_le _ _
_ ≤ (law q).real (A y) + ∑ d : E × Bool, (law q).real (C d) :=
add_le_add_right (measureReal_iUnion_fintype_le _) _
_ ≤ twoPoint G (orParameter q m) x y +
∑ d : E × Bool, twoPoint G (orParameter q m) x (dartSource G d) *
((q : ℝ) * twoPoint G (orParameter q (m+1)) (dartTarget G d) y) := by
rw [show (law q).real (A y) = twoPoint G (orParameter q m) x y from
base_conn_probability G q m x y]
apply add_le_add_right
apply Finset.sum_le_sum
intro d _
have hb := bk q {ω | (d.1,Fin.last m) ∈ ω} (B (dartTarget G d))
(fun _ _ hh he => hh he) (huB _) (finiteWitness_edge _) (hfB _)
have heq : (law q).real {ω : Set (E × Fin (m+1)) | (d.1,Fin.last m) ∈ ω} =
(q : ℝ) := by simpa using finite_open_probability q {(d.1,Fin.last m)}
rw [heq, show (law q).real (B (dartTarget G d)) =
twoPoint G (orParameter q (m+1)) (dartTarget G d) y from
colored_conn_probability G q (m+1) _ _] at hb
have ha := bk q (A (dartSource G d))
(DisjointOccurrence {ω | (d.1,Fin.last m) ∈ ω} (B (dartTarget G d)))
(huA _) (disjointOccurrence_upper _ _) (hfA _) (finiteWitness_disjointOccurrence _ _)
rw [show (law q).real (A (dartSource G d)) =
twoPoint G (orParameter q m) x (dartSource G d) from base_conn_probability G q m _ _] at ha
exact ha.trans (mul_le_mul_of_nonneg_left hb (twoPoint_nonneg G _ _ _))
_ = _ := by rw [Finset.mul_sum]; congr 1; apply Finset.sum_congr rfl; intro d _; ring
end ColoredSprinkling
section FiniteGraphOperators
attribute [local instance] Classical.propDecidable
noncomputable def edgeVertices [Fintype E] (G : BondGraph V E) : Finset V :=
Finset.univ.biUnion (fun e => (G e).toFinset)
theorem mem_edgeVertices [Fintype E] (G : BondGraph V E) (x : V) :
x ∈ edgeVertices G ↔ ∃ e, x ∈ G e := by simp [edgeVertices]
theorem conn_eq_or_mem_edgeVertices [Fintype E] (G : BondGraph V E)
{ω : Set E} {x y : V} (h : Conn G ω x y) : x = y ∨ y ∈ edgeVertices G := by
cases h with
| refl => exact Or.inl rfl
| @tail a b hab he =>
rcases he with ⟨e,_,he⟩
exact Or.inr ((mem_edgeVertices G y).mpr ⟨e,by rw [he]; simp⟩)
theorem operatorBounded_finite_edges [Fintype E] (G : BondGraph V E) (p : unitInterval) :
OperatorBounded G p := by
have hr (x : V) (s : Finset V) : ∑ y ∈ s, twoPoint G p x y ≤
(edgeVertices G).card + (1 : ℝ) := by
let F := insert x (edgeVertices G)
have bound (y : V) : twoPoint G p x y ≤ if y ∈ F then 1 else 0 := by
split_ifs with hy
· exact twoPoint_le_one G p x y
· have he : {ω | Conn G ω x y} = ∅ := by
apply Set.eq_empty_iff_forall_notMem.mpr
intro ω h
rcases conn_eq_or_mem_edgeVertices G h with rfl | hmem
· exact hy (by simp [F])
· exact hy (by simp [F,hmem])
simp [twoPoint,he]
calc
∑ y ∈ s, twoPoint G p x y ≤ ∑ y ∈ s, if y ∈ F then (1:ℝ) else 0 :=
Finset.sum_le_sum (fun y _ => bound y)
_ = ((s ∩ F).card : ℝ) := by simp
_ ≤ (F.card : ℝ) := by
exact_mod_cast Finset.card_le_card Finset.inter_subset_right
_ ≤ (edgeVertices G).card + (1 : ℝ) := by
exact_mod_cast Finset.card_insert_le x (edgeVertices G)
obtain ⟨A,_,hA⟩ := exists_operator_of_row_column_bound (twoPoint G p)
((edgeVertices G).card+1) (by positivity) (twoPoint_nonneg G p) hr
(fun y s => by simpa only [twoPoint_symm G p] using hr y s)
exact ⟨A,hA⟩
theorem dart_edge (G : BondGraph V E) (d : E × Bool) :
G d.1 = s(dartSource G d, dartTarget G d) := by
rcases d with ⟨e,j⟩
cases j
· exact (G e).out_eq.symm.trans (Sym2.eq_swap ..)
· exact (G e).out_eq.symm
theorem card_darts_at_source [Fintype E] (G : BondGraph V E) (x : V) :
Fintype.card {d : E × Bool // dartSource G d = x} ≤ 2 * degree G x := by
let : Fintype (Step G x) := (finite_steps G (fun _ => Set.toFinite _) x).fintype
let f : {d : E × Bool // dartSource G d = x} → Step G x × Bool := fun d =>
(⟨(d.val.1,dartTarget G d.val), by rw [dart_edge G d.val,d.property]⟩,d.val.2)
have hf : Function.Injective f := by
intro d d' h
apply Subtype.ext
apply Prod.ext
· exact congrArg (fun t : Step G x × Bool => t.1.val.1) h
· exact congrArg (fun t : Step G x × Bool => t.2) h
have hc := Fintype.card_le_of_injective f hf
simpa only [Fintype.card_prod,Fintype.card_bool,degree,Nat.card_eq_fintype_card,Nat.mul_comm] using hc
theorem card_darts_at_target [Fintype E] (G : BondGraph V E) (x : V) :
Fintype.card {d : E × Bool // dartTarget G d = x} ≤ 2 * degree G x := by
let : Fintype (Step G x) := (finite_steps G (fun _ => Set.toFinite _) x).fintype
let f : {d : E × Bool // dartTarget G d = x} → Step G x × Bool := fun d =>
(⟨(d.val.1,dartSource G d.val), by
rw [dart_edge G d.val,d.property]; exact Sym2.eq_swap ..⟩,d.val.2)
have hf : Function.Injective f := by
intro d d' h
apply Subtype.ext
apply Prod.ext
· exact congrArg (fun t : Step G x × Bool => t.1.val.1) h
· exact congrArg (fun t : Step G x × Bool => t.2) h
have hc := Fintype.card_le_of_injective f hf
simpa only [Fintype.card_prod,Fintype.card_bool,degree,Nat.card_eq_fintype_card,Nat.mul_comm] using hc
noncomputable def adjacencyOperator [Fintype E] (G : BondGraph V E) :
Hilbert V →L[ℂ] Hilbert V :=
∑ d : E × Bool, (lp.singleContinuousLinearMap ℂ (fun _ : V => ℂ) 2 (dartSource G d)).comp
(lp.evalCLM ℂ (fun _ : V => ℂ) 2 (dartTarget G d))
theorem adjacencyOperator_apply [Fintype E] (G : BondGraph V E) (f : Hilbert V) :
adjacencyOperator G f = ∑ d : E × Bool, lp.single 2 (dartSource G d) (f (dartTarget G d)) := by
simp [adjacencyOperator,lp.singleContinuousLinearMap_apply,
lp.evalCLM,lp.evalₗ]
rfl
theorem adjacencyOperator_norm_le [Fintype E] (G : BondGraph V E)
(D : ℕ) (hD : ∀ x, degree G x ≤ D) : ‖adjacencyOperator G‖ ≤ 2 * (D : ℝ) := by
let U (x y : V) : ℝ := ∑ d : E × Bool,
if dartSource G d = x ∧ dartTarget G d = y then 1 else 0
have hU : ∀ x y, 0 ≤ U x y := by intro x y; apply Finset.sum_nonneg; intro d _; positivity
have hmat : ∀ x y, adjacencyOperator G (lp.single 2 y (1:ℂ)) x = (U x y : ℂ) := by
intro x y
rw [adjacencyOperator_apply]
simp only [lp.coeFn_sum,Finset.sum_apply,U,Complex.ofReal_sum]
apply Finset.sum_congr rfl
intro d _
simp only [lp.single_apply]
by_cases hx : dartSource G d = x <;> by_cases hy : dartTarget G d = y <;>
simp [hx,hy]
have hrow (x : V) (s : Finset V) : ∑ y ∈ s, U x y ≤ 2 * (D : ℝ) := by
calc
∑ y ∈ s, U x y = ∑ d : E × Bool,
∑ y ∈ s, if dartSource G d = x ∧ dartTarget G d = y then (1:ℝ) else 0 :=
Finset.sum_comm
_ ≤ ∑ d : E × Bool, if dartSource G d = x then (1:ℝ) else 0 := by
apply Finset.sum_le_sum
intro d _
by_cases hx : dartSource G d = x
· simp only [hx,true_and,ite_true]
rw [Finset.sum_ite_eq]
split_ifs <;> norm_num
· simp [hx]
_ = (Fintype.card {d : E × Bool // dartSource G d = x} : ℝ) := by simp [Fintype.card_subtype]
_ ≤ 2 * (D : ℝ) := by exact_mod_cast (card_darts_at_source G x).trans (Nat.mul_le_mul_left 2 (hD x))
have hcol (y : V) (s : Finset V) : ∑ x ∈ s, U x y ≤ 2 * (D : ℝ) := by
calc
∑ x ∈ s, U x y = ∑ d : E × Bool,
∑ x ∈ s, if dartSource G d = x ∧ dartTarget G d = y then (1:ℝ) else 0 :=
Finset.sum_comm
_ ≤ ∑ d : E × Bool, if dartTarget G d = y then (1:ℝ) else 0 := by
apply Finset.sum_le_sum
intro d _
by_cases hy : dartTarget G d = y
· simp only [hy,and_true,ite_true]
rw [Finset.sum_ite_eq]
split_ifs <;> norm_num
· simp [hy]
_ = (Fintype.card {d : E × Bool // dartTarget G d = y} : ℝ) := by simp [Fintype.card_subtype]
_ ≤ 2 * (D : ℝ) := by exact_mod_cast (card_darts_at_target G y).trans (Nat.mul_le_mul_left 2 (hD y))
obtain ⟨A,hn,hA⟩ := exists_operator_of_row_column_bound U (2*D) (by positivity) hU hrow hcol
rwa [kernel_extension_unique hmat hA]
end FiniteGraphOperators
section FiniteSprinklingBound
attribute [local instance] Classical.propDecidable
variable [Countable V] [Fintype E]
theorem finite_sprinkling_bound (G : BondGraph V E) (q : unitInterval) (m D : ℕ)
(hD : ∀ x, degree G x ≤ D) (A : Hilbert V →L[ℂ] Hilbert V)
(hA : HasKernel G (orParameter q m) A) (M : ℝ) (hM : ‖A‖ ≤ M)
(hq : (q : ℝ) * (2*D) * M < 1) :
∃ B : Hilbert V →L[ℂ] Hilbert V, HasKernel G (orParameter q (m+1)) B ∧
‖B‖ ≤ M / (1-(q:ℝ)*(2*D)*M) := by
obtain ⟨B,hB⟩ := operatorBounded_finite_edges G (orParameter q (m+1))
let R := (adjacencyOperator G).comp B
let C := A + (q : ℂ) • A.comp R
let U (x y : V) := twoPoint G (orParameter q m) x y + (q:ℝ) *
∑ d : E × Bool, twoPoint G (orParameter q m) x (dartSource G d) *
twoPoint G (orParameter q (m+1)) (dartTarget G d) y
have hU : ∀ x y, 0 ≤ U x y := by
intro x y
exact add_nonneg (twoPoint_nonneg G _ _ _)
(mul_nonneg q.2.1 (Finset.sum_nonneg fun d _ =>
mul_nonneg (twoPoint_nonneg G _ _ _) (twoPoint_nonneg G _ _ _)))
have hC : ∀ x y, C (lp.single 2 y (1:ℂ)) x = (U x y : ℂ) := by
intro x y
simp only [C,add_apply,smul_apply,
ContinuousLinearMap.comp_apply,R,adjacencyOperator_apply,map_sum,lp.coeFn_add,Pi.add_apply,
lp.coeFn_smul,Pi.smul_apply,smul_eq_mul,lp.coeFn_sum,Finset.sum_apply,U,
Complex.ofReal_add,Complex.ofReal_mul,Complex.ofReal_sum]
rw [hA x y]
congr 1
congr 1
apply Finset.sum_congr rfl
intro d _
have hs (c : ℂ) : (lp.single 2 (dartSource G d) c : Hilbert V) = c • lp.single 2 (dartSource G d) (1:ℂ) := by
rw [← lp.single_smul]; simp
rw [hs,map_smul,lp.coeFn_smul,Pi.smul_apply,smul_eq_mul,hA,hB]
ring
obtain ⟨B',hn,hB'⟩ := exists_operator_of_matrix_domination U
(twoPoint G (orParameter q (m+1))) hU
(fun x y => by rw [abs_of_nonneg (twoPoint_nonneg G _ _ _)]; exact twoPoint_or_succ_le G q m x y)
C hC
have he : B' = B := kernel_extension_unique hB' hB
rw [he] at hn
have hqn : ‖(q : ℂ)‖ = (q : ℝ) := by simp [abs_of_nonneg q.2.1]
have hcoef : (q : ℝ) * ‖A‖ * (2*D) * ‖B‖ ≤ (q : ℝ) * M * (2*D) * ‖B‖ := by
gcongr
exact q.2.1
have hbnd : ‖B‖ ≤ M + (q : ℝ) * (2*D) * M * ‖B‖ := by
calc
‖B‖ ≤ ‖C‖ := hn
_ ≤ ‖A‖ + ‖(q : ℂ) • A.comp R‖ := norm_add_le _ _
_ = ‖A‖ + (q : ℝ) * ‖A.comp R‖ := by rw [norm_smul,hqn]
_ ≤ ‖A‖ + (q : ℝ) * (‖A‖ * (‖adjacencyOperator G‖ * ‖B‖)) := by
apply add_le_add_right
apply mul_le_mul_of_nonneg_left _ q.2.1
exact (A.opNorm_comp_le R).trans
(mul_le_mul_of_nonneg_left ((adjacencyOperator G).opNorm_comp_le B) (norm_nonneg _))
_ ≤ ‖A‖ + (q : ℝ) * (‖A‖ * ((2*D) * ‖B‖)) := by
gcongr
· exact q.2.1
· exact adjacencyOperator_norm_le G D hD
_ ≤ M + (q : ℝ) * M * (2*D) * ‖B‖ := by
rw [show (q : ℝ) * (‖A‖ * ((2*D) * ‖B‖)) = (q : ℝ) * ‖A‖ * (2*D) * ‖B‖ by ring]
exact add_le_add hM hcoef
_ = _ := by ring
refine ⟨B,hB,?_⟩
apply (le_div_iff₀ (sub_pos.mpr hq)).mpr
nlinarith
end FiniteSprinklingBound
section ExhaustionSprinkling
attribute [local instance] Classical.propDecidable
open Filter Topology
variable [Countable V] [Countable E]
theorem twoPoint_restrict_edges (G : BondGraph V E) (p : unitInterval) (S : Set E) (x y : V) :
twoPoint (G ∘ (Subtype.val : S → E)) p x y =
(law p).real {ω : Set E | Conn G (ω ∩ S) x y} := by
unfold twoPoint
rw [← law_map_restrict p S, Measure.map_apply (measurable_set_restrict S)
(measurableSet_conn (G ∘ Subtype.val) x y)]
apply congrArg ENNReal.toReal
congr 1
ext ω
change Conn (G ∘ Subtype.val) (Subtype.val ⁻¹' ω) x y ↔ _
rw [conn_map_edges]
have he : (Subtype.val '' (Subtype.val ⁻¹' ω : Set S)) = ω ∩ S := by
ext e
simp only [Set.mem_image,Set.mem_preimage,Set.mem_inter_iff]
constructor
· rintro ⟨d,hd,rfl⟩; exact ⟨hd,d.property⟩
· rintro ⟨ho,hs⟩; exact ⟨⟨e,hs⟩,ho,rfl⟩
rw [he]
rfl
theorem twoPoint_restrict_le (G : BondGraph V E) (p : unitInterval) (S : Set E) (x y : V) :
twoPoint (G ∘ (Subtype.val : S → E)) p x y ≤ twoPoint G p x y := by
rw [twoPoint_restrict_edges]
exact measureReal_mono (fun ω h => conn_mono G Set.inter_subset_left h) (measure_ne_top _ _)
omit [Countable V] [Countable E] in
theorem degree_restrict_le (G : BondGraph V E) (hloc : LocallyFinite G) (S : Set E) (x : V) :
degree (G ∘ (Subtype.val : S → E)) x ≤ degree G x := by
let : Fintype (Step G x) := (finite_steps G hloc x).fintype
let f : Step (G ∘ (Subtype.val : S → E)) x → Step G x :=
fun d => ⟨(d.val.1.val,d.val.2),d.property⟩
apply Nat.card_le_card_of_injective f
intro d d' h
apply Subtype.ext
apply Prod.ext
· apply Subtype.ext
exact congrArg (fun t : Step G x => t.val.1) h
· exact congrArg (fun t : Step G x => t.val.2) h
theorem sprinkling_bound (G : BondGraph V E) (hloc : LocallyFinite G)
(q : unitInterval) (m D : ℕ) (hD : ∀ x, degree G x ≤ D)
(A : Hilbert V →L[ℂ] Hilbert V) (hA : HasKernel G (orParameter q m) A)
(hq : (q : ℝ) * (2*D) * ‖A‖ < 1) :
∃ B : Hilbert V →L[ℂ] Hilbert V, HasKernel G (orParameter q (m+1)) B ∧
‖B‖ ≤ ‖A‖ / (1-(q:ℝ)*(2*D)*‖A‖) := by
let := Encodable.ofCountable E
let F (n : ℕ) := edgeExhaustion (E := E) n
let H (n : ℕ) : BondGraph V (F n) := G ∘ Subtype.val
have hb (n : ℕ) : ∃ B : Hilbert V →L[ℂ] Hilbert V,
HasKernel (H n) (orParameter q (m+1)) B ∧
‖B‖ ≤ ‖A‖ / (1-(q:ℝ)*(2*D)*‖A‖) := by
obtain ⟨A',hn,hA'⟩ := exists_operator_of_matrix_domination
(twoPoint G (orParameter q m)) (twoPoint (H n) (orParameter q m))
(twoPoint_nonneg G _) (fun x y => by
rw [abs_of_nonneg (twoPoint_nonneg (H n) _ _ _)]
exact twoPoint_restrict_le G _ (F n) x y) A hA
exact finite_sprinkling_bound (H n) q m D
(fun x => (degree_restrict_le G hloc (F n) x).trans (hD x)) A' hA' ‖A‖ hn hq
choose B hB hn using hb
have hlim (x y : V) : Tendsto (fun n => twoPoint (H n) (orParameter q (m+1)) x y)
atTop (𝓝 (twoPoint G (orParameter q (m+1)) x y)) := by
have hm : Monotone (fun n => {ω : Set E | Conn G (ω ∩ (F n : Set E)) x y}) := by
intro m n h ω hω
exact conn_mono G (Set.inter_subset_inter_right _ (edgeExhaustion_mono h)) hω
have h := tendsto_measure_iUnion_atTop (μ := law (orParameter q (m+1))) hm
have he := witness_eq_union {ω | Conn G ω x y} (fun _ _ h hc => conn_mono G h hc)
(finiteWitness_conn G x y)
change {ω : Set E | Conn G ω x y} = ⋃ n, {ω | Conn G (ω ∩ (F n : Set E)) x y} at he
rw [← he] at h
have hr := (ENNReal.tendsto_toReal (measure_ne_top _ _)).comp h
apply hr.congr'
apply Filter.Eventually.of_forall
intro n
exact (twoPoint_restrict_edges G (orParameter q (m+1)) (F n) x y).symm
obtain ⟨C,hCn,hC⟩ := exists_operator_of_matrix_tendsto B
(fun x y => (twoPoint G (orParameter q (m+1)) x y : ℂ))
(div_nonneg (norm_nonneg _) (sub_pos.mpr hq).le) hn (fun x y => by
have hBm : ∀ n x y, B n (lp.single 2 y (1:ℂ)) x = (twoPoint (H n) (orParameter q (m+1)) x y : ℂ) := hB
simp only [hBm]
exact Complex.continuous_ofReal.continuousAt.tendsto.comp (hlim x y))
exact ⟨C,hC,hCn⟩
end ExhaustionSprinkling
section Openness
attribute [local instance] Classical.propDecidable
theorem operatorBounded_open_right [Countable V] [Countable E]
(G : BondGraph V E) (hloc : LocallyFinite G) (D : ℕ) (hD : ∀ x, degree G x ≤ D)
(p : unitInterval) (hp0 : 0 < p) (hp1 : p < 1) (hb : OperatorBounded G p) :
∃ r : unitInterval, p < r ∧ OperatorBounded G r := by
obtain ⟨A,hA⟩ := hb
let c : ℝ := (2*D)*‖A‖
have hc : 0 ≤ c := by dsimp [c]; positivity
obtain ⟨m,q,hq,hqp⟩ := exists_orParameter_small p hp1 (1/(c+1))
(by positivity) (by apply (div_le_one (by positivity)).mpr; linarith)
have hq0 : (0:ℝ) < q := by
by_contra h
have hqe : q = 0 := Subtype.ext ((le_of_not_gt h).antisymm q.2.1)
have hpe : p = 0 := by rw [← hqp,hqe]; apply Subtype.ext; simp [orParameter]
exact (ne_of_gt hp0) hpe
have hsmall : (q:ℝ)*(2*D)*‖A‖ < 1 := by
have hm := mul_le_mul_of_nonneg_right hq hc
have hh : c/(c+1) < 1 := (div_lt_one (by positivity)).mpr (by linarith)
calc
(q:ℝ)*(2*D)*‖A‖ = (q:ℝ)*c := by dsimp [c]; ring
_ ≤ 1/(c+1)*c := hm
_ = c/(c+1) := by ring
_ < 1 := hh
obtain ⟨B,hB,_⟩ := sprinkling_bound G hloc q m D hD A (hqp ▸ hA) hsmall
refine ⟨orParameter q (m+1),?_,B,hB⟩
change (p:ℝ) < (orParameter q (m+1):ℝ)
have he : (orParameter q (m+1):ℝ) = (p:ℝ)+(1-p)*q := by
rw [← hqp]
simp only [orParameter,pow_succ]
ring
rw [he]
have ht := mul_pos (show (0:ℝ) < 1-p from sub_pos.mpr hp1) hq0
linarith
theorem mainConclusion_of_critical_bounded [Infinite V] (G : BondGraph V E)
(hconn : Connected G) (hloc : LocallyFinite G) (hqt : QuasiTransitive G)
(hc : OperatorBounded G (pc G)) : MainConclusion G := by
let : Countable V := countable_vertices hloc hconn
let : Countable E := countable_edges hloc
have hpc1 : pc G < 1 := by
apply lt_of_le_of_ne (show pc G ≤ 1 from (pc G).2.2)
intro he
exact not_operatorBounded_one G hconn (he ▸ hc)
obtain ⟨D,_,hD⟩ := exists_degree_bound G hqt
obtain ⟨q,hq,hb⟩ := operatorBounded_open_right G hloc D hD (pc G)
(pc_pos G hloc hqt) hpc1 hc
exact mainConclusion_of_strict_gap G hconn hloc hqt
(hq.trans_le (le_sSup hb))
end Openness
end Percolation
end OAI

Xet Storage Details

Size:
39.6 kB
·
Xet hash:
eda202ebca8240e7a4425f7159eda5b80d15f3fc960ad91d276df1318f4ec89e

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