alphaFeedback

WorksMathematics

A Parity Theorem for Reverse-Complement-Invariant Minimum Decycling Sets in q-ary de Bruijn Graphs

AI contributions
  • OpenAI ChatGPT GPT-5.6 Sol; GPT-5 Pro
View details

Abstract

Let A\mathcal{A} be a finite alphabet with a fixed-point-free involutive complement, and let reverse complement act on the directed de Bruijn graph B(q,k)B(q,k) by reversing a word and complementing every letter. We prove that a reverse-complement-invariant ordinary minimum decycling set exists if and only if kk is even, for every integer k≥2k\geq2. This simultaneously covers the binary alphabet and the DNA alphabet with A↔TA\leftrightarrow T and C↔GC\leftrightarrow G. For odd kk, a primitive rotation cycle joins two reverse-complement-fixed lower states in opposite directions. Disjoint complementary alphabet pairs force at least qq deletions beyond the ordinary minimum. For even kk, choose injective antisymmetric real weights on the alphabet and form a weighted cyclotomic selector. We prove that arbitrary representatives on its zero-embedding rotation cycles preserve acyclicity, resolve those ties equivariantly, and establish the exact defect identity 1RC⁡(M)−1M=∇χ. \mathbf{1}_{\operatorname{RC}(M)}-\mathbf{1}_M=\nabla\chi . A finite sequence of legal full-alphabet source firings removes this nonnegative symmetric defect two coordinates at a time. We also identify a self-dual spectral ideal that gives a deterministic direct selector, rather than a simulated firing path. For integer weights, membership is decidable with polynomial bit complexity. The executable finite panel in the repository checks the binary specialization only; it is convention-level assurance and is not used in the all-order proof.

Introduction

Minimum decycling sets in directed de Bruijn graphs are classical combinatorial objects and underlie several finite-window sequence-sampling constructions. Their ordinary minimum is governed by rotation cycles and unavoidable sets [5, 1]. More recent work made the move structure of minimum decycling sets explicit [3]. Reverse-complement symmetry imposes a different constraint: whenever a word is chosen, its reverse complement must also be chosen. This is the natural strand symmetry for DNA and was posed directly in the k-nonical setting [4].

In Section 5.1 of [4], the authors identify the lack of known algorithms for symmetric MDSs; § 6 also notes the unknown symmetric minimum size. We answer the following existence part of that problem: for which word lengths can literal reverse-complement symmetry attain the ordinary minimum? The answer below classifies every fixed-point-free complemented alphabet. It does not determine the exact odd-order constrained minimum or solve the additional path-length optimization in that work.

Theorem 1.1 (Parity theorem). Let A\mathcal{A} be a finite nonempty alphabet with a fixed-point-free involutive complement, and put q=∣A∣q = |\mathcal{A}|. For every integer k≥2k \ge2, the directed de Bruijn graph B(q,k)B(q,k) has a reverse-complement-invariant ordinary minimum decycling set if and only if kk is even.

In particular, Theorem 1.1 applies to binary words and to DNA words under A↔TA \leftrightarrow T and C↔GC \leftrightarrow G. The case k=1k = 1 is deliberately outside the theorem: every loop must be deleted, so the unique ordinary minimum is the whole alphabet and is invariant even though kk is odd.

The two directions use different mechanisms. At odd order, a primitive pure-rotation cycle has two reverse-complement-fixed lower endpoints. One deletion from that cycle cannot destroy both endpoint-to-endpoint directions, and reverse complement supplies the opposing residual path. Counting this obstruction over disjoint alphabet pairs gives at least qq additional deletions. At even order, we assign distinct nonzero real weights s(a)s(a) satisfying s(a‾)=−s(a)s(\overline{a}) = -s(a). A weighted cyclotomic version of the classical selector then has an exact reverse-complement defect equal to the gradient of an open half-plane indicator. Legal full-alphabet source firings remove that defect monotonically.

The proof yields two complementary constructions. The first is a finite descent and exposes the move-theoretic mechanism; every allowed monotone scheduler uses an explicitly determined number of firings. The second cuts the same self-dual residual poset at a spectral midpoint and gives a direct word-membership rule. When the weight table is integer-valued, exact real-algebraic sign determination makes the latter a polynomial-bit algorithm. Neither statement supplies a bound on the longest residual path or a biological performance guarantee.

Relation to prior terminology. The phrase “symmetric decycling set” has also been used for the ordinary Mykkeltveit construction based on opposite geometric half-planes [6]. We use the unambiguous phrase reverse-complement-invariant throughout.

Evidence discipline. The all-order proof occupies Sections 3–8. Section 9 records an independent exact implementation of the binary specialization only as a sign, convention, and mutation check. No finite census is a premise of Theorem 1.1.

Organization. Section 2 fixes the graph, rotation, and gradient conventions. Section 3 proves the odd obstruction. Sections 4–6 construct and symmetrize the weighted seed. Section 7 gives the direct spectral selector, and Section 8 assembles the parity theorem and its DNA corollary. The appendices collect convention maps, technical details, and the finite binary assurance table.

Claim boundary. The mathematical theorem is alphabet-general under a fixed-point-free complement. We do not claim an exact odd-order symmetry premium, an optimal firing path, a quantitative window guarantee, biological performance, or blanket novelty or priority over unexamined sources.

Normalization and prior work

Words, graphs, and reverse complement

Let A\mathcal{A} be a finite nonempty alphabet of cardinality qq, equipped with a fixed-point-free involution a↦aˉa \mapsto\bar{a}. Thus qq is even. The binary specialization has 0ˉ=1\bar{0}=1, and the DNA specialization has Aˉ=T\bar{\mathrm{A}}=\mathrm{T}, Cˉ=G\bar{\mathrm{C}}=\mathrm{G}. For w=w0⋯wk−1w=w_0\cdots w_{k-1} define

RC⁡(w)i=wk−1−i‾\operatorname{RC}(w)_i=\overline{w_{k-1-i}}

The directed vertex de Bruijn graph B(q,k)B(q,k) has vertex set Ak\mathcal{A}^k and an arc u→vu\to v exactly when u1⋯uk−1=v0⋯vk−2u_1\cdots u_{k-1}=v_0\cdots v_{k-2}. Loops are retained. Reverse complement is a directed anti-automorphism:

