cfahlgren1's picture
download
raw
3.54 kB
import Mathlib
import OAI.Probability.CriticalPercolation.Modular.ModularClusterMass
namespace OAI
section
noncomputable section
open Set MeasureTheory
open scoped Classical ENNReal BigOperators
namespace CriticalPercolation.BondGraph
variable {V E : Type*} (G : BondGraph V E)
def clusterPeak (ω : Set E) (x : V) : Prop :=
∀ z, (G.openGraph ω).Reachable x z → G.stabilizerWeight x z ≤ 1
def clusterPeaks (ω : Set E) (v : V) : Set V :=
{x | (G.openGraph ω).Reachable v x ∧ G.clusterPeak ω x}
def peakBound (N : ℕ) (ω : Set E) (v : V) : Prop :=
∃ S : Finset V, S.card ≤ N ∧ G.clusterPeaks ω v ⊆ S
lemma clusterPeaks_eq_of_reachable {ω : Set E} {x y : V}
(h : (G.openGraph ω).Reachable x y) : G.clusterPeaks ω x = G.clusterPeaks ω y := by
ext z
exact and_congr (⟨fun hz => h.symm.trans hz,fun hz => h.trans hz⟩) Iff.rfl
lemma peakBound_iff_of_reachable (N : ℕ) {ω : Set E} {x y : V}
(h : (G.openGraph ω).Reachable x y) : G.peakBound N ω x ↔ G.peakBound N ω y := by
unfold peakBound
rw [G.clusterPeaks_eq_of_reachable h]
lemma Aut.clusterPeak_iff (φ : G.Aut) (ω : Set E) (x : V) :
G.clusterPeak (φ.edge '' ω) (φ.vertex x) ↔ G.clusterPeak ω x := by
unfold clusterPeak
constructor
· intro h z hz
have hr : (G.openGraph (φ.edge '' ω)).Reachable (φ.vertex x) (φ.vertex z) :=
(SimpleGraph.Iso.reachable_iff (φ := Aut.openGraphIso G φ ω)).mpr hz
simpa only [Aut.stabilizerWeight] using h (φ.vertex z) hr
· intro h z hz
obtain ⟨y,rfl⟩ := φ.vertex.surjective z
rw [Aut.stabilizerWeight]
exact h y ((SimpleGraph.Iso.reachable_iff (φ := Aut.openGraphIso G φ ω)).mp hz)
lemma Aut.clusterPeaks_image (φ : G.Aut) (ω : Set E) (v : V) :
φ.vertex '' G.clusterPeaks ω v = G.clusterPeaks (φ.edge '' ω) (φ.vertex v) := by
ext z
obtain ⟨y,rfl⟩ := φ.vertex.surjective z
simp only [Set.mem_image,φ.vertex.injective.eq_iff,exists_eq_right,clusterPeaks,Set.mem_ofPred_eq,
φ.clusterPeak_iff]
exact and_congr (SimpleGraph.Iso.reachable_iff (φ := Aut.openGraphIso G φ ω)).symm Iff.rfl
lemma Aut.peakBound_iff (φ : G.Aut) (N : ℕ) (ω : Set E) (v : V) :
G.peakBound N (φ.edge '' ω) (φ.vertex v) ↔ G.peakBound N ω v := by
change (∃ S : Finset V, S.card ≤ N ∧ G.clusterPeaks (φ.edge '' ω) (φ.vertex v) ⊆ S) ↔ _
rw [←φ.clusterPeaks_image]
constructor
· rintro ⟨S,hS,h⟩
refine ⟨S.image φ.vertex.symm,(Finset.card_image_le).trans hS,?_⟩
intro x hx
exact Finset.mem_image.mpr ⟨φ.vertex x,h ⟨x,hx,rfl⟩,φ.vertex.symm_apply_apply x⟩
· rintro ⟨S,hS,h⟩
refine ⟨S.image φ.vertex,(Finset.card_image_le).trans hS,?_⟩
rintro y ⟨x,hx,rfl⟩
exact Finset.mem_image.mpr ⟨x,h hx,rfl⟩
lemma measurable_clusterPeak [Countable V] [Countable E] (x : V) :
Measurable (fun ω : Set E => G.clusterPeak ω x) := by
exact .forall (fun z => (G.measurable_reachable x z).imp measurable_const)
lemma measurable_mem_clusterPeaks [Countable V] [Countable E] (v x : V) :
Measurable (fun ω : Set E => x∈G.clusterPeaks ω v) :=
(G.measurable_reachable v x).and (G.measurable_clusterPeak x)
lemma measurable_peakBound [Countable V] [Countable E] (N : ℕ) (v : V) :
Measurable (fun ω : Set E => G.peakBound N ω v) := by
exact .exists (fun S : Finset V => measurable_const.and
(.forall (fun x => (G.measurable_mem_clusterPeaks v x).imp measurable_const)))
end CriticalPercolation.BondGraph
end
end
end OAI

Xet Storage Details

Size:
3.54 kB
·
Xet hash:
65dec1c632906d91be033a7bb5cfb6d856cb9507bc3ad0f443c532c251df33d7

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