Finding unknown integer-valued polynomials using inequalities
Statement
I've come across this interesting inequalities problem recently, which seemed straight-forward at first glance but has proven interesting enough to ask about it here.
Suppose you are given the degree of an unknown polynomial, and are told that all the coefficients are integers and are all within . Also, you have access to an oracle who will evaluate p(q), the unknown polynomial, and compare it to your guess , where q is the number of previous guesses you have made, and determine if your guess was less, greater than, or exactly equal to the unknown polynomial.
What is the optimal method of choosing guesses, given previous results, in order to make a correct guess as soon as possible in the worst case?
If the degree is d and the coefficients are bounded by [min, max] then it would seem the best possible method would require slightly less than by binary search. Its slightly less because with an answer of > from the oracle, you exclude both the values less than and those equal to the guess, which could be more than 50% of possibilities.
If the median of the evaluated values at q of all of the remaining …
Posed by Anthony Peterson · algorithms, computer-science, polynomials
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-13701.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-13701.lean
import Mathlib /-! # Finding unknown integer-valued polynomials using inequalities Source: https://mathoverflow.net/questions/13701 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_13701 -- definitions the statement needs (no sorry, no axiom) theorem main : sorry := by sorry end OMA.S_mo_13701