alphaFeedback

WorksComputer Science

Decomposable disjoint-union circuits for primitive words

AI contributions
Not recorded for this paper
View details

Abstract

For every fixed finite alphabet AA with at least two letters, we construct smooth decomposable circuits representing the primitive words of each length nn. The gates are literals, Cartesian products on disjoint position sets, and disjoint unions on equal position sets. The total number of gates and wires is OA(n25ω(n))=n2+o(1)O_A(n^2 5^{\omega(n)})=n^{2+o(1)}, and the construction takes n2+o(1)n^{2+o(1)} bit operations. Prime periods are expressed as coordinate directions of independent rectangular grids. A recursion at the first nonconstant vertex computes the exact set of failed directions; sharing its continuations gives the size bound. This resolves the primitive-word instance of the circuit question posed by Amarilli, Monet, Raphael, and Salvati. It does not determine whether primitive words form a context-free or a poly-slicewise-unambiguous language. The same circuit bound holds for any union of exact power orders at a fixed length.

Statement and circuit model

A nonempty word is primitive if it is not a power udu^{d} with d≥2d \ge2. The empty word is excluded.

Write Prim⁡A(n)⊆An\operatorname{Prim}_{A}(n) \subseteq A^{n} for the primitive words of length nn, and let ω(n)\omega(n) be the number of distinct prime divisors of the positive integer nn, with ω(1)=0\omega(1) = 0.

Amarilli, Monet, Raphaël, and Salvati introduced a multivalued circuit framework for probabilistic language membership [1 Section 5]. Their construction for primitive words uses complementation, and [1 Section 6] asks whether complementation can be avoided for this language. We use their circuit model, with the conventions made explicit below. Their quadratic arithmetic algorithm for probabilistic membership is already available; the result here concerns the form and size of a representation.

Fix a finite set UU of positions. An assignment on D⊆UD \subseteq U is a function D→AD \to A. A circuit is a finite directed acyclic graph, with a designated output, built from the following gates.

  1. A literal i:ai : a has domain {i}\{i\} and represents the one assignment sending ii to aa.

  2. A product gate has inputs with pairwise disjoint domains. Its domain is their union, and its assignments are all unions of one assignment from each input.

  3. A union gate has inputs with the same domain and pairwise disjoint represented sets. It represents their union, with that common domain.

These requirements are called decomposability, smoothness, and disjointness, respectively. We allow the nullary product, of domain ∅\varnothing, representing the unique empty assignment, and the nullary union, of domain ∅\varnothing, representing no assignment. The domain of every other gate is the union of its input domains. Thus the nullary union alone cannot represent the empty set on a prescribed nonempty domain. We denote the set represented by a gate cc by [ ⁣[c] ⁣][\![c]\!]. The size of a circuit is its number of gates plus its number of wires. Fan-out is unrestricted, so a constructed gate may be shared by several later gates. Positions may be relabeled by any bijection without changing these properties or the size.

Theorem 1.1. Fix a finite alphabet AA, with ∣A∣≥2|A| \ge2. For each integer n≥1n \ge1 there is a smooth decomposable disjoint-union circuit with domain {0,…,n−1}\{0, \ldots, n-1\} representing exactly Prim⁡A(n)\operatorname{Prim}_{A}(n) and

having size

OA(n25ω(n)).O_A\left(n^{2}5^{\omega(n)}\right).

One algorithm constructs these circuits in n2+o(1)n^{2+o(1)} bit operations as a function of nn. The empty slice is represented by a nullary union.

Here and below AA is fixed, so constants may depend on ∣A∣|A|. Construction time is measured in the represented length nn, or equivalently with nn given in unary. A stronger intermediate bound will be

OA(n∏p∣n,p prime(1+4p)).(1)O_A\left(n\prod_{\substack{p\mid n,\,p\ \mathrm{prime}}}(1+4p)\right). \tag*{(1)}

Products in this model may combine interlaced position sets. The theorem does not provide a context-free grammar or a family of polynomial-size unambiguous context-free grammars for the slices. These language-theoretic questions are separate from the circuit question; see also the discussion of primitive words in [2 Section 6].

From periods to independent grids

We identify positions of a length-nn word with Z/nZ\mathbb{Z}/n\mathbb{Z}. For a divisor d∣nd\mid n, a word is invariant under shift dd if w(j+d)=w(j)w(j+d)=w(j) for all positions jj.

