First-order formulas for literal occurrences, over the ordered expansion #
First-order counterpart of DescriptiveComplexity.OccurrenceOrder, shared by the
reductions from SAT (to 3-colorability, to 3SAT…): parameterized formula
builders over the ordered expansion Language.sat.sum Language.order
(DescriptiveComplexity.SatOcc.satOrd) mirroring the semantic predicates on literal
occurrences – occF for OccIn, minOccF/maxOccF for MinOcc/MaxOcc,
succOccF for SuccOcc, chainedF for Chained, emptyClF for EmptyCl,
… – together with their realization lemmas (realize_occF…).
All builders are parameterized by the indices of their free variables, so that
they can be instantiated at any variable type (in particular under
quantifiers). Occurrence signs are static (Lean-level) Bool parameters:
a quantification over signs becomes a finite conjunction or disjunction of
formulas.
The ordered expansion of the language of CNF instances.
Equations
Instances For
The symbol for “is a clause” in the ordered expansion.
Instances For
The symbol for “occurs positively in” in the ordered expansion.
Instances For
The symbol for “occurs negatively in” in the ordered expansion.
Instances For
Formula builders #
c is a clause, as a formula.
Equations
Instances For
x occurs positively in c, as a formula.
Equations
Instances For
x occurs negatively in c, as a formula.
Equations
Instances For
x ≤ y, as a formula.
Equations
Instances For
x = y, as a formula.
Equations
Instances For
x < y, as a formula.
Equations
Instances For
The literal (x, s) occurs in the clause c, as a formula.
Equations
Instances For
The occurrence position (x, s) precedes (y, t), as a formula (the
signs are fixed parameters, so this is just ≤ or < on the variables).
Equations
Instances For
(x, s) is the first occurrence of c, as a formula.
Equations
Instances For
(x, s) is the last occurrence of c, as a formula.
Equations
Instances For
(x, s) is a non-first occurrence of c, as a formula.
Equations
Instances For
c is an empty clause, as a formula.
Equations
- One or more equations did not get rendered due to their size.
Instances For
Some clause is empty, as a (closed) formula: the standard spoiler condition of reductions from SAT, making the whole CNF unsatisfiable.