Optimal and p-optimal proof systems #
Following Krajíček and Pudlák, a proof system P for a set L is optimal
(Cslib.Complexity.ProofSystem.IsOptimal) when it simulates every proof system for L, and
p-optimal (Cslib.Complexity.ProofSystem.IsPOptimal) when it p-simulates every proof system for
L.
Any two proof systems P and Q for L admit a combined proof system P.join Q that routes a
proof word to P or Q according to its leading tag bit, witnessing that Simulates and
PSimulates are directed preorders with binary joins
(Cslib.Complexity.ProofSystem.pSimulates_join_iff,
Cslib.Complexity.ProofSystem.simulates_join_iff). Every polynomially bounded proof system is
optimal (Cslib.Complexity.ProofSystem.PolynomiallyBounded.isOptimal), so when an optimal system
exists, it is polynomially bounded if and only if some proof system is polynomially bounded — and
for UNSAT, if and only if NP = coNP
(Cslib.Complexity.ProofSystem.IsOptimal.polynomiallyBounded_UNSAT_iff_NP_eq_coNP).
An optimal proof system P for L proves every NP subset X ⊆ L with proofs of length
polynomial in the encoded instance length
(Cslib.Complexity.ProofSystem.IsOptimal.polyBounded_on_NP_subset). For any paddable decodable
language L (Cslib.Complexity.Paddable), the converse also holds
(Cslib.Complexity.ProofSystem.exists_isOptimal_iff_of_paddable), specializing via
Cslib.Complexity.UNSAT_paddable to the full (2) ↔ (3) equivalence of
[KrajicekPudlak1989, Theorem 2.1(i)] for UNSAT
(Cslib.Complexity.ProofSystem.exists_isOptimal_UNSAT_iff).
Source-to-Lean mapping #
- Simulation direction and the order behind
join: In [KrajicekPudlak1989, §0, p. 1063],P ≤ Qmeans "PsimulatesQ", so a common simulator is a common lower bound and an optimal system is a least element. InCslibFrontier.Computability.Complexity.ProofSystem,P.Simulates QandP.PSimulates Qlikewise place the simulating system on the left. To viewP.join Qas a binary join (least upper bound) and optimal systems as greatest elements, define the reversed orderP ≤ QbyQ.Simulates P(respectivelyQ.PSimulates P), which reverses the source's ordering≤. UNSATvs.TAUT: [KP89] states propositional proof systems forTAUT.Cslib.Complexity.ProofSystem.IsOptimal.polynomiallyBounded_UNSAT_iff_NP_eq_coNP,Cslib.Complexity.ProofSystem.exists_isOptimal_UNSAT_of_NP_eq_coNP, andCslib.Complexity.ProofSystem.exists_isOptimal_UNSAT_iffstate theUNSAT(encCNF) refutation analogues, usingCslib.Complexity.ProofSystem.NP_eq_coNP_iff_exists_polynomiallyBoundedandCslib.Complexity.UNSAT_paddablewithout transporting a proof system betweenTAUTandUNSAT.- Direct source content vs. derived library facts: Common-bound existence (
joinwithjoin_simulates_left,join_simulates_right), the(2) ↔ (3)equivalence of Theorem 2.1(i) (IsOptimal.polyBounded_on_NP_subset,exists_isOptimal_iff_of_paddable, andexists_isOptimal_UNSAT_iff, §2, pp. 1066–1067; proved in the paper via first-order arithmetic consistency statements(3) → (5) → (4) → (1) → (2)on pp. 1070–1071, and proved directly here for any paddable decodable language by padding proof systems intoNPsubsets), and theUNSATanalogue of §0'sNP = coNPobservation reflect statements in [KP89]. Universal join properties (pSimulates_join_iff,simulates_join_iff), fixed-system consequences (IsPOptimal.isOptimal,PolynomiallyBounded.isOptimal, closure under simulation), and theNP/Pexistence facts (exists_isPOptimal_of_mem_P, etc.) are derived library facts built on the existing API. - Existence boundary: Unconditional existence of an optimal or p-optimal proof system for
UNSATis an open problem ([KrajicekPudlak1989, §0, p. 1063]) and is not claimed.
Main definitions #
Cslib.Complexity.ProofSystem.IsOptimal: optimality with respect toSimulates.Cslib.Complexity.ProofSystem.IsPOptimal: p-optimality with respect toPSimulates.Cslib.Complexity.ProofSystem.join: tagged disjoint-union proof system combining two systems.Cslib.Complexity.ProofSystem.ofDecider: proof system built from a polynomial-time decider.
Main results #
Cslib.Complexity.ProofSystem.pSimulates_join_iff,Cslib.Complexity.ProofSystem.simulates_join_iff:joinis a binary join for bothPSimulatesandSimulates.Cslib.Complexity.ProofSystem.IsPOptimal.isOptimal,Cslib.Complexity.ProofSystem.IsOptimal.of_simulates,Cslib.Complexity.ProofSystem.IsPOptimal.of_pSimulates: closure and uniqueness up to mutual simulation.Cslib.Complexity.ProofSystem.PolynomiallyBounded.isOptimal: every polynomially bounded proof system is optimal.Cslib.Complexity.ProofSystem.IsOptimal.polynomiallyBounded_UNSAT_iff_NP_eq_coNP: an optimal refutation system forUNSATis polynomially bounded iffNP = coNP.Cslib.Complexity.ProofSystem.IsOptimal.polyBounded_on_NP_subset: forward(2) → (3)direction of [KrajicekPudlak1989, Theorem 2.1(i)].Cslib.Complexity.ProofSystem.exists_isOptimal_iff_of_paddable,Cslib.Complexity.ProofSystem.exists_isOptimal_UNSAT_iff: full(2) ↔ (3)equivalence of [KrajicekPudlak1989, Theorem 2.1(i)] for paddable decodable languages and forUNSAT.Cslib.Complexity.ProofSystem.exists_isOptimal_of_mem_NP,Cslib.Complexity.ProofSystem.exists_isOptimal_UNSAT_of_NP_eq_coNP,Cslib.Complexity.ProofSystem.exists_isPOptimal_of_mem_P: conditional existence results.
References #
- J. Krajíček, P. Pudlák, Propositional Proof Systems, the Consistency of First Order Theories and the Complexity of Computations, §0 (p. 1063), §1 (pp. 1065–1066), and §2, Statements (2), (3), (7) and Theorem 2.1(i) (pp. 1066–1067)
- S. A. Cook, R. A. Reckhow, The relative efficiency of propositional proof systems
Optimality and p-optimality #
P is an optimal proof system for L [KrajicekPudlak1989, §0, p. 1063; §2, Statement (2),
p. 1066]: it simulates every proof system for L. In [KP89], P ≤ Q denotes that
P simulates Q, so an optimal system is a least element of ≤; here P.Simulates Q places the
simulating system on the left.
P is a p-optimal proof system for L [KrajicekPudlak1989, §2, Statement (7), p. 1067]:
it p-simulates every proof system for L.
Every p-optimal proof system is optimal. This is a derived fixed-system consequence of the
definitions and PSimulates.simulates (underlying the existential (7) → (2) implication in
[KrajicekPudlak1989, Theorem 2.1(i)]; Theorem 2.1(ii) treats equivalences among (6)–(9)).
p-optimality transfers upward along p-simulation.
Relative to an optimal proof system P, a system Q is optimal iff it simulates P.
Relative to a p-optimal proof system P, a system Q is p-optimal iff it p-simulates P.
Any two p-optimal proof systems for L mutually p-simulate each other.
Tagged join of two proof systems #
The tagged join of two proof systems P and Q for L: a proof false :: π is evaluated
by P, a proof true :: π is evaluated by Q, and the empty word defaults to P []. Defining the
order A ≤ B by B.PSimulates A (or B.Simulates A), which reverses the ordering of
[KrajicekPudlak1989, §0, p. 1063], P.join Q is a least upper bound (join) of P and Q,
corresponding to the source's common lower bound.
P.join Q p-simulates P by prepending the tag bit false.
P.join Q p-simulates Q by prepending the tag bit true.
P.join Q is a binary join (least upper bound) in the order A ≤ B given by
B.PSimulates A.
Polynomial bounds, Cook–Reckhow, and NP subsets #
Every polynomially bounded proof system is optimal: since every proof system Q computes
Q π in polynomial time, (enc (Q π)).length is polynomially bounded in π.length.
An optimal proof system is polynomially bounded iff some proof system for L is polynomially
bounded.
For a decodable encoding, an optimal proof system for L is polynomially bounded iff
L ∈ NP enc.
An optimal refutation system for UNSAT is polynomially bounded iff NP = coNP: the UNSAT
analogue of [KrajicekPudlak1989, §0, p. 1063] (stated there for TAUT), obtained from
Cslib.Complexity.ProofSystem.NP_eq_coNP_iff_exists_polynomiallyBounded [CR79b].
Forward (2) → (3) direction of [KrajicekPudlak1989, Theorem 2.1(i)]: an optimal proof
system P for L proves every NP subset X ⊆ L with proofs of length polynomial in the
encoded instance length.
For any paddable decodable language (and in particular for UNSAT), the converse (3) → (2) also
holds, giving the full (2) ↔ (3) equivalence in
Cslib.Complexity.ProofSystem.exists_isOptimal_iff_of_paddable and
Cslib.Complexity.ProofSystem.exists_isOptimal_UNSAT_iff.
Equivalence (2) ↔ (3) of [KrajicekPudlak1989, Theorem 2.1(i)] for paddable decodable
languages: a paddable language L (Cslib.Complexity.Paddable) with a total polynomial-time
decoder has an optimal proof system if and only if some proof system for L proves every NP
subset of L with proofs of length polynomial in the encoded instance length.
In [KrajicekPudlak1989, §2–§3, pp. 1066–1067, 1070–1071], (3) → (2) is established for TAUT via
first-order arithmetic consistency statements (3) → (5) → (4) → (1) → (2). Here we prove the
converse directly from Paddable: unpadding P yields an optimal system because every proof
system Q embeds its pairs (Q w, w) into the NP subset
{pad (Q w) (frame (enc (Q w)) ++ w) | w}.
Equivalence (2) ↔ (3) of [KrajicekPudlak1989, Theorem 2.1(i)] for UNSAT: UNSAT has an
optimal refutation system if and only if some refutation system for UNSAT has polynomial-length
refutations on every NP subset of UNSAT.
Conditional existence of optimal and p-optimal proof systems #
Every nonempty decodable NP set has an optimal proof system.
If NP = coNP, then UNSAT has an optimal refutation system: the UNSAT analogue of
[KrajicekPudlak1989, §0, p. 1063], obtained via NP_eq_coNP_iff_exists_polynomiallyBounded.
The proof system of a polynomial-time decider f for L, with a default member a₀:
each word is decoded by D; if f accepts the decoded instance, the word proves it, and
otherwise it proves a₀.
In ofDecider, the encoding of any member a ∈ L proves a itself.
The proof system of a polynomial-time decider is p-optimal: any proof π in any proof system
Q is translated in polynomial time to enc (Q π).
Every nonempty decodable set in P has a p-optimal proof system.