Left to Solve
Problems / MathOverflow (not formalized)

Hardness of comparing weight partitions of an affine space over $\mathbb{F}_2$

Open, not yet stated in LeanMathOverflow (not formalized)General AlgebraComputational Complexitydifficulty55/100

Statement

Let be an affine subspace of . Let and be linear maps . Consider the following decision problem: Decide whether or not there exists an such that , where denotes the Hamming weight in . Is this NP-hard? What if is required to be a vector subspace (i.e )? My first instinct is that problems related to codeword weight are usually NP-hard, but the setting of this problem looks different (i.e we are considering the weights of "compressions" of strings of into a smaller space). Or is this just easy because of the MacWilliams Extension theorem?

Posed by JAN · linear-algebra, computational-complexity, finite-fields, coding-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-496509.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-496509.lean

import Mathlib

/-!
# Hardness of comparing weight partitions of an affine space over $\mathbb{F}_2$

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

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

theorem main : sorry := by
  sorry

end OMA.S_mo_496509