Left to Solve
Problems / MathOverflow (not formalized)

Matrix shuffling by shifting rows and columns

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

Statement

Let be an matrix, with in the first row, in the second row, etc.

I want to shuffle this matrix using only two kinds of operations:

• Column shifts, where a shift of column by moves the element at to , for .

• Row shifts, where a shift of row by moves each element at to , for .

(A row / column shift affects one row / column, not all of them.)

My goal is not necessarily to achieve a full shuffle; rather, it is to ensure that any elements are equally likely to be in the same column. (However, correlations across columns - where perhaps elements share a column iff elements share a column - are allowed.)

How many random shifts (column / row shifts with random ) do I need to perform before my matrix is "shuffled enough" (as described above)? What is the minimal shuffling algorithm (which columns and rows do I randomly shift)?

Any hints …

Posed by So Ya · co.combinatorics, random-matrices, permutations, random-permutations

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

import Mathlib

/-!
# Matrix shuffling by shifting rows and columns

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

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

theorem main : sorry := by
  sorry

end OMA.S_mo_489738