Exact covers correspond bijectively to solutions of the positive triple formula
ProvedNQueensComp.NPC.x3cTripleCode_instancesFor each indexed family of three-element sets, the incidence formula consists of positive triples. Its exact-one assignments correspond bijectively to exact covers, including on empty universes. A row variable records selection and the prefix bits record whether a selected incident row has already been encountered in a column.
Preamble
import Definitions.Def_NQueensComp_NPC_X3CTriples
Formal statement
namespace NQueensComp.NPC
theorem x3cTripleCode_instances (I : CountOrderings.NFree.X3CInstance) :
(∀ c ∈ x3cTripleCode I, c.length = 3) ∧
Nonempty ({X : Finset (Fin I.n) // I.IsExactCover X} ≃
{T : Finset ℕ // MonotoneTripleSol (x3cTripleCode I) T}) := by sorry
end NQueensComp.NPCSource
Construction for the incidence reduction specified in Prove2Me theorem NQueensComp.NPC.x3c_to_monotoneTriples (e04dd6c2-b264-4688-88cc-9364f8a82e43). For the role of positive 1-in-3 SAT see Gent, Jefferson and Nightingale, Complexity of n-Queens Completion (2017), Theorem 4, pp. 820–821, https://doi.org/10.1613/jair.5512.