<!DOCTYPE article PUBLIC "-//NLM//DTD JATS (Z39.96) Journal Archiving and Interchange DTD v1.0 20120330//EN" "JATS-archivearticle1.dtd">
<article xmlns:xlink="http://www.w3.org/1999/xlink">
  <front>
    <journal-meta />
    <article-meta>
      <title-group>
        <article-title>Temporal DL-Lite over Finite Traces (Preliminary Results)</article-title>
      </title-group>
      <contrib-group>
        <contrib contrib-type="author">
          <string-name>Alessandro Artale</string-name>
          <xref ref-type="aff" rid="aff0">0</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Andrea Mazzullo</string-name>
          <xref ref-type="aff" rid="aff0">0</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Ana Ozaki</string-name>
          <xref ref-type="aff" rid="aff0">0</xref>
        </contrib>
        <aff id="aff0">
          <label>0</label>
          <institution>KRDB Research Centre, Free University of Bozen-Bolzano</institution>
          ,
          <country country="IT">Italy</country>
        </aff>
      </contrib-group>
      <abstract>
        <p>We transfer results on the temporal DL-Lite family of logics, moving from infinite models of linear time to the case of finite traces. In particular, we investigate the complexity of the satisfiability problem in various fragments of TU DL-LitebNool, distinguishing the case of global axioms from the case where axioms are interpreted locally. We also consider satisfiability on traces bounded by a fixed number of time points.</p>
      </abstract>
    </article-meta>
  </front>
  <body>
    <sec id="sec-1">
      <title>-</title>
      <p>
        Introduction
Temporal description logics based on linear temporal logic (LTL) are interpreted
over a flow of time which is generally represented by the infinite linear order of
the natural numbers [
        <xref ref-type="bibr" rid="ref10 ref5 ref9">9, 10, 5</xref>
        ]. A renewed interest in LTL interpreted over finite
traces, i.e., over structures based on finite initial segments of the natural
numbers [
        <xref ref-type="bibr" rid="ref7">7</xref>
        ], has recently motivated the study of temporal formalisms for knowledge
representation interpreted on a finite, or even bounded, temporal dimension [
        <xref ref-type="bibr" rid="ref3 ref4">3,
4</xref>
        ]. Logics in the temporal DL-Lite family, suitable for temporal conceptual data
modelling, have only been investigated over infinite temporal structures [
        <xref ref-type="bibr" rid="ref1 ref2">1, 2</xref>
        ].
      </p>
      <p>We provide first results for the complexity of lightweight temporal description
logics when interpreted over finite traces. In particular, we consider the problem
of formula satisfiability (where formulas are intended to hold locally, at the first
time point), and knowledge base satisfiability (in which concept inclusions hold
globally, i.e., at all time points). Many of the complexity results presented in
this work are obtained by adapting proofs from the infinite case to the finite
traces case. However, straightforward adaptations are not always applicable.
In particular, our lower bound in Theorem 8 is based on a new encoding of
arithmetic progressions.</p>
      <p>In Section 2, we introduce the syntax of a family of TDL-LiteN logics,
defining their semantics on finite temporal structures. Preliminary complexity results
for the formula and the knowledge base satisfiability problems over finite traces
are given in Section 3. Section 4 studies reasoning over traces with a fixed bound
on the number of instants, given in binary as part of the input. In Section 5 we
point directions for future work.</p>
      <p>
        Temporal DL-Lite
We define the language of TU DL-LitebNool as follows [
        <xref ref-type="bibr" rid="ref1 ref2">1, 2</xref>
        ]. Let NC; NI be
