FAC ⊆ TFNP

Inclusion · folklore

Statement

The search problem underlying FAC — given an integer , output its prime factorization — is in TFNP — folklore.

Sketch

Totality is the fundamental theorem of arithmetic; the verifier checks and tests each for primality in polynomial time.

Notes

  • Factoring reduces in randomized polynomial time to a problem in PPA and to WeakPigeon in PPP; under the generalized Riemann hypothesis both reductions are deterministic — Jer16.