请输入您要查询的百科知识:

 

词条 Finite model theory
释义

  1. Basic challenges

     Characterisation of a single structure  Problem  Approach  Extension to a fixed number of Structures  Extension to an infinite structure  Characterisation of a class of structures  Problem  Approach  Example 

  2. Applications

     Database theory  Querying and search 

  3. History

  4. Citations

  5. References

  6. Further reading

  7. External links

Finite model theory (FMT) is a subarea of model theory (MT). MT is the branch of mathematical logic which deals with the relation between a formal language (syntax) and its interpretations (semantics). FMT is a restriction of MT to interpretations on finite structures, which have a finite universe.

  • Since many central theorems of MT do not hold when restricted to finite structures, FMT is quite different from MT in its methods of proof. Central results of classical model theory that fail for finite structures include the compactness theorem, Gödel's completeness theorem, and the method of ultraproducts for first-order logic (FO).
  • As MT is closely related to mathematical algebra, FMT became an "unusually effective"[1] instrument in computer science. In other words: "In the history of mathematical logic most interest has concentrated on infinite structures....Yet, the objects computers have and hold are always finite. To study computation we need a theory of finite structures."[2] Thus the main application areas of FMT are: descriptive complexity theory, database theory and formal language theory.
  • FMT is mainly about discrimination of structures. The usual motivating question is whether a given class of structures can be described (up to isomorphism) in a given language. For instance, can all cyclic graphs be discriminated (from the non-cyclic ones) by a sentence of the first-order logic of graphs? This can also be phrased as: is the property "cyclic" FO expressible?

Basic challenges

A single finite structure can always be axiomatized in first-order logic, where axiomatized in a language L means described uniquely up to isomorphism by a single L-sentence. Similarly, any finite collection of finite structures can always be axiomatized in first-order logic. Some, but not all, infinite collections of finite structures can also be axiomatized by a single first-order sentence.

Characterisation of a single structure

Is a language L expressive enough to axiomatize a single finite structure S?

Problem

A structure like (1) in the figure can be described by FO sentences in the logic of graphs like

  1. Every node has an edge to another node:
  2. No node has an edge to itself:
  3. There is at least one node that is connected to all others:

However, these properties do not axiomatize the structure, since for structure (1') the above properties hold as well, yet structures (1) and (1') are not isomorphic.

Informally the question is whether by adding enough properties, these properties together describe exactly (1) and are valid (all together) for no other structure (up to isomorphism).

Approach

For a single finite structure it is always possible to precisely describe the structure by a single FO sentence. The principle is illustrated here for a structure with one binary relation and without constants:

  1. say that there are at least elements:
  2. say that there are at most elements:
  3. state every element of the relation :
  4. state every non-element of the relation :

all for the same tuple , yielding the FO sentence .

Extension to a fixed number of Structures

The method of describing a single structure by means of a first-order sentence can easily be extended for any fixed number of structures. A unique description can be obtained by the disjunction of the descriptions for each structure. For instance, for two structures and with defining sentences and this would be

Extension to an infinite structure

By definition, a set containing an infinite structure falls outside the area that FMT deals with. Note that infinite structures can never be discriminated in FO, because of the Löwenheim–Skolem theorem, which implies that no first-order theory with an infinite model can have a unique model up to isomorphism.

The most famous example is probably Skolem's theorem, that there is a countable non-standard model of arithmetic.

Characterisation of a class of structures

Is a language L expressive enough to describe exactly (up to isomorphism) those finite structures that have certain property P?

Problem

The descriptions given so far all specify the number of elements of the universe. Unfortunately most interesting sets of structures are not restricted to a certain size, like all graphs that are trees, are connected or are acyclic. Thus to discriminate a finite number of structures is of special importance.

Approach

Instead of a general statement, the following is a sketch of a methodology to differentiate between structures that can and cannot be discriminated.

1. The core idea is that whenever one wants to see if a Property P can be expressed in FO, one chooses structures A and B, where A does have P and B doesn't. If for A and B the same FO sentences hold, then P cannot be expressed in FO. In short:

and

where is shorthand for for all FO-sentences α, and P represents the class of structures with property P.

2. The methodology considers countably many subsets of the language, the union of which forms the language itself. For instance, for FO consider classes FO[m] for each m. For each m the above core idea then has to be shown. That is:

and

with a pair for each and α (in ≡) from FO[m]. It may be appropriate to choose the classes FO[m] to form a partition of the language.

