Submitted:
05 August 2026
Posted:
05 August 2026
You are already at the latest version
Abstract
Assembly theory measures a string by the shortest history that builds it. We sharpen this picture in two directions. First, we attach a discrete Dirichlet energy to an assembly space and show that it splits into the size of the space and a secondary energy charging each step vertex the square of its secondary (pathway depth) increment. The assembly index does not imply minimum energy, and the assembly depth and the energy are independent complexity measures. Second, we ask how an ensemble T of strings co-assembles within a single space. Individuating step vertices by their formation histories rather than by the strings they carry yields three joint assembly spaces: the collectively (\( \omega_T \)), multiplicity (\( \mu_T \)), and singly (\( \pi_T \)) optimal ones, where the latter need not exist for certain ensembles and \( |\omega_T| \le |\mu_T| \le |\pi_T| \). All three sizes can differ, and multiplicity can lower the singly optimal size only for ensembles with \( |\pi_T| - |\omega_T| \ge 2 \). Collective optimization is NP-complete, while singly and multiplicity optimizations are NP-hard and lie a priori in the second level of the polynomial hierarchy.
Keywords:
assembly theory
; assembly index
; addition chains
; addition sequences
; joint assembly space
; Dirichlet energy
; computational complexity
; information theory
; complexity measures
; combinatorial optimization
; mathematical physics
1. Introduction
Assembly theory (AT) models complex objects in terms of their possible formation histories. In its canonical string form, elementary symbols are recursively joined to assemble longer strings, and the assembly index (ASI) of a string is the minimum number of joining steps required to assemble it. In chemical applications, the joining steps are often interpreted as bond-forming or motif-forming operations; in symbolic applications, they are concatenations of previously available strings. The central idea is reuse: once a string has been assembled, it remains available in the assembly pool for reuse.
For a single string, the ASI interpretation is already essential, as—in general—the same string can be produced by many different optimal assembly plans. This becomes even more important for an ensemble of target strings. If several strings share substructures, the relevant question is not merely how expensive each string is on its own, but how expensive it is to build the entire ensemble using a shared pool of reusable intermediates.
This paper is structured as follows. Section 2 briefly reintroduces some known definitions [1,2]. Section 3 shows that the Dirichlet energy fits naturally into the assembly space. Section 4 introduces the concepts of singly, multiplicity, and collectively optimal joint assembly spaces and discusses their complexity. Section 5 concludes the findings of this study.
2. Assembly Space
Let be a finite set of basic symbols (an alphabet). Let denote the set of all nonempty finite strings over .
Definition 1
(Assembly Space). An assembly space is a finite acyclic digraph on a vertex set , where the basic symbols are the inaccessiblesourcevertices of in-degree zero, each being its own index and string, and (disjoint from Σ) indexes the 2-in-regular assemblystepvertices, each carrying astepstring ; E is the multiset of directed edges (two parallel edges arise when a step joins a vertex with itself); and is an edge-labeling map. An assembly step forms a step vertex from two not necessarily distinct vertices , establishing the two in-edges , , labeled either
where "∘" denotes the concatenation (strcat) operator, so that a step string is determined by its two parent strings and the order is recorded by ϕ. The size of Ω is the number of step vertices,
Definition 2
(Assembly Plan). An assembly plan of a step string is an assembly space whose only final vertex (the only vertex without out-edges) is k.
In other words, the assembly plan contains only one final vertex having no out-edges.
Definition 3
(Optimal Assembly Plan). An optimal assembly plan is the assembly plan having the minimum number of vertices. The assembly index of a string is the size of an optimal assembly plan
Definition 4
(Pathway Depth). A pathway depth [2,3] is a map of the vertices of the assembly space Ω assigning zero to every source vertex and
to every step vertex formed from the vertices . The map is well defined, as Ω is finite and acyclic.
The assembly index is a property of a step string , whereas the pathway depth is a property of a step vertex s within a particular assembly space .
Definition 5
(Assembly Depth). An assembly depth [2] of a step string is the minimum pathway depth of this step string over the optimal plans
The minimum assembly depth, as a function of a string length N (i.e., the minimum over all plans), is given by [2]. However, the assembly depth of optimal assembly plans of the minimum ASI strings tends to exceed this value. The first such exceptions are the strings of length (cf. optimal plans (5)) with .
Most examples in this study concern unary strings composed of the same symbol, which can be thought of as linear polymers of a single monomeric unit. In this case, an assembly step adds the new natural number to S, with . The first natural number added is 2, and the assembly index is . Thus, in the unary case, we write a string containing N consecutive symbols simply as its length N and its (optimal) assembly plan as (). Unary strings do not automatically imply a unary alphabet (); such strings are simply a valid proper subset of n-ary strings.
3. Assembly Space Energy
A Dirichlet energy
can be associated with any graph provided with a map (or ). It has recently been used to quantify the ruggedness of biological sequence–fitness landscapes [4] and oversmoothing in graph neural networks [5]. Here, we associate it with an unweighted assembly space (the cost of a concatenation of an assembly step is constant), applying the quadratic form to the pathway depths (2).
Proposition 1
(Assembly Space Dirichlet Energy). The Dirichlet energy (3) of an assembly space Ω can be expressed as
where is the primary, and —the secondary energy.
Proof.
Each step vertex s has if we order its parent vertices k, l as , so its two in-edges have increments (the primary edge), and (the secondary edge). Since, we can replace in the summation (3) with and sum over both increments of each step vertex s, that is over , which yields the equation (4): the secondary energy charges each step vertex the square of its secondary (pathway depth) increment 1+, while the unit increments of the primary edges sum to the primary energy . □
For example, all four distinct optimal assembly plans
of the minimum ASI strings of length 15 that can contain at most three symbols [2] correspond to all four distinct shortest addition chains for 15, in which each new length is obtained by summing two previous lengths. All contain five different step strings and one additional concatenation of a basic symbol string, allowing for the introduction of a third symbol. Furthermore, all have but split into two pairs having the same Dirichlet energies and . The four plans are grouped by energy () and independently by period . The two groupings cross-cut: within each period class, the two members carry different energies, so neither period nor energy determines the other.
We have enumerated all optimal assembly plans for all 524,286 bitstrings of length up to 18. For example, the ASI([100110100001010111])=12 (the maximum ASI for a bitstring of length 18) can be achieved in 215,254 distinct optimal assembly plans, of which only 24 have optimal energy (). On the other hand, the minimum ASI([010101010101010101])=5 for the same length is achievable in 10 optimal plans, of which 4 have optimal energy ().
The closed-form expression of the Dirichlet energy (4), which separates the assembly space size (1) from the secondary energy, introduces two kinds of assembly plans.
Definition 6
(Minimal Energy Assembly Plan). A minimal energy assembly plan is the assembly plan having the minimum Dirichlet energy (4) (a minimal energy).
Definition 7
(Optimal Energy Assembly Plan). An optimal energy assembly plan is the optimal assembly plan having the minimum Dirichlet energy (4) (an optimal energy).
Proposition 2.
For a unary string all optimal plans have the same Dirichlet energy (4).
Proof.
For an assembly step at most doubles the largest available length, so a plan of p steps reaching doubles at every step and is unique; there throughout and . For there are optimal plans having , each with only one , the single non-doubling step sliding along the doubling ladder (e.g., for : , , ), all with . □
By Definition 7, the optimal energy of a string is determined solely by the secondary energy . As the ASI constraint is relaxed in Definition 6, a minimal energy assembly plan may have a suboptimal number of assembly steps, but attain a lower for the string . In the unary case, the shortest such string is 13, as shown in Figure 1a,b, where an additional assembly step over the ASI lowers the by four, maintaining the same . The minimum energy for all plans and the range of energies for optimal plans of unary strings of length are shown in Figure 2. From equations (1) and (4) it follows that , which bound is saturated by any string of length , , providing that , as in this case. We have used this bound in an exhaustive search for minimal energy assembly plans (cf. Appendix A). Furthermore, the assembly depth and Dirichlet energy are independent parameters. The shortest unary string at which the minimum-energy plan occurs at the pathway depth larger than the assembly depth is 25, as shown in Figure 1c,d. The optimal energy plan has a pathway depth of six, while the energy of another optimal plan has larger energy but attains the assembly depth of five (due to the large reuse).
4. Joint Assembly Spaces
We shall now consider the co-assembly of strings within a single assembly space and, in particular, within one of minimum size. The joint assembly of several molecules was first considered for molecular graphs in [6].
Definition 8
(Ensemble of Strings). An ensemble of strings is a set of at least two step strings. We shall call the strings of T target strings or targets.
The first candidate for such a space could be the union of the targets’ optimal assembly plans (the union of arbitrary shortest pathways of all observed polymers was used to approximate the assembly space of multiple coexisting polymers [7]). We generalize it below to arbitrary plans, not necessarily optimal.
Definition 9
(Assembly Plans Union). The union of plans of strings of an ensemble T is the graph formed by the union of these plans
Since the APU is a function of the plans, its size is not unique. To see that, consider . , and a valid choice of (optimal) assembly plans
so that
However, another valid choice of (optimal) assembly plans is
with
Furthermore, as shown in Figure 3b and Figure 6a, some unions of plans are not valid assembly spaces. In the APU shown in Figure 3b, for example, the plans and clash at a step string 9 they share, assembling it from different pairs of parent vertices ( vs. ). Uniting the two plans at a single step vertex would give it four signed in-edges, e.g., , , , , breaking 2-in-regularity. This vertex would no longer qualify as a step vertex, and the edge-labeling map could now pair any left edge with any right one, producing spurious combinations such as or that do not reproduce 9. Thus, without the 2-in-regularity requirement, each APU (6) could be regarded as an admissible graph, even though its size would still depend on the selected plans and shared vertices could carry incompatible formation histories. Any well-defined single space that allows for co-assembly of strings must at least be an assembly space.
Definition 10
(Joint Assembly Space). A joint assembly space (or JAS) of an ensemble of strings T is an assembly space Ω that contains every and whose every final vertex (vertex without out-edges) belongs to T.
Definition 11
(Singly Optimal Joint Assembly Space). A singly optimal joint assembly space (or SOJAS) of an ensemble T is a joint assembly space of the minimum size among those formed as unions of individually optimal plans, one plan for each target , whose step strings are unique (i.e., pairwise distinct). The singly assembly index (SASI) of an ensemble of strings T is
For a single target, the uniqueness of decompositions is automatic: a pathway of minimum size cannot have a vertex with two decompositions, as one could be deleted [8]. Under the joint constraint of Definition 11, the deletion is no longer free, since the discarded decomposition may be the one realizing another target’s assembly index. equals the number of unique step strings realized by the chosen optimal plans, minimized over choices whose union is an assembly space. Some choices are not: the union shown in Figure 3b violates 2-in-regularity at the shared vertex 9, decomposed as by the plan of 15 and as by the plan of 17. Here another pairing of the same size avoids the clash, but this is not always possible. The smallest unary pair whose clash cannot be avoided at the smallest union size is , with and . The smallest size is attained by two pairings, both taking against or shown in Figure 6a. Both share and both clash at 9, decomposed as by the plan of 17 and as by either plan of 23: sharing 4 forces and on 23, while 17 reaches 9 from . The clash is therefore avoided not at 9 but by taking 17 off it, onto , still individually optimal but sharing 16 with no plan of 23 (Figure 6c), so the union needs a ninth vertex and . Subsequent unary pairs with this property for are , and .
However, clashes cannot always be avoided, and some ensembles T do not admit SOJAS.
Proposition 3.
For every alphabet Σ with , there exist ensembles that admit no SOJAS. An example is a binary pair .
Proof.
Both targets have two optimal plans
with . The 3-gram 001 must be present in all of these plans, but to maintain these ASIs, for the target it must be assembled as (as 00 is required), while for the target —as (as 01 is required). The two plans therefore clash at 001, as shown in Figure 5c, so no SOJAS exists. For , pick any two symbols in place of 0 and 1. □
Proposition 4.
There exist unary ensembles of at least three targets admitting no SOJAS. The smallest maximal target of such an ensemble is 149, attained by [9].
Proof.
Within a SOJAS, every step string carries a single decomposition, so two individually optimal plans can be united only if they decompose identically every step string they share. The three targets have , , and, up to the order of the concatenated parts, four optimal plans each. Enumerating them exhaustively gives three exclusive and exhaustive dichotomies,
A clash is then unavoidable: if 149 takes its left alternative, then 43 and 77 must take their right ones, but they clash on 5; if 149 takes its right alternative, then 43 must take the left one, which clashes on 9. Hence no SOJAS exists. Conversely, we verified computationally (see Data Availability) that every ensemble all of whose targets are at most 148 admits a SOJAS, so 149 is the smallest maximal target for which non-existence occurs. Other triples with no SOJAS (based on ) are and . □
Conjecture 1.
Every ensemble of two unary targets admits a SOJAS. We verified it for all unary pairs with .
Definition 1 allows distinct step vertices to carry the same step string (i.e., is permitted for ), reflecting the fact that AT conceptualizes objects as entities defined only by their possible formation histories [7], and allowing us to introduce the following definition.
Definition 12
(Multiplicity Optimal Joint Assembly Space). A multiplicity optimal joint assembly space (or MOJAS) of an ensemble T is a joint assembly space of the minimum size among those formed as unions of individually optimal plans, one plan for each target , in which no two step vertices carry both the same step string and the same pair of parent vertices, the two vertices being identified regardless of the order recorded by ϕ. The multiplicity assembly index (MASI) of an ensemble of strings T is
Unlike , which identifies a repeated string with a single 2-in-regular vertex and must therefore reroute or add intermediates when two optimal plans build a shared string differently, resolves such a clash by admitting the same string as two distinct step vertices provided that no two step vertices share a formation history, each assembled from a distinct pair of parent vertices. Furthermore, a MOJAS can be smaller than the SOJAS even when the latter exists, as shown in Figure 7, and the following holds.
Proposition 5.
A MOJAS exists for every ensemble.
Proof.
Every string has at least one optimal plan, so at least one choice exists, and the choices are finitely many. It suffices that each of their unions, formed by identifying step vertices that carry the same step string and the same pair of parent vertices, be a JAS. Identification merges only vertices whose in-edges issue from the same two parent vertices, so every step vertex of the union retains two in-edges, and vertices carrying the same step string from different parent vertices remain distinct, so no vertex acquires a second decomposition. Acyclicity holds, as the string length strictly increases along every edge; the source vertices are the basic symbols; every target is contained in the union; and a vertex with no out-edges is the final vertex of every chosen plan containing it, hence a target. A minimum-size such union exists, and it is a MOJAS. □
AT admits the plurality of identical objects as a property of the observed sample: an object of high assembly index found in many copies is improbable under chance, which is what the assembly equation exploits [7]. Within a JAS of individually optimal targets, the same plurality arises structurally rather than observationally. For an ensemble admitting no SOJAS, the individual assembly indices are recoverable only by admitting one string at two or more step vertices. Multiplicity is therefore not an additional observable but a prerequisite for joint individual optimality—and, unlike copy number, a bounded one: a step string can be carried by at most vertices, where p is the number of its distinct assembly plans, as each of the chosen plans has pairwise distinct step strings and so contributes at most one vertex per string. Definition 8 takes T to be a set. Allowing it to be a multiset forces m copies of a string to carry m distinct formation histories. Thus, such an ensemble admits a MOJAS if and only if every multiplicity is at most the number of optimal plans of its string, and a COJAS if and only if it is at most the number of all plans of its string; for the unary the latter holds and the former does not, arising from and .
Conjecture 2.
Every ensemble of two targets that admits a SOJAS satisfies . We verified it for all unary pairs with .
In a SOJAS, the sub-plan of every target read off is its optimal plan : the uniqueness of step strings forces a single decomposition per step string, so tracing the in-edges upstream from reproduces . Every target is therefore assembled in steps. In a MOJAS, the same holds for the copy of contributed by its own plan. A structural counterpart of the copy number [7] thus arises within the formalism of joint assembly spaces, as shown in Figure 5c; a string 001 cannot be explored within an individually optimal SOJAS but can only be explored in copies allowed by an individually optimal MOJAS, shown in Figure 5d. Yet, it can also be explored if one of those targets (say ) sacrifices its ASI; then the non-existing SOJAS transforms into the collectively optimal joint assembly Space shown in Figure 5e.
Definition 13
(Collectively Optimal Joint Assembly Space). A collectively optimal joint assembly space (or COJAS) is the joint assembly space having the minimum size (1). The collective assembly index (CASI) of an ensemble of strings T is the size of a collectively optimal joint assembly space
The collective notion has a counterpart for molecular graphs (Definition 3.4 in [10]), in which the assembly index of a set of fragments is defined as the minimum size of an assembly pool that contains them. However, a pool records the fragments available rather than the decompositions realizing them, so the individually optimal variants of Definitions 11 and 12 cannot be formulated in that setting.
As with assembly plans, there can be multiple COJASs for T. For example, the first and the last optimal plans (5) are also the COJASs of an ensemble , though the first one is more general (a ternary string 01201 cannot be produced using the last plan, for example).
Following Definitions 6 and 7 we introduce the following three definitions.
Definition 14
(Minimal Energy Joint Assembly Space). A minimal energy joint assembly space (or MEJAS) is the joint assembly space having the minimum Dirichlet energy (4).
Definition 15
(Singly Optimal Energy Joint Assembly Space). An energy singly optimal joint assembly space (or ESOJAS) is the singly optimal joint assembly space having the minimum Dirichlet energy (4).
Definition 16
(Multiplicity Optimal Energy Joint Assembly Space). An energy multiplicity optimal joint assembly space (or EMOJAS) is the multiplicity optimal joint assembly space having the minimum Dirichlet energy (4).
Definition 17
(Collectively Optimal Energy Joint Assembly Space). An energy collectively optimal joint assembly space (or ECOJAS) is the collectively optimal joint assembly space having the minimum Dirichlet energy (4).
By definition, the Dirichlet energies (4) of an ESOJAS, EMOJAS, and an ECOJAS are determined solely by the minimum secondary energies , , and . If this constraint is relaxed, the MEJAS (Definition 14) may have a suboptimal number of assembly steps, but attain a lower Dirichlet energy for the ensemble T. As in the case of assembly plans, the energies (4) of the optimal assembly spaces are unrelated to their assembly indices and depths, as can be seen in Figure 7. A SOJAS restriction of one 2-in-regular vertex per string forces 17 onto the isolated branch (Figure 7a), which is also the energy-worse of the two optimal plans of 17 ( vs. for ), so admitting a copy of 9 buys the MOJAS not only a smaller space but also a lower energy. Yet, lowering the space size by two vertices (COJAS of Figure 7c) requires higher energy.
Theorem 1.
For any finite ensemble T,
where the last two inequalities apply whenever exists, and holds unconditionally.
Proof.
Since the size of a MOJAS is the minimum over all feasible unions of the optimal assembly plans of the strings of T (by Proposition 5 a MOJAS always exists), it cannot exceed the cost of the sum of their ASIs; therefore , which need not be a strict inequality, as the basic symbol(s) are not counted in the size of an assembly space (1) (the exception is a unary case, where it is a strict inequality as the first assembled vertex 2 is always shared). A SOJAS, if it exists, is a joint assembly space in which all strings are unique; hence one of the spaces over which , having this condition relaxed, is minimized; therefore . Given , process its step strings in order of increasing string length and, for each string carried by several vertices, retain one of them, redirecting to it the in-edges of every vertex assembled from a discarded copy; since the copies carry the same string, the string of each such vertex is preserved. Merging preserves acyclicity, as the string length strictly increases along every edge, so step vertices sharing a string are incomparable. Pruning iteratively every non-target vertex left without an out-edge, this canonicalization terminates in a single-decomposition joint assembly space of size at most , and of size at most whenever some string of is carried by more than one vertex. As is the minimum vertex count over that class, . □
Corollary 1.
The equality of MASI and CASI implies the equality of MASI and SASI.
Proof.
Assume . If some string were carried by two step vertices of , the canonicalization in the proof of Theorem 1 would yield a joint assembly space of size at most , whence , a contradiction. Hence the step strings of are pairwise distinct, so the minimum over the larger class is attained within the smaller one: exists and . □
The contrapositive reads , that is, , whence another corollary: implies . Multiplicity can therefore reduce the singly optimal size only for ensembles in which the SOJAS and COJAS already differ by at least two vertices. The condition is necessary but not sufficient: has , yet .
It was observed for molecular graphs that the shortest assembly pathway building at least two targets together need not be the union of their individual shortest pathways, and can be shorter than the sum of their molecular assembly indices [6]. However, in general, a relation similar to (7) cannot be drawn for the APU (6), as it is ill-defined: in the case shown in Figure 6 its size is smaller than , while for the case shown in Figure 4 it is larger.
Table 1 lists all non-reducible ensembles of at most five unary strings of lengths —those for which all inequalities (7) are strict while no proper subensemble has this property—found by exhaustive enumeration over that range. Among all unary pairs that we examined, ; the smallest ensembles with have three targets. In the binary case the inequalities (7) are strict for example for an ensemble with .
Among all COJASs , there can be more than one ECOJAS. For example, for the unary ensemble , is attainable with the spaces and , having the same energy . Thus, behaves the same as (cf. plans (5)).
Using breadth-first search, we exhaustively enumerated all SOJASs, MOJASs, and COJASs of the ensembles of pairs of unary strings with , i.e., target pairs. In 11 cases, shown in Table 2, we found that . Their full lists are available in the GitHub repository. The number of distinct SOJASs ( ) was, in general, much smaller than the corresponding number of COJASs ( ) for a given ensemble (except and ). On the other hand, ECOJASs featured, in general, smaller energy than the corresponding ESOJASs (except , , and and the equality for ).
A minimal example of an ensemble of three unary strings with occurs for , with and , as shown in Figure 8c,d. In this case , while . Subsequent such ensemble is , with and .
Table 3 shows all ESOJASs and ECOJASs for the optimal joint assembly spaces and listed in Table 2. The ECOJAS attains whenever the co-assembly saving is realizable through depth-balanced reuse—two intermediates of comparable depth, e.g., or . It fails () for every collectively optimal , when the saving forces reuse of a deep target through a shallow increment: the steps (, , ), whose secondary edge alone carries the span exceeding the entire energy of . Thus, the secondary energy does not merely track size; it distinguishes between the two mechanisms of co-assembly savings—balanced sharing and deep target reuse. These results allow us to state the following conjecture.
Conjecture 3.
If an ensemble has a strict inequality , then there is only one ESOJAS .
We have also examined of all 32640 pairs of distinct bitstrings of length . No SOJAS was present for 16 distinct pairs, including the pair shown in Figure 5(c). The results are shown in Figure 9. For example, for the pair of bitstrings , where and , as the optimal plans share no step strings, while , as both targets can be co-assembled up to the 4th assembly step .
Given the sets of all optimal plans (or all plans ), , the optimal assembly spaces are computable by finite enumeration. For , one forms the unions of individually optimal plans, identifying step vertices that carry the same step string and the same pair of parent vertices, and selects a union of the minimum size; no union is excluded, as every such union is an assembly space. For , one additionally excludes the unions violating the uniqueness of step strings (cf. Figure 3(b), Figure 6(a)), provided any remain (cf. Figure 5(c)). For , one forms the unions of all plans , excludes those which are not assembly spaces, and selects the minimum. Finding , , or involves the additional step of selecting the minimum energy (4). However, not knowing the plans renders the decision problems hard, as we show next.
Problem 1
(SASI, MASI, or CASI Decision Problem). Instance: A finite alphabet Σ, a finite ensemble of at least two strings, and an integer K.
Questions: "Is ?", "Is ?", or "Is ?", where the answer to the first question is NO whenever does not exist.
Theorem 2.
The SASI and MASI problems are NP-hard and lie in .
Proof.
We reduce from the ASI problem of a string v, which asks: "Is the ?" and is NP-complete [11]. Given an ASI instance with , pick a symbol and set , a unary string over the disjoint alphabet with . Form the ensemble over . Because the two alphabets are disjoint, and share no vertex, so the only union of individually optimal plans is their disjoint union, which is automatically an assembly space; hence
Therefore . The map is computable in polynomial time, so the SASI problem is NP-hard.
The MASI problem is NP-hard by the same reduction: for the disjoint-alphabet ensemble every union of individually optimal plans has unique step strings, whence .
For membership in , note first that every step string of a is a substring of , so a JAS of T formed as a union of plans of its targets carries at most step vertices, each a substring of some target; all objects quantified below are therefore of size polynomial in the instance. Guess such a JAS with , together with one step vertex carrying for each target . Tracing the in-edges upstream from the designated vertex yields a sub-plan of , of size . That is an assembly space, that its every final vertex is a target, that every target occurs, that , and—for SASI that the step strings are pairwise distinct, for MASI that no two step vertices carry both the same step string and the same pair of parent vertices—are decidable in polynomial time. Every vertex leads to a final vertex and hence to a target, so is the union of the designated sub-plans, and it is a union of individually optimal plans if and only if for every target. The bound is witnessed by the sub-plan itself; the matching bound asserts that no assembly plan of has fewer than steps, a universal quantification over objects of polynomial size with a polynomial-time matrix. Both problems therefore have the form with R decidable in polynomial time, and an instance admitting no (resp. no ) of size at most K simply has no witness y. □
Whether either problem belongs to np remains open. No general polynomially checkable lower-bound certificate for ASI is currently known; consequently, the natural JAS-based certificate described here does not establish membership in np. This contrasts with the CASI problem, for which an assembly space of size that reaches all targets is itself a complete certificate, placing it in NP.
Theorem 3.
The CASI problem is NP-complete.
We provide two independent proofs of this theorem. In the first one, we use the addition-sequence problem as a reduction. Downey, Leong, and Sethi [12] introduced the addition sequence problem as a generalization of the addition chain problem and proved its NP-hardness by a reduction from the vertex cover problem known to be NP-complete [13]. The second proof of Theorem 3 is based on the proof of Theorem 2.
Problem 2
(Addition Sequence Decision Problem). Instance: Positive integers , and .
Question: "Starting from 1, can all integers be computed using at most K additions, with each new integer being the sum of two previously computed integers?"
Proof
(Proof 1). Membership in NP is immediate. A certificate is a list of at most K additions , where s, t are previously available lengths. Each such addition represents the assembly step, . Verification checks, in polynomial time in the certificate size and input size, that every step is valid and that all targets appear.
For NP-hardness, we shall reduce from the addition sequence. Given an instance , construct the ensemble containing m strings of lengths composed of the same symbol 0. The bound remains K.
If the integers can be computed from using at most K additions, then replace each integer r in the addition sequence by the unary string . Each addition becomes the assembly step
This gives a JAS for T with at most K step strings, so .
Conversely, suppose T has a JAS with at most K step unary strings. Every step vertex has the form and is obtained by concatenating two preceding unary strings and ; hence, . Reading the space in topological order gives an addition sequence of at most K additions that contains all . Thus, the original addition-sequence instance is a yes-instance.
The reduction is clearly polynomial, and therefore the CASI problem is NP-hard. Together with membership in NP, the CASI problem is NP-complete. □
Proof
(Proof 2). Membership in NP is immediate. A certificate is a list of at most K assembly steps, each specifying two previously available strings and their concatenation. Verification checks, in polynomial time in the certificate size and input size, that every step is valid, that the resulting directed graph is an assembly space, and that all targets in T appear among its vertices.
For NP-hardness, we reduce from the ASI decision problem. Given an instance , choose a fresh symbol , put , and form the ensemble over ; the second target is required by Definition 8, and . Every step string of an assembly plan of is a substring of , whereas is not, as . Hence every joint assembly space of T consists of a plan of together with the step vertex , these being vertex-disjoint, and the minimum is attained by an optimal plan of , whence
The transformation
is computable in polynomial time. Since the ASI decision problem is NP-complete, the CASI problem is NP-hard; together with membership in NP, it is NP-complete. □
The proofs above address two different input models. The first proof establishes the NP-completeness of the CASI problem of the length-encoded unary strings, where the reduction from the addition-sequence problem is polynomial in the encoded lengths. Thus, in the succinct unary-length model, the hardness does not require a rich alphabet or complex target patterns; it already appears for unary strings of minimum individual assembly complexity. The second proof, on the other hand, establishes the NP-completeness of the general explicit-string CASI problem, in which the targets are given as ordinary finite strings over an alphabet. Its NP-hardness follows by a direct reduction from the ASI decision problem using a fresh symbol b. Therefore, the addition-sequence reduction of the first proof should not be read as a polynomial reduction to the ordinary explicit unary-string problem, since explicitly writing may be exponentially longer than the binary representation of N. The unrestricted explicit-string NP-completeness is supplied by the second proof. These two results should therefore be interpreted as complementary. The first proof isolates the joint-structure hardness in a length-encoded unary setting, while the second proof proves NP-completeness for the standard explicit-string formulation of the CASI problem.
Neither proof by itself proves hardness for restricted families consisting only of maximum-ASI or near-maximum-ASI targets. The length-encoded unary instances used in the first proof are minimum-ASI unary strings, whereas the reduction in the second proof uses an arbitrary ASI instance augmented by the fresh target . Proving NP-hardness under near-maximum-ASI restrictions would require a separate reduction whose output instances always satisfy the imposed individual-complexity constraint. A separate and interesting question is whether NP-hardness persists under such restrictions to near-maximum-ASI targets. There are strong reasons to expect that in these cases, ensemble optimization remains difficult. Such strings are individually resistant to reuse within a single target, but an ensemble of such strings may still share external substructures, prefixes, suffixes, motifs, or assembly intermediates. Thus, the ensemble problem may remain jointly hard even when each target is individually hard or near-hard.
Conjecture 4
(Near-maximum ASI Ensemble Hardness). There exist polynomial padding or coding transformations that map unary target sets into ensembles of maximum and/or near-maximum ASI targets while preserving joint co-assembly savings up to an additive or affine correction. Under such transformations, the CASI problem restricted to ensembles of maximum and/or near-maximum ASI targets would be NP-hard.
A proof of Conjecture 4 would require gadgets that enforce high individual ASI and preserve the shared addition-sequence structure. The heat-map patterns and maximum-ASI constructions reported in formal string-assembly studies suggest a natural source of such gadgets: one may attempt to embed unary-length information into high-ASI wrappers whose internal assembly cost is forced, while the variable shared part encodes the original addition-sequence instance [2].
5. Conclusions
We considered co-assembly of an ensemble of targets T within a single joint assembly space (JAS) and associated a discrete Dirichlet energy with the pathway-depth map, which separates, in the relation (4), the size of the assembly space from a secondary energy that charges each step vertex the square of its secondary increment, , where is the depth difference between its two parents. The ASI does not imply a minimum energy, and the latter does not imply a minimum pathway depth. We identified the SOJAS, , in which all targets are assembled individually optimally. However, a SOJAS may not exist: over a binary alphabet, a pair of targets already fails, while in the unary case the smallest failing ensemble needs three targets, and we conjecture that no unary pair fails at all. Relaxing the uniqueness of a step string condition [2], we identified the MOJAS, , that not only always exists but is also sometimes smaller than the SOJAS, when the latter exists. We conjecture that every ensemble of two targets that admits a SOJAS satisfies MASI=SASI. We also considered an always-existing COJAS, the JAS , of minimum size. Theorem 1 orders the sizes of these spaces as . The intermediate space may differ from both (cf. Table 1) and, by Corollary 1, it can coincide with only when it also coincides with , so multiplicity can lower the SASI only for ensembles with . We found that the SASI and MASI problems are NP-hard and lie in the second level of the polynomial hierarchy, while the CASI problem is NP-complete.
The fact that joining two vertices of comparable depth is cheap, compared to joining a freshly built structure to something that has been sitting in the pool since the early steps, gives the secondary energy an interpretation in terms of the search that produces an assembly space, and in particular in terms of the assembly-theoretic account of biological and technological innovation of [14], suggesting that incremental refinement of an established design explores the region of the assembly space near its current targets, at low secondary energy. A breakthrough is a step of large : it combines a recent structure with one that entered the space long before and for unrelated reasons. The energy formalism does not say that exhausting the low-energy region forces a high-energy step; rather, it says that certain targets are unreachable without one.
The bicycle shop of the Wright brothers is an example [14]: control by weight shift and steering had been in the assembly space for decades, in a lineage unrelated to flight, and what powered flight took was not an invention of control but its reinvention on a wing—a step that lies outside the neighborhood explored by local optimization. The tetrapod transition [14] is of the same shape: the air-breathing outpocketing of the foregut had been in the assembly space since the bony fishes, and what the move onto land took was not an invention but a reinvention—that old part recombined with a load-bearing limb and a mobile head, which had entered this space separately and for unrelated reasons.
This mechanism is visible in Table 2, where among the eleven unary pairs, those with realize their collective saving only by assembling the larger target directly from the smaller—attaching a source to a deep vertex, whose secondary increment alone exceeds the entire energy of . in every case, but it is bought at roughly twice the energy ( for , for , for ). The opposite mechanism, sharing between intermediates of comparable depth and , lowers both ( for ). Structural economy and energetic economy are therefore not the same objective, and the ensembles in which they diverge are exactly those in which the shared structure lies deep.
Multiple ECOJASs may attain the same CASI, and the present formalism does not select among them. A possible extension is to condition the selection on a historically realized initial JAS and to prefer an energetically equivalent candidate that requires the smallest graph reconfiguration. Formalizing this idea requires an occurrence-aware edit model on joint assembly spaces and is left for future work.
Author Contributions
Conceptualization, SŁ and PM; methodology, SŁ and PM; software, SŁ and PM; validation, SŁ and PM; formal analysis, SŁ and PM; investigation, SŁ and PM; resources, SŁ and PM; data curation, SŁ and PM; writing—original draft preparation, SŁ and PM; writing—review and editing, SŁ and PM; visualization, SŁ and PM; supervision, SŁ and PM; project administration, SŁ and PM; funding acquisition, SŁ and PM. All authors have read and agreed to the published version of the manuscript.
Funding
This research received no external funding.
Data Availability Statement
The data presented in this study are openly available in GitHub repository at https://github.com/szluk/AssemblyTheory at DOI: 10.5281/zenodo.21676698, reference number v3_(29.07.2026).
Conflicts of Interest
The authors declare no conflicts of interest.
Acknowledgments
The authors thank Wawrzyniec Bieniawski and Szymon Tworz for their clarifications, formal corrections, improvements, and insights into the state of the art, and Szymon Tworz for developing the software for analyzing , , and , and for the idea and realization of a numerical experiment illustrated in Figure 9.
Abbreviations
The following abbreviations are used in this manuscript:
| AT | Assembly Theory |
| ASI | Assembly Index () |
| APU | Assembly Plans Union |
| JAS | Joint Assembly Space () |
| MEJAS | Minimal Energy Joint Assembly Space () |
| SOJAS | Singly Optimal Joint Assembly Space () |
| ESOJAS | Energy Singly Optimal Joint Assembly Space () |
| MOJAS | Multiplicity Optimal Joint Assembly Space () |
| EMOJAS | Energy Multiplicity Optimal Joint Assembly Space () |
| COJAS | Collectively Optimal Joint Assembly Space () |
| ECOJAS | Energy Collectively Optimal Joint Assembly Space () |
| SASI | Singly Assembly Index () |
| MASI | Multiplicity Assembly Index () |
| CASI | Collective Assembly Index () |
Appendix A
We performed exhaustive enumeration for unary targets of Figure 2, which is unavoidable due to the AT intractability (NP-completeness) but inexpensive in the concerned range. A plan of a unary string of length N is recorded as an addition chain together with a decomposition map assigning to every , , an unordered pair , , with , subject to the requirement of Definition 2 that every with occurs in at least one such pair. Plans differing only in the order of the two parents of a step, that is only in , are identified. Plans were generated by depth-first search over such pairs: from a partial state, every sum of two available elements that does not exceed N and is not already present is a successor, each distinct pair realizing that sum being a separate successor. For pruning optimal plans, we used iterative deepening on r: for successive a partial chain is admitted only while , as no assembly step more than doubles the current maximum. While searching for a minimal energy assembly plan (Definition 6), we used the lower bound : a partial plan is skipped once twice the number of assembly steps already made exceeds the smallest plan energy found so far, as no completion of it can do better. Since a completion only adds steps, the same bound admits only plans with , which makes the search finite even though the plan length is not bounded a priori.
The results of this exhaustive search are available online and shown in Table A1 and Table A2. Table A1 shows that 13 is the shortest unary string, where attaining a lower energy is possible at the cost of an additional assembly step over the ASI. Table A2 shows that the shortest unary string at which the minimum-energy plan occurs at the pathway depth larger than the assembly depth is 25.
Table A1.
Unary strings of length . Assembly index . Optimal energy . Minimal energy . Assembly steps of a minimal energy assembly plan.
Table A1.
Unary strings of length . Assembly index . Optimal energy . Minimal energy . Assembly steps of a minimal energy assembly plan.
| N | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 1 | 2 | 2 | 3 | 3 | 4 | 3 | 4 | 4 | 5 | 4 | 5 | |
| 2 | 7 | 4 | 12 | 9 | 11 | 6 | 14 | 14 | 16 | 11 | 18 | |
| 2 | 7 | 4 | 12 | 9 | 11 | 6 | 14 | 14 | 16 | 11 | 15 | |
| 1 | 2 | 2 | 3 | 3 | 4 | 3 | 4 | 4 | 5 | 4 | 6 |
Table A2.
Unary strings of length . Assembly index . Assembly depth . Minimum energy among the optimal plans attaining the assembly depth, . Optimal energy . Pathway depth of an optimal energy plan, .
Table A2.
Unary strings of length . Assembly index . Assembly depth . Minimum energy among the optimal plans attaining the assembly depth, . Optimal energy . Pathway depth of an optimal energy plan, .
| N | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 1 | 2 | 2 | 3 | 3 | 4 | 3 | 4 | 4 | 5 | 4 | 5 | 5 | 5 | 4 | 5 | 5 | 6 | 5 | 6 | 6 | 6 | 5 | 6 | |
| 1 | 2 | 2 | 3 | 3 | 3 | 3 | 4 | 4 | 4 | 4 | 4 | 4 | 5 | 4 | 5 | 5 | 5 | 5 | 5 | 5 | 6 | 5 | 5 | |
| 2 | 7 | 4 | 12 | 9 | 11 | 6 | 14 | 14 | 16 | 11 | 18 | 13 | 19 | 8 | 28 | 16 | 21 | 16 | 18 | 18 | 29 | 13 | 27 | |
| 2 | 7 | 4 | 12 | 9 | 11 | 6 | 14 | 14 | 16 | 11 | 18 | 13 | 19 | 8 | 28 | 16 | 21 | 16 | 18 | 18 | 29 | 13 | 24 | |
| 1 | 2 | 2 | 3 | 3 | 3 | 3 | 4 | 4 | 4 | 4 | 4 | 4 | 5 | 4 | 5 | 5 | 5 | 5 | 5 | 5 | 6 | 5 | 6 |
References
- Łukaszyk, S. On the "Assembly Theory and its Relationship with Computational Complexity. IPI Lett. 2025, 1–6. [Google Scholar] [CrossRef]
- Bieniawski, W.; Masierak, P.; Tomski, A.; Łukaszyk, S.; Tworz, S. Assembly theory: Formalizing assembly spaces, discovering patterns and bounds. R. Soc. Open Sci. 2026, 13, 260082. [Google Scholar] [CrossRef]
- Pagel, S.; Sharma, A.; Cronin, L. Mapping Evolution of Molecules Across Biochemistry with Assembly Theory. 2024. [Google Scholar] [CrossRef]
- Meger, A.T.; Spence, M.A.; Sandhu, M.; Matthews, D.; Chen, J.; Jackson, C.J.; Raman, S. Rugged fitness landscapes minimize promiscuity in the evolution of transcriptional repressors. Cell Syst. 2024, 15, 374–387.e6. [Google Scholar] [CrossRef] [PubMed]
- Rusch, T.K.; Bronstein, M.M.; Mishra, S. A Survey on Oversmoothing in Graph Neural Networks. 2023. [Google Scholar] [CrossRef]
- Liu, Y.; Mathis, C.; Bajczyk, M.D.; Marshall, S.M.; Wilbraham, L.; Cronin, L. Exploring and mapping chemical space with molecular assembly trees. Sci. Adv. 2021, 7, eabj2465. [Google Scholar] [CrossRef] [PubMed]
- Sharma, A.; Czégel, D.; Lachmann, M.; Kempes, C.P.; Walker, S.I.; Cronin, L. Assembly Theory Explains and Quantifies Selection and Evolution. Nature 2023, 622, 321–328. [Google Scholar] [CrossRef] [PubMed]
- Flamm, C.; Merkle, D.; Stadler, P.F. Assembly in Directed Hypergraphs. 2025. Available online: http://arxiv.org/abs/https://royalsocietypublishing.org/rspa/article-pdf/doi/10.1098/rspa.2025.0331/2814594/rspa.2025.0331.pdf.
- Flammenkamp, A. Shortest Addition Chains. Available online: https://wwwhomes.uni-bielefeld.de/achim/addition_chain.html (accessed on 2026-07-27).
- Seet, I.; Patarroyo, K.Y.; Siebert, G.; Walker, S.I.; Cronin, L. Rapid Exploration of the Assembly Chemical Space of Molecular Graphs. J. Chem. Inf. Model. 2025, 65, 13203–13214. [Google Scholar] [CrossRef] [PubMed]
- Masierak, P. Computational Complexity of Determining the Assembly Index. IPI Lett. 2026, 9–12. [Google Scholar] [CrossRef]
- Downey, P.; Leong, B.; Sethi, R. Computing Sequences with Addition Chains. SIAM J. Comput. 1981, 10, 638–646. [Google Scholar] [CrossRef]
- Karp, R.M. Reducibility among Combinatorial Problems. Complexity of Computer Computations: Proceedings of a symposium on the Complexity of Computer Computations, held March 20–22, 1972, at the IBM Thomas J. Watson Research Center 1972, 85–103. [Google Scholar] [CrossRef]
- Łukaszyk, S.; Bieniawski, W. Assembly Theory of Binary Messages. Mathematics 2024, 12, 1600. [Google Scholar] [CrossRef]
Figure 1.
(a,b) The ASI does not imply minimum Dirichlet energy, even for the same assembly depth. (c,d) The assembly depth and Dirichlet energy are independent parameters. Pathway depth is shown in the left column; squared secondary vertex increments—at the right of each assembly plan.
Figure 1.
(a,b) The ASI does not imply minimum Dirichlet energy, even for the same assembly depth. (c,d) The assembly depth and Dirichlet energy are independent parameters. Pathway depth is shown in the left column; squared secondary vertex increments—at the right of each assembly plan.

