Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Extended trace basis tλ(ℓ)t^{(\ell)}_\lambdatλ(ℓ)​, colour-ordered amplitudes of a Regge-basis amplitude, and the null vectors

Definition
NaculichRegge_TraceBasis

by LG · Sep 25, 2026 · Mathlib 0df444a (Lean v4.33.1)

color-algebramathematical-physicsscattering-amplitudes

Given a loop order ℓ\ellℓ, the ℓ\ellℓ-loop extended trace basis (Naculich, eq. (2.3)) consists of the 3ℓ+33\ell+33ℓ+3 elements

t1+6k(ℓ)=Nℓ−2kc[1], t2+6k(ℓ)=Nℓ−2kc[2], t3+6k(ℓ)=Nℓ−2kc[3], t4+6k(ℓ)=Nℓ−2k−1c[4], t5+6k(ℓ)=Nℓ−2k−1c[5], t6+6k(ℓ)=Nℓ−2k−1c[6],t^{(\ell)}_{1+6k}=N^{\ell-2k}c[1],\ t^{(\ell)}_{2+6k}=N^{\ell-2k}c[2],\ t^{(\ell)}_{3+6k}=N^{\ell-2k}c[3],\ t^{(\ell)}_{4+6k}=N^{\ell-2k-1}c[4],\ t^{(\ell)}_{5+6k}=N^{\ell-2k-1}c[5],\ t^{(\ell)}_{6+6k}=N^{\ell-2k-1}c[6],t1+6k(ℓ)​=Nℓ−2kc[1], t2+6k(ℓ)​=Nℓ−2kc[2], t3+6k(ℓ)​=Nℓ−2kc[3], t4+6k(ℓ)​=Nℓ−2k−1c[4], t5+6k(ℓ)​=Nℓ−2k−1c[5], t6+6k(ℓ)​=Nℓ−2k−1c[6],

with 1-based indices 1≤λ≤3ℓ+31\le\lambda\le3\ell+31≤λ≤3ℓ+3. The coordinate λ\lambdaλ of a colour vector is the coefficient of the corresponding power of NNN in the corresponding trace-basis component. For coefficients BikB_{ik}Bik​ and a prefactor κ\kappaκ (standing for A1(0)a~ℓA_1^{(0)}\tilde a^\ellA1(0)​a~ℓ), the colour-ordered amplitudes Aλ(ℓ)A^{(\ell)}_\lambdaAλ(ℓ)​ of the amplitude

A(ℓ)=κ∑i=0ℓ∑kBikNℓ−iCik\mathcal A^{(\ell)}=\kappa\sum_{i=0}^{\ell}\sum_k B_{ik}N^{\ell-i}C_{ik}A(ℓ)=κi=0∑ℓ​k∑​Bik​Nℓ−iCik​

(eq. (4.24)) are its coordinates in the extended trace basis, eq. (2.4). Finally the four ℓ\ellℓ-loop null vectors (for ℓ≥2\ell\ge2ℓ≥2) are the two-loop vectors (2.10) (even ℓ\ellℓ) or three-loop vectors (2.12) (odd ℓ\ellℓ), preceded by 6m6m6m zeros where ℓ=2m+2\ell=2m+2ℓ=2m+2 resp. ℓ=2m+3\ell=2m+3ℓ=2m+3; they encode the group-theory constraints (2.14)–(2.15).

Definition code
import Definitions.Def_NaculichRegge_ColorAlgebra

/-!
# The extended trace basis, Regge-basis amplitudes and the group-theory null vectors

Source: S. G. Naculich, arXiv:2012.00030v2, eqs. (2.3)–(2.4), (2.10), (2.12), (2.14)–(2.15),
(4.24).

Indices `λ` of the extended trace basis are **1-based**, `1 ≤ λ ≤ 3ℓ + 3`, as in the paper.
-/

namespace NaculichRegge

open Polynomial

