A cosmology of a trans-Planckian theory and dark energy