Научная статья на тему 'Unification in linear modal logic on non-transitive time with the universal modality'

Unification in linear modal logic on non-transitive time with the universal modality Текст научной статьи по специальности «Математика»

CC BY
60
7
i Надоели баннеры? Вы всегда можете отключить рекламу.
Ключевые слова
ВРЕМЕННАЯ МОДАЛЬНАЯ ЛОГИКА / TEMPORAL MODAL LOGIC / НЕТРАНЗИТИВНЫЙ ФРЕЙМ КРИПКЕ / NON-TRANSITIVE KRIPKE FRAME / УНИФИКАЦИЯ / UNIFICATION / ГРАУНД-УНИФИКАТОР / GROUND UNIfiER / ПРОЕКТИВНЫЕ ФОРМУЛЫ / PROJECTIVE FORMULAS

Аннотация научной статьи по математике, автор научной работы — Bashmakov Stepan I.

We investigate the question of unification in the linear modal logic on non-transitive time with the universal modality. The semantic construction of logic on linear non-transitive Kripke frames is proposed, effective definability and projectivity of the unifiable formulas are proved. An algorithm for construction the most general unifier is found.

i Надоели баннеры? Вы всегда можете отключить рекламу.
iНе можете найти то, что вам нужно? Попробуйте сервис подбора литературы.
i Надоели баннеры? Вы всегда можете отключить рекламу.

Унификация в линейной модальной логике нетранзитивного времени с универсальной модальностью

Исследуется вопрос унификациивлинейной модальной логике нетранзитивного временисуниверсальной модальностью. Предлагается семантическое построение логики на линейных нетранзитивных фреймах Крипке,эффективная определимостьипроективность унифицируемых формул. Найден алгоритм построения наиболее общего унификатора.

Текст научной работы на тему «Unification in linear modal logic on non-transitive time with the universal modality»

УДК 510.643

Unification in Linear Modal Logic on Non-transitive Time with the Universal Modality

Stepan I. Bashmakov*

Institute of Mathematics and Computer Science, Siberian Federal University, Svobodny 79, Krasnoyarsk, 660041

Russia

Received 05.08.2017, received in revised form 10.09.2017, accepted 20.10.2017 We investigate the question of unification in the linear modal logic on non-transitive time with the universal modality. The semantic construction of logic on linear non-transitive Kripke frames is proposed, effective definability and projectivity of the unifiable formulas are proved. An algorithm for construction the most general unifier is found.

Keywords: temporal modal logic, non-transitive Kripke frame, unification, ground unifier, projective formulas.

DOI: 10.17516/1997-1397-2018-11-1-3-9.

Introduction

Modal logics play an important role in the design of systems that provide components of reasoning about the knowledge and time. Temporal logics actively develops the fields of mathematical logic, philosophy, computer science and artificial intelligence. The first study of temporal logics as modal systems was proposed by A. Prior [1], for the next half-century this area has become a complex technical discipline [2].

The idea of non-transitive time, in the aspect of knowledge, proceeds from the observation that the transfer of knowledge from the past to the future may not always be successfully performed: the available information in the past may not be available in the present. A detailed consideration of different points of view on non-transitive time and its expression by means of logical systems is considered in [3].

At the stage of its formation, the unification problem consisted in answering the question: is it possible to transform two terms into syntactically equivalent ones by changing variables to other terms. In the field of nonstandard logics this problem is equivalent to (and more often considered in the form of) possibility of a formula to become a theorem after replacing variables, preserving the values of the coefficient-parameters [4].

