Documentation

CslibFrontier.Logics.Propositional.CSP.Planar.Embedding.ProbeParity

Actual body-constraint parity under structural probe extension #

Appending the probe preserves the complete indexed fiber at every original constraint. Consequently its parity reads exactly the original body edge labels, independent of the marker tuple, boundary distinctness, sparse names or any rotation.

The probe extension preserves actual original-body constraint parity.

A body variable outside the boundary tuple keeps exactly its original parity. No marker is incident there, even if other port names occur repeatedly in the tuple.

theorem Cslib.Complexity.CSP.OrderedBoundary.vertexParity_probeEdgeLabels_marker_variable {Rel V : Type} [DecidableEq V] (F : Logic.PL.CSP Rel V) (ports : List V) (hn : ports.Nodup) (w : Witness F ports) (t : Fin ports.length → Bool) (x : Fin (incidenceGraph F).edges.length → Bool) (i : Fin ports.length) :

At a distinct boundary marker, actual variable parity is its marker bit plus the edge sum along the exact computed body tail. Empty tails contribute zero without selecting a dart.

The actual appended probe-center parity is the sum of the complete original marker tuple. Its reversed scope affects order, but retains every indexed marker exactly once.