ebooksgratis.com

See also ebooksgratis.com: no banners, no cookies, totally FREE.

CLASSICISTRANIERI HOME PAGE - YOUTUBE CHANNEL
Privacy Policy Cookie Policy Terms and Conditions
User:Mpagano/Sequent Calculus - Wikipedia, the free encyclopedia

User:Mpagano/Sequent Calculus

From Wikipedia, the free encyclopedia

In proof theory and mathematical logic, the sequent calculus is a widely known deduction system for first-order logic (and propositional logic as a special case of it). The system is also known under the name LK, distinguishing it from various other systems of similar fashion that have been created later and that are sometimes also called sequent calculi. Another term for such systems in general is Gentzen systems.

Since sequent calculi and the general concepts relating to them are of major importance to the whole field of proof theory and mathematical logic, the system LK will be explained in greater detail below. Some familiarity with the basic notions of predicate logic (especially its syntactic structure) is assumed.

Contents

[edit] The system LK

A (formal) proof in this calculus is a sequence of sequents, where each of the elements is derivable from a number of sequents, that appear earlier in the sequence, by using one of the below rules. An intuitive explanation of these rules is given thereafter. Please do also refer to sequent and rule of inference if you are not familiar with these concepts.

[edit] History

The Sequent calculus LK has been introduced by Gerhard Gentzen as a tool for studying natural deduction (which has been around before, although not quite as formal). It has subsequently turned out to be a much more easy to handle calculus when constructing logical derivations. The name itself is derived from the German term Logischer Kalkül, meaning logical calculus. Sequent calculi are the method of choice for many investigations on the subject.

[edit] The inference-rules for LK

The following notation will be used:

  • A and B denote formulae of first-order predicate logic (one may also restrict this to propositional logic),
  • Γ, Δ, Σ, and Π are finite (possibly empty) sequences of formulae, called contexts,
  • t denotes an arbitrary term,
  • A[t] denotes a formula A, in which some occurrences of a term t are of interest
  • A[s/t] denotes the formula that is obtained by substituting the term s for the specified occurrences of t in A[t],
  • x and y denote variables,
  • a variable is said to occur free within a formula if its only occurrences in the formula are not within the scope of quantifiers ∀ or ∃.
Axiom: Cut:

 \cfrac{\qquad }{ A \vdash A} 
(I)
 
   \cfrac{\Gamma \vdash A, \Delta \qquad \Sigma, A \vdash \Pi} {\Gamma, \Sigma \vdash \Delta, \Pi} 
 
(Cut)

Left logical rules: Right logical rules:

 \cfrac{\Gamma, A \vdash \Delta} {\Gamma, A \and B \vdash \Delta} 
( \and_{L_1}) 
        


  \cfrac{\Gamma, B \vdash \Delta}{\Gamma, A \and B \vdash \Delta}
 
(\and_{L_2}) 

  \cfrac{\cfrac{\Gamma \vdash A, \Delta}{\Sigma \vdash B, \Pi}}{\Gamma, \Sigma \vdash A \and B, \Delta, \Pi}
 
( \and_R ) 


  \cfrac{\cfrac{\Gamma, A \vdash \Delta}{\Sigma, B \vdash \Pi}}{\Gamma, \Sigma, A \or B \vdash \Delta, \Pi}
 
(\or_L)


 \cfrac{\Gamma \vdash A, \Delta}{\Gamma \vdash A \or B, \Delta}

(\or R_1) 


 \cfrac{\Gamma \vdash B, \Delta }{\Gamma \vdash A \or B, \Delta}

(\or R_2) 


\cfrac{\cfrac{\Gamma \vdash A, \Delta}{\Sigma, B \vdash \Pi}}{\Gamma, \Sigma, A \implies B \vdash \Delta, \Pi}

(→L)


 \cfrac{\Gamma, A \vdash B, \Delta}{\Gamma \vdash A \implies B, \Delta}

(→R) 


 \cfrac{\Gamma \vdash A, \Delta}{\Gamma, \neg A \vdash \Delta}

