Let $P\in{\mathbb R}[X]$ be a polynomial and $[a,b]$ be a bounded interval. Of course, the graph of $P$ is an algebraic set. I am interested in the lower convex envelope $\bar P$ of $P|_{[a,b]}$. It seems to me that its graph is semialgebraic. However I am not at all familiar with real algebraic geometry. Is there a clear justification ?
At least, the graph of $\bar P$ is the union of arcs of the graph of $P$, together with bi-tangents. The latter are obtained by an elimination in a system of two algebraic equations.
Same question when replacing $P$ by $\min(P,Q)|_{[a,b]}$ where $P$ and $Q$ are two polynomials.
Perhaps my question looks obvious for specialists, in which case I should be happy with a proper reference.