Fixed-point logic

In mathematical logic, fixed-point logics are extensions of classical predicate logic that have been introduced to express recursion. Their development has been motivated by descriptive complexity theory and their relationship to database query languages, in particular to Datalog.

Least fixed-point logic was first studied systematically by Yiannis N. Moschovakis in 1974,[1] and it was introduced to computer scientists in 1979, when Alfred Aho and Jeffrey Ullman suggested fixed-point logic as an expressive database query language.[2]

Partial fixed-point logic

For a relational signature X, FO[PFP](X) is the set of formulas formed from X using first-order connectives and predicates, second-order variables as well as a partial fixed point operator used to form formulas of the form , where is a second-order variable, a tuple of first-order variables, a tuple of terms and the lengths of and coincide with the arity of .

Let k be an integer, be vectors of k variables, P be a second-order variable of arity k, and let φ be an FO(PFP,X) function using x and P as variables. We can iteratively define such that and (meaning φ with substituted for the second-order variable P). Then, either there is a fixed point, or the list of s is cyclic.[3]

is defined as the value of the fixed point of on y if there is a fixed point, else as false.[4] Since Ps are properties of arity k, there are at most values for the s, so with a polynomial-space counter we can check if there is a loop or not.[5]

It has been proven that on ordered finite structures, a property is expressible in FO(PFP,X) if and only if it lies in PSPACE.[6]

Least fixed-point logic

Since the iterated predicates involved in calculating the partial fixed point are not in general monotone, the fixed-point may not always exist. FO(LFP,X), least fixed-point logic, is the set of formulas in FO(PFP,X) where the partial fixed point is taken only over such formulas φ that only contain positive occurrences of P (that is, occurrences preceded by an even number of negations). This guarantees monotonicity of the fixed-point construction (That is, if the second order variable is P, then always implies ).

Due to monotonicity, we only add vectors to the truth table of P, and since there are only possible vectors we will always find a fixed point before iterations. The Immerman-Vardi theorem, shown independently by Immerman[7] and Vardi,[8] shows that FO(LFP,X) characterises P on all ordered structures.

The expressivity of least-fixed point logic coincides exactly with the expressivity of the database querying language Datalog, showing that, on ordered structures, Datalog can express exactly those queries executable in polynomial time.[9]

Inflationary fixed-point logic

Another way to ensure the monotonicity of the fixed-point construction is by only adding new tuples to at every stage of iteration, without removing tuples for which no longer holds. Formally, we define as where .

This inflationary fixed-point agrees with the least-fixed point where the latter is defined. Although at first glance it seems as if inflationary fixed-point logic should be more expressive than least fixed-point logic since it supports a wider range of fixed-point arguments, in fact, every FO[IFP](X)-formula is equivalent to an FO[LFP](X)-formula.[10]

Simultaneous induction

While all the fixed-point operators introduced so far iterated only on the definition of a single predicate, many computer programs are more naturally thought of as iterating over several predicates simultaneously. By either increasing the arity of the fixed-point operators or by nesting them, every simultaneous least, inflationary or partial fixed-point can in fact be expressed using the corresponding single-iteration constructions discussed above.[11]

Transitive closure logic

Rather than allow induction over arbitrary predicates, transitive closure logic allows only transitive closures to be expressed directly.

FO[TC](X) is the set of formulas formed from X using first-order connectives and predicates, second-order variables as well as a transitive closure operator used to form formulas of the form , where and are tuples of pairwise distinct first-order variables, and tuples of terms and the lengths of , , and coincide.

TC is defined as follows: Let k be a positive integer and be vectors of k variables. Then is true if there exist n vectors of variables such that , and for all , is true. Here, φ is a formula written in FO(TC) and means that the variables u and v are replaced by x and y.

Over ordered structures, FO[TC] characterises the complexity class NL.[12] This characterisation is a crucial part of Immerman's proof that NL is closed under complement (NL = co-NL).[13]

Deterministic transitive closure logic

