Sequent calculus
In mathematical logic, sequent calculus is a style of formal logical argumentation in which every line of a proof is a conditional tautology (called a sequent by Gerhard Gentzen) instead of an unconditional tautology. Each conditional tautology is inferred from other conditional tautologies on earlier lines in a formal argument according to rules and procedures of inference, giving a better approximation to the natural style of deduction used by mathematicians than to David Hilbert's earlier style of formal logic, in which every line was an unconditional tautology. More subtle distinctions may exist; for example, propositions may implicitly depend upon nonlogical axioms. In that case, sequents signify conditional theorems in a firstorder language rather than conditional tautologies.
Sequent calculus is one of several extant styles of proof calculus for expressing linebyline logical arguments.
 Hilbert style. Every line is an unconditional tautology (or theorem).
 Gentzen style. Every line is a conditional tautology (or theorem) with zero or more conditions on the left.
 Natural deduction. Every (conditional) line has exactly one asserted proposition on the right.
 Sequent calculus. Every (conditional) line has zero or more asserted propositions on the right.
In other words, natural deduction and sequent calculus systems are particular distinct kinds of Gentzenstyle systems. Hilbertstyle systems typically have a very small number of inference rules, relying more on sets of axioms. Gentzenstyle systems typically have very few axioms, if any, relying more on sets of rules.
Gentzenstyle systems have significant practical and theoretical advantages compared to Hilbertstyle systems. For example, both natural deduction and sequent calculus systems facilitate the elimination and introduction of universal and existential quantifiers so that unquantified logical expressions can be manipulated according to the much simpler rules of propositional calculus. In a typical argument, quantifiers are eliminated, then propositional calculus is applied to unquantified expressions (which typically contain free variables), and then the quantifiers are reintroduced. This very much parallels the way in which mathematical proofs are carried out in practice by mathematicians. Predicate calculus proofs are generally much easier to discover with this approach, and are often shorter. Natural deduction systems are more suited to practical theoremproving. Sequent calculus systems are more suited to theoretical analysis.
Overview
In proof theory and mathematical logic, sequent calculus is a family of formal systems sharing a certain style of inference and certain formal properties. The first sequent calculi systems, LK and LJ, were introduced in 1934/1935 by Gerhard Gentzen^{[1]} as a tool for studying natural deduction in firstorder logic (in classical and intuitionistic versions, respectively). Gentzen's socalled "Main Theorem" (Hauptsatz) about LK and LJ was the cutelimination theorem,^{[2]}^{[3]} a result with farreaching metatheoretic consequences, including consistency. Gentzen further demonstrated the power and flexibility of this technique a few years later, applying a cutelimination argument to give a (transfinite) proof of the consistency of Peano arithmetic, in surprising response to Gödel's incompleteness theorems. Since this early work, sequent calculi, also called Gentzen systems,^{[4]}^{[5]}^{[6]}^{[7]} and the general concepts relating to them, have been widely applied in the fields of proof theory, mathematical logic, and automated deduction.
Hilbertstyle deduction systems
One way to classify different styles of deduction systems is to look at the form of judgments in the system, i.e., which things may appear as the conclusion of a (sub)proof. The simplest judgment form is used in Hilbertstyle deduction systems, where a judgment has the form
 [math]\displaystyle{ B }[/math]
where [math]\displaystyle{ B }[/math] is any formula of firstorder logic (or whatever logic the deduction system applies to, e.g., propositional calculus or a higherorder logic or a modal logic). The theorems are those formulae that appear as the concluding judgment in a valid proof. A Hilbertstyle system needs no distinction between formulae and judgments; we make one here solely for comparison with the cases that follow.
The price paid for the simple syntax of a Hilbertstyle system is that complete formal proofs tend to get extremely long. Concrete arguments about proofs in such a system almost always appeal to the deduction theorem. This leads to the idea of including the deduction theorem as a formal rule in the system, which happens in natural deduction.
Natural deduction systems
In natural deduction, judgments have the shape
 [math]\displaystyle{ A_1, A_2, \ldots, A_n \vdash B }[/math]
where the [math]\displaystyle{ A_i }[/math]'s and [math]\displaystyle{ B }[/math] are again formulae and [math]\displaystyle{ n\geq 0 }[/math]. Permutations of the [math]\displaystyle{ A_i }[/math]'s are immaterial. In other words, a judgment consists of a list (possibly empty) of formulae on the lefthand side of a turnstile symbol "[math]\displaystyle{ \vdash }[/math]", with a single formula on the righthand side.^{[8]}^{[9]}^{[10]} The theorems are those formulae [math]\displaystyle{ B }[/math] such that [math]\displaystyle{ \vdash B }[/math] (with an empty lefthand side) is the conclusion of a valid proof. (In some presentations of natural deduction, the [math]\displaystyle{ A_i }[/math]s and the turnstile are not written down explicitly; instead a twodimensional notation from which they can be inferred is used.)
The standard semantics of a judgment in natural deduction is that it asserts that whenever^{[11]} [math]\displaystyle{ A_1 }[/math], [math]\displaystyle{ A_2 }[/math], etc., are all true, [math]\displaystyle{ B }[/math] will also be true. The judgments
 [math]\displaystyle{ A_1, \ldots, A_n \vdash B }[/math]
