Stopping time on the sum of a moving window
Statement
(Cross post from MSE)
Let be iid random variables, and define:
Now, define:
How can I find or even , and whether there are any conditions under which these do not depend on the specific distribution of but on its first two moments?
To be more precise, I would expect to be able to express in terms of , the statistical properties of (for instance, in case we knew the initial state of the register and would be interested in larger values of ) and the moments of . This is usually the case for problems in which one new iid is added to the sum when increasing .
However, here acts as a shift register/buffer/sliding window/etc., where the oldest value is discarded every time a new one is added. Moreover, other techniques used in similar situations, like Wald's Identities, cannot be applied here, due to the sum taking place over a fixed number of iids.
Indeed, it turns out that one can prove that the following is a martingale:
$$M_n=S_n\left(\frac{N}{N-1} \right)^n - \mu …
Posed by user3141592 · st.statistics, martingales, expectation
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-475860.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-475860.lean
import Mathlib /-! # Stopping time on the sum of a moving window Source: https://mathoverflow.net/questions/475860 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_475860 -- definitions the statement needs (no sorry, no axiom) theorem main : sorry := by sorry end OMA.S_mo_475860