Cargando…

Regular expression order-sorted unification and matching

We extend order-sorted unification by permitting regular expression sorts for variables and in the domains of function symbols. The obtained signature corresponds to a finite bottom-up unranked tree automaton. We prove that regular expression order-sorted (REOS) unification is of type infinitary and...

Descripción completa

Detalles Bibliográficos
Autores principales: Kutsia, Temur, Marin, Mircea
Formato: Online Artículo Texto
Lenguaje:English
Publicado: Elsevier Limited 2015
Materias:
Acceso en línea:https://www.ncbi.nlm.nih.gov/pmc/articles/PMC4599633/
https://www.ncbi.nlm.nih.gov/pubmed/26523088
http://dx.doi.org/10.1016/j.jsc.2014.08.002
_version_ 1782394290018713600
author Kutsia, Temur
Marin, Mircea
author_facet Kutsia, Temur
Marin, Mircea
author_sort Kutsia, Temur
collection PubMed
description We extend order-sorted unification by permitting regular expression sorts for variables and in the domains of function symbols. The obtained signature corresponds to a finite bottom-up unranked tree automaton. We prove that regular expression order-sorted (REOS) unification is of type infinitary and decidable. The unification problem presented by us generalizes some known problems, such as, e.g., order-sorted unification for ranked terms, sequence unification, and word unification with regular constraints. Decidability of REOS unification implies that sequence unification with regular hedge language constraints is decidable, generalizing the decidability result of word unification with regular constraints to terms. A sort weakening algorithm helps to construct a minimal complete set of REOS unifiers from the solutions of sequence unification problems. Moreover, we design a complete algorithm for REOS matching, and show that this problem is NP-complete and the corresponding counting problem is #P-complete.
format Online
Article
Text
id pubmed-4599633
institution National Center for Biotechnology Information
language English
publishDate 2015
publisher Elsevier Limited
record_format MEDLINE/PubMed
spelling pubmed-45996332015-10-29 Regular expression order-sorted unification and matching Kutsia, Temur Marin, Mircea J Symb Comput Article We extend order-sorted unification by permitting regular expression sorts for variables and in the domains of function symbols. The obtained signature corresponds to a finite bottom-up unranked tree automaton. We prove that regular expression order-sorted (REOS) unification is of type infinitary and decidable. The unification problem presented by us generalizes some known problems, such as, e.g., order-sorted unification for ranked terms, sequence unification, and word unification with regular constraints. Decidability of REOS unification implies that sequence unification with regular hedge language constraints is decidable, generalizing the decidability result of word unification with regular constraints to terms. A sort weakening algorithm helps to construct a minimal complete set of REOS unifiers from the solutions of sequence unification problems. Moreover, we design a complete algorithm for REOS matching, and show that this problem is NP-complete and the corresponding counting problem is #P-complete. Elsevier Limited 2015-03 /pmc/articles/PMC4599633/ /pubmed/26523088 http://dx.doi.org/10.1016/j.jsc.2014.08.002 Text en © 2014 The Authors http://creativecommons.org/licenses/by-nc-nd/3.0/ This is an open access article under the CC BY-NC-ND license (http://creativecommons.org/licenses/by-nc-nd/3.0/).
spellingShingle Article
Kutsia, Temur
Marin, Mircea
Regular expression order-sorted unification and matching
title Regular expression order-sorted unification and matching
title_full Regular expression order-sorted unification and matching
title_fullStr Regular expression order-sorted unification and matching
title_full_unstemmed Regular expression order-sorted unification and matching
title_short Regular expression order-sorted unification and matching
title_sort regular expression order-sorted unification and matching
topic Article
url https://www.ncbi.nlm.nih.gov/pmc/articles/PMC4599633/
https://www.ncbi.nlm.nih.gov/pubmed/26523088
http://dx.doi.org/10.1016/j.jsc.2014.08.002
work_keys_str_mv AT kutsiatemur regularexpressionordersortedunificationandmatching
AT marinmircea regularexpressionordersortedunificationandmatching