and
 [math]\displaystyle{ \vdash (A_1 \land \cdots \land A_n) \rightarrow B }[/math]
are equivalent in the strong sense that a proof of either one may be extended to a proof of the other.
Sequent calculus systems
Finally, sequent calculus generalizes the form of a natural deduction judgment to
 [math]\displaystyle{ A_1, \ldots, A_n \vdash B_1, \ldots, B_k, }[/math]
a syntactic object called a sequent. The formulas on lefthand side of the turnstile are called the antecedent, and the formulas on righthand side are called the succedent or consequent; together they are called cedents or sequents.^{[12]} Again, [math]\displaystyle{ A_i }[/math] and [math]\displaystyle{ B_i }[/math] are formulae, and [math]\displaystyle{ n }[/math] and [math]\displaystyle{ k }[/math] are nonnegative integers, that is, the lefthandside or the righthandside (or neither or both) may be empty. As in natural deduction, theorems are those [math]\displaystyle{ B }[/math] where [math]\displaystyle{ \vdash B }[/math] is the conclusion of a valid proof.
The standard semantics of a sequent is an assertion that whenever every [math]\displaystyle{ A_i }[/math] is true, at least one [math]\displaystyle{ B_i }[/math] will also be true.^{[13]} Thus the empty sequent, having both cedents empty, is false.^{[14]} One way to express this is that a comma to the left of the turnstile should be thought of as an "and", and a comma to the right of the turnstile should be thought of as an (inclusive) "or". The sequents
 [math]\displaystyle{ A_1, \ldots, A_n \vdash B_1, \ldots, B_k }[/math]
and
 [math]\displaystyle{ \vdash (A_1 \land\cdots\land A_n)\rightarrow(B_1 \lor\cdots\lor B_k) }[/math]
are equivalent in the strong sense that a proof of either sequent may be extended to a proof of the other sequent.
At first sight, this extension of the judgment form may appear to be a strange complication—it is not motivated by an obvious shortcoming of natural deduction, and it is initially confusing that the comma seems to mean entirely different things on the two sides of the turnstile. However, in a classical context the semantics of the sequent can also (by propositional tautology) be expressed either as
 [math]\displaystyle{ \vdash \neg A_1 \lor \neg A_2 \lor \cdots \lor \neg A_n \lor B_1 \lor B_2 \lor\cdots\lor B_k }[/math]
(at least one of the As is false, or one of the Bs is true)
 or as
 [math]\displaystyle{ \vdash \neg(A_1 \land A_2 \land \cdots \land A_n \land \neg B_1 \land \neg B_2 \land\cdots\land \neg B_k) }[/math]
(it cannot be the case that all of the As are true and all of the Bs are false).
In these formulations, the only difference between formulae on either side of the turnstile is that one side is negated. Thus, swapping left for right in a sequent corresponds to negating all of the constituent formulae. This means that a symmetry such as De Morgan's laws, which manifests itself as logical negation on the semantic level, translates directly into a leftright symmetry of sequents—and indeed, the inference rules in sequent calculus for dealing with conjunction (∧) are mirror images of those dealing with disjunction (∨).
Many logicians feel that this symmetric presentation offers a deeper insight in the structure of the logic than other styles of proof system, where the classical duality of negation is not as apparent in the rules.
Distinction between natural deduction and sequent calculus
Gentzen asserted a sharp distinction between his singleoutput natural deduction systems (NK and NJ) and his multipleoutput sequent calculus systems (LK and LJ). He wrote that the intuitionistic natural deduction system NJ was somewhat ugly.^{[15]} He said that the special role of the excluded middle in the classical natural deduction system NK is removed in the classical sequent calculus system LK.^{[16]} He said that the sequent calculus LJ gave more symmetry than natural deduction NJ in the case of intuitionistic logic, as also in the case of classical logic (LK versus NK).^{[17]} Then he said that in addition to these reasons, the sequent calculus with multiple succedent formulas is intended particularly for his principal theorem ("Hauptsatz").^{[18]}
Origin of word "sequent"
The word "sequent" is taken from the word "Sequenz" in Gentzen's 1934 paper.^{[1]} Kleene makes the following comment on the translation into English: "Gentzen says 'Sequenz', which we translate as 'sequent', because we have already used 'sequence' for any succession of objects, where the German is 'Folge'."^{[19]}
Proving logical formulas
Reduction trees
Sequent calculus can be seen as a tool for proving formulas in propositional logic, similar to the method of analytic tableaux. It gives a series of steps which allows one to reduce the problem of proving a logical formula to simpler and simpler formulas until one arrives at trivial ones.^{[20]}
Consider the following formula:
 [math]\displaystyle{ ((p\rightarrow r)\lor (q\rightarrow r))\rightarrow ((p\land q)\rightarrow r) }[/math]
This is written in the following form, where the proposition that needs to be proven is to the right of the turnstile symbol [math]\displaystyle{ \vdash }[/math]:
 [math]\displaystyle{ \vdash((p\rightarrow r)\lor (q\rightarrow r))\rightarrow ((p\land q)\rightarrow r) }[/math]
