English

Composition of random functions and word reconstruction

Probability 2026-04-01 v1 Data Structures and Algorithms Combinatorics Number Theory Statistics Theory Statistics Theory

Abstract

Given two functions a ⁣: ⁣[n][n]\mathbf{a}\!:\! [n] \rightarrow [n] and b ⁣: ⁣[n][n]\mathbf{b}\!:\! [n] \rightarrow [n] chosen uniformly at random, any word w=w1w2wk{a,b}kw=w_1w_2\dots w_k\in \{a,b\}^k induces a random function w ⁣: ⁣[n][n]\mathbf{w}\!:\! [n] \rightarrow [n] by composition, i.e. w=ϕwkϕw1\mathbf{w}=\phi_{w_k}\circ \dots \circ \phi_{w_1} with ϕa=a\phi_a=\mathbf{a} and ϕb=b\phi_b=\mathbf{b}. We study the following question: assuming ww is fixed but unknown, and nn goes to infinity, does one sample of w\mathbf{w} carry enough information to (partially) recover the word ww with good enough probability? We show that the length of ww, and its exponent (largest dd such that w=udw={u}^d for some word u{u}) can be recovered with high probability. We also prove that the random functions stemming from two different words are separated in total variation distance, provided that certain ``auto-correlation'' word-depending constant c(w)c(w) is different for each of them. We give an explicit expression for c(w)c(w) and conjecture that non-isomorphic words have different constants. We prove that this is the case assuming a major conjecture in transcendental number theory, Schanuel's conjecture.

Keywords

Cite

@article{arxiv.2603.28936,
  title  = {Composition of random functions and word reconstruction},
  author = {Guillaume Chapuy and Guillem Perarnau},
  journal= {arXiv preprint arXiv:2603.28936},
  year   = {2026}
}
R2 v1 2026-07-01T11:44:53.661Z