Rewriting Regular Inequalities (Extended Abstract)
Rewriting Regular Inequalities (Extended Abstract)
复制标题
DOI:
10.1007/3-540-60249-6_44
复制
发表时间:
1995-08
期刊:
影响因子:
--
通讯作者:
Valentin M. Antimirov
中科院分区:
文献类型:
--
作者:
Valentin M. Antimirov
In this paper we apply algebraic specification and term-rewriting methods to the containment problem in the algebra Reg [A] of regular events (languages) on a finite alphabet A formulated as follows: given two regular expressions r, t (on A), to check if the inequality r< t is valid in Reg [A]. Standard approaches to the problem are based on translation of the expressions r, t into deterministic finite automata (DFAs); in fact, one can also do with a non-determistic one (NFA) for r. The main peculiarity of our approach is that we avoid such a translation and develop a term-rewriting system (trs) to reduce r< t into a normal form; the latter is false whenever r< t is not valid in Reg'4]. This provides a purely algebraic (symbolic) decision procedure-both for the containment and word problems-that seems to be an interesting contribution per se. 2.Moreover, being extended with some new rewrite rules, our trs, in some cases provides derivations of polynomial size, while any algorithm based on translation of the expressions into DFAs gives rise to an exponential blow-up-we demonstrate this on examples. Of course, the worst-case complexity of our procedure is still exponential-this is not surprising, since the problem is PSPACE-complete [10, 8, 9]. At the end of the paper we provide a more general comparison of our solution with the standard ones by giving an automata-theoretic interpretation of the inference process implemented by our trs Some ideas of the present work come from [2]. We also employ a recently introduced technique of partial derivatives from [1].