Now, instead of proving this from the axioms, it is enough to assume the premise of the implication and then try to prove its conclusion.^{[21]} Hence one moves to the following sequent:
 [math]\displaystyle{ (p\rightarrow r)\lor (q\rightarrow r)\vdash (p\land q)\rightarrow r }[/math]
Again the right hand side includes an implication, whose premise can further be assumed so that only its conclusion needs to be proven:
 [math]\displaystyle{ (p\rightarrow r)\lor (q\rightarrow r), (p\land q)\vdash r }[/math]
Since the arguments in the lefthand side are assumed to be related by conjunction, this can be replaced by the following:
 [math]\displaystyle{ (p\rightarrow r)\lor (q\rightarrow r), p, q\vdash r }[/math]
This is equivalent to proving the conclusion in both cases of the disjunction on the first argument on the left. Thus we may split the sequent to two, where we now have to prove each separately:
 [math]\displaystyle{ p\rightarrow r, p, q\vdash r }[/math]
 [math]\displaystyle{ q\rightarrow r, p, q\vdash r }[/math]
In the case of the first judgment, we rewrite [math]\displaystyle{ p\rightarrow r }[/math] as [math]\displaystyle{ \lnot p \lor r }[/math] and split the sequent again to get:
 [math]\displaystyle{ \lnot p, p, q \vdash r }[/math]
 [math]\displaystyle{ r, p, q \vdash r }[/math]
The second sequent is done; the first sequent can be further simplified into:
 [math]\displaystyle{ p, q \vdash p, r }[/math]
This process can always be continued until there are only atomic formulas in each side. The process can be graphically described by a rooted tree graph, as depicted on the right. The root of the tree is the formula we wish to prove; the leaves consist of atomic formulas only. The tree is known as a reduction tree.^{[20]}^{[22]}
The items to the left of the turnstile are understood to be connected by conjunction, and those to the right by disjunction. Therefore, when both consist only of atomic symbols, the sequent is accepted axiomatically (and always true) if and only if at least one of the symbols on the right also appears on the left.
Following are the rules by which one proceeds along the tree. Whenever one sequent is split into two, the tree vertex has two child vertices, and the tree is branched. Additionally, one may freely change the order of the arguments in each side; Γ and Δ stand for possible additional arguments.^{[20]}
The usual term for the horizontal line used in Gentzenstyle layouts for natural deduction is inference line.^{[23]}
Left:  Right: 
[math]\displaystyle{ L\land \text{rule: }\quad\cfrac{\Gamma, A \land B\vdash \Delta} {\Gamma, A, B \vdash \Delta} }[/math] 
[math]\displaystyle{ R\land \text{rule: }\cfrac{\Gamma\vdash \Delta, A \land B} {\Gamma \vdash \Delta, A \qquad \Gamma \vdash \Delta, B} }[/math] 
[math]\displaystyle{ L\lor \text{rule: }\cfrac{\Gamma, A \lor B\vdash \Delta} {\Gamma, A \vdash \Delta \qquad \Gamma, B \vdash \Delta} }[/math] 
[math]\displaystyle{ R\lor \text{rule: }\quad\cfrac{\Gamma\vdash \Delta, A \lor B} {\Gamma \vdash \Delta, A, B} }[/math] 
[math]\displaystyle{ L\rightarrow \text{rule: }\cfrac{\Gamma, A \rightarrow B\vdash \Delta} {\Gamma \vdash \Delta,A \qquad \Gamma, B \vdash \Delta} }[/math] 
[math]\displaystyle{ R\rightarrow \text{rule: }\quad\cfrac{\Gamma\vdash \Delta, A \rightarrow B} {\Gamma, A \vdash \Delta, B} }[/math] 
[math]\displaystyle{ L\lnot \text{rule: }\quad\cfrac{\Gamma, \lnot A \vdash \Delta} {\Gamma \vdash \Delta,A } }[/math] 
[math]\displaystyle{ R\lnot \text{rule: }\quad\cfrac{\Gamma\vdash \Delta, \lnot A} {\Gamma, A \vdash \Delta} }[/math] 
Axiom:  
[math]\displaystyle{ \Gamma,A \vdash \Delta, A }[/math] 
Starting with any formula in propositional logic, by a series of steps, the right side of the turnstile can be processed until it includes only atomic symbols. Then, the same is done for the left side. Since every logical operator appears in one of the rules above, and is removed by the rule, the process terminates when no logical operators remain: The formula has been decomposed.
Thus, the sequents in the leaves of the trees include only atomic symbols, which are either provable by the axiom or not, according to whether one of the symbols on the right also appears on the left.
It is easy to see that the steps in the tree preserve the semantic truth value of the formulas implied by them, with conjunction understood between the tree's different branches whenever there is a split. It is also obvious that an axiom is provable if and only if it is true for every assignment of truth values to the atomic symbols. Thus this system is sound and complete for classical propositional logic.
Relation to standard axiomatizations
Sequent calculus is related to other axiomatizations of propositional calculus, such as Frege's propositional calculus or Jan Łukasiewicz's axiomatization (itself a part of the standard Hilbert system): Every formula that can be proven in these has a reduction tree.
This can be shown as follows: Every proof in propositional calculus uses only axioms and the inference rules. Each use of an axiom scheme yields a true logical formula, and can thus be proven in sequent calculus; examples for these are shown below. The only inference rule in the systems mentioned above is modus ponens, which is implemented by the cut rule.
The system LK
This section introduces the rules of the sequent calculus LK (standing for Logistische Kalkül) as introduced by Gentzen in 1934. ^{[24]} A (formal) proof in this calculus is a 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:
 [math]\displaystyle{ \vdash }[/math] known as the turnstile, separates the assumptions on the left from the propositions on the right
 [math]\displaystyle{ A }[/math] and [math]\displaystyle{ B }[/math] denote formulae of firstorder predicate logic (one may also restrict this to propositional logic),
 [math]\displaystyle{ \Gamma, \Delta, \Sigma }[/math], and [math]\displaystyle{ \Pi }[/math] are finite (possibly empty) sequences of formulae (in fact, the order of formulae does not matter; see § Structural rules), called contexts,
 when on the left of the [math]\displaystyle{ \vdash }[/math], the sequence of formulas is considered conjunctively (all assumed to hold at the same time),
 while on the right of the [math]\displaystyle{ \vdash }[/math], the sequence of formulas is considered disjunctively (at least one of the formulas must hold for any assignment of variables),
 [math]\displaystyle{ t }[/math] denotes an arbitrary term,
 [math]\displaystyle{ x }[/math] and [math]\displaystyle{ y }[/math] denote variables.
 a variable is said to occur free within a formula if it is not bound by quantifiers [math]\displaystyle{ \forall }[/math] or [math]\displaystyle{ \exists }[/math].
 [math]\displaystyle{ A[t/x] }[/math] denotes the formula that is obtained by substituting the term [math]\displaystyle{ t }[/math] for every free occurrence of the variable [math]\displaystyle{ x }[/math] in formula [math]\displaystyle{ A }[/math] with the restriction that the term [math]\displaystyle{ t }[/math] must be free for the variable [math]\displaystyle{ x }[/math] in [math]\displaystyle{ A }[/math] (i.e., no occurrence of any variable in [math]\displaystyle{ t }[/math] becomes bound in [math]\displaystyle{ A[t/x] }[/math]).
 [math]\displaystyle{ WL }[/math], [math]\displaystyle{ WR }[/math], [math]\displaystyle{ CL }[/math], [math]\displaystyle{ CR }[/math], [math]\displaystyle{ PL }[/math], [math]\displaystyle{ PR }[/math]: These six stand for the two versions of each of three structural rules; one for use on the left ('L') of a [math]\displaystyle{ \vdash }[/math], 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 mirrorimages of the rules above, except that here symmetry is not implicitly assumed, and rules regarding quantification are added.
