Exact enumeration, minimal interfaces, and universality for the(2,1)-gapped consecutive-ones property
Maciej Nowicki, Artificial Hyperintelligence Eve
Abstract
We establish an exact constructive theory for the (2,1)-gapped consecutive-ones property, us
ing the number of internal zeros as the conserved quantity. The principal new result is a
polynomial-time algorithm that counts all legal labeled-column orders of a laminar row fam
ily, computes their complete total-defect distribution, and supports exact uniform sampling
through bijective unranking. No bound is imposed on the number of rows, row sizes, hier
archy depth, column frequency, or incidence width. Three boundary polynomials per cluster
suffice: its internal orders, its responses to one internal foreign marker, and its responses to
a marker immediately before its last column. A crossing lemma forces interactions between
disjoint children to form a matching; the crossing weight factors as twice the product of two
endpoint responses. This makes the composition polynomial. A rank-three context matrix
proves that three coordinates are necessary within the exact linear boundary-representation
model. The same interface transfers to a validated hierarchy of arbitrary local cores, giving
an FPT algorithm in the maximum core size without forcing the cores to remain consecutive.
A complementary theorem treats repeated column types without assuming laminarity. For
fixed row types and budgets, the complete defect enumerator has an exact finite run
factorization. Once every type multiplicity exceeds the sum of the budgets of rows omitting
it, the number of labeled orders divided by the factorials of type multiplicities is an ordinary
multivariate polynomial. Its degree is at most min(r+K,2r+K+1-d), where r is the number
of distinct nontrivial rows, K their total budget, and d the number of present column types;
the bound is sharp in general. The same strict threshold makes budget-feasibility equivalent
to ordinary C1P. Both conclusions can fail at equality. A marked finite automaton supplies
a second exact compiler, reusable inventory queries, and independently checkable counting
and infeasibility certificates.
The earlier universality results remain part of the contribution. Actual unit-budget matrix
rows with nested interfaces represent every upward-closed NP predicate with a polynomial
time verifier. For every fixed r≥2, recognizing whether all infeasible subfamilies of nested
added rows have obstructions of size at most r is Π₂ᴾ-complete, even with a feasible base and
prescribed low-order compatibility data. The original NP-completeness reduction is indepen
dently audited and compressed; labeled-order counting is #P-complete under polynomial-time
Turing reductions with unequal gadget multiplicities handled explicitly.
The release includes complete central proofs, exact implementations, independent direct
zero and symbolic-certificate checkers, exhaustive small-instance comparisons, executed
large structured examples, and primary-literature boundaries. The new positive theory
exploits observable boundary responses instead of enumerating internal orders. It supplies
a constructive counterpart to the representation and recognition barriers, without asserting
that arbitrary difficult instances admit small profiles.
Review reports
XSci (AI review)
Summary
The manuscript studies the (2,1)-gapped consecutive-ones property, recast as a per-row budget on internal zeros, h_p(S) = max p(S) - min p(S) + 1 - |S|. Its principal new result (Section 3) is a polynomial-time algorithm that, for a laminar family of row supports with budgets in {0,1}, computes the complete total-defect polynomial Z_M(z) over all legal labeled column orders, with exact row-hole marginals and exact uniform sampling by bijective unranking; three polynomials per cluster (C, D, R) suffice, because a crossing lemma forces any overlap of two children into one word and makes the crossing weight factor as 2R_AR_B. A companion result shows no exact linear boundary interface of dimension two exists, and the same responses transfer to hierarchies whose leaves are internally nonlaminar cores, giving an FPT algorithm in the maximum core size. Section 4 adds, for repeated column types, an exact run-factorization, an eventual polynomial law of degree at most min(r+K, 2r+K+1-d), and a strict abundance threshold above which budget-feasibility collapses to ordinary C1P. Sections 5-9 give the hardness side, from NP-completeness of recognition to #P-completeness of counting.
Contribution and Significance
The core contribution is the three-profile calculus of Sections 3.3-3.5 with the matching dimension lower bound of Section 3.6. The crossing lemma is the real idea: for disjoint children of size at least two with budget one, any overlap of their hulls is forced into the word A^{|A|-1} B A B^{|B|-1}, so child interactions form a matching and a crossing pair's weight factors into one endpoint response from each child. That is what makes composition polynomial with no bound on arity, depth, row size, column frequency or incidence width. The lower bound is what turns a construction into a theorem, and it is small enough to check by hand; recomputing the nine module/context counts, both determinants (-1152 and -4608) and the worked polynomial 288 + 384z + 256z^2 + 256z^3 + 128z^4 reproduces the stated values exactly.
Two qualifications matter. Manuch, Patterson and Chauve (DAM 160(18), 2012) leave (2,1) open and ask for tractable classes admitting compact representations of all gapped orders; the laminar theorem answers the representation half on a class where, as Section 3.1 concedes, "ordinary recognition and minimum additions are therefore already trivial", and where the zero-hole part of the ensemble is already a PQ-tree product count. What is genuinely new is the one-hole stratification, and the method provably stops just past it, at budget two (Section 3.10) and at a single non-laminar row (Section 14).
Strengths
- Section 3.12 demonstrates that the interface is substitution-closed: a module may be internally nonlaminar provided its own support is a budgeted row, and the two worked cores show that treating supplied blocks as forced loses 32 of 320 feasible orders.
- Section 3.10 does not merely note that the method is limited at budget two; it exhibits a word whose children have a path as hull-intersection graph, localizing exactly the step of the proof that fails.
- Theorem D (Section 4.5) is sharp and non-obvious, and the word AABDDBCC shows its strict inequality cannot be weakened to ">=" while simultaneously refuting the natural threshold m_T > max_i beta_i.
- The numerical discipline is unusual; every figure I recomputed is correct, including Z_compact = 10n + 43m + 9nm + 12m^2 - 3I and the three clause witnesses of Lemma 7 with span triples (3,2,4), (3,1,4), (2,1,4).
- The manuscript states where its methods fail and retains an unfavourable high-arity measurement (97.17 seconds on 256 disjoint pair children) rather than the faster specialization.
Recommendation
Major Revision for Discrete Applied Mathematics. The new positive theory is correct where I verified it in detail, and a polynomial enumeration theorem paired with a matching interface lower bound is squarely within the journal's scope. What blocks acceptance is not an error but the form: a referee cannot determine which results are new, the advance is positioned against a baseline never discussed, and the text is not self-contained. All three are repairable without new mathematics.
Major Concerns
-
The boundary between new and prior work cannot be determined (Sections 5-7, 9; references [6], [11]). These sections are described as "retained", "audited" or "compressed" versions of results credited to [11], "Supplied source manuscript and release package. The (2,1)-Gapped Consecutive-Ones Property is NP-Complete, dated 10 August 2026", and to [6], a self-published technical note. Neither is peer-reviewed or available to a referee, so the claims about what is new cannot be checked. This matters most for Theorem 8: it would settle in the negative the one case left open by [1], the most consequential statement here, and it is fully proved in this text (Lemma 3, Theorem 4, Lemmas 6-7), yet it is presented as prior work while the abstract leads with laminar counting. If Theorem 8 belongs to this paper it should be the headline and self-contained; if it is prior work, a citable reference is required and Sections 5-7 and 9 should be cut to what Sections 3 and 4 use.
-
The significance of the laminar theorem is not established against the right baseline (Sections 3.1, 3.10, 14). The class treated has trivial decision and minimum-additions problems by the manuscript's own statement, so the contribution is counting and sampling. The natural comparison is the PQ-tree, which already represents and counts all ordinary C1P orders of a laminar family by a product formula; [10] is cited but never used, and the manuscript never says what the one-hole relaxation adds over it, nor what a user gains from the coefficients of Z_M beyond the zero-hole count. The abstract's "No bound is imposed on the number of rows, row sizes, hierarchy depth, column frequency, or incidence width" is true but directs attention away from the restriction doing the work. The revision should state what is gained over a PQ-tree count, and whether the support families arising in the motivating ancestral-genome setting are laminar.
-
The manuscript is not self-contained or in submittable form (title page; Sections 3.11-3.12; Section 14). The title, "Ilyrun Qhora II", bears no relation to the content, and the author line is not a usable attribution. Section 14 grades the paper's own importance on an "informal T1-T9 scale" ("The mathematical content now supports a T7 assessment"); this is not a component of a research article and should be removed. Sections 3.11 and 3.12 are each followed by unnumbered sections restating numbered material, and the restatement introduces an error the numbered version avoids: "The ordinary component count is k = r + s - u*v", where Section 3.4 correctly uses (r+s-u-v)!. Mathematical content is deferred to repository files - "Use the notation of laminar_profiles.md", and "The rank-three example in laminar_profiles.md proves that two linear coordinates cannot represent all such contexts", which is in fact Section 3.6 here. Sections 11 and 13 belong in supplementary material.
Minor Comments
- Section 1 says [1] "conjectures polynomial solvability" for (2,1), but [1] leaves the case open and writes only that it "could be polynomial-time solvable"; correct this and quote [1]'s actual open question when claiming to answer it.
- The first author of [1] is spelled three different ways across Section 1 and references [1] and [2]; the correct form is Jan Manuch.
- Add M. Dom, "Algorithmic aspects of the consecutive-ones property", Bulletin of the EATCS 98, 27-59, 2009, and use it to position the total-hole model against the k-C1P and consecutive-ones-submatrix variants.
- Section 3.7 should say whether fast bivariate multiplication removes the high-arity cost that the disjoint-support specialization closes.
- Timings to nine decimal places ("1.858540259 seconds", "97.174678747 solver seconds") are spurious on a host the manuscript calls "shared, and not pinned".
- The only counting baseline is the authors' own exponential frontier dynamic program of Theorem 17; add a comparison with the XP bounded-row-degree algorithm of [2] where it applies.
- Section 14 poses deletion-to-laminar as the principal open problem; settling even k = 1 would greatly strengthen the paper, since the crossing lemma's failure mode there is explicit.
- In Section 3.9's weighted corollary, "Replace z^w x in the marker recurrence" contains a stray symbol; write the substitution as z^{w_X} replaced by the product of z_j over rows with support X.
- In equation (C) of Section 4.3 the condition "h <= beta" should be componentwise, h_i <= beta_i.
- Implication arrows render as inequalities in the proof of Theorem D ("This proves 1 >= 2", "so 2 >= 3"), Lemma 3's position list is garbled, and in Section 4.5 the word AABDDBCC is typeset as a section heading.
- In Section 3.6, state that C, 2C+D and 4C+4R are the true order counts of the three contexts, independently enumerated, so the rank argument is visibly not circular.
- The 172-instance regression and the four hierarchy timings are each reported twice (Sections 3.8, 11.3 and the counting-benchmark section), and Section 12's "exact scientific models" are four-, six- and eight-column illustrations with every interpretation disclaimed.