A Polynomial-Time Deterministic Algorithm for an NP-Complete Problem

Abstract

We introduce an NP-complete graph decision problem, the "Multi-stage graph Simple Path" (abbr. MSP) problem, which focuses on determining the existence of specific "global paths" in a graph G. We show that the MSP problem can be solved in polynomial (O(|E|9)) time, by proposing a polynomial-time graph algorithm and the proof of its correctness. Our result implies NP=P. The algorithm leverages the data structure of reachable-path edge-set R(e). By establishing the interplay between preceding decisions and subsequent decisions, the information computed for R(e) (in a monotonically decreasing manner) carries all necessary contextual information, and can be utilized to summarize the "history" and to detect the "future" for searching "global paths". The relation of R(e) of different stages in the multi-stage graph resembles the state-transition equation in dynamic programming, though it is much more convoluted. To avoid exponential complexity, paths are always treated as a collection of edge sets. Our proof of the algorithm is built upon a mathematical induction - based proving framework, which relies on a crucial structural property of the MSP problem: all MSP instances are arranged into the sequence G0,G1,G2,..., and each Gj(j>0) in the sequence must have some Gi(0≤ i<j) that is completely consistent with Gj on the existence of "global paths". As an auxiliary method, we have conducted tests using multiple AI systems. With the help of a suggested query list that covers the entire content of the paper, the paper has been verified by Doubao, DeepSeek, Kimi, iFlytek Spark, ERNIE Bot, Gemini, and GPT.

0

Turn this paper into a lesson

ArcXiv compiles a structured reading guide from this paper's metadata: plain-English importance, contributions, prerequisite concepts, which sections to read first, flashcards, and a quiz. Grounded in the abstract, never invented.

Discussion (0)

Sign in to join the discussion.

Loading comments…