[guided]We now compute the signed number of possible insertions into the fixed chain $C$. In this step, $C\in\mathcal C_S(P)$ is fixed, and $x,y\in C^+=C\cup\{\hat{0},\hat{1}\}$ are the unique elements with $\rho(x)=i$ and $\rho(y)=k$. The hypotheses on $S$, $i$, and $k$ imply that no rank of $C^+$ lies strictly between $i$ and $k$, so $x<y$ are consecutive elements of $C^+$.
The interval involved is $[x,y]=\{z\in P:x\le z\le y\}$. Its rank difference is $d:=\rho(y)-\rho(x)=k-i$. The assumption $i<k-1$ means $d\ge 2$, so this is a nontrivial interval with possible interior ranks.
The reason Eulerianity is relevant is that it converts a signed count of elements in an interval into a simple endpoint calculation. The formal statement includes the Eulerian poset alternating rank-sum condition for every nontrivial interval. Applied to $[x,y]$, with ranks measured relative to $\rho(x)=i$, this says $\sum_{z\in [x,y]}(-1)^{\rho(z)-i}=0$.
We split this sum into three parts: the lower endpoint $x$, the upper endpoint $y$, and the interior elements $z$ with $x<z<y$. The lower endpoint contributes $1$, because $\rho(x)-i=0$. The upper endpoint contributes $(-1)^{k-i}$, because $\rho(y)=k$. For a fixed interior rank $j$ with $i<j<k$, the number of elements of rank $j$ in the open interval is $N_j(C)=\left|\{z\in P:x<z<y,\ \rho(z)=j\}\right|$.
Therefore the Eulerian identity becomes $1+\sum_{j=i+1}^{k-1}(-1)^{j-i}N_j(C)+(-1)^{k-i}=0$. Solving for the interior alternating sum gives $\sum_{j=i+1}^{k-1}(-1)^{j-i}N_j(C)=-1-(-1)^{k-i}$.
The Bayer-Billera relation uses the shifted sign $(-1)^{j-i-1}$, which is the negative of $(-1)^{j-i}$. Multiplying the previous identity by $-1$, we obtain $\sum_{j=i+1}^{k-1}(-1)^{j-i-1}N_j(C)=1+(-1)^{k-i}$.
Finally, $(-1)^{k-i}=-(-1)^{k-i-1}$, so the fixed-chain contribution is $\sum_{j=i+1}^{k-1}(-1)^{j-i-1}N_j(C)=1-(-1)^{k-i-1}$. This is the desired local identity for one fixed chain $C$.[/guided]