Axiom:  Cut: 
[math]\displaystyle{ \cfrac{\qquad }{ A \vdash A} \quad (I) }[/math] 
[math]\displaystyle{ \cfrac{\Gamma \vdash \Delta, A \qquad A, \Sigma \vdash \Pi} {\Gamma, \Sigma \vdash \Delta, \Pi} \quad (\mathit{Cut}) }[/math] 
Left logical rules:  Right logical rules: 
[math]\displaystyle{ \cfrac{\Gamma, A \vdash \Delta} {\Gamma, A \land B \vdash \Delta} \quad ({\land}L_1) }[/math] 
[math]\displaystyle{ \cfrac{\Gamma \vdash A, \Delta}{\Gamma \vdash A \lor B, \Delta} \quad ({\lor}R_1) }[/math] 
[math]\displaystyle{ \cfrac{\Gamma, B \vdash \Delta}{\Gamma, A \land B \vdash \Delta} \quad ({\land}L_2) }[/math] 
[math]\displaystyle{ \cfrac{\Gamma \vdash B, \Delta}{\Gamma \vdash A \lor B, \Delta} \quad ({\lor}R_2) }[/math] 
[math]\displaystyle{ \cfrac{\Gamma, A \vdash \Delta \qquad \Sigma, B \vdash \Pi}{\Gamma, \Sigma, A \lor B \vdash \Delta, \Pi} \quad ({\lor}L) }[/math] 
[math]\displaystyle{ \cfrac{\Gamma \vdash A, \Delta \qquad \Sigma \vdash B, \Pi}{\Gamma, \Sigma \vdash A \land B, \Delta, \Pi} \quad ({\land}R) }[/math] 
[math]\displaystyle{ \cfrac{\Gamma \vdash A, \Delta \qquad \Sigma, B \vdash \Pi}{\Gamma, \Sigma, A\rightarrow B \vdash \Delta, \Pi} \quad ({\rightarrow }L) }[/math] 
[math]\displaystyle{ \cfrac{\Gamma, A \vdash B, \Delta}{\Gamma \vdash A \rightarrow B, \Delta} \quad ({\rightarrow}R) }[/math] 
[math]\displaystyle{ \cfrac{\Gamma \vdash A, \Delta}{\Gamma, \lnot A \vdash \Delta} \quad ({\lnot}L) }[/math] 
[math]\displaystyle{ \cfrac{\Gamma, A \vdash \Delta}{\Gamma \vdash \lnot A, \Delta} \quad ({\lnot}R) }[/math] 
[math]\displaystyle{ \cfrac{\Gamma, A[t/x] \vdash \Delta}{\Gamma, \forall x A \vdash \Delta} \quad ({\forall}L) }[/math] 
[math]\displaystyle{ \cfrac{\Gamma \vdash A[y/x], \Delta}{\Gamma \vdash \forall x A, \Delta} \quad ({\forall}R) }[/math] 
[math]\displaystyle{ \cfrac{\Gamma, A[y/x] \vdash \Delta}{\Gamma, \exists x A \vdash \Delta} \quad ({\exists}L) }[/math] 
[math]\displaystyle{ \cfrac{\Gamma \vdash A[t/x], \Delta}{\Gamma \vdash \exists x A, \Delta} \quad ({\exists}R) }[/math] 
Left structural rules:  Right structural rules: 
[math]\displaystyle{ \cfrac{\Gamma \vdash \Delta}{\Gamma, A \vdash \Delta} \quad (\mathit{WL}) }[/math] 
[math]\displaystyle{ \cfrac{\Gamma \vdash \Delta}{\Gamma \vdash A, \Delta} \quad (\mathit{WR}) }[/math] 
[math]\displaystyle{ \cfrac{\Gamma, A, A \vdash \Delta}{\Gamma, A \vdash \Delta} \quad (\mathit{CL}) }[/math] 
[math]\displaystyle{ \cfrac{\Gamma \vdash A, A, \Delta}{\Gamma \vdash A, \Delta} \quad (\mathit{CR}) }[/math] 
[math]\displaystyle{ \cfrac{\Gamma_1, A, B, \Gamma_2 \vdash \Delta}{\Gamma_1, B, A, \Gamma_2 \vdash \Delta} \quad (\mathit{PL}) }[/math] 
[math]\displaystyle{ \cfrac{\Gamma \vdash \Delta_1, A, B, \Delta_2}{\Gamma \vdash \Delta_1, B, A, \Delta_2} \quad (\mathit{PR}) }[/math] 
Restrictions: In the rules [math]\displaystyle{ ({\forall}R) }[/math] and [math]\displaystyle{ ({\exists}L) }[/math], the variable [math]\displaystyle{ y }[/math] 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 [math]\displaystyle{ \vdash }[/math]. In contrast, the structural rules operate on the structure of the sequents, ignoring the exact shape of the formulae. 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 [math]\displaystyle{ ({\land}L_1) }[/math]. It says that, whenever one can prove that [math]\displaystyle{ \Delta }[/math] can be concluded from some sequence of formulae that contain [math]\displaystyle{ A }[/math], then one can also conclude [math]\displaystyle{ \Delta }[/math] from the (stronger) assumption that [math]\displaystyle{ A \land B }[/math] holds. Likewise, the rule [math]\displaystyle{ ({\neg}R) }[/math] states that, if [math]\displaystyle{ \Gamma }[/math] and [math]\displaystyle{ A }[/math] suffice to conclude [math]\displaystyle{ \Delta }[/math], then from [math]\displaystyle{ \Gamma }[/math] alone one can either still conclude [math]\displaystyle{ \Delta }[/math] or [math]\displaystyle{ A }[/math] must be false, i.e. [math]\displaystyle{ {\neg}A }[/math] holds. All the rules can be interpreted in this way.
For an intuition about the quantifier rules, consider the rule [math]\displaystyle{ ({\forall}R) }[/math]. Of course concluding that [math]\displaystyle{ \forall{x} A }[/math] holds just from the fact that [math]\displaystyle{ A[y/x] }[/math] 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 formulae), then one may assume, that [math]\displaystyle{ A[y/x] }[/math] 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 bottomup; for example, [math]\displaystyle{ ({\land}R) }[/math] says that, to prove that [math]\displaystyle{ A \land B }[/math] follows from the assumptions [math]\displaystyle{ \Gamma }[/math] and [math]\displaystyle{ \Sigma }[/math], it suffices to prove that [math]\displaystyle{ A }[/math] can be concluded from [math]\displaystyle{ \Gamma }[/math] and [math]\displaystyle{ B }[/math] can be concluded from [math]\displaystyle{ \Sigma }[/math], respectively. Note that, given some antecedent, it is not clear how this is to be split into [math]\displaystyle{ \Gamma }[/math] and [math]\displaystyle{ \Sigma }[/math]. 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 [math]\displaystyle{ A }[/math] and [math]\displaystyle{ B }[/math], one can construct a proof for [math]\displaystyle{ A \land B }[/math].
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 [math]\displaystyle{ A }[/math] can be concluded and this formula may also serve as a premise for concluding other statements, then the formula [math]\displaystyle{ A }[/math] can be "cut out" and the respective derivations are joined. When constructing a proof bottomup, this creates the problem of guessing [math]\displaystyle{ A }[/math] (since it does not appear at all below). The cutelimination 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 cutfree 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 all rules have mirror companions, except the ones for implication. This reflects the fact that the usual language of firstorder logic does not include the "is not implied by" connective [math]\displaystyle{ \not\leftarrow }[/math] that would be the De Morgan dual of implication. Adding such a connective with its natural rules would make the calculus completely leftright symmetric.
Example derivations
Here is the derivation of "[math]\displaystyle{ \vdash A \lor \lnot A }[/math]", known as the Law of excluded middle (tertium non datur in Latin).
[math]\displaystyle{ (I) }[/math]  
[math]\displaystyle{ A \vdash A }[/math]  
[math]\displaystyle{ (\lnot R) }[/math]  
[math]\displaystyle{ \vdash \lnot A , A }[/math]  
[math]\displaystyle{ (\lor R_2) }[/math]  
[math]\displaystyle{ \vdash A \lor \lnot A , A }[/math]  
[math]\displaystyle{ (PR) }[/math]  
[math]\displaystyle{ \vdash A , A \lor \lnot A }[/math]  
[math]\displaystyle{ (\lor R_1) }[/math]  
[math]\displaystyle{ \vdash A \lor \lnot A , A \lor \lnot A }[/math]  
[math]\displaystyle{ (CR) }[/math]  
[math]\displaystyle{ \vdash A \lor \lnot A }[/math]  
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 bottomup, because an existing free variable cannot be used in substitution in the rules [math]\displaystyle{ (\forall R) }[/math] and [math]\displaystyle{ (\exists L) }[/math].
[math]\displaystyle{ (I) }[/math]  
[math]\displaystyle{ p(x,y) \vdash p(x,y) }[/math]  
[math]\displaystyle{ (\forall L) }[/math]  
[math]\displaystyle{ \forall x \left( p(x,y) \right) \vdash p(x,y) }[/math]  
[math]\displaystyle{ (\exists R) }[/math]  
[math]\displaystyle{ \forall x \left( p(x,y) \right) \vdash \exists y \left( p(x,y) \right) }[/math]  
[math]\displaystyle{ (\exists L) }[/math]  
[math]\displaystyle{ \exists y \left( \forall x \left( p(x,y) \right) \right) \vdash \exists y \left( p(x,y) \right) }[/math]  
[math]\displaystyle{ (\forall R) }[/math]  
[math]\displaystyle{ \exists y \left( \forall x \left( p(x,y) \right) \right) \vdash \forall x \left( \exists y \left( p(x,y) \right) \right) }[/math]  
For something more interesting we shall prove [math]\displaystyle{ {\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)} }[/math]. It is straightforward to find the derivation, which exemplifies the usefulness of LK in automated proving.

