Expert technique
Alternating Inference Chains (AICs) in Sudoku
An alternating inference chain is the general idea behind XY-Wings, W-Wings and coloring. Once you can read one, many named patterns become the same move.
How to apply it, step by step
- Pick a candidate that is part of a strong link and write down its partner.
- From the partner, take a weak link to a candidate it sees or shares a cell with.
- From there, take another strong link.
- Continue until you reach a strong link that ends on a useful candidate.
- If both ends are the same digit, remove it from cells that see both. If the ends are different digits in one cell, remove the cell’s other candidates.
Worked example
Strong: 5 in row 2 can only go in r2c1 or r2c8. Weak: 5 in r2c8 and 5 in r7c8 share column 8, so they cannot both be true. Strong: 5 in row 7 can only go in r7c8 or r7c3.
Read it as: if r2c1 is not 5, then r2c8 is 5, so r7c8 is not 5, so r7c3 is 5. One end is always 5, so any 5 that sees both r2c1 and r7c3 — such as r2c3, r1c3 or r3c3 — can be removed. (This short chain is also called a Skyscraper.)
Common mistakes
- Ending on a weak link. A valid AIC starts and ends with a strong link.
- Treating a weak link as strong. Two candidates that see each other are only weakly linked unless they are the only two options.
Questions
Do I need to learn every named chain pattern?
No. Most named wings are short AICs. Learning AICs covers them all.
Is an AIC guessing?
No. Every step is a proven implication, so no trial and error is involved.