Next Article in Journal
The Complexity of Classes of Pyramid Graphs Based on the Fritsch Graph and Its Related Graphs
Previous Article in Journal
Numerical Treatment of Hyperbolic-Type Problems with Single and Double Interfaces via Meshless Method
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

On the Definability Problem of First-Order Sentences by Propositional Intuitionistic Formulas

Faculty of Mathematics and Informatics, Sofia University “St. Kliment Ohridski”, 5 James Bourchier Blvd., 1164 Sofia, Bulgaria
*
Author to whom correspondence should be addressed.
These authors contributed equally to this work.
Axioms 2025, 14(8), 623; https://doi.org/10.3390/axioms14080623
Submission received: 27 June 2025 / Revised: 27 July 2025 / Accepted: 6 August 2025 / Published: 8 August 2025
(This article belongs to the Section Logic)

Abstract

We consider restricted forms of the algorithmic problem of definability of first-order sentences by propositional formulas with intuitionistic Kripke frames semantics. We demonstrate positive resolutions for classes of intuitionistic Kripke frames based on linear orders and conversely show that a few natural first-order definable classes give rise to undecidable definability problems by applying the model-theoretic in the nature technique of stable classes of Kripke frames.

1. Introduction

An important topic in modal logic (and more generally in non-classical logic) is the comparison of expressiveness of formulas compared to formulas of other logics, notably first-order logic. Usually, the classes of frames definable by first-order sentences and those definable by propositional formulas (of a nonclassical logic), are different and some properties are only expressible by one of the languages. This naturally led to the study of correspondence theory (see [1,2]), and there are notable cases when a decidable class of formulas of one language has the property that each of its elements is guaranteed to express a property definable by a formula of the other language. Such a case for the classical modal language is the class of Sahlqvist formulas and some extensions of it [3,4], and there are generalizations of Sahlqvist formulas for other languages [5,6,7,8].
In contrast, the general case of comparing the expressivity of any formulas in the languages is not algorithmically feasible. A classical result in correspondence theory is that of Chagrova [9,10], which states that it is undecidable to check whether a first-order sentence defines a class of frames definable by a propositional formula with intuitionistic Kripke semantics.
We further study the topic in two directions. First, while Chagrova’s theorem gives a negative answer for the general correspondence problem for the class of all Kripke frames, one can reduce the complexity of the problem by only considering correspondence with respect to smaller classes of frames. In this direction, we examine a few classes of frames based on linear orders due to their simple structure and rich properties. Second, even if we consider restricted correspondence problems, in general this gives us no guarantee that they become simpler, even if we restrict ourselves to simple first-order definable classes of frames. While Chagrova’s results were groundbreaking, the original constructions are involved and based on reductions of undecidable problems for Minsky machines. A model-theoretic approach to the problem of definability of first-order sentences is developed in [11] based on the so-called stable classes of frames. This approach is shown in [12,13] to be applicable in a wide range of situations, and here we reiterate it to the context of intuitionistic propositional logic. This allows us to prove undecidability by model-theoretic means and reductions of problems inherent to the classes of consideration, more precisely the first-order validity problem for the classes.
We summarize our contribution as follows:
  • We devise a general procedure for solving the propositional definability problem with respect to the classes of all linear orders, all disjoint unions of linear orders, and the restrictions of the former classes to finite orders. We prove that the procedure is effective for those classes.
  • We prove that the monadic second-order theory of the class of all at most countable disjoint unions of linear orders is decidable.
  • We note that the technique of stable classes [11] can be applied to the intuitionistic case. The adaptation is straightforward and here our contribution to the technique itself is mainly exposition.
  • We define the class of connectivity maps and prove that its first-order theory is undecidable. We prove that as a corollary to this follows the undecidability of the first-order theories of the classes of partial orders of bounded depth, finite partial orders of bounded depth, and dense partial orders.
  • We prove that the propositional definability problem with respect to the classes we just listed is undecidable.
The text is structured as follows:
  • Section 2 consists of a listing of preliminary facts where we introduce notation and recall basic properties about the topics of first- and second-order logic and intuitionistic propositional logic.
  • Section 3 deals with the definability problem with respect to certain classes based on linear orders. We obtain positive results about the classes and show effective means of finding propositional definitions of first-order sentences with respect to the restricted problem. The main result follows by reducing the decidability of the monadic second-order theory of the class of at most countable disjoint unions of linear orders to the monadic second-order theory of at most countable linear orders [14].
  • Section 4 points out a few classes of frames that give rise to undecidable instances of the definability problem. The main result is obtained by applying the technique of showing the stability of the classes in the sense of [11] and then proving the undecidability of the first-order validity problem. We achieve the latter by obtaining a chain of reductions of the undecidable problem of validity of sentences for the first-order theory of a symmetric and reflexive relation.

2. Preliminaries

We briefly outline any relevant notation and related fundamental results. For a quick notation guide check Table 1. We work in the framework of Zermelo–Fraenkel set theory with the axiom of choice, ZFC; denote by ω the set of all natural numbers; and use α as a variable for ordinals.
We say that a chain has length n < ω if it contains exactly n elements, and that a partial order P is of depth n < ω if every chain in P is of a length at most n and there is at least one chain in P of length n.

2.1. First-Order Languages and Logic

The first-order languages we discuss have a countably infinite set of individual variables and contain a symbol ≐, which is interpreted as formal equality. We are only interested in relational languages, i.e., containing no function (or constant) symbols. We use standard first-order logic semantics based on variable assignments, using Gothic letters to denote structures (we sometimes alternatively say models for the language, [15]) and capital Latin letters to denote formulas.
To recall, atomic formulas of a relational first-order language L are of the form p ( x 1 , , x n ) or x 1 x 2 , where x 1 , x 2 , , x n are individual variables and p is a relation symbol in L ; the formulas of L are either atomic formulas or of the form ( A B ) , ¬ A , x A . Other propositional connectives and the universal quantifier are introduced as abbreviations in terms of the symbols already introduced; as usual, we sometimes omit parentheses for brevity. If L contains the symbol ≤, we introduce the symbol < and abbreviate ( x y ¬ ( x y ) ) to x < y . We define free and bound variables in a formula in the usual manner and say that A is a sentence if none of its variables are free. We denote by q r ( A ) the quantifier rank of A, i.e., the largest depth of nesting of quantifiers within A.
A structure A for L consists of a set | A | (the universe of A ) together with a corresponding relation p A | A | n of an appropriate arity for each relation symbol p of L . Given a variable assignment V that maps individual variables of L to elements of | A | , the Tarski satisfaction relation ⊧ is defined by recursion on formulas:
  • A , V x y iff V ( x ) = V ( y ) ;
  • A , V p ( x 1 , , x n ) iff p A ( V ( x 1 ) , , V ( x n ) ) ;
  • A , V ¬ A iff it is not the case that A , V A (we write A , V A );
  • A , V A B iff A , V A and A , V B ;
  • A , V x A iff there exists an assignment V such that V ( y ) = V ( y ) for all variables except maybe x, such that A , V A .
We note that the abbreviations introduced in the previous paragraph are interpreted in the expected way when one unwinds the abbreviation.
Whenever A is a structure, A is a first-order formula with free variables among x 1 , , x n , and  a 1 , , a n are elements of | A | . We write A A [ [ a 1 , , a n ] ] for A , V A , where V is any variable assignment such that V ( x i ) = a i . If A is a sentence, then we write A A for A , V A where V is any variable assignment.
We say that A validates a sentence A if A A . The theory of a class K of structures is the set of those sentences valid in each structure in K .
We assume that the reader is acquainted with fundamental notions and results such as the compactness theorem and the Löwenheim-Skolem theorem, substructures and elementary substructures, isomorphisms and embeddings. The reader may consult [15] for further references.
For a formula A with free variables among x 1 , , x n , y and a formula B having no common variables with A, we define the relativization of B with respect to A and y and denote it by ( B ) A , y , by recursion on B:
  • ( B ) A , y = B if B is atomic;
  • ( ¬ B ) A , y = ¬ ( B ) A , y ;
  • ( B 1 B 2 ) A , y = ( B 1 ) A , y ( B 2 ) A , y ;
  • ( z B 1 ) A , y = z ( A [ y / z ] ( B 1 ) A , y ) , where A [ y / z ] is the formula obtained by replacing every free occurrence of y in A by z.