Lemma 2.1. Let n≥2n\ge2, and let PP be its set of distinct prime divisors. A word w∈Anw\in A^n is primitive if and only if it fails to be invariant under shift n/pn/p for every p∈Pp\in P.

Proof. If w=udw=u^d with d≥2d\ge2, then d∣nd\mid n. Choose a prime p∣dp\mid d and write w=(ud/p)pw=(u^{d/p})^p. It is invariant under shift n/pn/p. Conversely, the orbits of shift n/pn/p are the sets {i,i+n/p,…,i+(p−1)n/p}\{i,i+n/p,\ldots,i+(p-1)n/p\} for 0≤i<n/p0\le i<n/p. Invariance therefore says precisely that ww is the ppth power of its prefix of length n/pn/p. □\square

Set

R=∏p∈Pp,g=n/R,k=∣P∣.R=\prod_{p\in P}p,\qquad g=n/R,\qquad k=|P|.

Every shift n/pn/p preserves the residue of a position modulo gg. Within residue class rr, 0≤r<g0\le r<g, write a position uniquely as r+gtr+gt, where t∈Z/RZt\in\mathbb{Z}/R\mathbb{Z}. Use the Chinese remainder bijection

Z/RZ⟶∏p∈PZ/pZ,t⟼(t mod p)p∈P.(2)\mathbb{Z}/R\mathbb{Z}\longrightarrow\prod_{p\in P}\mathbb{Z}/p\mathbb{Z},\qquad t\longmapsto(t\bmod p)_{p\in P}. \tag*{(2)}

Shift n/pn/p adds R/pR/p to tt. In these coordinates it fixes every coordinate other than pp, and adds the nonzero residue R/p mod pR/p\bmod p in coordinate pp. Repeated addition visits all pp values of that coordinate. Thus the gg residue classes form gg independent copies of a rectangular grid with side lengths p∈Pp\in P.

For a labeled grid, call an axis failed if at least one line parallel to it is not constant. The set of failed axes is its mask. The preceding observations prove the following statement.

Lemma 2.2. The word fails shift n/pn/p exactly when axis pp fails in at least one of the gg grids. Its primitive-word condition is therefore that the union of the masks of the gg grids is PP.

We next construct circuits for each exact grid mask. Exactness will make all unions in the construction disjoint.

The constant-prefix recursion

For this section take any ordered finite set II of axes, with integer side lengths qi≥2q_i \ge2. Write

X=∏i∈I{0,…,qi−1},V=∣X∣=∏i∈Iqi.X = \prod_{i\in I}\{0,\ldots,q_i-1\}, \qquad V = |X| = \prod_{i\in I}q_i.

A subgrid fixes the coordinates outside some T⊆IT \subseteq I and varies all the coordinates in TT. Its varying axes are TT, its size is vT=∏i∈Tqiv_T = \prod_{i\in T}q_i, and its vertices inherit lexicographic order from the ordered axes. In particular, a subgrid with no varying axes has a single vertex.

Let G=(x0,…,xv−1)G=(x_0,\ldots,x_{v-1}) be an ordered subgrid with varying axes TT. For a labeling f:G→Af:G\to A define

Fail⁡G(f)={i∈T:there exist x,y∈G equal in every coordinate except i,with f(x)≠f(y)}.\operatorname{Fail}_G(f)=\left\{i\in T:\begin{array}{l}\text{there exist }x,y\in G\text{ equal in every coordinate except }i,\\ \text{with }f(x)\ne f(y)\end{array}\right\}.

For 1≤t≤v1\le t\le v, b∈Ab\in A, and M⊆TM\subseteq T, let S(G,t,b,M)\mathcal{S}(G,t,b,M) be the assignments on G≥t={xt,…,xv−1}G_{\ge t}=\{x_t,\ldots,x_{v-1}\} whose extension by the value bb on x0,…,xt−1x_0,\ldots,x_{t-1} has mask exactly MM. Let B(G,M)\mathcal{B}(G,M) be the assignments on all of GG with mask exactly MM. The constant prefix is a condition on the represented assignments, and its positions are outside their domain.

We will represent every nonempty one of these sets by a gate. If a state is empty, we record that fact and create no gate for it. A proposed product involving an empty state is omitted, and unions range only over nonempty inputs. This convention respects the structural definition of domain above. Feasibility is determined during the same recursion, without examining all assignments.

Lemma 3.1 (first differing vertex). Let 1≤t≤v1\le t\le v, and complete a prefix of tt copies of bb to a nonconstant labeling of GG. Let xsx_s be its first vertex whose label aa differs from bb. Put

