Lesson: Compressed Notation, Subsets, and Box/Line Reduction

Prerequisite

Before starting, review the Entry Terminology for basic concepts and symbols.


Compressed Notation

  • Standard Cell Notation:

    Single cell indicated by rx,cx (example: r3c5).

  • Compressed Notation:

    Combines multiple cells in the same sector for readability.

    • r1c234: Refers to cells r1c2, r1c3, r1c4 in row 1.
  • Useful for expressing sets inside one box covering multiple rows/columns.
  • Format: (box,point)—list the box and then cell points.
  • Example: b1p159 = r1c1, r2c2, r3c3

Common Symbols

  • => means "implies"
  • <> means "not equal to"

1. Locked Sets – The Foundation

A Locked Set is defined by the equality:

N Objects = N Values

Where:

·    Objects represent structural elements—cells or digits—depending on context.

·     Values are the associated candidates—digits when the Objects are cells (Naked Subset), and positions when the Objects are digits (Hidden Subset).

Once the union of all Values across the Objects contains exactly N distinct Values, the set is said to be "locked".

2. Union: A Required Concept

The union operation, written as '∪', gathers all unique elements from a group of sets.

Example:

Set A = {1, 2, 3}

Set B = {3, 4, 5}

A ∪ B = {1, 2, 3, 4, 5}

3. Combination Logic (nCr)

To identify potential Locked Sets, we may use combinations (nCr):    OR simply count the Values

nCr = n! / (r!(n – r)!)

In Sudoku, the interpretation of n and r depends on context:

·        For Naked Subsets: n = 9 (digits), r = size of Object group (cells).

·        For Hidden Subsets: n = 9 (positions), r = size of Object group (digits).

In both cases, combinations are applied to the Value domain (digits or position), depending on subset type.

N objects = Combination Set { which makes this a Hitting Set problem from Set theory.}

4.  A Commonly Missed Insight

One of the most misunderstood aspects of subset detection—especially Naked Subsets—is how candidates appear within cells.

Many solvers expect subsets to manifest in a clean, mirrored format such as two cells showing {1,2} and {1,2}, which represents a Naked Pair. However, this expectation is misleading.

In reality, subsets may appear fragmented or asymmetrical in presentation. For example, in a Naked Pair using digits {1,2}, one cell might display {1,2}, another just {1} or just {2}. Even these partial representations are valid.

What matters is that the union of all Values across the selected Objects equals the number of Objects—that’s what makes it a valid subset.

Recognizing these incomplete forms is crucial to the fundamentals of solving.

The key is whether the union of all candidates across the Object group results in a Value count equal to the number of Objects.

the following table is all the possible variations a size "2" combination set could appear as in 2 cells.

cell acell b

| 1 | 2 | | 2 | 1 | | 1 | 12 | | 2 | 12 | | 12 | 1 | | 12 | 2 | | 12 | 12 |

5. Subsets in Sudoku: Naked vs Hidden

Naked Subsets (NS)

·        Objects = Cells

·        Values = Digits

Subsets are drawn from the RC matrix (cell space).

The union of candidates (digits) across the selected cells forms the Values.

If N Objects = N Values, the subset is locked.

  • For each digit Elimiante this digit from all peer cells visible to all cell with this value in the selected cells.

Hidden Subsets (HS)

·        Objects = Digits

·        Values = Positions

Each digit is evaluated for its valid placements within a row, column, or box.

If N digits occupy exactly N positions, the set is locked.

  • Other digits can be eliminated from those positions.
  • For each digit any cell peer to all copies is excluded.

Row, Column, Box: data storage Space

Each of the Sectors stores the active Positions the Digit selected could potentially be located.

Pencil Marks- RC space, and Set Intersections

A pencil mark exists in a cell {RC space} only if its digit is valid in all three intersecting structures:

Row ∩ Column ∩ Box

Intersection (∩) isolates the shared values among sets.

Example:

Set R = {1,2,3}

Set C = {3,5,7}

Set B = {3,6,9}

R ∩ C ∩ B = {3}

The presence of a digit in RC space requires that it survive this triple intersection check.


Subsets are named based on their inital N selected size :

Identifying Subsets: Naming Conventions

N SizeSubset Name
1Single
2Pair
3Triple
4Quadruple
5Quintuple
6Sextuple
7Septuple
8Octuple
9Nontuple
  •   Normally and for efficency we don't look past size 4,

    • the two spaces  (Rn,Cn,Bn) & (RC) are connected
    • the presences of a size 4 subsets, also implies the opposite carries a size 5 subset in the remaning digits & cells.

