NP-Completeness and Physical Zero-Knowledge Proofs for Zeiger
Suthee Ruangwises
TL;DR
This work establishes the computational hardness of Zeiger by proving its solvability decision problem is NP-complete through a polynomial-time reduction from $\text{NAE3SAT}^+$. It then delivers a card-based physical zero-knowledge proof protocol for Zeiger, built from a suite of card-encoded primitives (copy, set size, summation, and comparing) and an encoding scheme with parameter $b=\max\{k,\ell\}$ that ensures perfect completeness, perfect soundness, and zero-knowledge. The main protocol encodes numbers on the grid as $E_b(x)$s and verifies, for each cell, that the number of distinct values among its directional neighbors matches the cell's value, using $\Theta(bk\ell)$ cards and shuffles. This yields a practically interpretable, computer-free ZKP for Zeiger, with implications for understanding the complexity and verifiability of pencil puzzles and for educational demonstrations of ZKPs.
Abstract
Zeiger is a pencil puzzle consisting of a rectangular grid, with each cell having an arrow pointing in horizontal or vertical direction. Some cells also contain a positive integer. The objective of this puzzle is to fill a positive integer into every unnumbered cell such that the integer in each cell is equal to the number of different integers in all cells along the direction an arrow in that cell points to. In this paper, we prove that deciding solvability of a given Zeiger puzzle is NP-complete via a reduction from the not-all-equal positive 3SAT (NAE3SAT+) problem. We also construct a card-based physical zero-knowledge proof protocol for Zeiger, which enables a prover to physically show a verifier the existence of the puzzle's solution without revealing it.
