Time, laws, and the future of cosmology