Almost Locked Sets (ALS)

Difficulty Master

An almost locked set has one more possible digit than cells, all in one house. Losing one digit forces the set to use every other digit. Two sets can pass that restriction between them through a shared candidate.

Find two sets with a shared digit

Find two almost locked sets near each other. Start with a two-candidate cell or two cells in one house with three different candidates.

An almost locked set (ALS) has one more candidate digit than cells. All its cells share a house, so they must use different digits. The set can omit exactly one digit from its combined list.

One digit short of a locked subset

Two cells with {1, 2} and {2, 3} form an ALS. If the set loses 1, the first cell must be 2 and the second must be 3. Those two digits now fill the set.

ALS-XZ: connect two sets

  • ALS-XZ Rule

Choose a shared digit X. Every X in the first set must see every X in the second. At least one set must then omit X and use every other digit.

If the sets also share Z, one set must use Z. Remove Z from any outside cell that sees every possible Z in both sets.

Named patterns in the ALS family

  • ALS-XZ links two sets through a restricted common candidate.
  • Some WXYZ-Wings split into two linked sets with four cells in total.
  • An ALS-XY-Wing links three sets through two different restricted common candidates.
  • In an ALS Chain, each middle set uses a different digit for each of its two links.

In a chain of sets, a digit forced into one set can rule it out in the next. The named patterns use different numbers of sets or links.

Examples

Example 1

Example 1 ready.

Each set shares one house, so its cells need different digits. Each set has one extra candidate digit and must use all the others.

  1. Set 1 is at R3C7 and R5C7. Set 2 is at R2C4, R2C5, R2C7, and R2C9.
  2. The 3 candidates in sets 1 and 2 share column 7. Placing 3 in one set rules it out in the other.
  3. At least one set skips 3. That set must use its other digits, including the shared 1.
  4. At least one of R3C7, R2C5, R2C7, and R2C9 must be 1. Putting 1 in R2C8 would block all of those spots.

The shared digits in this example

R3C7 and R5C7 allow three digits between them, 1, 3, and 4. R2C4, R2C5, R2C7, and R2C9 allow five digits, 1, 3, 4, 5, and 9.

The 3s in both sets share column 7. At least one set must omit 3, so it must use its other digits, including 1.

R2C8 sees every possible 1 in both sets. Remove 1 from R2C8.

Remove 1 from R2C8.

Trainer

Difficulty Master

Try an ALS pattern

Walkthrough

Use Pencil mode to remove a candidate.

Related lessons and references

Some example positions come from HoDoKu regression library.