If $p(t)=(1-t)a+tb$ with $a∈A$, $b∈B $ and $t∈R^1$, how can I prove that $A_0=p^{-1}(A)$ and $B_0=p^{-1} (B) $ are separated subsets of $R^1$?
Remark: in a metric space two set A and B are said to be separated if $A∩{\overline B} =∅$ and ${\overline A}∩B=∅$, this means that no point of A belongs to the closure of B and no point of B belongs to the closure of A.