This just came up in my youth chess training.
A very general definition of "having the opposition", including even rare cases, is
- A: All corners of the (axis-parallel) rectangle spanned by the two kings have the same color, the opponent has the move.
A more "operational" description of "having the opposition" is
- B: Regardless how the opponent king walks out of opposition, you can walk in again.
Prove A=>B. (Danger, the board has edges, so you have to include in your proof that the mobility of your king may be limited!)
EDIT: Of course, see comment below, it is assumed that the board is empty except the two kings. Otherwise "opposition" might be meaningless due to inaccessibility of squares to the kings, and the more general theory of "corresponding squares" sets in.