V.V. Rybakov solved this problem for modal S4, Grz and intuitionistic logics, [5], in [6] he proposed an approach to the definition of all non-unifiable formulas for the extensions of 54 and (K4+ [m± = ±j). Using this technique, the criteria of non-unifiability in linear transitive temporal logics of knowledge with multi-modal relations were found: over the N (LTK, [7]) and over the Z with alternative relations (LFPK, [8]).

* krauder@mail.ru © Siberian Federal University. All rights reserved

To study the unification S. Ghilardi proposed a new approach based on the projective formulas [9], which allowed to algorithmize the construction of a finite complete sets of unifiers for the series of logics, [10,11]. Based on this approach, W. Dzik and P. Wojtylak established a projective unification in the extensions of the logic S4.3 [12]. In [13-16] it was found that a solution of the admissibility problem follows from the existence of computable complete sets of unifiers, which significantly increased the importance of the approach to unification through the projec-tive formulas. In [17] V. V. Rybakov explored the modification of linear temporal logic LTL with the operator Until, for which the projective unification was established. From the projectivity of unification follows the existence of the most general unifier (mgu), but not vice versa. For example, in [18] the existence of mgu for each unified formula in LTL with the operators Next and Until is proved and counterexample is constructed: an unified, but not a projective formula. In [19] the projective unification is proved for LFPK, LFVKU+, LFVKU+'p.

The unification problem is reducible to the admissibility problem: the formula ^ is unifiable in the logic L if the inference rule ± is not admissible in L. In some cases, when logic has a finitary type of unification, the admissibility problem is also reducible to the problem of unification [20,21].

The approach based on the construction of a ground unifier (i.e., obtained by the substitution of constants) demonstrates wide applicability: both in a way of proving the unifiability of an arbitrary formula, and in constructing projective unifiers [17,19,22]. The idea of constructing a projective unifier using a ground one, however, is not universal and all-applicable: in [10] it was shown that not for every formula in Int a ground unifier gives a construction of a projective unifier, in [12] it was proved that for S4.3 the projective unifier can't be simply described on the basis of the ground one. Despite this, the use of ground unifiers in solving unification problems is stay appropriate even when logic has nullary (worst) type of unification and mgu for some formulas do not exist: the construction of the ground unifier remains possible.

Simultaneously with intensive studies of unification in transitive logics, analogous questions remain extremely poorly studied for non-transitive cases, where they appear to carry much greater complexity, and many methods and even definitions turns out to be inapplicable or require considerable modification. However, it would be unfair ignore the existence of works for logics with non-standard relations. For example, E. Jerabek proved the nullary type of unification in minimal normal logic K [23], and W. Dzik — the best — unitary type for S5 and its extensions [22]. F. Wolter and M. Zakharyaschev [24] proved the unsolvability of unification over the K with additional universal modality.

In this paper, we investigate linear modal logic based on non-transitive time with a universal modality. It is proved that unifiability of any formula in this logic can be effectively detemined and a ground unifier can be found, if one exists. The projective unification is established, which guarantees its unitary type [9] and (almost) structurally completeness [25] in this logic.

1. Definitions and semantics

We give some definitions and formulations, and also semantic construction of linear bimodal logic of non-transitive time with universal modality (in our notation ULITL).

The alphabet of the language Lult'tl includes a countable set of propositional variables P = [pi,... ,pn,... }, brackets (,), standard Boolean operations and two modal operators: nontransitive O and universal modalities.

Kripke frame (or scale) F is a pair (W,, R), where W is a nonempty set of elements, and R is

a binary relation on W. If for a,b € W is fulfilled aRb, then say a «sees» b. A frame F is said to be reflexive and transitive if its binary relation R is such kind. Let [p\,... ,pn} be the set of propositional variables. Valuation V on the frame F is a mapping associating with each variable Pi subset V(pi) C W. Kripke model M (or shortly model) is a triple (W,R,V), where (W,R) is a frame, and V is a valuation of propositional variables from the set Dom(V) = {pi,... ,pn} called sign domain V. Let the model M = (F, V) be given. Then Vw € F:

a. (F,w) llv p & w € V(p);

b. (F,w) llv y V V & [((F, w) llv y) V ((F, w) llv V)];

c. (F,w) llv y A V & [((F,w) llv y) A ((F, w) llv V)];

d. (F,w) llv -y & [ - ((F, w) llv y)];

e. (F,w) llv Oy & pv € F : (wRv) ^ ((F,v) llv y)];

f. (F,w) llv Uy & [Vv € F : (wRv) ^ ((F,v) llv y)].

For the logic L a frame F is called a L-frame or a frame that is adequate to the logic L, if for any formula a € L for any valuation V we have F llv L. The logic L defined by the frame F will be written as L(F).

In this paper we consider the Kripke frame F = (N, Nextinf), where N is the set of integers, and Nextinf is the binary relation «next natural number»: Va, b € N : aNextinf b & b = a +1. The model on the infinite frame F = (N, Nextinf) will be denoted as M = (F, V).

In accordance with the definition, the frame F is linear non-transitive with irreflexive points, therefore the truth values of the modality U on any such model M coincides with O.

In addition to the non-transitive modality O, the language of logic ULITL contains the modal operator , the truth values of formulas containing on M = (F,V) is given as follows:

Vx € F, (F, x) llv Uyy v [Vy € F, (F, y) llv y].

The modal operator Ou is expressed in terms of the pairwise by the ordinary way: Ouy := -Uu-y.

