Advanced
XY-Chains: change digits, then meet the same digit again
Unlike an X-Chain, this chain changes digits inside each cell before returning to the target digit.
A two-candidate cell passes the implication
Each XY-Chain cell has exactly two remaining candidates. Excluding one forces the other. Consecutive cells must see each other and share the linking digit. Useful endpoints contain the same target digit.
HoDoKu — Chains: links and inferences · SudokuWiki — XY-Chains
Our four original pairs
Use A1={2,4}, A5={4,7}, E5={7,9} and E8={2,9}. The route follows row A, column 5 and row E. Target A8 sees A1 and E8.
If A1 is not 2, it is 4; A5 then becomes 7, E5 becomes 9, and E8 becomes 2. If A1 is 2 instead, it blocks A8 directly. Either way, remove 2 from A8 without deciding which endpoint supplies it.
A third candidate opens a side route
Add 1 at E5, making {1,7,9}. After A5=7, E5 could be 1 rather than 9, allowing E8=9. Neither endpoint is then required to hold 2. Incomplete handwritten notes cannot establish the bivalue premise.
Write the digit, not just an arrow
“A1=4 makes A5≠4, so A5=7” records both the shared-unit exclusion and the two-candidate step. A line connecting two cells records neither on its own. Keep enough detail to retrace each link.
In Classic 9×9, use Scan to scan the current entries, inspect justified eliminations and open this lesson. Chain and ALS searches are bounded; UR Type 1 and BUG+1 require verified uniqueness. Reading this lesson never changes your saved game.
Try before looking
Try before revealing
Can you also remove 4 from A8 because it appears near the start of the chain?
Show explanation
Not from this proof. It guarantees a 2 at one of the endpoints, not a 4.
Separate changing digits from changing cells
An XY-Chain drawing hides two different jobs. Within a two-candidate cell, excluding one digit forces the other. Between cells, a shared unit excludes a repeated digit. The four source cells have complete pairs here; A8 shows only the candidate 2 under examination.
Our own partial teaching example, not a full puzzle. Unlabelled cells do not mean every digit is possible. Read the stated premises before making an elimination.
Solid = exactly one is true · Dashed = not both true · Only the links used here are drawn
Read the diagram as text
A1: 2,4; A5: 4,7; E5: 7,9; E8: 2,9; A8: 2?
- Suppose A1 is not 2, so its pair forces 4. Row A then excludes 4 at A5, whose pair forces 7. That is a unit exclusion followed by a two-candidate inference.
- A5=7 excludes 7 at E5 through column 5, forcing 9. E5=9 excludes 9 at E8 through row E, forcing 2. The far endpoint now supplies the digit we started tracking.
- If A1 was 2 instead, it blocks A8 through row A. Otherwise E8=2 blocks A8 through column 8. Both cases rule out 2 at A8.
HoDoKu — Chains: links and inferences · SudokuWiki — XY-Chains
One missing candidate can break the whole argument
If E5 really has {1,7,9}, removing 7 need not force 9. The assignment A1=4,A5=7,E5=1,E8=9 leaves both endpoints without 2. This is why incomplete handwritten notes cannot establish the chain, even when its drawn shape looks unchanged.
Try these before opening the answers
1. Can A8 also lose 4 because A1 contains it?
Show the reasoning
Not from this chain. The A1=2 case does not force 4 at another endpoint. The shared guaranteed endpoint digit is 2.
2. The drawn links connect cells that see each other. Is that enough?
Show the reasoning
No. Verify the complete pair in each source cell and the digit transmitted at every step as well.
References and further reading
Read the source explanations and compare them with our examples. Links are references, not endorsements or claims of affiliation.