One well-known special case of the Hyperplane Separation Theorem (Separating Axis Theorem) states:
Let $A, B \subset \mathbb{R}^2$ be convex polygons. Then $A \cap B = \emptyset$ if and only if there is a straight line $L$, such that $A \subset L^-$ and $B \subset L^+$
…where $L^-$ and $L^+$ are the open half-planes formed by $L$.
In other words: two convex polygons do not collide if and only if you can draw a straight line between them.

When reading articles about collision detection in computer science, you often find the following, stronger version:
Let $A, B \subset \mathbb{R}^2$ be convex polygons. Then $A \cap B = \emptyset$ if and only if there is a straight line $L$ parallel to one of $A$'s or $B$'s edges, such that $A \subset L^-$ and $B \subset L^+$.

However, I haven't found any proof for this second version anywhere. I'd also think that the generalization is true for $\mathbb{R}^n$ with $n \ge 1$, but I have no idea how to approach this. Anyone?


I think this is an interesting question.
However, the result is not true for dimension $n\geq 3$. Consider the following counter example for $n=3$.
Moreover, this can be generalized by taking $n$-dimensional cubic-prisms and orient them in this way (here an $n$-dimensional cubic-prism has a $n-1$ dimensional cube as it's base).
Also, it sounds like you have a solution for dimension 2. In light of how the conclusion is false for higher dimensions, I do not believe that such a solution will be simple in the sense that it avoids using geometry in 2 dimensions.