3. One common way to define FO[m] is by means of the quantifier rank qr(α) of a FO formula α, which expresses the depth of quantifier nesting. For example, for a formula in prenex normal form, qr is simply the total number of its quantifiers. Then FO[m] can be defined as all FO formulas α with qr(α) ≤ m (or, if a partition is desired, as those FO formulas with quantifier rank equal to m).

4. Thus it all comes down to showing on the subsets FO[m]. The main approach here is to use the algebraic characterization provided by Ehrenfeucht–Fraïssé games. Informally, these take a single partial isomorphism on A and B and extend it m times, in order to either prove or disprove , dependent on who wins the game.

Example

We want to show that the property that the size of an orderered structure A=(A, ≤) is even, can not be expressed in FO.

1. The idea is to pick A ∈ EVEN and B ∉ EVEN, where EVEN is the class of all structures of even size.

2. We start with two ordered structures A2 and B2 with universes A2 = {1, 2, 3, 4} and B2 = {1, 2, 3}. Obviously A2 ∈ EVEN and B2 ∉ EVEN.

3. For m = 2, we can now show* that in a 2-move Ehrenfeucht–Fraïssé game on A2 and B2 the duplicator always wins, and thus A2 and B2 cannot be discriminated in FO[2], i.e. A2 α ⇔ B2 α for every α ∈ FO[2].

4. Next we have to scale the structures up by increasing m. For example, for m = 3 we must find an A3 and B3 such that the duplicator always wins the 3-move game. This can be achieved by A3 = {1, ..., 8} and B3 = {1, ..., 7}. More generally, we can choose Am = {1, ..., 2m} and Bm = {1, ..., 2m-1}; for any m the duplicator always wins the m-move game for this pair of structures*.

5. Thus EVEN on finite ordered structures cannot be expressed in FO.

(*) Note that the proof of the result of the Ehrenfeucht–Fraïssé game has been omitted, since it is not the main focus here.

Applications

Database theory

