Documentation

Lightlike.SpinFoam.TetrahedronTests

Trust checks for the tetrahedron amplitude #

tetraInt_eq_sixJ_sq identifies the integral over SU(2)^4 of the six characters of a tetrahedron with the square of a 6j symbol. The checks below compare it with known values and with a deliberately wrong input.

checkvaluetheorem
all six doubled spins 01tetraInt_zero
all six doubled spins 2 (spin 1)(1/6)² = 1/36tetraInt_two
a vertex (1,1,1) that is not a triad0tetraInt_eq_zero_of_not_tri, tetraInt_ones_vertex

The value {1 1 1; 1 1 1} = 1/6 is evaluated from Physlib's definition (the method of Lightlike/Tests/SixJ.lean), independently of the proof of the identity.

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

The tetrahedron with all edges of spin 0 has amplitude 1.

theorem Lightlike.SpinFoam.Tests.tetraInt_two :
(tetraInt fun (x : Fin 6) => 2) = 1 / 36

The tetrahedron with all edges of spin 1 has amplitude (1/6)² = 1/36.

theorem Lightlike.SpinFoam.Tests.tetraInt_eq_zero_of_not_tri (s : Fin 6 → ℕ) (h : ¬Pentagon.Tri (s 0) (s 1) (s 2)) :

Wrong-model control: if the three edges at vertex 0 do not form a triad, the amplitude vanishes.

Spins (1, 1, 1) at a vertex are not a triad (odd perimeter), so the amplitude vanishes, whatever the other three spins are.