Let $f$ be an analytic function defined on open unit disk with $|f(z)|\leq 1-|z|$. I need to establish $f$ is zero on disk .
If I'm able to prove that $f(0)=0$ and $f(0)\leq f(z)$ then $f$ is identically zero, I'm not able to achieve either of them. Any hint would be sufficient.
The unit circle satisfies $|z|=1$, therefore you have $|f(z)|\le 1-1=0$ on the boundary of the unit disk.
Since for the analytic function $f(z)$, the maximum of |f(z)| on the unit disk is attained on the boundary and this maximum is $0$, we have $f(z)=0$ on the entire unit disk. The above proof works only if the function is analytic on the closed unit disk. For the case where $f$ is defined on the open disk see the proof given by UserS.