Sequence calculus

from Wikipedia, the free encyclopedia

In the proof theory and mathematical logic is denoted by sequent calculus a family of formal systems (or calculi ) that share a certain style of derivation and certain properties. The first sequential calculi, LK for classical and LJ for intuitionist logic, were introduced by Gerhard Gentzen in 1934 as a formal framework for the investigation of systems of natural reasoning in first-order predicate logic .

The Gentzensche law on LK and LJ says that the cut rule applies in these systems, a set of far-reaching consequences in the metalogic . The flexibility of the sequential calculus became apparent later, in 1936, when Gentzen used the cut-elimination technique to prove the consistency of Peano arithmetic .

The sequential calculi, which go back to Gentzen, and the general concepts behind them are used as standard in broad areas of proof theory, mathematical logic, and machine-aided proof .

Notations and conventions

The following characters are used in this article:

  • , ...: formula quantities
  • , , ...: formulas of predicate logic
  •  : Sign for derivation relationship
  • ,  : Sign for the relation of logical truth / consequence
  •  : Sign of negation
  •  : Adjunct sign
  •  : Existential quantifier
  • ,  : Brackets as auxiliary characters for greater clarity
  •  : Identification for the extension of a formula set
  •  : Symbol for model
  •  : (Character for variable allocation function)

The following conventions are introduced:

  • By means of various rules, the remaining junctions can be converted into formulas, which then only contain and . The forming rules follow:
  • Using a conversion rule, the quantifier (universal quantifier) ​​can be represented as follows:

Use is made of these transformations in the examples.

introduction

The sequence calculus is used to map the procedure for mathematically proving theorems as precisely as possible. One component of this proof method is that additional requirements can be introduced at every point in the proof, which then either remain until the end or can be eliminated again.

The basic unit of the sequential calculus is a character string (a sequence) of variables , each of which stands for expressions of the logical system under consideration; z. B. for expressions of a first level language . We designate such a sequence with

or shorter with

where stands for the sequence of expressions . The idea is that the conditions are in and the last link denotes the consequence of these conditions. The prerequisites are also known as the antecedent and the inference as the consequent. While the succession in the variant of the calculus shown here consists of only one formula, other variants, including Gentzen's LK, allow any number of formulas in the succession.

The sequence calculus deals with the derivation of sequences . If there is a derivation of the sequence in the calculus , then one also writes

Definition: The expression is called from derivable (short:) , if there is from with .

The sequence rules: general shape

In the following, the rules for the sequential calculus of classical first-order predicate logic are listed. Sequence rules have the general form

Above the line are already derived sequences, and below the sequence that can be derived from them.

Different spelling

Sequence rules can also be found in the literature in the form

or as

written down.

Rules of the sequential calculus of first order predicate logic with identity

The rules of the sequential calculus of first order predicate logic with identity are divided into the following groups:

Basic rules, join rules, quantifier rules and identity rules.

Basic rules

The basic rules include the antecedent rule and the acceptance rule.

Antecedent rule

where:

In words: you can easily add assumptions.

Acceptance rule

where:

In words: one can infer assumptions from them.

Juncture rules

The rules of connectivity include case distinction, contradiction, the introduction of adjunct in the antecedent and the introduction of adjunct as a consequence.

Case distinction

In words: If one the one hand, assuming the other hand, assuming can derive, one may, without any assumption about or having to make, to close.

Contradiction

In words: If leads to a contradiction, then one can conclude.

Adjunction introduction in the antecedent

In words, disjunctions of the form in the antecedent can be used in two ways - on the one hand in the case and on the other hand in the case .

Adjunction introduction as a consequence

In words: You can always weaken the consequence by introducing an adjunct.

Quantifier rules

The quantifier rules include the introduction of existence as a consequence and the introduction of existence as an antecedent.

Introduction into existence as a consequence

In words: If one can deduce from this that t has a property expressed by, then one can also infer that something exists which has a property expressed by.

Introduction of existence in the antecedent

if y is not free in the sequence .

Identity Rules

