Inflation in the Rényi cosmology