A Novel Perspective on the P vs NP Problem
with an AI Co-Pilot Exploration Framework

Samuel Castillo • University of Massachusetts Amherst • April 2026

Motivation

Why This Problem Matters

Real-World Motivation: Travel Systems and Optimization

Large travel systems must forecast demand, allocate inventory, schedule under disruptions, and optimize itineraries. Many of these tasks resemble classical combinatorial optimization problems.

The canonical example is the Traveling Salesman Problem (TSP):

Given a set of locations and pairwise distances, what is the shortest route that visits each location once and returns to the origin?

Exact solutions typically become infeasible at scale. Practical systems rely on heuristics, approximations, decomposition, and predictive models.

Formal Definitions

Class P

\[ \mathsf{P} = \left\{ L \subseteq \Sigma^* \;\middle|\; \exists \text{ deterministic Turing machine } M, \exists k \in \mathbb{N}, \text{ such that } M \text{ decides } L \text{ in time } O(n^k) \right\} \]

Problems solvable in polynomial time. Polynomial time is the mathematical model of tractability.

Class NP

\[ \mathsf{NP} = \left\{ L \subseteq \Sigma^* \;\middle|\; \exists \text{ nondeterministic Turing machine } M, \exists k \in \mathbb{N}, \text{ such that } M \text{ decides } L \text{ in time } O(n^k) \right\} \]

Equivalent verifier-based definition:

\[ x \in L \iff \exists y \in \Sigma^*,\ |y| \le p(|x|),\ V(x,y)=1 \] where \(V\) is a deterministic polynomial-time verifier.

The Central Question

\[ \text{Does } \mathsf{P} = \mathsf{NP}\ ? \]

If P = NP, many currently intractable search problems would become polynomial-time solvable. If P ≠ NP, the gap between verification and search is fundamental.

Feasibility and Runtime Growth

Time-to-Solve (TTS) and Feasibility

Feasibility depends on time, memory, energy/hardware, and scalability. Polynomial growth is usually manageable. Exponential growth quickly outruns any realistic compute budget.

Scaling Behavior by Complexity Class

The difference between polynomial and exponential time is often the difference between practical and impossible.

Real Runtime Comparison

Assume a machine performing approximately 10⁹ basic operations per second.

Input nO(n)O(n²)O(2ⁿ)
1010⁻⁸ s10⁻⁷ s1.0×10⁻⁶ s
303×10⁻⁸ s9×10⁻⁷ s1.07 s
505×10⁻⁸ s2.5×10⁻⁶ s≈ 13 days
707×10⁻⁸ s4.9×10⁻⁶ s≈ 37,000 years
909×10⁻⁸ s8.1×10⁻⁶ s≈ 39 billion years
10010⁻⁷ s10⁻⁵ s≈ 40 quintillion years

Intuition and NP-Completeness

Intuition: Verification vs. Search

Verifying a candidate solution may be fast. Finding that solution may require massive search.

Example: Sudoku — Checking a completed grid is quick. Constructing a valid solution can require extensive search.

NP-Complete Problems

A problem is NP-complete if it belongs to NP and every problem in NP reduces to it in polynomial time.

Examples: Traveling Salesman Problem, Subset Sum, Knapsack.

A polynomial-time algorithm for any NP-complete problem would imply P = NP.

Computational Perspective

Empirical Runtime Experiments

for (int n = 10; n <= 1000; n *= 2) {
    auto start = now();
    solve_instance(n);
    auto end = now();
    log(n, end - start);
}

Runtime plots make the polynomial vs. exponential gap obvious.

Cryptography and Hardness Assumptions

Modern cryptography exploits asymmetry between easy verification and hard inversion (integer factorization, discrete logarithms, etc.). These are evidence that hardness matters in practice, though they do not directly resolve P vs NP.

Blockchain and Post-Quantum Context

Blockchain systems test cryptographic hardness at global scale. Quantum computing increases pressure on classical assumptions. Post-quantum cryptography shifts attention to lattices and new security assumptions.

AI Co-Pilot Framework

Why an AI Co-Pilot?

The proposal is methodological: organize known results, map dependencies among reductions, generate constrained conjectures, explore structured instances empirically, and interface with theorem provers.

Workflow: human judgment + AI-assisted search + formal/computational validation

Research Directions for the Framework

Known Meta-Barriers

Any successful proof likely has to escape: Relativization, Natural Proofs, Algebrization.

Interactive Presentation

Takeaways

Key Takeaways

Conclusion

The P vs NP problem remains one of the deepest open questions in mathematics and theoretical computer science. Its significance extends far beyond abstract definitions. An AI co-pilot framework is best viewed as a disciplined assistant for exploration, synthesis, and formal checking. The conjecture itself still demands genuinely new mathematical insight.