Left to Solve
Problems / MathOverflow (not formalized)

Alternating colors on a line: infinitely often or converge?

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

Statement

Suppose we have intervals of alternating color on (say, red / blue / red / blue / …). All intervals have independent length, with all red intervals distributed as , all blue intervals distributed as .

Once the intervals are generated, I update them iteratively as follows: if an interval is smaller than its two immediate neighbors, then it get swallowed by its neighbors: all three intervals join to become one big interval of the same color as the two end ones.

For example, if we have: … (red 2) (blue 3) (red 4) (blue 1) (red 3) (blue 4) (red 5) …

Then the next step we will see … (red 2) (blue 3) (red 8) (blue 4) (red 5) …

And the next step we will see … (red 2) (blue 3) (red 17) …

And so on.

The question is: does one color eventually wins out, or do the two colors switch back and forth infinitely often? Concretely: for any fixed point , if denotes the color of at time step (= 1 if blue, = 0 if red), then will the sequence converges, or will it visit 1 and 0 infinitely often (with probability 1)?

Clearly we need to know something about the two distributions. Then, the question really …

Posed by Ngoc Mai Tran · pr.probability, stochastic-processes, ergodic-theory

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

import Mathlib

/-!
# Alternating colors on a line: infinitely often or converge?

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

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

theorem main : sorry := by
  sorry

end OMA.S_mo_56048