Proof Path TheoryReading edition

Recursive proof cubes and expansion depth

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

23 Recursive proof cubes and expansion depth

A visible proof step is rarely atomic. A lemma opens into definitions and sublemmas. A computation opens into algorithms, parameters, and exact checks. A citation opens into another dependency graph. Proof Path Theory treats this as recursive refinement.

Definition 23.1: Proof packet and refinement

A proof packet is a node presented at one resolution. A refinement replaces that node by a finite subfield whose certified target reconstructs the original node on the declared scope.

A refinement preserves the certified target on its declared scope. Preservation of other tasks requires a separate recovery condition. Let \(R_d:\mathscr A\to\mathcal R_d\) be the representation scheme at depth \(d\). A sufficient condition is a map

\[ \pi_d:R_{d+1}(\mathscr A)\longrightarrow R_d(\mathscr A) \qquad\text{with}\qquad R_d=\pi_d\circ R_{d+1}. \]

If a task factors as \(q=d_q\circ R_d\), then

\[ q=(d_q\circ\pi_d)\circ R_{d+1}. \]

Hence \(R_d\preceq_{{\mathcal Q}}R_{d+1}\). Repeated refinements satisfying this condition give the recoverability chain. For a restricted task family, preserving its supported tasks directly can suffice without recovering the entire preceding representation.

A longer derivation is not automatically a richer archive. It may reconstruct the same conclusion while omitting an example, a failed approach, or a provenance record. Those losses must be assessed against the declared task family.

Let \(r_d\geq0\) be a declared unresolved-work score and \(c_d\geq0\) the cumulative cost. These are model inputs. A small \(r_d\) is not, without another theorem, a certificate of a nearly valid proof. The word cube names the layered presentation, not a cubical complex supplied with additional geometric axioms.

Definition 23.2: Goal-relative depth objective

For goal \(g\) with weights \(\alpha_g,\beta_g\ge0\), define

\[ J_g(d)=\alpha_g r_d+\beta_g c_d. \]

An optimal expansion depth is any minimizer of \(J_g\).

Theorem 23.3: Expansion depth is goal dependent

The same proof object can have different optimal expansion depths for different goals.

Proof

Take a proof object with exactly two available depths \(d_1<d_2\), with \(r_{d_2}<r_{d_1}\) and \(c_{d_2}>c_{d_1}\). Direct subtraction shows that \(d_2\) is preferred exactly when

\[ \alpha_g(r_{d_1}-r_{d_2})>\beta_g(c_{d_2}-c_{d_1}). \]

The goal \((\alpha_g,\beta_g)=(1,0)\) strictly prefers \(d_2\), whereas \((0,1)\) strictly prefers \(d_1\). Since these are the only available depths, each preference is a global optimum. If both weights vanish, every depth is optimal. No division by a possibly zero weight is needed.

A practical stopping rule selects the first depth satisfying

\[ r_d\le\varepsilon\qquad\text{or}\qquad \frac{r_{d-1}-r_d}{c_d-c_{d-1}}<\tau. \]

The first condition uses a declared tolerance. The second applies only at \(d\geq1\) with \(c_d>c_{d-1}\) and compares the most recent reduction with its extra cost. Zero-cost refinements require separate handling. These stopping rules do not generally minimize \(J_g\) over all remaining depths.

Figure 25 and the worked example in Section 24.6 give explicit costs and unresolved-work scores for three goals.

Deeper is not automatically better. A formal checker may need primitive steps. A specialist paper may cite a standard theorem. A teaching account may expand only the conceptual bottleneck. An archive may retain a failed branch that neither certificate requires.

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