English

The Complexity and Expressive Power of Second-Order Extended Logic

Logic in Computer Science 2024-05-03 v1 Computational Complexity

Abstract

We study the expressive powers of SO-HORN^{*}, SO-HORNr^{r} and SO-HORNr^{*r} on all finite structures. We show that SO-HORNr^{r}, SO-HORNr^{*r}, FO(LFP) coincide with each other and SO-HORN^{*} is proper sublogic of SO-HORNr^{r}. To prove this result, we introduce the notions of DATALOG^{*} program, DATALOGr^{r} program and their stratified versions, S-DATALOG^{*} program and S-DATALOGr^{r} program. It is shown that, on all structures, DATALOGr^{r} and S-DATALOGr^{r} are equivalent and DATALOG^{*} is a proper sublogic of DATALOGr^{r}. SO-HORN^{*} and SO-HORNr^{r} can be treated as the negations of DATALOG^{*} and DATALOGr^{r}, respectively. We also show that SO-EHORNr^{r} logic which is an extended version of SO-HORN captures co-NP on all finite structures.

Keywords

Cite

@article{arxiv.2209.04837,
  title  = {The Complexity and Expressive Power of Second-Order Extended Logic},
  author = {Shiguang Feng and Xishun Zhao},
  journal= {arXiv preprint arXiv:2209.04837},
  year   = {2024}
}
R2 v1 2026-06-28T01:04:57.228Z