The Ising model in a box as a wired two-state Potts model
A. The wired Ising model on a graph
DefinitionIsing bond variable of a two-state coloring#✓fully proved
The Ising bond σ_x σ_y of a two-state coloring, with color 0 as spin +1. See also
Ising.bond for Boolean configurations.
noncomputable def isingBond (σ : V → Fin 2) (e : Sym2 V) : ℝ :=
Sym2.lift ⟨fun x y => isingSpin (σ x) * isingSpin (σ y), fun _ _ => mul_comm _ _⟩ e
def isingSpin : Fin 2 → ℝ := fun a => if a = 0 then 1 else -1
PhyslibExt/StatisticalMechanics/RandomCluster/EsCorrelations.lean:60
Uses 1 · Used by 6
DefinitionIsing weight of a coloring with plus boundary#✓fully proved
The Ising weight exp (β ∑_e σ_x σ_y) of a two-state coloring with boundary color 0, and 0
otherwise.
noncomputable def isingWiredWeight (β : ℝ) (σ : V → Fin 2) : ℝ :=
if BoundaryFixed bdry (0 : Fin 2) σ then
Real.exp (β * ∑ e ∈ G.edgeFinset, isingBond σ e) 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 isingBond (σ : V → Fin 2) (e : Sym2 V) : ℝ :=
Sym2.lift ⟨fun x y => isingSpin (σ x) * isingSpin (σ y), fun _ _ => mul_comm _ _⟩ e
PhyslibExt/CondensedMatter/IsingModel/FKRepresentation/IsingBoxEncoding.lean:71
Uses 2 · Used by 7
DefinitionPlus-boundary Ising partition function on a graph#✓fully proved
The partition function of the Ising model with + boundary condition on a graph.
noncomputable def isingWiredZ (β : ℝ) : ℝ := ∑ σ : V → Fin 2, isingWiredWeight G bdry β σ
noncomputable def isingWiredWeight (β : ℝ) (σ : V → Fin 2) : ℝ :=
if BoundaryFixed bdry (0 : Fin 2) σ then
Real.exp (β * ∑ e ∈ G.edgeFinset, isingBond σ e) else 0
PhyslibExt/CondensedMatter/IsingModel/FKRepresentation/IsingBoxEncoding.lean:97
Uses 1 · Used by 6
DefinitionPlus-boundary Ising one-point function on a graph#✓fully proved
The one-point function ⟨σ_x⟩⁺ of the Ising model with + boundary condition on a graph.
noncomputable def isingWiredOnePoint (β : ℝ) (x : V) : ℝ :=
(∑ σ : V → Fin 2, isingWiredWeight G bdry β σ * isingSpin (σ x)) / isingWiredZ G bdry β
noncomputable def isingWiredWeight (β : ℝ) (σ : V → Fin 2) : ℝ :=
if BoundaryFixed bdry (0 : Fin 2) σ then
Real.exp (β * ∑ e ∈ G.edgeFinset, isingBond σ e) else 0
PhyslibExt/CondensedMatter/IsingModel/FKRepresentation/IsingBoxEncoding.lean:97
def isingSpin : Fin 2 → ℝ := fun a => if a = 0 then 1 else -1
PhyslibExt/StatisticalMechanics/RandomCluster/EsCorrelations.lean:60
noncomputable def isingWiredZ (β : ℝ) : ℝ := ∑ σ : V → Fin 2, isingWiredWeight G bdry β σ
PhyslibExt/CondensedMatter/IsingModel/FKRepresentation/IsingBoxEncoding.lean:102
Uses 3 · Used by 5
B. Lattice configurations as box colorings
DefinitionTwo-state color of a Boolean spin#✓fully proved
The two-state color of a Boolean spin: true ↦ 0, false ↦ 1.
Used by 7
DefinitionBox configuration as a coloring of the next larger box#✓fully proved
A configuration in the box Λ_n as a two-state coloring of Λ_{n+1}, with color 0 (spin +)
outside Λ_n.
noncomputable def latToBox (d n : ℕ) (τ : {x // x ∈ box d n} → Bool) :
boxVerts d (n + 1) → Fin 2 :=
fun v => if h : (v : Site d) ∈ box d n then bToF (τ ⟨v, h⟩) else 0
def box (d n : ℕ) : Set (Site d) := {x | ∀ i, (x i).natAbs ≤ n}
MathlibExt/Combinatorics/SimpleGraph/Lattice/HypercubicLattice.lean:86
abbrev boxVerts (d n : ℕ) : Type := {x : Site d // x ∈ box d n}
PhyslibExt/StatisticalMechanics/RandomCluster/InfiniteVolume.lean:131
abbrev Site (d : ℕ) : Type := Fin d → ℤ
MathlibExt/Combinatorics/SimpleGraph/Lattice/HypercubicLattice.lean:55
def bToF (b : Bool) : Fin 2 := if b then 0 else 1
PhyslibExt/CondensedMatter/IsingModel/FKRepresentation/IsingBoxEncoding.lean:179
Uses 4 · Used by 6
Loading dependency explorer…
The dependency explorer needs JavaScript and its graph data.