[math]\displaystyle{ (\rightarrow L) }[/math]  
[math]\displaystyle{ \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 }[/math]  
[math]\displaystyle{ (CR) }[/math]  
[math]\displaystyle{ \left( \left( B \rightarrow \lnot A \right) \land \lnot C \right) , \left( A \rightarrow \left( B \lor C \right) \right) \vdash \lnot A }[/math]  
[math]\displaystyle{ (PL) }[/math]  
[math]\displaystyle{ \left( A \rightarrow \left( B \lor C \right) \right) , \left( \left( B \rightarrow \lnot A \right) \land \lnot C \right) \vdash \lnot A }[/math]  
[math]\displaystyle{ (\rightarrow R) }[/math]  
[math]\displaystyle{ \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) }[/math]  
[math]\displaystyle{ (\rightarrow R) }[/math]  
[math]\displaystyle{ \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) }[/math]  
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 upsidedown, closed analytic tableau.^{[25]}
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 socalled substructural logics.
Properties of the system LK
This system of rules can be shown to be both sound and complete with respect to firstorder logic, i.e. a statement [math]\displaystyle{ A }[/math] follows semantically from a set of premises [math]\displaystyle{ \Gamma }[/math] [math]\displaystyle{ (\Gamma \vDash A) }[/math] if and only if the sequent [math]\displaystyle{ \Gamma \vdash A }[/math] can be derived by the above rules.^{[26]}
In the sequent calculus, the rule of cut is admissible. This result is also referred to as Gentzen's Hauptsatz ("Main Theorem").^{[2]}^{[3]}
Variants
The above rules can be modified in various ways:
Minor structural alternatives
There is some freedom of choice regarding the technical details of how sequents and structural rules are formalized. As long as every derivation in LK can be effectively transformed to a derivation using the new rules and vice versa, the modified rules may still be called LK.
First of all, as mentioned above, the sequents can be viewed to consist of sets or multisets. In this case, the rules for permuting and (when using sets) contracting formulae are obsolete.
The rule of weakening will become admissible, when the axiom (I) is changed, such that any sequent of the form [math]\displaystyle{ \Gamma , A \vdash A , \Delta }[/math] can be concluded. This means that [math]\displaystyle{ A }[/math] proves [math]\displaystyle{ A }[/math] in any context. Any weakening that appears in a derivation can then be performed right at the start. This may be a convenient change when constructing proofs bottomup.
Independent of these one may also change the way in which contexts are split within the rules: In the cases [math]\displaystyle{ ({\land}R), ({\lor}L) }[/math], and [math]\displaystyle{ ({\rightarrow}L) }[/math] the left context is somehow split into [math]\displaystyle{ \Gamma }[/math] and [math]\displaystyle{ \Sigma }[/math] when going upwards. Since contraction allows for the duplication of these, one may assume that the full context is used in both branches of the derivation. By doing this, one assures that no important premises are lost in the wrong branch. Using weakening, the irrelevant parts of the context can be eliminated later.
Absurdity
One can introduce [math]\displaystyle{ \bot }[/math], the absurdity constant representing false, with the axiom:
 [math]\displaystyle{ \cfrac{}{\bot \vdash \quad } }[/math]
