Abstract

The role of time in artificial intelligence is extremely important. Interval-based temporal reasoning can be seen as a generalization of the classical point-based one, and the first results in this field date back to Hamblin (1972) and Benhtem (1991) from the philosophical point of view, to Allen (1983) from the algebraic and first-order one, and to Halpern and Shoham (1991) from the modal logic one. Without purporting to provide a comprehensive survey of the field, we take the reader to a journey through the main developments in modal and first-order interval temporal reasoning over the past ten years and outline some landmark results on expressiveness and (un)decidability of the satisfiability problem for the family of modal interval logics.

1. Introduction

Temporal reasoning is pervasive in many areas of computer science and artificial intelligence, such as, for instance, formal specification and verification of sequential, concurrent, and reactive real-time systems, temporal knowledge representation, temporal planning and maintenance, theories of actions, events, and fluents, temporal databases, and natural language analysis and processing. In most cases, time instants (points) are assumed to be the basic ontological temporal entities. However, often “durationless” time points are not suitable to properly reason about real-world events, which have an intrinsic duration. Indeed, many practical aspects of temporality occurring for instance in hardware specifications, real-time processes, and progressive tenses in natural language are better modeled and dealt with if the underlying temporal ontology is based on time intervals (periods), rather than instants, as the primitive entities. As an example, consider a typical safety requirement of traffic light systems at road intersections as the following one. “For every time interval I during which the green light is on for the traffic on either road at the intersection, the green light must be continuously off and the red light must be continuously on for the traffic on the other intersecting road, for a time interval beginning strictly before and ending strictly after I."

The nature of time and, in particular, the discussion whether time instants or time intervals should be regarded as the primary objects of temporal ontology have always been a hotly debatable philosophical theme, and the philosophical roots of interval-based temporal reasoning can be dated back to Zeno and Aristotle [1]. Zeno already noted that in an interval-based setting, several of his paradoxes “disappear” [2, 3], like the flying arrow paradox “if at each instant the flying arrow stands still, how is movement possible?” and the dividing instant dilemma (“if the light is on and it is turned off, what is its state at the instant between the two events?”). Of course, the two types of temporal ontologies are closely related and technically reducible to each other: on one hand, time intervals can be determined by pairs of time instants; on the other hand, a time instant can be construed as a degenerated interval (point interval) whose left and right endpoints coincide. While these reductions can be used to reconcile the different philosophical and ontological standpoints, they do not resolve the main semantic issue arising when developing logical formalisms for capturing temporal reasoning: should formulae in the given logical language be interpreted as referring to instants or to intervals? The possible natural answers to this question lead to (at least) three reasonable alternatives, giving rise to point-based logics, interval-based logics, and mixed, two-sorted logics, respectively, where points and intervals are considered as separate sorts on a par and formulae for both sorts are constructed. This exposition is devoted exclusively to the second alternative. The literature on point-based temporal logics is abundant and will not be discussed here. The reader is referred to [2] for a detailed philosophical-logical comparative discussion of both approaches, while a recent study and technical exploration of the two-sorted approach can be found in [4]. Nevertheless, the most recent studies show how the mixed approach is actually more suitable than the other two alternatives, as from a mixed comprehensive language one can tailor the most adapted sublanguage to solve a particular problem at hand. Therefore, while we limit this survey to intervals only, we do so by excluding from the semantics degenerate intervals with coincident endpoints and restricting our attention to pure interval temporal logics only.

Interval temporal reasoning can be declined into a number of different flavors. Nevertheless, all formal approaches share a common root, that is, the first-order characterization of the languages being studied, about which we will give a rather complete survey. Over an ideal path from “very expressive and very complex” to “less expressive and computationally simpler,” the first-order level sits at the left extreme; going down from left to right, we encounter the modal logic level, where relations are embedded into modal operators, and the use of quantifier is relativized to the relations (see, e.g., [5]). Modal interval temporal logics are the very core of this survey, and, in particular, the modal logic of Allen’s relations, also known as HS, first introduced by Halpern and Shoham [6], and its fragments, under the assumption that point intervals are excluded from the semantics. An impressive amount of work has been recently done in this area, and we are now in the position of asserting that more than the of all fragments of HS has been studied from the decidability/undecidability/expressive power point of view. But modal interval temporal logics do not end with HS. Although this paper will not include these alternative tools into account, let us remind them here for the interested reader. While the systematic logical study of purely interval-based temporal reasoning started with the seminal work of Halpern and Shoham, Venema [7] introduced and studied the even more expressive interval logic CDT involving binary modal operators associated with the ternary relation chop (C) and its two residual relations D and T. Over the single relation C, Moszkowski proposed in [8] the propositional interval temporal logic (PITL), and its first-order extension ITL, obtaining one of the earliest decidability results by means of the so-called locality principle. Such a principle has the effect of reducing the interval semantics to a point-based ones, and, even if we recognize its importance and suitability for a number of application, we tend to consider this choice rather tangential to the pure interval reasoning which we are interested in. From PITL and ITL, a family of formal systems known as duration calculi, particularly suitable for specification and verification of real-time processes in computer science [912], has been developed. Back to pure interval reasoning, the main problem in modal interval temporal logics is the decidability/undecidability of its satisfiability problem; as CDT is strictly more expressive than HS [7], this higher expressivity cuts CDT out irremediably, as HS itself is already undecidable over every interesting class of linearly ordered sets [6]. The same holds for nearly every proper fragment of CDT with C, D, or T only [13]. On the right extreme of our ideal path, we find the algebraic (or constraint-based) approaches. From the logical point of view, a network of constraints can be seen as a purely existential first-order formula. Therefore, its satisfiability problem is, in general, decidable, and, typically, the complexity of the problems associated with this approach is NP or below. More importantly, constraint-based temporal reasoning has been fully explored in the literature, and it is already textbooks’ material in artificial intelligence (see, e.g., [14]). Concluding, the research in this particular subfield is still very active, but, on one side, it is centered in finding more and more efficient algorithms for problems already known to be decidable, and, on the other side, their main aspects are implementative and algorithmic, but not logical.

This paper aims to highlight the main logical aspects of interval temporal reasoning and reviewing, in particular, the last 10 years of research in these aspects. We will start with a motivating section (Section 2) that points to justify the study of interval temporal reasoning as an artificial intelligence tool. Then, we will focus on more technical aspects, from the first-order roots of interval languages (Section 3) to modal languages for interval reasoning with binary relations (Section 4). We will then conclude (Section 5) this review by pointing out which are, in our view, the most interesting open problems and research challenges. The addendum (Section 6) is devoted to some technical details for the interested reader: we fully prove there three representative results mentioned in the paper.

2. Motivation