FO[DTC](X) is defined as FO(TC,X) where the transitive closure operator is deterministic. This means that when we apply , we know that for all u, there exists at most one v such that .

We can suppose that is syntactic sugar for where .

Over ordered structures, FO[DTC] characterises the complexity class L.[12]

Iterations

The fixed-point operations that we defined so far iterate the inductive definitions of the predicates mentioned in the formula indefinitely, until a fixed point is reached. In implementations, it may be necessary to bound the number of iterations to limit the computation time. The resulting operators are also of interest from a theoretical point of view since they can also be used to characterise complexity classes.

We will define first-order with iteration, ; here is a (class of) functions from integers to integers, and for different classes of functions we will obtain different complexity classes .

In this section we will write to mean and to mean . We first need to define quantifier blocks (QB), a quantifier block is a list where the s are quantifier-free FO-formulae and s are either or . If Q is a quantifiers block then we will call the iteration operator, which is defined as Q written time. One should pay attention that here there are quantifiers in the list, but only k variables and each of those variable are used times.[14]

We can now define to be the FO-formulae with an iteration operator whose exponent is in the class , and we obtain the following equalities:

  • is equal to FO-uniform ACi, and in fact is FO-uniform AC of depth .[15]
  • is equal to NC.[16]
  • is equal to PTIME. It is also another way to write FO(IFP).[17]
  • is equal to PSPACE. It is also another way to write FO(PFP). [18]

Notes

  1. ^ Moschovakis, Yiannis N. (1974). "Elementary Induction on Abstract Structures". Studies in Logic and the Foundations of Mathematics. 77. doi:10.1016/s0049-237x(08)x7092-2. ISBN 9780444105370. ISSN 0049-237X.
  2. ^ Aho, Alfred V.; Ullman, Jeffrey D. (1979). "Universality of data retrieval languages". Proceedings of the 6th ACM SIGACT-SIGPLAN Symposium on Principles of Programming Languages - POPL '79. New York, New York, USA: ACM Press: 110–119. doi:10.1145/567752.567763. S2CID 3242505.
  3. ^ Ebbinghaus and Flum, p. 121
  4. ^ Ebbinghaus and Flum, p. 121
  5. ^ Immerman 1999, p. 161
  6. ^ Abiteboul, S.; Vianu, V. (1989). "Fixpoint extensions of first-order logic and datalog-like languages". [1989] Proceedings. Fourth Annual Symposium on Logic in Computer Science. IEEE Comput. Soc. Press. pp. 71–79. doi:10.1109/lics.1989.39160. ISBN 0-8186-1954-6. S2CID 206437693.
  7. ^ Immerman, Neil (1986). "Relational queries computable in polynomial time". Information and Control. 68 (1–3): 86–104. doi:10.1016/s0019-9958(86)80029-8.
  8. ^ Vardi, Moshe Y. (1982). "The complexity of relational query languages (Extended Abstract)". Proceedings of the fourteenth annual ACM symposium on Theory of computing - STOC '82. New York, NY, USA: ACM. pp. 137–146. CiteSeerX 10.1.1.331.6045. doi:10.1145/800070.802186. ISBN 978-0897910705. S2CID 7869248.
  9. ^ Ebbinghaus and Flum, p. 242
  10. ^ Yuri Gurevich and Saharon Shelah, Fixed-pointed extension of first order logic, Annals of Pure and Applied Logic 32 (1986) 265--280.
  11. ^ Ebbinghaus and Flum, pp. 179, 193
  12. ^ a b Immerman, Neil (1983). "Languages which capture complexity classes". Proceedings of the fifteenth annual ACM symposium on Theory of computing - STOC '83. New York, New York, USA: ACM Press. pp. 347–354. doi:10.1145/800061.808765. ISBN 0897910990. S2CID 7503265.
  13. ^ Immerman, Neil (1988). "Nondeterministic Space is Closed under Complementation". SIAM Journal on Computing. 17 (5): 935–938. doi:10.1137/0217058. ISSN 0097-5397.
  14. ^ Immerman 1999, p. 63
  15. ^ Immerman 1999, p. 82
  16. ^ Immerman 1999, p. 84
  17. ^ Immerman 1999, p. 58
  18. ^ Immerman 1999, p. 161

