This has already been addressed at great length on here, but here goes again...
In your universe, subject to linear time, you have to choose between A and B at time T.
At T-1 you have not made that choice.
However, at T-1 god knows infallibly that you will choose A at time T.
So at Time T, can you choose B?
Obviously not, or it would render god fallible as his knowledge would be wrong.
Therefore god's infallible omniscient restrict free will.
If God knows what I will choose, that means that I will choose. Otherwise, it is not clear what He knows. The fact that I will not choose what God knows I will not choose, does not entail that I did not choose.
Again, you are assuming God is also following linear time. That is not necessarily true. He could be outside of time and see things in the same way we see things in the past. But then, again, what is the difference? Watching a documentary is like watching events located at another spacetime location. Depending on the time ontology, these events are still happening at that time location. For instance, B theory, and time ontologies derived from relativity, expect that events at spacetime locations never cease to exist.or to happen.
In that case, knowing what happens next in the documentary, entails knowing exactly what is happening next at that spacetime location, just because of my position in spacetime today, and that entails nothing about the freedom of will, or lack thereof, of the characters involved at that remote spacetime location.
If I had a time machine, that exploits that spacetime ontology, and went back to Germany before WW2, knowing what Hitler will unavoidably do, does not entail that he has no free will to do it.
Consider this: if God knows everything, do you think that would break QM? I ask because if He knows how a spin measurement will turn out, might turn the experiment not random, despite QM. For, if He knows how the spin will be measured at time T, we can deduce that it cannot be measured differently. Ergo, measurements in QM are not inherently random, either. They are fully deterministic because of God.
this is of course a non sequitur. X can be as random as it can be, and knowing in advance how it will turn out, on account of having a view of the unchanging future, does not make it less random.
ciao
- viole