Compactness theorem (logic)

from Wikipedia, the free encyclopedia

The compactness theorem , also called finiteness theorem , is one of the most important theorems of propositional logic and first-order predicate logic . It says: A (possibly infinite) formula set is satisfiable (i.e. has a model) if and only if every finite subset of is satisfiable. This sentence does not apply to the logic of the 2nd level.

An important consequence of the compactness theorem is that every (possibly infinite) set of formulas that has finite models of arbitrarily large also has an infinite model. With this conclusion the axiomatizability of classes of finite structures can often be refuted.

proof

For the first-order predicate logic, the compactness theorem results as a corollary from Gödel's completeness theorem . The proof is correspondingly short:

" ": Assume has a model. Then this is (trivially) also a model of every finite subset of .

" ": Assume that every finite set has a model. To generate a contradiction it is assumed that I have no model. Then there follows a semantic contradiction, e.g. B. . Formally:

(Every model that fulfills also fulfills the contradiction. This is true because there is no model for .)

Gödel's completeness theorem now says that syntactically it already follows from . Formally:

So there is a formal proof, a syntactic derivation of from . Since a derivation in a formal system (by definition) is finite, only a finite number of formulas can be used in this derivation . So a contradiction can be derived from a finite subset of , and this therefore has no model (correctness theorem). Contradiction. So you own a model.

At the core of the proof is the following result, which follows directly from Gödel's completeness theorem:

If a formula follows from a formula set , there is a finite set such that from follows. ( there is finite with ).

A completely different proof, which dispenses with the concept of syntactic derivability and the completeness theorem, results in model theory from the theorem of Łoś through ultra-products .

Second order predicate logic

From the compactness theorem it follows that a set of formulas that has an infinite model also has arbitrarily large models. Because has an infinite model, then (infinite) for an arbitrary index set also

,

because every finite set has a model. (They are new constant symbols)

In particular, first-order predicate logic can only characterize the finite, but not the infinite models except for isomorphism.

The Peano axioms describe the natural numbers in the second level predicate logic, except for isomorphism. If the set is the Peano axioms, then has no model, although every finite subset has a model.

Origin of name

If one considers the space of all theories of a certain language that have a model, then this space can be provided with a topology : The base sets are the . The compactness theorem says that this space is compact .

Position in set theory

When proving the compactness theorem, transfinite methods such as For example, Zorn's lemma is used: The decisive point is Lindenbaum's theorem , which allows one to move from a consistent theory to a maximally consistent theory. Unlike z. For example, if the theorem that every vector space has a basis , the compactness theorem is not equivalent to Zorn's lemma or the axiom of choice . However, it is equivalent to a number of other theorems such as the Boolean prime ideal theorem .

literature

  • Hans Dieter Ebbinghaus, Jörg Flum, Wolfgang Thomas: Introduction to mathematical logic . Spektrum Akademischer Verlag, Heidelberg 2007, ISBN 3-8274-1691-4 .

Web links