sudokUI

sudokUI › Sudoku techniques › ALS-XZ

ALS-XZ in sudoku

ALS chain of two sets · VWXYZ-Wing is a special case · how it fits

Unfair · rating cost 300 · Almost Locked Sets · also called ALS-XZ Rule, Almost Locked Sets XZ-Rule

Two almost locked sets, each within one unit and sharing no cell, both contain two digits, X and Z, and every X in one sees every X in the other.

Why it works

X cannot be placed in both sets, so at least one set is left with as many candidates as cells and must contain Z. So Z is removed from every cell outside both sets that sees every Z in both sets.

How to spot it

Start with small sets such as bivalue cells, find two that share two digits, then test whether one digit's cells all see each other.

Worked example

ALS-XZ example on a sudoku board. ALS-XZ: sets A (r8c2, r9c1) and B (r7c8, r8c9) each hold one digit more than they have cells, and every 1 of A sees every 1 of B, so at most one of them keeps a 1. The other loses its 1, its other digits fill its cells, and it holds a 5: A or B holds a 5, so 5 is removed from every cell that sees every 5 of both. Here, 5 is removed from r7c1.
remove: sees every 5 of set A and of set B, and one of the two holds a 5 true, if set A holds no 5 (by the small dot) false, if set A holds no 5 (by the small dot) lettered cells: an almost locked set, one digit more than cells; without any one of its digits, the others fill its cells

ALS-XZ: sets A (r8c2, r9c1) and B (r7c8, r8c9) each hold one digit more than they have cells, and every 1 of A sees every 1 of B, so at most one of them keeps a 1. The other loses its 1, its other digits fill its cells, and it holds a 5: A or B holds a 5, so 5 is removed from every cell that sees every 5 of both. Here, 5 is removed from r7c1.

Step 31 of this puzzle's solution, found and verified by the sudokUI engine. Cells are named by row and column: r2c3 is row 2, column 3. Play this puzzle from the start.

Practise it on a real puzzle. sudokUI generates a puzzle that needs ALS-XZ and takes you straight to the position where it applies. Hints draw the pattern on the board and explain the step.

Practice ALS-XZOpen in the app's guide

In a puzzle's HoDoKu rating

Each time the solver needs ALS-XZ, the puzzle's HoDoKu rating grows by 300. Its class is Unfair. It is needed in 1 in 37 puzzles that sudokUI generates. How the HoDoKu rating works.

More almost locked sets

ALS-XY-Wing · ALS-XY-Chain · Death Blossom

← Grouped Nice LoopALS-XY-Wing →