u→v⟹RC⁡(v)→RC⁡(u).u\to v \quad\Longrightarrow\quad\operatorname{RC}(v)\to\operatorname{RC}(u).

A set M⊆AkM\subseteq\mathcal{A}^k is a decycling set when B(q,k)∖MB(q,k)\setminus M is a directed acyclic graph (DAG), and is an ordinary minimum decycling set when its cardinality is minimum among all decycling sets. We abbreviate the latter to MDS. Reverse-complement invariance means RC⁡(M)=M\operatorname{RC}(M)=M as a literal set of labelled words.

The line-graph identity B(q,k)=L(B(q,k−1))B(q,k)=L(B(q,k-1)) lets us regard each length-kk word as the labelled lower-state arc

t(w)=w0⋯wk−2⟶h(w)=w1⋯wk−1.t(w)=w_0\cdots w_{k-2}\longrightarrow h(w)=w_1\cdots w_{k-1}.

Deleting MM as vertices of B(q,k)B(q,k) is equivalent to deleting those labelled arcs from B(q,k−1)B(q,k-1); acyclicity is equivalent in the two representations.

Pure cycling registers and the ordinary minimum

Let R(w0⋯wk−1)=w1⋯wk−1w0R(w_0\cdots w_{k-1})=w_1\cdots w_{k-1}w_0. A pure cycling register (PCR) is an orbit under RR, using distinct rotations only. Its cardinality is the minimal period of its words. PCRs partition Ak\mathcal{A}^k, and each is a directed cycle. Their number is

Nq(k)=1k∑d∣kφ(d)qk/d.(1)N_q(k)=\frac{1}{k}\sum_{d\mid k}\varphi(d)q^{k/d}. \tag*{(1)}

Every decycling set meets every PCR. The matching construction for arbitrary finite alphabets is the unavoidable-set theorem of Champarnaud–Hansel–Perrin [1]; the original binary construction is due to Mykkeltveit [5]. Hence the ordinary minimum cardinality is Nq(k)N_q(k), and an MDS selects exactly one distinct word from each PCR. The converse is false: one-per-PCR is only a local cardinality condition and can leave cycles using several PCRs. Every homopolymer aka^k is a singleton PCR loop and is a mandatory selection.

Full-alphabet source firings

For u∈Ak−1u\in\mathcal{A}^{k-1} write

L(u)={au:a∈A},R(u)={ua:a∈A}.L(u)=\{au:a\in\mathcal{A}\},\qquad R(u)=\{ua:a\in\mathcal{A}\}.

A forward firing, or full-alphabet FF-move, is valid at uu for a selected set MM when L(u)⊆ML(u)\subseteq M, and then

Fu(M)=(M∖L(u))∪R(u).F_u(M)=(M\setminus L(u))\cup R(u).

These are literal sets. The two companion sets overlap only at a homopolymer loop, which is removed and reinserted. A valid FF-move preserves ordinary-MDS status; this is the standard move of [3 Section 4.1]. Indeed, before the move the residual lower graph has no arc entering uu, whereas afterward it has no arc leaving uu. Any newly created directed cycle would have to enter uu along a restored arc and then leave through a deleted one, which is impossible. The result is therefore decycling. If a newly inserted outgoing companion other than the common loop had already belonged to MM, the result would be a smaller decycling set, contradicting ordinary minimality; hence cardinality is preserved.

For an integer function ff on lower states, fix the gradient convention

(∇f)(w)=f(t(w))−f(h(w)).(2)(\nabla f)(w)=f(t(w))-f(h(w)). \tag*{(2)}

The indicator update of a valid firing is ∇1u\nabla\mathbf{1}_u, including at a homopolymer loop where both sides vanish.

Scope of the imported results

We import the ordinary cardinality theorem and the standard FF-move terminology. We prove move preservation above, as well as the odd obstruction, the weighted arbitrary-zero-tie acyclicity theorem, equivariant zero ties, the exact coboundary, the terminating descent, and the direct midpoint selector. The k-nonical paper supplies a dated formulation of the reverse-complement-constrained problem [4]; it does not supply the parity theorem or the construction below. Our graph-theoretic result does not replace that paper’s optimization, implementation, or window-guarantee analysis.

The odd-order obstruction

Theorem 3.1 (Odd obstruction). For every odd k=2m+1≥3k = 2m + 1 \ge3, every reverse-complement-invariant decycling set MM in B(q,k)B(q,k) satisfies

∣M∣≥Nq(k)+q.|M| \ge N_q(k) + q.

In particular, ordinary minimum cardinality is impossible.

Proof. Let MM be such a set. Fix a complementary pair a,aˉa,\bar{a} and define the length-2m2m lower states

fm=(aaˉ)m,gm=(aˉa)m.f_m = (a\bar{a})^m, \qquad g_m = (\bar{a}a)^m.

Both are fixed by reverse complement. The length-kk word

wm=(aaˉ)maˉw_m = (a\bar{a})^m\bar{a}

contains mm copies of aa and m+1m+1 copies of aˉ\bar{a}. If it were a proper rr-fold power, then r>1r > 1 would divide both counts, contradicting gcd⁡(m,m+1)=1\gcd(m,m+1)=1. Its PCR therefore has full length kk.

In the lower-state graph this PCR contains the direct arc gm→fmg_m \to f_m and, through its other k−1k-1 arcs, a directed path from fmf_m to gmg_m. Denote this PCR by CaC_a. Every decycling set meets CaC_a. If MM selected exactly one arc of CaC_a, deleting the direct arc would leave the long path, while deleting any other arc would leave the direct path. Thus one endpoint-to-endpoint direction would survive.

By reverse-complement invariance of MM, that surviving path would have an image directed from the other fixed endpoint back to the first. Their concatenation is a nonempty closed directed walk and contains a directed cycle, a contradiction.

Consequently ∣M∩Ca∣≥2|M \cap C_a| \ge2. The mate PCR RC⁡(Ca)\operatorname{RC}(C_a) contains the same number of selected words. These two PCRs are distinct: their counts of aa and aˉ\bar{a} are interchanged. Repeating the argument for each of the q/2q/2 complementary alphabet pairs gives qq distinct PCRs, each requiring at least two selected words. PCRs from different alphabet pairs are disjoint because their words use disjoint sets of letters. Every other PCR still requires at least one selected word. Since PCRs partition Ak\mathcal{A}^k,

