A linear d-DNNF for f_G #
[ArenasBroadrickLiewVanDenBroeck2026, Proposition 5.1], upper bound. For a cubic graph with
a proper 3-edge-colouring on n vertices, f_G (CubicEdgeColoring.someButNotAllColors) is
computed by a d-DNNF with at most 150 n + 50 nodes (CubicEdgeColoring.exists_dDNNF).
The proof follows the paper. f_G(x) holds exactly when G_x contains colour 0 but not 1,
or 1 but not 2, or 2 but not 0, three mutually exclusive conditions; their d-DNNFs are
joined by two deterministic ∨ gates. For colours α and β, the edges of these two colours
form disjoint alternating cycles. Reading each cycle in order and remembering the bits of its
first and of the previous vertex, together with whether an edge of colour α, resp. β, with
both ends true has been seen, is a read-once branching program with 16 states
(CubicEdgeColoring.cycleProgram), whose d-DNNF has linear size
(Cslib.BranchingPrograms.ReadOnceProgram.toNNF).
The cycles. With σ = β ∘ α (each colour acting as the involution M.mate), the cycle
through x is x, α x, σ x, α σ x, …, σ^(p-1) x, α σ^(p-1) x for the period p of x under
σ (CubicEdgeColoring.cycleBlock). Its vertices are distinct because σ^k y = α y is
impossible: reflecting along the cycle would give a fixed point of α or of β
(CubicEdgeColoring.iterate_ne_mate). Every edge of colour α or β at a vertex of the cycle
joins two cyclically consecutive vertices of it, and the cycles through distinct vertices
partition the graph (CubicEdgeColoring.exists_isCycleCover).
Main definitions #
Cslib.CubicEdgeColoring.cyclePairs: the cyclically consecutive pairs of a list.Cslib.CubicEdgeColoring.IsCycleCover: a list of vertex lists covering every vertex once, in which every edge of coloursαandβjoins cyclically consecutive vertices.Cslib.CubicEdgeColoring.cycleProgram,Cslib.CubicEdgeColoring.cycleOrder: the read-once program reading such a cover, and its variable order.Cslib.CubicEdgeColoring.cycleBlock: the alternating cycle through a vertex.
Main results #
Cslib.CubicEdgeColoring.IsCycleCover.eval_cycleProgram: on a cycle cover, the program decides "colourαbut notβ".Cslib.CubicEdgeColoring.exists_isCycleCover: alternating cycle covers exist.Cslib.CubicEdgeColoring.exists_dDNNF: Proposition 5.1, upper bound.
References #
Cyclically consecutive pairs #
Reading a cycle cover #
The labels of the cycle automaton: whether a cycle starts here, whether the previous vertex
is joined to this one by an edge of colour α and of colour β, and the same for this vertex
and the first vertex of its cycle, if it closes the cycle.
Whether u is joined to w by an edge of colour α, and by one of colour β.
The labelled inputs for l read after u, in a cycle starting at v₀.
The labelled inputs for reading the cycle l.
The cycle program reading a list of cycles: it accepts when some cyclically consecutive
pair joined by an edge of colour α has both bits true and none joined by colour β does.
The order in which the cycle program reads the vertices.
A cyclically consecutive pair joined by an edge of colour γ, with both bits true.
The cycle program accepts exactly when some cyclically consecutive pair of a block is
joined by an edge of colour α with both bits true, and none by an edge of colour β.
A cycle cover for the colours α and β: lists of vertices that together list every
vertex exactly once, such that every edge of colour α or β at a listed vertex joins
cyclically consecutive vertices of its list.
On a cycle cover, the cycle automaton decides whether G_x contains colour α but not
colour β.
Alternating cycles #
One step along the alternating cycle: an edge of colour α, then one of colour β.
No shortcut across a cycle: σ^k y = α y is impossible. Reflecting along the cycle gives
σ^(k-m) y = α σ^m y for m ≤ k, which for m = k/2 makes a vertex a fixed point of α or of
β.
The period of x along the alternating cycle.
The j-th vertex of the alternating cycle through x: σ^i x for j = 2i and
α σ^i x for j = 2i + 1.
The alternating cycle through x: x, α x, σ x, α σ x, …, σ^(p-1) x, α σ^(p-1) x.
The alternating cycle lists distinct vertices.
Edges along the cycle. Every edge of colour α or β at a vertex of the alternating
cycle joins two cyclically consecutive vertices of it.
Alternating cycle covers exist: the alternating cycles through the vertices of a set closed under both colours partition it.
Alternating cycle covers exist for every pair of colours.
Proposition 5.1 #
f_G splits into three mutually exclusive conditions on the colours.
The chosen alternating cycle cover for the colours α and β.
The d-DNNF deciding "colour α but not colour β", from the cycle program on the chosen
cover.
The d-DNNF of f_G: the disjunction of the three colour automata.
[ArenasBroadrickLiewVanDenBroeck2026, Proposition 5.1], upper bound. For a cubic graph
with a proper 3-edge-colouring on n vertices, f_G is computed by a d-DNNF with at most
150 n + 50 nodes.