arXiv:2610.05385cs.CCOct 2026

Manuscript Offprint

arXiv:2610.05385

On the Computational Complexity of Problems: Formalizing Sensitivity to Uncertainty and Parametric Complexity Classes

Yannis Tzitzikas

Abstract

Is the classical question P=?NPP \stackrel{?}{=} NP the right one for understanding the complexity of real-world computation? Traditional worst-case analysis characterizes complexity solely as a function of input size nn. Yet tasks whose cost is exponential in general often run in polynomial or even linear time once specific structural constraints or partial inputs are known. For instance, the Partition Problem is solvable in linear time, a constant-time core step following linear-time verification, when its inputs satisfy a simple structural property, although no polynomial-time algorithm is known for it in general; Integer Factorization, by contrast, resists structural knowledge: no checkable property of the input is known to improve on the sub-exponential number-field-sieve bound. Classical worst-case analysis cannot explain this difference, because it collapses a whole spectrum of difficulty into a single pessimistic bound. This paper formally develops a comprehensive parametric and uncertainty-aware framework for computational complexity. We introduce the notion of Sensitivity to Uncertainty (SU) and formalize the cost variation ΔP(n,K)\Delta_P(n, K) under a given input property KK; we define the uncertainty-vanishing metric Ψ(n,K)\Psi(n, K) and prove a fundamental Uncertainty Reduction Theorem bridging cost variation and input uncertainty; and we introduce the parametric classes Pv[K]P_v[K] and NPv[K]NP_v[K] as a more practical, instance-level foundation, focused on certifiable structure, rather than distributional typicality, that resolves the gap between theoretical complexity and real-world tractability. We further show how the same uncertainty analysis supports practice: it enables deterministic Service-Level Agreements via Design-by-Contract (where the service-level guarantee explicitly accounts for the property-dependent verification cost) informs tool-use and reasoning splits in agentic AI, and provides an explanation of when quantum computers achieve exponential speedup.

Keywords: Computational Complexity, Sensitivity to Uncertainty, Partition Problem, Parametric Complexity Classes, Information Entropy, Kolmogorov Complexity.

1 Introduction

The central question in theoretical computer science is the P vs. NP problem, which asks whether every problem whose solution can be quickly verified can also be quickly solved [18]. While this question is of immense theoretical importance and represents one of the seven Millennium Prize Problems, its classical formulation possesses distinct practical limitations. In the real world, the fact that a problem belongs to the NP-complete class often discourages practitioners and software engineers from developing applications that rely on solving it. However, this pessimistic worst-case characterization is frequently a poor representation of practical difficulty. Many computationally hard tasks exhibit highly tractable behavior in practice because real-world problem instances are rarely random, unstructured, or worst-case; instead, they satisfy specific structural properties, symmetries, or constraints that drastically reduce computational complexity.

To address this gap, this paper elaborates on the usefulness of the P vs. NP question and proposes an alternative, more refined method for measuring and analyzing computational complexity. By focusing on the sensitivity of computational tasks to input uncertainty, we categorize problems into parametric complexity classes (Pv[K](P_v[K] and NPv[K]NP_v[K] where K denotes a property). We show that when extra knowledge (which lessens uncertainty) is available and exploited, the computational complexity of solving hard problems can be dramatically reduced, often collapsing from exponential to polynomial or even linear time (a constant-time core step following verification). Consequently, the practical impact of answering the classical P=?NPP \stackrel{?}{=} NP question is reduced, as instance-specific tractability is governed by structural knowledge rather than worst-case limits.

Essentially, the introduced parametric classes Pv[K]P_v[K] and NPv[K]NP_v[K] can be seen as a more practical, instance-level foundation that resolves the gap between theoretical complexity and real-world tractability. At this point one might ask how this relates to average-case complexity [11,31], which measures the expected cost over a distribution of inputs. The two analyses formalize different questions: average-case complexity asks whether the typical instance is easy; the present framework asks whether there is a checkable structural property KK such that every instance satisfying KK is easy. The former is about typicality, the latter about certifiability, and neither subsumes the other: average-case ease does not yield a guard that certifies the current instance, while the fact that a problem PP is polynomial if the input satisfies property KK (i.e. if P∈Pv[K]P \in P_v[K]) subsumes average-case tractability for every distribution concentrated on {x⊨K}\{x \models K\}. The precise relation is analyzed later (in §8).

The remainder of this paper is organized as follows. Section 2 describes the role of uncertainty and unknownness in computational complexity through a simple game-theoretic example, drawing a parallel to the classic Two Envelopes Paradox. Section 3 formally introduces the notion of Sensitivity to Uncertainty (SU) and defines Not Sensitive to Uncertainty (NSU) problems, and it uses a case study of the Partition Problem, demonstrating how various levels of structural knowledge collapse its complexity. Section 4 describes a formal method for measuring sensitivity to uncertainty, introducing the metric Ψ(n,K)\Psi(n, K) and linking it to Kolmogorov complexity. Section 5 states and proves the fundamental Uncertainty Reduction Theorem. Section 6 introduces the parametric complexity classes Pv[K]P_v[K] and NPv[K]NP_v[K] along with the Uncertainty Sensitivity Index (USI). Section 7 describes various NP problems according to their sensitivity to uncertainty. Section 8 discusses originality and value and discusses additional problems (satisfiability, vertex cover and TSP). Section 9 discusses applications in software engineering, Agentic AI, as well as in quantum computing. Finally, Section 10 concludes the paper.

References (31)