Bell's inequality is not about particles.
We have a probability of the form ##P(R_A = a \wedge R_B = b | O_A = \alpha \wedge O_B = \beta)##
where ##R_A## is the result of Alice's measurement, ##R_B## is the result of Bob's measurement, ##O_A## is Alice's choice of detector setting, ##O_B## is Bob's choice of detector setting.
Bell assumed that such a probability "factors" once you know the common causal influences of Alice's result and Bob's result. In terms of the spacetime regions I mentioned above, ##E## is the common backwards lightcone of Alice's and Bob's measurements. Bell assumed that, under the assumption that there is no causal influence of Alice's measurement on Bob, nor vice-versa, then there is some fact about region ##E##, call it ##F(E)## such that knowing that fact would allow us to factor the probabilities:
##P(R_A = a \wedge R_B = b | O_A = \alpha \wedge O_B = \beta)##
##= \sum_\lambda P_E(F(E) = \lambda) P_A(R_A = a | O_A = \alpha \wedge F(E) = \lambda) P_B(R_B = b | O_B = \beta \wedge F(E) = \lambda)##
where ##P_E## gives the probability of region ##E## having property ##\lambda##, ##P_A## is the probability of Alice's results given her setting and the hidden variable ##\lambda##, and ##P_B## is the probability of Bob's results given his setting and the hidden variable.
There is nothing about particles in the mathematical derivation.