WorksComputer Science
The VC-Dimension of Visibility in Simple Polygons Is Six
Abstract
Six targets in a simple polygon can be placed so that, for every subset of the targets, some point in the polygon sees precisely that subset—that is, the polygon shatters the six targets. We prove that no simple polygon shatters seven targets. Together with Valtr's six-target construction, this determines the maximum visibility VC-dimension of a simple polygon to be six (even when the targets must lie in strictly convex position) and improves the previous upper bound of due to Gilbers and Klein. To rule out a shattered set of seven targets, we classify its convex-hull structure into cases. In each case, the absence of holes in the polygon forces visibility relations that we encode as Boolean constraints on links and triple orientations. Independently checkable SAT refutations exclude all cases. The upper-bound proof was derived using AI. A separate Lean 4 formalization independently verifies the upper bound against an axiomatic interface for simple polygons.