E-fold count for the natural-inflation cosine potential (source code)

= E-fold count for the natural-inflation cosine potential

For the <natural inflation> <inflaton potential> $V(\phi)=V_0[1+\cos(\phi/f)]$, take $V_0>0$, $f>0$ and the rolling branch $0<\phi_i<\phi_f<\pi f$. Here $V'<0$, so the <slow-roll equations> make $\phi$ increase. Since
$$
\frac{V}{V'}=-f\cot\frac{\phi}{2f},
$$
the <slow-roll e-fold count> gives
$$
N\simeq\frac{2f^2}{M_{\rm Pl}^2}
\left[\log\sin\frac{\phi_f}{2f}-\log\sin\frac{\phi_i}{2f}\right].
$$
The result is positive because the sine increases along this branch. Reversing these logarithms would give a negative expansion count. The upper endpoint should lie within the <slow-roll approximation>, or be understood as an approximate extrapolation to the end of <cosmic inflation>. Starting closer to the potential maximum at $\phi=0$ increases this classical count, while an exactly stationary field there is not a monotonic rolling trajectory.