Documentation

Lightlike.Recoupling.Tests

Trust checks for the recoupling theory #

Kernel-checked values and deliberately wrong inputs for the definitions of this folder. Reference values are computed independently with SymPy in scripts/recoupling/ (numerical evidence, not proof).

4-valent intertwiners (Intertwiner.lean) #

For four spins 1/2 (doubled spins 1 1 1 1) the invariant space is two-dimensional, with the virtual spin k ∈ {0, 1} (doubled 0, 2).

checkvaluetheorem
ι^{(0)}_{½,-½,½,-½}, evaluated from the definition1/2fourJ_hhhh_zero
⟨ι^{(12)0} \| ι^{(13)0}⟩ (two singlet pairings)1/2fourRecoupling_hhhh_00, overlap_singlet_pairings
⟨ι^{(12)0} \| ι^{(13)1}⟩√3/2fourRecoupling_hhhh_02
row k = 0 of the recoupling matrix has norm 11/4 + 3/4fourRecoupling_hhhh_row

The magnitudes 1/2 and √3/2 are the standard singlet/triplet recoupling of four spins 1/2; the signs follow from the Condon–Shortley 3j phases and are those found by SymPy.

Wrong inputs:

The 15j symbol and the 4-simplex (FifteenJ.lean) #

checkvaluetheorem
{15j} with all spins 01fifteenJ_zero
4-simplex contraction with all spins 01fifteenJSimplex_zero
{15j} with a = 0, b = (½,½,½,½,½), c = (0,0,0,0,½)1/4fifteenJ_value
contraction with spins ½ on the 4-cycle 0-3-1-4-0, i₁ = i₃ = ½, evaluated from the definition1/2fifteenJSimplex_cycle
the same contraction is Π_a √(2i_a + 1) · {15j} = 2 · 1/41/2fifteenJSimplex_cycle_eq
{15j} with a = (1,½,1,½,1), b = (½,1,½,1,½), c = (½,½,½,½,½): all fifteen spins nonzero-7/432fifteenJ_all_nonzero
contraction with all triangle spins ½ and all virtual spins 1, 9√3 · (-7/432)-7√3/48fifteenJSimplex_all_nonzero

The last line is an instance of the identity between the 4-simplex contraction and the 15j symbol of the first kind, proven in general as Lightlike.Recoupling.fifteenJSimplex_eq; here both sides are evaluated independently (the contraction from its definition, the 15j symbol through the zero-spin reduction), so it also checks that theorem against explicit values.

The values with a zero row reduce the sum over x to one term. In fifteenJ_all_nonzero no spin is zero and two terms contribute: 2 · (1/6)⁵ = 1/3888 at x = ½ and 4 · (-1/3)⁵ = -4/243 at x = 3/2, with the 6j symbols {1 ½ ½; 1 ½ ½} = {½ 1 ½; ½ 1 ½} = 1/6 and {1 ½ 3/2; 1 ½ ½} = {½ 1 3/2; ½ 1 ½} = -1/3 evaluated from Physlib's definition. scripts/recoupling/fifteenj_check.py evaluates the 4-simplex contraction at the same spins exactly, from SymPy's 3j symbols and without the 6j formula, and finds -7√3/48.

Wrong input: the 15j sum with an untwisted closure (a₅, b₅) = (a₀, b₀) (the wrong graph) gives 0 instead of 1/4 (fifteenJ_untwisted_fails), and 0 instead of -7/432 at the spins of fifteenJ_all_nonzero (fifteenJ_all_nonzero_untwisted_fails).

Orthogonality of the 15j symbols (Orthogonality.lean) #

For a₀ = 0, b = b' = (½,…,½), c = (0,0,0,0,½) the orthogonality relation sum_fifteenJ_mul_fifteenJ predicts 1/16 (fifteenJ_orth_predicts, which also shows that its conditions can hold); evaluated directly, the sum has the single term (1/4)² = 1/16 (fifteenJ_orth_direct). With the untwisted closure the term is 0 (fifteenJ_untwisted_orth_fails).

Orthogonality of the 3j and 6j symbols (ThreeJ.lean, Intertwiner.lean) #

