proof_fields_chapter.tex

Machine Native Reasoning: wider continuation

proof_fields_chapter.tex

Download original file

This is the original TeX manuscript source. Use the paper’s PDF for typeset equations.

Read the typeset paper

Skip source text

1 \chapter{Proof fields, closure, and executable certificates}\label{ch:prooffields}
2 
3 A reasoning archive contains more than its final proofs. It may retain alternative derivations, conjectures, unsuccessful proposals, and observations that later become obsolete. A checker must know which of those records it is permitted to use. Otherwise an archive that is useful for discovery can become an unsound source of premises.
4 
5 Proof-Path Theory supplies a finite distinction between the surrounding field and the certified derivation. This chapter admits its closure and trace-checking results in a self-contained form. It does not identify acceptance of a data structure with truth of an arbitrary sentence attached to that structure.
6 
7 \section{A finite field with explicitly admitted rules}
8 Let $V=\{0,\ldots,n-1\}$ be a finite set of claim addresses. Let $A\subseteq V$ be admitted leaves, $S\subseteq V$ positive observations, and $N\subseteq V$ forbidden consequences. These sets need not be disjoint. A finite rule list $R$ has rows
9 \[
10  r_j=(P_j,c_j),\qquad P_j\subseteq V,\quad c_j\in V.
11 \]
12 Only admitted rules are included. Identical rows may occupy different addresses. A conjectural rule elsewhere in the discovery archive is not admitted merely because it has a convenient conclusion.
13 
14 A model of the field is a set $B\subseteq V$ containing $A$ and satisfying every implication $P_j\subseteq B\Rightarrow c_j\in B$. A protected extension also contains $S$ and avoids $N$. Define
15 \[
16  C_0=A\cup S,\qquad
17  C_{k+1}=C_k\cup\{c_j:P_j\subseteq C_k\}.
18 \]
19 The terms increase and lie in $V$, so the sequence stabilizes. Write $C$ for its stable value.
20 
21 \begin{proposition}[The least seeded model]\label{r:field-closure}
22 The set $C$ is the least model containing $S$. There are at most $n-|A\cup S|$ strict expansion rounds. A protected extension exists if and only if $C\cap N=\varnothing$.
23 \end{proposition}
24 \begin{proof}
25 At a fixed point every enabled rule has its conclusion in $C$, so $C$ is a model containing the seeds. If $B$ is any other model containing $S$, induction gives $C_k\subseteq B$: the seeds lie in $B$, and every rule enabled on $C_k$ has its conclusion in $B$. Hence $C\subseteq B$. Each strict expansion adds at least one of the finitely many nonseed nodes, giving the bound. If $C$ avoids $N$, it is itself a protected extension. If it meets $N$, every seeded model contains that forbidden node, so no protected extension exists.
26 \end{proof}
27 
28 A cycle does not create a seed. With rules $u\to v$ and $v\to u$ and no admitted leaves or observations, the least model is empty. The set $\{u,v\}$ is closed, but its members have no derivation from the empty seed. This is why closedness alone is not an adequate proof certificate.
29 
30 \section{Replay checks a finite causal sequence}
31 A trace $\sigma=(j_1,\ldots,j_m)$ lists rule addresses. Start from $K_0=A\cup S$. At each step, reject an unknown rule address or a rule whose premises are not all in the current known set. Otherwise adjoin its conclusion. \emph{Strict replay} also rejects a conclusion already known. \emph{Causal replay} allows it.
32 
33 The distinction concerns the certificate's contract, not the truth of a repeated conclusion. Strict replay records a sequence of new insertions. Causal replay permits reuse of an existing derivation after stronger observations have already supplied one of its intermediate nodes.
34 
35 \begin{theorem}[Replay is sound and compositional]\label{r:field-replay}
36 If replay accepts a trace from a set $K\subseteq C$ and returns $K'$, then
37 \[
38  K\subseteq K'\subseteq C.
39 \]
40 For either fixed replay mode, replay of a concatenated trace is replay of its first part followed by replay of its second part from the returned set. Failure in either part is failure of the concatenated replay.
41 \end{theorem}
42 \begin{proof}
43 The empty trace changes nothing. At a successful next step, all premises of an admitted rule already lie in $C$. Closedness of $C$ places its conclusion in $C$. Adjoining it preserves the old known set. Induction proves the inclusions. A strict novelty test can reject a step, but does not alter this reasoning for an accepted step.
44 
45 For concatenation, induct on the first trace. Both computations inspect the same first address, the same current set, and the same enabling and novelty conditions. A rejection ends both computations. A successful step produces identical new sets, after which the induction hypothesis applies.
46 \end{proof}
47 
48 \begin{theorem}[Replay and saturation identify exact closure]\label{r:field-exact}
49 A complete-closure certificate consists of a strict trace and a reported set $B$. Accept it only when replay from $A\cup S$ succeeds with output $B$ and $B$ satisfies every admitted rule. Acceptance implies $B=C$.
50 \end{theorem}
51 \begin{proof}
52 Replay soundness gives $B\subseteq C$. Its extensivity ensures that $B$ contains both seed sets. The saturation check makes $B$ a seeded model, so leastness gives $C\subseteq B$. The two inclusions prove equality.
53 \end{proof}
54 
55 The tests serve different purposes. Replay prevents unsupported extra nodes. Saturation prevents omission of a consequence whose rule has not yet been used. Neither test subsumes the other.
56 
57 \section{A complete negative answer has a witness}
58 An obstruction certificate contains a forbidden target $v\in N$ and a causal trace deriving $v$ from $A\cup S$.
59 
60 \begin{theorem}[Finite obstruction witnesses are sound and complete]\label{r:field-obstruction}
61 An accepted obstruction certificate exists exactly when no protected extension exists. No acyclicity assumption on the rule graph is required.
62 \end{theorem}
63 \begin{proof}
64 An accepted certificate derives a node of $C\cap N$, so Proposition~\ref{r:field-closure} excludes a protected extension.
65 
66 Conversely, if there is no extension, choose $v\in C\cap N$. Every node in $C$ is reached at a finite stage. Starting with the seeds, process the rules that add the nodes of each successive stage, appending a rule only when its conclusion is not yet known. All its premises belong to an earlier stage and are already known. This yields a finite strict trace reaching the whole closure, and in particular $v$. Its prefix ending when $v$ is first present is also accepted in causal mode. If $v$ is a seed, the empty trace suffices. Cycles cause no difficulty because only rules with already known premises are applied.
67 \end{proof}
68 
69 The argument constructs some witness, not a shortest one. Nor does it prove that every implementation of a witness producer terminates or faithfully indexes its source document. A complete result format can require both exact closure and a feasibility flag. A bare negative witness needs only its own replay and forbidden-target check.
70 
71 \section{A worked four-node certificate}
72 Let $V=\{0,1,2,3\}$, $A=\{0\}$, $S=\varnothing$, and let the two rules be $0\to1$ and $1\to2$. The exact closure is $\{0,1,2\}$.
73 
74 The trace containing only the first rule is a valid partial derivation of $\{0,1\}$, but it fails saturation. The set $\{0,1,2,3\}$ is saturated, but node $3$ cannot be produced by replay. The trace of both rules and the exact three-node set pass both tests.
75 
76 \begin{figure}[htbp]\centering
77 \includegraphics[width=.94\linewidth]{figures/closure_contract.pdf}
78 \caption{Replay and saturation certify opposite inclusions. A partial derivation omits a consequence. A closed superset can contain an unsupported node. Their conjunction identifies the least seeded model.}\label{fig:closure-contract}
79 \end{figure}
80 
81 With forbidden set $N=\{3\}$, the exact closure is a positive feasibility certificate. With $N=\{2\}$, the same closure and the trace to node $2$ certify infeasibility. The request changed, even though the derivation did not. A receiving checker must therefore be given the intended request separately from the producer's proposed answer.
82 
83 \section{Logical interpretation is an additional map}
84 Let $\mu(v)$ be the proposition represented by claim address $v$. Suppose every admitted leaf and positive observation is true under $\mu$, and each admitted rule satisfies
85 \[
86  \left(\bigwedge_{p\in P_j}\mu(p)\right)\Longrightarrow\mu(c_j).
87 \]
88 Then every node in $C$ is true under $\mu$. Indeed, induction over the closure stages propagates truth from the seeds through the admitted implications.
89 
90 The finite checker proves derivability relative to those inputs. It does not establish the truth of an empirical observation merely because that observation is placed in $S$. A node excluded by a protected request is likewise not necessarily a logically false proposition. Its appearance shows incompatibility with that request, whose meaning must be stated separately.
91 
92 \section{The serialization and implementation boundary}
93 An exchange format must distinguish a problem from its proposed certificate, preserve rule addresses, and reject malformed node identifiers. In Python, for example, a Boolean passes a broad integer-instance test. An address decoder that intends exact integer tokens must exclude that case explicitly. Parsing, range checking, replay, saturation, and interpretation are separate operations.
94 
95 The Proof-Path Theory source supplies typed problem and certificate records, proved encoder/decoder round trips, an executable Lean replay function, and an accepted-answer theorem at the Lean JSON syntax-tree boundary. Its text parser, file operations, Python implementation, and adapter from named source claims remain separate assurance layers. This chapter uses the finite closure and replay statements, not a blanket verification claim for that entire path.
96 
97 \source{Proof-Path Theory [PPT], ``Executable certificates for the declared closure,'' ``Finite witnesses for forbidden consequences,'' and ``Typed exchange and the boundary of serialization.'' The selected source statements are \texttt{res:trace:replay}, \texttt{res:trace:least}, \texttt{res:trace:complete}, and \texttt{res:trace:verdict}. Their original formal concordance is preserved with the source excerpt. The present notation and proofs were reviewed as a restatement, not recompiled into a new Lean development.}
98 
99 \section{Where proof checking enters the reasoning calculus}
100 The machine-reasoning chain now has a concrete certificate interface. A discovery process can propose a finite derivation without becoming the authority on its validity. The checker verifies the derivation against a fixed problem. A revision can change the problem or its admitted rules, in which case the dependency and migration conditions must be checked again. Reusing the same bytes does not establish that the old certificate answers the new question.

Back to source controls

Other PDFs for this work

Original file and source record

This copy matches the recorded source file. Its publication here does not change the work’s review status.

SHA-256: 881e712d92e3c681148c6bb1380365795d567d05c82021ce80a03b884f9ba9e7

Original source on GitHub

Back to Machine Native Reasoning: wider continuation