countable sets of concept and individual names, respectively, and let NL and NG be
countable and disjoint sets of local and global role names, respectively. The union
NL [ NG is the set NR of role names. TU DL-LitebNool roles R, basic concepts B,
concepts C, and temporal concepts D are given by the following grammar:
R ::= L j L
      </p>
      <p>j G j G ;
C ::= B j D j :C j C1 u C2;</p>
      <p>B ::= ? j A j
D ::= C j C1 U C2
qR;
where L 2 NL, G 2 NG, A 2 NC, and q 2 N; q &gt; 0, given in binary. A role R
is said to be local, if it is of the form L or L , with L 2 NL, and global, if it is
of the form G or G , with G 2 NG. A TU DL-LitebNool axiom is either a concept
inclusion (CI) of the form C1 v C2, or an assertion, , of the form C(a) or
R(a; b), where C; C1; C2 are TU DL-LitebNool concepts, R is a role, and a; b 2 NI.
TU DL-LitebNool formulas have the form
'; ::=
j C1 v C2 j :' j ' ^
j ' U
:
We will use the following standard equivalences for concepts: &gt; :?; (C1 t
C2) :(:C1 u :C2); #C ? U C; #n+1C # #n C, with n 2 N (we set
#0C C); 3C &gt; U C; 2C :3:C; 3+C C t 3C; and 2+C :3+:C
(similarly for formulas).</p>
      <p>
        We consider also the restricted setting where formulas are limited to
conjunctions of CIs (globally interpreted, cf. e.g. [
        <xref ref-type="bibr" rid="ref2">2</xref>
        ]) and assertions. In this case, a
TfU DL-LitebNool TBox T is a finite set of CIs. A TfU DL-LitebNool ABox A is a finite
set of assertions of the of the form
#nA(a);
#n:A(a);
#nS(a; b);
#n:S(a; b)
where A 2 NC, S 2 NR, and a; b 2 NI. A Tf DL-LitebNool knowledge base (KB) K
U
is a pair (T ; A).
      </p>
      <p>Semantics. A TU DL-LitebNool interpretation is a structure M = ( M; (In)n2T),
where T is an interval of the form [0; 1) or [0; l], with l 2 N, and each In is
a classical DL interpretation with domain M (or simply ). We have that
AIn M and SIn M M, for all A 2 NC and S 2 NR: in particular, for
all G 2 NG and i; j 2 N, GIi = GIj (denoted simply by GI ). Moreover, aIi =
aIj 2 M for all a 2 NI and i; j 2 N, i.e., constants are rigid designators (with
fixed interpretation, denoted simply by aI ). The stipulation that all time points
share the same domain M is called the constant domain assumption (meaning
that objects are not created nor destroyed over time). The interpretation of roles
and concepts at instant n is defined as follows (where S 2 NR):
(S )In = f(d0; d) 2
( qR)In = fd 2</p>
      <p>M</p>
      <p>M j (d; d0) 2 SIn g;</p>
      <p>?In = ;;
M j jfd0 2</p>
      <p>M j (d; d0) 2 RIn gj
qg;
(:C)In =</p>
      <p>M n CIn ;
(C1 u C2)In = CIn
1 \ C2In ;
(C1 U C2)In = fd 2</p>
      <p>M j 9m 2 T; m &gt; n : d 2 C2Im ^ 8i 2 (n; m) : d 2 C1Ii g:
We say that a concept C is satisfied in M if CI0 6= ;. Satisfaction of a formula
' in M at time point n 2 T (written M; n j= ') is inductively defined as follows:
M; n j= C v D iff CIn DIn ;
M; n j= C(a) iff aI 2 CIn ;
M; n j= R(a; b) iff (aI ; bI ) 2 RIn ;</p>
      <p>M; n j= :
