How statement and proof provenance work
The first chip identifies the source of the statement or construction; the second identifies the source of its local proof or verification.
- Literature-sourced: the exact statement appears in a cited source; only wording and notation differ.
- AI-adapted: a semantically identical restatement of literature-sourced material, modulo indexing, notation, and boundary cases adopted by the library.
- AI-generated: a genuinely novel statement formulated by AI, with no source for the claim itself.
These labels describe origin, not correctness: citations and verification chips remain separate evidence.
P, NP, coNP, and Polynomial Reductions: Examples and Counterexamples
1 · Prerequisites
- Construction of the Natural Numbers
- Countability and Uncountability
- Finite Counting, Factorials and Binomial Coefficients
- Formal Languages, Encodings, and Decision Problems
- Linear Recurrences and Rational Generating Functions
- P, NP, coNP, and Polynomial Reductions
- Relations, Functions, and Quotients
- Resource Bounds and Machine Invariance
- The ZFC Axioms and the Basic Set Constructions
- Turing Machines, Configurations, and Computation
2 · Summary
These examples keep the class containments concrete. One easy parity language already sits in , hence in both and ; another turns the abstract proof into an explicit lexicographic certificate search; and the counterexample shows why "NP" cannot mean "not polynomial."
3 · Logical flowchart
4 · Definitions, theorems and proofs
None yet.
5 · Examples, counterexamples and false statements
An even-length language sits in P, hence also in NP and coNP
Example
Let Then , so .
Verification
A deterministic machine can decide by scanning the input once and toggling one parity bit in its finite control. At the end it accepts exactly when the parity is even. This runs in linear time, so .
Applying [L1] to step 1.1 gives .
Lexicographic certificate search uses polynomial space and exponential time
Example
Suppose a language has a polynomial-time verifier whose certificates have length at most . A deterministic search through those certificates illustrates why the containment can hold even though the resulting algorithm may still take exponential time.
Facts & Assumptions
Given: A polynomial-time verifier with certificate length bound .
The verifier search problem asks for a certificate witnessing acceptance, by The search problem attached to an NP verifier.
Verification
Enumerate all binary certificates of lengths at most in lexicographic order and run the verifier on each until one succeeds. At every stage the algorithm stores only the input, the current certificate, and the verifier workspace. The verifier's polynomial time bound also bounds its visited workspace polynomially, so the total space usage is polynomial. This is the concrete mechanism behind the first inclusion in [L2].
There are fewer than candidate certificates, and the same procedure may test exponentially many of them before success or exhaustion. Its running time can therefore be exponential even while its space stays polynomial. That is exactly the gap displayed by the chain in [L2].
A regular parity language refutes 'NP means not polynomial'
Statement refuted
The claim "NP means not polynomial-time solvable" is false. The even-length language already gives a counterexample.
Facts & Assumptions
Given: The language .
The false slogan being refuted is the one recorded in FALSE: NP means not polynomial-time solvable.
Counterexample
A one-pass parity scan decides in linear time, so .
By [L1], step 1.1 implies as well. Therefore [L2] is false: this NP-language is already polynomial-time solvable.