betaFeedback

WorksComputer Science

Maslov's class K with Equivalence

Abstract

Maslov's class K is a decidable fragment of equality-free first-order logic. It subsumes numerous classical decidable fragments, including the equality-free monadic fragment, the equality-free two-variable fragment, and the Gödel class. Introduced over 50 years ago, the class K has been studied in automated deduction, primarily through resolution-based methods. Despite this long history, the precise complexity of the satisfiability problem for K remained open until recently, when NExpTime-completeness was finally established. The two main contributions of this work are as follows. 1. The recent proofs of NExpTime-completeness and the finite model property for K are highly non-trivial and technically sophisticated. We present considerably simpler proofs of both results. Our approach combines a novel reduction from K to the class of solvable Skolem sentences with a randomised construction of finite models. 2. We introduce the class K+E by allowing sentences in K to contain one distinguished binary predicate E whose interpretation is constrained to be an equivalence relation. By leveraging our approach to this extended class, we prove that K+E has the finite model property and that its satisfiability problem is 2-NExpTime-complete.

Introduction

Hilbert’s Entscheidungsproblem asked for a general algorithm to determine the satisfiability of first-order statements. Church and Turing famously showed that no such algorithm exists by establishing the undecidability of first-order logic. This negative result gave rise to a broad research programme aimed at identifying fragments of first-order logic for which satisfiability remains decidable. Over the decades, this effort has led to the discovery of numerous decidable formalisms, including the Bernays–Schönfinkel class, the monadic fragment, the Ackermann class, the Gödel class, the two-variable fragment, and the guarded fragment, among others.

One motivation for studying decidable fragments comes from automated deduction, a branch of computer science that seeks effective methods for solving the satisfiability problem, not in full generality, but for broad and practically relevant classes of instances. One of the pioneers of automated deduction was S. J. Maslov, who introduced the class K [12, 32]. In the 1960s, Maslov developed a proof procedure, called the inverse method [30], for deciding validity and applied it to the class K. Subsequent work shifted attention to the dual class, denoted Kˉ\bar{K}, and to its satisfiability problem. In the 1980s, Zamov proposed a resolution procedure for Kˉ\bar{K}; see Chapter 6 of the monograph Resolution Methods for the Decision Problem [9]. In 1999, Hustaдt and Schmidt [21] continued Zamov’s work and developed a refined variant of his procedure.

The importance of Maslov’s class Kˉ\bar{K} stems from the fact that it is one of the broadest fragments of (equality-free) first-order logic. In particular, Kˉ\bar{K} subsumes many classical fragments (all considered without equality), including: the monadic fragment [31], the Ackermann class [1] and its generalised variant due to Voigt [40], the Gödel class [14], and the solvable Skolem class from Dreben and Goldfarb’s monograph [7] (there denoted as Class 2.4). Moreover, the even broader class of conjunctions of K‾\overline{\mathrm{K}} sentences, denoted DK‾\overline{\mathrm{DK}}, is decidable [21]. The absence of equality in K‾\overline{\mathrm{K}} is unavoidable: already the Gödel class with equality is undecidable [15].

The class K‾\overline{\mathrm{K}} also subsumes the equality-free two-variable fragment, FO2\mathrm{FO}^{2}, in the sense that sentences in Scott normal form belong to K‾\overline{\mathrm{K}} [38]. As a consequence, many standard modal and description logics can be translated into K‾\overline{\mathrm{K}}. This connection is discussed in the survey [22], where K‾\overline{\mathrm{K}} is considered alongside other well-known fragments such as the guarded fragment and the fluted fragment, all of which are incomparable in expressive power with K‾\overline{\mathrm{K}}.

