It is Logically Impossible for God to Have Perfect Foreknowledge

Arguments1. Omnipotence1a. Free WillOmnipotence entails the free will of the omnipotent one. In order for a being to be unrestricted and do whatever it wants, it's obvious that it must have the freedom to do what it wants. It must be capable of having desires, making decisions accordingly, and acting upon those desires. If a being can not decide its course of action, or can not do what it wants, it is not unrestricted.1b. PreeminenceOmnipotence entails the preeminence of the omnipotent one. If the being is not superior to and above all other beings, it is possible that its choices could be obstructed by an equal or greater power, rendering it restricted and negating its omnipotence. Therefore, for a being to be omnipotent, it must necessarily be preeminent. From these two points, we see that God must have both free will and preeminence.2. Perfect ForeknowledgePerfect foreknowledge is necessarily unalterable. Details of a particular point in the future can not change, or else the foreknowledge was not perfect. If at time "A" God knows that I will eat an apple in the future, but then at time "B" God's foreknowledge changes and I will not eat the apple, such a change would render the foreknowledge God possessed at time "A" imperfect. From the time God's perfect foreknowledge began, its perfection had to extend into infinite future. At the moment in time that God's foreknowledge began, the future was set in stone. The future can not change or deviate from what God has foreknown, or it renders his foreknowledge imperfect.3. Contradictions3a. RestrictionIf we accept that an omnipotent God must have an unrestricted free will, and if we accept that the future can not be altered from what is foreknown in order for the foreknowledge to be perfect, we see the following:If God's foreknowledge is perfect, he is restricted. He must follow the path he has foreknown, without deviation, without choices. He has no free will in any given moment, because every moment is already determined. If, on the other hand, God can alter the future, his foreknowledge of future events is not perfect. If God has freedom to deviate from what he has foreknown, the future is nebulous, and God's foreknowledge is imperfect.3b. The Source of Perfect Foreknowledge3b1. It Existed Infinitely With GodThis can not be the case, because God is necessarily preeminent. If his perfect foreknowledge of me eating an apple today existed infinitely in the past, then for all intents and purposes I and the apple, at least conceptually, have existed infinitely in the past. God could not deviate. He had no choice but to create me and create apples, or else his foreknowledge would be imperfect. Not only does this restrict God's will, it also negates his preeminence. If my actions have existed infinitely in the form of God's foreknowledge, then, in essence, my actions have restricted God's actions. This makes my actions preeminent to God's.3b2. He Gave It To Himself At Some PointThis also can not logically be the case. In the moment that God somehow gave himself perfect foreknowledge of the future infinite, he would have ceased to be omnipotent. All of the restrictions that come with perfect foreknowledge would have bound him immediately. Not only does this remove his omnipotence presently, but it negates his omnipotence prior to giving himself the foreknowledge. There was a course of action floating around out there that could limit God, and God could not take it without being limited. Therefore, if God could at any time give himself perfect foreknowledge, he has never been omnipotent.3b3. Someone Else Gave It To HimI hope it's obvious why this can not be the case. An omnipotent God must be preeminent. ----------------------My arguments show that God can not logically be omnipotent and possess perfect foreknowledge at the same time. I look forward to my opponent's arguments.