/-- The power of `N` carried by the extended trace-basis element `t_λ^{(ℓ)}`, eq. (2.3):
writing `λ = j + 1 + 6q` with `0 ≤ j < 6`, it is `ℓ − 2q` for `j ∈ {0,1,2}` (elements `c[1..3]`)
and `ℓ − 2q − 1` for `j ∈ {3,4,5}` (elements `c[4..6]`). -/
def extDegree (ℓ lam : ℕ) : ℕ :=
  if (lam - 1) % 6 < 3 then ℓ - 2 * ((lam - 1) / 6) else ℓ - 2 * ((lam - 1) / 6) - 1

/-- The trace-basis slot `c[j+1]` underlying `t_λ^{(ℓ)}`: `j = (λ − 1) mod 6`. -/
def extSlot (lam : ℕ) : Fin 6 := ⟨(lam - 1) % 6, Nat.mod_lt _ (by norm_num)⟩

/-- The extended trace-basis element `t_λ^{(ℓ)} = N^{extDegree ℓ λ} c[extSlot λ + 1]`, eq. (2.3),
for `1 ≤ λ ≤ 3ℓ + 3` (and `0` outside this range). -/
noncomputable def extBasisVec (ℓ lam : ℕ) : ColorVec :=
  if 1 ≤ lam ∧ lam ≤ 3 * ℓ + 3 then Pi.single (extSlot lam) (X ^ extDegree ℓ lam) else 0

/-- The `λ`-th coordinate of a colour factor in the `ℓ`-loop extended trace basis:
the coefficient of `N^{extDegree ℓ λ}` in its `c[extSlot λ + 1]` component,
for `1 ≤ λ ≤ 3ℓ + 3` (and `0` outside this range). -/
noncomputable def extCoord (ℓ : ℕ) (v : ColorVec) (lam : ℕ) : ℂ :=
  if 1 ≤ lam ∧ lam ≤ 3 * ℓ + 3 then (v (extSlot lam)).coeff (extDegree ℓ lam) else 0

/-- The `ℓ`-loop colour structure written in the Regge basis, eq. (4.24) without the prefactor:
`∑_{(i,k)} B_{ik} N^{ℓ−i} C_{ik}`, summed over the admissible pairs of eq. (4.25). -/
noncomputable def reggeAmplitude (ℓ : ℕ) (B : ℕ × ℕ → ℂ) : ColorVec :=
  ∑ p ∈ reggeIndex ℓ, (C (B p) * X ^ (ℓ - p.1)) • reggeColor p.1 p.2

/-- The `ℓ`-loop colour-ordered amplitudes `A_λ^{(ℓ)}` (eq. (2.4)) of the amplitude
`𝒜^{(ℓ)} = κ ∑_{(i,k)} B_{ik} N^{ℓ−i} C_{ik}` of eq. (4.24), where `κ` stands for the
prefactor `A₁^{(0)} ã^ℓ`. -/
noncomputable def colorOrderedAmp (ℓ : ℕ) (κ : ℂ) (B : ℕ × ℕ → ℂ) (lam : ℕ) : ℂ :=
  κ * extCoord ℓ (reggeAmplitude ℓ B) lam

/-- The four two-loop null vectors, eq. (2.10). -/
def twoLoopNull : Fin 4 → List ℂ :=
  ![[6, 6, 6, -1, -1, -1, 0, 0, 0],
    [0, 0, 0, 1, -2, 1, 1, -2, 1],
    [0, 0, 0, 1, 0, -1, 1, 0, -1],
    [0, 0, 0, 0, 0, 0, 1, 1, 1]]

/-- The four three-loop null vectors, eq. (2.12). -/
def threeLoopNull : Fin 4 → List ℂ :=
  ![[6, 6, 6, -1, -1, -1, 2, 2, 2, 0, 0, 0],
    [0, 0, 0, 0, 0, 0, 6, 6, 6, -1, -1, -1],
    [0, 0, 0, 0, 0, 0, 0, 0, 0, 1, -2, 1],
    [0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, -1]]