References

Read other articles:

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 Oktober 2022. FanjingshanBatu CendawanTitik tertinggiKetinggian2.570,0 m (8.431,8 ft)PenamaanNama terjemahanGunung Tanah Murni Brahma (bahasa Tionghoa)GeografiFanjingshanTongren, Guizhou, Tiongkok Situs Warisan Dunia UNESCONama resmiFanjingshanJenisAlamKr…

ArasCedar Aras Libanon di Al Shouf Cedar Nature Reserve, Barouk, Libanon Klasifikasi ilmiah Kerajaan: Plantae Divisi: Pinophyta Kelas: Pinopsida Ordo: Pinales Famili: Pinaceae Subfamili: Abietoideae Genus: CedrusTrew Aras (Inggris: Cedarcode: en is deprecated ) adalah tumbuhan konifer dari genus Cedrus, famili Pinaceae. Tanaman ini menghasilkan kayu yang kuat, harum, dan tahan lama.[1] Tumbuhan ini merupakan tumbuhan asli pegunungan Himalaya sampai Mediterania dan tumbuh dengan baik di k…

Ichthyophthirius multifiliis Cichlid yang memiliki bercak-bercak putih Klasifikasi ilmiah Domain: Eukaryota (tanpa takson): SAR (tanpa takson): Alveolata Filum: Ciliophora Kelas: Oligohymenophorea Ordo: Hymenostomatida Famili: Ichthyophthiriidae Genus: Ichthyophthirius Spesies: I. multifiliis Nama binomial Ichthyophthirius multifiliisFouquet, 1876 Ichthyophthirius multifiliis adalah ektoparasit pada ikan air tawar yang dapat menyebabkan penyakit yang disebut penyakit bercak putih atau Ich.&…

Railway station in São Paulo, Brazil EstudantesEntrance of the station.General informationLocationR. Prof. Álvaro PavanCentro CívicoBrazilCoordinates23°30′56″S 46°11′03″W / 23.5155°S 46.184303°W / -23.5155; -46.184303Owned by Government of the State of São PauloOperated by CPTMPlatformsSide and island platformsConstructionStructure typeSurfaceOther informationStation codeESTHistoryOpened10 November 1976Services Preceding station São Paulo Metropolitan Tra…

Wycombe WanderersNama lengkapWycombe Wanderers Football ClubJulukanThe ChairboysThe BluesBerdiri1887StadionAdams ParkHillbottom RoadHigh WycombeBucks(Kapasitas: 10.284[1])PemilikWycombe Wanderers TrustKetuaTrevor Stroud[2]ManajerGareth Ainsworth (pemain/manajer)LigaLiga Satu Inggris2019–20ke-3, Liga Satu InggrisSitus webSitus web resmi klub Kostum kandang Kostum tandang Musim ini Wycombe Wanderers F.C. adalah sebuah klub sepak bola dari kota High Wycombe, Inggris. Klub ini…

Universitas Pyeongtaek ArthurTappan Pierson Gedung Peringatan Pierson Para Profesor teologi Universitas Pyeongtaek (평택대학교, 平澤大學校) adalah universitas riset swasta yang berlokasi di Pyeongtaek, Korea Selatan. Berasal dari Pierson Memorial Union Bible Institute pada tahun 1912, Universitas Pyeongtaek saat ini adalah salah satu universitas tertua di Korea Selatan. Sejarah Pierson Memorial Union Bible Institute didirikan atas kehendak Dr. Arthur Tappan Pierson pada tanggal 15 Okto…