M; n j=
M; n j=
^
U
iff not M; n j= ;
iff M; n j= and M; n j= ;
iff 9m 2 T; m &gt; n : M; m j= ;
and 8i 2 (n; m) : M; i j= :</p>
      <p>(2#)
(horn)
(krom)
(core)
We say that ' is satisfied in M, writing M j= ', if M; 0 j= ', and that it
is satisfiable if it is satisfied in some M. For a KB K = (T ; A), we say that
K is satisfied in M if all CIs in T are satisfied in M at all time points, i.e.,
M j= C v D iff CIn DIn ; for all n 2 T (they are globally satisfied), and all
assertions in A are satisfied in M at time point 0. K is satisfiable if it is satisfied
in some M. In the following, we call finite trace an interpretation with T = [0; l],
often denoted by F = ( F; (Fn)n2[0;l]), while infinite traces, based on T = [0; 1),
will be denoted by I = ( I; (In)n2[0;1)). We say that a TU DL-LitebNool formula
' or KB K is satisfiable on infinite, finite, or k-bounded traces, if it is satisfied in
a trace in the class of infinite, finite, or finite traces with at most k 2 N; k &gt; 0
(given in binary) time points, respectively.</p>
      <p>We consider the (2#)-fragment, denoted T2#DL-LitebNool, with temporal
concepts of the form</p>
      <p>D ::= C j 2C j #C
Furthermore, we define TU DL-LitehNorn, TU DL-LitekNrom, and TU DL-LitecNore as
the fragments of TU DL-LitebNool having, respectively, CIs of the form
D1 v D2;</p>
      <p>D1 u : : : u Dk v D</p>
      <p>:D1 v D2;
D1 v D2;</p>
      <p>D1 u D2 v ?</p>
      <p>D1 v :D2
and the respective (2#)-fragments where temporal concepts D are defined from
concepts C of the form</p>
      <p>C ::= B j D:
We present complexity results for the finite satisfiability checking problem,
distinguishing the case where formulas are allowed from the case with just
knowledge bases (where axioms are interpreted globally).</p>
      <p>finite traces</p>
      <p>k-bounded traces
bool
horn
'
K
'
K</p>
    </sec>
    <sec id="sec-2">
      <title>TU DL-LiteN T2#DL-LiteN</title>
      <p>ExpSpace ExpSpace</p>
      <p>Th. 2 Th. 2
PSpace PSpace</p>
      <p>Th. 6 Th. 7
ExpSpace ExpSpace</p>
      <p>Th. 2 Th. 2</p>
      <p>PSpace PTShpa.c7e
krom K
core K</p>
      <p>PSpace
PSpace</p>
      <p>Th. 6
?</p>
      <p>NP
Th. 8</p>
    </sec>
    <sec id="sec-3">
      <title>TU DL-LiteN</title>
      <p>NExpTime</p>
      <p>Th. 9
PSpace</p>
      <p>Th. 12
NExpTime</p>
      <p>Th. 10
PSpace
PSpace
PSpace</p>
      <p>
        Th. 11
Formula satisfiability. Following [
        <xref ref-type="bibr" rid="ref3">3</xref>
        ], we define the end of time formula f
as the conjunction of the following T#DL-LitekNrom formulas (i.e., with temporal
concepts of the form D ::= C j #D):
f1 = &gt; v :E;
f2 = (&gt; v :E) U (&gt; v E);
f3 = 2+(E v #E);
where E is a fresh concept name representing the end of time. The translation
y from TU DL-LitebNool concepts and formulas to TU DL-LitebNool concepts and
formulas, respectively, is defined as follows:
(?)y 7! ?
(A)y 7! A
( qR)y 7! qR
      </p>
      <p>(:C)y 7! :Cy
(C u D)y 7! Cy u Dy
(C U D)y 7! Cy U (Dy u :E)
(C v D)y 7! Cy v Dy</p>
      <p>(C(a))y 7! Cy(a)
(R(a; b))y 7! R(a; b)</p>
      <p>(:')y 7! :'y
(' ^ )y 7! 'y ^ y
(' U )y 7! 'y U ( y ^ &gt; v :E)
We obtain the reduction to the infinite traces case with the following lemma,
that will be used to show the ExpSpace upper bound in Theorem 2.
Lemma 1. A TU DL-LitebNool formula ' is satisfiable on finite traces iff
is satisfiable on infinite traces.
f ^ 'y
Theorem 2. TU DL-LitebNool and T2#DL-LitehNorn formula satisfiability on finite
traces is ExpSpace-complete.</p>
      <p>
        Proof. The upper bound follows from the reduction in Lemma 1 to the same
problem in TU DL-LitebNool on infinite traces, which is known to be
ExpSpacecomplete [
        <xref ref-type="bibr" rid="ref1">1</xref>
        ]. The lower bound is obtained by a reduction of the m 2n corridor
tiling problem to satisfiability on finite traces of formulas in T2#DL-LitehNorn
(similar to [1, Theorem 10], modified for the finite traces case).
Knowledge base satisfiability. In this section, TU DL-LitebNool KB satisfiability
on finite traces is reduced to LTL formula satisfiability on finite traces, which is
known to be PSpace-complete [
        <xref ref-type="bibr" rid="ref7">7</xref>
        ]. The proof is an adaptation of the reduction
of TU DL-LitebNool to LTL on infinite traces [
        <xref ref-type="bibr" rid="ref2">2</xref>
        ], and it proceeds in two steps.
First, the TU DL-LitebNool KB satisfiability problem is reduced to the formula
satisfiability problem in the one-variable fragment of first-order temporal logic on
finite traces, TU QL1 [
        <xref ref-type="bibr" rid="ref8">8</xref>
        ]. Then, the satisfiability of the resulting TU QL1 formulas
is reduced to satisfiability on finite traces of TU QL1 formulas without positive
occurrences of existential quantifiers, which are essentially LTL formulas.
First-order temporal logic on finite traces. The alphabet of TU QL consists of
countably infinite and pairwise disjoint sets of predicates NP (with ar(P ) 2 N
being the arity of P 2 NP), constants (or individual names ) NI, and variables
Var; the logical operators :; ^; the existential quantifier 9, and the temporal
operator U (until ). Formulas of TU QL have the form:
'; ::= P ( ) j :' j ' ^
j 9x' j ' U
;
where P 2 NP, = ( 1; : : : ; ar(P )) is a tuple of terms, i.e., constants or variables,
and x 2 Var. We write '(x1; : : : ; xm) to indicate that the free variables of a
formula ' are in fx1; : : : ; xmg. For p 2 N, the p-variable fragment of TU QL,
denoted by TU QLp, consists of TU QL formulas with at most p variables (TU QL0
is simply propositional LTL).
      </p>
      <p>A first-order temporal model on a finite trace (or simply a first-order finite
trace) is a structure M = (D ; (In)n2T), where T is an interval of the form [0; l],
with l 2 N, and each In is a classical first-order interpretation with domain
D . We have P In D ar(P ), for each P 2 NP, and for all a 2 NI and i; j 2 N,
aIi = aIj 2 D (denoted simply by aI ). An assignment in M is a function
a from terms to D : a( ) = a(x), if = x, and a( ) = aI , if = a 2 NI
Satisfaction of a formula ' in M at time point n 2 T under assignment a
(written M ; n j=a ') is inductively defined as:</p>
      <p>M ; n j=a P ( 1; : : : ; ar(P )) iff
M ; n j=a :' iff
M ; n j=a ' ^ iff
M ; n j=a 9x' iff
M ; n j=a ' U
iff
a( 1); : : : ; a( ar(P )) 2 P In ;
not M ; n j=a ';
M ; n j=a ' and M ; n j=a ;
M ; n j=a0 ' for some assignment a0
that can differ from a only on x;
9m 2 T; m &gt; n : M ; m j=a and
8i 2 (n; m) : M ; i j=a ':
The standard abbreviations are used for other connectives. We say that ' is
satisfied in M (and M is a model of '), writing M j= ', if M ; 0 j=a ', for some
a. Moreover, ' is said to be satisfiable if it is satisfied in some M . If a formula
' contains no free variables (i.e., ' is a sentence), then we omit the assignment
a in M ; n j=a ' and write M ; n j= '. If ' has a single free variable x, then we
write M ; n j= '[a] in place of M ; n j=a ' with a(x) = a.</p>
      <p>
        Reduction to TU QL1 formula satisfiability. Here we show how to adapt to the
finite traces case the reduction of KB satisfiability to the one-variable fragment
of first order temporal logic, given in [
        <xref ref-type="bibr" rid="ref2">2</xref>
        ]. For a TU DL-LitebNool KB K = (T ; A),
let indA be the set of all individual names occurring in A, and roleK the set of
global and local role names occurring in K and their inverses. In this reduction,
individual names a 2 indA are mapped to constants a, concept names A to unary
predicates A(x), and number restrictions q R to unary predicates EqR(x).
Recall that, for S 2 NR, the predicates EqS(x) and EqS (x) represent, at each
moment of time, the sets of elements with at least q distinct S-successors and
at least q distinct S-predecessors (in particular, E1S(x) and E1S (x) represent
the domain and the range of S, respectively). By induction on the construction
of a TU DL-LitebNool concept C, we define the TU QL1 formula C (x):
      </p>
      <p>A = A(x);
(C1 U C2) = C1 U C2 ;</p>
      <p>? = ?;
(C1 u C2) = C1 ^ C2 ;
( q R) = EqR(x);
(:C) = :C :</p>
      <p>
        For a TBox T , we consider the following sentence, saying that the CIs in
T hold globally (the reflexive box 2+ plays here the role of the ‘always’ box
operator in [
        <xref ref-type="bibr" rid="ref2">2</xref>
        ], since we consider traces based on initial segments of the natural
numbers):
      </p>
      <p>T y =</p>
      <p>^
C1vC22T</p>
      <p>2+8x C1 (x) ! C2 (x) :
Now we have to ensure that the predicates EqR(x) behave similarly to the
number restrictions they replace. Denote by QT the set of numerical parameters in
number restrictions of T :</p>
      <p>QT
= f 1 g [ f q j
q H occurs in T g:
Then, the following three properties hold in TU DL-LitebNool finite traces, for all
roles R at all instants: (i) every individual with at least q0 R-successors has at
least q R-successors, for q &lt; q0; (ii) if R is a global role, then every individual
with at least q R-successors at some moment has at least q R-successors at all
moments of time; (iii) if the domain of a role is not empty, then its range is
not empty either. These conditions can be encoded by the following TU QL1
sentences:
(1)
(2)
(3)
^</p>
      <p>^
R2roleK q;q02QT</p>
      <p>q&lt;q0
:9q002QT : q&lt;q00&lt;q0
^ ^ h
2</p>
      <p>+ 8x
RR2grloolbeKal q2QT</p>
      <p>
        ^
R2roleK
+ 9x (9R) (x) ! 9x (9invR) (x) ;
2+8x ( q0 R) (x) ! ( q R) (x) ;
( q R) (x) ! 2( q R) (x) ^
#( q R) (x) ! ( q R) (x) i;
where invR is the inverse of R, i.e., invS = S and invS = S, for a role name S.
Since we lack the past operators, to encode the condition on global roles, in (2)
we use both the 2 and the # operators, instead of the as in [
        <xref ref-type="bibr" rid="ref2">2</xref>
        ].
      </p>
      <p>
        The above reduction is extended to the ABox as in [
        <xref ref-type="bibr" rid="ref2">2</xref>
        ]. In particular, we
assume that A contains #nS (b; a) whenever it contains #nS(a; b). For each
n 2 [0; l] and each role R, the temporal slice AnR of A is defined by taking
AnR =
( R(a; b) j #mR(a; b) 2 A for some m 2 [0; l] ;
      </p>
      <p>R(a; b) j #nR(a; b) 2 A ;</p>
      <sec id="sec-3-1">
        <title>R is a global role; R is a local role:</title>
        <p>The translation Ay of the TU DL-LitebNool ABox A is now defined as follows:
Ay =
^</p>
        <p>#nA(a) ^
#nA(a)2A</p>
        <p>^ #n:A(a) ^ ^ #n( qAR;(na) R) (a) ^ ^ ?;
#n:A(a)2A #nR(a;b)2A #n:S(a;b)2SA
S(a;b)2An
where qAR;(na) is the number of distinct R-successors of a in A at moment n:
qAR;(na) = max q 2 QT j R(a; b1); : : : ; R(a; bq) 2 AnR; for distinct b1; : : : ; bq :
Finally, we define the TU QL1 translation Ky of K = (T ; A) as the conjunction
of T y, Ay and formulas (1)–(3). The size of T y and Ay does not exceed the size
of T and A, respectively. Thus, the size of Ky is linear in the size of K. Moreover,
we have that K and Ky are equisatisfiable.</p>
        <p>Lemma 3. On finite traces, a TU DL-LitebNool KB K is satisfiable iff the TU QL1
sentence Ky is satisfiable.</p>
        <p>
          Reduction to LTL. As in [
          <xref ref-type="bibr" rid="ref2">2</xref>
          ], our next aim is to construct an LTL formula
that is equisatisfiable, on finite traces, with Ky. First, we have that Ky can be
represented in the form Ky0 ^ VR2roleK #R, where
        </p>
        <p>Ky0 = 2+8x'(x) ^ ;</p>
        <p>#R = 2+8x (9R) (x) ! 9x(9invR) (x) ;
for a quantifier-free first-order temporal formula '(x) with a single variable x
and unary predicates only, and a variable-free formula . In order to show that it
is possible to replace #R by a formula without existential quantifiers, we require
the following lemma.</p>
        <p>Lemma 4. For every TU DL-LitebNool KB K, if there is a first-order finite trace
M = (D ; (In)n2[0;l]) satisfying Ky0 such that M ; n0 j= (9R) [d], for some
n0 2 [0; l] and d 2 D , then there is a first-order finite trace M 0 extending M
with new elements and satisfying Ky0 such that, for each n 2 [0; l], there is
dn 2 D 0 with M 0; n j= (9R) [dn].</p>
        <p>Next, for each R 2 roleK, we take a fresh constant dR and a fresh propositional
variable pR (recall that invR is also in roleK), and consider the following TU QL1</p>
        <p>Kz = Ky0 ^</p>
        <p>
          ^ #0R; with
#0R = 2+8x (9R) (x) ! 2+pR ^
# pR ! pR
^ pinvR ! (9R) (dR)
(pinvR and pR indicate that invR and R are non-empty whereas dR and dinvR
witness that at 0). Notice that in #0R we again use both 2 and # operators,
instead of the used in [
          <xref ref-type="bibr" rid="ref2">2</xref>
          ].
        </p>
        <p>Lemma 5. On finite traces, a TU DL-LitebNool KB K is satisfiable iff the TU QL
sentence Kz is satisfiable.</p>
      </sec>
      <sec id="sec-3-2">
        <title>We can thus state the following result.</title>
        <p>Theorem 6. TU DL-LitebNool and TU DL-LitecNore KB satisfiability on finite traces
is PSpace-complete.</p>
        <p>
          Proof. The PSpace-hardness for TU DL-LitecNore is obtained by observing that
the PSpace-hardness proof in [2, Theorem 4.5] works also in the case of finite
traces. For PSpace-membership, we have that Kz can be considered as a LTL
formula (as it does not contain existential quantifiers, and because all the
universally quantified variables can be instantiated by all the constants in the formula,
which only results in a polynomial blow-up). Moreover, the translation z can be
done in logarithmic space in the size of K [
          <xref ref-type="bibr" rid="ref2">2</xref>
          ]. Thus, from Lemma 5 and
PSpacemembership of LTL on finite traces [
          <xref ref-type="bibr" rid="ref7">7</xref>
          ], we get the matching upper bounds.
        </p>
        <p>Similar complexity results can be obtained restricting the temporal operators
to just 2 and # combined with the horn fragment.</p>
        <p>Theorem 7. The T2#DL-LitebNool and T2#DL-LitehNorn KB satisfiability on
finite traces is PSpace-complete.</p>
        <p>Proof. The upper bound follows from Theorem 6. The lower bound can be
obtained from the PSpace result in [2, Theorem 4.5] noting that the only axiom
requiring the U operator has the form Sia v Sia U Di which can be replaced by
the horn axiom Hiq u Sja v #Sja, for i 6= j. The proof then proceeds similarly
to Theorem 6.</p>
        <p>When we further reduce to the core fragment we can obtain the following
hardness result. The proof is by reduction of 3SAT as in [2, Theorem 5.4],
however, we cannot directly adapt such proof as it relies on an encoding of arithmetic
progressions. In this encoding, each time point may represent an assignment
satisfying a propositional formula in 3CNF. A symbol d is used to mark time points
which do not represent a satisfying assignment. The 3CNF formula is satisfiable
iff d does not hold at some time point. On finite traces, we cannot explictly
encode all (infinitely many) values of the arithmetic progressions. We solve this by
encoding a finite portion of the arithmetic progressions backwards. Essentially,
we mark the last time point using a concept expression of the form 2?, which is
only true at the last time point. Then, we check whether there is an arbitrarily
large but finite trace where d does not hold at time point zero.
1
tu
tu
Theorem 8. T2#DL-LitecNore (and T2#DL-LitekNrom) KB satisfiability on finite
traces is NP-hard.</p>
        <p>Proof. The proof is by reduction of 3SAT. Let f = Vin=1 Ci be a 3CNF with
m variables p1; : : : ; pm and n clauses C1; : : : ; Cn. By a propositional assignment
for f we understand a function : fp1; : : : ; pmg ! f0; 1g. We will represent such
assignments by sets of positive natural numbers. More precisely, let P1; : : : ; Pm
be the first m prime numbers; it is known that Pm does not exceed O(m2).
We say that a natural number k represents an assignment if k modulo Pi is
equivalent to (pi), for all i, 1 i m.</p>
        <p>
          Not every natural number represents an assignment. Consider the following
arithmetic progressions:
j + Pi N;
for 1
i
m and 2
j &lt; Pi:
Every element of j + Pi N is equivalent to j modulo Pi, and so, since j 2,
cannot represent an assignment. Moreover, every natural number that cannot
represent an assignment belongs to one of these arithmetic progressions (see Fig.
1 from [
          <xref ref-type="bibr" rid="ref2">2</xref>
          ]).
        </p>
        <p>Let Ci be a clause in f , for example, Ci = pi1 _ :pi2 _ pi3 . Consider the
following progression:</p>
        <p>Pi01 Pi12 Pi03 + Pi1 Pi2 Pi3 N:
(4)
(5)
where by Pi01 Pi12 Pi03 we denote the least natural number, say P , such that P
modulo Pi1 is equivalent to 0, P modulo Pi2 is equivalent to 1, and P modulo
Pi3 is equivalent to 0. Then a natural number represents an assignment making
Ci true iff it does not belong to the progressions (4) and (5). Thus, a natural
number represents a satisfying assignment for f iff it does not belong to any of
the progressions of the form (4) and (5), for clauses in f .</p>
        <p>We now show how to encode arithmetic progressions as T2#DL-LitecNore KBs.
We use a concept name D signalling a truth assignment for f whenever D does
not hold. To take advantage of the finite traces for KBs in T2#DL-LitecNore we
encode arithmetic progressions starting from the last point of the finite trace
and then going backwards, halting whenever D becomes false. To express that
D cannot be true in all instants we use the following axioms, with the concept
2? being true just at the last point of the finite trace and F a newly introduced
concept name:
2? v D;</p>
        <p>D u F v ?
together with the ABox assertion F (a). Each of the arithmetic progressions (4)
and (5) have the form a + bN (with a &gt; 0 and b &gt; 1) and can be encoded with
the following axioms:
2? v U0;
Ua v V0;
Vb v V0;
# Uj 1 v Uj ; for j = 1; : : : ; a;
# Vj 1 v Vj ; for j = 1; : : : ; b;
where U0; : : : ; Ua and V0; : : : ; Vb are fresh atomic concepts. Note that the size of
the resulting T2#DL-LitecNore KB is O(n m6). One can check that the above
KB is satisfiable on finite traces iff f is satisfiable.</p>
        <p>The NP upper bound presented in [2, Theorem 4.7], using a translation to the
krom fragment of LTL on infinite traces, cannot be immediately applied in the
finite case, since the complexity of this fragment on finite traces is unknown.
4</p>
        <p>Satisfiability on Bounded Traces
In this section we consider satisfiability of TU DL-LiteN formulas and KBs on
traces with at most k time points, with k given in binary. We start by
considering the formula satisfiability problem. We establish that the complexity of the
satisfiability problem for TU DL-LitebNool (and consequently for TU DL-LitehNorn)
is in NExpTime for traces bounded by k (in binary, given as part of the input).
We formalise this result with the following theorem.</p>
        <p>Theorem 9. TU DL-LitebNool formula satisfiability on k-bounded traces is in
NExpTime.</p>
        <p>
          Proof. (Sketch) Our result follows from the fact that one can translate any
TU DL-LitebNool formula into an equisatisfiable TU QL1 formula [
          <xref ref-type="bibr" rid="ref1">1</xref>
          ].
Satisfiability of a TU QL1 formula can be solved using quasimodels [8, Theorem 11.30], a
classical technique used to abstract models. For finite traces, the same notions
can be adopted. In particular, one can show that there is a model for a TU QL1
formula with k time points if and only if there is a quasimodel for it where the
sequence of quasistates has lengh k [
          <xref ref-type="bibr" rid="ref3">3</xref>
          ]. If the number of time points is bouned by
k (in binary), then satisfiability of this translation can be decided in NExpTime
by guessing an exponential size sequence of sets of types and then checking in
exponential time that it forms a quasimodel.
tu
The next theorem establishes a matching lower bound for TU DL-LitehNorn (and
consequently for TU DL-LitebNool) on k-bounded traces.
        </p>
        <p>Theorem 10. TU DL-LitehNorn formula satisfiability on k-bounded traces is
NExpTime-hard.</p>
        <p>
          Proof. (Sketch) Suppose we are given a finite set T of tile types, a t0 2 T and a
natural number k in binary. We can assume w.l.o.g. that k = 2n. The problem
is to decide whether T tiles the grid 2n 2n in such a way that t0 is placed at
(0; 0). We construct essentially the same TU DL-LitehNorn formula 'T;t0;n as in
Theorem 10 in [
          <xref ref-type="bibr" rid="ref1">1</xref>
          ]. An exponential counter can be used to mark with a concept
name M the 2n 1 time points of the trace with 2n time points. One can then use
M on the left side of inclusions to ensure that the # operator on the right side is
only ‘applied’ when there is a next time point. We exclude axioms used to encode
that the top and bottom sides of the corridor are white, which are not needed for
the bounded tiling problem. The main difference is that in the mentioned proof,
the formula on infinite traces is used to prove ExpSpace-hardness by reduction
from the corridor problem. Here, the number of time points is bounded by k, and
so, we can only encode the bounded tiling problem, which gives us
NExpTimehardness [
          <xref ref-type="bibr" rid="ref6">6</xref>
          ].
tu
We now consider the KB satisfiability problem. The same PSpace-hardness
proof for TU DL-LitecNore can applied for TU DL-LitecNore (see Theorems 6 and
7). The main point here is to show that the bound on the number of time
points does not affect this hardness proof. Indeed, the proof is by reduction
from a polynomial space bounded Turing machine, where each configuration
can be encoded in a time point. One can assume w.l.o.g. that the length of a
computation is exponential in the size of the input (by removing repetitions in
a sequence of configurations). Since k is given in binary, if the length of k is
polynomial in the size of the KB given as input, then traces may still have an
exponential number of time points (w.r.t the size of the formula). So, the same
encoding of the problem holds in this setting.
        </p>
        <p>Theorem 11. TU DL-LitecNore KB satisfiability on k-bounded traces is
PSpacehard.</p>
        <p>The upper bound for TU DL-LitebNool (and consequently for its fragments) is
obtained in the same way as for TU DL-LitebNool (Theorems 6 and 7), with a
translation to LTL. The important point here is that the procedure is adapted
to ensure that the number of time points is bounded by k. The exact number of
time points t k can be guessed and stored in binary using polynomial space
w.r.t. the size of k (as a string). Then the procedure is as for LTL, with the
difference that when we reach t we have to check whether all the ‘until’s have
been realised, that is, whether the finite trace can finish at this time point.
Theorem 12. TU DL-LitebNool KB satisfiability on k-bounded traces is in PSpace.
5</p>
        <p>Conclusion
We presented preliminary results on the complexity of reasoning in the TDL-LiteN
family of languages interpreted on finite traces. Our results show that in terms
of complexity, there is not much change between reasoning on finite and
infinite traces (except when there is a bound on the time points). However, on
the semantical side, there are several expressions that, on finite traces, become
satisfiable (2?) and unsatisfiable (2+ # &gt;).</p>
        <p>We plan to investigate syntactical and semantical ways of characterising the
distinction between reasoning on finite and infinite traces. Also, we plan to
improve the landscape of complexity results, in particular, to study satisfiability on
finite traces in sub-boolean fragments of TU DL-LitebNool, such as the krom and
core fragments.</p>
      </sec>
    </sec>
  </body>
  <back>
    <ref-list>
      <ref id="ref1">
        <mixed-citation>
          1.
          <string-name>
            <surname>Artale</surname>
            ,
            <given-names>A.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Kontchakov</surname>
            ,
            <given-names>R.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Lutz</surname>
            ,
            <given-names>C.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Wolter</surname>
            ,
            <given-names>F.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Zakharyaschev</surname>
            ,
            <given-names>M.</given-names>
          </string-name>
          :
          <article-title>Temporalising tractable description logics</article-title>
          .
          <source>In: TIME</source>
          . pp.
          <fpage>11</fpage>
          -
          <lpage>22</lpage>
          (
          <year>2007</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref2">
        <mixed-citation>
          2.
          <string-name>
            <surname>Artale</surname>
            ,
            <given-names>A.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Kontchakov</surname>
            ,
            <given-names>R.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Ryzhikov</surname>
            ,
            <given-names>V.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Zakharyaschev</surname>
            ,
            <given-names>M.:</given-names>
          </string-name>
          <article-title>A cookbook for temporal conceptual data modelling with description logics</article-title>
          .
          <source>ACM Trans. Comput. Log</source>
          .
          <volume>15</volume>
          (
          <issue>3</issue>
          ),
          <volume>25</volume>
          :
          <fpage>1</fpage>
          -
          <lpage>25</lpage>
          :
          <fpage>50</fpage>
          (
          <year>2014</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref3">
        <mixed-citation>
          3.
          <string-name>
            <surname>Artale</surname>
            ,
            <given-names>A.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Mazzullo</surname>
            ,
            <given-names>A.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Ozaki</surname>
            ,
            <given-names>A.</given-names>
          </string-name>
          :
          <article-title>Temporal description logics over finite traces</article-title>
          .
          <source>In: DL</source>
          . vol.
          <volume>2211</volume>
          (
          <year>2018</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref4">
        <mixed-citation>
          4.
          <string-name>
            <surname>Artale</surname>
            ,
            <given-names>A.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Mazzullo</surname>
            ,
            <given-names>A.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Ozaki</surname>
            ,
            <given-names>A.</given-names>
          </string-name>
          :
          <article-title>Do you need infinite time? In: IJCAI (to appear) (</article-title>
          <year>2019</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref5">
        <mixed-citation>
          5.
          <string-name>
            <surname>Baader</surname>
            ,
            <given-names>F.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Ghilardi</surname>
            ,
            <given-names>S.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Lutz</surname>
            ,
            <given-names>C.</given-names>
          </string-name>
          :
          <article-title>LTL over description logic axioms</article-title>
          .
          <source>ACM Trans. Comput. Log</source>
          .
          <volume>13</volume>
          (
          <issue>3</issue>
          ) (
          <year>2012</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref6">
        <mixed-citation>
          6.
          <string-name>
            <surname>Boas</surname>
            ,
            <given-names>P.V.E.</given-names>
          </string-name>
          :
          <article-title>The convenience of tilings</article-title>
          . In: In Complexity, Logic, and Recursion Theory. pp.
          <fpage>331</fpage>
          -
          <lpage>363</lpage>
          . Marcel Dekker Inc (
          <year>1997</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref7">
        <mixed-citation>
          7. De Giacomo,
          <string-name>
            <given-names>G.</given-names>
            ,
            <surname>Vardi</surname>
          </string-name>
          , M.Y.:
          <article-title>Linear temporal logic and linear dynamic logic on finite traces</article-title>
          .
          <source>In: IJCAI</source>
          . pp.
          <fpage>854</fpage>
          -
          <lpage>860</lpage>
          (
          <year>2013</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref8">
        <mixed-citation>
          8.
          <string-name>
            <surname>Gabbay</surname>
            ,
            <given-names>D.M.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Kurucz</surname>
            ,
            <given-names>A.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Wolter</surname>
            ,
            <given-names>F.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Zakharyaschev</surname>
            ,
            <given-names>M.</given-names>
          </string-name>
          :
          <article-title>Many-dimensional Modal Logics: Theory and Applications</article-title>
          . Elsevier (
          <year>2003</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref9">
        <mixed-citation>
          9.
          <string-name>
            <surname>Hodkinson</surname>
            ,
            <given-names>I.M.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Wolter</surname>
            ,
            <given-names>F.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Zakharyaschev</surname>
            ,
            <given-names>M.</given-names>
          </string-name>
          :
          <article-title>Decidable fragment of first-order temporal logics</article-title>
          .
          <source>Annals of Pure and Applied Logic</source>
          <volume>106</volume>
          (
          <issue>1-3</issue>
          ),
          <fpage>85</fpage>
          -
          <lpage>134</lpage>
          (
          <year>2000</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref10">
        <mixed-citation>
          10.
          <string-name>
            <surname>Lutz</surname>
            ,
            <given-names>C.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Wolter</surname>
            ,
            <given-names>F.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Zakharyaschev</surname>
            ,
            <given-names>M.</given-names>
          </string-name>
          :
          <article-title>Temporal description logics: A survey</article-title>
          .
          <source>In: TIME</source>
          . pp.
          <fpage>3</fpage>
          -
          <lpage>14</lpage>
          (
          <year>2008</year>
          )
        </mixed-citation>
      </ref>
    </ref-list>
  </back>
</article>