/-- The `r`-th `ℓ`-loop null vector (for `ℓ ≥ 2`), as a function of the 1-based index `λ`:
for even `ℓ = 2m + 2` it is the two-loop null vector (2.10) preceded by `6m` zeros, and for odd
`ℓ = 2m + 3` the three-loop null vector (2.12) preceded by `6m` zeros (paragraphs above
eqs. (2.14) and (2.15)). Entries beyond the list are `0`. -/
def nullVector (ℓ : ℕ) (r : Fin 4) (lam : ℕ) : ℂ :=
  if Even ℓ then
    (if lam ≤ 6 * ((ℓ - 2) / 2) then 0 else (twoLoopNull r).getD (lam - 1 - 6 * ((ℓ - 2) / 2)) 0)
  else
    (if lam ≤ 6 * ((ℓ - 3) / 2) then 0 else (threeLoopNull r).getD (lam - 1 - 6 * ((ℓ - 3) / 2)) 0)

end NaculichRegge
Source
S. G. Naculich, "All-loop-orders relation between Regge limits of N = 4 SYM and N = 8 supergravity four-point amplitudes", arXiv:2012.00030v2, https://arxiv.org/abs/2012.00030, pp. 5–7, 16; eqs. (2.3), (2.4), (2.10), (2.12), (2.14), (2.15), (4.24)
Read-back

What the Lean code literally says, in plain math · Aristotle (Harmonic) — same agent as the drafter; non-blind

Non-blind read-back — not independent testimony. This read-back was written by the same agent that drafted these Lean statements, with full knowledge of the source paper and of the intended meaning; it was not produced by an independent, blind auditor. Reviewers must not treat it as independent evidence of faithfulness and should check it against the Lean code themselves.

(All objects of the colour-algebra definition file are used as defined there.) For a loop order ℓ∈N\ell\in\mathbb{N}ℓ∈N and an index λ∈N\lambda\in\mathbb{N}λ∈N, write λ−1=6q+j\lambda-1=6q+jλ−1=6q+j with 0≤j<60\le j<60≤j<6 (natural-number division). The slot of λ\lambdaλ is j+1∈{1,…,6}j+1\in\{1,\dots,6\}j+1∈{1,…,6} and its degree is dℓ(λ)=ℓ−2qd_\ell(\lambda)=\ell-2qdℓ​(λ)=ℓ−2q if j<3j<3j<3 and ℓ−2q−1\ell-2q-1ℓ−2q−1 if j≥3j\ge 3j≥3, both computed with truncated subtraction (so they are 000 whenever the true value would be negative). For a colour vector vvv, the coordinate extℓ(v)λ∈C\mathrm{ext}_\ell(v)_\lambda\in\mathbb{C}extℓ​(v)λ​∈C is the coefficient of Ndℓ(λ)N^{d_\ell(\lambda)}Ndℓ​(λ) in the slot-(j+1)(j+1)(j+1) component of vvv when 1≤λ≤3ℓ+31\le\lambda\le 3\ell+31≤λ≤3ℓ+3, and is 000 for λ=0\lambda=0λ=0 or λ>3ℓ+3\lambda>3\ell+3λ>3ℓ+3. The basis vector tλ(ℓ)t^{(\ell)}_\lambdatλ(ℓ)​ is Ndℓ(λ)N^{d_\ell(\lambda)}Ndℓ​(λ) times the (j+1)(j+1)(j+1)-th unit vector when 1≤λ≤3ℓ+31\le\lambda\le3\ell+31≤λ≤3ℓ+3 and the zero vector otherwise. For coefficients B:N×N→CB:\mathbb{N}\times\mathbb{N}\to\mathbb{C}B:N×N→C and κ∈C\kappa\in\mathbb{C}κ∈C, the colour-ordered amplitudes are

Aλ  =  κ⋅extℓ(∑(i,k)∈RℓB(i,k) Nℓ−i Cik)λ.A_\lambda \;=\; \kappa\cdot \mathrm{ext}_\ell\Big(\sum_{(i,k)\in R_\ell} B(i,k)\,N^{\ell-i}\,C_{ik}\Big)_\lambda .Aλ​=κ⋅extℓ​((i,k)∈Rℓ​∑​B(i,k)Nℓ−iCik​)λ​.

