Computer Simulation of EPR Scenarios

Foundations of physics and/or philosophy of physics, and in particular, posts on unresolved or controversial issues

Re: Computer Simulation of EPR Scenarios

Postby FrediFizzx » Wed Feb 26, 2014 12:13 am

gill1109 wrote: I guess the word of thanks is the closest we are going to get to an acknowledgement by Christian that my criticism of earlier simulation models was justified. I wonder if Fred will also admit that he was wrong, too.

Not from that for sure.
Fred Diether replied on Feb. 24, 2014 @ 00:01 GMT Richard said, "It can be mathematically proven that we *don't* go from Bell's straight line to the cosine curve." in relation to what I said.

OK, go for it. Let's see the rigorous mathematical proof that what I am saying above is false. I would advise you not to waste your time on it since Joy has already extremely mathematically and rigorously proven that it is true here and with this paper here from a different direction.

From the FQXi blog. I am still waiting for you to show your mathematical proof to what I said here.
Fred Diether wrote on Feb. 23, 2014 @ 20:22 GMT In addition to what Joy posted, it is very clear to see what is going on with the Minkwe simulation via John Reed's Mathematica translation. Take a look at the 6 graphs as theta_0 goes from 0 to pi/2 with 5 million trials and 1 degree resolution. We go from Bell's straight line to the cosine curve. Anyone that knows calculus can see that as the number of trials goes to the infinity limit and as the degree resolution goes to the infinitesimal limit, that the perfect cosine curve will be achieved. No doubt this could be mathematically proven should there be an enterprising soul out there. It is easy to see though so not sure if anyone should waste their time on it.

You need to do the EPR Challenge here.
viewtopic.php?f=22&t=22#p448
FrediFizzx
Independent Physics Researcher
 
Posts: 2905
Joined: Tue Mar 19, 2013 7:12 pm
Location: N. California, USA

Re: Computer Simulation of EPR Scenarios

Postby FrediFizzx » Wed Feb 26, 2014 12:32 am

This is how you do it.

Image

Those small deviations around the peaks will disappear in the limit when the number of trials goes to infinity and the degree increments are infinitesimal.
FrediFizzx
Independent Physics Researcher
 
Posts: 2905
Joined: Tue Mar 19, 2013 7:12 pm
Location: N. California, USA

Re: Computer Simulation of EPR Scenarios

Postby gill1109 » Wed Feb 26, 2014 1:18 am

Fred, you are a bit behind the game. Joy has already accepted the fact that what you say here is *not* true. You seem not to have noticed that Joy's changed his simulation model. He's also working with R, nowadays. I am not going to waste my time writing out a mathematical proof of something that Joy and I both agree on.

I suggest you install and learn R yourself. Both are pretty easy jobs.

Actually we are still only very close, still not yet spot-on. The problem is, what distribution to take for theta_0? At present Chantal Roth and Joy Christian together have homed in empirically on a pretty good choice, which in terms of Caroline Thompson's equivalent ball model, is circular caps of radius

R = acos((sin(Phi)^1.32)/3.16), Phi ~ Unif(0, pi/2).

Minkwe (lifted to 3-D - another of my innovations which Joy has taken on board) had

R = acos((sin(Phi)^2)/2), Phi ~ Unif(0, pi/2).

I've written an R script so one can experiment with various different probability distributions for R. And in particular, try various *constant* values of R. It is pretty clear that as you vary R between pi/4 and pi/2 you get various curves, none of which look much like a cosine, but such that a continuous convex linear combination of them can be found, which is exactly equal to the cosine! (OK: this is not a theorem, it is a conjecture, but it is a bloody good one, pardon my French!).

See:

http://rpubs.com/gill1109/ChaoticUnsharpBall2

The code is taken by copy-paste from Chantal and Joy's latest production http://rpubs.com/chenopodium/joychristian. The only thing I have changed is the probability distribution of theta_0
gill1109
Mathematical Statistician
 
