Documentation

CslibFrontier.Computability.PolyTime.CSP.DistinctVars

Polynomial-time distinct occurring variables of CSP instances #

The original certificate lists variables in order of first occurrence, preserving the framed CSP and variable encodings. It is extracted unchanged from the counting application so that other native CSP algorithms can use it without importing fine-grained counting endpoints.

Main results #

Listing the distinct occurring variables CSP.distinctVars in order of first occurrence is computable in polynomial time.