← All papers
First page of Maximal input entropy for binary two-deletion and two-insertion channels

Maximal input entropy for binary two-deletion and two-insertion channels

Haobo Ma, Wenlin Zhang

cs.IT Oct 31, 2026 · v1 cs.FL math.CO
The main theorem's maximizer characterizations and maximal entropy formulas for two-deletion/two-insertion channels are formalized in a Lean companion supplied as ancillary files.
Under uniform transmission, we determine the received binary words that maximize input entropy for two-deletion and two-insertion channels. For two deletions the maximizers are exactly the two alternating words at every positive received length. For two insertions the same conclusion holds from received length five onward; we give all smaller cases and exact maximal values. The proof combines an embedding-count identity organized by runs with strict convexity estimates, and a grouping of two-position deletion masks. For every insertion radius we give the complete positive embedding histogram of an alternating received word. We also determine its three-deletion histogram for every length, and certify all three-deletion maximizers through received length twelve and all three-insertion maximizers through length eighteen by exact integer comparison. These computations give precise three-error conjectures with their small-length exceptions.

Under uniform transmission, the question is which received binary words maximize the posterior input entropy for exactly two deletions or exactly two insertions. Singhvi et al. stated this as an open problem.

The posterior entropy is expressed through subsequence embedding multiplicities. For deletion, an embedding-count identity organized by runs is derived via a first-symbol recurrence and combined with strict convexity estimates. For insertion, two-position deletion masks are grouped into components to obtain a lower bound. Higher-radius alternating-word histograms are computed in closed form, small cases are certified by exhaustive exact integer comparison, and the main theorem is formalized in Lean.

Alternating words uniquely maximize the two-deletion entropy at every length and the two-insertion entropy from length five onward, with exact maximal values and all smaller cases given. Exact embedding histograms of alternating words are given for all insertion radii. Three-deletion maximizers are certified through length 12 and three-insertion maximizers through length 18, which supports precise three-error conjectures.

nmaximizing received wordsminimum Q
3all words1
4the six words of weight two2^4
501010, 01110, 10001, 101013^9
6011001, 1001102^20 3^6
7–18A_n, complement of A_n(n-2)^((n-2)^2)
Three-insertion maximizers by received length