In other words, Uuy means that the formula y always and everywhere valid. In this case, Uu is called a universal modality, and logic ULITL containing Uu is called the linear bimodal logic based on non-transitive time with universal modality.

Definition 1. Logic ULITL is the set of all formulas of the language valid on the

frame F:

ULITL := {A € Fma(LUCXTC) | F € ULITL(F llv A)}.

2. Unification

The length l(a) of the formula a is defined as follows: l(p) = 0, where p is a proposition variable; l(a o ¡3) = l(a) + l(fi) + 1, where o € {V, A}; l(Oa) = l(a) + 1, where o € {-, O, Uu}. Before proceeding to the main results, we prove an auxiliary, almost obvious, fact.

Proposition 1. For all c1,... ,cr € {T, ±} and any formula 5(p1,... ,pr) there is c € {T, s.t. Vx € F, (F,x) ll S(c1,...,cr) = c.

Proof. We carry out the proof by induction on the length of the formula S. Let S = p, then as a result of the substitution we get S = T, so V(T) = F, or S = ±, which means V(±) = 0.

If S = ci V c2, where ci, c2 € {T, ±}, then S = max(ci, c2), if S = ci A ci, then S = min(ci, c2) and, by the inductive hypothesis, V(S) = F or V(S) = 0.

If 6 = —ci, where ci G [T, ±}, then 6 = T, if ci = or 6 = if ci = T and, again accordingly to the inductive hypothesis, V(6) = F or V(6) = 0.

Let 6 = Qci, where Q = [O, O^} and ci G [T, ±}. If ci = ± then, because of V(±) = 0, we get V(Q±) = 0. If ci = T then, because of V(T) = F, we also get V(QT) = F. □

Definition 2. A formula a(pi,... ,ps) is said to be unifiable in a logic L iff exists a substitution a : pi ^ ai for each pi, s.t. a(ai,... ,as) G L. In this case, this substitution a is called a unifier of the formula a.

A ground unifier is a unifier obtained by the substitution constants [T, ±} in place of the variables of the formula.

Earlier, in [26] we proved the criterion of non-unifiability for arbitrary L with expressible universal modality:

Theorem 1. A formula A is non-unifiable in L OyA ^ \fpeVar(A) OUp A OU —p G L.

Definition 3. A unifier a of the formula a(pi,... ,ps) is called more general than another a1 in L, if there exists a substitution a2, s.t. for any variable pi: ai(pi) = a2(a(pi)) G L.

A unifier a of the formula a(pi,... ,ps) is called a most general unifier (shortly mgu), if for any other a% unifier a is more general than a%.

A most general unifier can be interpreted as the best solution to the unification problem. Logic has a unitary type of unification, if for any unified formula there is a mgu; finitary (infinitary) type if there is a finite (respectively infinite) number of the best solutions (in this case, all of them are called a maximal unifiers). The worst type of unification is nullary type: some of the unifiable formulas do not have maximal unifiers, [23].

Definition 4. A formula a(pi,... ,ps) is said to be projective in logic ULITL, if there is a unifier t (which called projective unifier) for a formula a, s.t. OUa ^ [pi = t(pi)} G ULITL for any variable pi of the formula a.

For an arbitrary formula in the logic ULITL it is possible to establish its unifiability using only ground unifiers:

Theorem 2. Unifiability of an arbitrary formula ^(pi,... ,ps) in ULITL can be effectively established using the substitution a(p) of the following form: "ipi G Var(p) a(pi) G [T, ±}.

Proof. Lets show that to check unifiability of any given formula ^ it is enough to establish only the existence of the ground unifier gu := [T, ±}, obtained by substituting variables for constants.

Let a formula pi,... ,ps) be unified in ULITL and the set Si(qi,..., qr), ..., 6s(qi,... ,qr) is its unifier. Then

6(p) := ¥(6i(qi,...,qr),..., 6s(qi, ..., qr)) GULITL.

We replace the variables qi,...,qr by the constants ci G [T,±}(i G [1,r]) in an arbitrary way. Because of we are dealing with a valid formula in logic, as a result of substitution we again obtain valid formula:

¥>(6i(ci,..., cr),..., 6s(ci,..., cr)) G ULITL. Let us denote gu(pi) := 6i(ci,..., cr), then

<f(gu(pi),.. .,gu(ps)) G ULITL,

where each of gup) € {T, ±} is a constant. Therefore, gu(y) is a ground unifier, which existence for an arbitrary formula can be verified in ULITL as follows.