Given structures A and B , formula A with free variables among x 1 , , x n , y and elements a 1 , , a n | A | , we say that B is the relativized reduct of A with respect to A and a 1 , , a n if B is the substructure of A with the universe of those elements b | A | such that A A [ [ a 1 , , a n , b ] ] . The relativized reduct of A with respect to A and a 1 , , a n exists iff A y A [ [ a 1 , , a n ] ] .
The relativization theorem connects the notion of relativized reducts and relativizations of formulas:
Theorem 1
(Relativization theorem). If B is the relativized reduct of A with respect to A and a 1 , , a n and B is a formula with free variables among z 1 , , z k that has no common variable with A, then for every b 1 , b k | B | it holds that B B [ [ b 1 , , b k ] ] iff A ( B ) A , y [ [ a 1 , , a n , b 1 , , b k ] ] .
Proof. 
The reader may consult Theorem 5.1.1 of [16].    □
We provide a quick example for the last few definitions. Let A be the structure for the language { } with universe { 1 , 2 , 3 , 4 , 5 , 6 } and interpretation of the order A as the reflexive and transitive closure of the relation { 1 , 3 , 3 , 5 , 2 , 3 , 2 , 4 , 4 , 6 } . Let A be the formula ¬ x ( x < y ) ¬ x ( y < x ) that has the content “y is an extremal element”.
Then, the relativized reduct of A with respect to A is the structure B with universe { 1 , 2 , 5 , 6 } and interpretation of the order B = A ( | B | × | B | ) , i.e., the reflexive and transitive closure of the relation { 1 , 5 , 2 , 5 , 2 , 6 } .
Let B be the formula z 1 z 2 ( x < z 1 x < z 2 ¬ ( z 1 z 2 ) ) , which states that there are at least two distinct elements greater than x. Then, ( B ) A , y is z 1 ( ( ¬ x ( x < z 1 ) ¬ x ( z 1 < x ) ) z 2 ( ( ¬ x ( x < z 2 ) ¬ x ( z 2 < x ) ) x < z 1 x < z 2 ¬ ( z 1 z 2 ) ) ) , stating that there are at least two distinct extremal elements greater than x.

2.2. Monadic Second-Order Languages and Logic

We obtain a relational monadic second-order language by extending a relational first-order language L with a countably infinite set of set variables which we denote by capital Latin letters, and a new logical symbol ∈. We introduce new atomic formulas of the form x Z for each individual variable x and set variable Z, and we obtain the formulas of L by extending the first-order definition with the additional clause that if X is a set variable and A is a formula, then X A is a formula.
Structures for a monadic second-order language are defined in the same way as in the first-order case. For a structure A we extend variable assignments to map set variables to subsets of | A | . We then define the satisfaction relation by adding the following clauses to the first-order definition:
  • A , V x Z iff V ( x ) V ( Z ) ;
  • A , V X A iff there exists an assignment V such that V ( y ) = V ( y ) for all individual variables and V ( Z ) = V ( Z ) for all set variables except maybe X, such that A , V A .
Similar to the first-order case, if A is a monadic second-order formula with free variables among x 1 , , x n , X 1 , , X k , and  a 1 , , a n | A | and T 1 , , T k | A | , then we write A A [ [ a 1 , , a n , T 1 , , T k ] ] for A , V A , where V is any variable assignment such that V ( x i ) = a i and V ( X j ) = T j . The monadic second-order theory of a class K of structures is defined as in the first-order case, i.e., the set of all monadic second-order sentences valid in all structures from K .
We use abbreviations for usual set-theoretic properties, e.g., we write X Y for z ( z X z Y ) and write X Y for X Y Y X .

2.3. Intuitionistic Propositional Logic

The formulas of the intuitionistic propositional logic are the same syntactic objects as the formulas of classical propositional logic, i.e., we have a countably infinite set of propositional variables, together with the propositional connectives , , and the propositional constant ⊥. Any propositional constant or variable is a propositional formula and if φ and ψ are propositional formulas, then so are ( φ ψ ) , ( φ ψ ) , and ( φ ψ ) ; we often omit parentheses. We introduce the connective ¬ and the constant ⊤ as abbreviations; i.e.,  ¬ φ is an abbreviation for φ and ⊤ is an abbreviation for ¬⊥.
We recall the standard relational Kripke semantics (see [17]). A Kripke frame is F = F , F , where F is a non-empty set (the universe of the frame) and F is a partial order on F. A variable assignment for F = F , F maps propositional variables to upward closed subsets of F; i.e., if x V ( p ) and x F y , then y V ( p ) for every propositional variable p and elements x , y F . A Kripke model is a Kripke frame together with a variable assignment. For a Kripke model consisting of a frame F together with a variable assignment V, the pointwise satisfaction relation ⊧ at points x F is defined by recursion on the following formulas:
  • ( F , V , x ) ;
  • ( F , V , x ) p iff x V ( p ) ;
  • ( F , V , x ) φ ψ iff ( F , V , x ) φ and ( F , V , x ) ψ ;
  • ( F , V , x ) φ ψ iff ( F , V , x ) φ or ( F , V , x ) ψ ;
  • ( F , V , x ) φ ψ iff for every y F such that x F y ; it holds that if ( F , V , y ) φ , then ( F , V , y ) ψ .
We say that a frame F validates a propositional formula φ and write F φ if ( F , V , x ) φ for every variable assignment V and every x | F | ; if K is a class of frames, we write K φ if F φ for every F K . We denote by I n t the minimal intuitionistic logic. We say that F validates a superintuitionistic logic L and write F L if F validates each of its axioms. We say that a logic L is complete with respect to a class of frames K if φ L iff F φ for every F K . The logic of a class of frames K is the logic L o g ( K ) = { φ K φ } .
We define a certain set of formulas φ d e p t h n for each natural number n by recursion:
  • φ d e p t h 0 = ;
  • φ d e p t h n + 1 = p n + 1 ( p n + 1 φ d e p t h n ) .
For each natural number n, a frame F validates the formula φ d e p t h n iff the depth of F is at most n.
We assume the reader is acquainted with standard constructions and properties of Kripke frames, such as generated subframes, disjoint unions of frames and p-morphic images, and isomorphisms. For further reference the reader may consult [17].

2.4. Definability by Intuitionistic Formulas

There is a natural duality between Kripke frames and first-order models for the language of order, i.e., the language containing a single nonlogical relation symbol ≤, which is interpreted as the partial order of the frame.
Every Kripke frame is a model for the first-order theory of partial orders. Consider a non-empty class K of Kripke frames. We say that a propositional formula φ defines a first-order sentence A with respect to K if for every Kripke frame F K we have that F φ iff F A . If  φ defines A with respect to K , we also say φ is a propositional definition of A with respect to K and that A defines φ with respect to K .
The problem I n t d e f is the following algorithmic task: when given as input a first-order sentence A, output ‘yes’ if there exists a propositional definition φ of A, and output ‘no’ otherwise.
For our purposes, we deal with algorithms by describing them in natural language pseudocode and assume that the reader is able to translate it to either a formal mathematical model such as a Turing machine, or to a program in a desired programming language. In this terminology (and invoking the Church–Turing thesis) we say that a problem is decidable if there is an algorithm that solves it, and we say that it is undecidable otherwise.

3. Decidable Instances of Definability

We consider classes based on linear orders, in particular the following:
  • The class L I N of all linear orders.
  • The class L I N f i n of all finite linear orders.
  • The class D L I N of all unions of families of pairwise disjoint linear orders.
  • The class D L I N f i n of all finite frames in D L I N .
