jreed wrote:FrediFizzx wrote:jreed wrote:Take your final, stable version and run a short test with m = 30 or 40. Now compare the input lists outA and outB to the output list outA5 and outB5. You will find that nearly each time f1 appears in one of the outA measurements, the same outB5 measurement will have the detector value with a changed sign. The same thing happens with the outB and outA5 lists. I said nearly because sometimes this doesn't happen, but it almost always does.
This could be done with much simpler programming. It would be interesting to see how this sign flip affects the CHSH values and final plot.
You have do that for proper matching of constrained events vs. non-constrained. If the signs are the same it doesn't change. This was the most simple local programming I could figure out. If you don't do it I believe the final plot will be straight lines.
.
Your program is doing the sign flips. This is a non-local calculation since Alice has to have information from Bob about his experiments in order to change the signs. The non-locality is clear in the way your program uses the routine Intersection. You should read up on what it is doing. The arguments for Intersection are outA1 (Alice's experiments) and listbd (Bob's experiment numbers). This uses information from Bob's experiments to change Alice's experiments. That's non-local.
It doesn't matter at this point since only the trial numbers are being matched by the intersection function. In a real experiment they use time tags to do the matching. In this thought experiment we have the luxury of actually tagging every particle with the trial number.
.

