Every circuit of the row graph is the circuit of a model #
The reverse half of the correspondence of
DescriptiveComplexity.Problems.Hamilton.CountingGadget: a Hamilton circuit of the
row graph of a CNF formula is the relation DescriptiveComplexity.HamGadget.S ν of an
exactly-one model ν (DescriptiveComplexity.HamGadget.Circ.eq_S,
DescriptiveComplexity.HamGadget.Circ.oneInModel), the model being read off the
direction in which each row is entered.
Only the local reading of a circuit is used (DescriptiveComplexity.HamGadget.Circ,
from DescriptiveComplexity.IsCircuit.local): every vertex is left once and reached
once, along an arc, and no two vertices follow each other both ways.
- A padding vertex has two neighbours, so the circuit passes through it
(
DescriptiveComplexity.HamGadget.Circ.through). - Hence an occurrence entered from the left is left to the right, visiting its
clause vertex on the way iff it is positive
(
DescriptiveComplexity.HamGadget.Circ.pairT), and one entered from the right is left to the left, visiting it iff it is negative (DescriptiveComplexity.HamGadget.Circ.pairF). - Hence a row is swept in one direction, by induction along its occurrences
(
DescriptiveComplexity.HamGadget.Circ.rowT,DescriptiveComplexity.HamGadget.Circ.rowF).
A clause vertex is then entered from each of its true literals, and it is entered once.
A Hamilton circuit of the row graph, read locally.
Every vertex is left.
Every vertex is reached.
A vertex is left once.
A vertex is reached once.
The circuit follows the arcs.
Two vertices following each other both ways are the whole graph.
Instances For
Dependency graph
The row predecessor of an occurrence: the first padding, or the padding of the previous occurrence.
Equations
- One or more equations did not get rendered due to their size.
Instances For
Dependency graph
The neighbours of a vertex #
The local forcing #
The circuit passes through a vertex with two neighbours.
Dependency graph
An occurrence entered from the left is left to the right, through its clause vertex iff it is positive.
Dependency graph
An occurrence entered from the right is left to the left, through its clause vertex iff it is negative.
Dependency graph
Dependency graph
The occurrence is traversed from the left.
Equations
- One or more equations did not get rendered due to their size.
Instances For
Dependency graph
The occurrence is traversed from the right.
Equations
- One or more equations did not get rendered due to their size.
Instances For
Dependency graph
A row entered from the left is swept from the left.
Dependency graph
A row entered from the right is swept from the right.
Dependency graph
The assignment of a circuit is an exactly-one model.
Dependency graph
A circuit is the circuit of its assignment.
Dependency graph
The correspondence #
A Hamilton circuit of the row graph, read locally.
Dependency graph
The Hamilton circuits of the row graph are the exactly-one models of the formula, bijectively.
Equations
- One or more equations did not get rendered due to their size.