Checked native cyclic-difference compiler specification #
For each fixed finite Boolean language, the actual total compiler takes the original CSP and
a supplied checked ordered numerical genus-zero rotation. In the self-complementary language
branch with nonempty difference relations even delta-matroids, it outputs an explicit-table
EDGE CSP over the existing infinite CSP.Table alphabet. Every output is well formed and every
constraint is a nonempty even delta-matroid, including rejected raw inputs. Source indices stay
binary; all construction loops traverse actual lists. Static language preprocessing may depend
exponentially on fixed arity, as in Schaefer's fixed-language convention.
This numerical supplied-certificate stage implements the forward difference construction of [DK15], Section 3, Lemma 5/Corollary 4/Theorem 2, printed pp. 439–440, with the edge convention of [KKR18], v6, Definition 3 (printed p. 0:3). The parity-chain implementation is original. There is no geometric realization claim, bare rotation recognizer, edge solver assumption or full planar dichotomy claim.
Main results #
Cslib.Complexity.CSP.CyclicCompiler.compile_correct: full guarded semantic/edge/evenness result.Cslib.Complexity.CSP.CyclicCompiler.compile_spec: combined ordinary native endpoint.
Dense edge and auxiliary names have exactly two output occurrences. The auxiliary block starts at the original occurrence count and has its actual prefix-sum length.
Actual black and expanded-white scopes meet the positional edge convention. This uses only the checked original rotation, with no positivity or semantic assumption.
All-raw edge guarantee of the total compiler, including rejection.
Widths and actual explicit-table relations of the guarded body. Empty symbols need not satisfy the static delta-matroid condition; their occurring constraints are rejected first.
Actual even delta-matroid constraints and matching table/scope widths on every raw input.
Every emitted explicit row has the declared width. Together with compile_tables, this
also gives exact actual scope widths; no malformed table is used as a rejection shortcut.
Full guarded correctness of the actual total compiler on the original CSP/certificate. All translation, graph, lifting, nullary and expansion ingredients are proved internally.
Combined ordinary native fixed-language endpoint: no correct-translation certificate, solver/recognizer, geometric realization, or input-validity premise is a runtime assumption.