Contradiction
Extreme
Used by Smart Hint
Suppose the cell were ship (or water) and follow the consequences — if a line overflows or a ship has nowhere left to go, the opposite must be true.
- Ship segment
- Water
- Cells that establish the pattern
- Where the conclusion lands
How it works
- Say one 3-ship is all that's left, and the open cells form an L: three along the top, two more running down from the corner.
- Suppose the corner cell were water, and follow it. The top row would be down to two open cells in a row, and the column to two — neither long enough for a 3-ship.
- The last ship would have nowhere on the board to go. That can't be, so the supposition was wrong: the corner is a ship.
- That's the whole method — assume, propagate, and if a line overflows or a ship runs out of homes, take the opposite. It only ever looks a few steps ahead, matching what a person could trace by hand.
- Note the solver would never actually need it here: every placement of that 3-ship passes through the corner, so Placement Overlap gets there first and more cheaply. Contradiction is the last resort, reached only once every constructive rung has run dry.