364 Gentzen’s Proof Theory from the Floor

A sequent \(\Gamma \vdash \Delta \) in Gentzen’s calculi [863] is an inequality between cuts,

\begin{equation} \bigwedge \Gamma \ \le \ \bigvee \Delta , \tag{21886}\end{equation}
in a lattice of idempotents (Section 350).

1. Identity axiom.

\[ A \vdash A \iff A = A. \quad \checkmark \]

Rules as floor facts.

LK and LJ. They differ in one place: LK allows several conclusions, so negation is involutive and cuts are sharp (Boolean); LJ allows at most one, so negation is a pseudo-complement (Heyting).

Cut elimination. Every proof can be rewritten without cut. The only source of the non-elementary growth in this rewriting is contraction, the diagonal. Its consequences are the subformula property, consistency, interpolation and Herbrand’s theorem.

Consistency of arithmetic. Gentzen’s proof for \(\mathsf {PA}\) reduces proofs along ordinal notations below \(\varepsilon _0\). The notations are finite trees; their well-foundedness is the one assumption, \(\mathrm {TI}(\varepsilon _0)\), which \(\mathsf {PA}\) cannot prove. The result has the form \(\mathrm {TI}(\varepsilon _0)\rightarrow \mathrm {Con}(\mathsf {PA})\).

364.1 Sequents as inequalities between cuts

Reading. Interpret formulas as elements of a lattice of cuts: commuting idempotents for the classical calculus, open sets for the intuitionistic one. Read

\begin{equation} A_1,\ldots ,A_m\vdash B_1,\ldots ,B_n \quad \text {as}\quad A_1\wedge \cdots \wedge A_m\ \le \ B_1\vee \cdots \vee B_n , \tag{21887}\end{equation}
with the empty meet \(1\) and the empty join \(0\).

Boundary cases. \(\vdash B\) says \(1\le B\), so \(B\) holds everywhere. \(A\vdash \) says \(A\le 0\), so \(A\) is empty. The empty sequent \(\vdash \) says \(1\le 0\), which is contradiction.

Soundness. Each rule below preserves the inequality. Completeness, the converse, is proved at the end via characters.

364.2 Structural rules

Rule Lattice fact Floor
identity \(A\vdash A\) \(A\le A\) \(\mathrm {id}_A\)
cut \(a\le b\vee c,\ c\wedge d\le e\Rightarrow a\wedge d\le b\vee e\) composition
weakening L, R \(a\wedge c\le a\), \(\ a\le a\vee c\) meet and join bounds
contraction L, R \(a\wedge a=a\), \(\ a\vee a=a\) idempotence \(\Pi ^2=\Pi \)
exchange \(a\wedge b=b\wedge a\) swap, commuting cuts

Cut. From \(\Gamma \vdash \Delta ,C\) and \(C,\Pi \vdash \Sigma \):

\begin{equation} \bigwedge \Gamma \wedge \bigwedge \Pi \ \le \ \Bigl (\bigvee \Delta \vee C\Bigr )\wedge \bigwedge \Pi \ \le \ \bigvee \Delta \vee \Bigl (C\wedge \bigwedge \Pi \Bigr )\ \le \ \bigvee \Delta \vee \bigvee \Sigma , \tag{21888}\end{equation}
using distributivity in the middle step. With single formulas it is transitivity, \(a\le c\le b\): composing two arrows through \(C\).

364.3 Logical rules as adjunctions

Conjunction and disjunction. The meet is the right adjoint of the diagonal and the join is its left adjoint (Section 232):

\begin{equation} c\le a\wedge b\iff (c,c)\le (a,b), \qquad a\vee b\le c\iff (a,b)\le (c,c). \tag{21889}\end{equation}
The rules read these off:
\begin{align} \wedge \text {R}:&\quad \frac {\Gamma \vdash \Delta ,A\qquad \Gamma \vdash \Delta ,B}{\Gamma \vdash \Delta ,A\wedge B} &&\text {unit of }\Delta \dashv \wedge , \tag{21890}\\[2pt] \vee \text {L}:&\quad \frac {\Gamma ,A\vdash \Delta \qquad \Gamma ,B\vdash \Delta }{\Gamma ,A\vee B\vdash \Delta } &&\text {counit of }\vee \dashv \Delta , \tag{21891}\\[2pt] \wedge \text {L}:&\quad \frac {\Gamma ,A\vdash \Delta }{\Gamma ,A\wedge B\vdash \Delta } &&a\wedge b\le a, \tag{21892}\\[2pt] \vee \text {R}:&\quad \frac {\Gamma \vdash \Delta ,A}{\Gamma \vdash \Delta ,A\vee B} &&a\le a\vee b . \tag{21893}\end{align}