Or if, as described above, weakening is to be an admissible rule, then with the axiom:
 [math]\displaystyle{ \cfrac{}{\Gamma, \bot \vdash \Delta} }[/math]
With [math]\displaystyle{ \bot }[/math], negation can be subsumed as a special case of implication, via the definition [math]\displaystyle{ \neg A \iff A \to \bot }[/math].
Substructural logics
Alternatively, one may restrict or forbid the use of some of the structural rules. This yields a variety of substructural logic systems. They are generally weaker than LK (i.e., they have fewer theorems), and thus not complete with respect to the standard semantics of firstorder logic. However, they have other interesting properties that have led to applications in theoretical computer science and artificial intelligence.
Intuitionistic sequent calculus: System LJ
Surprisingly, some small changes in the rules of LK suffice to turn it into a proof system for intuitionistic logic.^{[27]} To this end, one has to restrict to sequents with at most one formula on the righthand side, and modify the rules to maintain this invariant. For example, [math]\displaystyle{ ({\lor}L) }[/math] is reformulated as follows (where C is an arbitrary formula):
 [math]\displaystyle{ \cfrac{\Gamma, A \vdash C \qquad \Sigma, B \vdash C }{\Gamma, \Sigma, A \lor B \vdash C} \quad ({\lor}L) }[/math]
