Documentation

CslibFrontier.Computability.Complexity.Problems.OneInThreeSAT

Positive exact-one satisfiability #

All four positive languages prohibit negated literals. Three bounds clause length by three; ExactThree requires three distinct variables in each clause. The final Three bounds total literal occurrences per variable by three, including repeated positions.

These notions reuse the signed CNF representation and the occurrence-count semantics CNF.evalOne. Certificates use the same first-occurrence assignment as ordinary SAT.

Main definitions #

Main results #

References #

Exact-one satisfiable formulas, without a clause-size or polarity restriction.

Instances For

    Evaluate exact-one clauses under the usual first-occurrence certificate assignment.

    Instances For

      The standard SAT certificates also represent every exact-one satisfying assignment.

      Exact-one satisfiability belongs to NP.

      Check that all literal polarities are positive.

      Instances For
        theorem Cslib.Complexity.OneSAT.positiveCheck_iff (φ : Logic.PL.CNF ℕ) :
        positiveCheck φ = true ↔ ∀ c ∈ φ, ∀ l ∈ c, l.2 = true

        Positivity means that every occurring literal has polarity true.

        Check for three distinct variable positions without any restriction on the input length.

        Instances For

          The exact-clause check requires three pairwise distinct variables.

          Positive exact-one satisfiability with at most three literals per clause.

          Instances For

            Positive exact-one satisfiability with exactly three distinct variables per clause.

            Instances For

              Positive width-three exact-one satisfiability with at most three occurrences per variable.

              Instances For

                Positive exact-three exact-one satisfiability with at most three occurrences per variable.

                Instances For

                  The positive width-three syntax guard.

                  Instances For

                    The syntax guard checks exactly the nonsemantic restrictions.

                    Membership is the syntax guard together with exact-one satisfiability.

                    Positive width-three exact-one satisfiability belongs to NP.

                    The positive exact-three syntax guard.

                    Instances For

                      The syntax guard checks three distinct variables and positivity.

                      Membership is the syntax guard together with exact-one satisfiability.

                      Positive exact-three exact-one satisfiability belongs to NP.

                      Check positivity, width three, and at most three occurrences per variable.

                      Instances For

                        The bounded positive syntax guard checks exactly the syntactic restrictions.

                        Membership is the syntax guard together with exact-one satisfiability.

                        Positive width-three exact-one satisfiability with occurrence bound three belongs to NP.

                        Check positive exact-three clauses and the occurrence bound three.

                        Instances For

                          The bounded exact-three guard checks exactly the syntactic restrictions.

                          Membership is the syntax guard together with exact-one satisfiability.

                          Positive exact-three exact-one satisfiability with occurrence bound three belongs to NP.

                          Count exact-one models on the occurring variables, without a syntax restriction.

                          Instances For

                            Count positive width-three exact-one models, returning zero on other syntax.

                            Instances For

                              Count positive exact-three exact-one models, returning zero on other syntax.

                              Instances For

                                Count positive width-three, occurrence-three exact-one models; reject other syntax.

                                Instances For

                                  Count positive exact-three, occurrence-three exact-one models; reject other syntax.

                                  Instances For

                                    Exact-one satisfiability is equivalent to a positive exact-one model count.

                                    Membership in the positive width-three language is positivity of its guarded count.

                                    Membership in the positive exact-three language is positivity of its guarded count.

                                    Membership in the positive width-three, occurrence-three language is a positive count.