Exact covers reduce parsimoniously to monotone exact-one triples
ProvedNQueensComp.NPC.x3c_to_monotoneTriplesAn indexed family of three-element sets gives one Boolean variable per row. For each universe element, exactly one incident row must be selected. These incidence constraints have arbitrary length. Encode them by positive exact-one triples, allowing repeated positions, with a unique extension of every exact cover. The resulting bit-string transformation must run in polynomial time on the CookLevin machine model and preserve the count on every input.
One construction uses a global triple , forcing and . For an incidence list , set and . Use a fresh prefix bit and its complement at each internal boundary, enforced by . With , each triple enforces . Thus the row variables sum to one and all prefix variables are uniquely determined. An empty incidence list produces . Malformed strings can map to a malformed string.
import Definitions.Def_NQueensComp_NPC_MonotoneOccurrenceSplit import Definitions.Def_NQueensComp_NPC_SharpP import Definitions.Def_CountOrderings_NFree_OracleReduction
namespace NQueensComp.NPC theorem x3c_to_monotoneTriples : ParsimoniousReducible CountOrderings.NFree.x3cCount countMonotoneTriples := by sorry end NQueensComp.NPC