Order-ideal board representation
ID: order-ideal-board-representation
A downward-closed subset of a finite product grid can be represented by nonincreasing column heights. Occupancy is ; the condition is exactly closure toward smaller coordinates. Removing the northeast rectangle anchored at a legal truncates each height to its right to , preserving closure. This represents a potentially quadratic number of occupied cells using a linear number of boundary values.
New to topics? Read the docs here!