Rita HayworthHayworth pada tahun 1947LahirMargarita Carmen Cansino(1918-10-17)17 Oktober 1918Brooklyn, New York, Amerika SerikatMeninggal14 Mei 1987(1987-05-14) (umur 68)Manhattan, New York, Amerika SerikatMakamHoly Cross Cemetery, Culver City, CaliforniaKebangsaan Amerika SerikatPekerjaanAktris, penariTahun aktif1926–1972Tinggi5 ft 6 in (168 cm)Suami/istri Edward C. Judson ​ ​(m. 1937⁠–⁠1942)​ Orson Welles…

منتخب توغو لكرة القدم معلومات عامة اللقب Les Éperviers (البواشق) بلد الرياضة  توغو الفئة كرة القدم للرجال  رمز الفيفا TOG  الاتحاد الاتحاد التوغولي لكرة القدم كونفدرالية كاف (أفريقيا) كونفدرالية فرعية وافو (غرب أفريقيا) الملعب الرئيسي ملعب كيغيه الموقع الرسمي الموقع الرسمي&#…

Japanese shogun (1579–1632) Hidetada redirects here. For the given name, see Hidetada (given name). In this Japanese name, the surname is Tokugawa. Senior First RankTokugawa HidetadaShōgunIn office1605–1623MonarchsGo-YōzeiGo-MizunooPreceded byTokugawa IeyasuSucceeded byTokugawa Iemitsu Personal detailsBornMay 2, 1579Hamamatsu, Shizuoka, Tokugawa clanDiedMarch 14, 1632 (aged 52)Edo, Tokugawa Shogunate(now Tokyo, Japan)Resting placeTaitoku-in MausoleumSpouse(s)O-himeOeyoChildren Senhime Tama…

American sailor Michael SchoettlePersonal informationFull nameMichael Beaver SchoettleBornSeptember 7, 1936 (1936-09-07) (age 87)Sailing careerCollege team Yale University Medal record Men's sailing Representing the  United States Olympic Games 1952 Helsinki 5.5 metre Michael Beaver Schoettle (born September 7, 1936) is an American sailor and Olympic Champion. He competed at the 1952 Summer Olympics in Helsinki and earned a gold medal as crew in the 5.5 metre class on th…

Pour un article plus général, voir Collège en France. Si ce bandeau n'est plus pertinent, retirez-le. Cliquez ici pour en savoir plus. Cet article doit être actualisé (dernière mise à jour : 2016) (mai 2021). Des passages de cet article ne sont plus d’actualité ou annoncent des événements désormais passés. Améliorez-le ou discutez-en. Vous pouvez également préciser les sections à actualiser en utilisant {{section à actualiser}}.Programme actuel (juillet 2020) : https…

