Skip to main content
QUICK REVIEW

[Paper Review] Integer complexity: algorithms and computational results

Harry Altman|arXiv (Cornell University)|Jun 11, 2016
Advanced Combinatorial MathematicsMathematics11 references3 citations
TL;DR

This paper presents a computable algorithm to determine the stabilization length $K(n)$ and stable complexity $‘n’_{st}$ for any natural number $n$, resolving a key open problem in integer complexity theory. By leveraging the defect function $\delta(n) = \|n\| - 3\log_3 n$ and low-defect polynomials, the method enables efficient computation of $K(n)$ and verifies $\|2^k 3^\ell\| = 2k + 3\ell$ for $k \leq 48$, providing strong evidence for a long-standing conjecture.

ABSTRACT

Define $\|n\|$ to be the complexity of $n$, the smallest number of ones needed to write $n$ using an arbitrary combination of addition and multiplication. Define $n$ to be stable if for all $k\ge 0$, we have $\|3^k n\|=\|n\|+3k$. In [7], this author and Zelinsky showed that for any $n$, there exists some $K=K(n)$ such that $3^K n$ is stable; however, the proof there provided no upper bound on $K(n)$ or any way of computing it. In this paper, we describe an algorithm for computing $K(n)$, and thereby also show that the set of stable numbers is a computable set. The algorithm is based on considering the defect of a number, defined by $δ(n):=\|n\|-3\log_3 n$, building on the methods presented in [3]. As a side benefit, this algorithm also happens to allow fast evaluation of the complexities of powers of $2$; we use it to verify that $\|2^k 3^\ell\|=2k+3\ell$ for $k\le48$ and arbitrary $\ell$ (excluding the case $k=\ell=0$), providing more evidence for the conjecture that $\|2^k 3^\ell\|=2k+3\ell$ whenever $k$ and $\ell$ are not both zero. An implementation of these algorithms in Haskell is available.

Motivation & Objective

  • To resolve the open problem of computing $K(n)$, the stabilization length of $n$, which was previously known to exist but not computable.
  • To establish that the stable complexity $\|n\|_{st}$ and the set of stable numbers are computable, thereby enabling algorithmic analysis of integer complexity.
  • To provide a practical algorithm for computing $\|n\|$ and $\|n\|_{st}$ using defect theory and low-defect polynomials, extending prior methods.
  • To verify the conjecture $\|2^k 3^\ell\| = 2k + 3\ell$ for $k \leq 48$ and arbitrary $\ell$, offering computational evidence for its validity.

Proposed method

  • The algorithm uses the defect function $\delta(n) = \|n\| - 3\log_3 n$ to analyze the complexity behavior of $n$ under repeated multiplication by 3.
  • It employs low-defect polynomials and low-defect tree representations to efficiently search for $3^k n$ with minimal defect, enabling computation of $K(n)$.
  • The method incorporates bounds on the exponent sum $k_1 + \cdots + k_r$ for $3$-representations of $n$ via $f(3^{k_1}, \ldots, 3^{k_r})$, reducing search space.
  • It uses a tree-based data structure to track complexity distribution across subexpressions, allowing efficient pruning of redundant low-defect pairs.
  • The algorithm checks whether $\delta(f, C)(k_1, \ldots, k_r) < i\alpha$ to ensure defect bounds are met, replacing earlier truncation heuristics.
  • An optimized implementation in Haskell uses these techniques to compute $\|2^k\|$ for $k \leq 48$ and verify the $2^k 3^\ell$ conjecture.

Experimental results

Research questions

  • RQ1Can the stabilization length $K(n)$ be computed algorithmically, given that it was previously only known to exist?
  • RQ2Is the stable complexity $\|n\|_{st}$ computable, and can it be used to infer the true complexity of $n$?
  • RQ3Does the conjecture $\|2^k 3^\ell\| = 2k + 3\ell$ hold for all $k \leq 48$ and all $\ell$?
  • RQ4Can defect theory and low-defect polynomials be used to design a practical algorithm for computing $\|n\|$ and $\|n\|_{st}$?

Key findings

  • The function $K(n)$, the stabilization length of $n$, is computable, and an algorithm is provided to compute it for any $n$.
  • The stable complexity $\|n\|_{st}$ is computable, and the set of stable numbers is a computable set.
  • The algorithm verifies that $\|2^k 3^\ell\| = 2k + 3\ell$ for all $k \leq 48$ and arbitrary $\ell$, excluding $k = \ell = 0$.
  • The implementation in Haskell successfully computes $\|2^k\|$ for $k \leq 48$, confirming $\|2^k\| = 2k - 1$ in this range.
  • The use of bounded exponent sums and defect checks significantly reduces the search space for $3$-representations of numbers.
  • The method enables fast evaluation of $\|n\|$ for numbers of the form $2^k 3^\ell$, supporting the broader conjecture on their complexity.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.