Stack Exchange network consists of 183 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.
The action of $f$ on $V_p(A)$ comes from an action of $B$ on $V_p(A)$, and the minimum polynomial of $f$ in $B$ has distinct roots (even distinct integer roots in your case).