We see arguments on morality and God sometimes have God observing and knowing the outcome of a decision. God is the ultimate voyeur.
OK, the theists will now be getting that tingling feeling so lets say you decided to choose an action according to if a Turing Machine halted.
For God to know what action you would take then God would have to know the solution to the halting problem.
The halting problem is an undecidable problem (i.e. it is impossible to construct a single algorithm that always leads to a correct yes-or-no answer ). We've proven that one.
Obviously another way of doing this is to simply toss a die but we do get die-hard determinists so using the undecidable Halting problem allows me to eliminate determinism from the problem.
God doesn't know the outcome. You are making a decision that God is not privy to.
You still have the free-will to decide to have used the TM halting problem in the first place, but this ensures that unless God has some magic means of seeing all natural numbers, we have blinkered God to waiting for the machine to halt.
What flaws does this line of reasoning have ?.