Left to Solve
Problems / MathOverflow (not formalized)

Binary search with maximum consecutive lies about "is X in subset S?"

Open, not yet stated in LeanMathOverflow (not formalized)CombinatoricsLogic & Foundationsdifficulty55/100

Statement

Here's the original problem:

Alice tells Bob "I have thought of an integer between 1 and 2000. Tell me 1000 numbers. If your set contains my number, I'll give you this prize." Bob really wants the prize so he pleads "May I at least ask you some yes/no questions about your number?" "Hm..." Alice thinks, but then smiles, "Sure, as many as you need. But I may lie some of the time." "Now that's not very helpful..." Bob replies, "...well, come to think of it, as long as you promise not to lie more than nine consecutive times, I'm game." Alice doesn't believe Bob has a strategy, so she agrees.

However Bob has a strategy. How can he find a thousand numbers, one of which is with a 100% certainty Alice's?

It's relatively easy to show that Alice's upper bound of 2000 is irrelevant, and to then find a strategy that reduces the candidates for her number to , where is the number of consecutive lies she's allowed to tell. In the particular problem, Bob can easily find 512 candidates for Alice's number.

However if is the minimum size of the final set, it can be shown that if then . It can also be shown that for and …

Posed by Borislav Stanimirov · co.combinatorics, lo.logic

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-151192.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-151192.lean

import Mathlib

/-!
# Binary search with maximum consecutive lies about "is X in subset S?"

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

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

theorem main : sorry := by
  sorry

end OMA.S_mo_151192