Figure 2.
Unary strings of length . (red). (red dash-dot). (black). Minimum (green) and maximum (blue) energy of an optimal plan for N. Number of optimal plans for N (pink).
Figure 2.
Unary strings of length . (red). (red dash-dot). (black). Minimum (green) and maximum (blue) energy of an optimal plan for N. Number of optimal plans for N (pink).

Figure 3.
(a) Two energy-optimal assembly plans and . (b) Their union is not an assembly space, as they clash at 9. (c) An ESOJAS of other optimal assembly plans, whose union is the assembly space. (d) An ECOJAS attaining by assembling through the already-required target 15.
Figure 3.
(a) Two energy-optimal assembly plans and . (b) Their union is not an assembly space, as they clash at 9. (c) An ESOJAS of other optimal assembly plans, whose union is the assembly space. (d) An ECOJAS attaining by assembling through the already-required target 15.

Figure 4.
(a) A well-defined APU of size 8. (b) A SOJAS of a smaller size 7. (c) A COJAS of yet a smaller size 6: assembling string 17 in steps allows reusing string 7.
Figure 4.
(a) A well-defined APU of size 8. (b) A SOJAS of a smaller size 7. (c) A COJAS of yet a smaller size 6: assembling string 17 in steps allows reusing string 7.

Figure 5.
(a,b) Optimal assembly plans , of two bitstrings. Blue edge provides the first string, red edge provides the second string in the assembly step, and the order is irrelevant for the two green edges. (c) There is no SOJAS for . (d) A MOJAS for T. (e) A COJAS for T.
Figure 5.
(a,b) Optimal assembly plans , of two bitstrings. Blue edge provides the first string, red edge provides the second string in the assembly step, and the order is irrelevant for the two green edges. (c) There is no SOJAS for . (d) A MOJAS for T. (e) A COJAS for T.

