Promise-SAT beyond the Five Families: A Sharp Six-Tuple Threshold
Xuyang Peng

This archive contains the manuscript sources and the finite checks for the
five-tuple lower bound and the five-ary classification. The modular search
algorithm, its polymorphisms, and the five family exclusions are proved
in Section 2 of the paper.

Build the paper
---------------

From the directory containing paper.tex, run

    latexmk -pdf paper.tex

This produces paper.pdf. The sources use pdfLaTeX, Latin Modern, microtype,
geometry, the AMS packages, booktabs, array, xcolor and hyperref.

Run the finite checks
---------------------

Use Python 3.10 or later. In a virtual environment, install the tested
Python-SAT release (it provides the CaDiCaL 1.9.5 solver). From the archive root, run

    python -m pip install python-sat==1.9.dev25
    python anc/verify.py

All verification inputs are in anc/data/. The verifier runs offline. It
enumerates the sparse column sets, reconstructs the CNF for each graph
certificate, checks each matrix column against the strong predicate, and
calls CaDiCaL on the resulting formula. From the three AHM boundary lists
it regenerates the five-ary residuals, tests for non-unate operations,
finds the first missing block size at each minimal unate representative,
and counts the remaining translation classes.

Expected results:

    13 sparse column sets, with 5 maximal sets
    24 five-ary and 5 sparse graph certificates, all UNSAT
    189 five-ary classes: 135 unate, 1 cyclic, 53 digraph
    11 minimal unate representatives, first missing block sizes 3 to 8
    59 additional hard unpinned classes and 59 additional useless classes

The last line of a successful run is "All checks passed." The cyclic
reduction is given in Section 4 of the paper.

Data and source credit
----------------------

anc/data/ahm-bounds.json contains an adaptation of the tables in Appendices
B.1 and B.2 of Per Austrin, Johan Håstad and Björn Martinsson, "On the
Usefulness of Promises", arXiv:2511.21450v1 (26 November 2025).
Source: https://arxiv.org/abs/2511.21450v1
License: Creative Commons Attribution 4.0 International
(https://creativecommons.org/licenses/by/4.0/).
The three JSON arrays follow the original table order. Wildcards are
expanded and each five-ary predicate is represented by the sum of 2^w
over its accepting words interpreted as binary integers w.

anc/data/certificates/graphs.json gives the ordered arcs of each digraph.
Each subdirectory of anc/data/certificates/ is named for its digraph. A
numeric certificate filename gives the predicate identifier r(A).
A filename beginning with sparse- lists the column-support masks of its
five-row predicate, in order, with row 0 in the least significant bit.
Transposing those masks gives its five strong tuples.

Each line of a .txt certificate is one matrix.
It lists the rows as nonnegative integers. Bit i of a row corresponds to
arc i of the ordered graph. Reading that bit from the successive rows,
starting at the low bit of the column word, must give a strong tuple.
The 24 five-ary certificates contain 71,051 matrices and the five sparse
certificates contain 2,644.