The resulting system is called LJ. It is sound and complete with respect to intuitionistic logic and admits a similar cutelimination proof. This can be used in proving disjunction and existence properties.
In fact, the only rules in LK that need to be restricted to singleformula consequents are [math]\displaystyle{ ({\to}R) }[/math], [math]\displaystyle{ (\neg R) }[/math] (which can be seen as a special case of [math]\displaystyle{ {\to}R }[/math], as described above) and [math]\displaystyle{ ({\forall}R) }[/math]. When multiformula consequents are interpreted as disjunctions, all of the other inference rules of LK are derivable in LJ, while the rules [math]\displaystyle{ ({\to}R) }[/math] and [math]\displaystyle{ ({\forall}R) }[/math] become
 [math]\displaystyle{ \cfrac{\Gamma, A \vdash B \lor C}{\Gamma \vdash (A \to B) \lor C} }[/math]
and (when [math]\displaystyle{ y }[/math] does not occur free in the bottom sequent)
 [math]\displaystyle{ \cfrac{\Gamma \vdash A[y/x] \lor C}{\Gamma \vdash (\forall x A) \lor C}. }[/math]
These rules are not intuitionistically valid.
See also
Notes
 ↑ ^{1.0} ^{1.1} Gentzen 1934, Gentzen 1935.
 ↑ ^{2.0} ^{2.1} Curry 1977, pp. 208–213, gives a 5page proof of the elimination theorem. See also pages 188, 250.
 ↑ ^{3.0} ^{3.1} Kleene 2009, pp. 453, gives a very brief proof of the cutelimination theorem.
 ↑ Curry 1977, pp. 189–244, calls Gentzen systems LC systems. Curry's emphasis is more on theory than on practical logic proofs.
 ↑ Kleene 2009, pp. 440–516. This book is much more concerned with the theoretical, metamathematical implications of Gentzenstyle sequent calculus than applications to practical logic proofs.
 ↑ Kleene 2002, pp. 283–312, 331–361, defines Gentzen systems and proves various theorems within these systems, including Gödel's completeness theorem and Gentzen's theorem.
 ↑ Smullyan 1995, pp. 101–127, gives a brief theoretical presentation of Gentzen systems. He uses the tableau proof layout style.
 ↑ Curry 1977, pp. 184–244, compares natural deduction systems, denoted LA, and Gentzen systems, denoted LC. Curry's emphasis is more theoretical than practical.
 ↑ Suppes 1999, pp. 25–150, is an introductory presentation of practical natural deduction of this kind. This became the basis of System L.
 ↑ Lemmon 1965 is an elementary introduction to practical natural deduction based on the convenient abbreviated proof layout style System L based on Suppes 1999, pp. 25–150.
 ↑ Here, "whenever" is used as an informal abbreviation "for every assignment of values to the free variables in the judgment"
 ↑ Shankar, Natarajan; Owre, Sam; Rushby, John M.; StringerCalvert, David W. J. (20011101). "PVS Prover Guide". User guide. SRI International. http://pvs.csl.sri.com/doc/pvsproverguide.pdf.
 ↑ For explanations of the disjunctive semantics for the right side of sequents, see Curry 1977, pp. 189–190, Kleene 2002, pp. 290, 297, Kleene 2009, p. 441, Hilbert & Bernays 1970, p. 385, Smullyan 1995, pp. 104–105 and Gentzen 1934, p. 180.
 ↑ Buss 1998, p. 10
 ↑ Gentzen 1934, p. 188. "Der Kalkül NJ hat manche formale Unschönheiten."
 ↑ Gentzen 1934, p. 191. "In dem klassischen Kalkül NK nahm der Satz vom ausgeschlossenen Dritten eine Sonderstellung unter den Schlußweisen ein [...], indem er sich der Einführungs und Beseitigungssystematik nicht einfügte. Bei dem im folgenden anzugebenden logistischen klassichen Kalkül LK wird diese Sonderstellung aufgehoben."
 ↑ Gentzen 1934, p. 191. "Die damit erreichte Symmetrie erweist sich als für die klassische Logik angemessener."
 ↑ Gentzen 1934, p. 191. "Hiermit haben wir einige Gesichtspunkte zur Begründung der Aufstellung der folgenden Kalküle angegeben. Im wesentlichen ist ihre Form jedoch durch die Rücksicht auf den nachher zu beweisenden 'Hauptsatz' bestimmt und kann daher vorläufig nicht näher begründet werden."
 ↑ Kleene 2002, p. 441.
 ↑ ^{20.0} ^{20.1} ^{20.2} Applied Logic, Univ. of Cornell: Lecture 9. Last Retrieved: 20160625
 ↑ "Remember, the way that you prove an implication is by assuming the hypothesis."—Philip Wadler, on 2 November 2015, in his Keynote: "Propositions as Types". Minute 14:36 /55:28 of Code Mesh video clip
 ↑ "Gentzen's original consistency proof and the Bar Theorem". Gentzen's Centenary: The Quest for Consistency. New York: Springer. 2010. pp. 213–228. http://home.uchicago.edu/~wwtx/Gentzen.original.pdf.
 ↑ Jan von Plato, Elements of Logical Reasoning, Cambridge University Press, 2014, p. 32.
 ↑ AndrzejIndrzejczak, An Introduction to the Theory and Applications of Propositional Sequent Calculi (2021, chapter "Gentzen's Sequent Calculus LK"). Accessed 3 August 2022.
 ↑ Smullyan 1995, p. 107
 ↑ Kleene 2002, p. 336, wrote in 1967 that "it was a major logical discovery by Gentzen 1934–5 that, when there is any (purely logical) proof of a proposition, there is a direct proof. The implications of this discovery are in theoretical logical investigations, rather than in building collections of proved formulas."
 ↑ Gentzen 1934, p. 194, wrote: "Der Unterschied zwischen intuitionistischer und klassischer Logik ist bei den Kalkülen LJ und LK äußerlich ganz anderer Art als bei NJ und NK. Dort bestand er in Weglassung bzw. Hinzunahme des Satzes vom ausgeschlossenen Dritten, während er hier durch die Sukzedensbedingung ausgedrückt wird." English translation: "The difference between intuitionistic and classical logic is in the case of the calculi LJ and LK of an extremely, totally different kind to the case of NJ and NK. In the latter case, it consisted of the removal or addition respectively of the excluded middle rule, whereas in the former case, it is expressed through the succedent conditions."
