English

On the complexity of automatic complexity

Formal Languages and Automata Theory 2020-02-03 v2 Logic

Abstract

Generalizing the notion of automatic complexity of individual strings due to Shallit and Wang, we define the automatic complexity A(E)A(E) of an equivalence relation EE on a finite set SS of strings. We prove that the problem of determining whether A(E)A(E) equals the number E|E| of equivalence classes of EE is NP\mathsf{NP}-complete. The problem of determining whether A(E)=E+kA(E) = |E| + k for a fixed k1k\ge 1 is complete for the second level of the Boolean hierarchy for NP\mathsf{NP}, i.e., BH2\mathsf{BH}_2-complete. Let LL be the language consisting of all strings of maximal nondeterministic automatic complexity. We characterize the complexity of infinite subsets of LL by showing that they can be co-context-free but not context-free, i.e., LL is CFL\mathsf{CFL}-immune, but not coCFL\mathsf{coCFL}-immune. We show that for each ϵ>0\epsilon>0, Lϵ∉coCFLL_\epsilon\not\in\mathsf{coCFL}, where LϵL_\epsilon is the set of all strings whose deterministic automatic complexity A(x)A(x) satisfies A(x)x1/2ϵA(x)\ge |x|^{1/2-\epsilon}.

Keywords

Cite

@article{arxiv.1607.06106,
  title  = {On the complexity of automatic complexity},
  author = {Bjørn Kjos-Hanssen},
  journal= {arXiv preprint arXiv:1607.06106},
  year   = {2020}
}
R2 v1 2026-06-22T14:59:50.896Z