F=F(xs)={i∈T:(xs)i≠0},U=T∖F.F=F(x_s)=\{i\in T:(x_s)_i\ne0\},\qquad U=T\setminus F.

Then s≥ts\ge t, FF is nonempty, and every axis in FF fails. Partition GG into subgrids HH by fixing all coordinates in FF, so that each HH has varying axes UU. The following hold.

(i) In the subgrid H∗H_* containing xsx_s, that vertex is first, and no earlier vertex of GG lies in H∗H_*.

(ii) In every other HH, the vertices preceding xsx_s in GG form an initial segment of HH, all labeled bb.

(iii) For i∈Ui\in U, axis ii fails in GG if and only if it fails in at least one of these subgrids.

Consequently, for every such completed labeling ff,

Fail⁡G(f)=F∪⋃HFail⁡H(f∣H).(3)\operatorname{Fail}_G(f)=F\cup\bigcup_H\operatorname{Fail}_H(f|_H). \tag*{(3)}

Proof. The first vertex x0x_0 has all varying coordinates zero. Since s≥t≥1s\ge t\ge1, we have xs≠x0x_s\ne x_0 and hence F≠∅F\ne\varnothing. For each i∈Fi\in F, reset coordinate ii of xsx_s to zero, keeping all others fixed. The resulting vertex precedes xsx_s in lexicographic order, so its label is bb, whereas the label of xsx_s is aa. The two vertices share an ii-axis line, and that line is nonconstant.

Every coordinate of xsx_s in UU is zero. After the FF coordinates are fixed to those of xsx_s, it is therefore the first vertex of H∗H_*. Lexicographic order on any other HH is the restriction of the order on GG. Intersecting an initial segment of GG with HH gives an initial segment of HH, proving (ii). Finally, any line in an axis i∈Ui\in U has fixed FF coordinates. It is contained in one HH, and the ii-lines of all the HH are exactly the ii-lines of GG. This proves (iii) and (3.1). □\square

We spell out the use of exact masks in combining subgrids.

Lemma 3.2 (combining exact masks). Suppose D1,…,DhD_1,\ldots,D_h are pairwise disjoint position sets. For each jj suppose gates on domain DjD_j represent pairwise disjoint families Lj,N\mathcal{L}_{j,N} indexed by N⊆UN\subseteq U, with empty families recorded as absent. There is a smooth decomposable disjoint-union construction representing, for every M⊆UM\subseteq U,

⋃N1∪⋯∪Nh=ML1,N1×⋯×Lh,Nh(4)\bigcup_{N_1\cup\cdots\cup N_h=M}\mathcal{L}_{1,N_1}\times\cdots\times\mathcal{L}_{h,N_h} \tag*{(4)}

using O(h4∣U∣)O(h4^{|U|}) new gates and wires. All nonempty resulting states have domain D1∪⋯∪DhD_1 \cup\cdots\cup D_h.

Proof. Start with the nullary product at mask ∅\varnothing and no state at any other mask. After processing jj domains, keep one state Ej,ME_{j,M} for each nonempty family with accumulated mask MM. For every nonempty pair Ej−1,BE_{j-1,B} and Lj,NL_{j,N}, form their product and attach it to the union for Ej,B∪NE_{j,B\cup N}. These products are decomposable. For a fixed resulting mask, all products have domain D1∪⋯∪DjD_1 \cup\cdots\cup D_j. An assignment on this domain determines its restrictions to the first j−1j-1 domains and to DjD_j. Pairwise disjointness of the state families then determines both BB and NN uniquely. Thus the union is disjoint. Induction proves (3.2) and pairwise disjointness across its different masks. At each step there are at most 4∣U∣4^{|U|} mask pairs, so the claimed bound counts both gates and wires. Empty states are recognized by the absence of a nonempty pair.

Proposition 3.3. For every subgrid GG and every admissible t,b,Mt,b,M, the nonempty sets S(G,t,b,M)\mathcal{S}(G,t,b,M) and B(G,M)\mathcal{B}(G,M) admit circuits of the specified type. All these circuits can be constructed simultaneously by induction on the number of varying axes.

Proof. Suppose the construction is available on subgrids with fewer than ∣T∣|T| varying axes. For each bb the constant completion contributes the single all-bb assignment on G≥tG_{\ge t} to S(G,t,b,∅)\mathcal{S}(G,t,b,\varnothing). It is represented by a product of literals; when the domain is empty this is the nullary product.