∣M∣≥2q+(Nq(k)−q)=Nq(k)+q.|M| \ge2q + \left(N_q(k)-q\right) = N_q(k)+q.

The proof does not determine the exact odd excess; no formula inferred from small odd orders is used below.

The weighted cyclotomic seed and zero-sector ties

Assume for this section that k≥4k \ge4 is even. Choose an injective map

s:A⟶R∖{0},s(aˉ)=−s(a).s:\mathcal{A} \longrightarrow\mathbb{R} \setminus\{0\}, \qquad s(\bar{a})=-s(a).

Such a map exists by assigning distinct positive magnitudes to the complement pairs. For DNA one may use s(A)=−2s(A)=-2, s(C)=−1s(C)=-1, s(G)=1s(G)=1, s(T)=2s(T)=2. The existence, descent, and direct-selector arguments use only real arithmetic, signs, and injectivity. Integrality will be imposed separately in Corollary 7.4, where a finite exact encoding and a bit complexity bound are required. Put ζ=e2πi/k\zeta=e^{2\pi i/k} and, for w=w0⋯wk−1w=w_0\cdots w_{k-1}, define

Ps(w)=∑j=0k−1s(wj)ζj+1,Ws(w)=∑j=0k−1s(wj).P_s(w)=\sum_{j=0}^{k-1}s(w_j)\zeta^{j+1},\qquad W_s(w)=\sum_{j=0}^{k-1}s(w_j).

For u=u0⋯uk−2u=u_0\cdots u_{k-2} define

λs(u)=∑j=0k−2s(uj)sin⁡(2π(j+1)k),χ(u)=1[λs(u)>0].\lambda_s(u)=\sum_{j=0}^{k-2}s(u_j)\sin\left(\frac{2\pi(j+1)}{k}\right),\qquad\chi(u)=1[\lambda_s(u)>0].

Lemma 4.1 (Weighted covariance). For every length-kk word ww,

Ps(Rw)=ζ−1Ps(w),Ps(RC w)=−Ps(Rw)‾,Ps(RRC w)=−Ps(w)‾.P_s(Rw)=\zeta^{-1}P_s(w),\qquad P_s(\mathrm{RC}\,w)=-\overline{P_s(Rw)},\qquad P_s(\mathrm{RRC}\,w)=-\overline{P_s(w)}.

Moreover

Im⁡Ps(w)=λs(t(w)),Im⁡Ps(Rw)=λs(h(w)),\operatorname{Im}P_s(w)=\lambda_s(t(w)),\qquad\operatorname{Im}P_s(Rw)=\lambda_s(h(w)),

and λs(RC u)=λs(u)\lambda_s(\mathrm{RC}\,u)=\lambda_s(u) on lower words.

Proof. The rotation identity follows by reindexing and ζk=1\zeta^k=1. Antisymmetry of ss gives

Ps(RC w)=−∑js(wj)ζ−j=−Ps(Rw)‾.P_s(\mathrm{RC}\,w)=-\sum_j s(w_j)\zeta^{-j}=-\overline{P_s(Rw)}.

Rotating gives the third identity. The omitted final letter of t(w)t(w) multiplies ζk=1\zeta^k=1 and contributes no imaginary part; apply the same observation to RwRw for the head. Finally, reindexing the lower sum, using antisymmetry and sin⁡(2π(k−r)/k)=−sin⁡(2πr/k)\sin(2\pi(k-r)/k)=-\sin(2\pi r/k), proves lower-word invariance.

The selector

On each PCR with nonzero embedding select one word by the rule

  1. select the point on the negative real axis, if it occurs;

  2. otherwise select the unique ww satisfying Im⁡Ps(w)<0<Im⁡Ps(Rw)\operatorname{Im}P_s(w)<0<\operatorname{Im}P_s(Rw).

On a PCR where PsP_s vanishes identically, select an arbitrary representative for now. Call the resulting set M0M_0 and write m0=1M0m_0=1_{M_0}.

Lemma 4.2 (Full period and uniqueness). Every nonzero embedded PCR has full period kk, and the selector above is unique.

Proof. If a word in a nonzero PCR had period d<kd<k, then Ps(Rdw)=ζ−dPs(w)=Ps(w)P_s(R^d w)=\zeta^{-d}P_s(w)=P_s(w) would force Ps(w)=0P_s(w)=0. The nonzero rotations therefore form a nondegenerate regular kk-gon. Since kk is even, a negative-real vertex is unique when present; if no real vertex is present, clockwise rotation gives exactly one strict lower-to-upper crossing.

Theorem 4.3 (Arbitrary-zero-tie acyclicity). Every choice of one representative on each zero-embedding PCR produces an ordinary MDS M0M_0.

Proof. Set Qs=Ps−WsQ_s=P_s-W_s. If y=w1⋯wk−1ay=w_1\cdots w_{k-1}a follows w=w0⋯wk−1w=w_0\cdots w_{k-1} and δ=s(a)−s(w0)\delta=s(a)-s(w_0), then

Ps(y)=ζ−1Ps(w)+δ,Ws(y)=Ws(w)+δ,Qs(y)=−Ws(w)+ζ−1Ps(w).P_s(y)=\zeta^{-1}P_s(w)+\delta,\qquad W_s(y)=W_s(w)+\delta,\qquad Q_s(y)=-W_s(w)+\zeta^{-1}P_s(w).

A residual path cannot pass from Im⁡Ps≤0\operatorname{Im} P_s \le0 to Im⁡Ps>0\operatorname{Im} P_s > 0: the strict crossing and departure from the negative ray are selected. Hence a residual cycle lies wholly in the open upper or closed lower half-plane.

Write θ=2π/k\theta= 2\pi/k and Ps(w)=ρeiϕ≠0P_s(w) = \rho e^{i\phi} \ne0. Along an edge whose endpoints remain in the open upper region,

Re⁡Qs(y)−Re⁡Qs(w)=2ρsin⁡(θ/2)sin⁡(ϕ−θ/2)>0.(3)\operatorname{Re} Q_s(y) - \operatorname{Re} Q_s(w) = 2\rho\sin(\theta/2)\sin(\phi-\theta/2) > 0. \tag*{(3)}

