Documentation

DescriptiveComplexity.Problems.OneInSat.Counting

#1-in-SAT: counting exactly-one models #

The counting version of DescriptiveComplexity.OneInSAT: the number of assignments giving every clause exactly one true literal. As for #SAT, an assignment is a set of variables of the formula – of elements occurring in a clause (DescriptiveComplexity.OneInModel).

DescriptiveComplexity.SharpOneInSAT is in #P (DescriptiveComplexity.sharpOneInSat_mem_sharpP); its parsimonious hardness is in DescriptiveComplexity.Problems.OneInSat.CountingFromSat.

The set ν of true variables is an exactly-one model of the CNF formula: every clause has exactly one true literal, and ν consists of variables of the formula.

Equations
Instances For
    Dependency graph
    Dependency graph

    The number of exactly-one models is the number of witnesses of the kernel.

    Dependency graph

    #1-in-SAT: the number of assignments of the variables of a CNF formula giving every clause exactly one true literal.

    Equations
    • One or more equations did not get rendered due to their size.
    Instances For
      Dependency graph

      An exactly-one proper assignment restricts to an exactly-one model: only its values at the variables of the formula matter.

      Dependency graph
      Dependency graph
      Dependency graph