After the early 2000s, K‾\overline{\mathrm{K}} has received relatively little attention. A renewed interest in K‾\overline{\mathrm{K}} is motivated by the study of the uniform one-dimensional fragment, denoted UF1\mathrm{UF}_{1}. Introduced by Hella and Kuusisto in 2014 [20], see also [24, 29], UF1\mathrm{UF}_{1} was designed as a canonical generalisation of FO2\mathrm{FO}^{2} to predicates of arity greater than 2. The satisfiability problem for UF1\mathrm{UF}_{1} (with equality) is NExpTime\mathrm{NExpTime}-complete [24], matching the complexity of FO2\mathrm{FO}^{2}. To increase the expressive power of (equality-free) UF1\mathrm{UF}_{1}, Kieroński [10] proposed a generalisation denoted AUF−\mathrm{AUF}^{-}. He observed that AUF−\mathrm{AUF}^{-}, when put into a suitable normal form, falls within DK‾\overline{\mathrm{DK}}. In [11], an even broader extension of (equality-free) UF1\mathrm{UF}_{1}, denoted ∀\forall-UF1\mathrm{UF}_{1}, is introduced. It, too, is subsumed by DK‾\overline{\mathrm{DK}}.

Despite this broad applicability, the class K‾\overline{\mathrm{K}} remained poorly understood from a theoretical perspective, as the two central questions for logical fragments—the finite model property and the precise complexity of the satisfiability problem—remained open for over 50 years.2

These questions were resolved only recently: in 2024, Fiuk, Kieroński, and Michielini [11] established that K‾\overline{\mathrm{K}} has the finite model property and that the satisfiability problem for K‾\overline{\mathrm{K}} is NExpTime\mathrm{NExpTime}-complete. In light of this result, the significance of K‾\overline{\mathrm{K}} becomes even more apparent: it can express many non-trivial properties, not expressible in other fragments, while being no harder than FO2\mathrm{FO}^{2}, UF1\mathrm{UF}_{1}, or the Gödel class. This contrasts with the guarded fragment, which is 2-ExpTime\mathrm{2\text{-}ExpTime}-complete [18], and with the fluted fragment, which is Tower\mathrm{Tower}-complete [36].

Our contribution. The proof of the finite model property and the NExpTime\mathrm{NExpTime} upper bound for K‾\overline{\mathrm{K}} given in [11] is technically involved and difficult to follow; we discuss it in more detail in Section 5. Our first contribution is a new and substantially simpler proof of these results.

Our approach is based on a novel Skolemisation procedure that transforms sentences in K‾\overline{\mathrm{K}} into the solvable Skolem class [7, 17]. Notably, the precise complexity of the solvable Skolem class was itself open prior to [11]. We then apply Goldfarb’s probabilistic construction of finite models for sentences in the solvable Skolem class [17], which generalises the earlier approach of Gurevich and Shelah for the Gödel class [19]. A direct application of this randomised model construction, however, does not yield the desired model-size bound. To obtain a tight exponential bound, we refine the construction using ideas from [11], which, thanks to our Skolemisation procedure, can be applied in a considerably simpler setting.

Our second contribution extends the decidability result beyond the class K‾\overline{\mathrm{K}}. A common way of increasing the expressive power of decidable fragments is to restrict the class of admissible structures. For instance, FO2\mathrm{FO}^{2} has been studied over structures equipped with linear orders [33, 37], equivalence relations [27, 26, 28], and transitive relations [13, 34]. We follow this line of research and prove that K‾\overline{\mathrm{K}} remains decidable when extended with one equivalence relation. More precisely, we introduce the class K‾+E\overline{\mathrm{K}}+E, obtained by adding to K‾\overline{\mathrm{K}} one distinguished binary predicate EE whose interpretation is required to be an equivalence relation. We show that K‾+E\overline{\mathrm{K}}+E has the finite model property and that its satisfiability problem is 2-NExpTime\mathrm{2\text{-}NExpTime}-complete.

Organisation. § 2 introduces the notation and basic definitions. § 3 presents the class K‾\overline{\mathrm{K}} and related fragments. § 4 develops the Skolemisation procedure. Section 5 gives a simplified proof of the NExpTime\mathrm{NExpTime} upper bound for K‾\overline{K}. § 6 establishes that K‾+E\overline{K}+E is 22-NExpTime\mathrm{NExpTime}-complete and shows that closely related extensions are already undecidable. Finally, § 7 concludes with remarks on the possible addition of equality to K‾\overline{K}.

Preliminaries

