We know for a differentiable map $f:M\rightarrow M$ equipped with an $f$-invariant probability measure $\mu$, given a point $x\in M$, and a tangent vector $v$ at $x$, the Lyapunov exponent is defined as $$\lambda(x,v)=\overline{lim}_{n\rightarrow \infty}\frac{1}{n}log|Df^n_x(v)|.$$ I want to prove if $(f,\mu)$ is ergodic, then $\lambda$ is constant almost everywhere.
My attempt: We know that if $\mu$ is ergodic, then for any measurable function $U$ which is $f$-invariant, $U$ is constant almost everywhere. Can we check the $\lambda(x,v)$ is a $f$-invariant function?