Table of contents
Derivation
Formal definition
A Derivation is a pair :
where:
- is the formula set (or sequent set) of the proof system — the universe of propositions that can appear as nodes of ; formulas are built from a vocabulary of atomic propositions and logical connectives by the grammar of
- is the rule set — a collection of inference rules, each of the form expressing that conclusion follows from premises by one licensed step; a rule with zero premises is an axiom scheme
- is a finite labeled tree with nodes labeled by elements of , satisfying:
- Every leaf of carries either an axiom licensed by a zero-premise rule of , or an open hypothesis from a designated hypothesis set
- Every internal node of carries a formula that is the conclusion of some rule whose premises match the labels of that node’s children (in order)
- The root of carries the conclusion of the derivation
The derivation relation holds iff there exists a derivation .
Two invariants. is a derivation iff:
-
Rule-licensedness: every inference step in is licensed. For each internal node labeled with children labeled , there exists of the form . No step proceeds by fiat; every inference is justified by an applicable rule. This invariant makes the derivation mechanically checkable — a verifier need not understand the proof to confirm it is correct. This is what distinguishes derivation from argument: a well-formed argument persuades; a derivation certifies.
-
Finite witnessing: is finite. A derivation is a concrete, finite object that exhibits the derivation relation rather than merely asserting it. The derivability relation is defined as the existence of such a finite witness — not as an infinite limit or a semantic condition. This is the invariant that gives derivations their computational character: a derivation can be stored, transmitted, and verified in finite time.
Derivation identity. Two derivations and of the same conclusion from the same hypotheses are equal when they are identical as labeled trees. This is too fine: it distinguishes derivations that differ only in the order of independent subderivations or in computational detours. The standard coarser notions:
- Normal-form equality: iff they reduce to the same normal form under normalization; the canonical form identifies derivations up to all computational detours
- Proof-net identity (for multiplicative linear logic): derivations are the same iff their proof nets are identical — the graphical canonical form eliminating sequencing arbitrariness
The identity of derivations is a deep open problem (see Open questions).
Gentzen: natural deduction and sequent calculus
Gerhard Gentzen introduced two complementary proof systems in Untersuchungen über das logische Schließen (1935):
Natural deduction (systems NJ for intuitionistic logic, NK for classical logic) organizes inference rules in introduction/elimination pairs for each connective:
The -introduction rule involves hypothesis discharge:
This introduces and simultaneously discharges open hypothesis at leaves labeled . The discharge mechanism makes natural deduction structurally closer to actual mathematical proof practice than axiom systems.
Sequent calculus (LJ for intuitionistic, LK for classical) uses sequents as the basic judgment. The cut rule:
is the formal analogue of lemma application.
Gentzen’s Hauptsatz (cut-elimination theorem): every derivation in LK or LJ containing cut can be transformed into a cut-free derivation of the same endsequent. Cut-free derivations satisfy the subformula property: every formula in the derivation is a subformula of the conclusion. This makes cut-free derivations analytic — they introduce no information beyond what is present in the conclusion. Cut elimination is the primary tool for proving consistency and decidability.
Prawitz: normalization
Dag Prawitz (Natural Deduction: A Proof-Theoretical Study, 1965) proved the normalization theorem for NJ: every derivation can be reduced to normal form by a terminating rewrite system.
A derivation contains a detour (redex) when a connective is introduced and immediately eliminated:
The normalization step removes the introduction-elimination pair, replacing it with the direct derivation of the component formula. Prawitz proved:
- Weak normalization: every derivation has at least one normalization sequence to a normal form
- Strong normalization (for NJ): every normalization sequence from any derivation terminates
A normal derivation contains no detours: no introduction rule’s conclusion is the major premise of the corresponding elimination. Normal derivations are the canonical proof objects — minimal witnesses, containing no logically superfluous steps.
Normalization and cut elimination are the same operation viewed from different formal presentations: the translations between natural deduction and sequent calculus are inverse operations that commute with normalization/cut-elimination.
Curry-Howard: derivations as programs
The Curry-Howard isomorphism (Curry 1934, implicit; Howard 1969, formulated; published 1980) identifies:
| Logic (NJ) | Type theory (-calculus) |
|---|---|
| Formula | Type |
| Derivation | Term |
| -introduction | Pair formation |
| -introduction (discharge) | -abstraction |
| -elimination (modus ponens) | Function application |
| Normalization step | -reduction |
| Normal form | -normal form |
Per Martin-Löf (An Intuitionistic Theory of Types, 1975; Intuitionistic Type Theory, 1984) extended Curry-Howard to dependent types: types that depend on values. In Martin-Löf type theory (MLTT), the proposition-as-types reading is exact: universal quantification is the dependent function type ; a proof is a function that for each produces a proof of .
Homotopy type theory (Voevodsky, Awodey et al., HoTT Book 2013) interprets MLTT geometrically: types are spaces, terms are points, identity proofs are paths, and higher-dimensional proofs are homotopies. A derivation of is a path between and in the space .
The Curry-Howard-Lambek correspondence adds a fourth vertex: the derivation is simultaneously a logical proof (natural deduction), a program (typed lambda calculus), and a morphism in a cartesian closed category. The three presentations are equi-expressive, making derivation the organizing concept of this three-way identification.
Proof trees as directed graphs
A derivation is a finite directed acyclic graph (DAG) when sharing is allowed; in natural deduction without sharing, is a tree. In proof nets (Girard 1987, Linear Logic, TCS) for multiplicative linear logic, the derivation is a bipartite graph — the sequent calculus’s rule-ordering arbitrariness is factored out, leaving only the essential logical connectivity.
The reduction graph of derivations in : nodes are derivations, edges are normalization steps . Properties of this graph determine the proof theory:
- Strong normalization: every path in the reduction graph is finite (no infinite reduction sequences)
- Confluence (Church-Rosser): every pair of reductions from eventually converge to a common reduct; together with strong normalization, this guarantees unique normal forms
Proof complexity (Cook 1975; Ben-Sasson & Wigderson 1999): the study of how the minimum-length derivation of grows as a function of . Different proof systems can require exponentially different derivation lengths for the same theorems (propositional proof complexity). The question of whether the Frege system has polynomial-size proofs for all tautologies is equivalent to NP ≠ coNP.
Open questions
- Whether there is a satisfactory notion of proof identity — when are two derivations of the same theorem the same proof? Kosta Došen and Peter Schroeder-Heister’s program identifies this as the central open problem of structural proof theory. The issue: derivations contain not just logical content but also rule-ordering, which seems irrelevant to proof meaning. No complete axiomatization of proof identity (up to permutation equivalence) is known for full classical logic.
- Whether normalization in dependent type theories (MLTT, Calculus of Constructions) scales to full homotopy type theory — whether the univalence axiom is compatible with a decision procedure for derivation equality, or whether derivation identity in HoTT is fundamentally undecidable.
- Whether Girard’s proof-net construction for linear logic — eliminating spurious sequencing — has an analogue for classical logic; or whether canonical graphical proof objects are intrinsically limited to the multiplicative fragment.
- Whether the depth of a derivation (the length of the longest branch from root to leaf) corresponds to a level in the relational history tower — making the tower stratification the depth stratification of the proof-theoretic hierarchy.
- Whether every morphism in the sheaf topos of the relational universe is the image of a derivation in some proof system — making every relational universe morphism the proof-theoretic witness of a history-relative proposition.