Notation. Let N={0,1,2,…}\mathbb{N} = \{0,1,2,\ldots\}. For k∈Nk \in\mathbb{N}, the notation [k][k] stands for the set {1,…,k}\{1,\ldots,k\}, with the convention that [0]=∅[0] = \varnothing. More generally, we use interval notation [a,b]⊆N[a,b] \subseteq\mathbb{N} to denote the set {a,a+1,…,b}\{a,a+1,\ldots,b\} for a≤ba \leq b, and the empty set ∅\varnothing for a>ba>b. The powerset of a set SS is denoted by 2S2^{S}. Tuples are denoted by bars and, by abuse of notation, sometimes regarded as sets of their elements. Concatenation of tuples is denoted by juxtaposition.

First-order logic. We assume general familiarity with first-order logic (FO). The logical symbols are ==, ⊥\bot, ⊤\top, ∨\lor, ∧\land, ¬\neg, →\to, ↔\leftrightarrow, and the quantifiers ∀\forall, ∃\exists. The non-logical symbols are relation symbols (from a countably infinite set), constant symbols (also from a countably infinite set), and variables (again countably many). We do not allow function symbols of positive arity.

A signature is a pair Σ=⟨R‾,c‾⟩\Sigma= \langle\overline{R},\overline{c}\rangle, where R‾\overline{R} is a non-empty tuple of relation symbols and c‾\overline{c} is a tuple of constant symbols. When convenient, we identify Σ\Sigma with the set R‾∪c‾\overline{R}\cup\overline{c}. Every relation symbol R∈R‾R \in\overline{R} comes with associated arity, denoted arity⁡(R)\operatorname{arity}(R).

The length of a formula φ\varphi, denoted ∣φ∣|\varphi|, is the total number of symbols it contains, where each occurrence of a symbol—be it a variable, relation symbol, or constant—contributes 1. The signature of φ\varphi consists of relation and constant symbols that appear in the formula. The set of atomic subformulas of φ\varphi is denoted by atoms⁡(φ)\operatorname{atoms}(\varphi). The set of free variables of φ\varphi is denoted by vars⁡(φ)\operatorname{vars}(\varphi); we often view this set as a tuple x‾\overline{x} and indicate this by φ[x‾]\varphi[\overline{x}]. Given a tuple of elements a‾\overline{a} of the same length as x‾\overline{x}, we write φ[a‾]\varphi[\overline{a}] for the result of componentwise substitution of the variables in x‾\overline{x} by the corresponding elements of a‾\overline{a}. More generally, for any tuple of variables y‾\overline{y}, not necessarily coinciding with the free variables of φ\varphi, and any tuple of elements b‾\overline{b} of the same length as y‾\overline{y}, we write φ[b‾/y‾]\varphi[\overline{b}/\overline{y}] for the result of componentwise substitution of the variables in y‾\overline{y} by the corresponding elements of b‾\overline{b}. We write ±φ\pm\varphi to denote either φ\varphi or ¬φ\neg\varphi.

We use Fraktur letters such as A,B,…\mathcal{A},\mathcal{B},\ldots to denote structures, and the corresponding Roman letters A,B,…A,B,\ldots for their domains. Let Σ=⟨R‾,c‾⟩\Sigma= \langle\overline{R},\overline{c}\rangle be a signature. A Σ\Sigma-structure A\mathcal{A} interprets every relation symbol R∈R‾R \in\overline{R} as a relation RA⊆Aarity⁡(R)R^{\mathcal{A}} \subseteq A^{\operatorname{arity}(R)} and every constant symbol c∈c‾c \in\overline{c} as an element cA∈Ac^{\mathcal{A}} \in A. An element a∈Aa \in A is named if a=cAa = c^{\mathcal{A}} for every constant c∈c‾c \in\overline{c}.

For a sub-signature Σ0⊆Σ\Sigma_{0} \subseteq\Sigma, the Σ0\Sigma_{0}-reduct of A\mathcal{A} is a Σ0\Sigma_{0}-structure A0\mathcal{A}_{0} obtained from A\mathcal{A} by forgetting the interpretations of the symbols in Σ∖Σ0\Sigma\setminus\Sigma_{0}. Equivalently, A\mathcal{A} is a Σ\Sigma-expansion of A0\mathcal{A}_{0}.