checkvaluetheorems
Σ_{m₁m₂} (½ ½ J; m₁ m₂ 0)(½ ½ J'; m₁ m₂ 0) for (J, J') = (1,1), (1,0), (0,0)1/3, 0, 1threeJ_orth_direct, threeJ_orth_predicts
Σ_x (2x+1)(2q+1) {1 ½ x; 1 ½ q}{1 ½ x; 1 ½ r} for q, r ∈ {½, 3/2}δ_{qr}sixJ_orth_direct, sixJ_orth_predicts

Each sum is evaluated twice: from explicit symbols (…_direct; the 3j values (½ ½ 1; ±½ ∓½ 0) = 1/√6, (½ ½ 0; ±½ ∓½ 0) = ±1/√2 and the 6j values 1/6, -1/3, -1/3, -1/12, all from Physlib's definitions) and from the general theorem (…_predicts, which also shows that its admissibility conditions can hold). scripts/recoupling/intertwiner_check.py finds the same values with SymPy.

Wrong inputs: with the absolute values of the 3j symbols (no Condon–Shortley signs) the singlet and the triplet are not orthogonal (threeJ_orth_unsigned_fails); without the weight 2x + 1 the 6j sum at q = r = ½ is 5/18, not 1 (sixJ_orth_unweighted_fails).

References #

(0 ½ ½; 0 ½ -½) = 1/√2.

(½ ½ 0; ½ -½ 0) = 1/√2, by a cyclic permutation of threeJ_0hh.

theorem Lightlike.Recoupling.Tests.fourJ_hhhh_zero :
fourJ 1 1 1 1 0 1 (-1) 1 (-1) = 1 / 2

Value check. The singlet–singlet intertwiner of four spins 1/2, evaluated from the definition: ι^{(0)}_{½,-½,½,-½} = (½ ½ 0; ½ -½ 0)(0 ½ ½; 0 ½ -½) = 1/2.

Value check. ⟨ι^{(12)0} | ι^{(13)0}⟩ = 1/2 for four spins 1/2, from {½ ½ 0; ½ ½ 0} = -1/2 (Lightlike.SixJAudit.sixJ_hh0_hh0).

Value check. ⟨ι^{(12)0} | ι^{(13)1}⟩ = √3/2 for four spins 1/2, from {½ ½ 0; ½ ½ 1} = 1/2 (Lightlike.SixJAudit.sixJ_hh0_hh1).

The odd virtual spin l = ½ does not couple (½ ½): the coefficient vanishes.

Consistency check. The row k = 0 of the recoupling matrix, from the explicit values, has norm 1/4 + 0 + 3/4 = 1, as sum_fourRecoupling_mul requires.

theorem Lightlike.Recoupling.Tests.overlap_singlet_pairings :
∑ m₁ ∈ Finset.Icc (-1) 1, ∑ m₂ ∈ Finset.Icc (-1) 1, ∑ m₃ ∈ Finset.Icc (-1) 1, ∑ m₄ ∈ Finset.Icc (-1) 1, fourJ 1 1 1 1 0 m₁ m₂ m₃ m₄ * fourJ 1 1 1 1 0 m₁ m₃ m₂ m₄ = 1 / 2

Value check. The two singlet pairings (12)(34) and (13)(24) of four spins 1/2 overlap with 1/2, computed through sum_fourJ_mul_fourJ_swap.

noncomputable def Lightlike.Recoupling.Tests.fourJUnnormalised (j₁ j₂ j₃ j₄ k : ℕ) (m₁ m₂ m₃ m₄ : ℤ) :

The bare 4jm symbol, ι^{(k)} / √(2k + 1): the intertwiner without its normalisation. Used only as a deliberately wrong input.

Equations
Instances For
    theorem Lightlike.Recoupling.Tests.fourJ_unnormalised_fails :
    ∑ m₁ ∈ Finset.Icc (-1) 1, ∑ m₂ ∈ Finset.Icc (-1) 1, ∑ m₃ ∈ Finset.Icc (-1) 1, ∑ m₄ ∈ Finset.Icc (-1) 1, fourJUnnormalised 1 1 1 1 2 m₁ m₂ m₃ m₄ * fourJUnnormalised 1 1 1 1 2 m₁ m₂ m₃ m₄ = 1 / 3

    Wrong input. Without the factor √(2k + 1) the virtual-spin-1 intertwiner of four spins 1/2 has norm squared 1/3, not 1.

    Wrong input. Dropping the phase (-1)^(j₂+j₃+k+l) from the change-of-channel formula gives -1/2 for the two singlet pairings of four spins 1/2, not the true overlap 1/2.

    theorem Lightlike.Recoupling.Tests.fourJ_inadmissible_zero :
    ∑ m₁ ∈ Finset.Icc (-1) 1, ∑ m₂ ∈ Finset.Icc (-1) 1, ∑ m₃ ∈ Finset.Icc (-1) 1, ∑ m₄ ∈ Finset.Icc (-1) 1, fourJ 1 1 1 1 4 m₁ m₂ m₃ m₄ * fourJ 1 1 1 1 4 m₁ m₂ m₃ m₄ = 0

    Wrong input. A virtual spin outside the triangle range (k = 2 > ½ + ½, doubled 4) gives the zero tensor: its norm squared is 0.

    The 15j symbol (FifteenJ.lean) #

    {0 ½ ½; ½ 0 0} = -1/√2 (closed form with a zero spin).

    theorem Lightlike.Recoupling.Tests.fifteenJ_value :
    fifteenJ 0 (fun (x : Fin 5) => 1) ![0, 0, 0, 0, 1] = 1 / 4

    Value check. {15j} with rows a = (0,0,0,0,0), b = (½,½,½,½,½), c = (0,0,0,0,½) is 1/4 (SymPy: 1/4), through the zero-spin reduction.

    noncomputable def Lightlike.Recoupling.Tests.fifteenJUntwisted (a b c : Fin 5 → ℕ) :

    The 15j sum with the closure not twisted, (a₅, b₅) = (a₀, b₀): a deliberately wrong model of the 4-simplex graph (a prism-like ladder instead of the Möbius ladder).

    Equations
    • One or more equations did not get rendered due to their size.
    Instances For
      theorem Lightlike.Recoupling.Tests.fifteenJ_untwisted_fails :
      fifteenJUntwisted 0 (fun (x : Fin 5) => 1) ![0, 0, 0, 0, 1] = 0 ∧ fifteenJUntwisted 0 (fun (x : Fin 5) => 1) ![0, 0, 0, 0, 1] ≠ fifteenJ 0 (fun (x : Fin 5) => 1) ![0, 0, 0, 0, 1]

      Wrong input. With the untwisted closure the value at the arguments of fifteenJ_value is 0, not 1/4.

      theorem Lightlike.Recoupling.Tests.threeJ_0hh_table (m m' : ℤ) :
      PhyslibAlpha.Sl2.threeJ 0 1 1 0 m m' = if m = 1 ∧ m' = -1 then 1 / √2 else if m = -1 ∧ m' = 1 then -1 / √2 else 0

      (0 ½ ½; 0 m m') for all projections: 1/√2 at (½, -½), -1/√2 at (-½, ½), else 0.

      theorem Lightlike.Recoupling.Tests.fourJ_00hh (m m' : ℤ) :
      fourJ 0 0 1 1 0 0 0 m m' = PhyslibAlpha.Sl2.threeJ 0 1 1 0 m m'

      The intertwiner ι^{(0)} of spins (0, 0, ½, ½) is the 3j symbol (0 ½ ½; 0 m m').

      theorem Lightlike.Recoupling.Tests.fourJ_hh00 (m m' : ℤ) :
      fourJ 1 1 0 0 0 m m' 0 0 = PhyslibAlpha.Sl2.threeJ 0 1 1 0 m m'

      The intertwiner ι^{(0)} of spins (½, ½, 0, 0) is the 3j symbol (0 ½ ½; 0 m m').

      theorem Lightlike.Recoupling.Tests.fourJ_0hh0 (m m' : ℤ) :
      fourJ 0 1 1 0 1 0 m m' 0 = if m = 1 ∧ m' = -1 then -1 / √2 else if m = -1 ∧ m' = 1 then 1 / √2 else 0

      The intertwiner ι^{(½)} of spins (0, ½, ½, 0): -1/√2 at (½, -½), 1/√2 at (-½, ½), else 0.

      theorem Lightlike.Recoupling.Tests.fifteenJSimplex_cycle :
      fifteenJSimplex 0 0 1 1 0 1 1 0 0 0 0 1 0 1 0 = 1 / 2

      Value check (4-simplex). Spins ½ on the four edges of the cycle 0-3-1-4-0, spins 0 elsewhere, intertwiners i₁ = i₃ = ½, i₀ = i₂ = i₄ = 0: the contraction of the five intertwiners is 1/2 (SymPy: 1/2).

      theorem Lightlike.Recoupling.Tests.fifteenJSimplex_cycle_eq :
      fifteenJSimplex 0 0 1 1 0 1 1 0 0 0 0 1 0 1 0 = √((0 + 1) * (1 + 1) * (0 + 1) * (1 + 1) * (0 + 1)) * fifteenJ ![0, 0, 0, 0, 0] ![1, 1, 1, 1, 1] ![0, 0, 0, 0, 1]

      Consistency check (4-simplex ↔ 15j). At the cycle configuration of fifteenJSimplex_cycle the contraction equals Π_a √(2i_a + 1) times the 15j symbol of the first kind with rows a = (i₀, j₀₂, i₂, j₂₄, i₄), b = (j₁₄, i₁, j₁₃, i₃, j₀₃), c = (j₀₁, j₁₂, j₂₃, j₃₄, j₀₄), as the general (numerical) identity of FifteenJ.lean says.

      Orthogonality of the 15j symbols (Orthogonality.lean) #

      theorem Lightlike.Recoupling.Tests.fifteenJ_orth_predicts :
      ∑ x1 ∈ Finset.range (0 + 0 + 1), (↑x1 + 1) * ∑ x2 ∈ Finset.range (x1 + 0 + 1), (↑x2 + 1) * ∑ x3 ∈ Finset.range (x2 + 0 + 1), (↑x3 + 1) * ∑ x4 ∈ Finset.range (x3 + 0 + 1), (↑x4 + 1) * (fifteenJ ![0, x1, x2, x3, x4] ![1, 1, 1, 1, 1] ![0, 0, 0, 0, 1] * fifteenJ ![0, x1, x2, x3, x4] ![1, 1, 1, 1, 1] ![0, 0, 0, 0, 1]) = 1 / 16

      Non-vacuity of the orthogonality relation. For a₀ = 0, b = b' = (½,½,½,½,½), c = (0,0,0,0,½) all vertices are admissible, so sum_fifteenJ_mul_fifteenJ predicts 1/(2·2·2·2) = 1/16.

      theorem Lightlike.Recoupling.Tests.fifteenJ_orth_direct :
      ∑ x1 ∈ Finset.range (0 + 0 + 1), (↑x1 + 1) * ∑ x2 ∈ Finset.range (x1 + 0 + 1), (↑x2 + 1) * ∑ x3 ∈ Finset.range (x2 + 0 + 1), (↑x3 + 1) * ∑ x4 ∈ Finset.range (x3 + 0 + 1), (↑x4 + 1) * (fifteenJ ![0, x1, x2, x3, x4] ![1, 1, 1, 1, 1] ![0, 0, 0, 0, 1] * fifteenJ ![0, x1, x2, x3, x4] ![1, 1, 1, 1, 1] ![0, 0, 0, 0, 1]) = (1 / 4) ^ 2

      Value check (orthogonality). The same sum evaluated directly: all spin ranges collapse to a₁ = … = a₄ = 0, and the single term is {15j}² = (1/4)² = 1/16 by fifteenJ_value, as the orthogonality relation predicts (fifteenJ_orth_predicts).

      theorem Lightlike.Recoupling.Tests.fifteenJ_untwisted_orth_fails :
      fifteenJUntwisted 0 (fun (x : Fin 5) => 1) ![0, 0, 0, 0, 1] * fifteenJUntwisted 0 (fun (x : Fin 5) => 1) ![0, 0, 0, 0, 1] ≠ 1 / 16

      Wrong input (orthogonality). With the untwisted closure the single term of the same sum is 0² = 0, not the 1/16 that orthogonality requires (fifteenJ_untwisted_fails).

      A 15j value with all fifteen spins nonzero #

      {1 ½ ½; 1 ½ ½} = 1/6 (doubled 2 1 1 2 1 1; SymPy: 1/6).

      {½ 1 ½; ½ 1 ½} = 1/6 (doubled 1 2 1 1 2 1; SymPy: 1/6).

      {1 ½ 3/2; 1 ½ ½} = -1/3 (doubled 2 1 3 2 1 1; SymPy: -1/3).

      {½ 1 3/2; ½ 1 ½} = -1/3 (doubled 1 2 3 1 2 1; SymPy: -1/3).

      Value check with all fifteen spins nonzero. {15j} with rows a = (1,½,1,½,1), b = (½,1,½,1,½), c = (½,½,½,½,½) (doubled 2 1 2 1 2, 1 2 1 2 1, 1 1 1 1 1) is -7/432 (SymPy: -7/432). The sum over x has two nonzero terms, 2 · (1/6)⁵ at x = ½ and 4 · (-1/3)⁵ at x = 3/2; at x = 0, 1 the triad (a₀ b₀ x) has odd perimeter.

      theorem Lightlike.Recoupling.Tests.fifteenJSimplex_all_nonzero :
      fifteenJSimplex 1 1 1 1 1 1 1 1 1 1 2 2 2 2 2 = -7 * √3 / 48

      Value check of the 4-simplex contraction with all spins nonzero. All ten triangle spins ½ and all five virtual spins 1 give -7√3/48, which is Π_a √(2i_a + 1) = 9√3 times fifteenJ_all_nonzero (fifteenJSimplex_eq). scripts/recoupling/fifteenj_check.py finds the same value from a direct contraction of the ten 3j symbols with SymPy's wigner_3j.

      Wrong input. With the untwisted closure the sum at the spins of fifteenJ_all_nonzero is 0, not -7/432: the last 6j symbol becomes {1 ½ x; ½ 1 ½} = {1 1 ½; ½ ½ x}, whose first triad has odd perimeter.

      Orthogonality of the 3j and 6j symbols at fixed spins #

      (½ ½ 1; ½ -½ 0) = 1/√6, evaluated from Physlib's definition (Racah's formula).

      (½ ½ 1; -½ ½ 0) = 1/√6: exchanging the two columns of threeJ_hh1 gives the sign (-1)^(½+½+1) = 1.

      (½ ½ 0; -½ ½ 0) = -1/√2: exchanging the two columns of threeJ_hh0 gives the sign (-1)^(½+½+0) = -1.

      theorem Lightlike.Recoupling.Tests.sum_threeJ_hh (J J' : ℕ) :
      ∑ m₁ ∈ Finset.Icc (-1) 1, ∑ m₂ ∈ Finset.Icc (-1) 1, PhyslibAlpha.Sl2.threeJ 1 1 J m₁ m₂ 0 * PhyslibAlpha.Sl2.threeJ 1 1 J' m₁ m₂ 0 = PhyslibAlpha.Sl2.threeJ 1 1 J 1 (-1) 0 * PhyslibAlpha.Sl2.threeJ 1 1 J' 1 (-1) 0 + PhyslibAlpha.Sl2.threeJ 1 1 J (-1) 1 0 * PhyslibAlpha.Sl2.threeJ 1 1 J' (-1) 1 0

      For two spins ½ and total projection 0, only (m₁, m₂) = (½, -½) and (-½, ½) contribute to the sum of sum_threeJ_mul_threeJ: the other seven pairs of Icc (-1) 1 have m₁ + m₂ ≠ 0 or a projection of the wrong parity.

      theorem Lightlike.Recoupling.Tests.threeJ_orth_direct :
      ∑ m₁ ∈ Finset.Icc (-1) 1, ∑ m₂ ∈ Finset.Icc (-1) 1, PhyslibAlpha.Sl2.threeJ 1 1 2 m₁ m₂ 0 * PhyslibAlpha.Sl2.threeJ 1 1 2 m₁ m₂ 0 = 1 / 3 ∧ ∑ m₁ ∈ Finset.Icc (-1) 1, ∑ m₂ ∈ Finset.Icc (-1) 1, PhyslibAlpha.Sl2.threeJ 1 1 2 m₁ m₂ 0 * PhyslibAlpha.Sl2.threeJ 1 1 0 m₁ m₂ 0 = 0 ∧ ∑ m₁ ∈ Finset.Icc (-1) 1, ∑ m₂ ∈ Finset.Icc (-1) 1, PhyslibAlpha.Sl2.threeJ 1 1 0 m₁ m₂ 0 * PhyslibAlpha.Sl2.threeJ 1 1 0 m₁ m₂ 0 = 1

      Value check (3j orthogonality). For j₁ = j₂ = ½ and μ = μ' = 0, the sums of sum_threeJ_mul_threeJ evaluated from the 3j values: 2 · (1/√6)² = 1/3 for J = J' = 1, (1/√6)(1/√2) + (1/√6)(-1/√2) = 0 for J = 1, J' = 0, and 2 · (1/√2)² = 1 for J = J' = 0.

      theorem Lightlike.Recoupling.Tests.threeJ_orth_predicts :
      ∑ m₁ ∈ Finset.Icc (-1) 1, ∑ m₂ ∈ Finset.Icc (-1) 1, PhyslibAlpha.Sl2.threeJ 1 1 2 m₁ m₂ 0 * PhyslibAlpha.Sl2.threeJ 1 1 2 m₁ m₂ 0 = 1 / 3 ∧ ∑ m₁ ∈ Finset.Icc (-1) 1, ∑ m₂ ∈ Finset.Icc (-1) 1, PhyslibAlpha.Sl2.threeJ 1 1 2 m₁ m₂ 0 * PhyslibAlpha.Sl2.threeJ 1 1 0 m₁ m₂ 0 = 0 ∧ ∑ m₁ ∈ Finset.Icc (-1) 1, ∑ m₂ ∈ Finset.Icc (-1) 1, PhyslibAlpha.Sl2.threeJ 1 1 0 m₁ m₂ 0 * PhyslibAlpha.Sl2.threeJ 1 1 0 m₁ m₂ 0 = 1

      Non-vacuity of the 3j orthogonality relation. The same three sums as predicted by sum_threeJ_mul_threeJ: 1/(2J + 1) for J = J' admissible (1/3 and 1), 0 for J ≠ J'. They agree with the direct evaluation threeJ_orth_direct.

      Wrong model (3j orthogonality). Without the Condon–Shortley signs, i.e. with the absolute values of the 3j symbols, the J = 1, J' = 0 sum is 2 · (1/√6)(1/√2) ≠ 0: the singlet and the triplet would not be orthogonal.

      {1 ½ ½; 1 ½ 3/2} = -1/3, evaluated from Physlib's definition.

      {1 ½ 3/2; 1 ½ 3/2} = -1/12, evaluated from Physlib's definition.

      theorem Lightlike.Recoupling.Tests.sixJ_orth_direct (q r : ℕ) (hq : q = 1 ∨ q = 3) (hr : r = 1 ∨ r = 3) :
      ∑ x ∈ Finset.range (2 + 1 + 1), (↑x + 1) * (↑q + 1) * (PhyslibAlpha.Sl2.sixJSym 2 1 x 2 1 q * PhyslibAlpha.Sl2.sixJSym 2 1 x 2 1 r) = if q = r then 1 else 0

      Value check (6j orthogonality). The sum of sixJSym_orth_all at (B, A, E, F) = (1, ½, 1, ½) with q, r ∈ {½, 3/2}, evaluated from the 6j values: the terms x = 0, 1 vanish (odd perimeter of the first triad), and x = ½, 3/2 give 2 · 2 (1/36 + 4/9) = 1, 2 · 2 · (1/6)(-1/3) + 4 · 2 · (-1/3)(-1/12) = 0 and 4 (2/9 + 4/144) = 1.

      theorem Lightlike.Recoupling.Tests.sixJ_orth_predicts (q r : ℕ) (hq : q = 1 ∨ q = 3) (hr : r = 1 ∨ r = 3) :
      ∑ x ∈ Finset.range (2 + 1 + 1), (↑x + 1) * (↑q + 1) * (PhyslibAlpha.Sl2.sixJSym 2 1 x 2 1 q * PhyslibAlpha.Sl2.sixJSym 2 1 x 2 1 r) = if q = r then 1 else 0

      Non-vacuity of the 6j orthogonality relation. At the spins of sixJ_orth_direct the triads (½ 1 q) and (1 q ½) are admissible for q ∈ {½, 3/2}, so sixJSym_orth_all predicts δ_{qr}, as found by the direct evaluation.

      theorem Lightlike.Recoupling.Tests.sixJ_orth_unweighted_fails :
      ∑ x ∈ Finset.range (2 + 1 + 1), 2 * (PhyslibAlpha.Sl2.sixJSym 2 1 x 2 1 1 * PhyslibAlpha.Sl2.sixJSym 2 1 x 2 1 1) = 5 / 18 ∧ ∑ x ∈ Finset.range (2 + 1 + 1), 2 * (PhyslibAlpha.Sl2.sixJSym 2 1 x 2 1 1 * PhyslibAlpha.Sl2.sixJSym 2 1 x 2 1 1) ≠ 1

      Wrong input (6j orthogonality). Without the weight 2x + 1 the q = r = ½ sum is 2 (1/36 + 1/9) = 5/18, not 1.