Share to: share facebook share twitter share wa share telegram print page

Finite model theory

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

Since many central theorems of model theory do not hold when restricted to finite structures, finite model theory is quite different from model theory in its methods of proof. Central results of classical model theory that fail for finite structures under finite model theory include the compactness theorem, Gödel's completeness theorem, and the method of ultraproducts for first-order logic (FO). While model theory has many applications to mathematical algebra, finite model theory 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 finite model theory are: descriptive complexity theory, database theory and formal language theory.

Axiomatisability

A common motivating question in finite model theory is whether a given class of structures can be described in a given language. For instance, one might ask whether the class of cyclic graphs can be distinguished among graphs by a FO sentence, which can also be phrased as asking whether cyclicity is FO-expressible.

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?

Single graphs (1) and (1') having common properties.

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?

Set of up to n structures.

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 ordered 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. 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.

Zero-one laws

Glebskiĭ et al. (1969) and, independently, Fagin (1976) proved a zero–one law for first-order sentences in finite models; Fagin's proof used the compactness theorem. According to this result, every first-order sentence in a relational signature is either almost always true or almost always false in finite -structures. That is, let S be a fixed first-order sentence, and choose a random -structure with domain , uniformly among all -structures with domain . Then in the limit as n tends to infinity, the probability that Gn models S will tend either to zero or to one:

The problem of determining whether a given sentence has probability tending to zero or to one is PSPACE-complete.[3]

A similar analysis has been performed for more expressive logics than first-order logic. The 0-1 law has been shown to hold for sentences in FO(LFP), first-order logic augmented with a least fixed point operator, and more generally for sentences in the infinitary logic , which allows for potentially arbitrarily long conjunctions and disjunctions. Another important variant is the unlabelled 0-1 law, where instead of considering the fraction of structures with domain , one considers the fraction of isomorphism classes of structures with n elements. This fraction is well-defined, since any two isomorphic structures satisfy the same sentences. The unlabelled 0-1 law also holds for and therefore in particular for FO(LFP) and first-order logic.[4]

Descriptive complexity theory

An important goal of finite model theory is the characterisation of complexity classes by the type of logic needed to express the languages in them. For example, PH, the union of all complexity classes in the polynomial hierarchy, is precisely the class of languages expressible by statements of second-order logic. This connection between complexity and the logic of finite structures allows results to be transferred easily from one area to the other, facilitating new proof methods and providing additional evidence that the main complexity classes are somehow "natural" and not tied to the specific abstract machines used to define them.

Specifically, each logical system produces a set of queries expressible in it. The queries – when restricted to finite structures – correspond to the computational problems of traditional complexity theory.

Some well-known complexity classes are captured by logical languages as follows:

  • In the presence of a linear order, first-order logic with a commutative, transitive closure operator added yields L, problems solvable in logarithmic space.
  • In the presence of a linear order, first-order logic with a transitive closure operator yields NL, the problems solvable in nondeterministic logarithmic space.
  • In the presence of a linear order, first-order logic with a least fixed point operator gives P, the problems solvable in deterministic polynomial time.
  • On all finite structures (regardless of whether they are ordered), Existential second-order logic gives NP (Fagin's theorem).[5]

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 × LAST_NAME. The FO query , 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 , 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 SQL: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:

("Java" AND NOT "island") OR ("C#" AND NOT "music")

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. ^ Fagin, Ronald (1993). "Finite-model theory – a personal perspective" (PDF). Theoretical Computer Science. 116: 3–31. doi:10.1016/0304-3975(93)90218-I. Archived from the original on 2021-06-23. Retrieved 2023-07-20.{{cite journal}}: CS1 maint: bot: original URL status unknown (link)
  2. ^ Immerman, Neil (1999). Descriptive Complexity. New York: Springer-Verlag. p. 6. ISBN 0-387-98600-6.
  3. ^ Grandjean, Etienne (1983). "Complexity of the first-order theory of almost all finite structures". Information and Control. 57 (2–3): 180–204. doi:10.1016/S0019-9958(83)80043-6.
  4. ^ Ebbinghaus, Heinz-Dieter; Flum, Jörg (1995). "4". Finite Model Theory. Perspectives in Mathematical Logic. doi:10.1007/978-3-662-03182-7. ISBN 978-3-662-03184-1.
  5. ^ Ebbinghaus, Heinz-Dieter; Flum, Jörg (1995). "7". Finite Model Theory. Perspectives in Mathematical Logic. doi:10.1007/978-3-662-03182-7.

References

  • Fagin, Ronald (1976). "Probabilities on Finite Models". The Journal of Symbolic Logic. 41 (1): 50–58. doi:10.2307/2272945. JSTOR 2272945.
  • Glebskiĭ, Yu V.; Kogan, D. I.; Liogon'kiĭ, M. I.; Talanov, V. A. (1969). "Объем и доля выполнимости формул узкого исчисления предикатов" [Volume and fraction of satisfiability of formulae of the first-order predicate calculus]. Kibernetika. 5 (2): 17–27. Also available as;"Range and degree of realizability of formulas in the restricted predicate calculus". Cybernetics. 5 (2): 142–154. 1972. doi:10.1007/BF01071084.
  • Libkin, Leonid (2004). Elements of Finite Model Theory. Springer. ISBN 3-540-21202-7.

Further reading

External links

Read other articles:

У Вікіпедії є статті про інші значення цього терміна: 17-та бригада. 17-та окрема танкова бригада(з 2003) 17-та танкова дивізія(1992—2003) Нарукавний знак бригади, 2019 рікНа службі 1992—дотеперКраїна  УкраїнаВид Сухопутні військаТип  Танкові військаЧисельність бригадаУ склад

Svenska cupen 2006 (bandy)Datum24 januari-15 oktober 2006VärdskapLand SverigePlaceringar GuldSandvikens AIK SilverEdsbyns IF← 2005 2007 → Svenska cupen i bandy 2006 vanns av Sandvikens AIK, efter seger med 7-3 mot Edsbyns IF i finalmatchen. Edsbyns IF var i egenskap av regerande mästare direktkvalificerade till slutomgångarna i Edsbyn Arena i Edsbyn under perioden 12-15 oktober 2006. Kvalspel 24 januari 2006: Västanfors IF-Falu BS 2-3 24 januari 2006: Ale-Surte BK-IFK Motala…

BaugycomuneBaugy – Veduta LocalizzazioneStato Francia Regione Borgogna-Franca Contea Dipartimento Saona e Loira ArrondissementCharolles CantoneParay-le-Monial TerritorioCoordinate46°17′55″N 4°01′42″E / 46.298611°N 4.028333°E46.298611; 4.028333 (Baugy)Coordinate: 46°17′55″N 4°01′42″E / 46.298611°N 4.028333°E46.298611; 4.028333 (Baugy) Altitudine256 m s.l.m. Superficie12,72 km² Abitanti519[1] (2009)…

Teh min Maroko Teh min maroko adalah teh khas Maroko yang dicampur dengan daun min. Penyajian Teh min Maroko umumnya disajikan oleh keluarga-keluarga di Maroko. Jenis teh min maroko termasuk teh hijau dan memiliki manfaat bagi kesehatan.[1] Referensi ^ Lubis, Ena (2008). Hidangan Favorit ala Timur Tengah. Jakarta Selatan: Penerbit Hikmah. hlm. 68. ISBN 978-979-114-221-2.  Parameter |url-status= yang tidak diketahui akan diabaikan (bantuan)

Lurais Entidad subnacional LuraisLocalización de Lurais en Francia Coordenadas 46°42′16″N 0°57′02″E / 46.704444444444, 0.95055555555556Entidad Comuna de Francia • País  Francia • Región Centro • Departamento Indre • Distrito distrito de Le Blanc • Cantón cantón de Tournon-Saint-Martin • Mancomunidad Communauté de communes Brenne Val de CreuseAlcalde Alain Jacquet(2008-2014)Superficie   • Total 13.61 km²Al…

Гава́нська архідіоце́зіялат. Archidioecesis Avanensisісп. Arquidiócesis de San Cristóbal de la Habana Гаванський соборГаванський соборЦерква Католицька церкваОбряд римський обрядКраїна  КубаТериторія Гавани, Артеміської і Маябекеської провінцій Куби, а також острів ПіносПровінція ГаванськаГол

هذه المقالة يتيمة إذ تصل إليها مقالات أخرى قليلة جدًا. فضلًا، ساعد بإضافة وصلة إليها في مقالات متعلقة بها. (نوفمبر 2019) ميخائيل بومان معلومات شخصية تاريخ الميلاد 14 فبراير 1950[1]  تاريخ الوفاة 2 أكتوبر 2019 (69 سنة) [1]  مواطنة الولايات المتحدة  الحياة العملية المدرسة ا

فيلق القوات البرية الأمريكي الهندسي   الدولة الولايات المتحدة الإنشاء 1775-الآن الولاء القوات البرية للولايات المتحدة الحجم 37,000 civilian and military (approx. 2%) members المقر الرئيسي واشنطن العاصمة شعار نصي ألوان    القرمزي و الأبيض الموقع الرسمي www.USACE.Army.mil تعديل مصدري - تعديل   فيلق…

Deutsche Ultramobilgesellschaft Rechtsform Gesellschaft mit beschränkter Haftung Gründung 1903 Auflösung 1908 Auflösungsgrund Konkurs Sitz Berlin-Halensee, Deutschland Branche Automobilhersteller Werbeanzeige der Deutschen Ultramobilgesellschaft in der Zeitschrift Die Woche vom 22. Oktober 1904 Technische Daten Ultramobil von 1906 Die Deutsche Ultramobilgesellschaft war ein Automobilhersteller, der zwischen 1903 und 1908 in Berlin-Halensee ansässig war. Inhaltsverzeichnis 1 Unternehmensgesc…

Podostemaceae Mourera fluviatilis Klasifikasi ilmiah Kerajaan: Plantae Divisi: Angiospermae (tanpa takson): Eudikotil (tanpa takson): Rosidae Ordo: Malpighiales Famili: Podostemaceae Genera Lihat teks Podostemaceae adalah salah satu suku anggota tumbuhan berbunga. Menurut Sistem klasifikasi APG II suku ini dimasukkan ke dalam bangsa Malpighiales, klad euRosidae I. Wikimedia Commons memiliki media mengenai Podostemaceae. Pengidentifikasi takson Wikidata: Q132061 Wikispecies: Podostemaceae APNI: 5…

Red NicholsInformasi latar belakangNama lahirErnest Loring NicholsLahir(1905-05-08)8 Mei 1905Ogden, Utah USAMeninggal28 Juni 1965(1965-06-28) (umur 60)Las Vegas, Nevada USAGenreJazzPekerjaanCornettist, Bandleader, ComposerInstrumenCornetArtis terkaitCalifornia RamblersPaul Whiteman Red Nichols (8 Mei 1905 – 28 Juni 1965) adalah musikus jazz berkebangsaan Amerika Serikat. Pengawasan otoritas Umum Integrated Authority File (Jerman) ISNI 1 VIAF 1 WorldCat Perpustakaan nasional …

Investment promotion agency This article needs additional citations for verification. Please help improve this article by adding citations to reliable sources. Unsourced material may be challenged and removed.Find sources: Board of Investment of Sri Lanka – news · newspapers · books · scholar · JSTOR (January 2018) (Learn how and when to remove this template message) Board of Investment of Sri Lankaශ්‍රී ලංකා ආයෝජන මණ්ඩ…

Partido Comunista de la República Socialista Soviética de BielorrusiaКоммунисти́ческая па́ртия Белорусской ССР (ruso)Камуністычная партыя Беларускай ССР (bielorruso) Primer Secretario Aleksándr Miasnikián (primero)Anatoli Maloféyev (último)Fundación 30 de diciembre de 1918Disolución 25 de agosto de 1991Escisión de PCUSEslogan ¡Proletarios de todos los países, uníos! (пралета́рыі ўсіх краі́н, я…

Cet article est une ébauche concernant le chemin de fer et la Belgique. Vous pouvez partager vos connaissances en l’améliorant (comment ?) selon les recommandations des projets correspondants. Société anonyme des usines métallurgiques du Hainaut Panorama des usines vers 1925. Création 15 octobre 1907 Disparition 1955 Forme juridique Société anonyme (d) Siège social Couillet Activité Sidérurgie, constructeur ferroviaire et industrie métallurgique (d)[1] Société précédente S…

Artikel ini sebatang kara, artinya tidak ada artikel lain yang memiliki pranala balik ke halaman ini.Bantulah menambah pranala ke artikel ini dari artikel yang berhubungan atau coba peralatan pencari pranala.Tag ini diberikan pada Desember 2022. Manilal DwivediManilal DwivediLahirManilal Nabhubhai Dwivedi(1858-09-26)26 September 1858Nadiad, kepresidenan Bombay, India BritaniaMeninggal1 Oktober 1898(1898-10-01) (umur 40)Nadiad, kepresidenan Bombay, India BritaniaPekerjaanpenulis, penyair, no…

American video game publisher Gotham Games, Inc.TypeSubsidiaryIndustryVideo gamesFoundedJuly 22, 2002; 21 years ago (2002-07-22)FounderJamie LeeceDefunctDecember 18, 2003; 19 years ago (2003-12-18)FateDissolvedHeadquartersNew York City, USKey peopleJamie Leece (president)ParentTake-Two Interactive Gotham Games, Inc. was an American video game publisher based in New York City. Founded in July 2002 and headed by Jamie Leece, the company was shut down in December…

Indian Tamil-language soap opera RajiniGenreDramaWritten byDialogues KrithikaScreenplay bySargunam PungarajDirected byVaithi(2021)Zaheer hussainK.Rajeev PrasadS.S. Saravanan (2022)Y.V. Ramana Moorthy(2022)A.Manjunathan(2022-2023)StarringShreya Anchan Arun CrizerTheme music composerSai BharathOpening themeOli Vidum Sudar Nee..Country of originIndiaOriginal languageTamilNo. of seasons1No. of episodes435ProductionExecutive producerChitra P.SProducersAnbu Aran Aran HariEditorsShanmuga velu Ravindhir…

Musical genre This article is about music by women, for women, and about women. For women in music in general, see Women in music. Women's music is music by women, for women, and about women.[1] The genre emerged as a musical expression of the second-wave feminist movement[2] as well as the labor, civil rights, and peace movements.[3] The movement (in the USA) was started by lesbian performers such as Cris Williamson, Meg Christian and Margie Adam, African-American musici…

 Nota: Para outras personalidades e usos do nome, veja Fernando Torres (desambiguação). Fernando Torres Torres em 2017 Informações pessoais Nome completo Fernando José Torres Sanz Data de nasc. 20 de março de 1984 (39 anos) Local de nasc. Fuenlabrada, Madrid, Espanha Nacionalidade espanhol Altura 1,86 m Pé destro Apelido El Niño Informações profissionais Clube atual Atlético de Madrid Sub-19 Posição ex-centroavante Função treinador Site oficial www.fernando9torres.c…

Japanese manga magazine BetsucomiThe cover of the December 2007 issue of BetsucomiCategoriesShōjo manga[1][2]FrequencyMonthlyCirculation41,000[2](July–September 2016)Founded1970CompanyShogakukanCountryJapanBased inTokyoLanguageJapaneseWebsitebetsucomi.shogakukan.co.jp Betsucomi (ベツコミ, Betsukomi), known as Bessatsu Shōjo Comic (別冊少女コミック, Bessatsu Shōjo Komikku) before 2000, is a monthly Japanese shōjo manga magazine published by Shogakukan. It…

Kembali kehalaman sebelumnya

Lokasi Pengunjung: 3.149.26.40