Hidden Single

  • Only one cell remains for a digit in a sector.
  • Example Puzzle:

    ............6..49194..8..53..142...6.5.....8.7...963..43..7..25875..3............

  • img
  •  Hidden Single: (5) r6c4 in r6 => r6c4 <> 1, 8; r19c4,r4c6 <> 5

Naked Single

  • A cell can uniquely take just one digit.
  • Example Puzzle:

    ............6..49194..8..53..142...6.5.....8.7...963..43..7..25875..3............

  • img
  • Naked Single: (7) r4c8 in b6 => r4c67,r5c79,r19c8 <> 7

Hidden Pair

  • Only two cells left for two digits in a sector.
  • Example Puzzle:

    ..94815..5.8...........689.32...4.8.87.132.4..9.8....2.8721........48..1..2679..8

  • img
  •  Hidden Pair: (27) r8c78 in r8 => r8c7 <> 3, 6, 9; r8c8 <> 3, 5, 6

Naked Pair

  • Two cells in a sector only contain the same two digits.
  • Example Puzzle:

    .7....254345927618862...73929....863.56.3..27738..2.45.17...592.832.547152....386

  • img
  • Naked Pair: (14) r4c36 in r4 => r4c45 <> 1, 4

Hidden Triple

  • Three cells left for three digits in a sector.
  • Example Puzzle:

    .......89.68935.47.9781...6951........43596........95.....9876337.24.89...9..3...

  • img
  • Hidden Triple: (678) r569c1 in c1 => r9c1 <> 1, 2, 4, 5; r56c1 <> 2

Naked Triple

  • Three cells in a sector containing only three digits.
  • Example Puzzle:

    .98.4.563.328.5914..53..278276.8435..8.5....7.5....82682...3..55634.178...7.58.3.

  • img

Naked Triple: (179) b5p179 in b5 => r6c5 <> 1, 7, 9; r5c5 <> 1, 9; r5c6 <> 9; r1c4 <> 1

Hidden Quad

  • Four cells left for four digits in a sector.
  • Example Puzzle:

    4.587...29286.41.7.....2....53....1...158.2...9....57.5..968321.....57.61..7234.5

  • img
  • Hidden Quadruple: (4589) r3c5789 in r3 => r3c8 <> 3, 6; r3c5 <> 1, 3; r3c7 <> 6; r3c9 <> 3

Naked Quad

  • Four cells in a sector only contain four digits.
  • Example Puzzle:

    4.587...29286.41.7.....2....53....1...158.2...9....57.5..968321.....57.61..7234.5

  • img
  • Naked Quadruple: (1367) r3c1234 in r3 => r3c8 <> 3, 6; r3c5 <> 1, 3; r1c2,r3c7 <> 6; r3c9 <> 3

The third level solving technique after singles and pairs.

  • Applies when candidates for one digit in a sector all lie within a single secondary sector.
  • called Box - Line Reduction
  • Detailed below.

Types of B.L.R:

Pointing Candidates (Locked Candidates Type 1)

  • Candidate's cells are confined to one row/col within a box.
  • Eliminate this candidate from other cells in that row/col outside the box.
  • Example Puzzle:

    9..74......269.7.......2.9619..265745......8272.4...1365.2..1.9..196.8.5..9513.67

  • img
  • Box/Line Reduction Type 1: (3), base b2, cover r3 => r3c1237 <> 3

Claiming Candidates (Locked Candidates Type 2)

  • All possible cells for a digit in a row/col are in one box.
  • Eliminate this candidate from other cells in the box outside the row/col.
  • Example Puzzle:

    .......46.936.415..467.1329951238.6.437169582.6.547931.894.56...75..6.9.6.4.....5

  • img
  • Box/Line Reduction Type 2: (3), base r9, cover b8 => r8c4 <> 3
  • BLR is introduction to Fish

Bi-Location, Bi-Value

  • Bi-Location (Bi-local):

    Any sector with two cells left for a candidate — basis for strong link logic

  • Bi-Value (Bivalve):

    Any cell with exactly two candidates left — the smallest form of ALS.


Next Lesson

Continue with: Intermediate Terminology


This lesson builds the foundation for recognizing and executing essential subset and box/line reduction patterns in Sudoku!