Finite model property. Let F\mathcal{F} be a fragment (or class) of FO sentences. The fragment F\mathcal{F} has the finite model property if every satisfiable sentence φ∈F\varphi\in\mathcal{F} admits a finite model. If there exists a fixed polynomial pp such that every satisfiable sentence φ∈F\varphi\in\mathcal{F} admits a model over a domain of size at most 2p(∣φ∣)2^{p(|\varphi|)}, then F\mathcal{F} has the exponential model property. If, instead, the domain size is bounded by 22p(∣φ∣)2^{2^{p(|\varphi|)}}, then F\mathcal{F} has the doubly exponential model property.

The satisfiability problem for F\mathcal{F} is to decide whether an input sentence φ∈F\varphi\in\mathcal{F} admits a model. The finite model property for F\mathcal{F} implies that the satisfiability problem for F\mathcal{F} is decidable. The exponential model property for F\mathcal{F} implies that the satisfiability problem for F\mathcal{F} is in NExpTime\mathrm{NExpTime}, while the doubly exponential model property implies that it is in 22-NExpTime\mathrm{NExpTime}.

Types and outer-types. Let Σ=⟨R‾,c‾⟩\Sigma= \langle\overline{R},\overline{c}\rangle be a signature. For k∈Nk \in\mathbb{N}, let lit⁡k(Σ)\operatorname{lit}^{k}(\Sigma) denote the set of all literals over Σ\Sigma and the variables x1,…,xkx_{1},\ldots,x_{k}; literals involving == or ≠\neq are not included.

For k∈Nk \in\mathbb{N}, a kk-type over Σ\Sigma is a maximal consistent subset of lit⁡k(Σ)\operatorname{lit}^{k}(\Sigma); that is, for every pair of dual literals λ,¬λ∈lit⁡k(Σ)\lambda,\neg\lambda\in\operatorname{lit}^{k}(\Sigma), exactly one of λ\lambda and ¬λ\neg\lambda belongs to the kk-type. A 00-type contains literals involving only constants. A (k+1)(k+1)-type σ\sigma extends a kk-type τ\tau if τ⊆σ\tau\subseteq\sigma. A type is simply a kk-type for some k≥0k \ge0. When convenient, we identify types with the conjunctions of the literals they contain. Let Tk(Σ)\mathcal{T}^{k}(\Sigma) denote the set of all kk-types over Σ\Sigma, and write T(Σ):=⋃k∈NTk(Σ)\mathcal{T}(\Sigma) := \bigcup_{k \in\mathbb{N}} \mathcal{T}^{k}(\Sigma).

