<!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>Consistency checking of attention aware systems</article-title>
      </title-group>
      <contrib-group>
        <contrib contrib-type="author">
          <string-name>Yensen Limon</string-name>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Everardo Barcenas</string-name>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Edgard Ben tez-Guerrero</string-name>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Javier Gomez</string-name>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Facultad de Estad stica e Informatica</string-name>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Universidad Veracruzana zs</string-name>
        </contrib>
        <contrib contrib-type="author">
          <string-name>@estudiantes.uv.mx</string-name>
        </contrib>
        <contrib contrib-type="author">
          <string-name>edbenitez@uv.mx</string-name>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Facultad de Ingenier a</string-name>
        </contrib>
        <contrib contrib-type="author">
          <string-name>UNAM ebarcenas@unam.mx</string-name>
        </contrib>
        <contrib contrib-type="author">
          <string-name>javierg@fi-b.unam.mx</string-name>
        </contrib>
      </contrib-group>
      <fpage>13</fpage>
      <lpage>23</lpage>
      <abstract>
        <p>Attention aware systems keep track of users attention in order to react and provide a better interaction experience. In the educational setting, recent research results have showed attention aware system can be useful in many smart learning scenarios, such as in student performance evaluation, and identi cation and motivation of inattentive students. However, ensuring a consistent behavior in these systems have been found a challenging task. This is due to the rich and heterogeneous contexts required to be modeled. Formal veri cation methods for these systems is then a demanding incipient research perspective. In the current work, we study a formal notion of consistency in attention aware systems for the educational setting. An expressive modal logic is proposed as speci cation language, and a consistency checking algorithm is provided. The algorithm is de ned in terms of the satis ability problem of the logic.</p>
      </abstract>
      <kwd-group>
        <kwd>Formal Veri cation</kwd>
        <kwd>Attention Aware Systems</kwd>
        <kwd>Modal Logics</kwd>
      </kwd-group>
    </article-meta>
  </front>
  <body>
    <sec id="sec-1">
      <title>Introduction</title>
      <p>
        Consider the following scenario in a smart learning environment, say a
classroom. One or several instructors are helping to a number of students to carry
out a learning activity (which can be divided in sub-activities). For this purpose,
instructor(s) and students have access to a number of smart devices: interactive
board, computers, phones, etc. At some point during the learning activity,
students are supposed to solve some mathematical problems. One of these students
seems frustrated when trying to solve these problems. Frustration may be
detected by facial expression or gaze patterns [
        <xref ref-type="bibr" rid="ref12">12</xref>
        ]. Once this inattentive state
(frustration) is detected by the smart classroom system, a tutorial video on how
to solve the mathematical problems pops-up on the student's screen. An student
with a di erent learning style may obtain a text lesson on related problems
instead of the tutorial video. If after some time, the student still seem frustrated,
Copyright © 2019 for this paper by its authors.
one of the instructors, the mathematician, receives a corresponding alert in his
mobile phone, in order to not disturb other students. This is a traditioAntatrlibsumtiaornt4.0 International (CC BY 4.0)
learning environment scenario focused in the high engagement key feature de
ning smart learning, according to [
        <xref ref-type="bibr" rid="ref5">5</xref>
        ]. Systems focused in this particular feature
are also often called attention aware systems [
        <xref ref-type="bibr" rid="ref11">11</xref>
        ]. Systems capable to realize
human perceptual and cognitives abilities, and to react in order to provide a
better interaction experience.
      </p>
      <p>Due to the rich and heterogeneous context in attention aware systems. The
design process have become a very challenging task. This is because ensuring a
consistent system behavior is such a vast context scales far beyond the developer
scope. In this paper, we propose a formal notion of consistency in attention aware
systems. This notion is de ned in terms of the satis ability of an expressive
modal logic. This result implies a consistency checking algorithm.
1.1</p>
      <sec id="sec-1-1">
        <title>Related Work</title>
        <p>
          Due to the relatively recent introduction of studies on attention aware
system [
          <xref ref-type="bibr" rid="ref11">11</xref>
          ], research on formal veri cation methods for these type of systems is
basically incipient. Attention aware systems can also be seen a sort of
contextaware system [
          <xref ref-type="bibr" rid="ref3">3</xref>
          ], where the context is focused on human attention aspects.