For a nonconstant completion, fix its first differing index s≥ts \ge t and its letter a≠ba \ne b. Use FF, UU, and the subgrids HH of Lemma 3.1. They have fewer varying axes because FF is nonempty. For H≠H∗H \ne H_* let

rH=∣H∩{x0,…,xs−1}∣.r_H = \left|H \cap\{x_0,\ldots,x_{s-1}\}\right|.

If rH=0r_H=0, use the states B(H,N)\mathcal{B}(H,N) on all of HH. If rH≥1r_H \ge1, use S(H,rH,b,N)\mathcal{S}(H,r_H,b,N) on the remaining suffix of HH. For H∗H_* use S(H∗,1,a,N)\mathcal{S}(H_*,1,a,N). In every case the prescribed prefix lies outside the state’s domain. These remaining domains partition G>s={xs+1,…,xv−1}G_{>s}=\{x_{s+1},\ldots,x_{v-1}\}.

Apply Lemma 3.2 to these states. Denote the gate of accumulated mask N⊆UN \subseteq U, if nonempty, by KG,s,b,a,NK_{G,s,b,a,N}. It has domain G>sG_{>s}. To obtain a branch for the original suffix, multiply it by the assignment bb on {xt,…,xs−1}\{x_t,\ldots,x_{s-1}\} and by the literal xs:ax_s:a. The three domains are disjoint, and their union is G≥tG_{\ge t}. By (3.1), this branch contributes precisely to

S(G,t,b,F∪N).(5)\mathcal{S}(G,t,b,F\cup N). \tag*{(5)}

For each required mask take the union of these branches and the constant branch, if appropriate. Their domains agree. Two nonconstant branches are disjoint because their completed labelings have different first differing positions or different letters at that position. For fixed s,as,a, masks NN are exact and pairwise disjoint; moreover F∪N=MF\cup N=M determines N=M∖FN=M\setminus F. The constant branch is disjoint from every nonconstant branch. Lemma 3.1 shows that every completion occurs in the prescribed branch, so these gates represent exactly the claimed sets.

Finally, form B(G,M)\mathcal{B}(G,M) by the disjoint union, over b∈Ab\in A, of the literal x0:bx_0:b times the state S(G,1,b,M)\mathcal{S}(G,1,b,M), omitting absent states. The two factors have disjoint domains. The resulting branches all have domain GG, and their first letters make them pairwise disjoint.

When T=∅T=\varnothing, GG is a singleton. The only possible mask is ∅\varnothing; its states at t=1t=1 are nullary products, and B(G,∅)\mathcal{B}(G,\varnothing) is the disjoint union of the literals at its one position. No nonconstant branch occurs. This supplies the base case, including all empty-domain states used above.

Sharing and the size bound

The induction alone gives a circuit construction. The following count depends on sharing a continuation across all compatible prefix lengths.

Lemma 4.1. Let GG have vv vertices and mm varying axes. Besides gates already constructed on its proper subgrids, all its states in Proposition 3.3 require OA(v24m)O_A(v^2 4^m) gates and wires.

Proof. We first build the constant assignment of letter bb on every interval {xi,…,xj−1}\{x_i,\ldots,x_{j-1}\}, $0 \le i \le j \le v$. For fixed i,bi,b, start with the nullary product and append one literal at a time. Each extension uses a binary decomposable product. This costs OA(v2)O_A(v^2) gates and wires in total. Literals can be shared wherever they recur.

For fixed s≥1s \ge1, bb, and a≠ba \ne b, the partition into HH, all numbers rHr_H, and the distinguished state with letter aa depend only on G,s,b,aG,s,b,a. They do not depend on t≤st \le s. The core gates KG,s,b,a,NK_{G,s,b,a,N} are therefore built once and shared for every such tt. There are at most vv subgrids in this partition, and at most mm remaining axes. Lemma 3.2 bounds the cost of one core by O(v4m)O(v^4m). There are OA(v)O_A(v) choices of s,b,as,b,a, so all cores cost OA(v24m)O_A(v^{24m}).

For each t,s,b,a,Nt,s,b,a,N the branch in (5) is one product with at most three inputs. The number of choices is OA(v2m)O_A(v^{2m}). Attach each to the union for its unique output mask F(xs)∪NF(x_s) \cup N. There are at most OA(v2m)O_A(v^{2m}) suffix states and OA(2m)O_A(2^m) full-grid states, and the latter have at most ∣A∣|A| inputs each. Counting their wires as well as their gates adds OA(v22m)O_A(v^{22m}). Absent states and branches decrease these counts. Together with the constant intervals this proves the bound. □

