The finite-volume Ising Gibbs measure
A. Spins and bonds
DefinitionSpin of a configuration at a site#✓fully proved
The spin σ_x ∈ {1, -1} of the configuration s at x: 1 for true, -1 for false.
def spin (s : ConfigSpace V) (x : V) : ℝ := if s x then 1 else -1
abbrev ConfigSpace (E : Type*) : Type _ := E → Bool
MathlibExt/Probability/Configuration/ConfigSpace.lean:40
Uses 1 · Used by 108
DefinitionBond variable of an unordered pair#✓fully proved
The bond variable σ_x σ_y of an unordered pair e = {x, y}.
def bond (s : ConfigSpace V) (e : Sym2 V) : ℝ :=
Sym2.lift ⟨fun x y => spin s x * spin s y, fun _ _ => mul_comm _ _⟩ e
abbrev ConfigSpace (E : Type*) : Type _ := E → Bool
MathlibExt/Probability/Configuration/ConfigSpace.lean:40
def spin (s : ConfigSpace V) (x : V) : ℝ := if s x then 1 else -1
PhyslibExt/CondensedMatter/IsingModel/Gibbs.lean:70
Uses 2 · Used by 79
LemmaBond variable takes values \(\pm 1\)#✓fully proved
A bond variable is 1 or -1.
lemma bond_eq_pm (s : ConfigSpace V) (e : Sym2 V) : bond s e = 1 ∨ bond s e = -1
abbrev ConfigSpace (E : Type*) : Type _ := E → Bool
MathlibExt/Probability/Configuration/ConfigSpace.lean:40
def bond (s : ConfigSpace V) (e : Sym2 V) : ℝ :=
Sym2.lift ⟨fun x y => spin s x * spin s y, fun _ _ => mul_comm _ _⟩ e
PhyslibExt/CondensedMatter/IsingModel/Gibbs.lean:85
Uses 3 · Used by 15
B. The Hamiltonian and the partition function
DefinitionIsing Hamiltonian on a finite graph#✓fully proved
The Ising Hamiltonian H(s) = -∑_{xy ∈ E(G)} σ_x σ_y - h ∑_x σ_x on a finite graph G with
unit coupling and external field h. See also CondensedMatter.IsingModel.energy and
StatMech.Ising.hamiltonian_eq_energy.
def hamiltonian (h : ℝ) (s : ConfigSpace V) : ℝ :=
- (∑ e ∈ G.edgeFinset, bond s e) - h * ∑ x, spin s x
abbrev ConfigSpace (E : Type*) : Type _ := E → Bool
MathlibExt/Probability/Configuration/ConfigSpace.lean:40
def bond (s : ConfigSpace V) (e : Sym2 V) : ℝ :=
Sym2.lift ⟨fun x y => spin s x * spin s y, fun _ _ => mul_comm _ _⟩ e
PhyslibExt/CondensedMatter/IsingModel/Gibbs.lean:85
def spin (s : ConfigSpace V) (x : V) : ℝ := if s x then 1 else -1
PhyslibExt/CondensedMatter/IsingModel/Gibbs.lean:70
Uses 3 · Used by 28
DefinitionBoltzmann weight of an Ising configuration#✓fully proved
The Boltzmann weight exp (-β H(s)) of a configuration at inverse temperature β.
noncomputable def isingWeight (β h : ℝ) (s : ConfigSpace V) : ℝ :=
Real.exp (-β * hamiltonian G h s)
abbrev ConfigSpace (E : Type*) : Type _ := E → Bool
MathlibExt/Probability/Configuration/ConfigSpace.lean:40
def hamiltonian (h : ℝ) (s : ConfigSpace V) : ℝ :=
- (∑ e ∈ G.edgeFinset, bond s e) - h * ∑ x, spin s x
PhyslibExt/CondensedMatter/IsingModel/Gibbs.lean:108
Uses 2 · Used by 29
DefinitionIsing partition function#✓fully proved
The partition function Z = ∑_s exp (-β H(s)). See also
CanonicalEnsemble.mathematicalPartitionFunction and
StatMech.Ising.isingZ_eq_mathematicalPartitionFunction.
noncomputable def isingZ (β h : ℝ) : ℝ := ∑ s : ConfigSpace V, isingWeight G β h s
abbrev ConfigSpace (E : Type*) : Type _ := E → Bool
MathlibExt/Probability/Configuration/ConfigSpace.lean:40
noncomputable def isingWeight (β h : ℝ) (s : ConfigSpace V) : ℝ :=
Real.exp (-β * hamiltonian G h s)
PhyslibExt/CondensedMatter/IsingModel/Gibbs.lean:112
Uses 2 · Used by 32
LemmaPositivity of the Ising partition function#✓fully proved
The partition function is positive.
lemma isingZ_pos (β h : ℝ) : 0 < isingZ G β h
noncomputable def isingZ (β h : ℝ) : ℝ := ∑ s : ConfigSpace V, isingWeight G β h s
PhyslibExt/CondensedMatter/IsingModel/Gibbs.lean:126
Uses 4 · Used by 18
C. The Gibbs distribution
DefinitionGibbs probability of an Ising configuration#✓fully proved
The Gibbs probability exp (-β H(s)) / Z of a configuration. See also
CanonicalEnsemble.probability and StatMech.Ising.isingProb_eq_probability.
noncomputable def isingProb (β h : ℝ) (s : ConfigSpace V) : ℝ :=
isingWeight G β h s / isingZ G β h
abbrev ConfigSpace (E : Type*) : Type _ := E → Bool
MathlibExt/Probability/Configuration/ConfigSpace.lean:40
noncomputable def isingWeight (β h : ℝ) (s : ConfigSpace V) : ℝ :=
Real.exp (-β * hamiltonian G h s)
PhyslibExt/CondensedMatter/IsingModel/Gibbs.lean:112
noncomputable def isingZ (β h : ℝ) : ℝ := ∑ s : ConfigSpace V, isingWeight G β h s
PhyslibExt/CondensedMatter/IsingModel/Gibbs.lean:126
Uses 3 · Used by 23
LemmaIsing Gibbs probabilities sum to one#✓fully proved
The Gibbs probabilities sum to one.
lemma isingProb_sum_eq_one (β h : ℝ) : ∑ s : ConfigSpace V, isingProb G β h s = 1
abbrev ConfigSpace (E : Type*) : Type _ := E → Bool
MathlibExt/Probability/Configuration/ConfigSpace.lean:40
noncomputable def isingProb (β h : ℝ) (s : ConfigSpace V) : ℝ :=
isingWeight G β h s / isingZ G β h
PhyslibExt/CondensedMatter/IsingModel/Gibbs.lean:141
Uses 5 · Used by 10
DefinitionFinite-volume Ising Gibbs probability mass function#✓fully proved
The finite-volume Ising Gibbs distribution as a probability mass function on configurations.
noncomputable def isingPMF (β h : ℝ) : PMF (ConfigSpace V) :=
PMF.ofFintype (fun s => ENNReal.ofReal (isingProb G β h s)) (by
rw [← ENNReal.ofReal_sum_of_nonneg (fun s _ => isingProb_nonneg G β h s),
isingProb_sum_eq_one G β h]
simp)
abbrev ConfigSpace (E : Type*) : Type _ := E → Bool
MathlibExt/Probability/Configuration/ConfigSpace.lean:40
noncomputable def isingProb (β h : ℝ) (s : ConfigSpace V) : ℝ :=
isingWeight G β h s / isingZ G β h
PhyslibExt/CondensedMatter/IsingModel/Gibbs.lean:141
Uses 7
Loading dependency explorer…
The dependency explorer needs JavaScript and its graph data.