# Consistency

In classical deductive logic, a consistent theory is one that does not contain a contradiction.[1][2] The lack of contradiction can be defined in either semantic or syntactic terms. The semantic definition states that a theory is consistent if and only if it has a model, i.e. there exists an interpretation under which all formulas in the theory are true. This is the sense used in traditional Aristotelian logic, although in contemporary mathematical logic the term satisfiable is used instead. The syntactic definition states that a theory is consistent if and only if there is no formula P such that both P and its negation are provable from the axioms of the theory under its associated deductive system.

If these semantic and syntactic definitions are equivalent for any theory formulated using a particular deductive logic, the logic is called complete.{{ safesubst:#invoke:Unsubst||date=__DATE__ |$B= {{#invoke:Category handler|main}}{{#invoke:Category handler|main}}[citation needed] }} The completeness of the sentential calculus was proved by Paul Bernays in 1918{{ safesubst:#invoke:Unsubst||date=__DATE__ |$B= {{#invoke:Category handler|main}}{{#invoke:Category handler|main}}[citation needed] }}[3] and Emil Post in 1921,[4] while the completeness of predicate calculus was proved by Kurt Gödel in 1930,[5] and consistency proofs for arithmetics restricted with respect to the induction axiom schema were proved by Ackermann (1924), von Neumann (1927) and Herbrand (1931).[6] Stronger logics, such as second-order logic, are not complete.

A consistency proof is a mathematical proof that a particular theory is consistent. The early development of mathematical proof theory was driven by the desire to provide finitary consistency proofs for all of mathematics as part of Hilbert's program. Hilbert's program was strongly impacted by incompleteness theorems, which showed that sufficiently strong proof theories cannot prove their own consistency (provided that they are in fact consistent).

Although consistency can be proved by means of model theory, it is often done in a purely syntactical way, without any need to reference some model of the logic. The cut-elimination (or equivalently the normalization of the underlying calculus if there is one) implies the consistency of the calculus: since there is obviously no cut-free proof of falsity, there is no contradiction in general.

## Consistency and completeness in arithmetic and set theory

In theories of arithmetic, such as Peano arithmetic, there is an intricate relationship between the consistency of the theory and its completeness. A theory is complete if, for every formula φ in its language, at least one of φ or ¬ φ is a logical consequence of the theory.

Presburger arithmetic is an axiom system for the natural numbers under addition. It is both consistent and complete.

Gödel's incompleteness theorems show that any sufficiently strong effective theory of arithmetic cannot be both complete and consistent. Gödel's theorem applies to the theories of Peano arithmetic (PA) and Primitive recursive arithmetic (PRA), but not to Presburger arithmetic.

Moreover, Gödel's second incompleteness theorem shows that the consistency of sufficiently strong effective theories of arithmetic can be tested in a particular way. Such a theory is consistent if and only if it does not prove a particular sentence, called the Gödel sentence of the theory, which is a formalized statement of the claim that the theory is indeed consistent. Thus the consistency of a sufficiently strong, effective, consistent theory of arithmetic can never be proven in that system itself. The same result is true for effective theories that can describe a strong enough fragment of arithmetic – including set theories such as Zermelo–Fraenkel set theory. These set theories cannot prove their own Gödel sentences – provided that they are consistent, which is generally believed.

Because consistency of ZF is not provable in ZF, the weaker notion relative consistency is interesting in set theory (and in other sufficiently expressive axiomatic systems). If T is a theory and A is an additional axiom, T + A is said to be consistent relative to T (or simply that A is consistent with T) if it can be proved that if T is consistent then T + A is consistent. If both A and ¬A are consistent with T, then A is said to be independent of T.

## First-order logic

### Notation

⊢ (Turnstile symbol) in the following context of Mathematical logic, means "provable from". That is, a ⊢ b reads: b is provable from a (in some specified formal system) -- see List of logic symbols) . In other cases, the turnstile symbol may stand to mean infers; derived from. See: List of mathematical symbols.

### Definition

A set of formulas ${\displaystyle \Phi }$ in first-order logic is consistent (written Con${\displaystyle \Phi }$) if and only if there is no formula ${\displaystyle \phi }$ such that ${\displaystyle \Phi \vdash \phi }$ and ${\displaystyle \Phi \vdash \lnot \phi }$. Otherwise ${\displaystyle \Phi }$ is inconsistent and is written Inc${\displaystyle \Phi }$.

${\displaystyle \Phi }$ is said to be absolutely consistent or Post consistent if and only if at least one formula of ${\displaystyle \Phi }$ is not a theorem of ${\displaystyle \Phi }$.

${\displaystyle \Phi }$ is said to be maximally consistent if and only if for every formula ${\displaystyle \phi }$, if Con (${\displaystyle \Phi \cup \phi }$) then ${\displaystyle \phi \in \Phi }$.

${\displaystyle \Phi }$ is said to contain witnesses if and only if for every formula of the form ${\displaystyle \exists x\phi }$ there exists a term ${\displaystyle t}$ such that ${\displaystyle (\exists x\phi \to \phi {t \over x})\in \Phi }$. See First-order logic.

### Henkin's theorem

Let ${\displaystyle \Phi }$ be a maximally consistent set of ${\displaystyle S}$-formulas containing witnesses.

Define a binary relation ${\displaystyle \sim }$ on the set of ${\displaystyle S}$-terms such that ${\displaystyle t_{0}\sim t_{1}}$ if and only if ${\displaystyle \;t_{0}\equiv t_{1}\in \Phi }$; and let ${\displaystyle {\overline {t}}\!}$ denote the equivalence class of terms containing ${\displaystyle t\!}$; and let ${\displaystyle T_{\Phi }:=\{\;{\overline {t}}\;|\;t\in T^{S}\}}$ where ${\displaystyle T^{S}\!}$ is the set of terms based on the symbol set ${\displaystyle S\!}$.

### Sketch of proof

There are several things to verify. First, that ${\displaystyle \sim }$ is an equivalence relation. Then, it needs to be verified that (1), (2), and (3) are well defined. This falls out of the fact that ${\displaystyle \sim }$ is an equivalence relation and also requires a proof that (1) and (2) are independent of the choice of ${\displaystyle t_{0},\ldots ,t_{n-1}}$ class representatives. Finally, ${\displaystyle {\mathfrak {I}}_{\Phi }\vDash \Phi }$ can be verified by induction on formulas.

{{#invoke:Portal|portal}} Template:Sister

## Footnotes

1. Tarski 1946 states it this way: "A deductive theory is called CONSISTENT or NON-CONTRADICTORY if no two asserted statements of this theory contradict each other, or in other words, if of any two contradictory sentences . . . at least one cannot be proved," (p. 135) where Tarski defines contradictory as follows: "With the help of the word not one forms the NEGATION of any sentence; two sentences, of which the first is a negation of the second, are called CONTRADICTORY SENTENCES" (p. 20). This definition requires a notion of "proof". Gödel in his 1931 defines the notion this way: "The class of provable formulas is defined to be the smallest class of formulas that contains the axioms and is closed under the relation "immediate consequence", i.e. formula c of a and b is defined as an immediate consequence in terms of modus ponens or substitution; cf Gödel 1931 van Heijenoort 1967:601. Tarski defines "proof" informally as "statements follow one another in a definite order according to certain principles . . . and accompanied by considerations intended to establish their validity[true conclusion for all true premises -- Reichenbach 1947:68]" cf Tarski 1946:3. Kleene 1952 defines the notion with respect to either an induction or as to paraphrase) a finite sequence of formulas such that each formula in the sequence is either an axiom or an "immediate consequence" of the preceding formulas; "A proof is said to be a proof of its last formula, and this formula is said to be (formally) provable or be a (formal) theorem" cf Kleene 1952:83.
2. Paraconsistent logic tolerates contradictions, but toleration of contradiction does not entail consistency.
3. van Heijenoort 1967:265 states that Bernays determined the independence of the axioms of Principia Mathematica, a result not published until 1926, but he says nothing about Bernays proving their consistency.
4. Post proves both consistency and completeness of the propositional calculus of PM, cf van Heijenoort's commentary and Post's 1931 Introduction to a general theory of elementary propositons in van Heijenoort 1967:264ff. Also Tarski 1946:134ff.
5. cf van Heijenoort's commentary and Gödel's 1930 The completeness of the axioms of the functional calculus of logic in van Heijenoort 1967:582ff
6. cf van Heijenoort's commentary and Herbrand's 1930 On the consistency of arithmetic in van Heijenoort 1967:618ff.

## References

• Stephen Kleene, 1952 10th impression 1991, Introduction to Metamathematics, North-Holland Publishing Company, Amsterday, New York, ISBN 0-7204-2103-9.
• Hans Reichenbach, 1947, Elements of Symbolic Logic, Dover Publications, Inc. New York, ISBN 0-486-24004-5,
• Alfred Tarski, 1946, Introduction to Logic and to the Methodology of Deductive Sciences, Second Edition, Dover Publications, Inc., New York, ISBN 0-486-28462-X.
• Jean van Heijenoort, 1967, From Frege to Gödel: A Source Book in Mathematical Logic, Harvard University Press, Cambridge, MA, ISBN 0-674-32449-8 (pbk.)
• The Cambridge Dictionary of Philosophy, consistency
• H.D. Ebbinghaus, J. Flum, W. Thomas, Mathematical Logic
• Jevons, W.S., 1870, Elementary Lessons in Logic