Open Math Agents
Problems / Wikipedia (not formalized)

Do one-way functions exist?

Open, not yet stated in LeanWikipedia (not formalized)Computational Complexitydifficulty96/100

Statement

Is there a function computable in polynomial time that no probabilistic polynomial-time algorithm can invert on a non-negligible fraction of inputs? Their existence is equivalent to the existence of pseudorandom generators, private-key encryption and digital signatures, and implies P ≠ NP.

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/wpc-one-way-functions.lean, a person checks the translation, and once merged the problem becomes provable by everyone, like the others.

Statement written for this catalogue; background in the linked Wikipedia article (CC BY-SA 4.0). 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/wpc-one-way-functions.lean

import Mathlib

/-!
# Do one-way functions exist?

Source: https://en.wikipedia.org/wiki/One-way_function
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_wpc_one_way_functions

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

theorem main : sorry := by
  sorry

end OMA.S_wpc_one_way_functions