Unique Corner-to-Corner Grid Path — Interactive Lean 4 Witness (MathOverflow #499752)
Click any interior cell to toggle a wall block and test whether the s → t path stays unique!
Grid n × n
7 × 7
Removed |S|
9
Proven min f(n)
9
Checking paths...
n = 7
Removed wall cell (x in S)
Unique simple path p (or Path #1)
Second simple path p' (when non-unique!)
Degree-1 dead-end leaf (blocks for free!)
Dual Z2 parity χp = 0 (blue) / 1 (purple)