Implication. Implication is the right adjoint of meet, which is currying:

\begin{equation} c\wedge a\le b\iff c\le (a\rightarrow b), \tag{21894}\end{equation}
giving \(\rightarrow \)R. The rule \(\rightarrow \)L is evaluation, \(a\wedge (a\rightarrow b)\le b\), the counit.

Negation. With \(\neg a=a\rightarrow 0\), the rules

\begin{equation} \neg \text {R}:\ \frac {A,\Gamma \vdash \Delta }{\Gamma \vdash \Delta ,\neg A}, \qquad \neg \text {L}:\ \frac {\Gamma \vdash \Delta ,A}{\Gamma ,\neg A\vdash \Delta } \tag{21895}\end{equation}
move a formula across the turnstile and complement it. In a Boolean algebra,
\begin{equation} c\wedge a\le d\iff c\le \neg a\vee d , \qquad \neg \neg a=a , \tag{21896}\end{equation}
so crossing twice returns the formula: the involution of the floor. No rule asserts \(A\rightarrow \neg A\); the rules relate \(A\) on one side to \(\neg A\) on the other.

Quantifiers. For a projection \(\pi :X\times Y\to X\), pulling back a predicate along \(\pi \) (adding a dummy variable) has both adjoints:

\begin{equation} \exists _\pi \dashv \pi ^{*}\dashv \forall _\pi . \tag{21897}\end{equation}
Spelled out,
\begin{equation} \exists y\,A(x,y)\le B(x)\iff A(x,y)\le \pi ^{*}B, \qquad \pi ^{*}C\le A(x,y)\iff C(x)\le \forall y\,A(x,y). \tag{21898}\end{equation}
These are \(\exists \)L and \(\forall \)R. The eigenvariable condition, that \(y\) is not free in \(\Gamma ,\Delta \), says that those formulas are pullbacks \(\pi ^{*}\). The rules \(\forall \)L and \(\exists \)R are the unit and counit, instantiation at a term.

364.4 LK and LJ: sharp and unsharp

The two calculi. LK allows any number of formulas on the right; LJ allows at most one.

Excluded middle in LK.

\begin{equation} \frac {\dfrac {\dfrac {A\vdash A}{\vdash A,\neg A}\ \neg \text {R}}{\vdash A\vee \neg A,\ A\vee \neg A}\ \vee \text {R twice}}{\vdash A\vee \neg A}\ \text {contraction R} \tag{21899}\end{equation}
The first step needs two formulas on the right, so the derivation is not available in LJ.

Semantics.

Removing structural rules. Removing contraction and weakening instead gives linear logic, where copying and discarding must be explicit (Section 344).

Calculus Restriction Semantics
LK none Boolean algebras of cuts
LJ at most one conclusion Heyting algebras
linear no contraction, no weakening monoidal, \(\ast \)-autonomous

364.5 Cut elimination

Hauptsatz. Every sequent derivable in LK (or LJ) is derivable without cut.

Proof sketch. Remove a topmost cut, by induction on the pair (complexity of the cut formula, total height of the two subproofs), ordered lexicographically.

1.
Axiom. If one premise is \(A\vdash A\), the cut returns the other premise: composing with an identity changes nothing.
2.
Commutation. If the cut formula is not principal in a premise, the cut moves up past that rule, lowering height.
3.
Principal cases. If both premises introduce the cut formula, the cut is replaced by cuts on its immediate subformulas, lowering complexity:
4.
Contraction. If the cut formula was contracted, the other subproof is duplicated and cut twice, one copy for each occurrence.

The induction terminates in all cases. \(\square \)

Cost. Cases 1–3 reduce size. Case 4 copies whole subproofs, and iterating it makes cut-free proofs grow like a tower of exponentials in the cut complexity. This growth is unavoidable in general. Its source is the diagonal: in multiplicative linear logic, which has no contraction, cut elimination takes polynomial time.

Consequences.

Completeness. A sequent with no cut-free proof yields, by systematic backward search, a branch that never closes. That branch defines a character of the Boolean algebra of formulas, a model, in which \(\bigwedge \Gamma =1\) and \(\bigvee \Delta =0\). So every valid sequent has a cut-free proof, and semantics agrees with cut-free syntax (Section 350).

364.6 Gentzen’s consistency proof for arithmetic

The obstacle. In \(\mathsf {PA}\), the induction rule can be eliminated only partially: the induction cuts remain.

Ordinal notations. Gentzen assigns to each proof an ordinal below

