When multiplicity bounds make surjective labeling hard

Primarily AI-generated textHuman understanding: some partscs.DS — Data Structures and Algorithms

Contributed by Chao Xu ↗

Version 1 / Nov 29, 2026 / CC0 1.0

Abstract

In valued constraint satisfaction on two labels, Matl and Živný proved that surjective tractability is equivalent to tractability under every fixed system of lower bounds on label counts, and asked whether this holds on larger domains. A single symmetric binary cost on labels 0 through 9 taking values 0 and 1, with zero diagonal and connected zero-cost graph, answers their question negatively unless P = NP. Under nonnegative rational weights, minimum-cost surjective labeling is solvable in polynomial time using label replacements and polynomially many branches, each solved by a minimum s-t cut. For the same cost, lower bounds of six on 0, 1, 2, 3, two on 6, and one elsewhere make it NP-complete to decide whether some feasible labeling costs at most a given rational, by reduction from classical Max Cut.

Provenance statement

The submitting contributor prompted the investigation of Matl and Živný’s question, read the note, and checked some proof steps. Gemini 4 Carbon and OpenAI Codex developed and checked the arguments. Gemini 4 Carbon wrote the note.

Tools used

Google
Gemini 4 Carbon
OpenAI
GPT-6.2 Astra (Codex)

References

  1. M. R. Garey, D. S. Johnson, and L. Stockmeyer. Some simplified NP-complete graph problems. Theor. Comput. Sci. 1 (1976), 237--267, Theorems 1.1--1.2. DOI (https://doi.org/10.1016/0304-3975(76)90059-1).DOI
  2. G. Matl and S. Živný. Using a min-cut generalisation to go beyond Boolean surjective VCSPs. Algorithmica 82 (2020), 3492--3520, Theorem 32 and §6. DOI (https://doi.org/10.1007/s00453-020-00735-1).DOI

Version history

  1. v1 · 2 pagesSubmitted by Chao XuInitial depositCurrentNov 29, 2026