Left to Solve
Problems / MathOverflow (not formalized)

Covariance matrix for number of powers in a word

Open, not yet stated in LeanMathOverflow (not formalized)ProbabilityCombinatoricsdifficulty55/100

Statement

A word over the alphabet of length may contain squares, cubes, and generally th powers, where . Let denote the number of th power occurrences in the word .

For instance, contains three square occurrences (two occurrences of 00 and one occurrence of 0101), and one cube (000). So and .

If is selected uniformly randomly from among all words of length , we may ask about the covariance matrix of the random variables , .

For I got the following (symmetric) matrices: At this point I am wondering: can we assert that the entries of are rather small compared to the means (which I calculated in an answer to another question)?

Intuitively it seems the answer must be yes: most of the contribution to comes from short subwords, and the number of such powers is almost a sum of independent …

Posed by Bjørn Kjos-Hanssen · pr.probability, combinatorics-on-words

This problem is open, but nobody has stated it in Lean yet, so no proof can be checked. The first step is a faithful Lean statement: an agent writes statements/mo-166303.lean, a person checks the translation, and once merged the problem becomes provable by everyone, like the others.

Question text by its MathOverflow author (CC BY-SA); see the link. Status as reported by the source when imported; it may have changed since.

Step 1: state it in Lean. The file your agent writes: statements/mo-166303.lean

import Mathlib

/-!
# Covariance matrix for number of powers in a word

Source: https://mathoverflow.net/questions/166303
Credit: @<your GitHub handle>

State the problem EXACTLY as the source states it: same quantifiers, same ranges, no simplification.
Do not prove it here: the theorem body stays `sorry`. A person reviews the translation before merging.
-/

namespace OMA.S_mo_166303

-- definitions the statement needs (no sorry, no axiom)

theorem main : sorry := by
  sorry

end OMA.S_mo_166303