Due to the fact that gu(pi),..., gu(ps) in nothing more than a set of constants for which y is true, for an arbitrary (not necessarily unified) formula Vp,.. .,ps) it suffices to go through no more than 2s substitution options of {T, ±} instead of variables. If among them there is such that V(gup),..., gu(ps)) =ULttc T, it will mean that formula V is unifiable in ULITL and gu(V) € ULITL is its ground unifier. Otherwise, if for all 2s substitution options gu(pi),..., gu(ps), V(gu(pi),..., gu(ps)) € ULITL, then such formula V does not have a ground unifier, which means that it is non-unifiable in ULITL. □

Now we are ready to prove the main result of the article. Theorem 3. Any unifiable in ULITL formula is projective.

Proof. Assuming that y(pi,... ,ps) is unifiable in ULITL formula. For any variable pi € Var(y) we set the following substitution a(pi):

ap) := (Uuy A pi) V (-Uuy A gu(pi)),

where gu(pi),... ,gu(ps) is a ground unifier of the formula y(pi,... ,ps), obtained by the algorithm from the previous theorem.

Take any infinite model M := (F, V) with the arbitrary valuation V. If a is a unifier for y, then a(y) € ULITL h Vx € F (M, x) llv a(y). Let us prove that the substitution a is a unifier for y in the logic ULITL.

1. If Vx € F : (M,x) llv y, then (M,x) llv Uuy and hence the second disjunctive term is refuted at x. If (M, x) llv pi, then (M, x) llv UuyApi, hence (M, x) llv a(pi). If (M, x) llv -pi, then (M,x) Fv Uuy A pi and therefore (M,x) llv -a(pi). Since the truth value of the variable pi here depends on the given valuation V at which y is a true on the model M, consequently, the truth value of y(pi,... ,ps) at the point x w.r.t. V coincides with the value of y(a(pi),..., a(ps)) at the same point w.r.t. V and hence in this case (M,x) llv a(y).

2. If 3x € F : (M,x) llv -y, then (M,x) Fv Uuy, which is possible for the second disjunctive term, but the first one is immediately disproved at x. Then the truth values of all a(pi) at x coincide with gu(pi), and because (M,x) llv gu(y) (by virtue of the selection of the ground unifier gu(y) € ULITL), again (M, x) llv a(y). Hence, a(y) € ULITL for the unifiable in ULITL formula y.

Lets prove that a(y) is a projective unifier. If we substitute a(pi) into the definition of the projective formula, we obtain the following: Vpi € Var(y)

Uu y ^ (pi v [(Uu y A pi) V (-Uu y A gu(pi))]) €ULITL,

if a is a projective unifier for y. Assume the converse: let a be a not projective substitution. Then for some model M 3x € M

(M,x) llv Uuy, (1)

but

(M,x) Fv pi v [(Uuy A pi) V (-Uuy A gu(pi))]. (2)

In this case

(M,x) Fv pi ^ [(Uuy A pi) V (-Uuy A gu(pi))], (3)

or

(M,x) Fv [(Uuy A pi) V (-Uuy A gu(pi))] ^ pi. (4)

If (3), then (M,x) llv pi, but in this instance (M,x) llv Uuy Api, by virtue of (1) and pi at x, and therefore (M, x) llv pi ^ [(Uuy A pi) V (-Uuy A gu(pi))].

If (4), consequently (M,x) llV [(OUp Api) V (—OUp A gu(pi))}, but it is possible only with (M,x) llV pi, because (M,x) llV Oup following from (1), hence in the disjunction of a(pi) only first term can be fulfilled. Therefore the conclusion (4) is true and (M,x) llV [(Oup A pi) V (—Oup A gu(pi))} ^ pi. Hence, a is a projective unifier for p in logic ULITL, and therefore p is a projective formula.

By the theorem above, for any p unifiable in ULITL the substitution a is a projective unifier, and hence the most general one [9]. Besides, the existence of mgu for every unified formula implies the finiteness of all complete sets of unifiers in the logic, and all of them can be obtained from the given projective substitution a, and the logic ULITL has a unitary type of unification [9].

A remarkable consequence of the projective unification in the logic ULITL is also its almost structurally completeness [25]: each admissible rule in ULITL is derivable.

References

A.Prior, Time and Modality, Oxford University Press, 1957.

D.M.Gabbay, I.M.Hodkinson, M.A.Reynolds, Temporal Logic: Mathematical Foundations and Computational Aspects, Clarendon Press, Oxford, vol. 1, 1994.

V.Rybakov, Intransitive Linear Temporal Logic, Knowledge from Past, Decidability, Admissible Rules, CoRR, 2015, http://arxiv.org/abs/1503.08761.

