Let X and Y be given.
Assume H: convex_in X Y.
An exact proof term for the current goal is (andER (Y X) (∀a b : set, a Yb Yorder_interval X a b Y) H).