first-order theory
In what follows, references to sentences and sets of sentences areall relative to some fixed first-order language .
Definition. A theory is a deductivelyclosed set of sentences in ; that is, a set such that for eachsentence , only if .
Remark. Some authors do not require that a theory be deductively closed. Therefore, a theory is simply a set of sentences. This is not a cause for alarm, since every theory under this definition can be “extended” to a deductively closed theory . Furthermore, is unique (it is the smallest deductively closed theory including ), and any structure is a model of iff it is a model of .
Definition. A theory is consistent if and onlyif for some sentence , .Otherwise, is inconsistent. A sentence is consistent with if and only if thetheory is consistent.
Definition. A theory is complete if and onlyif is consistent and for each sentence , either or .
Lemma. A consistent theory is complete if and only if ismaximally consistent. That is, is complete if and only if foreach sentence , only if is inconsistent. See this entry (http://planetmath.org/MaximallyConsistent) for a proof.
Theorem. (Tarski) Every consistent theory is includedin a complete theory.
Proof : Use Zorn’s lemma on the set of consistenttheories that include .
Remark. A theory is axiomatizable if and onlyif includes a decidable (http://planetmath.org/DecidableSet) subset such that (every sentence of is a logical consequence of), and finitely axiomatizable if can be made finite. Every complete axiomatizable theory is decidable;that is, there is an algorithm that given a sentence asinput yields if , and otherwise.