Figure 6.
Five joint assembly structures of the ensemble . (a) An (not an assembly space). (b) An EMOJAS (, ). (c) An ESOJAS . (d) A COJAS of depth seven (). (e) An ECOJAS of depth six (). are the Dirichlet energies realizable on the COJAS vertices set under its admissible edge assignments.
Figure 6.
Five joint assembly structures of the ensemble . (a) An (not an assembly space). (b) An EMOJAS (, ). (c) An ESOJAS . (d) A COJAS of depth seven (). (e) An ECOJAS of depth six (). are the Dirichlet energies realizable on the COJAS vertices set under its admissible edge assignments.

Figure 7.
Three joint assembly spaces of the unary ensemble , where . (a) A SOJAS, . (b) A MOJAS, . (c) A COJAS, .
Figure 7.
Three joint assembly spaces of the unary ensemble , where . (a) A SOJAS, . (b) A MOJAS, . (c) A COJAS, .

Figure 8.
(a,b) A SOJAS and COJAS of a pair of bitstrings with . (c,d) The smallest ensemble of three unary strings with the property .
Figure 8.
(a,b) A SOJAS and COJAS of a pair of bitstrings with . (c,d) The smallest ensemble of three unary strings with the property .

Figure 9.
of all pairs of bitstrings of length . Axes: bitstring decimal representation, : green, : blue, : yellow, : red. 16 pairs (32 cells) for which does not exist are marked with white dots. is not an ensemble.
Figure 9.
of all pairs of bitstrings of length . Axes: bitstring decimal representation, : green, : blue, : yellow, : red. 16 pairs (32 cells) for which does not exist are marked with white dots. is not an ensemble.

