Open main menu
Home
Random
Recent changes
Special pages
Community portal
Preferences
About Wikipedia
Disclaimers
Incubator escapee wiki
Search
User menu
Talk
Dark mode
Contributions
Create account
Log in
Editing
Compactness theorem
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
{{mvar|}}{{Short description|Theorem in mathematical logic}} In [[mathematical logic]], the '''compactness theorem''' states that a [[Set (mathematics)|set]] of [[First-order predicate calculus|first-order]] [[Sentence (mathematical logic)|sentences]] has a [[Model (model theory)|model]] if and only if every [[Finite set|finite]] [[subset]] of it has a model. This theorem is an important tool in [[model theory]], as it provides a useful (but generally not [[effective method|effective]]) method for constructing models of any set of sentences that is finitely [[Consistency|consistent]]. The compactness theorem for the [[propositional calculus]] is a consequence of [[Tychonoff's theorem]] (which says that the [[Product topology|product]] of [[compact space]]s is compact) applied to compact [[Stone space]]s,{{sfn|Truss|1997}} hence the theorem's name. Likewise, it is analogous to the [[finite intersection property]] characterization of compactness in [[topological space]]s: a collection of [[closed set]]s in a compact space has a [[Empty set|non-empty]] [[Intersection (set theory)|intersection]] if every finite subcollection has a non-empty intersection. The compactness theorem is one of the two key properties, along with the downward [[Löwenheim–Skolem theorem]], that is used in [[Lindström's theorem]] to characterize first-order logic. Although there are some generalizations of the compactness theorem to non-first-order logics, the compactness theorem itself does not hold in them, except for a very limited number of examples.<ref>J. Barwise, S. Feferman, eds., Model-Theoretic Logics (New York: Springer-Verlag, 1985) [https://projecteuclid.org/euclid.pl/1235417263#toc], in particular, Makowsky, J. A. Chapter XVIII: Compactness, Embeddings and Definability. 645--716, see Theorems 4.5.9, 4.6.12 and Proposition 4.6.9. For compact logics for an extended notion of model see Ziegler, M. Chapter XV: Topological Model Theory. 557--577. For logics without the relativization property it is possible to have simultaneously compactness and interpolation, while the problem is still open for logics with relativization. See Xavier Caicedo, A Simple Solution to Friedman's Fourth Problem, J. Symbolic Logic, Volume 51, Issue 3 (1986), 778-784.{{doi|10.2307/2274031}} {{JSTOR|2274031}}</ref> ==History== [[Kurt Gödel]] proved the countable compactness theorem in 1930. [[Anatoly Maltsev]] proved the uncountable case in 1936.<ref>[[Robert Lawson Vaught|Vaught, Robert L.]]: "Alfred Tarski's work in model theory". ''Journal of Symbolic Logic'' 51 (1986), no. 4, 869–882</ref><ref>[[Abraham Robinson|Robinson, A.]]: ''Non-standard analysis''. North-Holland Publishing Co., Amsterdam 1966. page 48.</ref> ==Applications== The compactness theorem has many applications in model theory; a few typical results are sketched here. ===Robinson's principle=== The compactness theorem implies the following result, stated by [[Abraham Robinson]] in his 1949 dissertation. [[Robinson's principle]]:{{sfn|Marker|2002|pp=40-43}}{{sfn|Gowers|Barrow-Green|Leader|2008|pp=639-643}} If a first-order sentence holds in every [[Field (mathematics)|field]] of [[Characteristic (algebra)|characteristic]] zero, then there exists a constant <math>p</math> such that the sentence holds for every field of characteristic larger than <math>p.</math> This can be seen as follows: suppose <math>\varphi</math> is a sentence that holds in every field of characteristic zero. Then its negation <math>\lnot \varphi,</math> together with the field axioms and the infinite sequence of sentences <math display=block>1 + 1 \neq 0, \;\; 1 + 1 + 1 \neq 0, \; \ldots</math> is not [[Satisfiability|satisfiable]] (because there is no field of characteristic 0 in which <math>\lnot \varphi</math> holds, and the infinite sequence of sentences ensures any model would be a field of characteristic 0). Therefore, there is a finite subset <math>A</math> of these sentences that is not satisfiable. <math>A</math> must contain <math>\lnot \varphi</math> because otherwise it would be satisfiable. Because adding more sentences to <math>A</math> does not change unsatisfiability, we can assume that <math>A</math> contains the field axioms and, for some <math>k,</math> the first <math>k</math> sentences of the form <math>1 + 1 + \cdots + 1 \neq 0.</math> Let <math>B</math> contain all the sentences of <math>A</math> except <math>\lnot \varphi.</math> Then any field with a characteristic greater than <math>k</math> is a model of <math>B,</math> and <math>\lnot \varphi</math> together with <math>B</math> is not satisfiable. This means that <math>\varphi</math> must hold in every model of <math>B,</math> which means precisely that <math>\varphi</math> holds in every field of characteristic greater than <math>k.</math> This completes the proof. The [[Lefschetz principle]], one of the first examples of a [[transfer principle]], extends this result. A first-order sentence <math>\varphi</math> in the language of [[Ring (mathematics)|rings]] is true in {{em|some}} (or equivalently, in {{em|every}}) [[algebraically closed]] field of characteristic 0 (such as the [[complex number]]s for instance) if and only if there exist infinitely many primes <math>p</math> for which <math>\varphi</math> is true in {{em|some}} algebraically closed field of characteristic <math>p,</math> in which case <math>\varphi</math> is true in {{em|all}} algebraically closed fields of sufficiently large non-0 characteristic <math>p.</math>{{sfn|Marker|2002|pp=40-43}} One consequence is the following special case of the [[Ax–Grothendieck theorem]]: all [[injective map|injective]] [[Complex number|complex]] [[polynomial]]s <math>\Complex^n \to \Complex^n</math> are [[Surjective map|surjective]]{{sfn|Marker|2002|pp=40-43}} (indeed, it can even be shown that its inverse will also be a polynomial).<ref name=Tao2009AxGrothendieck>{{cite web|last=Terence|first=Tao|title=Infinite fields, finite fields, and the Ax-Grothendieck theorem|date=7 March 2009|url=https://terrytao.wordpress.com/2009/03/07/infinite-fields-finite-fields-and-the-ax-grothendieck-theorem/}}</ref> In fact, the surjectivity conclusion remains true for any injective polynomial <math>F^n \to F^n</math> where <math>F</math> is a finite field or the algebraic closure of such a field.<ref name=Tao2009AxGrothendieck /> ===Upward Löwenheim–Skolem theorem=== A second application of the compactness theorem shows that any theory that has arbitrarily large finite models, or a single infinite model, has models of arbitrary large [[cardinality]] (this is the [[Upward Löwenheim–Skolem theorem]]). So for instance, there are nonstandard models of [[Peano arithmetic]] with uncountably many 'natural numbers'. To achieve this, let <math>T</math> be the initial theory and let <math>\kappa</math> be any [[cardinal number]]. Add to the language of <math>T</math> one constant symbol for every element of <math>\kappa.</math> Then add to <math>T</math> a collection of sentences that say that the objects denoted by any two distinct constant symbols from the new collection are distinct (this is a collection of <math>\kappa^2</math> sentences). Since every {{em|finite}} subset of this new theory is satisfiable by a sufficiently large finite model of <math>T,</math> or by any infinite model, the entire extended theory is satisfiable. But any model of the extended theory has cardinality at least <math>\kappa</math>. ===Non-standard analysis=== A third application of the compactness theorem is the construction of [[Non-standard analysis|nonstandard models]] of the real numbers, that is, consistent extensions of the theory of the real numbers that contain "infinitesimal" numbers. To see this, let <math>\Sigma</math> be a first-order axiomatization of the theory of the real numbers. Consider the theory obtained by adding a new constant symbol <math>\varepsilon</math> to the language and adjoining to <math>\Sigma</math> the axiom <math>\varepsilon > 0</math> and the axioms <math>\varepsilon < \tfrac{1}{n}</math> for all positive integers <math>n.</math> Clearly, the standard real numbers <math>\R</math> are a model for every finite subset of these axioms, because the real numbers satisfy everything in <math>\Sigma</math> and, by suitable choice of <math>\varepsilon,</math> can be made to satisfy any finite subset of the axioms about <math>\varepsilon.</math> By the compactness theorem, there is a model <math>{}^* \R</math> that satisfies <math>\Sigma</math> and also contains an infinitesimal element <math>\varepsilon.</math> A similar argument, this time adjoining the axioms <math>\omega > 0, \; \omega > 1, \ldots,</math> etc., shows that the existence of numbers with infinitely large magnitudes cannot be ruled out by any axiomatization <math>\Sigma</math> of the reals.{{sfn|Goldblatt|1998|pages=[https://archive.org/details/lecturesonhyperr00gold_574/page/n12 10]–11}} It can be shown that the [[hyperreal number]]s <math>{}^* \R</math> satisfy the [[transfer principle]]:{{sfn|Goldblatt|1998|p=11}} a first-order sentence is true of <math>\R</math> if and only if it is true of <math>{}^* \R.</math> ==Proofs== One can prove the compactness theorem using [[Gödel's completeness theorem]], which establishes that a set of sentences is satisfiable if and only if no contradiction can be proven from it. Since [[mathematical proof|proof]]s are always finite and therefore involve only finitely many of the given sentences, the compactness theorem follows. In fact, the compactness theorem is equivalent to Gödel's completeness theorem, and both are equivalent to the [[Boolean prime ideal theorem]], a weak form of the [[axiom of choice]].<ref>See Hodges (1993).</ref> Gödel originally proved the compactness theorem in just this way, but later some "purely semantic" proofs of the compactness theorem were found; that is, proofs that refer to {{em|truth}} but not to {{em|provability}}. One of those proofs relies on [[ultraproduct]]s hinging on the axiom of choice as follows: '''Proof''': Fix a first-order language <math>L,</math> and let <math>\Sigma</math> be a collection of <math>L</math>-sentences such that every finite subcollection of <math>L</math>-sentences, <math>i \subseteq \Sigma</math> of it has a model <math>\mathcal{M}_i.</math> Also let <math display=inline>\prod_{i \subseteq \Sigma}\mathcal{M}_i</math> be the direct product of the structures and <math>I</math> be the collection of finite subsets of <math>\Sigma.</math> For each <math>i \in I,</math> let <math>A_i = \{j \in I : j \supseteq i\}.</math> The family of all of these sets <math>A_i</math> generates a proper [[Filter (set theory)|filter]], so there is an [[Ultrafilter (set theory)|ultrafilter]] <math>U</math> containing all sets of the form <math>A_i.</math> Now for any sentence <math>\varphi</math> in <math>\Sigma:</math> * the set <math>A_{\{\varphi\}}</math> is in <math>U</math> * whenever <math>j \in A_{\{\varphi\}},</math> then <math>\varphi \in j,</math> hence <math>\varphi</math> holds in <math>\mathcal M_j</math> * the set of all <math>j</math> with the property that <math>\varphi</math> holds in <math>\mathcal M_j</math> is a superset of <math>A_{\{\varphi\}},</math> hence also in <math>U</math> [[Ultraproduct#Łoś's theorem|Łoś's theorem]] now implies that <math>\varphi</math> holds in the [[ultraproduct]] <math display=inline>\prod_{i \subseteq \Sigma} \mathcal{M}_i/U.</math> So this ultraproduct satisfies all formulas in <math>\Sigma.</math> ==See also== * {{annotated link|Barwise compactness theorem}} * {{annotated link|Herbrand's theorem}} * {{annotated link|List of Boolean algebra topics}} * {{annotated link|Löwenheim–Skolem theorem}} ==Notes== {{reflist}} ==References== * {{cite book|last=Boolos|first=George|author2=Jeffrey, Richard|author3=Burgess, John|title=''Computability and Logic''|edition=fourth|year=2004|publisher=Cambridge University Press}} * {{cite book|last=Chang|first=C.C.|author2=Keisler, H. Jerome|author-link2=Howard Jerome Keisler|publisher=Elsevier|title=Model Theory|year=1989|edition=third|isbn=0-7204-0692-7}} * {{cite journal|last=Dawson|first=John W. junior|title=The compactness of first-order logic: From Gödel to Lindström|journal=History and Philosophy of Logic|year=1993|volume=14|pages=15–37|doi=10.1080/01445349308837208}} * {{cite book|last=Hodges|first=Wilfrid|author-link=Wilfrid Hodges|publisher=Cambridge University Press|title=Model theory|url=https://archive.org/details/modeltheory0000hodg|url-access=registration|year=1993|isbn=0-521-30442-3}} * {{cite book|last=Goldblatt|first=Robert|title=Lectures on the Hyperreals|url=https://archive.org/details/lecturesonhyperr00gold_574|url-access=limited|author-link=Robert Goldblatt|year=1998|publisher=Springer Verlag|location=New York|isbn=0-387-98464-X}} <!--{{sfn|Goldblatt|1998|p=}}--> * {{cite book|last1=Gowers|first1=Timothy|last2=Barrow-Green|first2=June|last3=Leader|first3=Imre|title=The Princeton Companion to Mathematics|publisher=Princeton University Press|publication-place=Princeton|year=2008|isbn=978-1-4008-3039-8|oclc=659590835|pages=635–646}} <!--{{sfn|Gowers|Barrow-Green|Leader|2008|p=}}--> * {{cite book|last=Marker|first=David|title= Model Theory: An Introduction|publisher=Springer|series=[[Graduate Texts in Mathematics]]|volume=217|year=2002|isbn=978-0-387-98760-6|oclc=49326991}} <!--{{sfn|Marker|2002|p=}}--> * {{cite journal|last=Robinson|first=J. A.|title=A Machine-Oriented Logic Based on the Resolution Principle|journal=Journal of the ACM|publisher=Association for Computing Machinery (ACM)|volume=12|issue=1|year=1965|issn=0004-5411|doi=10.1145/321250.321253|pages=23–41|s2cid=14389185|doi-access=free}} <!--{{sfn|Robinson|1965|pp=23–41}}--> * {{cite book|last=Truss|first=John K.|author-link=John Truss|title=Foundations of Mathematical Analysis|year=1997|publisher=Oxford University Press|isbn=0-19-853375-6}} ==External links== * [http://www.iep.utm.edu/compactness-theorem/ Compactness Theorem], ''[[Internet Encyclopedia of Philosophy]]''. {{Mathematical logic}} [[Category:Mathematical logic]] [[Category:Metatheorems]] [[Category:Model theory]] [[Category:Theorems in the foundations of mathematics]]
Edit summary
(Briefly describe your changes)
By publishing changes, you agree to the
Terms of Use
, and you irrevocably agree to release your contribution under the
CC BY-SA 4.0 License
and the
GFDL
. You agree that a hyperlink or URL is sufficient attribution under the Creative Commons license.
Cancel
Editing help
(opens in new window)
Pages transcluded onto the current version of this page
(
help
)
:
Template:Annotated link
(
edit
)
Template:Cite book
(
edit
)
Template:Cite journal
(
edit
)
Template:Cite web
(
edit
)
Template:Doi
(
edit
)
Template:Em
(
edit
)
Template:JSTOR
(
edit
)
Template:Mathematical logic
(
edit
)
Template:Mvar
(
edit
)
Template:Reflist
(
edit
)
Template:Sfn
(
edit
)
Template:Short description
(
edit
)