A function $g : \{0,1\}^m \to \{0,1\}^{2m}$ such that the “circular discrepancy” between $g(x_1)$ and $g(x_2)$ is $> 2$ for any $x_1 \neq x_2$
Statement
In this question, the term “word” implies a binary word, i.e. a sequence of bits.
Let denote the number of non-zero bits in a word .
Assuming that is an -bit word and , let denote the result of the left bitwise rotation (i.e. the left circular shift) of by bits. For example, if , then and
Let denote the result of the bitwise “exclusive or” operation for two words of the same length. For example,
Assuming that and are two words of the same length , let denote the minimal element (the smallest integer) in the tuple
I am interested in a generalized (i.e. suitable for an arbitrary integer ) efficient injective function that takes one -bit word as the …
Posed by lyrically wicked · co.combinatorics, algorithms, combinatorics-on-words
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-488814.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-488814.lean
import Mathlib
/-!
# A function $g : \{0,1\}^m \to \{0,1\}^{2m}$ such that the “circular discrepancy” between $g(x_1)$ and $g(x_2)$ is $> 2$ for any $x_1 \neq x_2$
Source: https://mathoverflow.net/questions/488814
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_488814
-- definitions the statement needs (no sorry, no axiom)
theorem main : sorry := by
sorry
end OMA.S_mo_488814