Mahomes beralih ke halaman ini. Untuk Ayahnya, pemain bisbol, lihat Pat Mahomes. Patrick MahomesMahomes pada tahun 2021No. 15 – Kansas City ChiefsPosisi:QuarterbackInformasi pribadiLahir:17 September 1995 (umur 28)Tyler, Texas, A.S.Tinggi badan:6 ft 2 in (1,88 m)Berat badan:225 pon (102 kg)Career informationSMA:Whitehouse (TX)Perguruan tinggi:Teknologi Texas (2014–2016)NFL Draft:2017 / Round: 1 / Pick: 10Riwayat karier Kansas City Chiefs (201…

Human settlement in EnglandEast London Tech CitySilicon Roundabout[1]Old Street Roundabout in 2010East London Tech CityLocation within Greater LondonOS grid referenceTQ325825• Charing Cross2.5 mi (4.0 km) WSWLondon boroughHackneyIslingtonCeremonial countyGreater LondonRegionLondonCountryEnglandSovereign stateUnited KingdomPost townLONDONPostcode districtEC1, EC2Dialling code020PoliceMetropolitanFireLondonAmbulanceLondon UK Par…

On April 1, 1941, with subsequent run-off election 1941 Los Angeles mayoral election ← 1938 (recall) April 1, 1941 (1941-04-01) and May 6, 1941 (1941-05-06) 1945 →   Candidate Fletcher Bowron Stephen W. Cunningham Charles Kramer First round 146,40548.84% 57,10919.05% 30,64310.22% Runoff 181,58254.90% 149,19545.10% Eliminated   Candidate John C. Porter Frank L. Shaw First round 28,7129.58% 24,3828.13% Runoff Eliminated Eliminated Mayor…

Orang Yahudi Agama Yahudi Agama Tuhan Allah dalam Yudaisme Dasar Iman Yahudi Kaballah Hari raya Doa Halakha Mitzvot (Daftar: 613) Rabi Sinagoge Pembacaan gulungan Taurat Minhag/Kebiasaan Tzedakah Teks Tanakh: Taurat Nevi'im Ketuvim Literatur Rabinik Talmud Mishnah Gemara Etnis Ashkenazi Sefardim Mizrahi Beta Israel Penduduk (Daftar) Israel AS Rusia/Uni Soviet SpanyolKanada Jerman Prancis Britania Raya Amerika Latin Polandia Dunia Arab Malaysia Yaman Yahudi terkenal menurut negara Daftar Komunita…

Third king of the Phra Ruang Dynasty in Thailand For other uses, see Ram Khamhaeng (disambiguation). Ram Khamhaeng the Greatพ่อขุนรามคำแหงมหาราชPho Khun Ram Khamhaeng maharatStatue of King Ram Khamhaeng the Great, Sukhothai Historical Park, Sukhothai Province, ThailandPho Khun of SukhothaiReign1279 - 1298PredecessorBan MueangSuccessorLoe ThaiBornc. 1237/1247Sukhothai KingdomDied1298 (51/61 years old)Sukhothai KingdomIssueLoe ThaiPhaya Sai SongkhramMay Hnin…

Halaman ini berisi artikel tentang the former Greek president who lived from 1907 to 1998. Untuk his nephew, lihat Kostas Karamanlis. Artikel ini membutuhkan rujukan tambahan agar kualitasnya dapat dipastikan. Mohon bantu kami mengembangkan artikel ini dengan cara menambahkan rujukan ke sumber tepercaya. Pernyataan tak bersumber bisa saja dipertentangkan dan dihapus.Cari sumber: Konstantinos Karamanlis – berita · surat kabar · buku · cendekiawan · JSTOR (…

Theater in Madrid, Spain Teatro de la ZarzuelaAuditorium of the Teatro de la ZarzuelaLocationMadrid, SpainCoordinates40°25′02″N 3°41′48″W / 40.417185°N 3.696782°W / 40.417185; -3.696782Capacity1,242 seatsConstructionOpened10 October 1856 (1856-10-10)Reopened1914Rebuilt1910–1913Architect Jerónimo de la Gándara José María Sánchez Guallart Spanish Cultural HeritageTypeNon-movableCriteriaMonumentDesignated4 March 1994Reference no.RI-51-0…

Points utilisés pour une méthode de quadrature de Gauss. Dans le domaine mathématique de l'analyse numérique, les méthodes de quadrature sont des approximations de la valeur numérique d'une intégrale. En général, on remplace le calcul de l'intégrale par une somme pondérée prise en un certain nombre de points du domaine d'intégration (voir calcul numérique d'une intégrale pour plus d'informations). La méthode de quadrature de Gauss, du nom de Carl Friedrich Gauss[1], est une méth…

American baseball player (born 1964) This article is about the baseball player. For the baseball field, see Ellis Burks Field. Baseball player Ellis BurksEllis Burks in 2007OutfielderBorn: (1964-09-11) September 11, 1964 (age 59)Vicksburg, Mississippi, U.S.Batted: RightThrew: RightMLB debutApril 30, 1987, for the Boston Red SoxLast MLB appearanceOctober 2, 2004, for the Boston Red SoxMLB statisticsBatting average.291Hits2,107Home runs352Runs batted in1,206 Team…

Kembali kehalaman sebelumnya