Index of theproofnetwork/open-problems@860a535/Prove2Me/Theorems/Thm_PolyTimeFactorization_polytime_semiprime_factorization.lean
qedmarket’s copy of theproofnetwork/open-problems@860a535, 1 Dec 2026original source ↗
/-From Prove2Me: mission "Polynomial-Time Semiprime Factorization" (https://prove2.me/missions/0b09149e-1681-47e5-8706-c74ecfc258da), main theorem `PolyTimeFactorization.polytime_semiprime_factorization` (https://prove2.me/theorems/24cccb9e-b23a-4088-9ab3-7f29e627baca).Source: Epoch AI, FrontierMath: Open Problems - Improve the Best-known Classical Factorization Algorithms, https://epoch.ai/frontiermath/open-problems/prime-factorization (asymptotic formalization; see the mission description for the precise relationship). The polynomial-time factoring question is classical; cf. https://en.wikipedia.org/wiki/Integer_factorizationApache-2.0 per Prove2Me's terms.-/import Mathlib open Computability Turing namespace PolyTimeFactorization theorem polytime_semiprime_factorization : ∃ f : ℕ → ℕ × ℕ, Nonempty (TM2ComputableInPolyTime encodeNat (encodingProd encodingNatBool encodingNatBool).encode f) ∧ ∀ p q : ℕ, p.Prime → q.Prime → f (p * q) = (min p q, max p q) := by sorry end PolyTimeFactorization