On Transforming Narrowing Trees into Regular Tree Grammars Generating Ranges of Substitutions
The grammar representation of a narrowing tree for a syntactically deterministic conditional term rewriting system and a pair of terms is a regular tree grammar that generates expressions for substitutions obtained by all possible innermost-narrowing derivations that start with the pair and end with...
Main Authors: | , |
---|---|
Format: | Article |
Language: | English |
Published: |
Open Publishing Association
2019-02-01
|
Series: | Electronic Proceedings in Theoretical Computer Science |
Online Access: | http://arxiv.org/pdf/1902.08423v1 |
id |
doaj-4e533d7e6e6e446a8c95170786313e8b |
---|---|
record_format |
Article |
spelling |
doaj-4e533d7e6e6e446a8c95170786313e8b2020-11-25T01:49:22ZengOpen Publishing AssociationElectronic Proceedings in Theoretical Computer Science2075-21802019-02-01289Proc. WPTE 2018688710.4204/EPTCS.289.5:1On Transforming Narrowing Trees into Regular Tree Grammars Generating Ranges of SubstitutionsNaoki Nishida0Yuya Maeda1 Nagoya University Nagoya University The grammar representation of a narrowing tree for a syntactically deterministic conditional term rewriting system and a pair of terms is a regular tree grammar that generates expressions for substitutions obtained by all possible innermost-narrowing derivations that start with the pair and end with particular non-narrowable terms. In this paper, under a certain syntactic condition, we show a transformation of the grammar representation of a narrowing tree into another regular tree grammar that overapproximately generates the ranges of ground substitutions generated by the grammar representation. In our previous work, such a transformation is restricted to the ranges w.r.t. a given single variable, and thus, the usefulness is limited. We extend the previous transformation by representing the range of a ground substitution as a tuple of terms, which is obtained by the coding for finite trees. We show a precise definition of the transformation and prove that the language of the transformed regular tree grammar is an overapproximation of the ranges of ground substitutions generated by the grammar representation. We leave an experiment to evaluate the usefulness of the transformation as future work.http://arxiv.org/pdf/1902.08423v1 |
collection |
DOAJ |
language |
English |
format |
Article |
sources |
DOAJ |
author |
Naoki Nishida Yuya Maeda |
spellingShingle |
Naoki Nishida Yuya Maeda On Transforming Narrowing Trees into Regular Tree Grammars Generating Ranges of Substitutions Electronic Proceedings in Theoretical Computer Science |
author_facet |
Naoki Nishida Yuya Maeda |
author_sort |
Naoki Nishida |
title |
On Transforming Narrowing Trees into Regular Tree Grammars Generating Ranges of Substitutions |
title_short |
On Transforming Narrowing Trees into Regular Tree Grammars Generating Ranges of Substitutions |
title_full |
On Transforming Narrowing Trees into Regular Tree Grammars Generating Ranges of Substitutions |
title_fullStr |
On Transforming Narrowing Trees into Regular Tree Grammars Generating Ranges of Substitutions |
title_full_unstemmed |
On Transforming Narrowing Trees into Regular Tree Grammars Generating Ranges of Substitutions |
title_sort |
on transforming narrowing trees into regular tree grammars generating ranges of substitutions |
publisher |
Open Publishing Association |
series |
Electronic Proceedings in Theoretical Computer Science |
issn |
2075-2180 |
publishDate |
2019-02-01 |
description |
The grammar representation of a narrowing tree for a syntactically deterministic conditional term rewriting system and a pair of terms is a regular tree grammar that generates expressions for substitutions obtained by all possible innermost-narrowing derivations that start with the pair and end with particular non-narrowable terms. In this paper, under a certain syntactic condition, we show a transformation of the grammar representation of a narrowing tree into another regular tree grammar that overapproximately generates the ranges of ground substitutions generated by the grammar representation. In our previous work, such a transformation is restricted to the ranges w.r.t. a given single variable, and thus, the usefulness is limited. We extend the previous transformation by representing the range of a ground substitution as a tuple of terms, which is obtained by the coding for finite trees. We show a precise definition of the transformation and prove that the language of the transformed regular tree grammar is an overapproximation of the ranges of ground substitutions generated by the grammar representation. We leave an experiment to evaluate the usefulness of the transformation as future work. |
url |
http://arxiv.org/pdf/1902.08423v1 |
work_keys_str_mv |
AT naokinishida ontransformingnarrowingtreesintoregulartreegrammarsgeneratingrangesofsubstitutions AT yuyamaeda ontransformingnarrowingtreesintoregulartreegrammarsgeneratingrangesofsubstitutions |
_version_ |
1725006992081158144 |