S.P.Odintsov, V.V.Rybakov, Unification Problem in Nelson's Logic N4, Sib. Electronic Math. Reports, 11(2014), 434-443.

V.V.Rybakov, Admissible Logical Inference Rules. Series: Studies in Logic and the Foundations of Mathematics, Elsevier Sci. Publ., North-Holland, vol. 136, 1997.

V.V.Rybakov, M.Terziler, C. Gencer, An essay on unification and inference rules for modal logics, Bulletin of the Section of Logic, 28(1999), no. 3, 145-157.

S.I.Bashmakov, Unification and inference rules in the multi-modal logic of knowledge and linear time LTK, Journal of SibFU. Mathematics and Physics, 9(2016), no. 2, 149-157.

S.I.Bashmakov, A.V. Kosheleva, V. Rybakov, Non-unifiability in linear temporal logic of knowledge with multi-agent relations, Sib. Electronic Math. Reports, 13(2016), 923-929.

S.Ghilardi, Unification Through Projectivity, J. Logic Comput., 7(1997), no. 6, 733-752.

10] S.Ghilardi, Unification in Intuitionistic logic, J. Symbolic Logic, 64(1999), no. 2, 859-880.

11] S.Ghilardi, L.Sacchetti, Filtering Unification and Most General Unifiers in Modal Logic, J. Symbolic Logic, 69(2004), no. 3, 879-906.

12] W.Dzik, P.Wojtylak, Projective unification in modal logic, Logic J. IGPL, 20(2012), no. 1, 121-153.

13] E.Jerabek, Admissible rules of modal logics, J. Logic Comput., 15(2005), 411-431.

iНе можете найти то, что вам нужно? Попробуйте сервис подбора литературы.

14] E.Jerabek, Independent bases of admissible rules, Logic J. IGPL, 16(2008), 249-267.

3

4

5

6

7

8

15] R.Iemhoff, G.Metcalfe, Proof theory for admissible rules, Annals of Pure and Applied Logic, 159(2009), 171-186.

16] R.Iemhoff, On the admissible rules of intuitionistic propositional logic, J. Symbolic Logic, 66(2001), 281-294.

17] V.V.Rybakov, Projective formulas and unification in linear temporal logic LTLU, Logic J. IGPL, 22(2014), no. 4, 665-672.

18] S.Babenyshev, V. Rybakov, Unification in linear temporal logic LTL, Annals of Pure and Applied Logic, 162(2011), 991-1000.

19] S.I.Bashmakov, A.V. Kosheleva, V. Rybakov, Projective formulas and unification in linear discrete temporal multi-agent logics, Sib. Electronic Math. Reports, 13(2016), 923-929.

20] F.Baader, S.Ghilardi, Unification in modal and description logics, Logic J. IGPL, 19(2011), 705-730.

21] F. Baader, W. Snyder, Unification theory, in: A. Robinson, A. Voronkov (Eds.), Handbook of Automated Reasoning, vol. I, Elsevier, 2001, 445-533.

22] W.Dzik, Unitary Unification of S5 Modal Logic and its Extensions, Bull. Section of Logic, 32(2003), no. 1-2, 19-26.

23] E.Jerabek, Blending margins: the modal logic K has nullary unification type, J. Logic Comput, 25(2015), 1231-1240.

24] F.Wolter, M.Zakharyaschev, Undecidability of the unification and admissibility problems for modal and description logics, ACM Transactions on Comput. Logic, 9(2008), no. 4, article no. 25.

25] W.A.Pogorzelski, P.Wojtylak, Completeness theory for propositional logics, Birkhauser Basel, 2008.

26] S.I.Bashmakov, A.V.Kosheleva, V.Rybakov, Unification for multi-agent temporal logics with universal modality, J. of Logics and their Application, 4(2017), no. 4, 939-954.

Унификация в линейной модальной логике нетранзитивного времени с универсальной модальностью

Степан И. Башмаков

Институт математики и фундаментальной информатики Сибирский федеральный университет Свободный, 79, Красноярск, 660041

Россия

Исследуется вопрос унификации в линейной модальной логике нетранзитивного времени с универсальной модальностью. Предлагается семантическое построение логики на линейных нетранзитивных фреймах Крипке, эффективная определимость и проективность унифицируемых формул. Найден алгоритм построения наиболее общего унификатора.

Ключевые слова: временная модальная логика, нетранзитивный фрейм Крипке, унификация, граунд-унификатор, проективные формулы.

i Надоели баннеры? Вы всегда можете отключить рекламу.