Is it intractable to locate a sequence of prime/not-prime bits?
Statement
For , Let if is prime and otherwise. Roughly, my question is
Rough question: Given a rough estimate of and a sequence for , is it intractable to compute ?
To make this concrete, let for some exponent . Our task is
Task: Given and a sequence of bits , find s.t. , or report failure if none exists.
What's the computational complexity of this task as a function of ? Is it always polynomial in ? Notes:
• For this to be interesting, we have to set high enough that the is likely unique.
• I'm looking for conjectural complexity only, especially if the answer is "probably intractable", as I expect it to be hopeless to prove anything in this direction.
Posed by Geoffrey Irving · prime-numbers, computational-complexity
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-402900.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-402900.lean
import Mathlib /-! # Is it intractable to locate a sequence of prime/not-prime bits? Source: https://mathoverflow.net/questions/402900 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_402900 -- definitions the statement needs (no sorry, no axiom) theorem main : sorry := by sorry end OMA.S_mo_402900