Left to Solve
Problems / MathOverflow (not formalized)

Does this rule always produce a cycle of length $m^3$?

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

Statement

Work over . We define a rule on triples . At each step we drop the first entry and append either or . Thus, the next state is either or .

The choice will only depend on the visible pair . So, define an matrix, whose cells of the form tell us what to do with a given triple, when its last two entries are . A marked cell means we’re going to “append ”. An unmarked cell means “append ”. Now, for the marking rule: set , mark every cell with and and mark the cells with . If is odd: unmark and mark instead. Define by if is marked, and by otherwise. This gives a permutation of .

The question is: does this simple “rule” / permutation always give one cycle of length ? More concretely: starting from and repeatedly applying , do we visit every triple in exactly once before returning to ? I’ve done some experiments for up to and it seems like the …

Posed by Sergiu Alexandru Bîsceanu · permutations, discrete-dynamical-systems, modular-arithmetic

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

import Mathlib

/-!
# Does this rule always produce a cycle of length $m^3$?

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

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

theorem main : sorry := by
  sorry

end OMA.S_mo_510810