Movatterモバイル変換


[0]ホーム

URL:


Jump to content
WikipediaThe Free Encyclopedia
Search

Spectrum of a sentence

From Wikipedia, the free encyclopedia
Term in mathematical logic

Inmathematical logic, thespectrum of a sentence is theset ofnatural numbers occurring as the size of afinite model in which a givensentence is true. By a result indescriptive complexity, a set of natural numbers is a spectrum if and only if it can be recognized innon-deterministic exponential time.

Definition

[edit]

Letψ be a sentence infirst-order logic. Thespectrum ofψ is the set of natural numbersn such that there is a finite model forψ withn elements.

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

Examples

[edit]

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

a+z=a=z+a  az=z=za  a+d=z{\displaystyle a+z=a=z+a~\land ~a\cdot z=z=z\cdot a~\land ~a+d=z}
 a+b=b+a  a(b+c)=ab+ac  (a+b)+c=a+(b+c){\displaystyle \land ~a+b=b+a~\land ~a\cdot (b+c)=a\cdot b+a\cdot c~\land ~(a+b)+c=a+(b+c)}
 ao=a=oa  ae=o  (ab)c=a(bc){\displaystyle \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{pnp prime,nN}{\displaystyle \{p^{n}\mid p{\text{ prime}},n\in \mathbb {N} \}}, the set of powers of aprime number. Indeed, withz{\displaystyle z} for0{\displaystyle 0} ando{\displaystyle o} for1{\displaystyle 1}, this sentence describes the set offields; thecardinality of afinite field is the power of a prime number.

Descriptive complexity

[edit]

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

As a corollary, Jones andSelman showed that a set is a spectrum if and only if it is in the complexity classNEXP.[1]

One direction of the proof is to show that, for every first-order formulaφ{\displaystyle \varphi }, the problem of determining whether there is a model of the formula ofcardinalityn is equivalent to theproblem of satisfying a formula of size polynomial inn, which is in NP(n) and thus in NEXP of the input to the problem (the numbern in binary form, which is a string of size log(n)).

This is done by replacing everyexistential quantifier inφ{\displaystyle \varphi } withdisjunction over all the elements in the model and replacing everyuniversal quantifier withconjunction over all the elements in the model. Now every predicate is on elements in the model, and finally every appearance of a predicate on specific elements is replaced by a new propositional variable. Equalities are replaced by their truth values according to their assignments.

For example:

xy(P(x)P(y))(x=y){\displaystyle \forall {x}\forall {y}\left(P(x)\wedge P(y)\right)\rightarrow (x=y)}

For a model of cardinality 2 (i.e.n= 2) is replaced by

((P(a1)P(a1))(a1=a1))((P(a1)P(a2))(a1=a2))((P(a2)P(a1))(a2=a1))((P(a2)P(a2))(a2=a2)){\displaystyle {\big (}\left(P(a_{1})\wedge P(a_{1})\right)\rightarrow (a_{1}=a_{1}){\big )}\wedge {\big (}\left(P(a_{1})\wedge P(a_{2})\right)\rightarrow (a_{1}=a_{2}){\big )}\wedge {\big (}\left(P(a_{2})\wedge P(a_{1})\right)\rightarrow (a_{2}=a_{1}){\big )}\wedge {\big (}\left(P(a_{2})\wedge P(a_{2})\right)\rightarrow (a_{2}=a_{2}){\big )}}

Which is then replaced by((p1p1))((p1p2))((p2p1))((p2p2)){\displaystyle {\big (}\left(p_{1}\wedge p_{1}\right)\rightarrow \top {\big )}\wedge {\big (}\left(p_{1}\wedge p_{2}\right)\rightarrow \bot {\big )}\wedge {\big (}\left(p_{2}\wedge p_{1}\right)\rightarrow \bot {\big )}\wedge {\big (}\left(p_{2}\wedge p_{2}\right)\rightarrow \top {\big )}}

where{\displaystyle \top } is truth,{\displaystyle \bot } is falsity, andp1{\displaystyle p_{1}},p2{\displaystyle p_{2}} are propositional variables.In this particular case, the last formula is equivalent to¬(p1p2){\displaystyle \neg (p_{1}\wedge p_{2})}, which is satisfiable.

The other direction of the proof is to show that, for every set of binary strings accepted by a non-deterministic Turing machine running in exponential time (2cx{\displaystyle 2^{cx}} for input length x), there is a first-order formulaφ{\displaystyle \varphi } such that the set of numbers represented by these binary strings are the spectrum ofφ{\displaystyle \varphi }.

Jones and Selman mention that the spectrum of first-order formulas without equality is just the set of all natural numbers not smaller than some minimal cardinality.

Other properties

[edit]

The set of spectra of a theory is closed underunion,intersection, addition, and multiplication. In full generality, it is not known if the set of spectra of a theory is closed by complementation; this is the so-called Asser's problem. By the result of Jones and Selman, it is equivalent to the problem of whether NEXPTIME = co-NEXPTIME; that is, whether NEXPTIME is closed under complementation.[2]

See also

[edit]

References

[edit]
  1. ^Jones, Neil D.;Selman, Alan L. (1974). "Turing machines and the spectra of first-order formulas".J. Symb. Log.39 (1):139–150.doi:10.2307/2272354.JSTOR 2272354.Zbl 0288.02021.
  2. ^Szwast, Wiesław (1990). "On the generator problem".Zeitschrift für Mathematische Logik und Grundlagen der Mathematik.36 (1):23–27.doi:10.1002/malq.19900360105.MR 1030536.
General
Theorems (list)
 and paradoxes
Logics
Traditional
Propositional
Predicate
Set theory
Types ofsets
Maps and cardinality
Set theories
Formal systems (list),
language and syntax
Example axiomatic
systems
 (list)
Proof theory
Model theory
Computability theory
Related
Retrieved from "https://en.wikipedia.org/w/index.php?title=Spectrum_of_a_sentence&oldid=1308596778"
Categories:
Hidden categories:

[8]ページ先頭

©2009-2025 Movatter.jp