References
 Buss, Samuel R. (1998). "An introduction to proof theory". in Samuel R. Buss. Handbook of proof theory. Elsevier. pp. 1–78. ISBN 0444898409. http://math.ucsd.edu/~sbuss/ResearchWeb/handbookI/.
 Curry, Haskell Brooks (1977). Foundations of mathematical logic. New York: Dover Publications Inc.. ISBN 9780486634623.
 Gentzen, Gerhard Karl Erich (1934). "Untersuchungen über das logische Schließen. I". Mathematische Zeitschrift 39 (2): 176–210. doi:10.1007/BF01201353. http://gdz.sub.unigoettingen.de/dms/resolveppn/?PPN=GDZPPN002375508.
 Gentzen, Gerhard Karl Erich (1935). "Untersuchungen über das logische Schließen. II". Mathematische Zeitschrift 39 (3): 405–431. doi:10.1007/bf01201363. http://gdz.sub.unigoettingen.de/dms/resolveppn/?PPN=GDZPPN002375605.
 Girard, JeanYves; Paul Taylor; Yves Lafont (1990). Proofs and Types. Cambridge University Press (Cambridge Tracts in Theoretical Computer Science, 7). ISBN 0521371813. https://archive.org/details/proofstypes0000gira.
 Hilbert, David; Bernays, Paul (1970). Grundlagen der Mathematik II (Second ed.). Berlin, New York: SpringerVerlag. ISBN 9783642868979.
 Kleene, Stephen Cole (2009). Introduction to metamathematics. Ishi Press International. ISBN 9780923891572.
 Kleene, Stephen Cole (2002). Mathematical logic. Mineola, New York: Dover Publications. ISBN 9780486425337.
 Lemmon, Edward John (1965). Beginning logic. Thomas Nelson. ISBN 0177120401.
 Smullyan, Raymond Merrill (1995). Firstorder logic. New York: Dover Publications. ISBN 9780486683706.
 Suppes, Patrick Colonel (1999). Introduction to logic. Mineola, New York: Dover Publications. ISBN 9780486406879.
External links
 Hazewinkel, Michiel, ed. (2001), "Sequent calculus", Encyclopedia of Mathematics, Springer Science+Business Media B.V. / Kluwer Academic Publishers, ISBN 9781556080104, https://www.encyclopediaofmath.org/index.php?title=p/s084580
 A Brief Diversion: Sequent Calculus
 Interactive tutorial of the Sequent Calculus
Original source: https://en.wikipedia.org/wiki/Sequent calculus.
Read more 