Corner colors on listed incidence rotations #
Closed color paths on the actual positional variable words, together with the constraint successor equations, give clockwise-compatible colors on the constructed incidence rotation. Empty words impose no equation. No connectedness, degree or genus premise is used.
theorem Cslib.Complexity.CSP.colors_rotate_rotationOfVariableCycles {Rel V : Type} [DecidableEq V] {F : Logic.PL.CSP Rel V} (cycles : List (List ℕ)) (hcover : ∀ (i : ℕ), i ∈ cycles.flatten ↔ i < (incidenceGraph F).edges.length) (hfibers :
∀ (o p : F.Occurrence),
cycles.cyclePermutation.SameCycle (incidenceEdgeIndex o) (incidenceEdgeIndex p) ↔ o.var = p.var) (hn : cycles.flatten.Nodup) (P : (incidenceGraph F).Dart → Bool) (hconstraint : ∀ (o : F.Occurrence), P (incidenceDart (argumentSuccessor o) true) = P (incidenceDart o false)) (hwords :
∀ word ∈ cycles,
∃ (color : Bool),
List.IsChain (fun (p q : Bool × Bool) => p.2 = q.1)
((color, color) :: List.map (fun (j : ℕ) => (Graph.Dart.colorAtIndex P (2 * j), Graph.Dart.colorAtIndex P (2 * j + 1))) word ++ [(color, color)])) (d : (incidenceGraph F).Dart) :
Literal closed paths on the variable words determine the variable-side corner equations. The constraint-side equations use the original ordered argument successor.