Documentation

Lightlike.Spin4.Intertwiner4

4-valent intertwiners of SU(2) and of Spin(4) #

A 4-valent node of a spin network with two outgoing links of spins J₁, J₂ and two incoming links of spins J₃, J₄ carries an intertwiner: an SU(2)-equivariant linear map T : V_{J₃/2} ⊗ V_{J₄/2} → V_{J₁/2} ⊗ V_{J₂/2} (IsIntertwiner). This file gives the standard orthonormal basis of these maps, labelled by the spin z/2 of the channel (J₁ J₂) → (J₃ J₄):

ι_z = (z+1)^{-1/2} C^{J₁J₂}_z (C^{J₃J₄}_z)ᴴ,

with the Clebsch–Gordan matrices C^{nm}_z = cgz n m z of Physlib's coefficients. Inner products are Hilbert–Schmidt, ⟨S, T⟩ = tr(Sᴴ T) (hsInner).

The same construction for each factor of Spin(4) = SU(2) × SU(2) gives the Spin(4) intertwiners: the self-dual labels n_a and anti-self-dual labels m_a of the four links, with the products ι⁺_x ⊗ ι⁻_y as orthonormal basis.

Main results #

Conventions #

Doubled spins throughout. The 4-valent intertwiners here are maps (two outgoing and two incoming links); the all-outgoing intertwiners Lightlike.Recoupling.fourJ (milestone SF4) differ from them by the SU(2) invariant forms on the incoming links (fourJ_eq_ivec).

References #

A. Clebsch–Gordan matrices labelled by the coupled spin #

theorem Lightlike.Spin4.tri_iff_exists (n m z : ℕ) :
Pentagon.Tri n m z ↔ ∃ k ≤ n, k ≤ m ∧ z = n + m - 2 * k

An admissible triad (n m z) is a coupled spin z = n + m - 2k, k ≤ n, k ≤ m.

noncomputable def Lightlike.Spin4.cgz (n m z : ℕ) :
Matrix (Idx n m) (Fin (z + 1)) ℂ

The Clebsch–Gordan matrix onto spin z/2: rows the product states of V_{n/2} ⊗ V_{m/2}, columns the states of spin z/2, entries Physlib's coefficients with k = (n + m - z)/2.

