Hamiltonian 

At the end of the article on Hamiltonians, you mention that in discrete time the costate variables have to be considered a timestep ahead of the state variables. It's not particularly clear why this is - could it be explained quickly, or referenced?