Proposition 4.2. All exact-mask circuits for the full grid XX can be constructed simultaneously with size

OA(V∏i∈I(1+4qi)).(6)O_A\left(V\prod_{i\in I}(1+4q_i)\right). \tag*{(6)}

The number of bit operations is this bound times a polynomial in ∣I∣+log⁡(V+1)|I|+\log(V+1).

Proof. For fixed varying axes TT, there are V/vTV/v_T subgrids, one for each choice of their fixed coordinates. Summing Lemma 4.1 over every subgrid gives

∑T⊆IVvTOA(vT24∣T∣)=OA(V∑T⊆I∏i∈T(4qi))=OA(V∏i∈I(1+4qi)).\begin{aligned} \sum_{T\subseteq I}\frac{V}{v_T}O_A(v_T^2 4^{|T|})=O_A\left(V\sum_{T\subseteq I}\prod_{i\in T}(4q_i)\right) \\ &=O_A\left(V\prod_{i\in I}(1+4q_i)\right). \end{aligned}

Build subgrids in increasing order of ∣T∣|T|, then cores, suffix states, and full-grid states, as in the proofs. This is a topological construction. Represent a subgrid by its varying-axis set and fixed coordinates, a vertex by its coordinate tuple, and a mask by a bit vector. All indices have polynomial length in ∣I∣+log⁡(V+1)|I|+\log(V+1). For each possible differing vertex one may scan all vTv_T vertices to obtain the partition and the prefix lengths rHr_H; over all vertices this takes O(vT2)O(v_T^2) coordinate operations. Every remaining loop has one iteration per state, mask pair, or wire counted above. Feasibility flags are propagated by conjunction at products and disjunction at unions. Thus all indexing, arithmetic, and feasibility work fit within the stated polynomial factor. □

Proof of Theorem 1.1. For n≥2n \ge2 apply Proposition 4.2 to each of the gg grids from (2), with qp=pq_p=p. Their total size is

OA(gR∏p∈P(1+4p))=OA(n∏p∈P(1+4p)).O_A\left(gR\prod_{p\in P}(1+4p)\right)=O_A\left(n\prod_{p\in P}(1+4p)\right).

Combine their exact masks by Lemma 3.2, at additional cost O(g4k)O(g4^k), and choose the output with mask PP. The grid position sets are disjoint, so all products remain decomposable. By Lemmas 2.1 and 2.2, the chosen output represents precisely Prim⁡A(n)\operatorname{Prim}_A(n). This output is nonempty: for distinct a,b∈Aa,b\in A, the word an−1ba^{n-1}b is primitive, because the number of occurrences of bb in a ddth power would be divisible by dd. The additional cost is absorbed by the displayed bound. Indeed, g4k≤gR∏p∈P(1+4p)g4^k \le gR\prod_{p\in P}(1+4p). As 1+4p≤5p1+4p\le5p and R≤nR\le n, this proves both (1.1) and OA(n25k)O_A(n^25^k).

For completeness, 5ω(n)=no(1)5^{\omega(n)}=n^{o(1)} follows without a prime number estimate. If the kk distinct primes are increasing, the jjth is at least j+1j+1, so (k+1)!≤n(k+1)! \le n. For k≥4k \ge4, at least k/2k/2 factors in this factorial are at least k/2k/2, whence

log⁡n≥k2log⁡(k/2).\log n \ge\frac{k}{2}\log(k/2).

It follows that k=o(log⁡n)k=o(\log n): when kk is large the ratio k/log⁡nk/\log n is at most 2/log⁡(k/2)2/\log(k/2), and bounded values of kk also give a vanishing ratio. Thus 5k=no(1)5^k=n^{o(1)}. Also k≤log⁡2nk \le\log_2 n, so any fixed polynomial in k+log⁡nk+\log n is no(1)n^{o(1)}.

Trial division finds the distinct primes of nn within the stated time. The position relabeling can be tabulated by enumerating 0≤r<g0 \le r < g and 0≤t<R0 \le t < R and computing the residues in (2); no search over assignments is involved. Together with Proposition 4.2, these facts give construction time n2+o(1)n^{2+o(1)} in the bit model. For n=1n=1, use the disjoint union of the ∣A∣|A| literals at its sole position. For n=0n=0, use the nullary union. □

Exact power orders

We finish with a consequence for the exact order of a word. The usual uniqueness of a primitive root can be proved directly in the cyclic notation used here.

