gill1109 wrote:
The problem is that your model cannot be implemented on a network of computes whose communications are constrained so as to reflect the spatial and temporal separations of a real Bell-type experiment. Alice and Bob receive photons from a source. Alice and Bob receive settings from "outside". Alice and Bob see outcomes. Alice sees her outcome before Bob's setting could possibly have been transmitted in any way from Bob's side of the experiment to Alice's.
Bell's theorem is a simple mathematical theorem which says that it can't be done. Of course, there may be something wrong in the proof of that theorem. I don't think so, for one moment. But in principle, it is possible, that the entire community of physicists and mathematicians have overlooked something for 50 years. If so, it should be easy for you to deliver the goods. Give us the computer programs and let us test them.
Implement your "program" in a real program which I can run in e.g. Python or R, and let me test it. I've told you what kind of tests I will do. I've looked at your "pseudo code" (seems to be some kind of Basic, that's not a good sign, it is a computer language of the 60s which does not exactly encourage good programming practices!). I get the idea you don't understand what you are up against. Doesn't matter.
My intention is to dicuss the the clues of the theory rather than computer programs. However, I've written a spec which consists of three parts, one for the source and the other two for Wing A and B repectively. The source produces randomly photons with polarization 0° and 90° and random lambda which are sent to the wings. The output of the wings ist stored together with an order number in order to identify matches.
Here follows the spec:
HV model for the singlet state
Program for Spin1:
1. Theory
• Boundary conditions: photon pairs 0 ° / 90 ° and 90 ° / 0 ° in equal shares.
• Photons A and B of a pair have the same property Lambda
• Set polarizer PA to alpha and polarizer PB to beta
• (alpha and beta between 0 and 180°)
• Polarizer A selects A-photons with p-state alpha
• This selection means a selection of the associated B-photons in p-state and polarization alpha+pi/2
• Polarizer B selects B-photons with p-state and polarization beta.
SEPP Source:
2. For i=1,n
3. Lambda = random1(0,1)
4. Polarization= 0
5. If random2(0,1) >0,5 then Polarization=90
6. Send (lambda, Polarization)
Wing A
7. Initialize only once CountA := 0
8. Read (lambda, Polarization)
9. If Polarization = 0 then ind=1 else ind=-1
10. deltaA := alpha -Polarization
11. Call Hit(ResultA,deltaA,lambda,countA,ind)
12. If ResultA=1 then
13. Store (ResultA, countA)
Wing B
14. Initialize only once CountA := countB := 0
15. deltaB := beta – alpha- pi/2
16. Read (lambda, Polarization)
17. If Polarization = 0 then ind=1 else ind=-1
18. deltaA := alpha -Polarization
19. Call Hit(ResultA,deltaA,lambda,countA,ind)
20. If ResultA=1 then
21. Call Hit(ResultB,deltaB,lambda,countB,ind)
22. Store (ResultA, ResultB, countA)
23. Conditional Probability P = CountB / CountA
a. Subroutine: Hit(Result,delta,lambda,count,ind)
b. Result=-1
c. If delta <0 then delta = delta+pi
d. If ind=1 then
e. If 0<delta<pi/2 or pi<delta<3/2pi then
f. If lambda <cos2 (delta) Then set Result := 1 and count := count + 1
g. Exit
h. Else
i. If lambda >sin2 (delta) Then set Result := 1 and count := count + 1
j. Exit
k. If ind= -1 then
l. If 0<delta<pi/2 or pi<delta<3/2pi then
m. If lambda > cos2 (delta) Then set Result := 1 and count := count + 1
n. Exit
o. Else
p. If lambda <sin2 (delta) Then set Result := 1 and count := count + 1
q. Exit
r. end