Equations
Instances For
    theorem Lightlike.Spin4.cgz_sub {n m k : ℕ} (hk : 2 * k ≤ n + m) :
    cgz n m (n + m - 2 * k) = cgMatrix n m k
    theorem Lightlike.Spin4.cgz_equivariant {n m z : ℕ} (h : Pentagon.Tri n m z) (g : ↥SU2) :
    Matrix.kroneckerMap (fun (x1 x2 : ℂ) => x1 * x2) (SU2.spinMat n ↑g) (SU2.spinMat m ↑g) * cgz n m z = cgz n m z * SU2.spinMat z ↑g

    C^{nm}_z intertwines the SU(2) representations.

    theorem Lightlike.Spin4.cgz_conjTranspose_equivariant {n m z : ℕ} (h : Pentagon.Tri n m z) (g : ↥SU2) :
    (cgz n m z).conjTranspose * Matrix.kroneckerMap (fun (x1 x2 : ℂ) => x1 * x2) (SU2.spinMat n ↑g) (SU2.spinMat m ↑g) = SU2.spinMat z ↑g * (cgz n m z).conjTranspose

    The adjoint (C^{nm}_z)ᴴ intertwines the SU(2) representations.

    theorem Lightlike.Spin4.cgz_isometry {n m z : ℕ} (h : Pentagon.Tri n m z) :
    (cgz n m z).conjTranspose * cgz n m z = 1

    The columns of C^{nm}_z are orthonormal.

    theorem Lightlike.Spin4.cgz_orth {n m z z' : ℕ} (h : Pentagon.Tri n m z) (h' : Pentagon.Tri n m z') (hne : z ≠ z') :
    (cgz n m z).conjTranspose * cgz n m z' = 0

    Different coupled spins are orthogonal.

    The admissible coupled spins of n/2 ⊗ m/2.

    Equations
    Instances For
      theorem Lightlike.Spin4.cgz_complete {n m : ℕ} :
      ∑ z ∈ triSet n m, cgz n m z * (cgz n m z).conjTranspose = 1

      Completeness: Σ_z C^{nm}_z (C^{nm}_z)ᴴ = 1 over the admissible coupled spins.

      theorem Lightlike.Spin4.equivariant_eq_zero {n m z : ℕ} (hz : ¬Pentagon.Tri n m z) {W : Matrix (Idx n m) (Fin (z + 1)) ℂ} (hW : ∀ (g : ↥SU2), Matrix.kroneckerMap (fun (x1 x2 : ℂ) => x1 * x2) (SU2.spinMat n ↑g) (SU2.spinMat m ↑g) * W = W * SU2.spinMat z ↑g) :
      W = 0

      Schur for coupled spins, inadmissible case: an equivariant map V_{z/2} → V_{n/2} ⊗ V_{m/2} vanishes when (n m z) is not an admissible triad.

      theorem Lightlike.Spin4.equivariant_eq_smul_cgz {n m z : ℕ} (h : Pentagon.Tri n m z) {W : Matrix (Idx n m) (Fin (z + 1)) ℂ} (hW : ∀ (g : ↥SU2), Matrix.kroneckerMap (fun (x1 x2 : ℂ) => x1 * x2) (SU2.spinMat n ↑g) (SU2.spinMat m ↑g) * W = W * SU2.spinMat z ↑g) :
      W = (((cgz n m z).conjTranspose * W).trace / (↑z + 1)) • cgz n m z

      Schur for coupled spins: an equivariant map W : V_{z/2} → V_{n/2} ⊗ V_{m/2} is c C^{nm}_z with c = tr((C^{nm}_z)ᴴ W)/(z+1).

      B. The Hilbert–Schmidt inner product #

      noncomputable def Lightlike.Spin4.hsInner {ι : Type u_1} {κ : Type u_2} [Fintype ι] [Fintype κ] (S T : Matrix ι κ ℂ) :

      The Hilbert–Schmidt inner product ⟨S, T⟩ = tr(Sᴴ T) = Σᵢⱼ conj(Sᵢⱼ) Tᵢⱼ.

      Equations
      Instances For
        theorem Lightlike.Spin4.hsInner_eq_trace {ι : Type u_1} {κ : Type u_2} [Fintype ι] [Fintype κ] (S T : Matrix ι κ ℂ) :
        theorem Lightlike.Spin4.hsInner_add_right {ι : Type u_1} {κ : Type u_2} [Fintype ι] [Fintype κ] (S T T' : Matrix ι κ ℂ) :
        hsInner S (T + T') = hsInner S T + hsInner S T'
        theorem Lightlike.Spin4.hsInner_smul_right {ι : Type u_1} {κ : Type u_2} [Fintype ι] [Fintype κ] (S T : Matrix ι κ ℂ) (c : ℂ) :
        hsInner S (c • T) = c * hsInner S T
        theorem Lightlike.Spin4.hsInner_smul_left {ι : Type u_1} {κ : Type u_2} [Fintype ι] [Fintype κ] (S T : Matrix ι κ ℂ) (c : ℂ) :
        hsInner (c • S) T = star c * hsInner S T
        theorem Lightlike.Spin4.hsInner_sum_right {ι : Type u_1} {κ : Type u_2} [Fintype ι] [Fintype κ] {β : Type u_4} (S : Matrix ι κ ℂ) (s : Finset β) (f : β → Matrix ι κ ℂ) :
        hsInner S (∑ b ∈ s, f b) = ∑ b ∈ s, hsInner S (f b)
        theorem Lightlike.Spin4.hsInner_zero_right {ι : Type u_1} {κ : Type u_2} [Fintype ι] [Fintype κ] (S : Matrix ι κ ℂ) :
        hsInner S 0 = 0
        theorem Lightlike.Spin4.hsInner_mul_conjTranspose {ι : Type u_1} {κ : Type u_2} {μ : Type u_3} [Fintype ι] [Fintype κ] [Fintype μ] (A : Matrix ι μ ℂ) (B : Matrix κ μ ℂ) (M : Matrix ι κ ℂ) :

        ⟨A Bᴴ, M⟩ = tr(Aᴴ M B).

        theorem Lightlike.Spin4.hsInner_self {ι : Type u_1} {κ : Type u_2} [Fintype ι] [Fintype κ] (T : Matrix ι κ ℂ) :
        hsInner T T = ↑(∑ i : ι, ∑ j : κ, Complex.normSq (T i j))

        The squared norm ⟨T, T⟩ is a nonnegative real.

        theorem Lightlike.Spin4.eq_sum_hsInner_of_eq_sum {ι : Type u_1} {κ : Type u_2} [Fintype ι] [Fintype κ] {β : Type u_4} [DecidableEq β] {s : Finset β} {v : β → Matrix ι κ ℂ} (hv : ∀ b ∈ s, ∀ b' ∈ s, hsInner (v b) (v b') = if b = b' then 1 else 0) {T : Matrix ι κ ℂ} {a : β → ℂ} (hT : T = ∑ b ∈ s, a b • v b) :
        T = ∑ b ∈ s, hsInner (v b) T • v b

        Expansion in an orthonormal family: if T = Σ a_b v_b with ⟨v_b, v_b'⟩ = δ, then a_b = ⟨v_b, T⟩.

        C. SU(2) intertwiners #

        @[reducible, inline]
        noncomputable abbrev Lightlike.Spin4.pairMat (n m : ℕ) (g : ↥SU2) :
        Matrix (Idx n m) (Idx n m) ℂ

        The diagonal action D^{n/2}(g) ⊗ D^{m/2}(g) on V_{n/2} ⊗ V_{m/2}.

        Equations
        Instances For
          def Lightlike.Spin4.IsIntertwiner (J₁ J₂ J₃ J₄ : ℕ) (T : Matrix (Idx J₁ J₂) (Idx J₃ J₄) ℂ) :

          4-valent SU(2) intertwiners: linear maps T : V_{J₃/2} ⊗ V_{J₄/2} → V_{J₁/2} ⊗ V_{J₂/2} that commute with SU(2).

          Equations
          Instances For
            def Lightlike.Spin4.channel (J₁ J₂ J₃ J₄ : ℕ) :

            The spins z of the channel (J₁ J₂) → (J₃ J₄): (J₁ J₂ z) and (J₃ J₄ z) admissible.

            Equations
            Instances For
              noncomputable def Lightlike.Spin4.ivec (J₁ J₂ J₃ J₄ z : ℕ) :
              Matrix (Idx J₁ J₂) (Idx J₃ J₄) ℂ

              The intertwiner basis ι_z = (z+1)^{-1/2} C^{J₁J₂}_z (C^{J₃J₄}_z)ᴴ.

              Equations
              Instances For
                theorem Lightlike.Spin4.mem_channel {z J₁ J₂ J₃ J₄ : ℕ} :
                z ∈ channel J₁ J₂ J₃ J₄ ↔ Pentagon.Tri J₁ J₂ z ∧ Pentagon.Tri J₃ J₄ z
                theorem Lightlike.Spin4.ivec_isIntertwiner {z J₁ J₂ J₃ J₄ : ℕ} (h12 : Pentagon.Tri J₁ J₂ z) (h34 : Pentagon.Tri J₃ J₄ z) :
                IsIntertwiner J₁ J₂ J₃ J₄ (ivec J₁ J₂ J₃ J₄ z)

                The basis vectors are intertwiners.

                theorem Lightlike.Spin4.sqrt_inv_sq (z : ℕ) :
                star (↑√(↑z + 1))⁻¹ * (↑√(↑z + 1))⁻¹ * (↑z + 1) = 1
                theorem Lightlike.Spin4.hsInner_ivec {z J₁ J₂ J₃ J₄ z' : ℕ} (hz : z ∈ channel J₁ J₂ J₃ J₄) (hz' : z' ∈ channel J₁ J₂ J₃ J₄) :
                hsInner (ivec J₁ J₂ J₃ J₄ z) (ivec J₁ J₂ J₃ J₄ z') = if z = z' then 1 else 0

                Orthonormality: ⟨ι_z, ι_z'⟩ = δ_{zz'}.

                theorem Lightlike.Spin4.eq_sum_ivec {J₁ J₂ J₃ J₄ : ℕ} {T : Matrix (Idx J₁ J₂) (Idx J₃ J₄) ℂ} (hT : IsIntertwiner J₁ J₂ J₃ J₄ T) :
                T = ∑ z ∈ channel J₁ J₂ J₃ J₄, hsInner (ivec J₁ J₂ J₃ J₄ z) T • ivec J₁ J₂ J₃ J₄ z

                Completeness: every SU(2) intertwiner expands in the basis, T = Σ_z ⟨ι_z, T⟩ ι_z.

                D. Spin(4) intertwiners #

                theorem Lightlike.Spin4.kron_one_mul_apply {α : Type u_1} {β : Type u_2} {γ' : Type u_3} {δ : Type u_4} [Fintype α] [Fintype γ'] [DecidableEq γ'] (R : Matrix α α ℂ) (Q : Matrix (α × γ') (β × δ) ℂ) (a : α) (c : γ') (q : β × δ) :
                (Matrix.kroneckerMap (fun (x1 x2 : ℂ) => x1 * x2) R 1 * Q) (a, c) q = ∑ a' : α, R a a' * Q (a', c) q
                theorem Lightlike.Spin4.mul_kron_one_apply {α : Type u_1} {β : Type u_2} {γ' : Type u_3} {δ : Type u_4} [Fintype β] [Fintype δ] [DecidableEq δ] (R : Matrix β β ℂ) (Q : Matrix (α × γ') (β × δ) ℂ) (p : α × γ') (b : β) (d : δ) :
                (Q * Matrix.kroneckerMap (fun (x1 x2 : ℂ) => x1 * x2) R 1) p (b, d) = ∑ b' : β, Q p (b', d) * R b' b
                theorem Lightlike.Spin4.one_kron_mul_apply {α : Type u_1} {β : Type u_2} {γ' : Type u_3} {δ : Type u_4} [Fintype α] [Fintype γ'] [DecidableEq α] (S : Matrix γ' γ' ℂ) (Q : Matrix (α × γ') (β × δ) ℂ) (a : α) (c : γ') (q : β × δ) :
                (Matrix.kroneckerMap (fun (x1 x2 : ℂ) => x1 * x2) 1 S * Q) (a, c) q = ∑ c' : γ', S c c' * Q (a, c') q
                theorem Lightlike.Spin4.mul_one_kron_apply {α : Type u_1} {β : Type u_2} {γ' : Type u_3} {δ : Type u_4} [Fintype β] [Fintype δ] [DecidableEq β] (S : Matrix δ δ ℂ) (Q : Matrix (α × γ') (β × δ) ℂ) (p : α × γ') (b : β) (d : δ) :
                (Q * Matrix.kroneckerMap (fun (x1 x2 : ℂ) => x1 * x2) 1 S) p (b, d) = ∑ d' : δ, Q p (b, d') * S d' d
                theorem Lightlike.Spin4.hsInner_kronecker {α : Type u_1} {β : Type u_2} {γ' : Type u_3} {δ : Type u_4} [Fintype α] [Fintype β] [Fintype γ'] [Fintype δ] (A C : Matrix α β ℂ) (B D : Matrix γ' δ ℂ) :
                hsInner (Matrix.kroneckerMap (fun (x1 x2 : ℂ) => x1 * x2) A B) (Matrix.kroneckerMap (fun (x1 x2 : ℂ) => x1 * x2) C D) = hsInner A C * hsInner B D

                ⟨A ⊗ B, C ⊗ D⟩ = ⟨A, C⟩ ⟨B, D⟩.

                theorem Lightlike.Spin4.sum3_reorder {α : Type u_1} {β : Type u_2} {γ' : Type u_3} [Fintype α] [Fintype β] [Fintype γ'] (F : α → β → γ' → ℂ) :
                ∑ a : α, ∑ b : β, ∑ c : γ', F a b c = ∑ c : γ', ∑ a : α, ∑ b : β, F a b c
                theorem Lightlike.Spin4.sum4_reorder {α : Type u_1} {β : Type u_2} {γ' : Type u_3} {δ : Type u_4} [Fintype α] [Fintype β] [Fintype γ'] [Fintype δ] (F : α → γ' → β → δ → ℂ) :
                ∑ a : α, ∑ c : γ', ∑ b : β, ∑ d : δ, F a c b d = ∑ c : γ', ∑ d : δ, ∑ a : α, ∑ b : β, F a c b d
                theorem Lightlike.Spin4.eq_sum_kronecker {α : Type u_1} {β : Type u_2} {γ' : Type u_3} {δ : Type u_4} [Fintype α] [Fintype β] [Fintype γ'] [Fintype δ] {ι : Type u_5} {κ : Type u_6} (Q : Matrix (α × γ') (β × δ) ℂ) (s : Finset ι) (u : ι → Matrix α β ℂ) (t : Finset κ) (v : κ → Matrix γ' δ ℂ) (hu : ∀ (c : γ') (d : δ), (Matrix.of fun (a : α) (b : β) => Q (a, c) (b, d)) = ∑ i ∈ s, hsInner (u i) (Matrix.of fun (a : α) (b : β) => Q (a, c) (b, d)) • u i) (hv : ∀ i ∈ s, (Matrix.of fun (c : γ') (d : δ) => hsInner (u i) (Matrix.of fun (a : α) (b : β) => Q (a, c) (b, d))) = ∑ k ∈ t, hsInner (v k) (Matrix.of fun (c : γ') (d : δ) => hsInner (u i) (Matrix.of fun (a : α) (b : β) => Q (a, c) (b, d))) • v k) :
                Q = ∑ p ∈ s ×ˢ t, hsInner (Matrix.kroneckerMap (fun (x1 x2 : ℂ) => x1 * x2) (u p.1) (v p.2)) Q • Matrix.kroneckerMap (fun (x1 x2 : ℂ) => x1 * x2) (u p.1) (v p.2)

                Kronecker expansion: if every slice Q(·, c)(·, d) expands in an orthonormal family u_i, and every coefficient matrix (c, d) ↦ ⟨u_i, Q(·, c)(·, d)⟩ expands in an orthonormal family v_k, then Q = Σ ⟨u_i ⊗ v_k, Q⟩ u_i ⊗ v_k.

                def Lightlike.Spin4.IsSpin4Intertwiner (n₁ n₂ n₃ n₄ m₁ m₂ m₃ m₄ : ℕ) (Q : Matrix (Idx n₁ n₂ × Idx m₁ m₂) (Idx n₃ n₄ × Idx m₃ m₄) ℂ) :

                4-valent Spin(4) intertwiners, with the self-dual and anti-self-dual factors grouped: maps Q : (V_{n₃} ⊗ V_{n₄}) ⊗ (V_{m₃} ⊗ V_{m₄}) → (V_{n₁} ⊗ V_{n₂}) ⊗ (V_{m₁} ⊗ V_{m₂}) commuting with (g₊, g₋) ↦ (D(g₊) ⊗ D(g₊)) ⊗ (D(g₋) ⊗ D(g₋)) (isSpin4Intertwiner_iff relates this to the representations spin4Mat link by link).

                Equations
                • One or more equations did not get rendered due to their size.
                Instances For
                  def Lightlike.Spin4.shuffle (n₁ m₁ n₂ m₂ : ℕ) :
                  Idx n₁ m₁ × Idx n₂ m₂ ≃ Idx n₁ n₂ × Idx m₁ m₂

                  Regrouping two Spin(4) links: (V_{n₁} ⊗ V_{m₁}) ⊗ (V_{n₂} ⊗ V_{m₂}) as (V_{n₁} ⊗ V_{n₂}) ⊗ (V_{m₁} ⊗ V_{m₂}).

                  Equations
                  • One or more equations did not get rendered due to their size.
                  Instances For
                    theorem Lightlike.Spin4.spin4Mat_kronecker (n₁ n₂ m₁ m₂ : ℕ) (g : Spin4) :
                    Matrix.kroneckerMap (fun (x1 x2 : ℂ) => x1 * x2) (spin4Mat n₁ m₁ g) (spin4Mat n₂ m₂ g) = (Matrix.kroneckerMap (fun (x1 x2 : ℂ) => x1 * x2) (pairMat n₁ n₂ g.1) (pairMat m₁ m₂ g.2)).submatrix ⇑(shuffle n₁ m₁ n₂ m₂) ⇑(shuffle n₁ m₁ n₂ m₂)

                    The representation of Spin(4) on two links, regrouped.

                    theorem Lightlike.Spin4.isSpin4Intertwiner_iff (n₁ n₂ n₃ n₄ m₁ m₂ m₃ m₄ : ℕ) (Q : Matrix (Idx n₁ n₂ × Idx m₁ m₂) (Idx n₃ n₄ × Idx m₃ m₄) ℂ) :
                    IsSpin4Intertwiner n₁ n₂ n₃ n₄ m₁ m₂ m₃ m₄ Q ↔ ∀ (g : Spin4), Matrix.kroneckerMap (fun (x1 x2 : ℂ) => x1 * x2) (spin4Mat n₁ m₁ g) (spin4Mat n₂ m₂ g) * Q.submatrix ⇑(shuffle n₁ m₁ n₂ m₂) ⇑(shuffle n₃ m₃ n₄ m₄) = Q.submatrix ⇑(shuffle n₁ m₁ n₂ m₂) ⇑(shuffle n₃ m₃ n₄ m₄) * Matrix.kroneckerMap (fun (x1 x2 : ℂ) => x1 * x2) (spin4Mat n₃ m₃ g) (spin4Mat n₄ m₄ g)

                    The Spin(4) intertwiners are the equivariant maps of SF5a's representations: Q is a Spin(4) intertwiner exactly when, regrouped link by link, it intertwines spin4Mat n₃ m₃ ⊗ spin4Mat n₄ m₄ with spin4Mat n₁ m₁ ⊗ spin4Mat n₂ m₂.

                    noncomputable def Lightlike.Spin4.ivec4 (n₁ n₂ n₃ n₄ m₁ m₂ m₃ m₄ x y : ℕ) :
                    Matrix (Idx n₁ n₂ × Idx m₁ m₂) (Idx n₃ n₄ × Idx m₃ m₄) ℂ

                    The Spin(4) intertwiner basis ι⁺_x ⊗ ι⁻_y.

                    Equations
                    Instances For
                      def Lightlike.Spin4.channel4 (n₁ n₂ n₃ n₄ m₁ m₂ m₃ m₄ : ℕ) :

                      The labels (x, y) of the Spin(4) intertwiner basis.

                      Equations
                      Instances For
                        theorem Lightlike.Spin4.ivec4_isSpin4Intertwiner {n₁ n₂ n₃ n₄ m₁ m₂ m₃ m₄ : ℕ} {p : ℕ × ℕ} (hp : p ∈ channel4 n₁ n₂ n₃ n₄ m₁ m₂ m₃ m₄) :
                        IsSpin4Intertwiner n₁ n₂ n₃ n₄ m₁ m₂ m₃ m₄ (ivec4 n₁ n₂ n₃ n₄ m₁ m₂ m₃ m₄ p.1 p.2)

                        The products ι⁺_x ⊗ ι⁻_y are Spin(4) intertwiners.

                        theorem Lightlike.Spin4.hsInner_ivec4 {n₁ n₂ n₃ n₄ m₁ m₂ m₃ m₄ : ℕ} {p p' : ℕ × ℕ} (hp : p ∈ channel4 n₁ n₂ n₃ n₄ m₁ m₂ m₃ m₄) (hp' : p' ∈ channel4 n₁ n₂ n₃ n₄ m₁ m₂ m₃ m₄) :
                        hsInner (ivec4 n₁ n₂ n₃ n₄ m₁ m₂ m₃ m₄ p.1 p.2) (ivec4 n₁ n₂ n₃ n₄ m₁ m₂ m₃ m₄ p'.1 p'.2) = if p = p' then 1 else 0

                        Orthonormality of the Spin(4) intertwiner basis.

                        theorem Lightlike.Spin4.eq_sum_ivec4 {n₁ n₂ n₃ n₄ m₁ m₂ m₃ m₄ : ℕ} {Q : Matrix (Idx n₁ n₂ × Idx m₁ m₂) (Idx n₃ n₄ × Idx m₃ m₄) ℂ} (hQ : IsSpin4Intertwiner n₁ n₂ n₃ n₄ m₁ m₂ m₃ m₄ Q) :
                        Q = ∑ p ∈ channel4 n₁ n₂ n₃ n₄ m₁ m₂ m₃ m₄, hsInner (ivec4 n₁ n₂ n₃ n₄ m₁ m₂ m₃ m₄ p.1 p.2) Q • ivec4 n₁ n₂ n₃ n₄ m₁ m₂ m₃ m₄ p.1 p.2

                        Completeness: every Spin(4) intertwiner expands in the basis ι⁺_x ⊗ ι⁻_y.

                        E. The 3j symbols and the 4-valent intertwiners fourJ #

                        theorem Lightlike.Spin4.cgCoefficient_eq_threeJ' {n m k l a b : ℕ} (hk : k ≤ n) (hk' : k ≤ m) (hl : l ≤ n + m - 2 * k) (ha : a ≤ n) (hb : b ≤ m) :
                        PhyslibAlpha.Sl2.cgCoefficient n m k l a b = (-1) ^ (n + k + l) * √↑(n + m - 2 * k + 1) * PhyslibAlpha.Sl2.threeJ n m (n + m - 2 * k) (↑n - 2 * ↑a) (↑m - 2 * ↑b) (-(↑(n + m - 2 * k) - 2 * ↑l))

                        The Clebsch–Gordan coefficients in Physlib's 3j symbols (real form of cgMatrix_eq_threeJ).

                        theorem Lightlike.Spin4.cgz_eq_threeJ {n m z : ℕ} (h : Pentagon.Tri n m z) (p : Idx n m) (l : Fin (z + 1)) :
                        cgz n m z p l = ↑((-1) ^ (n + (n + m - z) / 2 + ↑l) * √↑(z + 1) * PhyslibAlpha.Sl2.threeJ n m z (↑n - 2 * ↑↑p.1) (↑m - 2 * ↑↑p.2) (-(↑z - 2 * ↑↑l)))

                        The coupling matrices in 3j symbols: C^{nm}_z(a, b; l) = (-1)^{n+k+l} √(z+1) (n m z; n - 2a, m - 2b, -(z - 2l)) with k = (n + m - z)/2 (doubled units).

                        theorem Lightlike.Spin4.sum_Icc_eq_sum_range (z : ℕ) (g : ℤ → ℝ) (hg : ∀ (μ : ℤ), (↑z + μ) % 2 ≠ 0 → g μ = 0) :
                        ∑ μ ∈ Finset.Icc (-↑z) ↑z, g μ = ∑ l ∈ Finset.range (z + 1), g (2 * ↑l - ↑z)

                        A sum over doubled projections μ ∈ [-z, z] whose terms vanish unless z + μ is even is a sum over the basis labels l ∈ [0, z], μ = 2l - z.

                        theorem Lightlike.Spin4.neg_one_pow_eq_of_mod {X Y : ℕ} (h : X % 2 = Y % 2) :
                        (-1) ^ X = (-1) ^ Y
                        theorem Lightlike.Spin4.fourJ_sign_parity {J₁ J₂ J₃ J₄ z k k' l a₁ a₂ : ℕ} (h1 : z + 2 * k = J₁ + J₂) (h2 : z + 2 * k' = J₃ + J₄) (h3 : a₁ + a₂ = k + l) (hl : l ≤ z) :
                        (z - l + (J₃ + J₄ + z) / 2) % 2 = (J₂ + J₄ + a₁ + a₂ + (J₁ + k + l + (J₃ + k' + l))) % 2
                        theorem Lightlike.Spin4.fourJ_eq_ivec {z J₁ J₂ J₃ J₄ : ℕ} (hz : z ∈ channel J₁ J₂ J₃ J₄) (p : Idx J₁ J₂) (q : Idx J₃ J₄) :
                        ↑(Recoupling.fourJ J₁ J₂ J₃ J₄ z (↑J₁ - 2 * ↑↑p.1) (↑J₂ - 2 * ↑↑p.2) (2 * ↑↑q.1 - ↑J₃) (2 * ↑↑q.2 - ↑J₄)) = (-1) ^ (J₂ + J₄ + ↑p.1 + ↑p.2) * ivec J₁ J₂ J₃ J₄ z p q

                        The 4-valent intertwiners fourJ are the basis ι_z with the incoming links flipped: the all-outgoing intertwiner ι^{(z)}_{m₁ m₂ m₃ m₄} of Lightlike.Recoupling.fourJ, at m₁ = J₁ - 2a₁, m₂ = J₂ - 2a₂, m₃ = -(J₃ - 2b₃), m₄ = -(J₄ - 2b₄), is (-1)^{J₂+J₄+a₁+a₂} ι_z((a₁, a₂), (b₃, b₄)). So fourJ = ± ι_z (ε ⊗ ε)ᵀ with the invariant forms ε(b, b') = (-1)^b [b + b' = J] of the incoming links, and a sign independent of z.