(¬L)


 \cfrac{\Gamma, A \vdash \Delta}{\Gamma \vdash  \neg A, \Delta}

(¬R) 

\cfrac{ \Gamma , A[t]  \vdash  \Delta}{\Gamma , \forall x A[x/t]  \vdash  \Delta}

(∀L)

\cfrac{ \Gamma \vdash  A[y], \Delta}{\Gamma   \vdash  \forall x A[x/y], \Delta}

(∀R) 

\cfrac{ \Gamma , A[y]  \vdash  \Delta}{\Gamma , \exists x A[x/y]  \vdash  \Delta}

(∃L)

\cfrac{ \Gamma   \vdash  A[t], \Delta}{\Gamma \vdash \exists x A[x/t], \Delta}

(∃R) 

Left structural rules: Right structural rules:

\cfrac{ \Gamma   \vdash  \Delta}{\Gamma , A  \vdash  \Delta}

(WL)

\cfrac{ \Gamma   \vdash  \Delta}{\Gamma   \vdash  A, \Delta}

(WR) 

\cfrac{ \Gamma , A, A  \vdash  \Delta}{\Gamma , A  \vdash  \Delta}

(CL)

\cfrac{ \Gamma   \vdash  A, A, \Delta}{\Gamma   \vdash  A, \Delta}

(CR)

\cfrac{\Gamma 1, A, B, \Gamma 2  \vdash  \Delta}{\Gamma 1, B, A, \Gamma 2  \vdash  \Delta}

(PL)

\cfrac{\Gamma   \vdash  \Delta 1, A, B, \Delta 2}{\Gamma  \vdash  \Delta 1, B, A, \Delta 2}

(PR)

Note: In the rules (∀R) and (∃L), the variable y must not be free within Γ , A[x/y], or Δ .

[edit] 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 |-. 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 (∧L1). It says that, whenever one can prove that Δ can be concluded from some sequence of formulae that contain A, then one can also conclude Δ from the (stronger) assumption, that A∧B holds. Likewise, the rule (¬R) states that, if Γ and A suffice to conclude Δ, then from Γ alone one can either still conclude Δ or A must be false, i.e. ¬A holds. All the rules can be interpreted in this way.

For an intuition about the quantifier rules, consider the rule (∀R). Of course concluding that ∀x A[x/y] holds just from the fact that A[y] 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 A[y] 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, (∧R) says that, in order to prove that A∧B follows from the assumptions Γ and Σ, it suffices to prove that A can be concluded from Γ and B can be concluded from Σ, respectively. Note that, given some antecedent, it is not clear how this is to be split into Γ and Σ. 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∧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). This issue is addressed in the theorem of cut-elimination.

The second rule, that is somewhat special, is the axiom of identity (I). The intuitive reading of this is obvious: A proves A.

[edit] An example derivation

As for an example, this is the sequential derivation of \vdash(A\or¬A), known as the Law of excluded middle (tertium non datur in Latin).


(I)
A\vdash A

(¬R)
\vdash \neg A, A

(\orR2)
\vdash A \or \neg A, A

(PR)
\vdash A, A \or\neg A

(\orR1)
\vdash A \or \neg A, A\or \neg A

(CR)
\vdash A\or \neg A

This derivation also emphasizes the strictly formal structure of a syntactic calculus. For example, the right logical rules as defined above do always act on the first formula of the right sequent, such that the application of (PR) is formally required. This very rigid reasoning may at first be difficult to understand, but it forms the very core of the difference between syntax and semantics in formal logics. Although we know that we mean the same with the formulae A \or \neg A and \neg A \or A, a derivation of the latter would not be equivalent to the one that is given above. However, one can make syntactic reasoning more convenient by introducing lemmas, i.e. predefined schemes for achieving certain standard derivations. As an example one could show that the following is a legal transformation:

\Gamma \vdash A \or B, \Delta

\Gamma \vdash B \or A, \Delta