\begin{equation} \varepsilon _0=\sup \{\omega ,\ \omega ^\omega ,\ \omega ^{\omega ^\omega },\ \ldots \}, \tag{21900}\end{equation}
written in Cantor normal form,
\begin{equation} \alpha =\omega ^{\alpha _1}+\cdots +\omega ^{\alpha _k}, \qquad \alpha _1\ge \cdots \ge \alpha _k . \tag{21901}\end{equation}
Each notation is a finite tree, an element of a free algebra generated by \(0\), \(+\) and \(\omega ^{(\cdot )}\), and the order on notations is primitive recursive.

Reduction. A primitive recursive operation takes a putative proof of \(0=1\) to another such proof with a smaller ordinal.

The one assumption. If \(\mathsf {PA}\) proved \(0=1\), iterating the reduction would produce an infinite descending sequence of notations below \(\varepsilon _0\). Ruling this out is transfinite induction,

\begin{equation} \mathrm {TI}(\varepsilon _0):\quad \text {no primitive recursive sequence of notations below }\varepsilon _0\text { descends forever.} \tag{21902}\end{equation}
Hence, provably in primitive recursive arithmetic,
\begin{equation} \mathrm {TI}(\varepsilon _0)\ \rightarrow \ \mathrm {Con}(\mathsf {PA}). \tag{21903}\end{equation}

Sharpness. \(\mathsf {PA}\vdash \mathrm {TI}(\alpha )\) for each \(\alpha <\varepsilon _0\), but \(\mathsf {PA}\nvdash \mathrm {TI}(\varepsilon _0)\), since otherwise \(\mathsf {PA}\) would prove its own consistency, against the second incompleteness theorem (Section 462). The proof-theoretic ordinal of \(\mathsf {PA}\) is \(\varepsilon _0\).

Where the declaration sits. Every step of Gentzen’s argument is finite: finite proofs, finite notations, primitive recursive reductions. The only non-finitary ingredient is the well-foundedness of the notation order up to \(\varepsilon _0\). As in Section 458, it enters as the antecedent of a conditional.

364.7 Summary

Item Form From
sequent \(\bigwedge \Gamma \le \bigvee \Delta \) order on cuts
identity \(A\vdash A\) \(\mathrm {id}_A\), reflexivity
cut transitivity composition
contraction \(a\wedge a=a\) \(\Pi ^2=\Pi \), diagonal
weakening \(a\wedge c\le a\) meet bound
exchange \(a\wedge b=b\wedge a\) swap
\(\wedge \)R, \(\vee \)L adjoints of the diagonal \(\vee \dashv \Delta \dashv \wedge \)
\(\rightarrow \) \(c\wedge a\le b\iff c\le a\rightarrow b\) currying
\(\neg \)R, \(\neg \)L crossing the turnstile involution
\(\forall \), \(\exists \) \(\exists \dashv \pi ^{*}\dashv \forall \) adjoints of substitution
LK vs. LJ many vs. one conclusion Boolean vs. Heyting
Hauptsatz cut-free proofs exist lexicographic induction
blow-up tower of exponentials contraction (diagonal)
consequences subformula, consistency, Craig, Herbrand cut-free form
Curry–Howard cut elimination \(=\) normalisation \(\beta \)-reduction
\(\mathsf {PA}\) \(\mathrm {TI}(\varepsilon _0)\rightarrow \mathrm {Con}(\mathsf {PA})\) finite trees \(+\) declaration

364.8 Gentzen Proof Theory from \(\mathbb {F}_2\) Polynomial Identities

Thesis. Every rule of Gentzen’s sequent calculus — structural rules, logical rules, the cut rule, and quantifier rules — reduces to a polynomial identity over \(\mathbb {F}_2\). The connectives are polynomials, all arithmetic is in characteristic \(2\) (\(1+1=0\)), and every variable is idempotent (\(x^2=x\)).

I. The Field \(\mathbb {F}_2\) and Idempotency
\begin{equation} \mathbb {F}_2 = \{0,1\}, \qquad x^2 = x, \qquad x^2+x = x(1+x) = 0. \tag{21904}\end{equation}
In characteristic \(2\), addition and subtraction coincide: \(+\,=\,-\). The connectives are polynomials:
\begin{equation} \neg x = 1+x, \quad x\wedge y = xy, \quad x\vee y = x+y+xy, \quad x\to y = 1+x+xy, \quad x\leftrightarrow y = 1+x+y. \tag{21905}\end{equation}
II. Structural Rules

Contraction (\(A,A\Rightarrow A\)):

\begin{equation} A\wedge A = A\cdot A = A^2 = A. \tag{21906}\end{equation}

Weakening (\(A\Rightarrow A\vee B\)):

