Left to Solve
Problems / MathOverflow (not formalized)

What is the complexity class of the "function variant" of the integer factorization problem?

Open, not yet stated in LeanMathOverflow (not formalized)Number TheoryComputational Complexitydifficulty55/100

Statement

I've been reading up a lot Prime Factorization and it's complexity, including a fair number of questions on this very site. However, I still feel there is a question still left unanswered.

So, basically, there is the "Decision Variant" of the Integer Factorization Problem, as it's officially known, as well as the "Function Variant". The "Decision Variant" simply asks whether a given integer n has a factor greater than 1. The "Function Variant", on the other hand, concerns itself with actually finding the Prime Factors if there is more than 1 (it being equivalent to the "Decision Variant" if the answer to that is 'no').

When the question is asked "In what complexity class does Integer Factorization lie", the answer given is usually along the lines of: "The Decision Variant is both in NP and in Co-NP". That is great to know, but that question has been answered and does therefore not need answering again. I will therefore make my Question more specific.

Question: Is it known in what Complexity Class the "Function Variant" of the Integer Factorization Problem, aka the Prime Factorization Problem, lies? If so, what class would that be?

Posed by Ahsim · nt.number-theory, algorithms, 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-200599.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-200599.lean

import Mathlib

/-!
# What is the complexity class of the "function variant" of the integer factorization problem?

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

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

theorem main : sorry := by
  sorry

end OMA.S_mo_200599