Posts: 2812
Joined: Tue Feb 04, 2014 10:39 pm
Location: Leiden

Re: Computer Simulation of EPR Scenarios

Postby gill1109 » Wed Feb 26, 2014 2:56 am

Here is computational proof that it can be done *exactly*: clearly, a continuous convex combination of the blue curves, which are Christian-Roth models with fixed theta_0, and simultaneously Caroline Thompson models with fixed R, can be found which yields the black curve (cosine), exactly.

http://rpubs.com/gill1109/ChaoticUnsharpBall3

Image

Fred: maybe you can use Mathematica to find out what convex combination is needed????
gill1109
Mathematical Statistician
 
Posts: 2812
Joined: Tue Feb 04, 2014 10:39 pm
Location: Leiden

Re: Computer Simulation of EPR Scenarios

Postby gill1109 » Wed Feb 26, 2014 8:34 am

Here's the best simulation of Joy's model ever!

http://rpubs.com/gill1109/ChaoticUnsharpBall1

Image

Unfortunately it is still not spot-on, the maximal deviation between the curves (0.002) is somewhat larger than the statistical error (0.0004). The statistical error is much larger than any numerical error (numerical precision / rounding errors) so we can safely ignore purely numerical error. [For Fred: this is what I mean by a computational/Monte Carlo proof that some sequence of simulations is *not* going to converge to the cosine. It is not a question of knowing something about calculus. It's a question of knowing something about Monte Carlo simulation, statistics, and numerical precision.]

I thought I had come up with a simple exact analytical solution, R = (1 + sqrt U) * 45 degrees, U ~ Unif(0,1), but it turned out that the 0.46th power fitted better than the 1/2 power, and neither fits exactly.

R is the radius of the circular cap in the Chaotic ball model which is mathematically equivalent to the Minkwe simulation in 3-D. It is related in a simple way to the theta_o of the latest Christian-Roth simulation.

My code is taken copy-paste from the Christian-Roth simulation model, which was the previous front runner.
gill1109
Mathematical Statistician
 
Posts: 2812
Joined: Tue Feb 04, 2014 10:39 pm
Location: Leiden

Re: Computer Simulation of EPR Scenarios

Postby Joy Christian » Wed Feb 26, 2014 8:49 am

OK, we are done. I have revised my simulation: http://rpubs.com/chenopodium/13653.

Let me remind again that the initial state of the system is still (e_o, theta_o), as derived in http://libertesphilosophica.info/blog/w ... mplete.pdf, but the choice of the initial function f(theta_o) is now different:

f(theta_o) = (1/2.47) sin(theta_o)^{1.61}.

It is also important to note that the Monte Carlo accuracy of the simulation is about 0.0001, but any remaining wrinkles in the correlation function are much smaller than 0.0001.
Joy Christian
Research Physicist
 
Posts: 2793
Joined: Wed Feb 05, 2014 4:49 am
Location: Oxford, United Kingdom

Re: Computer Simulation of EPR Scenarios

Postby Joy Christian » Wed Feb 26, 2014 9:07 am

gill1109 wrote:Here's the best simulation of Joy's model ever!

http://rpubs.com/gill1109/ChaoticUnsharpBall1


That is not a simulation of my model, regardless of its quality.

This is a simulation of my model: http://rpubs.com/chenopodium/joychristian.
Joy Christian
Research Physicist
 
Posts: 2793
Joined: Wed Feb 05, 2014 4:49 am
Location: Oxford, United Kingdom

Re: Computer Simulation of EPR Scenarios

Postby gill1109 » Wed Feb 26, 2014 9:32 am

Joy Christian wrote:
gill1109 wrote:Here's the best simulation of Joy's model ever!

http://rpubs.com/gill1109/ChaoticUnsharpBall1


That is not a simulation of my model, regardless of its quality.

This is a simulation of my model: http://rpubs.com/chenopodium/joychristian.

Dear Joy

There is a mathematical equivalence between the abstract structure of a simulation of Caroline Thompson's model, and the abstract structure of your simulation of your model. One can translate between one and the other. You have theta_0. She has R. One can be expressed in terms of the other, the formula is simple, you can look it up, if you are beginning to be able to read R now. She has measurement directions a and b. You have measurement directions a and b. She has two opposite random points on the sphere called "N" and "S" (N for North, S for South, determining a direction in space). You have a uniform random point on S^2 called e_0.

She derives her model from consideration of a ball spinning in space chaotically... you derive your model from consideration of S^3 etc etc ... But when we get down to a computer simulation in R, Python, Java or whatever, we simulate mathematical things like: "pick a random point on S^2". Pick a random number from some interval with some distribution ...

Recognising the same abstract mathematical structure in completely different physical systems is what mathematics is all about, what gives it its power! I am sure you recognise that.

You can ask Chantal to "translate" my latest R code into a language which you prefer. I think you'll be very pleased with the result. We are getting closer all the time, and gaining insights all round.
gill1109
Mathematical Statistician
 
Posts: 2812
Joined: Tue Feb 04, 2014 10:39 pm
Location: Leiden

Re: Computer Simulation of EPR Scenarios

Postby gill1109 » Wed Feb 26, 2014 9:41 am

Joy Christian wrote:OK, we are done. I have revised my simulation: http://rpubs.com/chenopodium/13653.

Let me remind again that the initial state of the system is still (e_o, theta_o), as derived in http://libertesphilosophica.info/blog/w ... mplete.pdf, but the choice of the initial function f(theta_o) is now different:

f(theta_o) = (1/2.47) sin(theta_o)^{1.61}.

It is also important to note that the Monte Carlo accuracy of the simulation is about 0.0001, but any remaining wrinkles in the correlation function are much smaller than 0.0001.


The difference between the theoretical and the simulated values is at its most about 0.02, very much larger than the simulation error. Have you looked at the bottom graph?

I have got the difference down to 0.002 in my latest.

http://rpubs.com/gill1109/ChaoticUnsharpBall1

The only difference with yours is a slightly different formulat for f(theta_0).

Compare the bottom graphs on both pages. It will not be difficult to get even better by new small tweaks. Chantal will want to get back ahead of me again, I am sure she will help you!
gill1109
Mathematical Statistician
 
Posts: 2812
Joined: Tue Feb 04, 2014 10:39 pm
Location: Leiden

Re: Computer Simulation of EPR Scenarios

Postby Ben6993 » Wed Feb 26, 2014 9:44 am

Hi Richard

I tried your code {http://rpubs.com/gill1109/ChaoticUnsharpBall1} as it stood but received error warnings about size constraints on my PC,"Error: cannot allocate vector of size 76.3 Mb".

So I reduced to 10^6 data pairs rather than 10^7 and it seemed to work despite "error warnings" about size [required more than 1021M bytes]

OUTPUT:
> angles[66] * 180 / pi
[1] 65
> corrs[66]
[1] 0.4204177
> cos(angles[66])
[1] 0.4226183
> plot(angles * 180/pi, corrs - cos(angles), type = "l")
> 1/sqrt(Ns[66])
[1] 0.001304742
>

My output graph for {plot(angles * 180/pi, corrs - cos(angles), type = "l")} was similar to yours but not as smooth, which is as one would expect with a smaller run. And, as in your run, most deviant from zero at 30-40 degrees and 70 degrees.

I have also had about five tries with gamma at different values in the range 0.455 to 0.465 without finding improvement.
Ben6993
 
Posts: 287
Joined: Sun Feb 09, 2014 12:53 pm

Re: Computer Simulation of EPR Scenarios

Postby gill1109 » Wed Feb 26, 2014 9:52 am

Ben6993 wrote:I tried your code {http://rpubs.com/gill1109/ChaoticUnsharpBall1} as it stood but received error warnings about size constraints on my PC,"Error: cannot allocate vector of size 76.3 Mb"
...
I have also had about five tries with gamma at different values in the range 0.455 to 0.465 without finding improvement.

Splendid. Sorry about the memory allocation! I have a 64 bit and rather new laptop with maxed out memory, processor speed and so on... some of my scripts are approaching my limits for "fast" computation. If numbers were to get bigger still I would have to break the computation into pieces so that everything is not all in memory at the same time, and then speed would suffer.
gill1109
Mathematical Statistician
 
Posts: 2812
Joined: Tue Feb 04, 2014 10:39 pm
Location: Leiden

Re: Computer Simulation of EPR Scenarios

Postby Ben6993 » Wed Feb 26, 2014 10:09 am

Richard: "breaking computation into pieces" ...

I remember doing that in the 1970s with Fortran66 using the "equivalence" statement so my graphs and tables could use the same memory space within a program. And later, the IBM S370(?) DOS system used 'paging' to do the same sort of thing. And if your variable arrays were stored columnwise, you hoped the paging wasn't being done rowwise!
Ben6993
 
Posts: 287
Joined: Sun Feb 09, 2014 12:53 pm

Re: Computer Simulation of EPR Scenarios

Postby gill1109 » Wed Feb 26, 2014 10:17 am

Ben6993 wrote:Richard: "breaking computation into pieces" ...

I remember doing that in the 1970s with Fortran66 using the "equivalence" statement so my graphs and tables could use the same memory space within a program. And later, the IBM S370(?) DOS system used 'paging' to do the same sort of thing. And if your variable arrays were stored columnwise, you hoped the paging wasn't being done rowwise!


Me too! Seems we are of similar vintage.
gill1109
Mathematical Statistician
 
Posts: 2812
Joined: Tue Feb 04, 2014 10:39 pm
Location: Leiden

Re: Computer Simulation of EPR Scenarios

Postby FrediFizzx » Wed Feb 26, 2014 2:43 pm

gill1109 wrote:Fred, you are a bit behind the game. Joy has already accepted the fact that what you say here is *not* true. You seem not to have noticed that Joy's changed his simulation model. He's also working with R, nowadays. I am not going to waste my time writing out a mathematical proof of something that Joy and I both agree on.


That is patently false that Joy agrees with you. So stop saying stuff like that since it is pure propaganda.

I didn't think you would be able to disprove what I am saying about the limits of going to infinity for the number of trials and infinitesimal degree increments. But you are right that it is a waste of time since I am 100 percent correct. We think it is you that is behind the game completely.
FrediFizzx
Independent Physics Researcher
 
Posts: 2905
Joined: Tue Mar 19, 2013 7:12 pm
Location: N. California, USA

Re: Computer Simulation of EPR Scenarios

Postby gill1109 » Thu Feb 27, 2014 12:32 am

Fred, have you even looked at the latest simulations by Joy and Chantal?

They have incorporated a large number of my ideas. They are even using R. I am very proud of their achievements.

But you can always see if you can do better still with Mathematica: good luck.

FrediFizzx wrote:
gill1109 wrote:Fred, you are a bit behind the game. Joy has already accepted the fact that what you say here is *not* true. You seem not to have noticed that Joy's changed his simulation model. He's also working with R, nowadays. I am not going to waste my time writing out a mathematical proof of something that Joy and I both agree on.


That is patently false that Joy agrees with you. So stop saying stuff like that since it is pure propaganda.

I didn't think you would be able to disprove what I am saying about the limits of going to infinity for the number of trials and infinitesimal degree increments. But you are right that it is a waste of time since I am 100 percent correct. We think it is you that is behind the game completely.
gill1109
Mathematical Statistician
 
Posts: 2812
Joined: Tue Feb 04, 2014 10:39 pm
Location: Leiden

Previous

Return to Sci.Physics.Foundations

Who is online

Users browsing this forum: ahrefs [Bot] and 82 guests

cron
CodeCogs - An Open Source Scientific Library