We note that the classes L I N and D L I N are finitely axiomatizable, while the classes L I N f i n and D L I N f i n are not. A possible axiomatization for D L I N is to take as its axiom the conjunction of the axiom for partial orders and the sentence
x y ( z ( ( x z y z ) ( z x z y ) ) ( x y y x ) ) .
The above classes are prospective candidates for a positive resolution to the algorithmic definability problem since the linear intuitionistic Kripke frames have a simple structure.
For a quick example, consider the formula A 1 = x 1 x 2 x 3 z ( x 1 z x 2 z x 3 z ) , which is valid in exactly those partial orders that have at most 3 elements. If  φ is a propositional formula that defines A 1 with respect to D L I N or D L I N f i n , then by the properties of generated subframes, it would follow that φ is valid in the disjoint union of two chains of length 3. But this disjoint union would not validate A 1 ; hence, such a definition does not exist. The same construction does not work in the case of L I N and L I N f i n , and indeed, the formula φ d e p t h 3 defines A 1 with respect to these classes.
For another example, let A 2 be the formula x y ( x y ) that is true in the partial orders that have a least element. By an argument similar to the previous example, we can easily see that A 2 is undefinable with respect to D L I N and D L I N f i n . Since each finite linear order has a least element, it follows that ⊤ defines A 2 with respect to L I N f i n . But if A had a propositional definition φ with respect to L I N , then φ would be valid in all rooted generated subframes of linear orders; hence, φ would be valid in L I N . But not every linear order has a least element.
We denote by L C the superintuitionistic logic obtained by adding to I n t the additional axiom ( p q ) ( q p ) . This logic was introduced by Michael Dummett [18] in 1959 and is known as Dummett logic and also as Gödel–Dummett logic. It is well studied, and in the following proposition we remind the reader of some of its properties that will be useful later:
Proposition 1.
The logic L C has the following properties:
(i) 
A frame F validates L C iff every generated subframe of F is linear. Since a frame validates a formula iff each of its generated subframes validate it, L C is complete with respect to L I N and with respect to D L I N .
(ii) 
For any propositional formula φ with v a r s ( φ ) { p 1 , , p n } , L C φ iff F n + 1 φ , where F n + 1 is a linear order with n + 1 elements.
(iii) 
L C is complete with respect to L I N f i n and with respect to D L I N f i n .
(iv) 
Any finite linear order is a p-morphic image of any infinite linear order.
(v) 
L C is complete with respect to any infinite linear order.
(vi) 
For any propositional formula φ, either L C φ or there is a natural number n such that for every frame F for L C , it holds that F φ iff F φ d e p t h n .
Proof. 
The properties in ( i ) are well-known standard results.
(ii) 
The left to right direction is immediate for right to left:
Suppose that F n + 1 φ and take any linear order F = F , F , variable assignment V in F , and point x F , we show that F , V , x φ .
For a point z F , denote by p ( z ) the set of those propositional variables among { p 1 , , p n } such that F , V , z p i . Consider the finite partial order G = G , , where G = { p ( z ) x F z } . Since variable assignments are upward closed, G is a linear order. Moreover, G contains at most n + 1 elements since any P G contains at most n elements and the sets in G are ordered by inclusion.
One verifies by straightforward induction on the formula ψ with v a r s ( ψ ) { p 1 , , p n } that for every z F such that x F z we have that F , V , z ψ G , V , p ( z ) ψ where V ( p i ) = { P G p i P } . But  G is isomorphic to a generated subframe of F n + 1 , and since F n + 1 φ we conclude that G , V , p ( x ) φ ; hence, F , V , x φ .
(iii) 
Immediate corollary to ( i ) and ( i i ) .
(iv) 
Take any infinite linear order F = F , F and natural number n 1 . We show that F n = { 0 , 1 , , n 1 } , F n is a p-morphic image of F , where F n is the usual numerical ordering. Since F is infinite, we can pick t 0 , , t n 1 F such that t i < F t i + 1 for 0 i < n 1 . Now the following function f : F { 0 , , n 1 } is a p-morphism of F onto F n :
  • For t F such that t > F t n 1 , define f ( t ) = n 1 .
  • For t F such that t F t n 1 , define f ( t ) = m , where m is the least natural number such that 0 m n 1 and t t m .
(v) 
Take an infinite linearly ordered frame F . For any propositional formula φ , if  F φ we have by ( i v ) and the properties of p-morphic images that φ is valid in all finite linearly ordered frames; therefore, L C φ by ( i i i ) .
(vi) 
Suppose that L C φ . Then, by ( i i ) , F n + 1 φ , where v a r s ( φ ) { p 1 , , p n } and F n + 1 is a linear order with n + 1 elements. If  F k is a finite linear order with k n + 1 elements, then F k φ since F n + 1 is isomorphic to a generated subframe of F k . Therefore, either φ is valid in no finite linear frame (in which case = φ d e p t h 0 satisfies the desired property) or there is a greatest natural number m such that 1 m n and F m φ . Since F k is isomorphic to a generated subframe of F m for 1 k m , we have that the finite linear frames that validate φ are exactly those of depth at most m.
Now if F φ d e p t h m , then every chain in F contains at most m elements; in particular every generated subframe of F is a linear order with at most m elements and thus validates φ , so F φ .
Conversely, if  F φ , then every generated subframe of F is a linear order that validates φ , therefore, contains at most m elements. Therefore, any chain in F must have at most m elements; thus, F φ d e p t h m .
   □
Notice that property ( v i ) is quite illuminating: it states that the formulas ⊤ and φ d e p t h n for natural n exhaust all possible definitions expressible in the propositional language. More broadly, Proposition 1 provides enough clarity about the properties of the logic L C to be able to devise a general procedure that can be used to resolve the propositional definability problem for each of the classes L I N , D L I N , L I N f i n , D L I N f i n .
Throughout the remainder of this section, unless explicitly specified, we write K for any of the classes mentioned above. We now describe the procedure for solving the I n t d e f problem with respect to K and argue about the correctness of the steps involved:
(1)
(Validity) Decide whether K A .
If true, then ⊤ clearly is a propositional definition of A with respect to K .
If false:
(2)
(Finiteness) Decide whether A is valid in a structure from K with an infinite chain.
If true, then A is undefinable with respect to K .
Proof. 
Suppose that there is some F K such that F A and F contains an infinite chain. Assume for contradiction that φ defines A with respect to K . Then, in particular F φ . By property ( v ) , this means that L C φ so K φ . But then since φ defines A, this means that K A , which we ruled out in the previous step and is, therefore, a contradiction.    □
If false:
(3)
(Boundedness) Decide whether there exists a uniform bound m of the depth of all models of A in K .
If false, then A is undefinable with respect to K .
Proof. 
Assume for contradiction that A has a propositional definition φ . Then, since (Boundedness) gives a negative answer, there are frames F K of arbitrary depth validating φ . In particular, there are arbitrarily long linear orders (as generated subframes of the frames in K ) validating φ and, therefore, by property ( 3 ) we have that L C φ ; thus, K φ . But since φ defines A, this means that K A , which we ruled out in step (Validity).    □
If true:
(4)
(Least bound) Find the least uniform bound m of the depth of all models of A in K .
Proof. 
Such uniform bound exists by the positive answer given in the previous step.    □
(5)
(Bound-completeness) Decide whether F A for all frames F K of depth at most m.
If true, then φ d e p t h m defines A with respect to K .
Proof. 
Take F K .
Suppose first that F A . Then, by (Boundedness), all chains in F are of length at most m. Therefore, F φ d e p t h m .
Now suppose that F φ d e p t h m . Then, by the positive answer of (Bound-completeness), F A .    □
If false, then A is undefinable with respect to K .
Proof. 
Assume for contradiction that there exists a propositional definition φ of A with respect to K . The uniform bound m cannot be 0 since K ¬ A ; hence, (Bound-completeness) gives a positive answer. Since m is the least uniform bound, this means that there is frame F A K of depth m such that F A A ; otherwise, m would not be least. Since φ defines A, F A φ . But then the linear order with m elements F m is a generated subframe of F , so F m φ , and, therefore, F k φ for 1 k m . Take any frame F K of depth at most m. Then, any generated subframe of F is isomorphic to F k for some 1 k m . So, any generated subframe of F validates φ , so F φ . But since F K was arbitrary of depth at most m, (Bound-completeness) gives a positive answer—contradiction.    □
Observe that the procedure we just described not only recognizes the definable first-order sentences but also explicitly points out a propositional definition when it exists. Now, in order to prove that the propositional definability problem with respect to K is decidable, it is sufficient to show that the problems (Validity), (Finiteness), (Boundedness), (Least bound), and (Bound-completeness) can be computably solved for the class K . This will allow us to prove the main result of this section, namely, the following theorem:
Theorem 2.
The instances of the definability problem I n t d e f with respect to any of the classes L I N , L I N f i n , D L I N , D L I N f i n is decidable.
Proof. 
The result follows from the procedure described above and the following lemmas:
  • Lemma 2 shows that (Validity) is decidable.
  • Lemma 1 deals with (Bound-completeness) and (Least bound).
  • Lemma 3 shows that (Finiteness) is decidable.
  • Lemmas 4 and 5 show that (Boundedness) is decidable.
   □
