Spectrum of a sentence

In mathematical logic, the spectrum of a sentence is the set of natural numbers occurring as the size of a finite model in which a given sentence is true.

Definition

Let ψ be a sentence in first-order logic. The spectrum of ψ is the set of natural numbers n such that there is a finite model for ψ with n elements.

If the vocabulary for ψ consists of relational symbols, then ψ can be regarded as a sentence in existential second-order logic (ESOL) quantified over the relations, over the empty vocabulary. A generalised spectrum is the set of models of a general ESOL sentence.

Examples

\exists z,o ~ \forall a,b,c ~ \exists d,e

a+z=a=z+a ~ \land~ a\cdot z=z=z\cdot a ~ \land~ a+d=z
\land~ a+b=b+a ~ \land~ a\cdot(b+c)=a\cdot b+a\cdot c ~ \land~(a+b)+c=a+(b+c)
\land~ a\cdot o=a=o\cdot a ~ \land~ a\cdot e=o ~\land~ (a\cdot b)\cdot c=a\cdot (b\cdot c)

is \{p^{n}\mid p \text{ prime}, n\in\mathbb{N}\}, the set of power of a prime number. Indeed, with z for 0 and o for 1, this sentence describes the set of fields; the cardinal of a finite field is the power of a prime number.

Properties

Fagin's theorem is a result in descriptive complexity theory that states that the set of all properties expressible in existential second-order logic is precisely the complexity class NP. It is remarkable since it is a characterization of the class NP that does not invoke a model of computation such as a Turing machine. The theorem was proven by Ronald Fagin in 1974 (strictly, in 1973 in his doctoral thesis).

As a corollary we have a result of Jones and Selman, that a set is a spectrum if and only if it is in the complexity class NE (complexity).

The set of spectra of a theory is closed by union, intersection, addition, multiplication. In full generality, it is not known if the set of spectra of a theory is closed by complementation, it is the so-called Asser's Problem.

See also

References

External links


This article is issued from Wikipedia - version of the Monday, September 14, 2015. The text is available under the Creative Commons Attribution/Share Alike but additional terms may apply for the media files.