Left to Solve
Problems / MathOverflow (not formalized)

Distribution of waiting time conditioned on a fixed time length

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

Statement

FYI, this question is a duplicate from math stack exchange I ask here again because I got no response.

Suppose, I work in a factory production line. The time for me to finish wrapping product (or ) is exponentially distributed with parameter (or ), i.e., , . My routine is to take turns wrapping product and . I start with , which takes time, then , which takes time, and so on. When I finish wrapping , no time is lapsed before I start wrapping . When my legal daily working hour is reached, I stop working immediately. I am interested in how many and I have wrapped during this time period. I want to know the distribution of numbers of product or , expectation and variance. Also I want to know the conditioning on , the distribution of time , and so on.

Let Let (or ) to represent the number of product (or ) I have wrapped during the time period . Then, where denotes …

Posed by Fellow InstituteOfMathophile · pr.probability, probability-distributions, queueing-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-458433.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-458433.lean

import Mathlib

/-!
# Distribution of waiting time conditioned on a fixed time length

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

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

theorem main : sorry := by
  sorry

end OMA.S_mo_458433