We now proceed to show that the above problems are decidable. First, we notice that solving (Validity) and (Boundedness) immediately allows us to solve (Bound-completeness) and (Least bound).
Lemma 1.
If the first-order theory of K is decidable, then the problem (Bound-completeness) and the restriction of the problem (Least bound) to only those input sentences for which (Boundedness) gives a positive answer are decidable.
Proof. 
Suppose that the first-order theory of K is decidable. For any natural number m, denote by B m the sentence ¬ x 1 x 2 x m + 1 i = 1 m ( x i < x i + 1 ) , which is valid in exactly the frames of depth at most m.
We now have that F A for all frames F K of depth at most m iff K B m A . Since the sentence B m A can be computed from the parameters A and m and the first-order theory of K is decidable, this gives us an effective procedure to solve (Bound-completeness).
Now suppose in addition that the instance of (Boundedness) for the class K gives a positive answer for the sentence A. Then, there exists a least uniform bound m on the depth of the frames from K that validate A. This m is the least natural number such that K A B m (this sentence is again computable from the parameters A and m). Since such a natural number is guaranteed to exist, an effective solution to (Least bound) is to check in increasing order for each natural number t whether the sentence A B t is valid in K ; halting with answer m when in step m, we get a positive answer for the first time.    □
Of the problems we now need to solve, in some sense the most challenging is (Finiteness) because it deals with a property that is not expressible in the first-order language. This naturally leads us to consider the monadic second-order language which is better suited for internally analyzing this property. When dealing with second-order theories, we are interested in the class K ω consisting of those frames in K whose universe is at most countable. This is necessitated by the fact that the monadic second-order theory of the full class L I N is undecidable (a result due to Shelah [19]), which immediately means that the monadic second-order theory of the full class D L I N is also undecidable. Working with the restricted class K ω allows us to obtain decidability results on the monadic second-order side and then we make use of the Löwenheim-Skolem theorem to reduce problems for K to problems for K ω , which we can solve. A direct corollary to Rabin’s theorem [14] on the decidability of the theory S 2 S is the following theorem, which is key to our results:
Theorem 3
(Rabin [14]). The monadic second-order theory of the class L I N ω in the language of order is decidable.
Note that an immediate corollary of the above theorem is that the monadic second-order theory of L I N ω in the language of order expanded by a predicate F I N for finite sets is decidable. The reason is that F I N ( X ) can be defined by the formula
Y ( ( Y X x ( x Y ) ) ( ( x Y ) ( z Y ) ( x z ) ( y Y ) ( z Y ) ( z y ) ) ,
which states that X is finite iff every non-empty subset of X has a least and a greatest element.
Now, our main task is to obtain the corresponding result for the class D L I N ω . We do this by showing that we can embed frames F D L I N ω inside frames L L I N ω in a way that allows us to translate properties of F into properties of L . To further elaborate, since F is the disjoint union of some family F of linear orders, we clearly have to embed the linear orders of F inside L , but in such a way that we can easily distinguish which elements of L belong to the same chain of F and which do not. We accomplish this by adding to L new auxiliary elements, which we call indices of F . To each linear order L F we designate an index i L and then obtain a “segment” from L by adding to it the index i L as a greatest element. Then, we obtain L from F by gluing one after another all the “segments” obtained from all the linear orders in F .
This clearly results in an at-most countable linear order L , which we call a linearization of F . A linearization is inherently dependent on the order in which we glue together the segments. We can think of this order as an ordering on the set of indices of F , and different orderings on the set of indices may result in non-isomorphic linearizations of F . Additionally, if we are given a linearization L and know the set D | L | of all indices, we want to be able to distinguish which elements of L belong to the same segment. The most natural way to do this is to look at the position in L of the index i L and declare that its corresponding linear order L consists of all elements in L that are less than i L and bigger than any other index i D .
Those considerations lead us to consider only sets of indices that are isomorphic to initial segments of ω (with the inherited order from the linearization). Such sets avoid pathological situations in which non-indices from L cannot be assigned to an index, while also somewhat limiting the variance of possible linearizations of a frame F D L I N ω , making them simpler to reason about. Clearly, we do not lose any expressiveness by imposing this restriction as any frame F D L I N ω can be obtained by taking the union of a family of linear orders F with an index set that is an initial segment of ω .
Definition 1.
Let F be a frame in D L I N ω . Without loss of generality, we assume that ( i )   F is the union of a family of pairwise disjoint linear orders { F n n < α } , where α is an ordinal, α ω ; and ( i i ) | F | α = . We say that α is the set of indices of F .
We define a linearization of  F (with respect to the set of indices α) as the frame L L I N ω with universe | L | = | F | { n n < α } and whose order L is the unique linear order on | L | with the following properties:
  • L extends F ;
  • x < L m for each n m < α and each x F n ;
  • m < L x for each m < n < α and each x F n .
Let R be a monadic set variable and define the following mapping t r translation—between formulas of the monadic second-order language of order expanded by the predicate F I N ( X ) for finite sets:
  • t r ( x y ) = x y .
  • t r ( F I N ( X ) ) = F I N ( X ) .
  • t r ( x X ) = x X .
  • t r ( x y ) = x y ¬ ( d R ) ( x d d y ) .
  • t r ( ¬ A ) = ¬ t r ( A ) .
  • t r ( A B ) = t r ( A ) t r ( B ) .
  • t r ( x A ) = x ( x R t r ( A ) ) .
  • t r ( X A ) = X ( ¬ x ( x X x R ) t r ( A ) ) .
Now the translation t r transforms a formula A expressing a monadic second-order property of F into the formula t r ( A ) , which expresses a monadic second-order property of L . The key consideration in the translation is that the order of F is interpreted inside L as discussed before Definition 1 and that this interpretation is monadic second-order definable in terms of the set variable R, which is interpreted as the set of indices of F .
Proposition 2.
Let F D L I N ω and L L I N ω be a linearization of F . For each monadic second-order sentence A such that the variable R does not occur in A, we have that F A iff L t r ( A ) [ [ α ] ] , where α is the set of indices of F .
Proof. 
By induction on the formulas A with free variables among x 1 , , x n , X 1 , , X n and having no occurrences of R, we can prove that for each tuple a 1 , , a n of elements of F and each tuple S 1 , , S m of subsets of F , we have that F A [ [ a 1 , , a n , S 1 , , S n ] ] iff L t r ( A ) [ [ a 1 , , a n , S 1 , , S n , α ] ] . In particular, when A is a sentence, we obtain the required property.    □
Proposition 3.
For a frame L L I N ω and a subset D | L | , L is isomorphic to a linearization of a frame F D L I N ω with the set of indices of F mapped to the set D precisely when D satisfies the following condition, expressible in the monadic second-order language by a formula i n d i c e s ( R ) :
(1) 
D is either finite or isomorphic to ω under L .
(2) 
For every d 1 , d 2 D such that d 1 < L d 2 there exists some x | L | D such that d 1 < L x < L d 2 .
(3) 
| L | D and for every x | L | D there is some d D such that x < L d .
Proof. 
The listed conditions are immediately verified and follow the discussion before Definition 1.
We define the formula i n d i c e s ( R ) as the conjunction of the following formulas, each corresponding to one of the listed properties:
(1)
( y R ) ( Y R ) ( ( x R ) ( x y x Y ) F I N ( Y ) ) stating that all initial segments of elements of the interpretation of R are finite. This happens precisely when the interpretation of R is either a finite linear order or has the same order type as ω .
(2)
( d 1 R ) ( d 2 R ) ( d 1 < d 2 x ( x R d 1 < x x < d 2 ) )
(3)
x ( x R ) x ( x R ( d R ) ( x < d ) )
   □
Theorem 4.
The monadic second-order theory of D L I N ω in the language of order expanded by the predicate F I N for finite sets is decidable.
Proof. 
We reduce to the monadic second-order theory of L I N ω . For a monadic second-order sentence A, we first replace all occurrences of the set variable R in A with a new set variable not occurring in A. We show that D L I N ω A iff L I N ω R ( i n d i c e s ( R ) t r ( A ) ) , where i n d i c e s ( R ) is the formula from Proposition 3. This immediately shows how to obtain the desired reduction.
Suppose first that D L I N ω A . Let L L I N ω and D | D | be such that L i n d i c e s ( R ) [ [ D ] ] . Then, by Proposition 3, we know that D is isomorphic to a linearization of some frame F D L I N ω with the set of indices of F mapped to the set D. Since D L I N ω A , this means that F A , so by Proposition 2, this means that L t r ( A ) [ [ D ] ] . Since D was an arbitrary subset of | L | such that L i n d i c e s ( R ) [ [ D ] ] , this means that L R ( i n d i c e s ( R ) t r ( A ) ) . Since L was arbitrary, this, in turn, means that L I N ω R ( i n d i c e s ( R ) t r ( A ) ) .
Now suppose that L I N ω R ( i n d i c e s ( R ) t r ( A ) ) . Let F D L I N ω be arbitrary and L L I N ω be a linearization of F . Since L L I N ω , this means that L R ( i n d i c e s ( R ) t r ( A ) ) . Let D be the set of indices of F . Then, L i n d i c e s ( R ) [ [ D ] ] ; hence, L t r ( A ) [ [ D ] ] . Then, by Proposition 2, this means that F A . Since F was arbitrary, this means that D L I N ω A .    □
Lemma 2.
Let K be any of the classes L I N , L I N f i n , D L I N , D L I N f i n . Then, (Validity) for K , i.e., the following problem:
  input:first-order sentence A
  output:true, if  K A ; and  false, otherwise
  • is decidable.
Proof. 
Consequence of Theorems 3 and 4.
For a first-order sentence A, we have that D L I N f i n A precisely when D L I N ω X ( F I N ( X ) ) A . This reduces the first-order theory of D L I N f i n to the monadic second-order theory of D L I N ω . We reduce the first-order theory of L I N f i n to the monadic second-order theory of L I N ω in a similar way.
By the downward Löwenheim-Skolem theorem, we can argue that the first-order theories of D L I N and D L I N ω coincide because the class is axiomatizable. But the first-order theory of D L I N ω is decidable because it is a restriction of the decidable monadic second-order theory of the class. The same argument goes for the decidability of the first-order theory of the class L I N .    □
Lemma 3.
Let K be any of the classes L I N , L I N f i n , D L I N , D L I N f i n . Then, (Finiteness) for K , i.e., the following problem:
  input:first-order sentence A
  output:true, if A is valid in some frame F K , which has an infinite chain; and  false, otherwise
  • is decidable.
Proof. 
Clearly (Finiteness) is trivial for L I N f i n and D L I N f i n .
We now argue for D L I N . The sentence
B = X ( ¬ F I N ( X ) ( y X ) ( z X ) ( y z z y ) )
is valid in a frame iff the frame contains an infinite chain. We prove that (Finiteness) for D L I N should output true on input A iff D L I N ω A ¬ B . The latter condition can be computably checked in view of Theorem 4 and the fact that the sentence A ¬ B can be computed from A.
Suppose first that F D L I N has an infinite chain and F A . Let C be a countably infinite chain in F and obtain by the downward Löwenheim-Skolem theorem a countable elementary substructure F c of F such that C | F c | . Then, since F c is an elementary substructure of F and is countable, we have that F c belongs to D L I N ω and F c A . Moreover, F c contains the infinite chain C so F c B . Therefore, F c A ¬ B ; hence, D L I N ω A ¬ B .
Conversely, suppose that D L I N ω ¬ A ¬ B . Then, there is a frame F D L I N ω , such that F ¬ A ¬ B . But this means that F D L I N , F A and F B ; i.e.,  F D L I N validates A and has an infinite chain.
The argument for L I N is similar to that for D L I N .    □
Lemma 4.
Let K be any of L I N , D L I N . Then, (Boundedness) for K , i.e., the following problem:
  input:first-order sentence A
  output:true, if there exists a uniform bound m < ω on the depth of the frames from K that validate A; and false  , otherwise
  • is decidable. More specifically, on input A (Boundedness) for K always outputs the answer; (Finiteness) does not, so (Boundedness) is decidable as the complement of a decidable problem.
Proof. 
Let A be a first-order sentence.
First, if (Finiteness) outputs true on input A, this means that there is a frame F K with an infinite chain such that F A . This clearly means that (Boundedness) should output false.
Conversely, suppose that (Boundedness) outputs false on input A. Then, no natural number m uniformly bounds the depth of the frames from K that validate A. By application of a standard compactness argument, we can then show that the set
T = { K , A } { c i < c i + 1 i < ω }
is satisfiable where K is the axiom for K and the c i for i < ω are distinct constant symbols. Let F T ; then, we can conclude that F A because A T , F K because K T , and  F has an infinite chain because the set { c i F i < ω } is a chain. Therefore, (Finiteness) outputs true on input A.    □
Remark 1.
Observe that in the procedure for solving the propositional definability problem for K , where K is L I N or D L I N , the step in which we need to query (Boundedness) is only reached if (Finiteness) has previously outputfalsefor A. Therefore, in view of the lemma we just proved, we can skip the step that involves (Boundedness) in the procedure for K .
Lemma 5.
(Boundedness) for L I N f i n and for D L I N f i n is decidable.
Proof. 
Let A be a first-order sentence and q r ( A ) = n .
A classical application of Ehrenfeucht-Fraïssé games shows that any two linear orders with at least 2 n elements agree on the validity of A (the reader may consult [20] for information on Ehrenfeucht-Fraïssé games and basic results). Therefore, in  L I N f i n there are frames of arbitrarily large depth that validate A; precisely when unique up to an isomorphism linear order with 2 n elements validates A. Since n = q r ( A ) and a linear order with 2 n elements are computable from the parameter A, and satisfiability in the obtained structure is computable, the result follows for L I N f i n .
We now obtain a similar property for D L I N f i n . First, from each frame F D L I N f i n we obtain the frame F D L I N f i n by replacing each maximal chain of depth more than 2 n with its initial segment of length 2 n and keeping the other maximal chains intact. We claim that F and F agree on the validity of A and prove it by describing a winning strategy for Duplicator for the n-turn Ehrenfeucht-Fraïssé game for F and F . On each step:
  • If Spoiler picks an element from a chain that has not been modified in the construction, Duplicator picks the same element from the other frame.
  • If Spoiler picks an element from a maximal chain C S in F that has been shrinked to C D in F or an element from a maximal chain C S in F that has been obtained by shrinking the chain C D in F , Duplicator chooses an element in C D by consulting the winning strategy for the n-turn Ehrenfeucht-Fraïssé game for the linear orders C S and C D (both chains contain at least 2 n elements so such strategy exists).
We use the property to prove that there is no uniform bound m of the depth of the frames from D L I N f i n that validate A iff A has a model F D L I N f i n that has a chain C with at least 2 n elements.
Suppose that A has a model F D L I N f i n that contains a chain C with at least 2 n elements and assume for contradiction that there is a uniform bound m of the depth of the frames from D L I N f i n that validates A. Consider the frame F m obtained by extending with m new elements the maximal chain in F , which contains C. Now, since F A , we obtain that F A . Clearly, F m is the same as F , so F m A . And finally F m A since F m A . But  F m contains a chain with more than m elements, which contradicts the property of m being a uniform bound for A.
Conversely, if A has no uniform bound of the depth of its models from D L I N f i n , this means that in particular 2 n is not a uniform bound so A must have a model from D L I N f i n that contains a chain with at least 2 n elements.
Combining the above, we conclude that (Boundedness) for D L I N f i n reduces to checking whether A has a model F D L I N f i n with a chain of depth (at least) 2 n . This, in turn, reduces to (Validity), as such a model exists iff A x 1 x 2 x 2 n ( i = 1 2 n 1 ( x i < x i + 1 ) ) is satisfiable in D L I N f i n .    □
Remark 2.
Note that we can further employ the technique of Ehrenfeucht-Fraïssé games used in the above proof to show alternative decision methods for the validity problem for L I N f i n and D L I N f i n . Let A be a first-order sentence and q r ( A ) = n .
For finite linear orders, we have that L I N f i n A precisely when all (finitely many up to isomorphism) linear orders of depth at most 2 n validate A because all linear orders with at least 2 n elements agree on the validity of A.
Let F D L I N f i n be arbitrary and obtain F as in the proof of 5. We then obtain the subframe F of F by removing some (possibly none) of the maximal chains in F in the following way: for each k 2 n such that there are more than n maximal chains of depth k in F , we remove all but n of those chains in F . There is again a simple winning strategy for Duplicator for the n-turn Ehrenfeucht-Fraïssé game for F and F .
This means that D L I N f i n A precisely when all frames of the form F for some F D L I N f i n validate A. But the frames of type F are precisely those (finitely many up to isomorphism) frames whose chains are of depth at most 2 n and for each k 2 n contain at most n maximal chains with k elements.
Now, to decide validity for either class, we can generate and check the validity of A in a finite number of finite frames (in which satisfaction of sentences is computable), which can be computed from A.

4. Some Classes of Partial Orders with Respect to Which the Problem Int def Is Undecidable

In this section, we obtain negative solutions to the definability problem for some natural classes of partial orders. A classical result in correspondence theory is a theorem by Chagrova [9,10] stating that the definability problem with respect to the class of all partial orders is undecidable. Her method is based on reductions of undecidable problems for Minsky machines. Here we present a technique developed by Balbiani and Tinchev [11], which allows for a model theoretic approach to proving negative results for the definability problem for modal logics.

4.1. Stable Classes of Frames: Stability of a Few Classes of Partial Orders

First we present the technique in its straightforward adaptation for the intuitionistic case.
Definition 2.
We say that a class K of partial orders is stable if there is a first-order sentence B and a first-order formula A with free variables among { y , x 1 , , x n } that satisfy the following conditions:
(1) 
For every frame F K and every tuple a 1 , , a n of points in F , the relativized reduct of F with respect to A and a 1 , a n , if it exists, is a frame in K .
(2) 
For every frame F K , there are frames F 1 K and F 2 K such that L o g ( F 2 ) L o g ( F 1 ) , F 1 B , F 2 B , and F is a relativized reduct of F 2 with respect to A and some parameters a 1 , , a n F 2 .
Theorem 5.
If K is a stable class of partial orders, then the first-order validity problem reduces to the problem I n t d e f with respect to K .
Proof. 
The proof is almost the same as the proof for the modal version of the theorem in [11], only replacing the modal with intuitionistic semantics for the propositional formulas.    □
The above theorem provides a very useful reduction since it allows us to prove undecidability of the definability problem by showing the stability of the class in consideration and the undecidability of its first-order theory.
We apply the theorem to show that the problem I n t d e f with respect to the following classes is undecidable:
  • The class P O of all partial orders (a model-theoretic proof of Chagrova’s result).
  • For each n 2 the class P O d e p t h n of all partial orders of depth at most n.
  • The class D P O of all dense partial orders.
  • The classes P O f i n and P O d e p t h n f i n for n 2 (where the superscript f i n denotes the restriction of the class to finite frames).
We begin with the stability of the classes:
Lemma 6.
The classes P O , P O d e p t h n for n 2 , and D P O are stable.
Proof. 
Denote by K any of the above classes and by K its first-order axiom (all of the above classes are finitely axiomatizable). We choose the formula A = ¬ ( y x 1 ) ¬ ( y x 2 ) and the sentence B = z 1 z 2 ( ¬ ( z 1 z 2 ) i s o l a t e d ( z 1 ) i s o l a t e d ( z 2 ) ) where i s o l a t e d ( z ) is an abbreviation for the formula x ( x z z x x z ) , which states that z is incomparable with any other point.
We show that A and B witness the stability of K .
For property ( 1 ) in the definition of stability: suppose that F K and a 1 , a 2 F are such that the relativized reduct ( F ) A , a 1 , a 2 of F with respect to A and a 1 , a 2 exists. Then, ( F ) A , a 1 , a 2 is the subframe of F with universe | F | { a 1 , a 2 } . If  K is P O , then obviously ( F ) A , a 1 , a 2 is a partial order so ( F ) A , a 1 , a 2 K . If  K is P O d e p t h n , then the depth of the chains in ( F ) A , a 1 , a 2 is also bounded by n since every chain in ( F ) A , a 1 , a 2 is a chain in F so ( F ) A , a 1 , a 2 K . If  K is D P O , then to show that ( F ) A , a 1 , a 2 K , it suffices to check that if b 1 , b 2 | ( F ) A , a 1 , a 2 | and either b 1 < F a 1 < F b 2 or b 1 < F a 2 < F b 2 , then there is some c ( F ) A , a 1 , a 2 such that b 1 < F c < F b 2 . But this is immediate since if b 1 < F a i < F b 2 for i { 1 , 2 } , then by density there is some c 1 such that b 1 < F c 1 < F a i < b 2 . If  c 1 a 1 , a 2 we are done, and, otherwise, by density again there exists some c such that b 1 < F c < F c 1 < F b 2 and then c a 1 , a 2 .
We now turn to property (2) in the definition of stability. Suppose that F K and take a 1 , a 2 F . Take the following frames:
  • F 1 with universe { a } and F 1 = { a , a } .
  • F 2 with universe | F | { a , b } and F 2 = F { a , a , b , b } .
Obviously F 1 and F 2 are partial orders; if the chains in F are bounded in depth by n 2 , then, so are the chains in F 1 and F 2 , and if F is dense, then so are F 1 and F 2 ; so F 1 , F 2 K . Since F 1 is a generated subframe of F 2 , we have that L o g ( F 2 ) L o g ( F 1 ) . F 1 contains a single point so it certainly does not have two isolated points, i.e.,  F 1 B . On the other hand, F 2 contains the isolated points a and b so F 2 B . Finally, F is obtained from F 2 by omitting the new points a and b, so F is the relativized reduct of F 2 with respect to A and a , b .    □
Lemma 7.
The classes P O f i n and P O d e p t h n for n 2 are stable.
Proof. 
The construction for the unrestricted classes in the previous lemma produces finite frames when F is finite.    □
We are now left to show the undecidability of the first-order theories of the classes. A theorem of Tarski [21] gives the undecidability of the first-order theories of the classes P O and P O f i n . In order to prove that the other classes of frames have undecidable first-order theories, we consider a certain class of frames that we call connectivity maps. We later see that such frames are intrinsically related to undirected graphs without loops (which we think are represented by reflexive and symmetric relations).

4.2. Connectivity Maps: Reduction of the First-Order Theory of Connectivity Maps to the Theories of the Considered Classes

Definition 3.
The class of connectivity maps, C M , contains all partial orders that satisfy the following conditions:
  • Any point is either maximal or has exactly two incomparable points strictly above it.
  • Any two distinct points either have no common point strictly below them, or they have exactly one such point.
In the context of partial orders, we use the following abbreviations:
  • m i n ( x ) stands for the formula ¬ y ( y < x ) , which states that x is a minimal element.
  • m a x ( x ) stands for the formula ¬ y ( x < y ) , which states that x is a maximal element.
  • m i d ( x ) stands for the formula abbreviated by ¬ m i n ( x ) ¬ m a x ( x ) , which states that x is neither minimal nor maximal.
Proposition 4.
The class C M has the following properties:
(1) 
Each connectivity map is a partial order of depth at most 2.
(2) 
C M is finitely axiomatizable.
(3) 
The first-order theory of C M reduces to the first-order theory of P O d e p t h n for n 2 . The same relationship holds for C M f i n and P O d e p t h n f i n for n 2 .
Proof. 
(1)
Assume for contradiction that there is F C M and x , y , z F are such that x < F y < F z . Since y has a point above it, it must have exactly two points z 1 , z 2 above it. But then both x and y are strictly below z 1 and z 2 , which violates the second condition for membership to C M .
(2)
We take the axioms for partial orders together with the following axioms corresponding to the two membership conditions for C M :
x ( ¬ z ( x < z ) z 1 z 2 ( x < z 1 x < z 2 z 1 ¬ z 2 z ( x < z ( z z 1 z z 2 ) ) ) )
x y ( x ¬ y z 1 z 2 ( ( z 1 < x z 1 < y z 2 < x z 2 < y ) z 1 z 2 ) )
(3)
C M is an axiomatizable subclass of P O d e p t h n for n 2 , so for a first-order sentence A we have that C M A iff P O d e p t h n C A , where C is the axiom for C M . The same reduction holds for the classes of finite frames.
   □
The essence of the above proposition is that the undecidability of the first-order theory of the class C M (and C M f i n ) propagates to the other classes we have listed with the exception of the class D P O . For  D P O we need to take an intermediate step by considering “dense variants” of connectivity maps.
Definition 4.
Let C be a connectivity map. We say that the partial order D is a densification of C if D is obtained by inserting between each pair x < C y a fresh dense linear order with a least element x and greatest element y. Denote by D C M the class of all densifications of connectivity maps.
Proposition 5.
The class D C M has the following properties:
(1) 
D C M is finitely axiomatizable.
(2) 
There is a translation t r D of first-order formulas such that for each first-order sentence A it holds that C A iff D t r D ( A ) , where C is any connectivity map and D is any of its densifications.
(3) 
The first-order theory of C M reduces to the first-order theory of D C M .
Proof. 
(1)
The following sentences (we use ! x as the usual abbreviation for “there exists a unique x”) provide an axiomatization for D C M :
(a)
The axiom for dense partial orders.
(b)
x y ( m i n ( x ) m a x ( y ) z 1 z 2 ( ( x z 1 z 1 y x z 2 z 2 y ) ( z 1 z 2 z 2 z 1 ) ) ) stating that any interval between a minimal and a maximal element is linearly ordered.
(c)
z ( m i d ( z ) ! x ( m i n ( x ) x z ) ! y ( m a x ( y ) z y ) ) stating that each nonextremal element is comparable with a unique maximal element and a unique minimal element.
(d)
x ( m i n ( x ) ( m a x ( x ) y 1 y 2 ( m a x ( y 1 ) m a x ( y 2 ) x < y 1 x < y 2 y ( ( m a x ( y ) x < y ) ( y y 1 y y 2 ) ) ) ) ) stating that each minimal element is either maximal or is below exactly two maximal elements (the axiom roughly corresponds to the first membership condition for C M ).
(e)
y 1 y 2 ( ( y 1 ¬ y 2 m a x ( y 1 ) m a x ( y 2 ) ) x 1 x 2 ( ( m i n ( x 1 ) m i n ( x 2 ) x 1 < y 1 x 2 < y 1 x 1 < y 2 x 2 < y 2 ) x 1 x 2 ) stating that each pair of distinct maximal elements have at most one common minimal element below them (roughly corresponds to the second membership condition for C M ).
An immediate verification shows that each frame from D C M satisfies the axioms. Conversely, suppose that F satisfies the axioms. We can then obtain C as the subframe of F whose universe consists of the extremal elements of F . F is a partial order, so C is, too. Moreover, C satisfies the two membership conditions for C M because the last two axioms above force the extremal elements of F to be in an appropriate configuration, so C C M .
By axiom ( c ) we know that the extremal elements of F together with the intervals between minimal and maximal elements exhaust all of F and that the interiors of such intervals are two by two disjoint. Axiom ( b ) together with the density of F means that each such interval is a dense linear order. Therefore, F can be obtained as a densification of C by replacing each pair x < C y in C by the dense and linearly ordered interval [ x , y ] | F | ; hence, F D C M .
(2)
Consider the formula U = m i n ( y ) m a x ( y ) . Define the translation t r D C M that transforms a first-order formula A into its relativization with respect to the formula U and the variable y, i.e.,  t r D C M ( A ) = ( A ) U , y . Now consider a connectivity map C and any of its densifications D . C consists of the extremal elements of D , so C is the relativized reduct of D with respect to U and y. Therefore, by the relativization theorem, it follows that C A iff D t r D C M ( A ) .
(3)
Denote by D the axiom for the class D C M and consider the translation t r D C M from ( 2 ) . Then, for any sentence A, we have that C M A iff C A for each connectivity map C C M iff (by (2)) D t r D C M ( A ) for each densification D D C M of any connectivity map C C M iff D C M t r D C M ( A ) .
   □
Corollary 1.
The first-order theory of C M reduces to the first-order theory of D P O .
Proof. 
The first-order theory of C M reduces to the first-order theory of D C M by the previous proposition. But if D is the axiom for D C M and A is an arbitrary sentence, then D C M A iff D P O D A .    □

4.3. Undecidability of the First-Order Theories of the Considered Classes

We now turn to proving that the first-order theory of C M is undecidable. As we previously eluded, the class C M is closely connected to the class of graphs. A theorem by Rogers [22] shows the undecidability of the first-order theory of a reflexive and symmetric relation (which we think of as encoding a graph), and we use it to anchor the chain of reductions.
Definition 5.
A graph is a frame for the language with a sole non-logical symbol E, which is interpreted as a reflexive and symmetric relation. Purely for the sake of notational convenience, we assume that the elements in | G | are not two-element sets (this assumption amounts to first taking isomorphic copies at appropriate steps in the following proofs). This allows us to define the following:
If G is a graph, then its canonical connectivity map is the frame C C M with the following definition:
  • | C | = | G | { { u , v } | G | u v , E G ( u , v ) } .
  • C is the least partial order on | C | such that { u , v } C u and { u , v } C v for each { u , v } | C | .
We briefly elaborate on the above definition. In traditional terms, the graphs we consider are unordered and without loops, and  E ( u , v ) says that there is an edge between u and v when u and v are distinct vertices. As we do not allow loops in our graphs, E ( u , u ) does not encode any significant information and for simplicity, we take E to be reflexive.
The canonical connectivity map C for G is then essentially a different representation of the graph: the vertices are maximal elements in C and an edge E ( u , v ) is encoded in C by the configuration of { u , v } and u , v . An immediate but useful property is that G is finite iff its canonical connectivity map C is finite. The following Definition and Proposition show how we translate first-order formulas for graphs into first-order formulas for connectivity maps that have the same meaning.
Definition 6.
The translation t r M that transforms first-order formulas for the language { E } to first-order formulas for the language of order is defined by recursion as follows:
  • t r M ( x y ) = x y
  • t r M ( E ( x , y ) ) = z ( z < x z < y )
  • t r M ( ¬ A ) = ¬ t r M ( A )
  • t r M ( A B ) = t r M ( A ) t r M ( B )
  • t r M ( x A ) = x ( m a x ( x ) t r M ( A ) )
Proposition 6.
If G is a graph and C C M is its canonical connectivity map, then for each sentence A in the language { E } , it holds that G A iff C t r M ( A ) .
Proof. 
By straightforward induction on formulas A in the language of graphs with free variables x 1 , , x n , we can prove that for each tuple g 1 , , g n of elements of G we have that G A [ [ g 1 , , g n ] ] iff C t r ( A ) [ [ g 1 , , g n ] ] . In particular, when A is a sentence we obtain the desired property of the translation.    □
Proposition 7.
Any connectivity map C is isomorphic to the canonical connectivity map of some graph G .
Proof. 
It is immediately verified that C is isomorphic to the canonical connectivity map of the graph G defined as follows:
  • | G | is the set of all maximal elements in C ;
  • For each distinct c 1 , c 2 | G | we define E G ( c 1 , c 2 ) iff c 1 and c 2 have a lower bound in  C .
   □
Theorem 6.
The first-order theories of the classes C M , P O d e p t h n for n 2 and D P O are undecidable. The first-order theories of the classes C M f i n and P O d e p t h n f i n for n 2 are undecidable (not even semidecidable).
Proof. 
The first-order theory of graphs is undecidable by a theorem of Rogers [22]. We claim that a sentence A about graphs is valid iff C M t r M ( A ) . Indeed, all graphs validate A iff (by Proposition 6) the class of all canonical connectivity maps validates t r M ( A ) iff (by Proposition 7) all connectivity maps validate t r M ( A ) . Therefore, t r M reduces the first-order theory of graphs to the first-order theory of C M , which we then conclude is undecidable.
Now the undecidability of the first-order theory of P O d e p t h n for n 2 follows from (3) in Proposition 4 and the undecidability of the first-order theory of D P O follows from Corollary 1.
For the classes of finite frames, we follow the parallel chain of reductions starting from the first-order theory of finite graphs (the relevant constructions for the reductions construct finite frames when applied to finite frames). Its undecidability follows from a theorem in [23], which states that the first-order theory of graphs and the complement of the first-order theory of finite graphs are recursively inseparable. In particular this means that the first-order theory of finite graphs is undecidable. A finer analysis shows that the first-order theory of finite graphs is not even semidecidable since its complement is semidecidable (given a sentence A start enumerating all finite graphs and search for a countermodel for A). Then, untractability propagates down the chain of reductions.    □
Theorem 7.
The problem I n t d e f with respect to each of the classes P O , P O f i n , D P O , P O d e p t h n , and P O d e p t h n f i n for n 2 is undecidable.
Proof. 
By Lemma 6 and Lemma 7, each of the listed classes is stable. The first-order theories of P O and P O f i n are undecidable by [21], and the first-order theories of the other classes are undecidable by Theorem 6. By Theorem 5 the first-order theories reduce to the respective instances of I n t d e f with respect to the classes; hence, the result follows.    □

5. Conclusions and Further Research

We have shown that the propositional definability problem with respect to the class K is decidable, where K is among L I N , L I N f i n , D L I N , and D L I N f i n . A related question is the decidability of the first-order definability problem and the correspondence problem with respect to K . The first-order definability problem with respect to K asks whether an input propositional formula can be defined with respect to K by a first-order sentence. Proposition 1 (vi) shows that a propositional formula is validated either by all frames in K or by all frames from K of depth at most n for some natural number n. Those classes are all first-order axiomatizable relative to K , i.e., every propositional formula is first-order definable. This means that the first-order definability problem has a trivial solution, namely, for every input propositional formula output true. We remark that first-order definability with respect to the class of all partial orders is undecidable [24]. The correspondence problem with respect to K asks whether the input propositional formula and first-order sentence are validated by the same frames from K . The argument in Proposition 1 (vi) can be refined into an algorithm that computes a first-order definition for an input propositional formula. This allows us to reduce the correspondence problem with respect to K to the equivalence of first-order sentences with respect to K . The latter reduces to the first-order theory K , which we have seen is decidable.
There are a few further directions that can be worked on with regard to the results in Section 3. Although we have shown that the problems are decidable, the question of their complexity is left open. In addition, the fruitful setting of working with frames for the logic L C can be expanded on and the questions of algorithmic definability and correspondence can be posed with respect to the classes of frames that validate superintuitionistic extensions of L C .
In Section 4 we highlight the model-theoretic approach to proving undecidability results for the propositional definability problem with respect to a class K by showing that K is stable and has an undecidable first-order theory. This allows for such proofs to be carried out purely in the context of frame constructions without having to rely on objects (notably any kind of machine) that are external to the setting. An interesting and important result would be the development of a similar technique for proving the undecidability of the dual problem of first-order definability that is easy to apply to a broad range of classes.

Author Contributions

Writing—original draft, G.K.; writing—review and editing, T.T. The authors contributed equally to the manuscript. All authors have read and agreed to the published version of the manuscript.

Funding

This research received no external funding.

Data Availability Statement

No new data were created or analyzed in this study. Data sharing is not applicable to this article.

Acknowledgments

The work of Grigor Kolev is supported by the European Union-NextGenerationEU through the National Recovery and Resilience Plan of the Republic of Bulgaria, project no. BG-RRP-2.004-0008-C01. Many thanks also to the referees who made several helpful comments for improving the readability of the paper.

Conflicts of Interest

The authors declare no conflicts of interest.

References

  1. van Benthem, J. Modal Logic and Classical Logic; Bibliopolis: Naples, Italy, 1983. [Google Scholar]
  2. van Benthem, J. Correspondence theory. In Handbook of Philosophical Logic, Vol. II: Extensions of Classical Logic; Gabbay, D., Guenthner, F., Eds.; D. Reidel Publishing Company: Dordrecht, The Netherlands, 1984; pp. 167–248. [Google Scholar]
  3. Goranko, V.; Vakarelov, D. Elementary canonical formulae: Extending Sahlqvist’s theorem. Ann. Pure Appl. Log. 2006, 141, 180–217. [Google Scholar] [CrossRef]
  4. Conradie, W.; Goranko, V.; Vakarelov, D. Algorithmic correspondence and completeness in modal logic. V. Recursive Extensions of SQEMA. J. Appl. Log. 2010, 8, 319–333. [Google Scholar] [CrossRef]
  5. Georgiev, D. Deterministic SQEMA and application for pre-contact logic. Ann. Sofia Univ. Fac. Math. Inf. 2016, 103, 149–176. [Google Scholar]
  6. Conradie, W.; Palmigiano, A. Algorithmic correspondence and canonicity for non-distributive logics. Ann. Pure Appl. Log. 2019, 170, 923–974. [Google Scholar] [CrossRef]
  7. Manoorkar, K.B.; Palmigiano, A.; Panettiere, M. Polynomial-time checking of generalized Sahlqvist syntactic shape. Theor. Comput. Sci. 2024, 1021, 114875. [Google Scholar] [CrossRef]
  8. Palmigiano, A.; Panettiere, M.; Switrayni, N.W. Correspondence Theory on Vector Spaces. Lect. Notes Comput. Sci. 2024, 14672, 140–156. [Google Scholar]
  9. Chagrova, L. On the Problem of Definability of Propositional Formulas of Intuitionistic Logic by Formulas of Classical First Order Logic. Ph.D. Thesis, Kalinin State University, Kaliningrad, Russia, 1989. (In Russian). [Google Scholar]
  10. Chagrov, A.; Chagrova, L. The Truth About Algorithmic Problems in Correspondence Theory. In Advances in Modal Logic; Governatori, G., Hodkinson, I., Venema, Y., Eds.; College Publications: Garden City, NY, USA, 2006; Volume 6, pp. 121–138. [Google Scholar]
  11. Balbiani, P.; Tinchev, T. Undecidable problems for modal definability. J. Log. Comput. 2017, 27, 901–920. [Google Scholar]
  12. Balbiani, P.; Georgiev, D.; Tinchev, T. Modal correspondence theory in the class of all Euclidean frames. J. Log. Comput. 2018, 28, 119–131. [Google Scholar] [CrossRef]
  13. Rumenova, Y.; Tinchev, T. Modal Definability: Two Commuting Equivalence Relations. Log. Universalis 2022, 16, 177–194. [Google Scholar] [CrossRef]
  14. Rabin, M.O. Decidability of Second-Order Theories and Automata on Infinite Trees. Trans. Am. Math. Soc. 1969, 141, 1–35. [Google Scholar] [PubMed]
  15. Chang, C.C.; Keisler, H.J. Model Theory, 3rd ed.; Dover Publications: Mineola, NY, USA, 1990. [Google Scholar]
  16. Hodges, W. Model Theory; Cambridge University Press: Cambridge, UK, 1993. [Google Scholar]
  17. Chagrov, A.; Zakharyaschev, M. Modal Logic; Oxford University Press: Oxford, UK, 1997. [Google Scholar]
  18. Dummett, M. A Propositional Calculus with Denumerable Matrix. J. Symb. Log. 1959, 24, 97–106. [Google Scholar] [CrossRef]
  19. Shelah, S. The Monadic Theory of Order. Ann. Math. Second. Ser. 1975, 102, 379–419. [Google Scholar] [CrossRef]
  20. Libkin, L. Elements of Finite Model Theory; Springer: Berlin/Heidelberg, Germany, 2004. [Google Scholar]
  21. Tarski, A. Undecidability of the theories of lattices and projective geometry. J. Symb. Log. 1949, 14, 77–78. [Google Scholar]
  22. Rogers, H. Certain Logical Reduction and Decision Problems. Ann. Math. Second. Ser. 1956, 64, 264–284. [Google Scholar] [CrossRef]
  23. Lavrov, I. The effective non-separability of the set of identically true formulae and the set of finitely refutable formulae for certain elementary theories. Algebra Log. 1963, 2, 5–18. [Google Scholar]
  24. Chagrova, L.A. An Undecidable Problem in Correspondence Theory. J. Symb. Log. 1991, 56, 1261–1272. [Google Scholar] [CrossRef]
Table 1. Table of notation.
Table 1. Table of notation.
NotationMeaning
Formal equality
L First-order or monadic second-order language
A , B , C , D , L , G Structure or frame
| A | The universe of A
p A The interpretation of the symbol p in A
K Class of structures/frames
A , B , C First-order or monadic second-order formulas
A A [ [ x 1 , , x n , Y 1 , , Y m ] ] The formula A is true in the structure A when its free
individual variables are evaluated with x 1 , , x n | A |
and its free set variables are evaluated with Y 1 , , Y m | A |
A A The sentence A is valid in the structure A
K A The sentence A is valid in the class K
( B ) A , y The relativization of the formula B with respect to A and y
φ , ψ Propositional formulas
F , V , x φ The propositional formula φ is true at the
point x | F | under the propositional
variable assignment V for F
F φ The propositional formula φ is valid in the frame F
K φ The propositional formula φ is valid in the class K
L o g ( K ) The logic of the class K
K f i n The class of the finite structures/frames in K
K ω The class of all at-most countable structures/frames in K
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content.

Share and Cite

MDPI and ACS Style

Kolev, G.; Tinchev, T. On the Definability Problem of First-Order Sentences by Propositional Intuitionistic Formulas. Axioms 2025, 14, 623. https://doi.org/10.3390/axioms14080623

AMA Style

Kolev G, Tinchev T. On the Definability Problem of First-Order Sentences by Propositional Intuitionistic Formulas. Axioms. 2025; 14(8):623. https://doi.org/10.3390/axioms14080623

Chicago/Turabian Style

Kolev, Grigor, and Tinko Tinchev. 2025. "On the Definability Problem of First-Order Sentences by Propositional Intuitionistic Formulas" Axioms 14, no. 8: 623. https://doi.org/10.3390/axioms14080623

APA Style

Kolev, G., & Tinchev, T. (2025). On the Definability Problem of First-Order Sentences by Propositional Intuitionistic Formulas. Axioms, 14(8), 623. https://doi.org/10.3390/axioms14080623

Note that from the first issue of 2016, this journal uses article numbers instead of page numbers. See further details here.

Article Metrics

Back to TopTop