FrediFizzx wrote:The sign(a.e) and the sign(b.e) are wrong as I mentioned previously for A and B functions.
I don't agree that they are wrong. (b.e) is the projection of the particle "e" vector along the polarizer "b" vector. The sign of that projection determines which of the detectors the particle will go toward (D+ or D-) corresponding to (+1, -1) for the figure I posted above. The absolute value of the magnitude of that projection is used so select the states.
That is what
A(a; e, s) = +sign(cos(a*e)) if |a.e| > f(s), 0 otherwise
B(b; e, s) = -sign(cos(b*e)) if |b.e| > f(s), 0 otherwise
means. Remember that "a" and "b" are polarizer orientations freely chosen by Alice and Bob. Why are you introducing another "pol" in addition to "a" and "b"? See the diagram above. I still do not understand what you are trying to do, sorry.