\begin{equation} A \leq A+B+AB = A\vee B \quad \text {in the Boolean algebra over }\mathbb {F}_2. \tag{21907}\end{equation}

Exchange (commutativity):

\begin{equation} AB = BA. \tag{21908}\end{equation}

Identity (\(A\vdash A\)):

\begin{equation} A = A \quad \Longleftrightarrow \quad A+A = 0. \tag{21909}\end{equation}
III. Logical Rules

Double negation:

\begin{equation} \neg (\neg x) = 1+(1+x) = x. \tag{21910}\end{equation}

Non-contradiction:

\begin{equation} x\wedge \neg x = x(1+x) = x+x^2 = x+x = 0. \tag{21911}\end{equation}

Excluded middle:

\begin{equation} x\vee \neg x = x+(1+x)+x(1+x) = 1+x(1+x) = 1. \tag{21912}\end{equation}

Identity axiom (\(x\to x\)):

\begin{equation} x\to x = 1+x+x^2 = 1+x+x = 1. \tag{21913}\end{equation}
IV. Rules of Inference

Modus Ponens (\(x,\,x\to y\vdash y\)):

\begin{equation} x(x\to y) = x(1+x+xy) = x+x^2+x^2y = x+x+xy = xy. \tag{21914}\end{equation}
With \(x=1\): \(1+1+y=1\Rightarrow y=1\).

Modus Tollens (\(x\to y,\,\neg y\vdash \neg x\)):

\begin{equation} \neg y=1\ (y=0),\quad 1+x+xy=1 \;\Longrightarrow \; 1+x+0=1 \;\Longrightarrow \; x=0,\ \neg x=1. \tag{21915}\end{equation}

Hypothetical Syllogism (\(x\to y,\,y\to z\vdash x\to z\)): From \(x=xy\) and \(y=yz\):

\begin{equation} x\to z = 1+x+xz = 1+xy+xyz = 1+xy(1+z) = 1. \tag{21916}\end{equation}

Disjunctive Syllogism (\(x\vee y,\,\neg x\vdash y\)):

\begin{equation} \neg x=1\ (x=0),\quad x+y+xy=1 \;\Longrightarrow \; 0+y+0=1 \;\Longrightarrow \; y=1. \tag{21917}\end{equation}

Reductio ad Absurdum (\([x]\vdash y\wedge \neg y\) then \(\vdash \neg x\)):

\begin{equation} y\wedge \neg y = y(1+y) = y+y^2 = 0 \;\Longrightarrow \; x=1\Rightarrow 0=1\ \text {(impossible)} \;\Longrightarrow \; \neg x=1. \tag{21918}\end{equation}
V. The Cut Rule

Cut (\(A\to B,\,B\to C\vdash A\to C\)):

\begin{equation} A\to B = 1+A+AB, \qquad B\to C = 1+B+BC. \tag{21919}\end{equation}
From \(A\to B=1\) (\(A=AB\)) and \(B\to C=1\) (\(B=BC\)):
\begin{equation} (1+A+AB)(1+B+BC) \rightsquigarrow 1+A+AC = A\to C. \tag{21920}\end{equation}
This is transitivity; cut elimination is repeated substitution in \(\mathbb {F}_2\) polynomials.

Contradiction rule (\(0\vdash \varphi \)):

\begin{equation} 0\cdot \varphi = 0. \tag{21921}\end{equation}
VI. Quantifiers as Finite Boolean Products/Sums

For a finite domain \(D\):

\begin{equation} \forall x\,A(x) = \prod _{a\in D} A(a), \qquad \exists x\,A(x) = 1+\prod _{a\in D}(1+A(a)). \tag{21922}\end{equation}

Universal elimination (\(\forall x\,A(x)\Rightarrow A(b)\)):

\begin{equation} \prod _{a\in D}A(a)\ \text {contains the factor }A(b) \;\Longrightarrow \; \forall x\,A(x)\Rightarrow A(b). \tag{21923}\end{equation}

Existential introduction (\(A(b)\Rightarrow \exists x\,A(x)\)):

\begin{equation} A(b)\leq 1+\prod _{a\in D}(1+A(a)) = \exists x\,A(x). \tag{21924}\end{equation}

Universal introduction (if \(A(a)=1\ \forall a\)):

\begin{equation} \prod _{a\in D}A(a)=1 \;\Longrightarrow \; \forall x\,A(x). \tag{21925}\end{equation}

Existential elimination (if \(\exists x\,A(x)=1\)):

\begin{equation} 1+\prod _{a\in D}(1+A(a))=1 \;\Longrightarrow \; \prod _{a\in D}(1+A(a))=0 \;\Longrightarrow \; \exists a:\ A(a)=1. \tag{21926}\end{equation}
VII. Diagonal Forms