Along a residual edge in the closed lower region the same expression is strictly negative: the negative-ray starting point was selected and the remaining angular interval is π+θ≤ϕ≤2π\pi+\theta\le\phi\le2\pi. Thus a residual cycle could only consist of edges beginning at Ps=0P_s = 0.

If consecutive labels ww and yy both have zero embedding, then Ps(y)=s(a)−s(w0)=0P_s(y) = s(a) - s(w_0) = 0. Injectivity of ss gives a=w0a = w_0, so the edge is a pure rotation. Such a cycle is exactly a zero-embedding PCR, from which one word was selected. This final contradiction proves acyclicity. Since M0M_0 meets every PCR exactly once, it has cardinality Nq(k)N_q(k).

Equivariant zero ties

Reverse complement permutes the zero PCRs. On a paired orbit {C,RC⁡(C)}\{C,\operatorname{RC}(C)\}, choose w∈Cw \in C and RC⁡(w)\operatorname{RC}(w) in its mate. On a stable PCR, choose one of its two reverse-complement-fixed rotations; the alphabet-general fixed-rotation lemma is proved in Appendix § 13. From now on M0M_0 denotes a seed with these equivariant zero ties. The zero-sector part of m0m_0 is then literally reverse-complement invariant.

The half-plane coboundary

Theorem 5.1 (Exact reverse-complement defect). For every length-kk word ww,

m0(RC⁡w)−m0(w)=χ(t(w))−χ(h(w))=(∇χ)(w).(4)m_0(\operatorname{RC} w)-m_0(w)=\chi(t(w))-\chi(h(w))=(\nabla\chi)(w). \tag*{(4)}

Equivalently, 1RC⁡(M0)−1M0=∇χ\mathbf{1}_{\operatorname{RC}(M_0)}-\mathbf{1}_{M_0}=\nabla\chi.

Proof. Put A=Im⁡Ps(w)A=\operatorname{Im} P_s(w) and B=Im⁡Ps(R⁡w)B=\operatorname{Im} P_s(\operatorname{R}w). Lemma 4.1 sends the ordered imaginary coordinates of RC⁡(w)\operatorname{RC}(w) to (B,A)(B,A). If AA and BB are nonzero, the selector rule gives

m0(RC⁡w)−m0(w)=1[B<0<A]−1[A<0<B]=1[A>0]−1[B>0].m_0(\operatorname{RC} w)-m_0(w)=\mathbf{1}[B<0<A]-\mathbf{1}[A<0<B]=\mathbf{1}[A>0]-\mathbf{1}[B>0].

The ray cases fix the sign convention. If A=0A=0, write Ps(w)=r∈RP_s(w)=r\in\mathbb{R}. Then B=−rsin⁡(2π/k)B=-r\sin(2\pi/k): for r<0r<0 both sides are −1-1, and for r>0r>0 both are zero. If B=0B=0, write Ps(R⁡w)=r∈RP_s(\operatorname{R}w)=r\in\mathbb{R}: for r>0r>0 both sides are +1+1, and for r<0r<0 both are zero. When k>2k>2, simultaneous vanishing of AA and BB with Ps(w)≠0P_s(w)\ne0 is impossible. In the zero sector, the chosen ties are equivariant, while both lower imaginary coordinates vanish.

Finally, Lemma 4.1 identifies the sign difference with χ(t(w))−χ(h(w))\chi(t(w))-\chi(h(w)) under convention (2).

The open upper half-plane and the negative-real-axis convention are load-bearing. (4) is a literal edgewise identity, not an averaged symmetry statement.

Legal defect descent and even existence

Reverse complement carries an ordinary MDS to an ordinary MDS because it reverses directed cycles bijectively.

Lemma 6.1 (Positive-potential firing). Let AA and NN be ordinary MDSs and suppose

1N−1A=∇f\mathbf{1}_{N}-\mathbf{1}_{A}=\nabla f

for an integral potential f≥0f \ge0 with minimum zero. If A≠NA \ne N, some lower state uu with f(u)>0f(u)>0 admits a valid full-alphabet F-move from AA.

Proof. Assume otherwise. At every positive state uu, failure of the source condition supplies an incoming residual arc v→uv \to u. It may be chosen nonloop: a residual loop would already contradict that AA is decycling. Since this arc is not in AA,

1N(v→u)=f(v)−f(u)∈{0,1},\mathbf{1}_{N}(v \to u)=f(v)-f(u)\in\{0,1\},

so f(v)≥f(u)>0f(v)\ge f(u)>0. Iterating the predecessor choice within the finite positive support eventually produces a directed residual cycle, a contradiction.

Lemma 6.2 (Defect-paired update). Suppose an ordinary MDS AA satisfies

1RC(A)−1A=∇f,f≥0,f∘RC=f,min⁡f=0.\mathbf{1}_{\mathrm{RC}(A)}-\mathbf{1}_{A}=\nabla f,\qquad f\ge0,\qquad f\circ\mathrm{RC}=f,\qquad\min f=0.

If AA is not invariant, fire an enabled positive state uu supplied by Lemma 6.1. The new MDS A′=Fu(A)A'=F_u(A) satisfies the same conditions with

f′=f−1u−1RC(u).f'=f-\mathbf{1}_{u}-\mathbf{1}_{\mathrm{RC}(u)}.

Moreover u≠RC(u)u\ne\mathrm{RC}(u) and ∑f′=∑f−2\sum f'=\sum f-2.

