The Edwards–Sokal coupling with wired boundary conditions
A. The Potts model with boundary color b
DefinitionColoring fixed to a color on the boundary#✓fully proved
The coloring σ equals b on every boundary vertex.
Used by 11
DefinitionPotts weight with fixed boundary color#✓fully proved
The Potts weight restricted to colorings with boundary color b.
noncomputable def pottsWeightWired {q : ℕ} (b : Fin q) (β J : ℝ) (σ : V → Fin q) : ℝ :=
if BoundaryFixed bdry b σ then Potts.pottsWeight G β J σ else 0
def BoundaryFixed {q : ℕ} (b : Fin q) (σ : V → Fin q) : Prop := ∀ x, bdry x → σ x = b
PhyslibExt/CondensedMatter/IsingModel/FKRepresentation/EsWired.lean:70
noncomputable def pottsWeight {q : ℕ} (β J : ℝ) (σ : V → Fin q) : ℝ :=
Real.exp (β * J * agreement G σ)
PhyslibExt/StatisticalMechanics/RandomCluster/Potts.lean:101
Uses 2 · Used by 7
DefinitionPotts partition function with fixed boundary color#✓fully proved
The partition function of the Potts model with boundary color b.
noncomputable def pottsZWired (q : ℕ) (b : Fin q) (β J : ℝ) : ℝ :=
∑ σ : V → Fin q, pottsWeightWired G bdry b β J σ
noncomputable def pottsWeightWired {q : ℕ} (b : Fin q) (β J : ℝ) (σ : V → Fin q) : ℝ :=
if BoundaryFixed bdry b σ then Potts.pottsWeight G β J σ else 0
PhyslibExt/CondensedMatter/IsingModel/FKRepresentation/EsWired.lean:82
Uses 1 · Used by 6
DefinitionPotts Gibbs probability with fixed boundary color#✓fully proved
The Gibbs probability of the Potts model with boundary color b.
noncomputable def pottsProbWired (q : ℕ) (b : Fin q) (β J : ℝ) (σ : V → Fin q) : ℝ :=
pottsWeightWired G bdry b β J σ / pottsZWired G bdry q b β J
noncomputable def pottsWeightWired {q : ℕ} (b : Fin q) (β J : ℝ) (σ : V → Fin q) : ℝ :=
if BoundaryFixed bdry b σ then Potts.pottsWeight G β J σ else 0
PhyslibExt/CondensedMatter/IsingModel/FKRepresentation/EsWired.lean:82
noncomputable def pottsZWired (q : ℕ) (b : Fin q) (β J : ℝ) : ℝ :=
∑ σ : V → Fin q, pottsWeightWired G bdry b β J σ
PhyslibExt/CondensedMatter/IsingModel/FKRepresentation/EsWired.lean:86
Uses 2
B. The wired Edwards–Sokal weight and its spin marginal
DefinitionEdwards–Sokal weight with fixed boundary color#✓fully proved
The Edwards–Sokal weight restricted to colorings with boundary color b.
noncomputable def esWeightWired {q : ℕ} (b : Fin q) (p : ℝ) (σ : V → Fin q)
(ω : ConfigSpace (Sym2 V)) : ℝ :=
if BoundaryFixed bdry b σ then esWeight G p σ ω else 0
abbrev ConfigSpace (E : Type*) : Type _ := E → Bool
MathlibExt/Probability/Configuration/ConfigSpace.lean:40
def BoundaryFixed {q : ℕ} (b : Fin q) (σ : V → Fin q) : Prop := ∀ x, bdry x → σ x = b
PhyslibExt/CondensedMatter/IsingModel/FKRepresentation/EsWired.lean:70
def esWeight {q : ℕ} (p : ℝ) (σ : V → Fin q) (ω : ConfigSpace (Sym2 V)) : ℝ :=
∏ e ∈ G.edgeFinset, esEdgeFactor p σ ω e
PhyslibExt/StatisticalMechanics/RandomCluster/EdwardsSokal.lean:71
Uses 3 · Used by 10
DefinitionTotal wired Edwards–Sokal weight#✓fully proved
The total wired Edwards–Sokal weight.
noncomputable def esZWired (q : ℕ) (b : Fin q) (p : ℝ) : ℝ :=
∑ ω : ConfigSpace (Sym2 V), ∑ σ : V → Fin q, esWeightWired G bdry b p σ ω
abbrev ConfigSpace (E : Type*) : Type _ := E → Bool
MathlibExt/Probability/Configuration/ConfigSpace.lean:40
noncomputable def esWeightWired {q : ℕ} (b : Fin q) (p : ℝ) (σ : V → Fin q)
(ω : ConfigSpace (Sym2 V)) : ℝ :=
if BoundaryFixed bdry b σ then esWeight G p σ ω else 0
PhyslibExt/CondensedMatter/IsingModel/FKRepresentation/EsWired.lean:145
Uses 2 · Used by 9
DefinitionSpin marginal of the wired Edwards–Sokal measure#✓fully proved
The spin marginal of the wired Edwards–Sokal measure.
noncomputable def esWiredFirstMarginal (q : ℕ) (b : Fin q) (p : ℝ) (σ : V → Fin q) : ℝ :=
(∑ ω : ConfigSpace (Sym2 V), esWeightWired G bdry b p σ ω) / esZWired G bdry q b p
abbrev ConfigSpace (E : Type*) : Type _ := E → Bool
MathlibExt/Probability/Configuration/ConfigSpace.lean:40
noncomputable def esWeightWired {q : ℕ} (b : Fin q) (p : ℝ) (σ : V → Fin q)
(ω : ConfigSpace (Sym2 V)) : ℝ :=
if BoundaryFixed bdry b σ then esWeight G p σ ω else 0
PhyslibExt/CondensedMatter/IsingModel/FKRepresentation/EsWired.lean:145
noncomputable def esZWired (q : ℕ) (b : Fin q) (p : ℝ) : ℝ :=
∑ ω : ConfigSpace (Sym2 V), ∑ σ : V → Fin q, esWeightWired G bdry b p σ ω
PhyslibExt/CondensedMatter/IsingModel/FKRepresentation/EsWired.lean:167
C. Colorings constant on wired clusters
DefinitionOpen-edge graph with a boundary clique#✓fully proved
The graph of open edges of ω together with a clique on the boundary vertices.
noncomputable def wiredSub (ω : ConfigSpace (Sym2 V)) : SimpleGraph V :=
openSub G ω ⊔ boundaryCliqueGraph bdry
abbrev ConfigSpace (E : Type*) : Type _ := E → Bool
MathlibExt/Probability/Configuration/ConfigSpace.lean:40
def openSub (ω : ConfigSpace (Sym2 V)) : SimpleGraph V where
Adj x y := G.Adj x y ∧ ω s(x, y) = true
symm := by
refine ⟨fun x y h => ?_⟩
refine ⟨h.1.symm, ?_⟩
rw [Sym2.eq_swap]; exact h.2
loopless := ⟨fun x h => h.1.ne rfl⟩
PhyslibExt/StatisticalMechanics/RandomCluster/RandomCluster.lean:82
def boundaryCliqueGraph : SimpleGraph V := SimpleGraph.fromRel (wireRel bdry)
MathlibExt/Combinatorics/SimpleGraph/Lattice/BoundaryConditions.lean:121
Uses 3 · Used by 4
DefinitionColoring constant on the wired graph#✓fully proved
The coloring σ is constant along the edges of wiredSub.
def ConstOnWired {q : ℕ} (ω : ConfigSpace (Sym2 V)) (σ : V → Fin q) : Prop :=
∀ x y, (wiredSub G bdry ω).Adj x y → σ x = σ y
abbrev ConfigSpace (E : Type*) : Type _ := E → Bool
MathlibExt/Probability/Configuration/ConfigSpace.lean:40
noncomputable def wiredSub (ω : ConfigSpace (Sym2 V)) : SimpleGraph V :=
openSub G ω ⊔ boundaryCliqueGraph bdry
PhyslibExt/CondensedMatter/IsingModel/FKRepresentation/EsWired.lean:192
DefinitionColorings constant on wired clusters as cluster colorings#✓fully proved
Colorings constant on the clusters of wiredSub correspond to colorings of those clusters.
StatMech.IsingFK.constOnWiredEquiv · 19 lines
noncomputable def constOnWiredEquiv {q : ℕ} (ω : ConfigSpace (Sym2 V)) :
((wiredSub G bdry ω).ConnectedComponent → Fin q)
≃ {σ : V → Fin q // ConstOnWired G bdry ω σ} where
toFun τ := ⟨fun v => τ ((wiredSub G bdry ω).connectedComponentMk v), by
intro x y hxy
simp only
congr 1
exact SimpleGraph.ConnectedComponent.connectedComponentMk_eq_of_adj hxy⟩
invFun σ := SimpleGraph.ConnectedComponent.lift σ.1 (by
intro v w p _
exact constOnWired_reachable G bdry ω σ.1 σ.2 p.reachable)
left_inv τ := by
funext c
induction c using SimpleGraph.ConnectedComponent.ind with
| _ v => rfl
right_inv σ := by
apply Subtype.ext
funext v
rfl
abbrev ConfigSpace (E : Type*) : Type _ := E → Bool
MathlibExt/Probability/Configuration/ConfigSpace.lean:40
noncomputable def wiredSub (ω : ConfigSpace (Sym2 V)) : SimpleGraph V :=
openSub G ω ⊔ boundaryCliqueGraph bdry
PhyslibExt/CondensedMatter/IsingModel/FKRepresentation/EsWired.lean:192
def ConstOnWired {q : ℕ} (ω : ConfigSpace (Sym2 V)) (σ : V → Fin q) : Prop :=
∀ x y, (wiredSub G bdry ω).Adj x y → σ x = σ y
PhyslibExt/CondensedMatter/IsingModel/FKRepresentation/EsWired.lean:201
DefinitionFunctions pinned at a point as functions on its complement#✓fully proved
Functions to Fin q taking the value b at c₀ correspond to functions on the complement of
c₀. See also Equiv.piSplitAt.
def pinnedFunEquiv {α : Type*} [DecidableEq α] {q : ℕ} (c₀ : α) (b : Fin q) :
{τ : α → Fin q // τ c₀ = b} ≃ ({c : α // c ≠ c₀} → Fin q) where
toFun τ := fun c => τ.1 c.1
invFun g := ⟨fun a => if h : a = c₀ then b else g ⟨a, h⟩, by simp⟩
left_inv := by
rintro ⟨τ, hτ⟩
apply Subtype.ext; funext a
by_cases h : a = c₀
· simp [h, hτ]
· simp [h]
right_inv := by
intro g; funext c
obtain ⟨a, ha⟩ := c
simp [ha]
Used by 1
D. The bond marginal
DefinitionBond marginal of the wired Edwards–Sokal measure#✓fully proved
The bond marginal of the wired Edwards–Sokal measure.
noncomputable def esWiredSecondMarginal (q : ℕ) (b : Fin q) (p : ℝ)
(ω : ConfigSpace (Sym2 V)) : ℝ :=
(∑ σ : V → Fin q, esWeightWired G bdry b p σ ω) / esZWired G bdry q b p
abbrev ConfigSpace (E : Type*) : Type _ := E → Bool
MathlibExt/Probability/Configuration/ConfigSpace.lean:40
noncomputable def esWeightWired {q : ℕ} (b : Fin q) (p : ℝ) (σ : V → Fin q)
(ω : ConfigSpace (Sym2 V)) : ℝ :=
if BoundaryFixed bdry b σ then esWeight G p σ ω else 0
PhyslibExt/CondensedMatter/IsingModel/FKRepresentation/EsWired.lean:145
noncomputable def esZWired (q : ℕ) (b : Fin q) (p : ℝ) : ℝ :=
∑ ω : ConfigSpace (Sym2 V), ∑ σ : V → Fin q, esWeightWired G bdry b p σ ω
PhyslibExt/CondensedMatter/IsingModel/FKRepresentation/EsWired.lean:167
Loading dependency explorer…
The dependency explorer needs JavaScript and its graph data.