MODELER
Σ
GENERATOR
PROVER
Q
Y/N
Contr.
W
L
L
Figure 3: Deduction system.
formulas. The sketch of the generating algorithm is
the following:
1. at the beginning, the logical specification is
empty, i.e. L =
/
0;
2. the most nested pattern or patterns are processed
first, then the least nested patterns are processed
one by one, i.e. patterns that are located more to-
wards the outside;
3. if the currently analyzed pattern consists only of
atomic formulas, the logical specification is ex-
tended, by summing sets and by formulas linked
to the type of the analyzed pattern pat(), i.e. L =
L∪ pat();
4. if any argument is a pattern itself, then the logical
disjunction of all its arguments, including nested
arguments, is substituted in place of the pattern.
The above algorithm refers to similar ideas in
work (Klimek, 2012). Let us supplement the algo-
rithm with some examples. The example for the
step 3: Seq(p, q), givesL = {p ⇒ ♦q, ¬(p∧q)} and
Branch(a, b, c) gives L = {c(a) ⇒ ♦b∧¬♦c, ¬c(a) ⇒
¬♦b ∧ ♦c, ¬(a ∧ (b ∨ c))}. The example for the
step 4: Sequence(Branch(a, b, c), d) leads to L =
{c(a) ⇒ ♦b ∧ ¬♦c, ¬c(a) ⇒ ¬♦b ∧ ♦c, ¬(a ∧ (b ∨
c)), (a ∨ b∨ c) ⇒ ♦d, ¬((a∨ b ∨ c) ∧ d)}.
The last module is the Prover module that works
using the semantic tableaux method. The inputs for
the Prover are a logical specification L and a query Q
which is a simple temporal logic formula which ex-
presses the desired property of the preference model.
(This formula can be prepared using a simple text ed-
itor.) The Prover provides examination for two cases:
1. correctness of the model due to some properties,
i.e. the formal verification of the formula:
p
1
∧ . . . ∧ p
n
⇒ Q (1)
or
2. semantic contradiction, i.e. the formal analysis of
the formula:
p
1
∧ . . . ∧ p
n
(2)
In the case of correctness, the negation of the for-
mula 1 is placed in the root and the Yes/No output is
produced. In the case of contradiction, the formula 2
is placed in the root and the information about the se-
mantic contradiction is produced.
5 CONCLUSIONS
The work presents a new approach to the formal anal-
ysis of preference models using temporal logic and
the semantic tableaux method. Future work may in-
clude the implementation of the logical specification
generation module and a deduction engine. The ap-
proach should results in a CASE software providing
modeling preferences.
ACKNOWLEDGEMENTS
This work was supported by the AGH UST internal
grant no. 11.11.120.859.
REFERENCES
Chellas, B. F. (1980). Modal Logic. Cambridge University
Press.
d’Agostino, M., Gabbay, D., H¨ahnle, R., and Posegga, J.
(1999). Handbook of Tableau Methods. Kluwer Aca-
demic Publishers.
Fong, J., Indulska, J., and Robinson, R. (2011). A pref-
erence modelling approach to support intelligibility in
pervasive applications. In 8th IEEE Workshop on Con-
text Modeling and Reasoning (CoMoRea 2011), Seat-
tle, USA, 21–25 March 2011, pages 409–414. IEEE.
Klimek, R. (2012). Proposal to improve the requirements
process through formal verification using deductive
approach. In Filipe, J. and Maciaszek, L., editors,
Proceedings of 7th International Conference on Eval-
uation of Novel Approaches to Software Engineering
(ENASE 2012), 29-30 June, 2012, Wrocław, Poland
[extended version is to be published in Springer–
Verlag], pages 105–114. SciTePress.
¨
Ozt¨urk, M., Tsouki`as, A., and Vincke, P. (2005). Pref-
erence modelling. In Figueira, J., Greco, S., and
Ehrgott, M., editors, Multiple Criteria Decision Anal-
ysis: State of the Art Surveys, pages 27–72. Springer
Verlag, Boston, Dordrecht, London.
Wolter, F. and Wooldridge, M. (2011). Temporal and dy-
namic logic. Journal of Indian Council of Philosoph-
ical Research, XXVII(1):249–276.
PECCS2013-InternationalConferenceonPervasiveandEmbeddedComputingandCommunicationSystems
134