Proof Path TheoryReading edition

Alternative derivations and certificate complexity

Reading tools
Reading libraryFind statementsInspect Lean
Switch work

Saved reading

Read side by side

Start reading

Resources & source

Read and explore

Proofs and implementation

About this work

Other resources

Original TeX with line links · Download TeX

The wording and mathematics follow the retained manuscript. This reading format does not add a proof review or extend Lean coverage.

Skip contents and start reading

6 Alternative derivations and certificate complexity

When a claim admits several certified justifications, certificate extraction is no longer a backward closure problem. A local choice may be reused by several later obligations, which couples decisions across the field.

Problem 6.1: Minimum Certificate Decision

Given a finite acyclic certified proof field, a target set, nonnegative integer node and justification costs, and a budget \(B\), determine whether a certificate of total cost at most \(B\) exists.

Theorem 6.2: Minimum certificate selection is NP-complete

Minimum Certificate Decision is NP-complete, even when every nonzero cost is a unit node cost and all justification costs are zero.

Proof

The problem belongs to NP. A proposed node and justification set can be checked in polynomial time by verifying references, computing derivability in topological order, and summing costs.

For NP-hardness, reduce Set Cover. Let \(U=\{u_1,\ldots,u_m\}\) be the universe, let \(S_1,\ldots,S_n\subseteq U\) be the available sets, and let \(k\) be the cover budget. Construct one optional admissible leaf node \(s_i\) for each set \(S_i\), with unit cost. Construct one zero-cost obligation node \(e_j\) for each element \(u_j\). Whenever \(u_j\in S_i\), add a certified justification

\[ \{s_i\}\Longrightarrow e_j. \]

Add a zero-cost target node \(t\) with the certified justification

\[ \{e_1,\ldots,e_m\}\Longrightarrow t. \]

The dependency graph is acyclic. A certificate for \(t\) must derive every \(e_j\). Deriving \(e_j\) requires at least one selected source node \(s_i\) with \(u_j\in S_i\). One selected \(s_i\) may discharge several obligations, and its cost is paid once. Therefore a certificate of cost at most \(k\) exists exactly when the original Set Cover instance has a cover of size at most \(k\). The reduction is polynomial.

The Set Cover example as a membership matrix. Filled marks belong to the selected rows S 1 and S 3; open marks show unselected memberships. Every obligation is covered. The target requires all four obligations through one AND rule. The exact minimum is two, although the minimizing pair need not be unique.
Figure 6. The Set Cover example as a membership matrix. Filled marks belong to the selected rows \(S_1\) and \(S_3\); open marks show unselected memberships. Every obligation is covered. The target requires all four obligations through one AND rule. The exact minimum is two, although the minimizing pair need not be unique.

View full-size figure (new tab)

Remark 6.3: Algorithmic consequence

Exhaustive certificate selection is useful for small fields or fields with few alternatives. The reference implementation uses branch and bound with an explicit search-state limit. Its result is optimal for the stored finite cost data when the search completes. It does not remove the exponential worst case. The decision theorem concerns integer costs, while the Python interface accepts finite floating-point costs and compares their exact stored binary values as rationals. Printed cost totals remain floating-point summaries. The input conversion does not recover an intended real or decimal value that was never represented. See [5] for the background complexity language.

Source and conversion record

Source SHA-256: ce05e88b439e9fd55ef6eb04da708a63ce02e6627424e6daac0dca4177b8ab51

Unsupported prose commands stop the build. The mathematical expression sequence is checked against the source, with manuscript macros expanded for display.

Conversion records

Notation in Proof Path Theory

Look up a symbol without leaving this chapter. Select text before opening help to search for it.

Search this work’s notation.

    Symbols can have different meanings in different passages. Read each result in its own context.

    Open the full notation index