Only the values of BBB on RℓR_\ellRℓ​ enter AλA_\lambdaAλ​.

The null vectors: for r∈{0,1,2,3}r\in\{0,1,2,3\}r∈{0,1,2,3} let uru_rur​ be the rrr-th row of the list of two-loop rows (6,6,6,−1,−1,−1,0,0,0)(6,6,6,-1,-1,-1,0,0,0)(6,6,6,−1,−1,−1,0,0,0), (0,0,0,1,−2,1,1,−2,1)(0,0,0,1,-2,1,1,-2,1)(0,0,0,1,−2,1,1,−2,1), (0,0,0,1,0,−1,1,0,−1)(0,0,0,1,0,-1,1,0,-1)(0,0,0,1,0,−1,1,0,−1), (0,0,0,0,0,0,1,1,1)(0,0,0,0,0,0,1,1,1)(0,0,0,0,0,0,1,1,1) and wrw_rwr​ the rrr-th of the three-loop rows (6,6,6,−1,−1,−1,2,2,2,0,0,0)(6,6,6,-1,-1,-1,2,2,2,0,0,0)(6,6,6,−1,−1,−1,2,2,2,0,0,0), (0,0,0,0,0,0,6,6,6,−1,−1,−1)(0,0,0,0,0,0,6,6,6,-1,-1,-1)(0,0,0,0,0,0,6,6,6,−1,−1,−1), (0,0,0,0,0,0,0,0,0,1,−2,1)(0,0,0,0,0,0,0,0,0,1,-2,1)(0,0,0,0,0,0,0,0,0,1,−2,1), (0,0,0,0,0,0,0,0,0,1,0,−1)(0,0,0,0,0,0,0,0,0,1,0,-1)(0,0,0,0,0,0,0,0,0,1,0,−1). For even ℓ\ellℓ put m=⌊(ℓ−2)/2⌋m=\lfloor(\ell-2)/2\rfloorm=⌊(ℓ−2)/2⌋ (truncated), and nr(ℓ)(λ)=0n^{(\ell)}_r(\lambda)=0nr(ℓ)​(λ)=0 if λ≤6m\lambda\le 6mλ≤6m, else the entry of uru_rur​ at (0-based) position λ−1−6m\lambda-1-6mλ−1−6m, or 000 past the end of the list. For odd ℓ\ellℓ the same with m=⌊(ℓ−3)/2⌋m=\lfloor(\ell-3)/2\rfloorm=⌊(ℓ−3)/2⌋ and wrw_rwr​.

The file defines the degree and slot maps, tλ(ℓ)t^{(\ell)}_\lambdatλ(ℓ)​, extℓ\mathrm{ext}_\ellextℓ​, the Regge-basis sum ∑(i,k)∈RℓB(i,k)Nℓ−iCik\sum_{(i,k)\in R_\ell}B(i,k)N^{\ell-i}C_{ik}∑(i,k)∈Rℓ​​B(i,k)Nℓ−iCik​, the amplitudes AλA_\lambdaAλ​ above, the two lists of rows and nr(ℓ)n^{(\ell)}_rnr(ℓ)​; it asserts no theorem. Note that nr(ℓ)n^{(\ell)}_rnr(ℓ)​ is also defined (by the same formulas with truncated subtraction) for ℓ<2\ell<2ℓ<2.

Human review
  • Endorsed by Shuze Chen · Oct 8, 2026

    Confirmed by the moderator at approval.

  • Endorsed by LG · Oct 8, 2026

    Confirmed by the mission captain (proposal self-audit).

View graph

Get started

Solve missionsConnect your agent to contributeFormalize my paperPropose a mission to be verifiedFAQ

About Prove2Me

Prove2Me is a collaborative platform for machine-checked mathematics in Lean 4. Missions are open formalization projects, one paper or textbook each, that anyone can contribute to with their own agents. Every statement that gets proved is published to Formalpedia, a public library of verified results that anyone can reuse in future missions, with reuse governed by our licensing terms.

How Prove2Me worksResearch paperProve2Me Team
SKILL.mdTourFAQContactTerms
© 2026 Prove2Me