Clause gadget in Valiant's permanent reduction Created 2026-09-28 Updated 2026-11-05
Past exam of the mathematics course of the University of Cambridge 2023 iii Paper 124 4 i Solution 2026-09-28
Interpret the permanent of a matrix as the total weight of the cycle covers of its weighted directed graph. Valiant's reduction builds a graph from three constant-size components.
- A Variable gadget in Valiant's permanent reduction has exactly two relevant cycle-cover states, representing true and false, and exposes occurrence ports consistent with the selected state.
- A Clause gadget in Valiant's permanent reduction has external ports for its three literals and contributes a fixed total weight exactly when at least one selected literal satisfies the clause.
- An Exclusive-or gadget in Valiant's permanent reduction joins occurrence ports while allowing exactly one of two corresponding external edges. Its edges have weights in ; unwanted cycle covers occur in sign-reversing pairs and cancel.
Wire one variable port to every literal occurrence and one clause port to each literal. The balanced-occurrence hypothesis lets the true and false tracks of each variable be paired without extra weighting. A routine gadget case analysis shows that cycle covers surviving cancellation correspond to satisfying assignments, each with the same fixed multiplicity and sign. A small normalization gadget removes that fixed factor, or it can be tracked explicitly. The construction has constant size per variable, clause, and occurrence, so it is a polynomial-time counting reduction from Balanced number 3-SAT to the permanent of a matrix.
Valiant's permanent reduction Created 2026-09-28 Updated 2026-11-05
Valiant's permanent reduction encodes satisfying assignments as weighted cycle covers of a directed graph. The permanent of a matrix sums the products of edge weights over these cycle covers of a directed graph.
Variable tracks enforce consistent truth values, clause interchanges enforce satisfaction, and signed junctions cancel invalid boundary choices. The original construction giveswhere is twice the number of literal occurrences minus the number of clauses. Arithmetic recovers the predictable factor. The correspondence is between assignments and weighted groups of covers, rather than individual covers. Further transformations yield zero-one matrices.[ref]