Table 1.
Non-reducible exceptions for all ensembles of at most five unary strings of lengths .
| T | |||||
|---|---|---|---|---|---|
| 3 | 8 | 10 | 11 | 5+6+6 | |
| 4 | 8 | 9 | 10 | 3+5+5+6 | |
| 5 | 8 | 9 | 10 | 2+3+5+5+6 | |
| 5 | 9 | 10 | 11 | 3+5+6+5+6 | |
| 5 | 9 | 10 | 11 | 4+5+5+6+6 | |
| 5 | 10 | 11 | 12 | 5+5+6+6+6 |
Table 2.
Eleven unary string pairs for for which , along with their cardinalities (, , ) and energies. for every pair listed, so multiplicity never lowers the size of a pair in this range; counts all minimum-size MOJASs, that is, the SOJASs together with the copy-carrying multispaces of the same size. The two extra multispaces of lower the minimum energy from to .
Table 2.
Eleven unary string pairs for for which , along with their cardinalities (, , ) and energies. for every pair listed, so multiplicity never lowers the size of a pair in this range; counts all minimum-size MOJASs, that is, the SOJASs together with the copy-carrying multispaces of the same size. The two extra multispaces of lower the minimum energy from to .
| min | max | min | max | min | max | ||||||||
| 4 | 5 | 7 | 6 | 35 | 56 | 6 | 35 | 56 | 6 | 12 | 21 | 48 | |
| 4 | 6 | 8 | 6 | 33 | 38 | 6 | 33 | 38 | 7 | 58 | 20 | 92 | |
| 5 | 5 | 7 | 6 | 35 | 56 | 6 | 35 | 56 | 6 | 5 | 23 | 45 | |
| 5 | 4 | 7 | 1 | 25 | 25 | 1 | 25 | 25 | 6 | 4 | 56 | 58 | |
| 5 | 5 | 8 | 2 | 45 | 51 | 2 | 45 | 51 | 6 | 4 | 45 | 47 | |
| 4 | 6 | 8 | 2 | 33 | 35 | 2 | 33 | 35 | 7 | 43 | 20 | 94 | |
| 5 | 6 | 9 | 2 | 59 | 61 | 4 | 53 | 61 | 7 | 27 | 31 | 88 | |
| 5 | 6 | 8 | 2 | 45 | 51 | 2 | 45 | 51 | 7 | 12 | 33 | 59 | |
| 5 | 6 | 8 | 4 | 30 | 42 | 4 | 30 | 42 | 7 | 18 | 28 | 76 | |
| 6 | 5 | 9 | 8 | 35 | 40 | 8 | 35 | 40 | 7 | 4 | 79 | 83 | |
| 6 | 6 | 8 | 3 | 33 | 49 | 3 | 33 | 49 | 7 | 5 | 71 | 80 | |
| # total | 42 | 44 | 192 | ||||||||||
Table 3.
Optimal energy joint assembly spaces and (the latter admits energies from a set depending on the configuration of edges) for the unary string pairs for for which . (blue - the string of the plan ; red - the string of the plan ; green - the string of both plans).
Table 3.
Optimal energy joint assembly spaces and (the latter admits energies from a set depending on the configuration of edges) for the unary string pairs for for which . (blue - the string of the plan ; red - the string of the plan ; green - the string of both plans).
![]() |
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content. |
© 2026 by the authors. Licensee MDPI, Basel, Switzerland. This article is an open access article distributed under the terms and conditions of the Creative Commons Attribution (CC BY) license (http://creativecommons.org/licenses/by/4.0/).
Copyright: This open access article is published under a Creative Commons CC BY 4.0 license, which permit the free download, distribution, and reuse, provided that the author and preprint are cited in any reuse.
