The P versus NP problem asks whether every language verifiable in polynomial time can also be decided in deterministic polynomial time. In this paper, we present a constructive proof that P = NP via a deterministic polynomial-time algorithm based on a graph-based computation framework. We introduce a model where edges correspond to deterministic Turing machine transitions. Because these execution steps form paths sharing the initial edge, the total number of edges is polynomially bounded due to overlapping edges across the entire certificate space. By shifting the verification focus from searching over exponential certificates to incremental edge extensions through verification of their validity,we reduce the complexity of the verification process to polynomial size. A key feature of our approach is that each extension step enforces global consistency via a local in-feasibility trimming tool. This mechanism systematically preserves consistent NP paths to the edge under verification, ensuring the graph remains globally feasible at every stage without explicit enumeration of certificates. Both extension and trimming steps are strictly bounded by a polynomial in the input size. Consequently, our construction decides NP problems in deterministic polynomial time, providing a direct resolution to the P versus NP question.
翻译:暂无翻译