The uniqueness assumption

Difficulty Hard foundation

Some techniques depend on the puzzle having exactly one solution. If an arrangement would let you swap digits to produce a second solution, that arrangement cannot occur in a puzzle known to have just one.

Look for a swap that preserves every house

Use a uniqueness technique only on a puzzle known to have exactly one solution.

Why a second completion matters

Consider R1C2, R1C3, R4C2, and R4C3 in a classic puzzle. Suppose all four began empty and the solution fills them with alternating 1s and 7s.

Swap the 1s and 7s in those four cells. Each affected row, column, and box still has one of each. That gives a second solution.

The same four cells before and after the swap
CellsFirst fillingSwapped filling
R1C2, R1C31, 77, 1
R4C2, R4C37, 11, 7

Two ways to fill four cells

1 / 2

All four cells began empty. The large digits show possible completions.

Fill the first diagonal with 1

Each of the two rows, two columns, and two boxes now has one 1 and one 7 in these cells.

Know when this argument applies

Unique Rectangles and BUG use this argument. Givens must stay in place, and the swap must respect every rule of the puzzle. A rectangle in four boxes or an extra variant clue can prevent the swap.

For an imported puzzle, finding one solution alone does not establish uniqueness.

Check your understanding

1 of 3
A solver stops after finding one solution. Has it proved the puzzle has only one?

See also