Formal veri cation methods on context-aware systems have been studied in many
settings [
          <xref ref-type="bibr" rid="ref10">10</xref>
          ], including the educational one [
          <xref ref-type="bibr" rid="ref1">1</xref>
          ].
        </p>
        <p>
          In the setting of formal veri cation of context-aware systems, closest studies
to our proposal are reported in [
          <xref ref-type="bibr" rid="ref8 ref9">8,9</xref>
          ]. In [
          <xref ref-type="bibr" rid="ref8">8</xref>
          ], formal veri cation of context-aware
systems is de ned in terms of the satis ability of -calculus formulas. The
calculus is an expressive modal logic with xed-point operators. In our proposal,
we also verify system consistency of in terms of the satis ability of -calculus
formulas. In contrast with context-aware systems veri ed in [
          <xref ref-type="bibr" rid="ref8">8</xref>
          ], veri cation of
attention aware systems require the construction of deeper models. In [
          <xref ref-type="bibr" rid="ref9">9</xref>
          ], it is
proposed a modeling and veri cation framework for context-aware systems in
terms of consistency of knowledge bases of an expressive description logic.
1.2
        </p>
      </sec>
      <sec id="sec-1-2">
        <title>Outline</title>
        <p>
          In Section 2, we introduce the formal notions required to model and verify
attention aware systems. In particular, since the notion of consistency is de ned
in terms of tree-shaped models, we rst de ne tree-shaped Kripke structures.
We also de ne in this section -calculus formulas, which are also interpreted in
terms of Kripke structures. In Section 3, we rst de ne attention aware systems.
In particular, inspired from [
          <xref ref-type="bibr" rid="ref6">6</xref>
          ], we de ne an attention aware smart learning
environment. A formal notion of consistency of the environment is also introduced
in this section. Section 4 is devoted to the description of a consistency checking
algorithm for the attention aware smart learning environment. Consistency is
described in terms of a -calculus formula. Additionally, we also show how to
express temporal constraints on consistency models, such as restrictions on
consecutive system interventions. Finally, in Section 5, we give a brief summary of
our proposal. Further research perspective are also discussed in this last section.
        </p>
      </sec>
    </sec>
    <sec id="sec-2">
      <title>Preliminaries</title>
      <p>
        We introduce in this Section the speci cation language, the alternation-free
propositional modal -calculus with converse. This is an expressive modal logic
with a least and a greatest xed-points and converse modalities [
        <xref ref-type="bibr" rid="ref4">4</xref>
        ]. Since the
notion of consistency of context-aware systems is de ned in terms of tree-shaped
models [
        <xref ref-type="bibr" rid="ref8">8</xref>
        ], we then also interpret the speci cation language on tree structures.
