Fast arithmetic in algorithmic self-assembly

AbstractIn this paper we consider the time complexity of adding two n-bit numbers together within the tile self-assembly model. The (abstract) tile assembly model is a mathematical model of self-assembly in which system components are square tiles with different glue types assigned to tile edges. Assembly is driven by the attachment of singleton tiles to a growing seed assembly when the net force of glue attraction for a tile exceeds some fixed threshold. Within this frame work, we examine the time complexity of computing the sum of two n-bit numbers, where the input numbers are encoded in an initial seed assembly, and the output sum is encoded in the final, terminal assembly of the system. We show that this problem, along with multiplication, has a worst case lower bound of $$\varOmega ( \sqrt{n} )$$Ω(n) in 2D assembly, and $$\varOmega (\root 3 \of {n})$$Ω(n3) in 3D assembly. We further design algorithms for both 2D and 3D that meet this bound with worst case run times of $$O(\sqrt{n})$$O(n) and $$O(\root 3 \of {n})$$O(n3) respectively, which beats the previous best known upper bound of O(n). Finally, we consider average case complexity of addition over uniformly distributed n-bit strings and show how we can achieve $$O(\log n)$$O(logn) average case time with a simultaneous $$O(\sqrt{n})$$O(n) worst case run time in 2D. As additional evidence for the speed of our algorithms, we implement our algorithms, along with the simpler O(n) time algorithm, into a probabilistic run-time simulator and compare the timing results.

[1]  Lila Kari,et al.  The power of nondeterminism in self-assembly , 2011, SODA '11.

[2]  Ashish Goel,et al.  Optimal Self-Assembly of Counters at Temperature Two , 2004 .

[3]  J. Reif,et al.  Logical computation using algorithmic self-assembly of DNA triple-crossover molecules , 2000, Nature.

[4]  John H. Reif,et al.  Tile Complexity of Linear Assemblies , 2012, SIAM J. Comput..

[5]  Ashish Goel,et al.  Running time and program size for self-assembled squares , 2001, STOC '01.

[6]  Ming-Yang Kao,et al.  Complexities for generalized models of self-assembly , 2004, SODA '04.

[7]  Erik D. Demaine,et al.  One Tile to Rule Them All: Simulating Any Tile Assembly System with a Single Universal Tile , 2014, ICALP.

[8]  Ming-Yang Kao,et al.  Randomized Self-assembly for Approximate Shapes , 2008, ICALP.

[9]  Mark Schilling,et al.  The Longest Run of Heads , 1990 .

[10]  Erik D. Demaine,et al.  The Two-Handed Tile Assembly Model is not Intrinsically Universal , 2015, Algorithmica.

[11]  Jack H. Lutz,et al.  The Tile Assembly Model is Intrinsically Universal , 2011, 2012 IEEE 53rd Annual Symposium on Foundations of Computer Science.

[12]  David Doty,et al.  Randomized Self-Assembly for Exact Shapes , 2009, 2009 50th Annual IEEE Symposium on Foundations of Computer Science.

[13]  Erik D. Demaine,et al.  Shape replication through self-assembly and RNase enzymes , 2010, SODA '10.

[14]  Bin Fu,et al.  Self-assembly with Geometric Tiles , 2011, ICALP.

[15]  Robert T. Schweller,et al.  Temperature 1 self-assembly: deterministic assembly in 3D and probabilistic assembly in 2D , 2009, SODA '11.

[16]  Ashish Goel,et al.  Combinatorial optimization problems in self-assembly , 2002, STOC '02.

[17]  Yuriy Brun Arithmetic computation in the tile assembly model: Addition and multiplication , 2007, Theor. Comput. Sci..

[18]  M. Sahani,et al.  Algorithmic Self-Assembly of DNA , 2006 .

[19]  Xingsi Zhong,et al.  Fast Arithmetic in Algorithmic Self-assembly , 2014, UCNC.

[20]  Erik D. Demaine,et al.  The Two-Handed Tile Assembly Model is not Intrinsically Universal , 2013, Algorithmica.

[21]  Robert T. Schweller,et al.  Fuel Efficient Computation in Passive Self-Assembly , 2013, SODA.

[22]  Matthew J. Patitz,et al.  Intrinsic universality in tile self-assembly requires cooperation , 2013, SODA.

[23]  Matthew J. Patitz,et al.  Strong Fault-Tolerance for Self-Assembly with Fuzzy Temperature , 2010, 2010 IEEE 51st Annual Symposium on Foundations of Computer Science.

[24]  Qi Cheng On the Bounded Sum-of-Digits Discrete Logarithm Problem in Finite Fields , 2005, SIAM J. Comput..

[25]  Ivan Rapaport,et al.  Self-assemblying Classes of Shapes with a Minimum Number of Tiles, and in Optimal Time , 2006, FSTTCS.