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
Dependency graph
The symbol for “is a clause” in the ordered expansion.
Instances For
Dependency graph
The symbol for “occurs positively in” in the ordered expansion.
Instances For
Dependency graph
The symbol for “occurs negatively in” in the ordered expansion.
Instances For
Dependency graph
Formula builders #
c is a clause, as a formula.
Equations
Instances For
Dependency graph
x occurs positively in c, as a formula.
Equations
Instances For
Dependency graph
x occurs negatively in c, as a formula.
Equations
Instances For
Dependency graph
x ≤ y, as a formula.
Equations
Instances For
Dependency graph
x = y, as a formula.
Equations
Instances For
Dependency graph
x < y, as a formula.
Equations
Instances For
Dependency graph
The literal (x, s) occurs in the clause c, as a formula.
Equations
Instances For
Dependency graph
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
Dependency graph
Some occurrence of c lies strictly before (x, s), as a formula.
Equations
- One or more equations did not get rendered due to their size.
Instances For
Dependency graph
Some occurrence of c lies strictly after (x, s), as a formula.
Equations
- One or more equations did not get rendered due to their size.
Instances For
Dependency graph
(x, s) is the first occurrence of c, as a formula.
Equations
Instances For
Dependency graph
(x, s) is the last occurrence of c, as a formula.
Equations
Instances For
Dependency graph
(x, s) is a non-first occurrence of c, as a formula.
Equations
Instances For
Dependency graph
(x, s) is an occurrence of c immediately preceded by the occurrence
(y, t), as a formula.
Equations
- One or more equations did not get rendered due to their size.
Instances For
Dependency graph
(x, s) is the unique literal of some clause, as a formula.
Equations
- One or more equations did not get rendered due to their size.
Instances For
Dependency graph
c is an empty clause, as a formula.
Equations
- One or more equations did not get rendered due to their size.
Instances For
Dependency graph
Some clause is empty, as a (closed) formula: the standard spoiler condition of reductions from SAT, making the whole CNF unsatisfiable.