This section introduces the rules of the sequent calculus
LK (standing for Logistische Kalkül) as introduced by Gentzen in 1934. A (formal) proof in this calculus is a finite
sequence of sequents, where each of the sequents is derivable from sequents appearing earlier in the sequence by using one of the
rules below.
Inference rules The following notation will be used: • \vdash known as the
turnstile, separates the
assumptions on the left from the
propositions on the right • A and B denote formulas of
first-order predicate logic (one may also restrict this to propositional logic), • \Gamma, \Delta, \Sigma, and \Pi are finite (possibly empty) sequences of formulas (in fact, the order of formulas does not matter; see ), called contexts, • when on the
left of the \vdash, the sequence of formulas is considered
conjunctively (all assumed to hold at the same time), • while on the
right of the \vdash, the sequence of formulas is considered
disjunctively (at least one of the formulas must hold for any assignment of variables), • t denotes an arbitrary term, • x and y denote variables. • a variable is said to occur
free within a formula if it is not bound by quantifiers \forall or \exists. • A[t/x] denotes the formula that is obtained by substituting the term t for every free occurrence of the variable x in formula A with the restriction that the term t must be free for the variable x in A (i.e., no occurrence of any variable in t becomes bound in A[t/x]). • WL, WR, CL, CR, PL, PR: These six stand for the two versions of each of three structural rules; one for use on the left ('L') of a \vdash, and the other on its right ('R'). The rules are abbreviated 'W' for
Weakening (Left/Right), 'C' for
Contraction, and 'P' for
Permutation. Note that, contrary to the rules for proceeding along the reduction tree presented above, the following rules are for moving in the opposite directions, from axioms to theorems. Thus they are exact mirror-images of the rules above, except that here symmetry is not implicitly assumed, and rules regarding
quantification are added. In the table below, A \setminus B denotes the
relative complement of B in A.
Restrictions: In the rules marked with (†), ({\forall}R) and ({\exists}L), the variable y must not occur free anywhere in the respective lower sequents. An intuitive explanation The above rules can be divided into two major groups:
logical and
structural ones. Each of the logical rules introduces a new logical formula either on the left or on the right of the
turnstile \vdash. In contrast, the structural rules operate on the structure of the sequents, ignoring the exact shape of the formulas. The two exceptions to this general scheme are the axiom of identity (I) and the rule of (Cut). Although stated in a formal way, the above rules allow for a very intuitive reading in terms of classical logic. Consider, for example, the rule ({\land}L_1). It says that, whenever one can prove that \Delta can be concluded from some sequence of formulas that contain A, then one can also conclude \Delta from the (stronger) assumption that A \land B holds. Likewise, the rule ({\neg}R) states that, if \Gamma and A suffice to conclude \Delta, then from \Gamma alone one can either still conclude \Delta or that A must be false, i.e. {\neg}A holds. All the rules can be interpreted in this way. For an intuition about the quantifier rules, consider the rule ({\forall}R). Of course concluding that \forall{x} A holds just from the fact that A[y/x] is true is not in general possible. If, however, the variable
y is not mentioned elsewhere (i.e. it can still be chosen freely, without influencing the other formulas), then one may assume, that A[y/x] holds for any value of
y. The other rules should then be pretty straightforward. Instead of viewing the rules as descriptions for legal derivations in predicate logic, one may also consider them as instructions for the construction of a proof for a given statement. In this case the rules can be read bottom-up; for example, ({\land}R) says that, to prove that A \land B follows from the assumptions \Gamma and \Sigma, it suffices to prove that A can be concluded from \Gamma and B can be concluded from \Sigma, respectively. Note that, given some antecedent, it is not clear how this is to be split into \Gamma and \Sigma. However, there are only finitely many possibilities to be checked since the antecedent by assumption is finite. This also illustrates how proof theory can be viewed as operating on proofs in a combinatorial fashion: given proofs for both A and B, one can construct a proof for A \land B. When looking for some proof, most of the rules offer more or less direct recipes of how to do this. The rule of cut is different: it states that, when a formula A can be concluded and this formula may also serve as a premise for concluding other statements, then the formula A can be "cut out" and the respective derivations are joined. When constructing a proof bottom-up, this creates the problem of guessing A (since it does not appear at all below). The
cut-elimination theorem is thus crucial to the applications of sequent calculus in
automated deduction: it states that all uses of the cut rule can be eliminated from a proof, implying that any provable sequent can be given a
cut-free proof. The second rule that is somewhat special is the axiom of identity (I). The intuitive reading of this is obvious: every formula proves itself. Like the cut rule, the axiom of identity is somewhat redundant: the
completeness of atomic initial sequents states that the rule can be restricted to
atomic formulas without any loss of provability. Observe that, if we ignore the non-standard connective \, all rules have mirror companions, except the ones for implication. This reflects the fact that the usual language of first-order logic does not include the "is not implied by" connective \not\leftarrow that would be the De Morgan dual of implication. Adding such a connective with its natural rules makes the calculus completely left–right symmetric.
Example derivations Here is the derivation of " \vdash A \lor \lnot A ", known as the
Law of excluded middle (
tertium non datur in Latin). Next is the proof of a simple fact involving quantifiers. Note that the converse is not true, and its falsity can be seen when attempting to derive it bottom-up, because an existing free variable cannot be used in substitution in the rules (\forall R) and (\exists L). For something more interesting we shall prove {\left( \left( A \rightarrow \left( B \lor C \right) \right) \rightarrow \left( \left( \left( B \rightarrow \lnot A \right) \land \lnot C \right) \rightarrow \lnot A \right) \right)}. It is straightforward to find the derivation, which exemplifies the usefulness of LK in automated proving. (\lor L) B \lor C \vdash B , C (PR) B \lor C \vdash C , B (\lnot L) B \lor C , \lnot C \vdash B (\rightarrow L) \left( B \lor C \right) , \lnot C , \left( B \rightarrow \lnot A \right) \vdash \lnot A (\land L_1) \left( B \lor C \right) , \lnot C , \left( \left( B \rightarrow \lnot A \right) \land \lnot C \right) \vdash \lnot A (PL) \left( B \lor C \right) , \left( \left( B \rightarrow \lnot A \right) \land \lnot C \right) , \lnot C \vdash \lnot A (\land L_2) \left( B \lor C \right) , \left( \left( B \rightarrow \lnot A \right) \land \lnot C \right) , \left( \left( B \rightarrow \lnot A \right) \land \lnot C \right) \vdash \lnot A (CL) \left( B \lor C \right) , \left( \left( B \rightarrow \lnot A \right) \land \lnot C \right) \vdash \lnot A (PL) \left( \left( B \rightarrow \lnot A \right) \land \lnot C \right) , \left( B \lor C \right) \vdash \lnot A (\rightarrow L) \left( \left( B \rightarrow \lnot A \right) \land \lnot C \right) , \left( A \rightarrow \left( B \lor C \right) \right) \vdash \lnot A , \lnot A (CR) \left( \left( B \rightarrow \lnot A \right) \land \lnot C \right) , \left( A \rightarrow \left( B \lor C \right) \right) \vdash \lnot A (PL) \left( A \rightarrow \left( B \lor C \right) \right) , \left( \left( B \rightarrow \lnot A \right) \land \lnot C \right) \vdash \lnot A (\rightarrow R) \left( A \rightarrow \left( B \lor C \right) \right) \vdash \left( \left( \left( B \rightarrow \lnot A \right) \land \lnot C \right) \rightarrow \lnot A \right) (\rightarrow R) \vdash \left( \left( A \rightarrow \left( B \lor C \right) \right) \rightarrow \left( \left( \left( B \rightarrow \lnot A \right) \land \lnot C \right) \rightarrow \lnot A \right) \right) These derivations also emphasize the strictly formal structure of the sequent calculus. For example, the logical rules as defined above always act on a formula immediately adjacent to the turnstile, such that the permutation rules are necessary. Note, however, that this is in part an artifact of the presentation, in the original style of Gentzen. A common simplification involves the use of
multisets of formulas in the interpretation of the sequent, rather than sequences, eliminating the need for an explicit permutation rule. This corresponds to shifting commutativity of assumptions and derivations outside the sequent calculus, whereas LK embeds it within the system itself.
Relation to analytic tableaux For certain formulations (i.e. variants) of the sequent calculus, a proof in such a calculus is isomorphic to an upside-down, closed
analytic tableau.
Structural rules The structural rules deserve some additional discussion. Weakening (W) allows the addition of arbitrary elements to a sequence. Intuitively, this is allowed in the antecedent because we can always restrict the scope of our proof (if all cars have wheels, then it's safe to say that all black cars have wheels); and in the succedent because we can always allow for alternative conclusions (if all cars have wheels, then it's safe to say that all cars have either wheels or wings). Contraction (C) and Permutation (P) assure that neither the order (P) nor the multiplicity of occurrences (C) of elements of the sequences matters. Thus, one could instead of
sequences also consider
sets. The extra effort of using sequences, however, is justified since part or all of the structural rules may be omitted. Doing so, one obtains the so-called
substructural logics.
Properties of the system LK This system of rules can be shown to be both
sound and
complete with respect to first-order logic, i.e. a statement A follows
semantically from a set of premises \Gamma (\Gamma \vDash A)
if and only if the sequent \Gamma \vdash A can be derived by the above rules. In the sequent calculus, the rule of
cut is admissible. This result is also referred to as Gentzen's
Hauptsatz ("Main Theorem"). ==Variants==