Why are these two definitions equivalent? (Assuming $C$ is convex)
$f: C \rightarrow \mathbb{R} $ is quasi-convex if for any $x, y \in C$ and $\lambda \in [0,1]$, $$ f((1-\lambda)x + \lambda y) \leq \max\{f(x), f(y)\} .$$
$f: C \rightarrow \mathbb{R} $ is quasi-convex if for any $\alpha \in \mathbb{R}$, $\operatorname{Lev} (f, \alpha) $ is convex.
Where $\operatorname{Lev} (f, \alpha) $ is defined as: $$ \{x \in S: f(x) < \alpha \}$$
I was successful to show that if we have the first definition, it implies the second one, but got stuck on the reverse side.
assume $ x, y \in \operatorname{Lev} (f, \alpha) $ so: $$f(x) < \alpha,$$ $$f(y) < \alpha.$$
Then we have: $$ max\{f(x), f(y)\} < \alpha $$ So by the first definition, we have: $$ f((1-\lambda)x + \lambda y) < \alpha $$ Which implies that:
$$ ((1-\lambda)x + \lambda y) \in \operatorname{Lev}(f, \alpha) .$$