English

Witness Set: A Visibility Problem in $NP\cap XP$

Computational Geometry 2026-05-05 v1

Abstract

We study the Witness Set problem, a natural dual to the classical Art Gallery problem. In the Witness Set problem, we are given a polygon PP and an integer kk as input, and the objective is to determine whether PP has a witness set of size at least kk. A point set XX in PP is called a witness set if every point in PP is visible from at most one point in XX. For simple polygons, we show that Witness Set lies in both NPNP and XPXP. This stands in sharp contrast to its dual, the Art Gallery problem, which was recently shown to be R\exists \mathbb{R}-complete by Abrahamsen et al. and is therefore neither in NPNP nor admits a polynomial-size discretization unless NP=RNP=\exists \mathbb{R}. In contrast, we prove that Witness Set for simple polygons admits a finite discretization of size nf(k)n^{f(k)} for some function ff. For comparison, even for simple polygons, Efrat and Har-Peled gave an algorithm for Art Gallery running in time nO(k)n^{O(k)} using tools from real algebraic geometry, and it appears difficult to obtain such algorithms without this machinery. On the other hand, our approach for Witness Set is purely combinatorial and relies on discretization, leading to an nf(k)n^{f(k)}-time algorithm. Although Amit et al. claimed more than fifteen years ago that Witness Set is NPNP-hard, no proof or reference was provided. We show that the discrete version of the Witness Set problem - where the witness set must be chosen from a given finite point set QQ (instead of allowing witnesses to be chosen anywhere in the polygon), referred to as Discrete Witness Set - is NPNP-complete, even when the input is restricted to rectilinear polygons with holes. However, for simple polygons, Discrete Witness Set admits a polynomial-time algorithm by Das et al. Thus, it remains an open question whether the Witness Set problem is NPNP-hard.

Cite

@article{arxiv.2605.01592,
  title  = {Witness Set: A Visibility Problem in $NP\cap XP$},
  author = {Satyabrata Jana and Debabrata Pal and Bodhayan Roy and Sasanka Roy},
  journal= {arXiv preprint arXiv:2605.01592},
  year   = {2026}
}

Comments

24 pages, 17 figures

R2 v1 2026-07-01T12:46:59.506Z