sixteen_spin_weight
def
For a real angle θ and a difference vector d in (Fin 2)^4, the sixteen-spin edge weight w(d) is exp(8 i θ) if d = (0, 1, 0, 1), exp(-8 i θ) if d = (1, 1, 0, 1), and 1 otherwise.
Statement
noncomputable def sixteen_spin_weight (θ : ℝ) (d : Fin 4 → Fin 2) : ℂ
- Defined in
- OP-1695; arXiv:2610.27080
- Verified
- 14 Nov 2026
- Axioms
- none listed
- Used by 1
- sixteen_spin_partition_fnFor a simple graph G on a finite type V with decidable equality and decidable adjacency, and an edge angle function θ : Sym2 V → ℝ on…
Read back from the Lean
The function sixteen_spin_weight takes a real number θ and a configuration d : Fin 4 → Fin 2, and returns the complex number:
- Complex.exp (8 * Complex.I * θ) if d 0 = 0, d 1 = 1, d 2 = 0, and d 3 = 1,
- Complex.exp (-8 * Complex.I * θ) if d 0 = 1, d 1 = 1, d 2 = 0, and d 3 = 1,
- 1 otherwise.
Written by a model that saw only the Lean, never the English above. If the two disagree, that is worth a challenge.
Lean source view module on GitHub
/-- Weight w_e(d) of a spin difference d in (Fin 2)^4 on edge e with angle θ_e. -/ noncomputable def sixteen_spin_weight (θ : ℝ) (d : Fin 4 → Fin 2) : ℂ := if d 0 = 0 ∧ d 1 = 1 ∧ d 2 = 0 ∧ d 3 = 1 then Complex.exp (8 * Complex.I * θ) else if d 0 = 1 ∧ d 1 = 1 ∧ d 2 = 0 ∧ d 3 = 1 then Complex.exp (-8 * Complex.I * θ) else 1