Sunil said:
First, no, it matters. If the algorithm is complicate enough, there will be no correlation.
OK, let's make this more clear:
let S0 be the microscopic state (position/momenta of charge particles+electric/magnetic fields) of the source at a certain (initial) time before the experiment. Let D10 and D20 be the corresponding microscopic states of the detectors. Since all charged particles interact, the hidden variable, lambda (the polarisations of the emitted EM waves at some later time) would be given by a very complicated function like:
lambda = f(S0,D10,D20).
So, lambda cannot be independent of either D10 or D20, it's a function of them.
Since the theory is deterministic, the final state of the detectors, at the moment of measurement (D1f, D2f) will also be a function of their initial states (D10 and D20), so lambda cannot be independent of D1f and D2f. In other words, the hidden variable is not independent on the measurement settings.
Sunil said:
Correlations do not appear out of nothing. Instead, they have causal explanations. If, by modifying the seed for my random number generator, I modify the angles of my devices, but by whatever way also influence the emitter, this will not lead to a correlation.
If you modify the seed, you modify D10 to D10'. In this case you will have:
lambda'=f(f(S0,D10',D20).
There is no reason to assume that lambda' = lambda, as the argument of the function is different, so a change of the seed implies a change of the hidden variable. Again, the independence assumption fails.
Sunil said:
If you think it leads to a correlation, and, moreover, even think that doing this in many different ways will not destroy this correlation...
I have no idea what correlations, if any, can be generated in this way. I have no intuitive grasp on how the solution to those 10^26 equations looks like. What I know is that the hidden variables and detector settings can't be independent, so Bell's theorem can't rule out any theory with long-range interactions. I do not claim that such theories can reproduce QM (maybe they can't), but the opposite claim, that they cannot reproduce QM, is also lacking any evidence. We just don't know.
Sunil said:
This ultimate conspiracy theory is named superdeterminism, and those who believe it ... ok, self-censored.
There is no need to posit any conspiracy. Interacting objects are not independent, this is the only point I am trying to make. Since one premise of Bell's theorem is not fulfilled, the conclusion does not follow. The conclusion might still be true, but not necessarily so.
Sunil said:
But in this case I have to repeat the objection that you have to give up science in general.
As explained, the above argument applies only to interacting systems. Even in a Bell test, the macroscopic settings of the detectors are independent parameters (since the interaction between their constituent particles cannot determine a macroscopic rotation of the device). So, you can assume independence in all experiments where the microscopic arrangement is not relevant, which includes almost everything except Bell tests and a few other quantum experiments.
I also think that the importance of the independence assumption is greatly exaggerated. Most experiments do not depend on it.
Sunil said:
And you cannot invent a situation where the independence assumption would be justified, thus, no scientific experiment can prove anything.
It's not about inventing anything. You analyze the situation and determine, based on what we know, what is independent and what is not. It's a scientific, objective criteria.