Left to Solve
Problems / MathOverflow (not formalized)

Probability question involving drawing balls from an urn

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

Statement

Suppose there's an urn containing red balls and blue balls. At each trial, I'm drawing a ball at random from the urn, without replacement. Let denote the event of drawing a red ball, and let denote the event of drawing a blue ball. I'm conducting trials of this experiment. So, there are a total of equally likely possibilities.

Each of the possibilities can be considered as a string of s and s. Each such string has substrings (strings formed from the original string from consecutive s or s) of length .

For example, if and , then (which may be denoted by ) is one of the possibilities. It has substrings of length , which are , , , , , , and .

Now, given the premise of red balls and blue balls, after conducting trials, I'm interested in finding the probability distribution of the substrings of length in the resulting string. How do I approach this problem?

Motivation:- The motivation behind this problem directly arises from a reaction problem in polymer chemistry involving two …

Posed by Train Heartnet · pr.probability, probability-distributions

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

import Mathlib

/-!
# Probability question involving drawing balls from an urn

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

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

theorem main : sorry := by
  sorry

end OMA.S_mo_194366