The role of logic in artificial intelligence is, in essence, to allow one to formally express the knowledge and reason about it. In principle, for a given problem , one has to modulate the choice of the appropriate language under the following two parameters: expressive power (the ability of expressing the conditions of ) and computational complexity (the ability of reasoning about the formulas of the language). Such two parameters are not independent: as a general rule, the more expressive power, the higher computational complexity; the ideal choice maximizes the expressive power while keeps low enough the complexity of the logic, and, in particular, the complexity of its satisfiability (and validity) problem. So, in general, one cannot use first- (and higher-) order logic(s), as its satisfiability problem is undecidable, and, at the same time, simple propositional logic (and fragments of it such as Horn clauses), whose complexity is only NP (and lower), is usually not enough. Therefore, the main task for applied logicians is to find an expressive enough, yet decidable (and, possibly, in an efficient way) language that suits the problem at hand, and in interval temporal reasoning we follow exactly this scheme. As we have already remarked, the study of first-order logic for interval temporal reasoning is not useless, as it gives us more information on the relations, their expressive power, and, in principle, allows us to have a better understanding of the problems. But the most interesting results belong to the middle class (see Section 1), that is, modal (temporal) logics, as represented in Figure 1, as we will see some interesting and previously unexpected decidability results “popped out” in the recent past. Purely existential (constraint-based) reasoning, as well as pure propositional reasoning, are, on the other hand, very well-studied, and we choose not to include it in this paper.

Interval temporal reasoning is literally ubiquitous in artificial intelligence. Think for example to temporal databases [15, 16], where the temporal attributes (e.g., valid time, event time, etc.) are inherently nonpunctual, and, in some cases, it makes no sense to reduce the intervals to the set of its points, as shown, for example, in [17]. In temporal databases, we need interval-based constraint reasoning to check whether or not a given table is temporally consistent, but we need logical temporal reasoning to formulate, check, and execute temporal queries, and to design temporal data mining algorithms. As another example, logical reasoning has been applied to help the diagnostic process in medicine; typical statements from the medical context take into account the temporal aspects of drugs’ intake, symptoms’ appearance and duration, and so on. Interval temporal reasoning is therefore the perfect logical tool to formalize such statements [1820]. But the clearest example of how (logical) interval temporal reasoning can be useful in artificial intelligence is probably automated planning. Automated planning is a field of artificial intelligence that studies methods and algorithms to find action sequences (plans) to achieve a given goal, under suitable constraints [21]. One of the most relevant approaches in the literature is the so-called planning as satisfiability paradigm, where a planning problem is encoded by some logical formula that models the rules and the constraints to generate plans, in such a way that any model of the formula is a valid solution of the problem. The first attempts at this paradigm were based on propositional logics [22], while the most recent ones use linear (point-based) temporal logic as the logic to encode planning problems [23], since it allows a natural representation of a world that changes over time. To standardize planning domain and problem description languages, the planning domain definition language (PDDL) was introduced in 1998, and in 2004 PDDL was extended to the version 2.1, which introduces, among the other extensions, an explicit model of concurrency with durative actions, that are actions occurring over a time interval. To simplify the algorithmic treatment of the problem, durative actions in PDDL are modeled as pair of start/stop instantaneous actions, even though this ignores the realities of modeling and execution for complex systems [24]. Let us consider here a complete example of automatic planning.

Given an autonomous robot, the motion planning problem focuses on generating trajectories which reach a given goal while avoiding obstacles. Unlike the classical approach that has been used to solve this problem, mainly concentrated on point-based temporal logics and model checking techniques (see, e.g., [25]), we state the problem as a satisfiability problem. Given a formula Sys describing all trajectories of the robot, and a formula Req describing the requirements, we have that the formula Sys Req is satisfiable if and only if there exists a feasible trajectory for the robot, that is, a trajectory respecting the requirements. In [25], the robot motion is defined by a finite transition system where is a finite set of cells where the robot can be (and, obviously, the robot will be in any given cell during a nonzero interval of time), is the initial cell, is the dynamics, and is an observation map that assigns a set of propositional letters in to every cell. Now, the formula Sys can be thought as the conjunction of the following requirements: (i)The first state (i.e., the current interval) is ”; (ii)If an interval of time is labeled with the state , then labels also every sub-interval of it”; (iii)There cannot be an interval labeled with   and followed by an interval labeled with   unless ”; (iv)There cannot be an interval labeled with   and    when  ”.

As an example of a possible specification, consider [25, Example 1];(i)Visit area , then area , then area and, finally, return to area   while avoiding areas and ”.

It should be clear now that: logical reasoning is essential in artificial intelligence and interval temporal reasoning can be easily applied to a number of fields, including automatic planning. At this point, besides choosing the appropriate expressive level (as previously discussed), there is a number of parameters that we can modulate. Among the most important ones, we have (1)the class of (usually linear) orders over which we interpret the set of formulas (i.e., the class of all linear orders, the class of all strongly discrete linear orders, etc.); (2)the set of interval relations allowed in the language. Thus, in front of a new problem, we can choose the correct language by setting the expressive power level that we need, and, orthogonally, the correct semantical framework. It should be noticed that choosing a particular set of relations and a particular class of orders also heavily influences the computational properties of the language, as we will see in detail in Section 4.

