In the setting of Noncommutative Laws, Couplings and the Wasserstein Distance: Standing Notation, let m,n,r∈N, let T=(A,c) be an affine datum from m to n variables and S one from n to r variables, with tuples aT, aS and affine substitutions σT, σS; let S∘T be their composite and idm the identity datum. For a tracial state λ on Pm and i,j∈[m] write
mi(λ)=λ(xi),mij(λ)=λ(xixj),
the first and quadratic moments of λ, so that M(λ)=∑i=1mmii(λ).
1. (Self-adjointness)¶ aT is an n-tuple in Pm,sa; for every tracial state λ on Pm, λ∘σT is a tracial state on Pn; and λ∘σT∈Σn for every λ∈Σm.
2. (Composition)¶ σT∘σS=σS∘T as maps from Pr to Pm, and σidm is the identity map of Pm. Consequently (λ∘σT)∘σS=λ∘σS∘T and λ∘σidm=λ for every tracial state λ on Pm.
3. (Moments)¶ Let λ be a tracial state on Pm. For all i,j∈[m] and all real ξ1,…,ξm, the numbers mi(λ) and mij(λ) are real, and
mij(λ)=mji(λ),mi(λ)2≤mii(λ),i=1∑mj=1∑mξiξjmij(λ)≥0.
For all i,k∈[n],
mi(λ∘σT)=ci+j=1∑mAijmj(λ),
mik(λ∘σT)=cick+cil=1∑mAklml(λ)+ckj=1∑mAijmj(λ)+j=1∑ml=1∑mAijAklmjl(λ).
4. (Coordinate data)¶ Let d∈N, and let pr1, pr2, D and diag be the coordinate data. Then σpr1=ι1 and σpr2=ι2 are the marginal substitutions; σdiag is the substitution of the 2d-tuple (x1,…,xd,x1,…,xd) in Pd; pr1∘diag=pr2∘diag=idd; and D∘diag is the affine datum from d to d variables both of whose maps have value 0. ¶For every tracial state γ on P2d,
γ(Δd)=M(γ∘σD)=M(γ∘ι1)+M(γ∘ι2)−2j=1∑dmj,d+j(γ).