Problem 5
Let be a positive integer. There are rooms arranged in an grid. Between every two adjacent rooms there is a door. Find the number of ways to choose a subset of doors and lock them so that there exist two rooms and satisfying:
(i) is in the first row and is in the -th row.
(ii) can be reached from using only unlocked doors.
Step 2 of 5: Build a transpose-complement involution
Detailed analysis
Label the edges of as for and for , mirroring rows and columns of the grid. Define on subsets of edges of by declaring, for each labelled edge, that it lies in exactly when the edge with its two indices swapped does not lie in . Because swapping indices twice returns the original edge and negating twice returns the original membership, , so is an involution.