From a more philosophical point of view, we must observe that some languages allow us to specify different relationships between the truth values of assertions over intervals and their components. In [24], the authors observe that the truth of a proposition over an interval is sometimes related to its truth over other intervals, and they classify propositions depending on the relationships that have to be considered in order to determine their truth. An assertion is called downward hereditary if whenever it holds over an interval it holds over all of its subintervals, possibly excluding the two endpoints; for instance, “John played less than forty minutes" is downward hereditary. Symmetrically, an assertion is upward hereditary if whenever it holds over all the subintervals of a given interval, possibly excluding the two endpoints, it also holds over the given interval itself; for example, “The airplane flies at 35000 feet" is upward hereditary. Moreover, an assertion is said to be liquid if it is both downward hereditary and upward hereditary (e.g., “the room is empty"), and concatenable if whenever it holds over two consecutive intervals it holds also over their union (e.g., “John traveled an even number of miles." Finally, it is gestalt if whenever it never holds over two intervals one of which properly contains the other, as in “Exactly six minutes passed," and it is solid if whenever it never holds over two properly overlapping intervals, as “The plane executed the LANDING procedure (from start to finish)." While in first-order logic basically any of the above relationships can be expressed, when we will turn our attention to the modal framework, the question of which language allows us to express what will be a nontrivial one.

3. First-Order Interval Temporal Reasoning

In general, reasoning at the first-order level is undecidable, even if there are a few exceptions. Ever since it has been shown that the satisfiability problem for the full language is undecidable, a great effort has been made in order to identify more and more expressive decidable fragments. At least three different strategies have been explored: to limit the number of variables of the language; to limit the allowed types of formula by relativizing quantification (guarded fragments); to limit the structure and the shape of the quantifier prefix. First-order logics with a limited number of variables have been explored in connection with interval temporal logics; most notably, the equivalence in expressive power between the two-variable fragment of first-order logic over linear orders (shown to be NEXPTIME-complete in [26]) has made it possible to prove decidability of the fragment of HS (introduced earlier in this paper) that only features Allen’s relations meets and met by, also known as Propositional Neighborhood Logic (PNL; see Section 4), before specific decision procedures were devised for it [27]. Guarded fragments of first-order logics have been shown to be extremely useful to understand and to explain the good computational properties of modal logics [5]; however, to the best of our knowledge, they turned out to be almost useless to tackle interval-based temporal logics, with the main reason being the fact that transitive guards, necessary to force the structures to be ordered, preserve decidability only when at most two variables are allowed, while interval properties (when intervals are interpreted as pairs of points) are mostly three-variable. The third strategy has been used, to the best of our knowledge, only in a limited form, specifically, to devise a decidable fragment of the modal logic CDT [28].

Coming back to pure first-order interval reasoning, the study of interval relations and their expressive power is important to understand interval reasoning and its properties, more than from a computational point of view. Let us consider a linearly ordered set . An interval over a linear order is defined as an ordered pair such that   (as recalled, the non-strict semantics only requires that , thus including degenerate objects of the type ). The set of all intervals on is denoted by . The variety of all possible binary relations between intervals has been studied by Allen [29]. There are thirteen of Allen’s relations, including equality. Table 1 gives and illustrates the definitions of 6 of these relations, the other 7 consisting of the inverses of those illustrated and equality (which is of course equal to its own inverse). For each relation , its inverse is denoted by . Since we will always be assuming equality in our language, we will only need to deal explicitly with the other twelve relations. We denote this set by . For the sake of completeness, let us recall that this notation has been recently replaced by a more flexible one that allows one to easily deal with points too and with intersort relations [4]; nevertheless, in this paper, we limit ourselves to pure interval reasoning.

Given a subset of Allen’s relations, a concrete interval structure of signature is a relational structure , where each is defined on according to Table 1. is further said to be of the class when belongs to the specific class of linearly ordered sets . Since all thirteen of Allen’s relations are already implicit in , we will often simply write for a concrete interval structure . This is in accordance with the standard usage in much of the literature on interval temporal logics. We denote by the language of first-order logic with equality and relation symbols corresponding to the relations in . Suppose now that, in this setting, we want to express some of the requirement specified in Section 3. Assertions over intervals become unary relational symbols, so that, for example, saying “The current state is ” becomes , and is a free first-order variable (an interval) over which we evaluate the formula. Expressing “If an interval of time is labeled with the state , then labels also every subinterval of it” can be done by means of the formula . It is clear that the following questions now arise.(1)If we consider the abstract language (intervals are first-order variables, and interval relations are binary relations), are we sure that we are talking precisely about the intended concrete structures where intervals are pairs of points and all relations can be expressed using the ordering relation? (2)In the abstract language, which relations are really necessary and which ones can be expressed in terms of others? The first question is known as representation problem, and it is solved by a representation theorem. In the relevant literature, we find a number of representation theorems: Benthem [2], over rationals and with the interval relations during and before, Allen and Hayes [30], for the dense unbounded case without point intervals and for the relation meets, Ladkin [31], for point-based structures with the quaternary relation chop, Venema [32], for structures with the relations starts and finishes, Goranko et al. [33], that generalizes the results for structures with meets and met by, and Coetzee [34] for dense structure with overlaps and meets. Clearly, if two sets of interval relations give rise to expressively equivalent languages, two separate representations theorems for them are not needed. To answer the second question we need to refer to more recent results. In [35], this problem has been considered, and, in particular, it has been studied under different hypothesis for the underlying structure. In the context of linearly ordered sets, the following classes have been considered (among others):(1)the class of all linearly ordered sets; (2)the class of all dense linearly ordered sets; (3)the class of all (weakly) discrete linearly ordered sets. To be precise, by dense linear order we mean a structure such that, for every pair , there exists such that , and by (weakly) discrete (in contrast with strongly discrete) we mean that in the structure every point with a successor/predecessor has an immediate one (resp., such that there exists a finite number of points in between any two distinct points). While the expressive power of interval relations is identical over strongly and weakly discrete linear orders (and, as it turns out, in the finite case too), the properties of modal logics over such classes are different, as we will see in Section 4. Thus, in this section, we will distinguish among the class of all linearly ordered sets, the class of all dense linearly ordered sets, and the class of all (weakly) discrete linearly ordered sets, which we will now refer to as simply discrete. As a final note, we should recall that also the class of all strongly discrete linearly ordered sets includes, as subclasses, the class of all linearly ordered sets based on and those based on , among others; moreover, the class includes as subclasses the class of all linearly ordered sets based on and those based on , among others. Finally, the class of all linearly ordered sets based on is also interesting (at the modal logic level), but the decidability results specific for this class are more complicated and scarce than the others.

3.1. Classification

The results in this part are merely technical. Let us review them all here, with a quick intuition of the proofs; we will give some technical details in the last section of the paper for the interested reader.

All classifications known in this setting are displayed in Tables 2 and 3. Notice that there are no differences between and , here. To prove these results, we proceed as follows. First, we give a notion of definability in a given extension of first-order logic with , relativized to a specific class . Then, we observe that if contains a certain relation , then its inverse relation is always definable; thus we limit our attention to the subset of , called . We then say that is complete over if and only if defines for all and is a minimal complete set over , denoted by (resp., maximally incomplete set over , denoted by ) if and only if it is complete (resp., incomplete) over , and every proper subset (resp., every strict superset) of is incomplete (resp., complete) over the same class. Finally, we turn our attention to specific classes.

Over and (Table 2), where the results are identical, we first notice that is complete (and clearly it is minimal), by simply recalling Allen and Hayes’ result [30]. Then, we prove the completeness of all sets in the right-hand column of the table, by simply devising the correct definitions of the relations that are not included. After that, we show that the three sets , and are incomplete (notice that all subsets of an incomplete set are incomplete); to do so, for each extension of first-order logic (say, e.g., ), we prove by bisimulation that there exists at least one relation which cannot be expressed. Finally, we observe that as each proper subset of any set from the right-hand column is incomplete and that each superset of any set of the left-hand column is either complete or contains a complete set,   and we are done. Also, notice that completeness results on a class of semantic structures are also completeness result on every subclass , and every incompleteness result on a class also applies to every superclass . This last observation, plus some easy variations on the results in the class , specifically, concerning the incompleteness of and , allows us to devise the classifications over . When we turn our attention on , we simply observe, again, that every complete set over is also complete over . Thus the completeness of , , , and over follows immediately. The cases and have to be treated in a specific way, but it turns out that the technical details are not so different from other cases. The incompleteness of and can be proved using the same argument as in the case of all linearly ordered sets, and only a specific bisimulation is needed for the case .

3.2. Relative Expressivity

The above results allowed us to identify all minimally complete and maximally incomplete fragments of first-order logic with equality enriched with Allen’s interval relations in the class of all linearly ordered sets. We still have not completely answered the question of which are the expressively different fragments in this case, and we will now do so.

We first prove that over and there are exactly 10 expressively different fragments of , namely , , , , , , , , , and . The set is complete and hence represents all complete fragments. The fragments , , and are maximally incomplete and hence pairwise incomparable among each other and also different from . The fragments , , , , and are related as illustrated in the Hasse diagram in Figure 2. In other words, among these fragments the relative expressivity is simply given by set containment. It remains to prove that no two of them are expressively equivalent, by suitable bisimulations. After that, over , there are exactly 4 expressively different sets, namely , , , and . This is essentially a corollary of the classification results. Indeed, all complete sets are expressively equivalent, by definition, and are thus all represented by . Moreover, all maximally incomplete singletons must be incomparable. Since all subsets with two or more elements are complete, this covers all cases.

3.3. Remarks

In this section, we have considered extensions of first-order logic with equality with subsets of Allan’s interval relations. We obtained a complete classification of these fragments in terms of relative expressivity when interpreted over the classes of interval structures based on all, all dense, and all discrete linear orders, respectively, (in the class of all strongly discrete linearly ordered sets the results are identical). Our results are specific to the pure semantics; that is, point intervals are excluded (as recalled in Section 1). Very recently, in a more general context of interval reasoning with points and intervals (treated as two different sorts), similar results are being obtained, but, in that case, a closer analysis of the relations is needed, since mixing points and intervals at the algebraic level raises the problem of obtaining a set of mutually exclusive relations. As a consequence of this work, we now have a complete view of the open representation problems in the strict semantics. Another natural question to ask is what happens when equality is not assumed but treated on the same footing as the other Allen’s relations. Finally, one might ask what happens in terms of expressive power when the first order language is limited, say, in the number of variables at disposal, or to some well-defined prefix-quantifier fragment.

A propositional modal logic can be thought as an extension of classical propositional logic in which each proposition is not just true or false, but its truth value depends on the world or state in which it is evaluated. Such worlds are collected into a set , and the relations between them tell us which world is accessible from which one. Modal logic can therefore be seen as the logic of directed graphs. Depending on how we interpret such a graph, we obtain a particular logic. As for example, worlds can be seen as moments of times and the accessibility relation as the next relation between them; in this particular setting, now is the current world, and sometimes in the future is any world reachable through the irreflexive closure of the accessibility relation. The accessibility relation does not need to be unique, and, therefore, in general, the syntax of a propositional modal logic is where each corresponds to the accessibility relation . The other propositional connectives can be seen as shortcuts; moreover, the formula is usually abbreviated by . From the semantical point of view, we consider a structure of the type , where is the set of worlds, each is a subset of , and maps each propositional letter to the subset of in which it is true. So, the truth function, denoted by , is relative to a specific world , and it is(i) if and only if ; (ii) if and only if it is not the case that ; (iii) if and only if or ; (iv) if and only if there exists a world such that and that . It is clear that the properties and the nature of each are the main parameter that influence, on one side, what problems can we model with a specific modal logic and, on the other side, its computational properties. A complete reference for modal logic in general, is [36]. We are interested here in a specific class of modal logics, that go under the generic name of temporal logics, characterized by the presence of one or more relations , each one of which is a partial order. Point-based temporal logics have been successfully used in various computer science areas, including both well-established areas, like program specification and verification, knowledge representation and reasoning, and temporal databases, and emerging areas, like multiagent systems and bioinformatics. But here we are interested in interval temporal logics.

4.1. Modal Interval Temporal Logics

Let us consider, once again, the set of interval relations shown in Table 1. If we associate exactly one modal operator to each relation, we obtain a propositional modal language with 12 modal operators; Figure 3 gives us the standard notation for these modal operators. The modal logic obtained in this way has been introduced by Halpern and Shoham in [6, 37], and it is usually referred to as HS. It should be clear now that formulas of HS can be seen as first-order formulas in the language introduced in Section 4 above, where quantifiers can be used only in a specific way. Consider, indeed, any formula generated by the grammar: where and is its inverse. Such a formula can be translated into a first-order formula using only unary relational symbols, and where Allen’s relations are used to relativize quantifier. So, for example, the formula becomes In this setting, we can still formalize the requirements of our example. So, for instance, saying “The current state is ” becomes , evaluated on the current world (interval), and expressing “If an interval of time is labeled with the state , then labels also every sub-interval of it” can be done by means of the formula .

A few remarks are in order, here. First of all, even if it might seem so, not every possible interval-related requirement can be expressed in this new setting, as quantifiers can be used only in this special, reduced way; so we are dealing here with a proper fragment of first-order language extended with Allen’s relations, and we can now hope for decidability (this is not the case for HS, as it turns out, but we can still look into proper fragments of HS). Second, in the example above there is subtle mistake: in the natural language version we quantify over every interval (again, we would like to use a nonrelativized quantifier, but we cannot), while in the modal version of this formula we actually quantify over every interval starting immediately after the current one (first conjunct) and every interval starting (non immediately) after the current one (second conjunct). Now, two orthogonal issues arise, the one being purely philosophical, while the other concerns the expressive power of the language: can we settle with this reduced expressive power and suitably rephrase our requirement to obtain a “good enough” formalization? and can we, instead, more cleverly use our modal operators in order to better describe our problem? It turns out that in the case of full HS we can actually simulate a non-relativized quantifiers in satisfactory way for our particular problem. So, we define and our formula becomes . Nevertheless, in general, the questions remain. Summing up, in addition to the class of linearly ordered sets in which the formulas are interpreted, we should add a new parameter while choosing the correct modal language for interval temporal reasoning: which subset of HS modalities do we want in our language? This is motivated by the fact that, unfortunately, HS itself is undecidable no matters which class of linearly ordered sets is, and this result is shown in the original paper [6]. But a series of more recent results, which we will detail in the following, prove that this is not always the case, as depending on the particular subset of modalities and the particular class of linearly ordered sets, we have fragments of HS which are decidable, with complexities that range from NP-complete to NEXPTIME-complete, EXPSPACE-complete, and to nonprimitive recursive.

To make the notation and the notions uniform to the current literature, let us conclude this preliminary study on modal interval temporal logics by pointing out that, usually, a structure is formalized as a tuple , where is a linearly ordered set (belonging to a specific class), is the set of all intervals () that can be formed over , and is the evaluation function that assigns every propositional letter to the set of intervals over which it is true. Therefore, the truth function for a HS-formula becomes(i) if and only if ; (ii) if and only if it is not the case that ; (iii) if and only if or ; (iv) if and only if there exists a point such that ; (v) if and only if there exist two points such that ; (vi) if and only if there exists a point such that ; (vii) if and only if there exists a point such that ; (viii) if and only if there exist two points such that ; (ix) if and only if there exist two points such that .

Relations between intervals are unary when intervals are the primary semantic elements and binary when intervals are seen as pairs points over a linearly ordered sets. The question on which properties must be (first order) axiomatized in the first-order language extended with Allen’s relations to make sure that they represent the intended relations between pairs of points is the representation problem, and it has been discussed in Section 3.

Unlike the first-order level, at the modal logic one we have more classes of linearly ordered sets to consider, as they present, in general, different results: (1)the class of all linearly ordered sets (); (2)the class of all dense linearly ordered sets (); (3)the class of all (weakly) discrete linearly ordered sets (). (4)the class of all strongly discrete linearly ordered sets (); (5)the class of all finite linearly ordered sets (); (6)the class of all left-bounded ordered sets (); (7)the class of all right-bounded ordered sets (). Unfortunately, at this level the situation is not as easy as it was at the first-order one. The problem of studying the expressive power of fragments of HS has been solved only in ; we will review these results, but only marginally; the interested reader can find it in [38]. The problem of classifying such fragments with respect to the decidability/undecidability status of their satisfiability problem, and its complexity, has been solved in full in , , , and and only partially in the other classes. In the following of this section, we will review the most representative results concerning these classification, while in the last section of the paper we will give some technical details for the interested reader.

4.2. The Class of All Finite Linearly Ordered Sets

Here, we give a complete picture of fragments of HS with respect to (un)decidability of their satisfiability problem over finite linear orders. In particular, we identify the set of all expressively different decidable fragments, and we determine the exact complexity of each of them; it turns out that there are exactly 62 decidable fragments of HS, shown in Figure 4. We will denote the fragments by the set of their modalities, in alphabetical order, and omit those which are definable in terms of the others (in the considered fragment). As we will see, if we restrict our attention to decidable fragments, the only definable operators are and . can be defined as and by . Moreover, thanks to the highly symmetrical structure of the class of decidable fragments, all decidability results for fragments involving modalities and (for Allen’s relations starts and started by) can be immediately transferred to mirror fragments involving modalities and (for Allen’s relations finishes and finished by). It is worth to notice that this transference of results is immediate because finite linear orders are left/right symmetric, which, in general, is not true.

The objective of this section is to present all decidable fragments of HS in the class . Every fragment not shown in Figure 4 is undecidable. First, we have to prove that the Hasse diagram presented in the figure is correct from the expressive power point of view and that every fragment not shown actually includes as subfragment, an undecidable one. After that, we will analyze the various fragments from the complexity point of view. Most of these results have been proved in the recent paper [39].

4.2.1. Expressive Power

Given a fragment and a modal operator , we write if . Given two fragments and , we write if implies , for every modality . An HS modality is definable in an HS fragment , denoted , if for some formula , for any fixed proposition letter . The equivalence is called an interdefinability equation for in . In [6], Halpern and Shoham show that, according to strict semantics, all HS modalities are definable in the fragment featuring the modalities , , and and their transposes , , and . Given two HS fragments and , we say that is at least as expressive as () if each operator is definable in and that is strictly less expressive than , (), if , but not . Moreover, we say that and are expressively incomparable (), if neither nor .

To prove that Figure 4 is sound and complete with respect to the class of finite linear orders, we focus our attention on and its fragments showing that: each pair of fragments which are not related to each other in Figure 4 is expressively incomparable; an edge from a fragment to a fragment means that ; and each fragment which is displayed in Figure 4 is undecidable. It can be easily shown that (i) and (ii) are immediate consequences of the fact that and are all and only the interdefinability equations for over finite linear orders. Indeed, the equations are sound, and, to prove that they are the only possible ones, for each operator , we can show that is not definable in the maximal fragment of not containing itself. This amounts to prove that, first, and , second, and , and, third, and , all of which can be done by means of easy bisimulations. Finally, proving that each fragment which is displayed in Figure 4 is undecidable can be done by pairing the above observations with known undecidability results for HS fragments. Indeed, we observe that Figure 4 contains all expressively different fragments of HS featuring modalities from the set . Now, by contradiction, suppose that there exists a decidable fragment which is not included in Figure 4; by the previous observation, must contain at least one modality from the set . If it contains one modality from the set , then it is undecidable, since all HS fragments featuring one (and only one) of these modalities are already undecidable [40, 41] in the finite case. Hence, must contain at least one modality in the set . This prevents modalities and to be included in , as they would immediately yield undecidability [42] in the finite case. Then, it follows that    can contain only modalities from the set , and thus it must belong to the diagram, which is a contradiction.

4.2.2. NP-Completeness

From [43], we know that (and thus also its fragments and ) is NP-complete. We can prove that the NP-membership of [43] can be extended to . Since the satisfiability problem for propositional logic is itself NP-complete, and its fragments are NP-complete. By a model-theoretic argument, it is possible to show that finite satisfiability of a -formula can be reduced to satisfiability in a model whose domain has a cardinality lower than a certain value which is polynomial in . This is done in two steps. First, one proves that satisfiability of a -formula in a finite model can be reduced to satisfiability of the formula over the interval , that is, if and only if (initial satisfiability). Then, by exploiting the fact that all intervals ending (resp., beginning) at the same point satisfy the same -formulas (resp., -formulas) and their negations, one observes that is initially satisfiable over a finite model if and only if it is initially satisfiable over a model , with , thanks to the fact that exceeding points can be eliminated preserving the satisfiability (the argument here is similar to the one used in [44] for a different fragment).

4.2.3. NEXPTIME-Completeness

The subset of NEXPTIME-complete fragments has been known for a few years already. NEXPTIME-membership of (also known as Propositional Neighborhood Logic, or PNL) has been shown in [27]. NEXPTIME-hardness of , given in [44], holds also for finite satisfiability, and it can be easily adapted to the case of . NEXPTIME-hardness of any fragment containing or immediately follows.

4.2.4. EXPSPACE-Completeness

Let us turn our attention to the computational complexity of and of its subfragments. EXPSPACE-membership for has been shown in [45]. EXPSPACE-hardness holds for , as proved in [46]. But in [39], it has been shown that the reduction used in [46] works also in the finite case, and it can be adapted to . Indeed, EXPSPACE-hardness follows from a reduction of the -corridor tiling problem, which is known to be EXPSPACE-complete [47, Section 5.5]. Formally, an instance of the exponential-corridor tiling problem is a tuple consisting of a finite set of tiles, two tiles , a set of left tiles , a set of right tiles , two binary relations and over (specifying the horizontal and vertical constraints), and a positive natural number . The problem amounts to deciding whether there exists a positive natural number and a tiling of the corridor of width and height , that associates the tile to , the tile to , a tile in (resp., ) with the first (resp., last) tile of every row of the corridor and that respects the following horizontal and vertical constraints and : for every and every , we have; and (2) for every and every , we have  .

4.2.5. Nonprimitive Recursiveness

Finally, we focus our attention on the remaining fragments. It turns out that, although decidable, they are of nonprimitive recursive complexity. From [48, 49], we know that there is a reduction from the finite satisfiability problem for and to the so-called reachability problem for a lossy counter automata, which is known to be nonprimitive recursive [50]. In [39], it has been proved that such a reduction can be adapted to the cases of and , completing the picture.

4.3. The Class of All Strongly Discrete Linearly Ordered Sets

We now turn our attention on the class of strongly discrete linear orders, that is, of those linear structures characterized by the presence finitely many points in between any two points. This class includes, for instance, , , and all finite linear orders. We give a complete classification of all HS fragments as before, and as shown in Figure 5, and its mirror image are the minimal fragments including all decidable subsets of operators from the HS repository, for a total of 62 languages. Of those, 44 turn out to be decidable. As a matter of fact, the status of various fragments has been established in the past few years, and the picture has been completed in the recent paper [51]. It is worth to observe that when we consider the subclasses and , the number of decidable fragments over raises up to 47, the three new decidable fragments being all nonprimitive recursive.

4.3.1. Expressive Power and Undecidability

Again, we focus our attention on fragments of and of its mirror image, , in order to prove that Figure 5 is sound and complete for the class of all strongly discrete linear orders. The relative positions of the various fragments can be shown to be correct exactly in the same way as in the finite case, as the class of all strongly discrete linearly ordered sets includes that of finite linearly ordered sets. On the contrary, here we have to prove that not only that the fragments which are not in the picture are undecidable, but also are undecidable those fragments marked in red. In particular, those fragments that are not referred to in the figure have been proved undecidable over the class of strongly discrete linearly ordered sets [40, 41]. From [48, 49], we know that there is a reduction from the satisfiability problem for and to the structural termination problem for a lossy counter automata, which is known to be undecidable [50]. By partly exploiting some of the basic concepts of such a reduction, and using, instead, the nonemptiness problem for incrementing counter automata over infinite words, which, again, is known to be undecidable [52], one can actually see that is also undecidable in the considered class. Moreover, this fragment is in fact symmetric to over , and, thus, the result trivially holds also for the latter fragment. Adapting it to (and therefore, by symmetry, to ) is then straightforward. As a note, let us recall that incrementing counter automata can be considered a variant of lossy counter automata in which faulty transitions increase the values instead of decrementing them; a comprehensive survey on faulty machines and on the complexity, decidability, and undecidability of various problems associated with such machines can be found in [53].

4.3.2. NP-Completeness

Considering now, again, and its fragments, as in the finite case we can prove that NP-completeness of [43] can be extended to it. Since the satisfiability problem for propositional logic is NP-complete, that for every proper fragment of including it is at least NP-hard. The model theoretic argument used in the finite case can be extended to the infinite case; the only difference is that, instead of a model of polynomial length, we prove that each satisfiable formula has a periodic model where the lengths of prefixes and periods have a bound which is polynomial in the length of the original formula [51].

4.3.3. NEXPTIME/EXPSPACE-Completeness

NEXPTIME-membership of has been proved in [27]. NEXPTIME-hardness of , shown in [44], holds also for the class of strongly discrete linear orders, and it can be adapted to the case of , to prove NEXPTIME-hardness of any fragment including or . As for EXPSPACE-complete fragments, we know from [45] that is EXPSPACE-complete. Hardness for this class is claimed in the same paper for the fragments and . As in the finite case, this can be proved by a reduction from the exponential-corridor tiling problem, and in [39], it has been proved that this reduction can be modified to cover , and both reductions for and immediately apply to the case of strongly discrete linearly ordered sets.

4.3.4. The Classes    and  

As already observed, the asymmetry of models in these classes (e.g., models in , such as those based on , are left bounded), is reflected in the computational behavior of (some of) the fragments of and its mirror image . To see this, let us consider for example the set of structures based on : , but not , becomes decidable (nonprimitive recursive) [48]; and , but not nor , become decidable (this can be shown by a suitable adaptation of the argument given in [48]); and remain undecidable, but the proof [48] must be suitably adapted (see Figure 6).

4.4. Other Classes of Linearly Ordered Sets

As recalled, each (sub)class of structures requires, in general, a different treatment. We do not have a complete picture for any other class, yet, although we know a number of results. To understand how the situation might change for different classes, consider, for example, the dense case. The fragment is the minimal undecidable fragment that includes all decidable ones on dense linear orders, and it contains two, incomparable, maximal decidable fragments, namely, and . The fragment is still NEXPTIME-complete [54], and NEXPTIME-hardness already holds, again, for and ; , is in EXPSPACE, and EXPSPACE-hardness already holds for the fragments and [55]; the fragments and are already undecidable [48]; the fragment (which includes and as definable operators) is in PSPACE, and PSPACE-hardness holds for and alone [56]; finally, is NP-complete [43], and, obviously, NP-hardness holds for and alone too. Probably, we could extend the NP-completeness (in particular, NP-membership) of can be extended to and each one of its fragments, as we did in the strongly discrete case, and the EXPSPACE-completeness (in particular, EXPSPACE-hardness) of might be possibly adapted to the fragment , but, still, this is currently ongoing research. In the dense case, as well as in other case such as , thought, finding out the decidability/undecidability status of some fragments such as and seems to be a really hard problem; a similar consideration can be done for in the case of .

4.5. Harvest

Let us focus, once again, on the finite case, as in automated planning (see Section 2), we want our plans to be complete (i.e., the goal is eventually reached), sound (the constraints are respected), and, in general, finite (the goal is reached in a finite amount of time). With the classification at hand, we can now wisely choose the correct language depending on the particular problem that we want to solve. Consider, for example, the universal modality problem. We have already observed that every fragment above is strong enough to define it. But, if our satisfiability problem consists of a set of formulas each one of which is evaluated, say, at the initial interval , then every fragment above can do so too: What if we want to lower the theoretical complexity of the language? A good choice could be , which is NP-complete. In this case, we can define that is, the use of the past can compensate the lower expressive power of with respect to .

Consider, now, the (harder) problem of establishing a sequence of states, which is, a sequence of propositions that are both gestalt and solid. The most intuitive solution requires the use of the fragment () where is the definable reflexive during modality (this modal operator has been studied on its own in [57]). But, doing so, we are giving up decidability. A better solution would require the use of the fragment Again, this fragment, although simpler than HS itself, is still undecidable. A closer look to this problem gives us a definitive solution in the fragment , which is decidable in EXPSPACE:

In view of the above considerations, we could say that at the modal logic level, to find the correct language for a given problem is an exercise in expressive power. The potentialities of a specific language are indeed hidden in the language itself, and one has to spend some time to find out whether or not a specific problem can be formalized with it.

5. Conclusions

In this paper, we have seen how temporal reasoning is pervasive in so many areas of computer science and artificial intelligence, and we gave a number of representative examples. We analyzed some very recent results at the first-order and the modal logic level in this area, which has been quite active in the past years. We now want to conclude this paper by presenting some interesting open issues and research directions.

At the first-order level, at least two problems are still pending. First, we would like to produce an integrated theory that includes both points and intervals, with a consistent notation, and solve the problem of classifying, in the same way as we did in the pure interval case, all extensions of first-order logic with point and interval relations, and study their expressive power. Secondly, the generalization of such results, both considering intervals only, and considering both points and interval, to a more general class of orders that includes, for example, tree orders is certainly not immediate and will probably present interesting and new developments.

More importantly, at the modal level the job is not done. In primis, when we only look to the pure interval case, we have already seen that the classification of the various fragments is still incomplete for many classes of linear orders. Two missing cases are particularly difficult: while the recent papers [41, 58] have tackled and solved the case of over finite orders, the same fragments over Lin is still open; we know that is undecidable over , but the status of the two subfragments and in the same class is still unknown. In secundis, and on a longer perspective, most of the results that we have reviewed for HS and their fragments still hold when we allow point intervals in the semantics, but a truly integrated modal theory of points and intervals has not been devised yet. In principle, such a theory would include most, if not all, point-based temporal logics such as    or    [59] as well as HS and its fragments creating, as sub product, a number of potentially interesting languages that feature suitable sets of mixed modalities, possibly revealing unexpected new decidable languages. Initial attempts in this sense include [4].

Future research directions include, also, different approaches to modal reasoning. A particularly interesting one, currently at the level of initial experiments, aims to tackle the problem of the high complexity of interval temporal reasoning. Even in the simplest meaningful case, that is, the fragment in , we have a theoretical complexity of NEXPTIME, which, in artificial intelligence, is considered very high and almost unsuitable for real-time reasoning. Consider for example a set of requirements with 50 symbols. To check its satisfiability, we have to expect a computation time proportional to , which is a very big number. The idea is to give up the completeness of the deduction method, in order to drastically cut this computation time, by means of Evolutionary Algorithms. We are exploring, in particular, a solution approach using multiobjective combinatorial optimization problem, which is identified and solved by using metaheuristics. Metaheuristics have been shown to be effective for difficult combinatorial optimization problems appearing in various industrial, economical, and scientific domains. Prominent examples of metaheuristics for combinatorial optimization are evolutionary algorithms, which have been found very powerful for satisfiability problems [6063]. Initial experiments look very promising.

6. Addendum: Some Technical Results

Looking at the (yet incomplete) bibliography of this paper, we can immediately see that the amount of work published on this topic is quite big. In particular, every fragment of HS presents a potentially new problem, and it must be treated in a different way. In general, there is no free result when it comes to interval temporal reasoning, and even more so when we focus on the modal level. The technical level required to understand such results is not trivial and involves the knowledge of model theory, complexity theory, and terminating and nonterminating tableaux, among others. For the interested reader, we give here three representative examples: the first one is the maximal incomplete and minimal complete sets of first-order interval relations in the class of all linearly ordered sets (Table 2), known from [35], the second one is the undecidability of full HS (a result known since [37], but presented here is a novel and simpler form), and the third one is the decidability of (known since [44]). In the latter two cases, we focus our attention on the finite case, for the sake of simplicity.

6.1. Minimal Complete and Maximal Incomplete Sets of Allen’s Relations in  
6.1.1. Preliminaries

Let us start by making precise the notions seen in Section 3. Let . We say that   defines over , denoted by , if there exists -formula such that is valid on the class of concrete interval structures of signature based on linear orders. Note that for all . As an example, , as the formula is a valid formula. As we have noticed, for each , ; indeed, we have that is always valid. Thus, we limit our attention to the set . Now, we say that is complete over if and only if for all . Moreover, we say that is a minimal complete set over , denoted by (resp., maximally incomplete set over Lin, denoted by ) if and only if it is complete (resp., incomplete) over , and every proper subset (resp., every strict superset) of is incomplete (resp., complete) over the same class.

6.1.2. Minimal Completeness

The following relation will be useful: . Notice that , since we have . Now, the case has been proved in [30] for the class of all unbounded dense linear orders; it is easy to check that no essential use of density or of the unboundedness is made. As for the case , consider the following definability equation: We denote the right-hand part of the formula by . Assume first that . We wish to show that , that is, . Suppose, by way of contradiction, that . By assumption, there exists an interval such that and . Then and , hence and , contradicting . Conversely, suppose that , that is, . Then the interval witnesses the first conjunct of . Moreover, any interval finishing is disjoint from and hence does not start it. The case can be dealt with by means of the following equations: The intuition is that we consider three cases; namely, is a unit interval ending with the greatest (end) point in the linear order, does not end with the greatest point in the linear order, and is not a unit interval. It should be clear these cases are exhaustive, since the disjunction of (2) and (3) is equivalent to the negation of (1). The top, middle, and lower disjuncts in the last conjunct of the formula will hold, respectively, in cases (1), (2), and (3). As for the case we have that, since is definable in terms of , it becomes precisely symmetric to the case , and we can obtain (the inverse relation of , defined above) in terms of and , which allows us to define and hence . In the case , we first define , and then we obtain completeness from the completeness of ; to define , it is sufficient to consider the following definability equation: The case is symmetric to , and in the case , we can show that can define , and then completeness will follow from the completeness of which was proven above. This can be done via showing that can define . (Note that if and only if if and only if .) It is then immediate to see that the following definition is correct: It thus remains for us to show how to define in terms of and , which can be done by means of the following definition: where Finally, the case is symmetric to the previous one.

6.1.3. Maximal Incompleteness

We first prove the incompleteness in the case . Consider the structure , where is the set or rational numbers with their usual ordering. Define such that In other words, the image of any interval under has the same beginning point, but double the length of . We claim that is an automorphism of the structure . It is clear that is a bijection. Further, if and only if and , that is, if and only if and , which happens if and only if . Now, we show that is not respected, for which it is enough to observe that, since and , for all formulas of we have that if and only if , but at the same time and . A symmetric construction proves the incompleteness of the case . For the case , it suffices to consider the structure where is the subset of with the usual ordering. An automorphism of this structure can be defined by taking such that , , and . These results suffice to prove the correctness of Table 2.

6.2. Undecidability of HS in  
6.2.1. Intuition

The satisfiability problem for HS has been shown undecidable when interpreted in nearly any interesting class of linearly ordered sets [6, 37]. The argument presented there was innovative at that time; it was based on a clever reduction from the Halting Problem for Turing machines to the satisfiability problem for HS. On the other hand, the argument is long and complex and, probably, a bit difficult to visualize. In the recent past, as we have seen in this paper, smaller and smaller fragments of HS have been proved to be undecidable as well, and in most cases a simpler argument structure has been used, based on a reduction from the “right” tiling problem. Tiling problems [36, 64] are a class of problems based on the same idea and conveniently modulated in order to represent a particular complexity class or a particular undecidability degree. In general, an instance of tiling problem consists of a set of tile types , that one can imagine as squared tiles with a color on each border, and (a portion of) the integer plane, and its asks to find, if exists, a function from to the points in the plane that respects the colors, that is, if two tiles share a side, that side must be of the same color; depending on the particular tiling problem, additional constraints might be added. The one we need here is known as Finite Tiling Problem (FTP), proposed in the literature in different, yet closely related, versions. Here we refer to the one introduced and shown to be undecidable in [65], and we formally define it as the problem of establishing whether there exist two natural numbers and such that a finite set of tile types , containing two distinguished tile types and , can correctly tile the finite plane , under the additional restriction that and .

6.2.2. The Reduction

Reducing the FTP to the satisfiability problem for HS corresponds to write a (parametric-in-) HS-formula which is satisfiable if and only if can tile the finite plane for some and . As FTP is undecidable, no length limits for are needed; if we were proving instead that a particular fragment is hard for some complexity class, the reduction formula should be polynomial in length to preserve the complexity. Formulas of HS are built over an (unconstrained) set of propositional letters, in which we can assume to have enough letters to our purpose. The idea is that axiomatizes the existence of a sequence of levels (denoted by the letter ), which is initiated by a symbol and composed by a finite number of tiles (denoted by ). Each tile is connected to the corresponding one by a letter , and s do not start, finish, or are contained in any other , which leaves as the only option, a one-to-one correspondence between tiles and, also, levels with the same number of tiles. To ensure this, we just need to make sure that s do not skip any level, nor are inside any level. To finalize the encoding, we assert that meeting tiles (those which share a vertical side) agree on their colors, as well as corresponding tiles (sharing an horizontal side), that is, those connected by a . Our encoding, therefore, will make use of, among others, the propositional letters , plus two special letters and to denote the first and the last level. Moreover, letters of type are assumed to have colors , and . To simplify the encoding, it is convenient to put tiles and s on intervals of the type , which, on finite orders, are easily captured by .

6.2.3. The Encoding

The formula is the conjunction of the following formulas:

6.3. Decidability of the Fragment in the  Fin

Let us now consider the problem of proving that satisfiability of over is decidable in NEXPTIME.

6.3.1. Preliminary Definitions

We start with some useful definitions. Let be an -formula to be checked for satisfiability and let be the set of its propositional letters. The closure of is the set of all subformulae of and of their negations (we identify with ). The set of temporal requests of is the set of all temporal formulae in , that is, . By induction on the structure of , we can easily prove that for every formula , , while . A -atom is a set such that: for every , if and only if ; for every , if and only if or . We denote the set of all -atoms by ; clearly, . Now, atoms are connected by the natural binary relation; in fact, we can define as a binary relation over in such a way that for every pair of atoms , if and only if for every , if , then . At this point, we can define a class of extended models, called fulfilling labeled structures, as follows. First, a -labeled structure (, for short) is a pair , where is a labeling function that for every pair of meeting intervals , . Second, we say that is fulfilling if and only if for every temporal formula and every interval , if , then there exists such that . Clearly, there is a close relationship between models for a formula and fulfilling labeled structures for it. Indeed, we can easily prove that is satisfiable on a model and interval if and only if there exists a fulfilling labeled structure , based on the same domain as , and such that . Moreover, because of the simple structure of the fragment , satisfiability of -formulas over Fin is reducible to initial satisfiability, that is, satisfiability over the interval . So, we can now say that is finitely satisfiable if and only if there exists a fulfilling labeled structure such that .

6.3.2. Eliminating Points

Since fulfilling satisfying may be arbitrarily large, we must find a way to finitely establish their existence. In the following, we give a bound on the size of finite-fulfilling that must be checked for satisfiability, when searching for finite -models. To prove this result, we take advantage of the following two fundamental properties of : the labeling of a pair of intervals with the same right endpoint must agree on temporal formulae (since every right neighbor of is also a right neighbor of , we have that for every existential formula , if and only if and similarly for universal formulas); right-neighboring intervals suffice to fulfill the existential formulas belonging to the labeling of an interval (the number of right-neighboring intervals which are needed to fulfill all existential formulae of is bounded by the number of -formulas in , and, at worst, different existential formulae are satisfied by different right-neighboring intervals). By exploiting these properties, we can define, for every point in a fulfilling labeled structure the set (of requests) of all and only the temporal formulas belonging to the labeling of the intervals ending at , and as the set of all possible sets of requests, so that . We are ready to prove our main result. Indeed, we now prove that, if and if is a finite-fulfilling that satisfies , then there exists a finite-fulfilling    that satisfies as well and for every ,   occurs at most times. To see this, assume does not respect the given condition, so assume that for some , different from 1,   occurs more than times. We now define a sequence of   , each one of which is fulfilling and progressively smaller, and such that the last one of the sequence meets the condition on the number of occurrences of . Our first step consists in turning into , in such a way that one of the points that presented the set of requests has been eliminated. Assume that   are the points in with set of requests ; the    is defined over the domain , and in such a way that is the projection on the remaining intervals of . The structure so-defined is obviously a finite , but it is not necessarily fulfilling. In fact, the removal of causes the removal of all intervals beginning or ending at . While the removal of intervals beginning at is not critical (as the requests possibly satisfied by them have been removed as well), there can be some points such that some formulas are fulfilled in , but they are not fulfilled in anymore. We fix such defects (if any) one-by-one by properly redefining . Let and such that and that there is no such that . Since contains at most   -formulas, there exists at least one point such that the atom either fulfills no -formulas or it fulfills only -formulae which are also fulfilled by some other atom of the same type. Let one of such points. We can redefine by putting , thus fixing the problem with . Notice that, since , such a change has no impact on the right-neighboring intervals of . In a similar way, we can fix the other possible defects caused by the removal of . We repeat such a process until we are left with exactly distinct points where occurs, defining, as we said at the beginning, a sequence of . The last one of such a sequence, , is, clearly, a fulfilling that satisfies , and no set of requests occurs more than times on it.

6.3.3. The Result

It is now straightforward to observe that we have reduced the finite satisfiability problem for a -formula to the search of a labeled structure whose dimension is exponential, at most, in the length of ; a nondeterministic, sound, complete, and terminating searching procedure can be now devised, allowing us to conclude that our problem is, not only decidable, but also in NEXPTIME.

Acknowledgments

The author would like to thank the editorial board of the International Scholarly Research Network for this invitation to publish a spotlight paper and the Spanish MEC Projects TIN2009-14372-C03-01 and RYC-2011-07821.