Before giving a precise notion of trees, we rst assume an alphabet composed
by a countable set of proposition P , set of modalities M = f1; 2; 3; 4g, and a
countable set of variables X.
      </p>
      <p>A tree structure K is a tuple (N; R; L), where:
{ the set of nodes N is de ned as a complete pre x-closed non-empty nite
set of words over the natural numbers N, that is, N is a nite set of words
N N?, such that if n i 2 N , where n 2 N? and i 2 N, then also n 2 N ;
{ R : N M N is a transition relation, written n 2 R(n0; m), such that
for all (n i); (n i + 1) 2 N , where i 2 N, n 2 R(n i; 1), (n i) 2 R(n; 3),
(n i + 1) 2 R(n i; 2) and (n i) 2 R(n i + 1; 4), we say n is the parent of
n i, hence n i is the child of n, n i + 1 is a following (right) sibling of n i,
and hence n i is a previous (left) sibling of n i + 1; and
{ L : N 7! P is a total labeling function.</p>
      <p>The speci cation language is now introduced. The set of -calculus formulas
is de ned by the following grammar:
::= p j X j : j
_
j hmi j</p>
      <p>X:
where p is a proposition, m a modalities, and X a variable.</p>
      <p>Formulas are interpreted with respect to a tree structure K = (N; R; L) and
a valuation function V : X 7! 2N , as follows.
[[p]]VK = fn j L(n) = pg
[[: ]]VK = N n [[ ]]VK
[[hmi ]]VK = nn j R(n; m) \ [[ ]]VK 6= ;
o
[[X]]VK = V (X)
[[ _ ]]VK = [[ ]]VK [ [[ ]]VK
[[ X: ]]VK = \ nN 0 [[ ]]VK[N0 =X ]</p>
      <p>N 0 o
If there is a tree K such that the interpretation of a formula is not empty with
respect to any valuation, then we say is satis able and K is a model of .</p>
      <p>Intuitively, formulas are interpreted as follows. Propositions as node labels.
Negations and disjunctions as set complements and unions, respectively. Modal
formulas hmi as nodes can access through m to the interpretation of , that
is, node(s) are children, parent, right and left sibling of h1i , h3i , h2i and
h3i nodes, respectively. Fixed points can be seen as recursion operators, for
instance, h1i X:p _ h1i X holds at nodes with at least one descendant named p.</p>
    </sec>
    <sec id="sec-3">
      <title>Attention aware systems</title>
      <p>
        We now introduce the notion of consistency in attention aware systems. For
this, we rst de ne an attention aware system in the education setting inspired
from [
        <xref ref-type="bibr" rid="ref6">6</xref>
        ]. The system is intended to engage inattentive students participating
in a learning activity. Learning activities are carried on in a smart classroom
equipped with sensors able to detect when students are not engaged in the
activities. This disengagement embraces several scenarios, for instance when an
student is inattentive or may be experiencing frustration because of the activity.
According to the scenario, the system is supposed to react accordingly. For
example, if the student is inattentive watching his mobile phone, the system may
send a visual or sound alert directly to the student phone. In case the student
is frustrated trying to solve some mathematical problems, the system may show
in the student's screen a recall of the information associated to the problem
is trying to solve. For this re-engagement process, the system must consider a
huge legion of context constraints, such as the student learning style, the type
of learning activity, the available devices, and so on. Intuitively, the notion of
consistency for these systems aims to guarantee, at system design time, context
constraints are satis ed. A consistent system must guarantee it is able to
intervene in any possible disengagement scenario. In addition to the attention aware
system proposed in [
        <xref ref-type="bibr" rid="ref6">6</xref>
        ], we also consider temporal and location constraints. These
constraint types consider the consecutive repetition of system interventions on
the same student in the same activity. Repeated system interventions may thus
not impact in the engagement process as desired.
      </p>
      <p>We then formally de ne an attention aware system by its input. The system
input is de ned as a tuple (Sch; IL; IA; ID; SD; LD), where:
{ the schedule Sch is a set of tuples (t; l; la; s) associating times t, locations l,
learning activities la, and students;
{ IL is composed by pairs (i; la) of interventions i and learning activities la;
{ IA is a set of pairs (i; a) of interventions i and attention states a;
{ (i; d) 2 ID relates interventions i with devices d;
{ (s; d) 2 SD denotes which devices d are accessible for each student s; and
{ (l; d) 2 LD indicates which devices d are available at each location l.
Example 1. Consider for instance the following scenario, at 2 locations, 4
students (2 at each location) are participating in 2 activities at 2 time lapses. There
are 2 types of attention states, say being inattentive and being frustrated. There
are also 2 types of devices only: mobile phone and computer. The system can
react in two di erent ways in order to attract the student attention, by a sound
alert and by recalling a learned lesson. All these variables are related in several</p>
      <p>: : :
: : :</p>
      <p>: : :
: : :
ak4
.
.
.</p>
      <p>sk3
.
.
.</p>
      <p>lk2
.
.
.</p>
      <p>tk1
.
.
.</p>
      <p>Times
Locations
Students
Attention states
Device</p>
      <p>Intervention</p>
      <p>It is not hard to see the system de ned in Example 1 is consistent because
it is able to react in any possible scenario. Before giving a precise de nition
of system consistency, we de ne a semantic notion of consistency in terms of a
tree-shaped structure.</p>
      <p>De nition 1 (Consistency model). Given a system input (Sch, IL, IA, ID,
SD, LD), we de ne a tree structure (N; R; L), called the consistency model CM ,
as follows:
{ there is root node labeled by r;
{ for each time t occurring in Sch, the root has a child node labeled by the time
proposition;
{ for each tuple (t; l; la; s) 2 Sch, the node labeled by t has a child labeled by l;
{ for each tuple (t; l; la; s) 2 Sch, the node labeled by l has a child labeled by s;
{ for each student in Sch, each student node has as many children as attention
states occurring in IA;
{ each attention state node has at least one child node, labeled by a device d,
such that (s; d) 2 SD, (l; d) 2 LD, and s and l label some ancestor nodes;
and
{ each device node d has at least one child node, labeled by an intervention i,
such that (i; d) 2 ID.</p>
      <p>A canonic graphic representation of a consistency model is depicted in Figure 1.</p>
      <p>Time constraints may help to increase the intervention e ect, that is,
repeating an intervention at two consecutive times may not have the desired impact.
In this work, time constraints where interventions cannot repeat at
consecutive times are considered in addition. We then now give a precise notion of a
consistent attention aware system.</p>
      <p>De nition 2 (System consistency). Given a system input, we say the system
is consistent, if and only if, there is a consistency model satisfying the time
constraints.
4</p>
    </sec>
    <sec id="sec-4">
      <title>Consistency checking</title>
      <p>In this Section, we describe a consistency checking algorithm in terms of the
satis ability of -calculus formula. We rst de ne a formula corresponding to a
consistency model.</p>
      <p>Given a system input (Sch; IL; IA; ID; SD; LD), we de ne the consistency
formula as follows:
j=2
k1
N1 :=h1i(t1 ^ N2(t1) ^ ^ h2ij 1(tj ^ N2(tj )) ^ h2ik1 1:h2i&gt;)</p>
      <p>k2(t)
N2(t) :=h1i(l1 ^ la1 ^ N3(t; l1; la1) ^ ^ h2ij 1(lj ^ N3(t; lj ; laj ))^
h2ik2 1:h2i&gt;)
h2ik3 1:h2i&gt;)
N3(t; l; la) :=h1i(s1 ^ N4(t; l; la; s1) ^
2 j 1(sj ^ N4(t; l; la; sj ))^
h i
k4
N4(t; l; la; st) :=h1i(a1 ^ N5(t; l; la; s; a1) ^ ^ h2ij 1(aj ^ N5(t; l; la; s; aj ))^
h2ik4 1:h2i&gt;)
N5(t; l; la; s; a) :=(FDS (t; l; la; s; a) _ FLD(t; l; la; s; a)) ^ :h2i&gt;
where
N6(t; l; la; s; a; d) :=</p>
      <p>h1iij ^ :h2i&gt;
j=1
k6(la;a;d)
_
j=1
provided that k1 is the number of time propositions in Sch, k2(t) is the
number of locations, k3(t; l; la) is the number of students in the learning activity la,
at location l, in time t, k4 is the number of attention states, kSD(s) is the number
of devices available for student s, kLD(l) is the number of devices available at
location l, and k6(la; a; d) is the number of interventions available for device d,
learning activity a and attention state a.</p>
      <p>As an example, consider the consistency model corresponding to the input
system described in Example 1. The rst level of the model in the one for time
lapses, N1 is then de ned as follows.</p>
      <p>N1 :=h1i(t1 ^ N2(t1) ^ h2i(t2 ^ N2(t2)) ^ h2i:h2i&gt;)</p>
      <p>The second model level distinguishes the learning activities, there are two
per time lapse.</p>
      <p>N2(t1) :=h1i((la1 ^ l1) ^ N3(t1; la1; l1) ^ h2i((la2 ^ l2) ^ N3(t1; l2; la2))^
h2i:h2i&gt;)
N2(t2) :=h1i((la3 ^ l1) ^ N3(t2; la3; l1) ^ h2i((la4 ^ l2) ^ N3(t2; la4; l2))^
h2i:h2i&gt;)
The following level corresponds to the students. There are four students
distributed in the two locations.</p>
      <p>N3(t1; la1; l1) :=h1i(s1 ^ N4(t1; la1; l1; s1) ^ h2i(s2 ^ N4(t1; la1; l1; s2))^
h2i:h2i&gt;)
N3(t1; la2; l2) :=h1i(s3 ^ N4(t1; la2; l2; s3) ^ h2i(s4 ^ N4(t1; la2; l2; s4))^
h2i:h2i&gt;)
N3(t2; la3; l1) :=h1i(s1 ^ N4(t2; la3; l1; s1) ^ h2i(s2 ^ N4(t2; la3; l1; s2))^
h2i:h2i&gt;)
N3(t2; la4; l2) :=h1i(s3 ^ N4(t2; la4; l2; s3) ^ h2i(s4 ^ N4(t2; la4; l2; s4))^
h2i:h2i&gt;)</p>
      <p>In the fourth level, we must consider all possible scenarios of the attention
states of each student at each location and time lapse.</p>
      <p>N4(t1; la1; l1; s1) :=h1i(a1 ^ N5(t1; la1; l1; s1; a1) ^ h2i(a2 ^ N5(t1; la1; l1; s1; a2))</p>
      <p>Level 5 constrains the availability of devices where the system engagement
intervention is carried on. Location, student, and attention state constraints
must be considered.</p>
      <p>N5(t1; la1; l1; s1; a1) :=h1i(d1 ^ N6(t1; la1; l1; s1; a1; d1) ^ :h2i&gt;)
N5(t1; la1; l1; s1; a2) :=h1i(d2 ^ N6(t1; la1; l1; s1; a2; d2) ^ :h2i&gt;)
N5(t1; la1; l1; s2; a1) :=h1i(d1 ^ N6(t1; la1; l1; s2; a1; d1) ^ :h2i&gt;)
N5(t1; la1; l1; s2; a2) :=h1i(d2 ^ N6(t1; la1; l1; s2; a2; d2) ^ :h2i&gt;)
N5(t1; la2; l2; s3; a1) :=h1i(d1 ^ N6(t1; la3; l2; s3; a1; d1) ^ :h2i&gt;)
N5(t1; la2; l2; s3; a2) :=h1i(d2 ^ N6(t1; la3; l2; s3; a2; d2) ^ :h2i&gt;)
N5(t1; la2; l2; s4; a1) :=h1i(d1 ^ N6(t1; la2; l2; s4; a1; d1) ^ :h2i&gt;)
N5(t1; la2; l2; s4; a2) :=h1i(d2 ^ N6(t1; la2; l2; s4; a2; d2) ^ :h2i&gt;)
N5(t2; la3; l1; s1; a1) :=h1i(d1 ^ N6(t2; la3; l1; s1; a1; d1) ^ :h2i&gt;)
N5(t2; la3; l1; s1; a2) :=h1i(d2 ^ N6(t2; la3; l1; s1; a2; d2) ^ :h2i&gt;)
N5(t2; la3; l1; s2; a1) :=h1i(d1 ^ N6(t2; la3; l1; s2; a1; d1) ^ :h2i&gt;)
N5(t2; la3; l1; s2; a2) :=h1i(d2 ^ N6(t2; la3; l1; s2; a2; d2) ^ :h2i&gt;)
N5(t2; la4; l2; s3; a1) :=h1i(d1 ^ N6(t2; la4; l2; s3; a1; d1) ^ :h2i&gt;)
N5(t2; la4; l2; s3; a2) :=h1i(d2 ^ N6(t2; la4; l2; s3; a2; d2) ^ :h2i&gt;)
N5(t2; la4; l2; s4; a1) :=h1i(d1 ^ N6(t2; la4; l2; s4; a1; d1) ^ :h2i&gt;)
N5(t2; la4; l2; s4; a2) :=h1i(d2 ^ N6(t2; la4; l2; s4; a2; d2) ^ :h2i&gt;)</p>
      <p>The last level of the model corresponds to the system intervention available
at each student disengagement scenario.</p>
      <p>N6(t1; la1; l1; s1; a1; d1) :=h1i(i1 ^ :h2i&gt;)
N6(t1; la1; l1; s1; a2; d2) :=h1i(i2 ^ :h2i&gt;)
N6(t1; la1; l1; s2; a1; d1) :=h1i(i1 ^ :h2i&gt;)
N6(t1; la1; l1; s2; a2; d2) :=h1i(i2 ^ :h2i&gt;)
N6(t1; la2; l2; s3; a1; d1) :=h1i(i3 ^ :h2i&gt;)
N6(t1; la2; l2; s3; a2; d2) :=h1i(i3 ^ :h2i&gt;)
N6(t1; la2; l2; s4; a1; d1) :=h1i(i4 ^ :h2i&gt;)
N6(t1; la2; l2; s4; a2; d2) :=h1i(i4 ^ :h2i&gt;)
N6(t2; la3; l1; s1; a1; d1) :=h1i(i5 ^ :h2i&gt;)
N6(t2; la3; l1; s1; a2; d2) :=h1i(i5 ^ :h2i&gt;)
N6(t2; la3; l1; s2; a1; d1) :=h1i(i5 ^ :h2i&gt;)
N6(t2; la3; l1; s2; a2; d2) :=h1i(i5 ^ :h2i&gt;)
N6(t2; la4; l2; s3; a1; d1) :=h1i(i6 ^ :h2i&gt;)
N6(t2; la4; l2; s3; a2; d2) :=h1i(i6 ^ :h2i&gt;)
N6(t2; la4; l2; s4; a1; d1) :=h1i(i6 ^ :h2i&gt;)</p>
      <p>N6(t2; la4; l2; s4; a2; d2) :=h1i(i6 ^ :h2i&gt;)</p>
      <p>Time constraints consist in forbidding the occurrence of a system engagement
intervention in consecutive time lapses. This can be modeled with a xed point
operators. More precisely, given a system input (Sch; IL; IA; ID; SD; LD), we
de ned the time constraints formula as follows:</p>
      <p>k3 k6
NRT :=h1i T:(( ^ _ :FL(ij; sh) _ h2i:FL(ij; sh) ^ h2iT ) _ : h2i &gt;)
h=1 j=1
FL(i; s) :=h1i L:(FS(i; s) _ h2iL)
FS(i; s) :=h1i S:((s ^ FA(i)) _ h2iS)</p>
      <p>FA(i) :=h1i A:((h1iFD(i)) _ h2i A)</p>
      <p>FD(i) :=h1ii
where k3 is the number of students and k6 is the number of interventions.</p>
      <p>Considering again the consistency model corresponding to the system de ned
in Example 1. We then de ne the time constraints formula as follows:
NRT :=h1i T:((FST1 ^ FST2 ^ FST3 ^ FST4 _ h2iT ) _ :h2i&gt;)
where</p>
      <p>FST1 :=(:FL(i1; s1) _ h2i:FL(i1; s1)) ^ (:FL(i2; s1) _ h2i:FL(i2; s1))^
(:FL(i3; s1) _ h2i:FL(i3; s1)) ^ (:FL(i4; s1) _ h2i:FL(i4; s1))^
(:FL(i5; s1) _ h2i:FL(i5; s1)) ^ (:FL(i6; s1) _ h2i:FL(i6; s1))
FST2 :=(:FL(i1; s2) _ h2i:FL(i1; s2)) ^ (:FL(i2; s2) _ h2i:FL(i2; s2))^
(:FL(i3; s2) _ h2i:FL(i3; s2)) ^ (:FL(i4; s2) _ h2i:FL(i4; s2))^
(:FL(i5; s2) _ h2i:FL(i5; s2)) ^ (:FL(i6; s2) _ h2i:FL(i6; s2))
FST3 :=(:FL(i1; s3) _ h2i:FL(i1; s3)) ^ (:FL(i2; s3) _ h2i:FL(i2; s3))^
(:FL(i3; s3) _ h2i:FL(i3; s3)) ^ (:FL(i4; s3) _ h2i:FL(i4; s3))^
(:FL(i5; s3) _ h2i:FL(i5; s3)) ^ (:FL(i6; s3) _ h2i:FL(i6; s3))
FST4 :=(:FL(i1; s4) _ h2i:FL(i1; s4)) ^ (:FL(i2; s4) _ h2i:FL(i2; s4))^
(:FL(i3; s4) _ h2i:FL(i3; s4)) ^ (:FL(i4; s4) _ h2i:FL(i4; s4))^
(:FL(i5; s4) _ h2i:FL(i5; s4)) ^ (:FL(i6; s4) _ h2i:FL(i6; s4))</p>
      <p>The main result of this work is then the correspondence of the existence
of a tree-shaped model for the the consistency and time constraints -calculus
formulas, and the consistency of attention aware systems.</p>
      <p>Theorem 1. Given a system input (Sch; IL; IA; ID; SD; LD), the system is
consistent, if and only if, [[N1 ^ NRT ]]VCM 6= ;, for any valuation V . Furthermore,
deciding system consistency is in EXPTIME.</p>
      <p>
        The proof goes by induction on the size of the system. From earlier complexity
results [
        <xref ref-type="bibr" rid="ref4 ref8">4,8</xref>
        ], we can in addition characterize the complexity of this consistency
problem.
5
      </p>
    </sec>
    <sec id="sec-5">
      <title>Conclusions</title>
      <p>
        In this paper, we described a consistency checking algorithm for attention aware
systems. These systems are required to realize human perceptual and cognitives
abilities, and to react in order to provide a better interaction experience. A
consistency behavior of these systems implies the system is capable to react as
it is supposed to, in any possible context scenario. We formalized this notion of
consistency in terms of the satis ability of a -calculus formula. There is a model
satisfying the formula, if and only if, the attention aware system is consistent.
According to the known complexity of -calculus satis ability and the succinct
encoding of system consistency provided in this paper, we also conclude the
consistency problem of attention aware systems is en EXPTIME. Currently, we
are developing -calculus satis ability algorithms as in [
        <xref ref-type="bibr" rid="ref7">7</xref>
        ], in order to provide
practical consistency checking algorithms for attention aware systems. We are
also interested in extensions of the -calculus, as with arithmetic operators [
        <xref ref-type="bibr" rid="ref2">2</xref>
        ],
in order to model more complex constraints in attention aware systems.
      </p>
    </sec>
  </body>
  <back>
    <ref-list>
      <ref id="ref1">
        <mixed-citation>
          1.
          <string-name>
            <surname>Aguilar</surname>
            ,
            <given-names>J.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Jerez</surname>
            ,
            <given-names>M.</given-names>
          </string-name>
          , Rodr guez, T.:
          <article-title>Cameonto: Context awareness meta ontology modeling</article-title>
          .
          <source>Applied Computing and Informatics</source>
          <volume>14</volume>
          (
          <issue>2</issue>
          ),
          <volume>202</volume>
          {
          <fpage>213</fpage>
          (
          <year>2018</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref2">
        <mixed-citation>
          2.
          <string-name>
            <surname>Barcenas</surname>
            ,
            <given-names>E.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Ben</surname>
            tez-Guerrero,
            <given-names>E.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Lavalle</surname>
          </string-name>
          , J.:
          <article-title>On the model checking of the graded -calculus on trees</article-title>
          . In: Sidorov,
          <string-name>
            <given-names>G.</given-names>
            ,
            <surname>Galicia-Haro</surname>
          </string-name>
          ,
          <string-name>
            <surname>S.N</surname>
          </string-name>
          . (eds.)
          <source>Advances in Arti cial Intelligence and Soft Computing - 14th Mexican International Conference on Arti cial Intelligence</source>
          ,
          <source>MICAI. Lecture Notes in Computer Science</source>
          , vol.
          <volume>9413</volume>
          , pp.
          <volume>178</volume>
          {
          <fpage>189</fpage>
          . Springer (
          <year>2015</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref3">
        <mixed-citation>
          3.
          <string-name>
            <surname>Bettini</surname>
            ,
            <given-names>C.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Brdiczka</surname>
            ,
            <given-names>O.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Henricksen</surname>
            ,
            <given-names>K.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Indulska</surname>
            ,
            <given-names>J.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Nicklas</surname>
            ,
            <given-names>D.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Ranganathan</surname>
            ,
            <given-names>A.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Riboni</surname>
            ,
            <given-names>D.:</given-names>
          </string-name>
          <article-title>A survey of context modelling and reasoning techniques</article-title>
          .
          <source>Pervasive and Mobile Computing</source>
          <volume>6</volume>
          (
          <issue>2</issue>
          ),
          <volume>161</volume>
          {
          <fpage>180</fpage>
          (
          <year>2010</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref4">
        <mixed-citation>
          4.
          <string-name>
            <surname>Bonatti</surname>
            ,
            <given-names>P.A.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Lutz</surname>
            ,
            <given-names>C.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Murano</surname>
            ,
            <given-names>A.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Vardi</surname>
          </string-name>
          , M.Y.:
          <article-title>The complexity of enriched mu-calculi</article-title>
          .
          <source>Logical Methods in Computer Science</source>
          <volume>4</volume>
          (
          <issue>3</issue>
          ) (
          <year>2008</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref5">
        <mixed-citation>
          5.
          <string-name>
            <surname>Gros</surname>
            ,
            <given-names>B.</given-names>
          </string-name>
          :
          <article-title>The design of smart educational environments</article-title>
          .
          <source>Smart Learn. Environ</source>
          .
          <volume>3</volume>
          (
          <issue>1</issue>
          ),
          <volume>15</volume>
          (
          <year>2016</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref6">
        <mixed-citation>
          6.
          <string-name>
            <surname>Korozi</surname>
            ,
            <given-names>M.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Leonidis</surname>
            ,
            <given-names>A.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Antona</surname>
            ,
            <given-names>M.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Stephanidis</surname>
            ,
            <given-names>C.</given-names>
          </string-name>
          :
          <article-title>LECTOR: towards reengaging students in the educational process inside smart classrooms</article-title>
          . In: Horain,
          <string-name>
            <given-names>P.</given-names>
            ,
            <surname>Achard</surname>
          </string-name>
          ,
          <string-name>
            <given-names>C.</given-names>
            ,
            <surname>Mallem</surname>
          </string-name>
          , M. (eds.) Intelligent Human Computer Interaction - 9th
          <source>International Conference, IHCI, Proceedings. Lecture Notes in Computer Science</source>
          , vol.
          <volume>10688</volume>
          , pp.
          <volume>137</volume>
          {
          <fpage>149</fpage>
          . Springer (
          <year>2017</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref7">
        <mixed-citation>
          7.
          <string-name>
            <surname>Limon</surname>
            ,
            <given-names>Y.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Barcenas</surname>
            ,
            <given-names>E.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Ben</surname>
            tez-Guerrero,
            <given-names>E.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Medina</surname>
            ,
            <given-names>M.A.</given-names>
          </string-name>
          :
          <article-title>Depth- rst reasoning on trees</article-title>
          .
          <source>Computacion y Sistemas</source>
          <volume>22</volume>
          (
          <issue>1</issue>
          ) (
          <year>2018</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref8">
        <mixed-citation>
          8.
          <string-name>
            <surname>Limon</surname>
            ,
            <given-names>Y.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Barcenas</surname>
            ,
            <given-names>E.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Ben</surname>
            tez-Guerrero,
            <given-names>E.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Molero</surname>
          </string-name>
          , G.:
          <article-title>On the consistency of context-aware systems</article-title>
          .
          <source>Journal of Intelligent and Fuzzy Systems</source>
          <volume>34</volume>
          (
          <issue>5</issue>
          ),
          <volume>3373</volume>
          {
          <fpage>3383</fpage>
          (
          <year>2018</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref9">
        <mixed-citation>
          9.
          <string-name>
            <surname>Ram</surname>
            rez-Rueda,
            <given-names>R.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Barcenas</surname>
            ,
            <given-names>E.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Mezura-Godoy</surname>
            ,
            <given-names>C.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Molero-Castillo</surname>
            ,
            <given-names>G.</given-names>
          </string-name>
          :
          <article-title>Expressive context modeling with description logics</article-title>
          . In:
          <string-name>
            <surname>Villazon-Terrazas</surname>
            ,
            <given-names>B.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>HidalgoDelgado</surname>
          </string-name>
          , Y. (eds.)
          <source>Knowledge Graphs and Semantic Web - First Iberoamerican Conference, KGSWC. Communications in Computer and Information Science</source>
          , vol.
          <volume>1029</volume>
          , pp.
          <volume>174</volume>
          {
          <fpage>185</fpage>
          . Springer (
          <year>2019</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref10">
        <mixed-citation>
          10.
          <string-name>
            <surname>Riboni</surname>
            ,
            <given-names>D.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Bettini</surname>
            ,
            <given-names>C.</given-names>
          </string-name>
          :
          <article-title>OWL 2 modeling and reasoning with complex human activities</article-title>
          .
          <source>Pervasive and Mobile Computing</source>
          <volume>7</volume>
          (
          <issue>3</issue>
          ),
          <volume>379</volume>
          {
          <fpage>395</fpage>
          (
          <year>2011</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref11">
        <mixed-citation>
          11.
          <string-name>
            <surname>Roda</surname>
            ,
            <given-names>C.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Thomas</surname>
            ,
            <given-names>J.</given-names>
          </string-name>
          :
          <article-title>Attention aware systems: Theories, applications</article-title>
          , and research agenda.
          <source>Computers in Human Behavior</source>
          <volume>22</volume>
          (
          <issue>4</issue>
          ),
          <volume>557</volume>
          {
          <fpage>587</fpage>
          (
          <year>2006</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref12">
        <mixed-citation>
          12.
          <string-name>
            <surname>Rodriguez</surname>
            ,
            <given-names>A.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Barcenas</surname>
            ,
            <given-names>E.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Molero-Castillo</surname>
            ,
            <given-names>G.</given-names>
          </string-name>
          :
          <article-title>Model checking for gaze pattern recognition</article-title>
          . In: International Conference on Electronics,
          <source>Communications and Computers</source>
          , CONIELECOMP. pp.
          <volume>170</volume>
          {
          <fpage>175</fpage>
          .
          <string-name>
            <surname>IEEE</surname>
          </string-name>
          (
          <year>2019</year>
          )
        </mixed-citation>
      </ref>
    </ref-list>
  </back>
</article>