Constructive matching and minimum-defect correspondence #
The choice constraints use the original normalized graph incidences. A valid local labeling selects at most one original edge at each vertex; mutually selected edges therefore give an actual Mathlib matching. Every Mathlib matching supplies a feasible comparison labeling, with private unmatched ports precisely at its uncovered vertices.
A vertex's choice constraint is at its position in the distinct vertex list.
The unary false pin follows all choice constraints in distinct vertex order.
The actual choice incidence of the variable x at vertex v.
Instances For
Choice incidence reads its supplied original variable.
The actual false-pin incidence for the private port of v.
Instances For
Every valid generated labeling labels each private port's pin false.
Unary pins prevent every private unmatched port from being mutually selected.
Two true ports in one choice constraint name the same variable.
Original positions with both endpoint labels true.
Instances For
Extracting mutually selected original edges gives an actual Mathlib matching.
Mutual selection contains only original even-tagged edges; private pins never contribute.
Every feasible generated labeling has precisely one true incidence per declared vertex.
The exact objective identity, including isolates and empty graphs.