XSci

Nine Days on P vs NP with AI: Faster Path Search and the Worst-Case Cost of Changing One Answer

Mohamad Al-Zawahreh

Submitted by Mohamad Al-Zawahreh

Published November 28, 2026 · Version v1, November 28, 2026 · DOI 10.66977/xsci.2611.005e

Theoretical Computer Science

Declaration of AI use (v1): Mohamad Al-Zawahreh directed the investigation, chose its research questions, and is responsible for this manuscript. Gemini and Claude assisted the earlier spectral-geometric investigation, which is credited and re-examined in the paper. OpenAI models in Codex assisted with proof construction, counterexamples, literature searches, implementation, verification, drafting and typesetting of the continuation. A published counting theorem from Anthropic’s formal-math project is an attributed mathematical input. The separate seven-family follow-up extends the one-row circuit theorem in Section 4; the path algorithms, full-table results and the audit of the earlier proposal belong to this broader report.

Abstract

For nine active research days I directed AI agents in an investigation of P versus NP. Changing one answer in an eight-row truth table can increase its minimum circuit size from two gates to six. For every number m of input bits at least three, the greatest possible increase is exactly m+1 gates when binary AND, binary OR and unary NOT each cost one. With free wire inversions the sharp increase is m for m at least two. A separate consequence of P = NP is that a nearly linear-time full-table search can find a circuit matching at least 90 percent of the entries, or establish that none fits, when the gate budget is sublinear in the number of address bits. A sequential machine with limited working memory cannot achieve this speed in the specified regime. The ample-memory lower bound remains open. We give an exact minimum-color path algorithm on directed series-parallel networks in which each color appears on at most two edges, with running time O*(1.695621^h) and polynomial space for h colors. With unrestricted color reuse, a fixed improvement in the base is equivalent to a corresponding improvement for shallow-circuit satisfiability. The archive contains runnable solvers and 581 indexed work packages. The seven-family note (doi:10.5281/zenodo.24619347) builds specifically on Section 4 of this parent preprint.

View PDF