ising_ring_spin
def
Maps a Boolean spin to the real value +1 for true and -1 for false.
Statement
noncomputable def ising_ring_spin (b : Bool) : ℝ
- Source
- arXiv:2610.39815, Sections 2–4; helper for OP-806.
- Verified
- 01 Nov 2026
- Axioms
- none listed
- Used by 7
- ising_two_layer_weightThe two-layer Gibbs weight is the exponential of the critical intralayer energy plus c times n to the power negative one half times the…
- ising_inverse_square_ring_free_energyFor natural L and real x and h, the reduced free energy per spin is 1/L times the real logarithm of the sum over functions s from Fin L to…
- ising_two_layer_edge_energyThe edge energy is the sum, over the unordered edges of the graph, of the products of the endpoint spins.
- ising_two_layer_observableThe observable is the pair of total layer magnetizations, each multiplied by n to the power negative three quarters.
- ising_inverse_square_ring_partitionThe finite-ring partition function at coupling x and field h is the sum over all spin configurations of exp of the interaction energy…
- ising_two_layer_weight_zero_couplingAt zero coupling the two-layer Gibbs weight is the product of the separate critical-temperature weights of the two layers.
- ising_two_layer_tiltThe overlap tilt exp(c · n^{-1/2} · Σ_v σ_v τ_v) coupling the two spin layers, where σ_v, τ_v ∈ {±1} are the spins at vertex v.
Lean source view module on GitHub
noncomputable def ising_ring_spin (b : Bool) : ℝ := if b then 1 else -1