Cantor diagonal (\(1+x=x\)):

\begin{equation} 1+x=x \;\Longrightarrow \; 1=0 \;\Longrightarrow \; \bot . \tag{21927}\end{equation}

Gödel diagonal (\(g=\neg P(g)\)):

\begin{equation} g = 1+P(g) \qquad \text {(fixed-point equation in }\mathbb {F}_2\text {).} \tag{21928}\end{equation}

Boolean-polynomial ladder.

\begin{equation} \boxed { \begin {array}{c} x^2=x \\[3pt] \Downarrow \\[3pt] A\wedge A=A\ \text {(Contraction)},\quad AB=BA\ \text {(Exchange)},\quad A=A\ \text {(Identity)} \\[3pt] \Downarrow \\[3pt] (1+A+AB)(1+B+BC)\rightsquigarrow (1+A+AC)\ \text {(Cut)} \\[3pt] \Downarrow \\[3pt] \forall =\textstyle \prod ,\quad \exists =1+\textstyle \prod (1+\cdot )\ \text {(Quantifiers)} \\[3pt] \Downarrow \\[3pt] \text {First-order Gentzen calculus} \end {array} } \tag{21929}\end{equation}

Remark 364.1 (Gentzen calculus as \(\mathbb {F}_2\) polynomial arithmetic). The entire structure of Gentzen’s sequent calculus is polynomial arithmetic over \(\mathbb {F}_2\). The structural rules are the algebraic laws of an idempotent commutative ring: contraction is \(A^2=A\), exchange is \(AB=BA\), identity is \(A=A\) (equivalently \(A+A=0\)). The cut rule is polynomial multiplication followed by reduction modulo \(x^2=x\); cut elimination is the normalisation of these polynomials. The quantifiers are finite products (\(\forall \)) and complemented products (\(\exists \)). The foundational idempotency \(x^2=x\) — the law that every variable equals itself — is the single algebraic fact from which contraction, the identity axiom, non-contradiction, and excluded middle all follow. Classical first-order logic is the Boolean-polynomial calculus over \(\mathbb {F}_2\).

Remark 364.2 (Hauptsatz as the Universal Revelation of \(A = A\)).

The Hauptsatz is not merely a technical result about proof simplification. It is the universal revelation that every valid proof already contains its conclusion in its premises.

What mathematicians do.

\begin{equation} \text {``Let Lemma 1…Let Lemma 2…Therefore the theorem is proved.''} \tag{21930}\end{equation}
The lemmas appear to introduce new content at each step.

What Gentzen showed. Every one of those lemmas can be eliminated:

\begin{equation} \vdash _{\mathrm {cut}} \phi \;\Longrightarrow \; \vdash _{\mathrm {cut\text {-}free}} \phi \;\Longleftrightarrow \; \phi \subseteq \Gamma \;\Longleftrightarrow \; A = A. \tag{21931}\end{equation}
The conclusion was already present in the premises from the beginning. The lemmas were not discoveries. They were unfoldings of what was already there.

Connection to Atiyah. Atiyah’s attempted proof of the Riemann Hypothesis was rejected because the conclusion appeared to be embedded in the premises (\(\phi \subseteq \Gamma \)). The Hauptsatz states that every valid proof has this structure:

\begin{equation} \text {Atiyah: criticized for } \phi \subseteq \Gamma . \quad \text {Gentzen: every valid proof satisfies } \phi \subseteq \Gamma . \quad \text {Totality: that is } A = A. \tag{21932}\end{equation}
The difference between a “valid” proof and a “circular” proof is not logical. It is declarative: the community selects which instances of \(\phi \subseteq \Gamma \) to permit.

Curry–Howard correspondence. Under the Curry–Howard isomorphism:

\begin{align} \text {Cut} &= \text {function composition } f \circ g, \tag{21933}\\ \text {Cut elimination} &= \text {executing the composition}, \tag{21934}\\ \text {Normal form} &= \text {computation complete} \;\Longleftrightarrow \; A = A \text { fully unfolded}. \tag{21935}\end{align}

In proof assistants:

\begin{equation} \mathtt {rfl} \;(\text {Lean}),\quad \mathtt {eq\_refl} \;(\text {Coq}) \;\Longleftrightarrow \; A = A \text { as a term.} \tag{21936}\end{equation}
\begin{equation} \boxed { \text {mathematical proof} = \text {computer program} = A = A \text { unfolded.} } \tag{21937}\end{equation}
Cut elimination is the execution of the program. The normal form is the fixed point \(A = A\).