Complexity class of problems solvable using Q&A site
Statement
Motivation
We will be trying to find what is the complexity class of problems solvable by a polynomial time algorithm (poster) that has access to a certain oracle (Q&A site) formalizing certain real-life concepts.
Definitions
A question is the number (polynomial in inputs of the problem) together with the polynomial time algorithm that returns yes/no for any input of size .
An answer to question is the string of size such that is true.
The Q&A site is an oracle which can be accessed by poster at any time and can be accessed multiple times; it immediately returns 0 or more strings which pretend to be an answer. Since it's easy to find whether a string is an answer, we can assume that the site returns only true answers (but it may return none).
Omniscient Q&A site
Consider the site AskAndReceive, which guarantees to return an answer if there is one (it's thus the ideal Q&A site). A poster using this site, I think, will be solving problems from the complexity class , that is using as an oracle (correct me if I'm wrong).
Random Q&A site
Another Q&A site, BunchOfMonkeys, can only accept questions that look like …
Posed by Ilya Nikokoshev · computational-complexity, computer-science
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-10972.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-10972.lean
import Mathlib /-! # Complexity class of problems solvable using Q&A site Source: https://mathoverflow.net/questions/10972 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_10972 -- definitions the statement needs (no sorry, no axiom) theorem main : sorry := by sorry end OMA.S_mo_10972