Nullify Matrix

Status: incomplete (not a verified solution for the stated domain). Deeper read-only research identifies this as mathematically equivalent to the published graph game Grim on the corresponding bipartite graph (after normalizing isolated vertices), but that correspondence does not provide a proven polynomial-time algorithm for arbitrary 100 x 100 instances and no hardness theorem for this restricted class is claimed here. The exact mask-search recurrence shown in this content is faithful in form for small cases, but it has not been proven scalable or verified for the full stated domain; treat current approaches, complexity claims, and fixtures as historical/provisional, not accepted.

Alice and Bob play a game on an m x n binary matrix. On each turn, a player picks a row or column that contains at least one 1, and nullifies it (sets all entries in that row or column to 0). The player who cannot make a move loses. Given the initial matrix, determine if Alice (first player) has a winning strategy assuming both play optimally.

Examples
Input: [[1]]
Output: true
Hints

Nullify Matrix

> **Status: incomplete (not a verified solution for the stated domain).** Deeper read-only research identifies this as mathematically equivalent to the published graph game Grim on the corresponding bipartite graph (after normalizing isolated vertices), but that correspondence does not provide a proven polynomial-time algorithm for arbitrary 100 x 100 instances and no hardness theorem for this restricted class is claimed here. The exact mask-search recurrence shown in this content is faithful in form for small cases, but it has not been proven scalable or verified for the full stated domain; treat current approaches, complexity claims, and fixtures as historical/provisional, not accepted.