Weighted Hamming distance
Statement
Basically my question is, what kind of geometry do we get if we use a "weighted" Hamming distance. This is combinatorics but similar things come up sometimes in theoretical computer science, for example in randomness extraction.
Define:
the Hamming distance between binary strings and of length , the cardinality of .
For a set of strings ,
.
The -fold boundary of is
Balls centered at are given by
where is the string of many zeroes.
A Hamming-sphere is a set with . (So it's more like a ball than a sphere, but this is the standard terminology...)
Now, Harper in 1966 showed that for each , , , one can find a Hamming-sphere that has minimal -fold boundary among sets of cardinality in . So a ball is a set having minimal boundary -- just like in Euclidean space.
The cardinality of is .
The -fold boundary of is just the set , which then has cardinality …
Posed by Bjørn Kjos-Hanssen · co.combinatorics, computational-complexity
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-38221.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-38221.lean
import Mathlib /-! # Weighted Hamming distance Source: https://mathoverflow.net/questions/38221 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_38221 -- definitions the statement needs (no sorry, no axiom) theorem main : sorry := by sorry end OMA.S_mo_38221