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).
| check | value | theorem |
|---|---|---|
ι^{(0)}_{½,-½,½,-½}, evaluated from the definition | 1/2 | fourJ_hhhh_zero |
⟨ι^{(12)0} \| ι^{(13)0}⟩ (two singlet pairings) | 1/2 | fourRecoupling_hhhh_00, overlap_singlet_pairings |
⟨ι^{(12)0} \| ι^{(13)1}⟩ | √3/2 | fourRecoupling_hhhh_02 |
row k = 0 of the recoupling matrix has norm 1 | 1/4 + 3/4 | fourRecoupling_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:
- without the factor
√(2k + 1)(the bare 4jm symbol) thek = 1intertwiner has norm squared1/3, not1(fourJ_unnormalised_fails); - the change-of-channel formula without the phase
(-1)^(j₂+j₃+k+l)gives-1/2instead of the true overlap1/2(fourRecoupling_without_phase_fails); - an inadmissible virtual spin (
k = 2 > ½ + ½) gives the zero tensor (fourJ_inadmissible_zero).
The 15j symbol and the 4-simplex (FifteenJ.lean) #
| check | value | theorem |
|---|---|---|
{15j} with all spins 0 | 1 | fifteenJ_zero |
4-simplex contraction with all spins 0 | 1 | fifteenJSimplex_zero |
{15j} with a = 0, b = (½,½,½,½,½), c = (0,0,0,0,½) | 1/4 | fifteenJ_value |
contraction with spins ½ on the 4-cycle 0-3-1-4-0, i₁ = i₃ = ½, evaluated from the definition | 1/2 | fifteenJSimplex_cycle |
the same contraction is Π_a √(2i_a + 1) · {15j} = 2 · 1/4 | 1/2 | fifteenJSimplex_cycle_eq |
{15j} with a = (1,½,1,½,1), b = (½,1,½,1,½), c = (½,½,½,½,½): all fifteen spins nonzero | -7/432 | fifteenJ_all_nonzero |
contraction with all triangle spins ½ and all virtual spins 1, 9√3 · (-7/432) | -7√3/48 | fifteenJSimplex_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) #
| check | value | theorems |
|---|---|---|
Σ_{m₁m₂} (½ ½ J; m₁ m₂ 0)(½ ½ J'; m₁ m₂ 0) for (J, J') = (1,1), (1,0), (0,0) | 1/3, 0, 1 | threeJ_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 #
- A. R. Edmonds, Angular Momentum in Quantum Mechanics (Princeton, 1957), §3.7: the 3j symbols, their explicit values and their orthogonality, eqs. (3.7.7), (3.7.8); §6.2, eq. (6.2.9): the orthogonality of the 6j symbols.
- A. P. Yutsis, I. B. Levinson, V. V. Vanagas, Mathematical Apparatus of the Theory of Angular Momentum (Israel Program for Scientific Translations, 1962): the 15j symbols of the first kind.
(0 ½ ½; 0 ½ -½) = 1/√2.
(½ ½ 0; ½ -½ 0) = 1/√2, by a cyclic permutation of threeJ_0hh.
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.
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.
The bare 4jm symbol, ι^{(k)} / √(2k + 1): the intertwiner without its normalisation. Used
only as a deliberately wrong input.
Equations
- Lightlike.Recoupling.Tests.fourJUnnormalised j₁ j₂ j₃ j₄ k m₁ m₂ m₃ m₄ = Lightlike.Recoupling.fourJ j₁ j₂ j₃ j₄ k m₁ m₂ m₃ m₄ / √(↑k + 1)
Instances For
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.
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).
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
Wrong input. With the untwisted closure the value at the arguments of fifteenJ_value
is 0, not 1/4.
The intertwiner ι^{(0)} of spins (0, 0, ½, ½) is the 3j symbol (0 ½ ½; 0 m m').
The intertwiner ι^{(0)} of spins (½, ½, 0, 0) is the 3j symbol (0 ½ ½; 0 m m').
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).
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) #
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.
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).
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.
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.
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.
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.
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.
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.
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.
Wrong input (6j orthogonality). Without the weight 2x + 1 the q = r = ½ sum is
2 (1/36 + 1/9) = 5/18, not 1.