Left to Solve
Problems / MathOverflow (not formalized)

Equivalence classes of a circle of n bits upon flipping 3 consecutive 0s to 1s or vice versa

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

Statement

Consider a circle of n-bits and define the equivalence relation as follow:

Two configurations A and B of the n-bits circle are equivalent if they can be transformed into each other by performing a sequence of "3-bit flip" operations.

Here the "3-bit flip" can only flip 3 consecutive 1s to 0s or vice-versa, namely 111<->000.

The question is how to compute the equivalence class of the n-bits string on a circle? Note that the only operation allowed is the "3-bit flip", any other operations such as overall rotation are not allowed in the equivalence relation. I guess that there will be a lot of invariants that characterize the equivalent classes, but I can only construct a small number of them (such as the numbers of 0s module 3).

Any help is appreciated, thanks in advance.

Posed by NuKuYul · co.combinatorics, invariant-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-357250.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-357250.lean

import Mathlib

/-!
# Equivalence classes of a circle of n bits upon flipping 3 consecutive 0s to 1s or vice versa

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

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

theorem main : sorry := by
  sorry

end OMA.S_mo_357250