If $p_1, p_2$ are two polynomials in $\mathbb C[z]$, then when $\mathbb C[p_1, p_2]$ is finite codimensional in $\mathbb C[z]$? Are there some sufficient conditions (or NASC) on $p_1, p_2$?
It is apparently clear that if $p_1 = p_2$, $\deg p_1>1$, then it is not finite codimensional. For example, take $\mathbb C[z^2]$.