References

  1. [1]Wilhelm Ackermann. Über die Erfüllbarkeit gewisser Zählausdrücke. Mathematische Annalen, 100:638–649, 1928.DOI
  2. [2]Hajnal Andréka, István Németi, and Johan van Benthem. Modal languages and bounded fragments of predicate logic. J. Philos. Log., 27(3):217–274, 1998.
  3. [3]Franz Baader, Ian Horrocks, Carsten Lutz, and Ulrike Sattler. An Introduction to Description Logic. Cambridge University Press, 2017.DOI
  4. [4]Vince Bárány, Georg Gottlob, and Martin Otto. Querying the guarded fragment. Log. Methods Comput. Sci., 10(2), 2014.
  5. [5]Bartosz Bednarczyk, Daumantas Kojelis, and Ian Pratt-Hartmann. On the limits of decision: the adjacent fragment of first-order logic. In Kousha Ettessami, Uriel Feige, and Gabriele Puppis, editors, 50th International Colloquium on Automata, Languages, and Programming, ICALP 2023, Paderborn, Germany, July 10-14, 2023, volume 261 of LIPIcs, pages 111:1–111:21. Schloss Dagstuhl - Leibniz-Zentrum für Informatik, 2023.
  6. [6]Egon Börger, Erich Grädel, and Yuri Gurevich. The classical decision problem. Perspectives in Mathematical Logic. Springer, 1997.DOI
  7. [7]Burton Dreben and Warren D. Goldfarb. The Decision Problem: Solvable Classes of Quantificational Formulas. Addison-Wesley, 1979.
  8. [8]Christian G. Fermüller, Alexander Leitsch, Ullrich Hustadt, and Tanel Tammet. Resolution decision procedures. In John Alan Robinson and Andrei Voronkov, editors, Handbook of Automated Reasoning (in 2 volumes), pages 1791–1849. Elsevier and MIT Press, 2001.
  9. [9]Christian G. Fermüller, Alexander Leitsch, Tanel Tammet, and N. K. Zamov. Resolution Methods for the Decision Problem, volume 679 of Lecture Notes in Computer Science. Springer, 1993.
  10. [10]Oskar Fiuk and Emanuel Kieronski. Alternating quantifiers in uniform one-dimensional fragments with an excursion into three-variable logic. Log. Methods Comput. Sci., 21(1), 2025.DOI
  11. [11]Oskar Fiuk, Emanuel Kieronski, and Vincent Michielini. On the expressivity of Maslov’s class K. In Pawel Sobocinski, Ugo Dal Lago, and Javier Esparza, editors, Proceedings of the 39th Annual ACM/IEEE Symposium on Logic in Computer Science, LICS 2024, Tallinn, Estonia, July 8-11, 2024, pages 35:1–35:14. ACM, 2024.arxiv.org/abs/2407.13339
  12. [12]Сергей Ю. Маслов. Обратный метод установления выводимости для логических исчислений. Тр. МИАН СССР, 98:25–95, 1968.
  13. [13]Harald Ganzinger, Christoph Meyer, and Margus Veanes. The two-variable guarded fragment with transitive relations. In 14th Annual IEEE Symposium on Logic in Computer Science, Trento, Italy, July 2-5, 1999, pages 24–34. IEEE Computer Society, 1999.
  14. [14]Kurt Gödel. Zum Entscheidungsproblem des logischen Funktionenkalküls. Monatshefte für Mathematik und Physik, 40:433–443, 1933.DOI
  15. [15]Warren D. Goldfarb. The unsolvability of the Gödel class with identity. J. Symb. Log., 49(4):1237–1252, 1984.DOI
  16. [16]Warren D. Goldfarb. Random models and the Maslov class. J. Symb. Log., 54(2):460–466, 1989.DOI
  17. [17]Warren D. Goldfarb. Random models and solvable Skolem classes. J. Symb. Log., 58(3):908–914, 1993.DOI
  18. [18]Erich Grädel. On the restraining power of guards. J. Symb. Log., 64(4):1719–1742, 1999.DOI
  19. [19]Yuri Gurevich and Saharon Shelah. Random models and the Gödel case of the decision problem. J. Symb. Log., 48(4):1120–1124, 1983.DOI
  20. [20]Lauri Hella and Antti Kuusisto. One-dimensional fragment of first-order logic. In Rajeev Goré, Barteld P. Kooi, and Agi Kurucz, editors, Advances in Modal Logic 10, invited and contributed papers from the tenth conference on “Advances in Modal Logic,” held in Groningen, The Netherlands, August 5-8, 2014, pages 274–293. College Publications, 2014.arxiv.org/abs/1404.4004
  21. [21]Ullrich Hustadt and Renate A. Schmidt. Maslov’s class K revisited. In Harald Ganzinger, editor, Automated Deduction - CADE-16, 16th International Conference on Automated Deduction, Trento, Italy, July 7-10, 1999, Proceedings, volume 1632 of Lecture Notes in Computer Science, pages 172–186. Springer, 1999.
  22. [22]Ullrich Hustadt, Renate A. Schmidt, and Lilia Georgieva. A survey of decidable first-order fragments and description logics. Journal of Relational Methods in Computer Science, 1:2004, 2004.
  23. [23]A.S. Kahr, E.F. Moore, and H. Wang. Entscheidungsproblem reduced to the ∀∃ case. Proc. Nat. Acad. Sci. U.S.A., 48:365–377, 1962.pubmed.ncbi.nlm.nih.gov/16590930
  24. [24]Emanuel Kieronski and Antti Kuusisto. Complexity and expressivity of uniform one-dimensional fragment with equality. In Erzsébet Csuhaj-Varjú, Martin Dietzfelbinger, and Zoltán Ésik, editors, Mathematical Foundations of Computer Science 2014 - 39th International Symposium, MFCS 2014, Budapest, Hungary, August 25-29, 2014. Proceedings, Part I, volume 8634 of Lecture Notes in Computer Science, pages 365–376. Springer, 2014.
  25. [25]Emanuel Kieroński and Antti Kuusisto. Uniform One-Dimensional Fragments with One Equivalence Relation. In Stephan Kreutzer, editor, 24th EACSL Annual Conference on Computer Science Logic (CSL 2015), volume 41 of Leibniz International Proceedings in Informatics (LIPIcs), pages 597–615, Dagstuhl, Germany, 2015. Schloss Dagstuhl – Leibniz-Zentrum für Informatik.DOI
  26. [26]Emanuel Kieroński, Jakub Michaliszyn, Ian Pratt-Hartmann, and Lidia Tendera. Two-variable first-order logic with equivalence closure. SIAM J. Comput., 43(3):1012–1063, 2014.
  27. [27]Emanuel Kieroński and Martin Otto. Small substructures and decidability issues for first-order logic with two variables. J. Symb. Log., 77(3):729–765, 2012.
  28. [28]Emanuel Kieroński and Lidia Tendera. On finite satisfiability of two-variable first-order logic with equivalence relations. In Proceedings of the 24th Annual IEEE Symposium on Logic in Computer Science, LICS 2009, 11-14 August 2009, Los Angeles, CA, USA, pages 123–132. IEEE Computer Society, 2009.
  29. [29]Antti Kuusisto. On the uniform one-dimensional fragment. In Maurizio Lenzerini and Rafael Peñaloza, editors, Proceedings of the 29th International Workshop on Description Logics, Cape Town, South Africa, April 22-25, 2016, volume 1577 of CEUR Workshop Proceedings. CEUR-WS.org, 2016.arxiv.org/abs/1604.01673
  30. [30]Vladimir Lifschitz. What is the inverse method? J. Autom. Reason., 5(1):1–23, mar 1989.DOI
  31. [31]Leopold Löwenheim. Über Möglichkeiten im Relativkalkül. Mathematische Annalen, 76:447–470, 1915.DOI
  32. [32]Sergei J. Maslov. The inverse method for establishing deducibility for logical calculi. The Calculi of Symbolic Logic I: Proceedings of the Steklov Institute of Mathematics, 98, 1971.
  33. [33]Martin Otto. Two variable first-order logic over ordered domains. J. Symb. Log., 66(2):685–702, 2001.DOI
  34. [34]Ian Pratt-Hartmann. Finite satisfiability for two-variable, first-order logic with one transitive relation is decidable. Math. Log. Q., 64(3):218–248, 2018.
  35. [35]Ian Pratt-Hartmann. Fragments of First-Order Logic. Oxford Logic Guides. Oxford University Press, United Kingdom, 2023.
  36. [36]Ian Pratt-Hartmann, Wieslaw Szwast, and Lidia Tendera. The fluted fragment revisited. J. Symb. Log., 84(3):1020–1048, 2019.
  37. [37]Thomas Schwentick and Thomas Zeume. Two-variable logic with two order relations. Log. Methods Comput. Sci., 8(1), 2012.
  38. [38]Dana Scott. A decision method for validity of sentences in two variables. J. Symb. Log., 27:477, 1962.
  39. [39]Luc Segoufin and Balder ten Cate. Unary negation. Log. Methods Comput. Sci., 9(3), 2013.
  40. [40]Marco Voigt. Decidable fragments of first-order logic and of first-order linear arithmetic with uninterpreted predicates. PhD thesis, Saarland University, Saarbrücken, Germany, 2019.

Paper details

vlnc:W_tb4afm6c
Version
v1 · latest
Published
Fresh — added to the Hub within the last 30 days
Added
License
CC BY 4.0
Usage

views · 9

downloads · 0

A view counts once per browser per day, a download each time the PDF is requested.

  • Computer Science

Not recorded for this paper

View statement
Looking for related papers…
Contents