Skip to content

Arc consistency, from AC-3 up

Forward checking looks one move ahead; arc consistency makes every cell's candidate list defend itself against every neighbour's, to a fixed point. Mackworth's AC-3, the optimal refinements that followed, and what the whole family actually measured on this puzzle, including where it is unsound.

conceptmeasuredReduce the searchUpdated 2026-07-02
Complexity
Time
AC-3 O(e·d³) · AC-2001 O(e·d²) (optimal for arc revision)
Space
AC-3 O(e) · AC-2001 O(e·d)

On the 16×16 board e = 960 directed interior arcs and d ≈ 764 candidate tuples per cell, so the worst-case gap is ~4×10¹¹ vs ~5.6×10⁸ checks, but real propagations touch only a few cells, and the cost is paid at every search node.

Keep exploring

Page sourceView as Markdown