Let $a,b,c,d\in\mathbb{Z}/n\mathbb{Z}$ and $$f(a,b,c)=\exp\left(\frac{2\pi x i}{n^2}a(b+c-[b+c])\right).$$ Here $x\in\{0,...,n-1\}$ and $[b+c]=b+c\mod n$.
Now, it is given that the following holds $$f(a,b,c)f(b,c,d)f(a+b,c,d)^{-1}f(a,b+c,d)f(a,b,c+d)^{-1}=1$$
My question is:
What does $b+c\mod n$ mean here?
Thoughts:
My assumption was that it is the remainder of division by $n$. However, I calculated
$a(b+c-[b+c])+b(c+d-[c+d])-(a+b)(c+d-[c+d])+a(b+c+d-[b+c+d])-a(b+c+d-[b+c+d])
=a(b-d+[c+d]-[b+c])$.
But we can find examples such that
$$\exp\left(\frac{2\pi x i}{n^2}a(b-d+[c+d]-[b+c])\right)\neq 1$$
if we take $[\cdot]$ to be the remainder.
So what else could it be?
Edit:
The formula given in the source in the comments is
$$\delta\alpha(g_1,...,g_{k+1})=\alpha(g_1,...,g_k)^{(-1)^{k+1}}\alpha(g_2,...,g_{k+1})\prod_{i=1}^k\alpha(g_1,...,g_ig_{i+1},...,g_{k+1})^{(-1)^{i}}$$
The condition which must be satisfied is
$$\delta\alpha=1$$
so in our case this would give
$$f(a,b,c)f(b,c,d)f(a+b,c,d)^{-1}f(a,b+c,d)f(a,b,c+d)^{-1}=1.$$