gill1109 wrote:Yes this is a simulation of Pearle's model and mainly my code, but with most comments giving some kind of attribution to all the people who contributed code, algorithms, or ideas, removed. Christian does thank Zen aka Chán Satori for the code to draw the 3d surface. I would also like to see little balls floating on the surface at the four points corresponding to the four CHSH setting pairs.
Joy thinks it is a simulation of his model, but whether that is true or not, it *is* a simulation of Pearle's model too. That fact cannot be denied. Not only is it a simulation of Pearle's model, the formulas which Christian has copy-pasted from my simulation of Pearle's model were deduced by me during a week of blood sweat and tears, from Pearle's paper; during which my derivation was also double checked by Florin Moldoveanu. (Not by Christian).
He is learning R by imitation, which is fine, but he also needs to learn good coding (and scientific) practices, e.g. proper attribution of all your sources. He obviously does not ever want to be accused of plagiarism.
Posting the announcement of this Rpubs document here is really off topic in this thread, but OK, it's nice to see Chán's pictures confirming Pearle's and my mathematics.
Proper credits are already given in the companion simulation:
http://rpubs.com/jjc/13965:
## This is S^2 version (aka 3D version: think of S^2 as a surface in R^3)
## This version has been adapted from Richard Gill's optimized version of
## Michel Fodje's original simulation of the model, which can be found here:
##
http://rpubs.com/gill1109/EPRB3opt. Later Richard Gill improved his 3D
## version by employing the exact probability distribution derived by Philip
## Pearle in his classic 1970 paper:
http://rpubs.com/gill1109/Pearle. It
## should be noted, however, that, unlike Pearle's model, the 3-sphere model
## has nothing whatsoever to do with data rejection or detection loophole.
## All of the above simulations are inspired by the original simulation of
## the 3-sphere model by Chantal Roth,
https://github.com/chenopodium/JCS2.
It is also important to note that the simulation I have posted is NOT Pearle's model. To understand why it is not Pearl's model you have to understand the detailed analytical derivations of his model as well as my model, and then the connection between the two models given in this paper:
http://libertesphilosophica.info/blog/w ... 1/EPRB.pdf.
The two people who deserve the most credit for ALL the simulations are actually Chantal Roth and Michel Fodje. Without their pioneering attempts to simulate my model, with months of dedicated work in isolation, in entirely
civilized and pleasant interaction, is what brought about the present flurry of activities around my work. For years many people, including myself, thought that it was not possible to simulate my model. But my months of intense efforts in collaboration with Chantal Roth changed all that. Then came the breakthrough contribution by Michel Fodje. This was then improved upon by Richard Gill, as I mention in the above credits.
In any case, I have updated the current simulation to reiterate the proper credits from the companion simulation:
http://rpubs.com/jjc/16567.