Proof. The physical firing gives 1A′−1A=∇1u\mathbf{1}_{A'}-\mathbf{1}_{A}=\nabla\mathbf{1}_{u}. Reverse complement reverses lower arcs, hence sends this gradient to −∇1RC(u)-\nabla\mathbf{1}_{\mathrm{RC}(u)}. Subtracting the update from its image gives

1RC(A′)−1A′=∇(f−1u−1RC(u)).\mathbf{1}_{\mathrm{RC}(A')}-\mathbf{1}_{A'}=\nabla\left(f-\mathbf{1}_{u}-\mathbf{1}_{\mathrm{RC}(u)}\right).

The lower length k−1k-1 is odd, so a reverse-complement-fixed lower word would have a central letter fixed by complement; therefore u≠RC(u)u\ne\mathrm{RC}(u). Symmetry of ff makes both decremented coordinates positive. Nonnegativity, symmetry, and minimum zero are preserved, and the total decreases by two.

Theorem 6.3 (Even-order descent). For every even k≥4k\ge4, the seed M0M_0 reaches a literal reverse-complement-invariant ordinary MDS by legal full-alphabet F-moves. Every scheduler that repeatedly uses Lemma 6.1 executes exactly

12∣{u∈Ak−1:λs(u)>0}∣(5)\frac{1}{2}\left|\left\{u\in\mathcal{A}^{k-1}:\lambda_s(u)>0\right\}\right| \tag*{(5)}

physical firings.

Proof. Theorem 5.1 initializes the symmetric nonnegative potential f=χf=\chi. Its minimum is zero: every homopolymer lower word ak−1a^{k-1} has

λs(ak−1)=s(a)∑j=1k−1sin⁡(2πj/k)=0.\lambda_s\left(a^{k-1}\right)=s(a)\sum_{j=1}^{k-1}\sin(2\pi j/k)=0.

While the current MDS is not invariant, Lemmas 6.1–6.2 supply another legal move and decrease ∑f\sum f by two. The process terminates.

At an invariant terminal, ∇f=0\nabla f=0. The lower de Bruijn graph is strongly connected—append the letters of any target word—so ff is constant. Its preserved minimum is zero, hence f=0f=0. Conversely the potential cannot vanish before the indicator defect does. Starting from the 0–1 potential χ\chi therefore gives exactly (5) moves.

The theorem asserts neither uniqueness of the terminal, confluence, nor shortest distance among unrestricted firing paths. A “paired update” is one physical firing whose defect potential changes at two lower states, not two simultaneous firings.

A direct spectral construction

The descent proves existence but need not be simulated. This section selects a particular self-dual ideal of positive lower states and thereby gives a direct terminal formula.

Fix any total order on A\mathcal{A} and use its lexicographic extension to lower words. Write ϑ(u)=RC⁡(u)\vartheta(u)=\operatorname{RC}(u) and define

ψs(u)=∑j=0k−2s(uj)(ζj+1−1),rs(u)=Re⁡ψs(u),U={u:λs(u)>0}.\psi_s(u)=\sum_{j=0}^{k-2}s(u_j)(\zeta^{j+1}-1),\qquad r_s(u)=\operatorname{Re}\psi_s(u),\qquad U=\{u:\lambda_s(u)>0\}.

The final coefficient of Ps(ua)−Ws(ua)P_s(ua)-W_s(ua) is s(a)(ζk−1)=0s(a)(\zeta^k-1)=0, so

ψs(u)=Ps(ua)−Ws(ua)(6)\psi_s(u)=P_s(ua)-W_s(ua) \tag*{(6)}

for every appended letter aa.

Define a⋆:Ak−1→{0,1}a_\star:\mathcal{A}^{k-1}\to\{0,1\} by

a⋆(u)=1⟺u∈U and (rs(u)<0 or [rs(u)=0 and u<ϑ(u)]).(7)a_\star(u)=1\Longleftrightarrow u\in U\ \text{and}\ \left(r_s(u)<0\ \text{or}\ [r_s(u)=0\ \text{and}\ u<\vartheta(u)]\right). \tag*{(7)}

Lemma 7.1 (Self-dual spectral ideal). The set A⋆={u:a⋆(u)=1}A_\star=\{u:a_\star(u)=1\} is an order ideal in the residual seed graph induced by UU, and

a⋆(u)+a⋆(ϑu)=χ(u)(8)a_\star(u)+a_\star(\vartheta u)=\chi(u) \tag*{(8)}

for every lower word uu.

Proof. Reindexing as in Lemma 4.1 gives

ψs(ϑu)=−ψs(u)‾.\psi_s(\vartheta u)=-\overline{\psi_s(u)}.

Thus λs(ϑu)=λs(u)\lambda_s(\vartheta u)=\lambda_s(u) and rs(ϑu)=−rs(u)r_s(\vartheta u)=-r_s(u). Since k−1k-1 is odd and the complement has no fixed letter, ϑ\vartheta has no fixed lower word. Formula (7) therefore chooses exactly one member of every ϑ\vartheta-pair in UU, proving (8).

Now let w:u→vw:u\to v be an edge with u,v∈Uu,v\in U. Both consecutive imaginary coordinates are positive, so ww is not selected by the seed. From (6) and rotation covariance,

ψs(v)−ψs(u)=(ζ−1−1)Ps(w).(9)\psi_s(v)-\psi_s(u)=(\zeta^{-1}-1)P_s(w). \tag*{(9)}

Writing Ps(w)=ρeiϕP_s(w)=\rho e^{i\phi} and α=2π/k\alpha=2\pi/k, the two positive imaginary coordinates imply α<ϕ<π\alpha<\phi<\pi. Hence

rs(v)−rs(u)=2ρsin⁡(α/2)sin⁡(ϕ−α/2)>0.r_s(v)-r_s(u)=2\rho\sin(\alpha/2)\sin(\phi-\alpha/2)>0.

If v∈A⋆v\in A_\star, then rs(v)≤0r_s(v)\leq0, so every predecessor uu has rs(u)<0r_s(u)<0 and lies in A⋆A_\star. This is the ideal property. Strictness also shows that no residual edge joins two zero-level states, so the lexicographic tie in (7) cannot spoil ideality.

Theorem 7.2 (Direct spectral MDS). For every even k≥4k\geq4, the function

m⋆(w)=m0(w)+a⋆(t(w))−a⋆(h(w))(10)m_\star(w)=m_0(w)+a_\star(t(w))-a_\star(h(w)) \tag*{(10)}

is the indicator of a literal reverse-complement-invariant ordinary MDS.

Proof. Fire the states of A⋆A_\star in any predecessor-first order. Consider an incoming edge x→ux \to u when uu is to be fired. If it was selected by M0M_0, nothing is required. Otherwise it is an edge of the residual seed graph. If x∉Ux \notin U, the defect identity (4) and Booleanity would force that edge to be selected by M0M_0, a contradiction. Thus x∈Ux \in U; ideality puts xx in A⋆A_\star, and it was fired earlier, selecting its outgoing edge to uu. No state of UU is a homopolymer, since the complete sine sum is zero there. Thus all incoming companions of uu are selected and the full-alphabet firing is legal.

The cumulative indicator update is exactly (10); in particular it is 0–1 valued and remains an ordinary MDS. For w:u→vw:u \to v, equation (8) gives

(∇a⋆)(RC⁡w)=(∇a⋆)(w)−(∇χ)(w).(\nabla a_\star)(\operatorname{RC} w) = (\nabla a_\star)(w) - (\nabla\chi)(w).

Combining this with (4) yields m⋆(RC⁡w)=m⋆(w)m_\star(\operatorname{RC} w) = m_\star(w).

The construction is direct in a precise sense: membership of a queried word uses the seed rule and the two endpoint values in (7), not a materialized list of firings or of qk−1q^{k-1} lower states. For a deterministic seed, order PCRs by their lexicographically least word. In each paired zero-PCR orbit, select the least word of the smaller PCR and its reverse complement in the mate; on a stable zero PCR select the least of the two fixed rotations.

Corollary 7.3 (Real-weight family). For every injective map s:A→R∖{0}s:\mathcal{A} \to\mathbb{R} \setminus\{0\} satisfying s(aˉ)=−s(a)s(\bar{a})=-s(a), the seed construction produces an ordinary MDS, and both the legal defect descent and direct selector produce reverse-complement-invariant ordinary MDSs at every even k≥4k \ge4. No integrality hypothesis on ss is needed for these existence statements.

Proof. Weighted covariance uses only real linearity, antisymmetry, and complex conjugation. The zero-sector argument additionally uses injectivity to deduce equality of letters from equality of weights. The coboundary uses only signs, while its nonnegative integral potential is the indicator χ\chi, not the alphabet weight map. Finally, the direct construction uses the real order of λs\lambda_s and rsr_s. Thus every preceding step remains valid for the stated real weights.

Corollary 7.4 (Exact membership complexity). Given the complement table, the integer weights, and an even length k≥4k \ge4, a queried word’s membership in the MDS of Theorem 7.2 is decidable with preprocessing time, query time, and working memory polynomial in kk, qq, and the bit length of the weight table. The algorithm uses exact arithmetic and stores no object of size qk−1q^{k-1} or qkq^k.

Proof. Appendix B reduces every required real and imaginary sign to the sign of an integer polynomial at 2cos⁡(2π/k)2\cos(2\pi/k), supplies an explicit algebraic separation bound, and invokes standard polynomial-bit real algebraic arithmetic. In the zero-PCR branch, at most kk distinct rotations and their reverse complements are inspected. All remaining operations are linear scans or lexicographic comparisons of words of length at most kk.

The qq-ary parity theorem

The only even order not covered by the cyclotomic argument is k=2k=2.

Lemma 8.1 (The base case). For every fixed-point-free complemented alphabet, B(q,2)B(q,2) has a literal reverse-complement-invariant ordinary MDS.

Proof. Choose one representative aia_i from each complement pair and impose the complement-reversing order

a1<⋯<aq/2<aˉq/2<⋯<aˉ1.(11)a_1 < \cdots< a_{q/2} < \bar{a}_{q/2} < \cdots< \bar{a}_1. \tag*{(11)}

Delete the word xyxy exactly when y≤xy \le x. Every residual lower arc is strictly increasing, so the residual graph is acyclic. The deletion rule is invariant because y≤xy \le x if and only if xˉ≤yˉ\bar{x} \le\bar{y}. It deletes all qq loops and one orientation of every unordered pair, hence

q+q(q−1)2=q(q+1)2=Nq(2).q + \frac{q(q-1)}{2} = \frac{q(q+1)}{2} = N_q(2).

Proof of Theorem 1.1. For even k≥4k \ge4, choose any injective antisymmetric nonzero real weight map. Theorem 6.3 gives an invariant ordinary MDS, and Theorem 7.2 gives a deterministic direct choice of one. The case k=2k = 2 is Lemma 8.1. Theorem 3.1 excludes ordinary minimum cardinality at every odd k≥3k \ge3.

Corollary 8.2 (DNA). Let A={A,C,G,T}A = \{A, C, G, T\} with A↔TA \leftrightarrow T and C↔GC \leftrightarrow G. For every k≥2k \ge2, B(4,k)B(4,k) has a reverse-complement-invariant ordinary minimum decycling set if and only if kk is even. At even kk its cardinality is

N4(k)=1k∑d∣kφ(d)4k/d.N_4(k) = \frac{1}{k}\sum_{d\mid k}\varphi(d)4^{k/d}.

One concrete direct construction uses weights (−2,−1,1,2)(-2,-1,1,2) in the order (A,C,G,T)(A,C,G,T). At every odd k≥3k \ge3, an RC-invariant decycling set has cardinality at least N4(k)+4N_4(k)+4.

For completeness, define the symmetry-constrained minimum

τRC(q,k)=min⁡{∣M∣:M⊆Ak, RC(M)=M, B(q,k)∖M is a DAG}\tau_{\mathrm{RC}}(q,k) = \min\{|M| : M \subseteq A^k,\ \mathrm{RC}(M)=M,\ B(q,k)\setminus M\text{ is a DAG}\}

and the premium Δq(k)=τRC(q,k)−Nq(k)\Delta_q(k)=\tau_{\mathrm{RC}}(q,k)-N_q(k). The theorem says

Δq(k)=0(k even),Δq(k)≥q(k≥3 odd).\Delta_q(k)=0 \quad(k\text{ even}), \qquad\Delta_q(k)\ge q \quad(k\ge3\text{ odd}).

No exact formula for the odd premium is asserted.

Exact finite assurance and reproducibility

The proof above is deductive and alphabet-general. The public executable capsule is deliberately restricted to the binary specialization: it reconstructs k=2,4,6,8,10,12k=2,4,6,8,10,12 using exact cyclotomic coordinates, verifies one-per-PCR selection, residual acyclicity, the edgewise coboundary, every legal firing, and the final literal symmetry. Keeping this scope explicit avoids presenting a finite sample as evidence for an all-order or alphabet-general quantifier.

Two implementations are used. The producer represents exact coordinates in the appropriate quadratic or cyclotomic integer rings and uses Kahn’s algorithm for the residual DAG. The independent validator uses frozen exact coordinate tables and a recursive DFS DAG oracle; it does not import the producer. Both reconstruct the complete scientific payload rather than comparing only summary counts.

The panel reports six rows and 612 legal source firings. Seven scientific mutations alter rotation, gradient, half-plane, ray, zero-tie, paired-update, or firing conventions; seven independent envelope mutations alter retained scientific fields. Every mutation must be rejected. Appendix § 14 gives the finite table, and the repository documentation gives the exact replay commands and stable payload identity.

This executable layer neither implements the direct qq-ary membership algorithm of Corollary 7.4 nor tests genomic data. Those absences are intentional: the repository accompanies a mathematical article, not a sequence-analysis software release.

Boundaries and outlook

The parity theorem settles whether literal reverse-complement symmetry can be achieved at the ordinary necklace bound for every finite alphabet with a fixed-point-free complement. Several nearby questions remain distinct.

  1. The exact premium Δq(k)\Delta_q(k) at odd orders is not determined. The proof gives the uniform lower bound qq by counting disjoint obstructions, one for each complementary alphabet pair. This is a lower bound, not an equality claim or a packing–covering theorem.

  2. The descent does not identify a unique terminal or a shortest path. The direct selector chooses one terminal after fixing weights and a total alphabet order, but different choices may produce different MDSs.

  3. Minimum cardinality implies that the residual graph is acyclic, but it does not bound its longest directed path. Quantitative window guarantees require a separate analysis.

  4. The fixed-point-free hypothesis is structural. If a complement has fixed letters, lower reverse-complement fixed points and odd-order PCR arguments change. The exceptional order k=1k = 1 also behaves differently.

  5. Corollary 7.4 is a word-membership theorem, not a claim that explicitly listing an exponentially large MDS takes polynomial total time.

  6. No biological conservation, density, runtime, memory, clinical, or application-performance conclusion follows from the graph theorem alone.

The self-dual ideal description may nevertheless be useful independently of the present proof: it converts a global symmetry condition into an exact local membership rule while retaining the ordinary optimum. Understanding which choices of weights and midpoint ties also optimize residual-path statistics is a natural next mathematical problem.

Use of generative AI

Generative-AI assistants contributed substantively to the mathematical development, including candidate proof arguments, symbolic identities, construction and verification code, adversarial checks, and manuscript drafting. The author selected the problem, directed the research process, and is responsible for the article’s claims and final text. The two exact implementations are distinct, but the AI-assisted review process does not constitute independent specialist peer review. No end-to-end formal proof-assistant certification is claimed.

Convention dictionary

ObjectFrozen convention
alphabetfinite, nonempty, fixed-point-free involutive complement
de Bruijn orientationu→vu \to v when the suffix of uu equals the prefix of vv
rotationR(w0⋯wk−1)=w1⋯wk−1w0R(w_0 \cdots w_{k-1}) = w_1 \cdots w_{k-1}w_0
reverse complementreverse, complement; directed anti-automorphism
PCRset of distinct rotations; never an unfolded length-kk list
lower-state arcw:t(w)=w0⋯wk−2→h(w)=w1⋯wk−1w : t(w) = w_0 \cdots w_{k-2} \to h(w) = w_1 \cdots w_{k-1}
weightsexistence: injective nonzero reals with s(aˉ)=−s(a)s(\bar{a}) = -s(a); exact bit complexity: integers
gradient(∇f)(w)=f(t(w))−f(h(w))(\nabla f)(w) = f(t(w)) - f(h(w))
half-planeopen upper half-plane; negative-real-axis selector
FF-moveall qq incoming companions replaced by all qq outgoing companions
set equalityliteral labelled-word equality unless stated otherwise
MDSordinary cardinality minimum plus a literal residual DAG
finite evidencebinary exact panel; never an all-order or qq-ary premise

The theorem starts at k=2k = 2. At k=1k = 1 every vertex is a loop, the unique ordinary minimum is AA, and the parity conclusion would be false.

Stable PCRs and exact algebraic signs

Stable rotation cycles

Lemma B.1 (Fixed rotations in a stable PCR). Let CC be an RCRC-stable PCR at even length kk, over any fixed-point-free complemented alphabet, and let dd be its minimal period. Then dd is even and CC contains exactly two reverse-complement-fixed words.

Proof. Choose w∈Cw \in C and ss (mod dd) with RC⁡(w)=Rsw\operatorname{RC}(w) = R^s w. In cyclic position notation,

wr=ws−1−r‾.w_r = \overline{w_{s-1-r}}.

The positional involution r↦s−1−rr \mapsto s - 1 - r cannot have a fixed point. If dd were odd, 2 would be invertible modulo dd and 2r≡s−1(modd)2r \equiv s - 1 \pmod d would have a solution, a contradiction. Thus dd is even. For even dd, that congruence is solvable exactly when ss is odd, so ss is even. A rotation RiwR^i w is reverse-complement fixed precisely when

RC⁡(Riw)=R−iRC⁡(w)=Rs−iw=Riw,\operatorname{RC}(R^i w) = R^{-i}\operatorname{RC}(w) = R^{s-i}w = R^i w,

or $2i \equiv s \pmod d$. Since dd and ss are even, this congruence has exactly gcd⁡(2,d)=2\gcd(2,d) = 2 solutions modulo $d.

Lemma B.2. On words of odd length, reverse complement has no fixed point.

Proof. The central letter of a fixed odd-length word would equal its complement.

These facts permit equivariant representatives on stable zero PCRs, but do not by themselves imply global acyclicity; Theorem 4.3 is still essential.

Polynomial-bit exact sign determination

We justify Corollary 7.4. In this subsection only, specialize the real weight map used by the existence proof to an integer-valued map. Put

c=2cos⁡(2π/k),d=φ(k)/2,B=max⁡a∈A∣s(a)∣.c = 2\cos(2\pi/k), \qquad d = \varphi(k)/2, \qquad B = \max_{a\in A} |s(a)|.

For k≥4k \ge4, cc is an algebraic integer of degree dd. If Ψk\Psi_k is its monic minimal polynomial, it is recovered from the reciprocal cyclotomic identity

Φk(z)=zdΨk(z+z−1).(12)\Phi_k(z) = z^d\Psi_k\left(z+z^{-1}\right). \tag*{(12)}

Classical minimal-polynomial formulas provide the same representation [7]. Among the real conjugates of cc, the chosen value is the largest one; this property gives a canonical exact isolating interval for the root of Ψk\Psi_k at which all subsequent signs are evaluated. Define integer polynomials

C0=2,C1=x,Cj+1=xCj−Cj−1,S0=0,S1=1,Sj+1=xSj−Sj−1.C_0 = 2,\quad C_1 = x,\quad C_{j+1} = xC_j-C_{j-1}, \qquad S_0 = 0,\quad S_1 = 1,\quad S_{j+1} = xS_j-S_{j-1}.

At x=cx=c,

Cj(c)=2cos⁡(2πj/k),Sj(c)=sin⁡(2πj/k)sin⁡(2π/k).C_j(c) = 2\cos(2\pi j/k), \qquad S_j(c) = \frac{\sin(2\pi j/k)}{\sin(2\pi/k)}.

Since sin⁡(2π/k)>0\sin(2\pi/k)>0, every sign or zero used in the seed and midpoint rules reduces to an integer polynomial at cc:

2Re⁡Ps(w)=∑js(wj)Cj+1(c),2\operatorname{Re} P_s(w) = \sum_j s(w_j)C_{j+1}(c),
sign⁡Im⁡Ps(w)=sign⁡∑js(wj)Sj+1(c),\operatorname{sign}\operatorname{Im} P_s(w) = \operatorname{sign}\sum_j s(w_j)S_{j+1}(c),
sign⁡λs(u)=sign⁡∑js(uj)Sj+1(c),\operatorname{sign}\lambda_s(u) = \operatorname{sign}\sum_j s(u_j)S_{j+1}(c),
2rs(u)=∑js(uj)(Cj+1(c)−2).2r_s(u) = \sum_j s(u_j)\left(C_{j+1}(c)-2\right).

Reducing a polynomial modulo Ψk\Psi_k decides exact zero: the value vanishes at cc precisely when the remainder is the zero polynomial. For a nonzero remainder gg, each conjugate cic_i of cc lies in [−2,2][-2,2]. The elementary bounds ∣Cj(ci)∣≤2|C_j(c_i)|\le2 and ∣Sj(ci)∣≤j|S_j(c_i)|\le j imply the common safe estimate

∣g(ci)∣≤M:=2Bk(k+1).|g(c_i)| \le M := 2Bk(k+1).

Because g(c)g(c) is a nonzero algebraic integer, its field norm is a nonzero rational integer. Therefore

∣g(c)∣≥M−(d−1).(13)|g(c)| \ge M^{-(d-1)}. \tag*{(13)}

Certified interval evaluation below half this gap determines the sign. The coefficients of Φk\Phi_k, Ψk\Psi_k, the recurrences, and their remainders have bit length polynomial in kk and log⁡(B+1)\log(B+1). Standard Sturm–Habicht real-root isolation and sign evaluation operate in polynomial bit complexity [2]. Equation (13) requires only O(k(log⁡B+log⁡k))O(k(\log B+\log k)) refinement bits. Scanning at most kk rotations handles a deterministic zero-PCR tie. This proves the claimed polynomial preprocessing, query, and workspace bounds without a real-RAM or floating-point assumption.

Finite validation boundaries

The executable binary panel has four epistemic roles: it verifies the left-rotation and gradient conventions; exercises negative-ray, strict-crossing, and zero-sector cases; replays every legal firing and terminal invariant; and rejects convention mutations. It neither interpolates in kk nor tests the alphabet-general theorem.

kkPCRszero PCRsstable zeropaired zero∣supp⁡χ∣|\operatorname{supp}\chi|firings
2300000
4631121
614512105
8366225226
10108914220110
123521957940470

Table 1. Exact binary convention-assurance panel. PCRs use distinct rotations, and “paired zero” counts PCR pairs.

The total is 612 legal firings. Runtime and envelope metadata are excluded from the stable scientific payload. The paper proof, not this table or its hash, is authority for every all-order statement.

References

  1. [1]Jean-Marc Champarnaud, Georges Hansel, and Dominique Perrin. Unavoidable sets of constant length. International Journal of Algebra and Computation, 14(2):241–251, 2004. https://doi.org/10.1142/S0218196704001700.
  2. [2]Ioannis Z. Emiris and Elias P. Tsigaridas. Computations with one and two real algebraic numbers, 2005. https://arxiv.org/abs/cs/0512072.
  3. [3]Guillaume Marçais, Dan DeBlasio, and Carl Kingsford. Sketching methods with small window guarantee using minimum decycling sets. Journal of Computational Biology, 31(7):597–615, 2024. https://doi.org/10.1089/cmb.2024.0544.
  4. [4]Guillaume Marçais, C. S. Elder, and Carl Kingsford. k-nonical space: Sketching with reverse complements. Bioinformatics, 40(11):btae629, 2024. https://doi.org/10.1093/bioinformatics/btae629.
  5. [5]Johannes Mykkeltveit. A proof of golomb’s conjecture for the de bruijn graph. Journal of Combinatorial Theory, Series B, 13(1):40–45, 1972. https://doi.org/10.1016/0095-8956(72)90006-8.
  6. [6]David Pellow, Lianrong Pu, Barış Ekim, Lior Kotlar, Bonnie Berger, Ron Shamir, and Yaron Orenstein. Efficient minimizing orders for large values of k using minimum decycling sets. Genome Research, 33(7):1154–1161, 2023. https://doi.org/10.1101/gr.277644.123.
  7. [7]William Watkins and Joel Zeitlin. The minimal polynomial of cos(2π/n). The American Mathematical Monthly, 100(5):471–474, 1993. https://doi.org/10.1080/00029890.1993.11990434.

Paper details

vlnc:W_mszejayx
v1 · latestHistory (1)

published · Fresh — published within the last 30 days

Usage

views · 0

downloads · 0

A view counts once per browser per day, a download each time the PDF is requested.

CC BY 4.0

Original source

  • Mathematics

OpenAI ChatGPT GPT-5.6 Sol; GPT-5 Pro · View statement →

Looking for related papers…
Contents