Lemma 5.1. Every nonempty word ww has a unique expression w=udw=u^d with uu primitive and d≥1d \ge1.

Proof. For a word of length nn, let

H={h∈Z:w(j+h)=w(j) for every j∈Z/nZ}.H=\{h\in\mathbb{Z}:w(j+h)=w(j)\text{ for every }j\in\mathbb{Z}/n\mathbb{Z}\}.

This is an additive subgroup of Z\mathbb{Z} containing nZn\mathbb{Z}, so H=mZH=m\mathbb{Z} for a positive divisor mm of nn. The word is the (n/m)(n/m)th power of its prefix uu of length mm. If uu were a proper power, its shorter block length would belong to HH, contrary to minimality of mm.

If also w=vew=v^e with vv primitive, then ∣v∣∈H|v|\in H and hence m∣∣v∣m\mid|v|. Invariance under shift mm says that the prefix vv is itself a power of the prefix of length mm. Primitivity forces ∣v∣=m|v|=m, so v=uv=u and e=n/me=n/m. □

Call dd in Lemma 5.1 the order of ww.

Corollary 5.2. Fix AA as in Theorem 1.1. For any n≥1n\ge1 and any set DD of positive divisors of nn, the length-nn words whose orders belong to DD have a smooth decomposable disjoint-union circuit of size OA(n2ω(n))O_A(n^{2\omega(n)}), constructible in n2+o(1)n^{2+o(1)} bit operations. This includes a circuit for each individual exact order.

Proof. Fix d∣nd\mid n and put m=n/dm=n/d. A word has order dd exactly when it is udu^d for u∈Prim⁡A(m)u\in\operatorname{Prim}_A(m). Take the circuit of Theorem 1.1 for length mm. For every literal i:ai:a, replace it by the product of the dd literals

i:a, (i+m):a, …, (i+(d−1)m):a.i:a,\ (i+m):a,\ \ldots,\ (i+(d-1)m):a.

For distinct source positions ii, the corresponding position sets are disjoint. Consequently every original product stays decomposable, and equal original domains give equal expanded domains. The expansion of an assignment is injective: restriction to the first mm positions recovers it. Disjoint unions therefore remain disjoint. The output represents exactly the words of order dd.

Share equal source literals before replacing them. There are at most ∣A∣m|A|m of them, so the replacements add OA(n)O_A(n) gates and wires. The circuit for this order has size

OA((n/d)25ω(n/d)+n).(7)O_A\left((n/d)^2 5^{\omega(n/d)}+n\right). \tag*{(7)}

Construct such circuits separately for d∈Dd \in D and take the union of their outputs. All domains are the same, and the outputs are pairwise disjoint by Lemma 5.1. Finally,

∑d∣n(n/d)5ω(n/d)≤n25ω(n)∑d=1∞d−2≤2n25ω(n),\sum_{d\mid n}(n/d)^{5\omega(n/d)} \le n^{2}5^{\omega(n)}\sum_{d=1}^{\infty}d^{-2} \le2n^{2}5^{\omega(n)},

where the last inequality follows by comparing the terms from d=2d=2 onwards with ∫1∞x−2 dx\int_{1}^{\infty}x^{-2}\,\mathrm{d}x. Also nn times the number of divisors of nn is at most n2n^{2}. These estimates give the size bound. The same summation, with the polynomial indexing factors already bounded uniformly in log⁡n\log n, proves the construction-time bound. If DD is empty, a constant assignment on the full domain multiplied by a nullary union gives the required empty output with size O(n)O(n). □

References

Email address: [email protected]

Email address: [email protected]

Email address: [email protected]

Email address: [email protected]

References

  1. [1]Antoine Amarilli, Mikaël Monet, Paul Raphaël, and Sylvain Salvati, On the complexity of language membership for probabilistic words, in 43rd International Symposium on Theoretical Aspects of Computer Science (STACS 2026), Leibniz International Proceedings in Informatics 364 (2026), article 5, 5:1–5:21. doi:10.4230/LIPIcs.STACS.2026.5.DOI
  2. [2]Antoine Amarilli, Mikaël Monet, Paul Raphaël, and Sylvain Salvati, On the complexity of language membership for probabilistic words, full version, arXiv:2510.08127v2, 22 June 2026. https://arxiv.org/abs/2510.08127v2.

Paper details

vlnc:W_wy2btpfj
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

  • Computer Science

Not recorded for this paper · View statement →

Looking for related papers…
Contents