Sampling efficiently conditioned on linear constraints modulo both $\mathbb{F}_p$ and $\mathbb{F}_2$
Statement
Given a prime and positive integer (say ), is there an algorithm that is polynomial time in to sample uniform conditioned on the following constraints:
1) For some , 2) Express as a bitstring using the binary representation. Then the binary random variables so obtained lie in a given subspace of of dimension .
3) Same condition as 2) for 's.
I will be happy to get any pointers or reference for this. Even some intuition on why this might or might not be true will be helpful.
Posed by user47772 · nt.number-theory, co.combinatorics, pr.probability
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-230490.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-230490.lean
import Mathlib
/-!
# Sampling efficiently conditioned on linear constraints modulo both $\mathbb{F}_p$ and $\mathbb{F}_2$
Source: https://mathoverflow.net/questions/230490
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_230490
-- definitions the statement needs (no sorry, no axiom)
theorem main : sorry := by
sorry
end OMA.S_mo_230490