XYZ-Wing

An XYZ-Wing is a close cousin of the XY-Wing. The pivot holds three candidates {X, Y, Z}; two pincers, both seeing the pivot, hold {X, Z} and {Y, Z}. One of the three cells must be Z, so any cell that sees all three cannot be Z.

Level: first needed at Extreme · Technique 11 of 12 in our grading order

Real position from our extreme pool (puzzle #4). Press Next step to see how xyz-wing applies.

Why it works

Consider the pivot’s three options. If it is Z, then Z is in the pivot. If it is X, the {X, Z} pincer cannot be X, so it is Z. If it is Y, the {Y, Z} pincer is Z. In every case, Z sits in the pivot or one of the pincers. A cell that sees all three would clash with whichever one is Z.

Compared with the XY-Wing, the extra possibility — that the pivot itself is Z — means the target cell must see the pivot too. That shrinks the elimination zone a lot: in practice, the target cells are in the box shared by the pivot and one pincer, on the line that runs to the other pincer. There are at most two such cells.

How to spot it

Look for tri-value cells (three candidates) and treat each as a pivot. Among its peers, find two bi-value cells that are subsets of the pivot — {X, Z} and {Y, Z} — and that are different from each other. Their common digit is Z. Then check the cells that see all three for a Z candidate.

Because one pincer almost always shares a box with the pivot and the other shares a line, the quickest scan is: for each tri-value cell, check its box for a bi-value subset, then its row and column for the complementary one. The example board comes from our Extreme pool, at a point where no XY-Wing, fish, triple or simpler move existed. Step through it to see the shape and the single Z it clears.

How often does it help?

Honestly, not often — the elimination zone is tiny. But when a puzzle is stuck at the very top end, an XYZ-Wing is a cheap check before reaching for chains. In our grading it is the last named technique (tier 6). Puzzles that need it, or that need something beyond our technique list, are graded Extreme.

Common mistakes

The most frequent error is applying XY-Wing eliminations — cells that see only the two pincers. With an XYZ-Wing the target must also see the pivot. A second is pincers that are not subsets of the pivot: {X, W} does not work. And both pincers must be different: two copies of {X, Z} plus a pivot {X, Y, Z} is not an XYZ-Wing (although it may be a naked triple if they share a house).

Beyond the XYZ-Wing

Extreme puzzles sometimes need moves our grader does not name: longer chains, coloring, forcing nets. When our hint engine reaches such a point, it says so plainly, shows the cell with the fewest candidates, and gives you the digit. We would rather be honest than dress a guess up as logic.

Practice

Play Extreme puzzles with full notes. After you have run every tier-5 check, list the tri-value cells — usually only a handful — and test each as an XYZ pivot. It takes a minute and turns up the move more often than you might expect in this pool.

Quick checklist

  1. List the tri-value cells; each is a possible pivot {X, Y, Z}.
  2. Find a bi-value subset in the pivot’s box and another in its row or column.
  3. Check that the two pincers differ and share one digit, Z.
  4. Remove Z only from cells that see the pivot and both pincers.

About the example board

The board comes from puzzle #4 of our Extreme pool. It started with 28 givens; at this point 51 cells are filled and the remaining 30 empty cells hold 73 pencil-mark candidates. Our grader tried every easier technique first and none of them applied — xyz-wing was the simplest way forward. The move removes 1 candidate: XYZ-Wing: R1C7 {2,6,8}, R1C6 and R2C7 guarantee a 2 among them, so remove 2 from R1C9.

After applying it, the next step the grader finds is a pointing pair: In box 3, 2 is confined to column 7 (R1C7, R2C7), so remove 2 from R5C7, R9C7. That is typical: one harder move usually unlocks a run of easier ones.

Related techniques

← XY-Wing · Simple coloring →

Written by Nina Patel. Example board generated by the Sudokua grader from our own puzzle pool. See all techniques.