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.

Alternating Inference Chains (AICs) in Sudoku: worked example diagram
Worked example: the highlighted cells form the pattern; red cells lose a candidate.

What it is

A strong link means ‘if this is false, that is true’ (for example, a digit with only two spots in a unit, or a cell with only two candidates). A weak link means ‘if this is true, that is false’ (two candidates that see each other, or two candidates in the same cell). An AIC alternates strong, weak, strong… and starts and ends with a strong link. Then at least one of its two end candidates is true. If both ends are the same digit, any cell that sees both ends loses that digit.

When to use it

Expert puzzles, after wings and coloring. Short chains of four to six links are the most practical.

How to apply it, step by step

  1. Pick a candidate that is part of a strong link and write down its partner.
  2. From the partner, take a weak link to a candidate it sees or shares a cell with.
  3. From there, take another strong link.
  4. Continue until you reach a strong link that ends on a useful candidate.
  5. 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.

Your learning path

Ready to practise?
Try it on today’s free daily Sudoku, or start a practice puzzle at your level.