I don't know much about philosopht, but this seems correct. You can rearrange it to apply to the past, instead of the future, and it is still essentially the same, although obviously untrue.
1. An infallible, omniscient, being exists. [Assumption]
2. This being has knowledge that event 'A'...