arXiv Science⌕ Search

arXiv subjects

Piotr Masierak

Publications and source records attributed to Piotr Masierak.

3 recordsLinked to original sources

Effective Stabilization of Shortest Addition Chains under Repeated Doubling

Squaring extends an exponentiation plan for $n$ to one for $2n$, but a different plan may avoid the additional multiplication. We give a computable stopping rule for the sequence $\ell(2^tn)-t$, where $\ell$ is the shortest addition-chain length. The proof examines a shortest chain at the first shift meeting a prescribed excess budget. A sufficiently wide gap between run endpoints would allow the same budget to be met one shift earlier. Bounding the width and number of these gaps gives an explicit horizon. Two paths sharing no doubling gate sharpen it to $\lfloor\log_2 n\rfloor+O_a(1)$ for a single target at fixed excess budget $a$. We also give a fixed-parameter algorithm that constructs a compressed chain from the positions of the set bits. Assuming completeness of the published classifications through four small steps, we prove the sharp bound $k\le\lfloor\log_2 m\rfloor-8$ for a drop from more than four to four small steps at shift $k\ge1$ from an odd base $m$, and characterize both equality families. For a fixed set of distinct targets, paths ending at different outputs yield a refined carry bound and an effective joint stabilization horizon. Transposition then extends stabilization to every prescribed positive symbol-count vector and gives an eventually linear penalty for ordering the symbols in separate blocks. The dyadic-ladder case retains a scalar formula.

cs.DS↗

Templated Assembly Theory: An Extension of the Canonical Assembly Index with Block-Compressed Template

Assembly Theory, as developed by Cronin and co-workers, assigns to an object an assembly index: the minimal number of binary join operations required to build at least one copy of the object from a specified set of basic building blocks, allowing reuse of intermediate components. For strings over a finite alphabet, the canonical assembly index can be defined in the free semigroup with universal binary concatenation and a "no-trash" condition, and its exact computation has been shown to be NP-complete. In this paper we propose an extension of the canonical, string-based formulation which augments pure concatenation with templated assembly steps. Intermediate objects may contain a distinguished wildcard symbol that represents a compressible block. Templates are restricted to block-compressed substrings of the target string and can be instantiated by inserting previously assembled motifs into one or many wildcard positions, possibly in parallel. This yields a new complexity measure, the templated assembly index, which strictly generalises the canonical index while preserving its operational character. We formalise the model, clarify its relation to the canonical assembly index and to classical problems such as the smallest grammar problem, and discuss the computational complexity of determining the templated assembly index. Finally, we sketch potential applications in sequence analysis, modularity detection, and biosignature design.

cs.FL↗

Computational Complexity of Determining the Assembly Index

The assembly index of assembly theory quantifies the minimal number of composition steps required to construct an object from elementary components. The study proves that the decision version of the assembly index problem is NP-complete, through an explicit correspondence between assembly plans and straight-line grammars. This correspondence implies that the optimization version of the assembly index problem inherits NP- and APX-hardness from the classical smallest grammar problem. The study provides complete, self-contained proofs for both decision and optimization variants of the assembly index problem. These results establish that computing or approximating the assembly index is computationally intractable, placing it within the same complexity class as grammar-based compression.

cs.CC↗