I got this from today's test.
Let $z\in \mathbb{C}$. If $|z^2 + 2019| < 2019$ prove that $|z + \sqrt{2019}| > 31$
I tried triangle inequality, but doesn't work. I also tried using contradiction, that is $|z + \sqrt{2019}| \leq 31$ then letting $z = x + iy$ but then turn to a mess. So far I've got $$(x^2 + y^2)^2 + 4038(x^2 - y^2) < 0$$ from the assumption.
Any hint? Thanks!

The solution follows from the following lemma.
Lemma. For $z\in\mathbb C$, we have that $$|z^2+1|<1\qquad\text{implies}\qquad |z+1|>\frac{1}{\sqrt 2}.$$
The solution follows easily once we have the lemma, since we may introduce a positive real $r>0$ and replace $z$ with $z/r$ to deduce that $$ |z^2+r^2|<r^2\qquad\text{implies}\qquad |z+r|>\frac{r}{\sqrt 2}. $$ Taking $r=\sqrt{2019}$ and noting that $\sqrt{2019/2}>31$ yields the solution.
Now for the proof of the lemma, observe that $$ |z^2+1|^2=(|z|^2-1)^2+(z+\bar{z})^2\geq \frac{(|z|^2+z+\bar{z}-1)^2}{2}=\frac{(|z+1|^2-2)^2}{2}, $$ and thus $|z^2+1|<1$ implies that $|z+1|^2>2-\sqrt{2}$, which is a slightly stronger bound than in the lemma (since $2-\sqrt{2}>1/2$).
Side note. Putting the tight bound through, we see that the best constant in place of $31$ is $$ \sqrt{2019}\cdot\sqrt{2-\sqrt 2}\approx 34.39 $$ To see that this truly the best constant, it is necessary to consider the equality case in the inequality we used during the proof of the lemma. In fact, we can tighten the inequality to an identity $$ 2|z^2+1|^2=\bigl(|z+1|^2-2\bigr)^2+\bigl(|z-1|^2-2\bigr)^2, $$ which illuminates what is going on.