How to partially uniformize a deck by partial shuffles?
Statement
This question is a variant of a previous one; it was originally a posed as an edit of this former question, but I came to think it could be more suitable to pose it anew.
Assume I have a deck of cards that I would like to shuffle. Unfortunately, the deck is so big that I cannot hold it entirely in my hands. Let's say that the deck contains M cards, and that the operation I can perform are: 1. cut (deterministically) a deck into any number of sub-decks, without looking at the cards but remembering for all i where the i-th card from top of the original deck has been put; 2. gather several decks into one deck in any order (but assume that we do not intertwin the various decks, nor change the order inside any of them); 3. shuffle any deck of at most n cards. Assume moreover that such a shuffle consist in applying an unknown random permutation drawn uniformly.
Due to arithmetic arguments, it is not possible to achieve uniform distribution over all permutations of the original deck by such shuffles (see David Speyer's answer to the question above). However, one can can consider partial uniformity as follows.
Call a random permutation of -uniform if the law of …
Posed by Benoît Kloeckner · pr.probability
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-36071.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-36071.lean
import Mathlib /-! # How to partially uniformize a deck by partial shuffles? Source: https://mathoverflow.net/questions/36071 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_36071 -- definitions the statement needs (no sorry, no axiom) theorem main : sorry := by sorry end OMA.S_mo_36071