A substantial fragment of SQL (namely that which is effectively relational algebra) is based on first-order logic (more precisely can be translated in domain relational calculus by means of Codd's theorem), as the following example illustrates: Think of a database table "GIRLS" with the columns "FIRST_NAME" and "LAST_NAME". This corresponds to a binary relation, say G(f, l) on FIRST_NAME X LAST_NAME. The FO query {l : G('Judy', l)}, which returns all the last names where the first name is 'Judy', would look in SQL like this:

 select LAST_NAME  from GIRLS where FIRST_NAME = 'Judy'

Notice, we assume here, that all last names appear only once (or we should use SELECT DISTINCT since we assume that relations and answers are sets, not bags).

Next we want to make a more complex statement. Therefore, in addition to the "GIRLS" table we have a table "BOYS" also with the columns "FIRST_NAME" and "LAST_NAME". Now we want to query the last names of all the girls that have the same last name as at least one of the boys. The FO query is {(f,l) : ∃h ( G(f, l) ∧ B(h, l) )}, and the corresponding SQL statement is:

 select FIRST_NAME, LAST_NAME  from GIRLS where LAST_NAME IN ( select LAST_NAME from BOYS );

Notice that in order to express the "∧" we introduced the new language element "IN" with a subsequent select statement. This makes the language more expressive for the price of higher difficulty to learn and implement. This is a common trade-off in formal language design. The way shown above ("IN") is by far not the only one to extend the language. An alternative way is e.g. to introduce a "JOIN" operator, that is:

 select distinct g.FIRST_NAME, g.LAST_NAME  from GIRLS g, BOYS b where g.LAST_NAME=b.LAST_NAME;

First-order logic is too restrictive for some database applications, for instance because of its inability to express transitive closure. This has led to more powerful constructs being added to database query languages, such as recursive WITH in 1999. More expressive logics, like fixpoint logics, have therefore been studied in finite model theory because of their relevance to database theory and applications.

Querying and search

Narrative data contains no defined relations. Thus the logical structure of text search queries can be expressed in Propositional Logic, like in:

Note that the challenges in full text search are different from database querying, like ranking of results.

History

  • Trakhtenbrot 1950: failure of completeness theorem in first-order logic,
  • Scholz 1952: characterisation of spectra in first-order logic,
  • Fagin 1974: the set of all properties expressible in existential second-order logic is precisely the complexity class NP,
  • Chandra, Harel 1979/80: fixed-point first-order logic extension for database query languages capable of expressing transitive closure -> queries as central objects of FMT.
  • Immerman, Vardi 1982: fixed-point logic over ordered structures captures PTIME -> descriptive complexity (... Immerman–Szelepcsényi theorem)
  • Ebbinghaus, Flum 1995: First comprehensive book "Finite Model Theory"
  • Abiteboul, Hull, Vianu 1995: Book "Foundations of Databases"
  • Immerman 1999: Book "Descriptive Complexity"
  • Kuper, Libkin, Paredaens 2000: Book "Constraint Databases"
  • Darmstadt 2005/ Aachen 2006: first international workshops on "Algorithmic Model Theory"

Citations

1. ^{{cite journal|last=Fagin|first=Ronald|authorlink=Ronald Fagin|title=Finite-model theory – a personal perspective|year=1993|journal=Theoretical Computer Science|volume=116|pages=3–31|doi=10.1016/0304-3975(93)90218-I|url=http://researcher.ibm.com/researcher/files/us-fagin/tcs93.pdf}}
2. ^{{cite book | last = Immerman | first = Neil | authorlink = Neil Immerman | title = Descriptive Complexity | year = 1999 | publisher = Springer-Verlag | location = New York | isbn = 0-387-98600-6 | page = 6}}

References

  • {{cite book

| last1=Ebbinghaus
| first1=Heinz-Dieter
| authorlink1=Heinz-Dieter Ebbinghaus
| last2=Flum
| first2=Jörg
| title=Finite Model Theory
| publisher=Springer
| isbn=978-3-540-60149-4
| year=1995}}
  • {{cite book

|last=Libkin
|first=Leonid
|authorlink=Leonid Libkin
|title=Elements of Finite Model Theory
|publisher=Springer
|isbn=3-540-21202-7
|year=2004}}
  • {{cite book

| last1=Abiteboul
| first1=Serge
| authorlink1=Serge Abiteboul
| last2=Hull
| first2=Richard
| last3=Vianu
| first3=Victor
| title=Foundations of Databases
| publisher=Addison-Wesley
| isbn=0-201-53771-0
| year=1995}}
  • {{cite book

| last = Immerman
| first = Neil
| authorlink = Neil Immerman
| title = Descriptive Complexity
| year = 1999
| publisher = Springer
| location = New York
| isbn = 0-387-98600-6}}

Further reading

  • {{cite book | last1=Grädel | first1=Erich | last2=Kolaitis | first2=Phokion G. | last3=Libkin | first3=Leonid | author3-link=Leonid Libkin | last4=Maarten | first4=Marx | last5=Spencer | first5=Joel | author5-link=Joel Spencer | last6=Vardi | first6=Moshe Y. | author6-link=Moshe Y. Vardi | last7=Venema | first7=Yde | last8=Weinstein | first8=Scott | title=Finite model theory and its applications | zbl=1133.03001 | series=Texts in Theoretical Computer Science. An EATCS Series | location=Berlin | publisher=Springer-Verlag | isbn=978-3-540-00428-8 | year=2007 }}

External links

{{wikibooks|Finite Model Theory}}
  • {{cite conference

|first=Leonid
|last=Libkin
|authorlink=Leonid Libkin
|contribution-url=http://homepages.inf.ed.ac.uk/libkin/papers/fmtpods09.pdf
|title=The finite model theory toolbox of a database theoretician
|year=2009
|booktitle=PODS 2009: Proceedings of the twenty-eighth ACM SIGACT–SIGMOD symposium on Principles of database systems
|pages=65–76
|doi=10.1145/1559795.1559807}} Also suitable as a general introduction and overview.
  • Leonid Libkin. [https://www.springer.com/cda/content/document/cda_downloaddocument/9783540212027-c1.pdf Introductory chapter of "Elements of Finite Model Theory"]. Motivates three main application areas: databases, complexity and formal languages.
  • Jouko Väänänen. A Short Course on Finite Model Theory. Department of Mathematics, University of Helsinki. Based on lectures from 1993-1994.
  • Anuj Dawar. Infinite and Finite Model Theory, slides, University of Cambridge, 2002.
  • {{cite web

|url=http://www-mgi.informatik.rwth-aachen.de/FMT/index.html.en
|title=Algorithmic Model Theory
|publisher=RWTH Aachen
|accessdate=7 November 2013}} Includes a list of open FMT problems.{{Mathematical logic}}

2 : Finite model theory|Model theory

随便看

 

开放百科全书收录14589846条英语、德语、日语等多语种百科知识,基本涵盖了大多数领域的百科知识,是一部内容自由、开放的电子版国际百科全书。

 

Copyright © 2023 OENC.NET All Rights Reserved
京ICP备2021023879号 更新时间:2024/11/11 0:43:26