Once a general sequence of rules is known for establishing this derivation, one can use it as an abbreviation within proofs. However, while proofs become more readable when using good lemmas, it can also make the process of derivation more complicated, since there are more possible choices to be taken into account. This is especially important when using proof theory (as often desired) for automated deduction.

[edit] Structural rules

The structural rules deserve some additional discussion. The names of the rules are Weakening (W), Contraction (C), and Permutation (P). Contraction and Permutation assure that neither the order (P) nor the multiplicity of occurrences (C) of elements of the sequences do matter. 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.

[edit] 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 premisses Γ (Γ |= A) iff the sequent Γ |- A can be derived by the above rules.

In Sequent calculus, the rule of cut is admissible. This result is also referred to as Gentzen's Hauptsatz ("Main Theorem").

[edit] Modifications of the system

The above rules can be modified in various ways without changing the essence of the system LK. All of these modifications 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 Γ, A |- A, Δ can be concluded. This means that A proves A 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 bottom-up.

Independent of these one may also change the way in which contexts are split within the rules: In the cases (∧R), (∨L), and (→L) the left context is somehow split into Γ and Σ 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 premisses are lost in the wrong branch. Using weakening, the irrelevant parts of the context can be eliminated later.

All of these changes yield equivalent systems in the sense that every derivation in LK can effectively be transformed in a derivation using the alternative rules and vice versa.

[edit] The system LJ

Surprisingly, some small changes in the rules of LK suffice in order to turn it into a proof system for intuitionistic logic. To this end, one has to restrict to intuitionistic sequents (i.e. the right contexts are eliminated) and modify the rule (∨L) as follows:


  \cfrac{\Gamma, A \vdash C \qquad \Sigma, B \vdash C }{\Gamma, \Sigma, A \or B \vdash C}
 
(
   \or_{L_i}
  )

where C is an arbitrary formula.

The resulting system is called LJ. It is sound and complete with respect to intuitionistic logic and admits a similar cut-elimination proof.


aa - ab - af - ak - als - am - an - ang - ar - arc - as - ast - av - ay - az - ba - bar - bat_smg - bcl - be - be_x_old - bg - bh - bi - bm - bn - bo - bpy - br - bs - bug - bxr - ca - cbk_zam - cdo - ce - ceb - ch - cho - chr - chy - co - cr - crh - cs - csb - cu - cv - cy - da - de - diq - dsb - dv - dz - ee - el - eml - en - eo - es - et - eu - ext - fa - ff - fi - fiu_vro - fj - fo - fr - frp - fur - fy - ga - gan - gd - gl - glk - gn - got - gu - gv - ha - hak - haw - he - hi - hif - ho - hr - hsb - ht - hu - hy - hz - ia - id - ie - ig - ii - ik - ilo - io - is - it - iu - ja - jbo - jv - ka - kaa - kab - kg - ki - kj - kk - kl - km - kn - ko - kr - ks - ksh - ku - kv - kw - ky - la - lad - lb - lbe - lg - li - lij - lmo - ln - lo - lt - lv - map_bms - mdf - mg - mh - mi - mk - ml - mn - mo - mr - mt - mus - my - myv - mzn - na - nah - nap - nds - nds_nl - ne - new - ng - nl - nn - no - nov - nrm - nv - ny - oc - om - or - os - pa - pag - pam - pap - pdc - pi - pih - pl - pms - ps - pt - qu - quality - rm - rmy - rn - ro - roa_rup - roa_tara - ru - rw - sa - sah - sc - scn - sco - sd - se - sg - sh - si - simple - sk - sl - sm - sn - so - sr - srn - ss - st - stq - su - sv - sw - szl - ta - te - tet - tg - th - ti - tk - tl - tlh - tn - to - tpi - tr - ts - tt - tum - tw - ty - udm - ug - uk - ur - uz - ve - vec - vi - vls - vo - wa - war - wo - wuu - xal - xh - yi - yo - za - zea - zh - zh_classical - zh_min_nan - zh_yue - zu -