The rules of identity include reflexivity and the rule of substitution.

Reflexivity

In words: The equivalence relation on the subject area D is reflexive.

Substitution rule

In words: inserting the identical into the identical.

Useful derivations

With the rules of the sequential calculus set out above, some more useful rules are now derived in finitely many steps. To distinguish them from the above basic rules , they are also called derived rules . (As a reminder: derivation is to be equated with sequence manipulation by applying the rules.) These rules, once derived, can then be used without any problems, that is, it is sufficient to show their derivation here once. Here the following rules are proven: the principle of the excluded third , the triviality , the chain closure , the contraposition and the disjunctive syllogism . Regarding the notation: Each derivation is divided into three columns. The numbering of the individual modifications is in the left column. They are useful for unambiguous reference through other modifications. The middle column contains the new modification, with a succession of sequences as a result. The right column contains the information on how the sequence in the middle column was achieved. The rule is written in brackets, and possibly, preceded by a colon (read as “applied to”), the line numbers relevant to the result are noted. Example: "(Ant): 1., 2." is read as "Antecedent rule, applied to lines one and two".

Sentence of the excluded third party

Derivation:

triviality

Derivation:

Chain link

Derivation:

Note: The rule (trivial) was used in this derivation. This example shows that a rule only needs to be derived once without errors; it can subsequently be used as an abbreviation. By using the rule (Triv), five steps of derivation have been left out (namely the five steps that are required to derive (Triv)).

Counterposition

Derivation of (KP1) ((KP2) - (KP4) analogous):

Disjunctive syllogism

Derivation:

Properties of the sequential calculus

correctness

The correctness principle is as follows:

The following applies to all formula sets and all formulas : If , then .

The correctness of the sequential calculus is shown by the fact that it is shown for each individual rule of the sequential calculus that it is correct, that is, that each model and each variable assignment s that make the premises of the rule true also make its consequence true. All correctness proofs taken together then result in the proof of the correctness theorem.

Definitions

In order to be able to show the correctness theorem, “model”, “variable allocation” and “make true” (logical truth) must first be defined.

model

A model is an ordered pair such that:

  1. is a non-empty set (the carrier or the subject area , English domain , over which the quantifiers run)
  2. is the interpretation function for predicates, functions and constants (not relevant in the following)
Variable assignment

A variable assignment s over a model is a function .

Logical truth / consequence

The following applies to all formulas and all formula sets : follows logically from (short:) iff for all models and all variable assignments s above applies: If , then . (In other words: Every which makes true even makes true.)

Correctness of the rules of the sequential calculus

The correctness of the rules of sequential calculus is shown by showing the logical truth of the rules. This is based on the definition of the logical truth / sequence. Now it is shown that every single rule of the sequential calculus is logically true. (Not all of the evidence is shown. It is sufficient to outline a few. The rest of the evidence is structurally similar.)

Correctness of (Ant)

Assuming is correct, i.e. H. . Be a set of formulas, so that: . Be chosen arbitrarily, so that: . Then also and according to the prerequisite also applies . It follows from this . So is correct.

Correctness of (Ann)

If so , then applies . Thus is correct.

Correctness of (FU)

Assumed and are correct, i.e. H. and . Be chosen arbitrarily, so that: .

Case 1: . Then and thus according to the requirement .

Case 2: . Then . Then and thus according to the requirement .

The following applies in both cases . Thus is correct.

Correctness of (KD)

Adopted and . Then applies to everyone with :

and . Then there is no , so that: . Then for all with : . Thus it applies and is therefore correct.

If the remaining rules have also been proven, i.e. their correctness has been shown, the correctness theorem has been proven and it can be said: If a formula in the sequence calculus can be derived, then this formula is also logically true.

completeness

The calculation is also complete . That means that:

The following applies to all formula sets and all formulas : If , then .

Intuitively, this means that all true sequences can be derived using the rules given above.

Examples

Finally, two examples with the sequence calculus should be presented.

example 1

Derivation:

Example 2

Derivation:

literature

Web links