Left to Solve
Problems / MathOverflow (not formalized)

Paths in Pascal's triangle; or balanced $0-1$ initial segments

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

Statement

Here is a problem arising (via a tortuous path) from trying to determine the spectrum of Vershik's adic map on Pascal's triangle (a moderately well-known question: is the spectrum trivial, that is, is the map weakly mixing?).

Let be a large integer. Set to be the set of sequences of length (so ), and let be a subset of , say with size (roughly) for some . I am interested in the likelihood that an element of has an initial segment with an equal number of zeros and ones, that initial segment terminating in a point of .

Let be the number of sequences in such that at some point in , , the initial segment ending at has an equal the number of ones and zeros (obviously, has to be even, which is why consists of even integers). We say that the sequence in is {\it balanced at } when this occurs.

This can be re-expressed in terms of paths in Pascal's triangle: a path in Pascal's triangle, starting at the apex, is balanced at if it hits the central point at level (row) .

I have a couple of questions associated with this.

1 Is it true …

Posed by David Handelman · co.combinatorics, pr.probability, ergodic-theory, asymptotics

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-211473.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-211473.lean

import Mathlib

/-!
# Paths in Pascal's triangle; or balanced $0-1$ initial segments

Source: https://mathoverflow.net/questions/211473
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_211473

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

theorem main : sorry := by
  sorry

end OMA.S_mo_211473