Weighted Regular Tree Grammars with Storage
Zolt\'an F\"ul\"op, Luisa Herrmann, Heiko Vogler

TL;DR
This paper introduces weighted regular tree grammars with storage, combining concepts from regular tree grammars, storage, and weighted automata, and explores their properties, logical characterizations, and simplifications.
Contribution
It presents a novel framework for weighted regular tree grammars with storage, including their characterization, support generation, and logical description.
Findings
Support of weighted tree languages can be generated by unweighted grammars.
Weighted tree languages are characterized by a composition of basic concepts.
Results on elimination of chain rules and finite storage types.
Abstract
We introduce weighted regular tree grammars with storage as combination of (a) regular tree grammars with storage and (b) weighted tree automata over multioperator monoids. Each weighted regular tree grammar with storage generates a weighted tree language, which is a mapping from the set of trees to the multioperator monoid. We prove that, for multioperator monoids canonically associated to particular strong bi-monoids, the support of the generated weighted tree languages can be generated by (unweighted) regular tree grammars with storage. We characterize the class of all generated weighted tree languages by the composition of three basic concepts. Moreover, we prove results on the elimination of chain rules and of finite storage types, and we characterize weighted regular tree grammars with storage by a new weighted MSO-logic.
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Weighted Regular Tree Grammars with Storage (Errata)
Zoltán Fülöp1 Supported by the NKFI grant no K 108448
Luisa Herrmann2 Supported by DFG Graduiertenkolleg 1763 (QuantLA)
Heiko Vogler2
1Department of Foundations of Computer Science
University of Szeged
2Faculty of Computer Science
Technische Universität Dresden
This is an errata to the paper published in Discrete Mathematics and Theoretical Computer Science DMTCS vol. 20:1, #26 [FHV18]. We detected mistakes in the statement and the proof of Lemma 3.2. Here we wish to correct both. As we used Lemma 3.2 in the proof of Theorem 4.4 and Theorem 6.1, we also show how their proof must be modified. Moreover, we detected a flaw in the statement of Theorem 5.7 and give here a correct version.
Lemma 3.2**.**
Let be an -rtg. If and , then there is an -rtg such that and has exactly one initial nonterminal.
Proof.
Let be an -rtg. If contains exactly one element, then we let . Otherwise, we construct by letting , where is a new symbol. The set contains the following rules.
- •
For each , the rule is in with .
- •
Each rule is in with .
It is clear that,
[TABLE]
We can prove that as follows. Let . Then
[TABLE]
Theorem 4.4**.**
Let be a complete zero-sum free and commutative strong bimonoid and be the M-monoid associated with .
(a) For every -rtg , there is an -rtg such that . (b) Moreover, if has a decidable ZGP, then can be constructed effectively. 2. 2.
Assume that . If there is an effective construction of a -rtg which generates from any given -rtg , then has a decidable ZGP.
Proof.
Modify the proof of [FHV18, Thm. 4.4] as follows.
- •
Drop the sentence “By Lemma 3.2 we may assume that .”.
- •
Replace “” by
“”.
- •
Replace the last paragraph of the proof of by
“Now let . Then there is some and a derivation tree such that . By Statement (*) there are and such that . Since , also (by Lemma 4.2). Thus, and is in .”.
- •
Replace the third paragraph of the proof of by
“Now let . Then there is a derivation tree for some and with . By Statement (**) there are and such that and . Since also (by Lemma 4.2). Thus, since is zero-sum free, is in .”.
∎
Theorem 5.7**.**
For every the following two statements are equivalent:
- (i)
is -regular.
- (ii)
for some
- –
finite sets , , ranked alphabet corresponding to , , and ,
- –
ranked alphabet , unambiguous and chain-free -rtg , and
- –
alphabetic mapping such that .
Proof.
In the proof of [FHV18, Thm. 5.7] replace “” by “ and ”. ∎
Theorem 6.1**.**
where ranges over the set of all storage types.
Proof.
Let . The tree language
[TABLE]
is in , because it can be generated by the -grammar which we obtain from of Example 3.1 by dropping its weight structure and weight function (cf. [Gue83]).
On the other hand, we can show by contradiction that for any storage type . For this, we assume that there is a storage type and a chain-free -rtg such that . Since is chain-free, the root of each derivation tree of has to be a -rule, i.e., a rule of the form
[TABLE]
from for some , , , and . As is infinite and, in contrast, is finite, there have to be two different integers and a -rule such that is the root of some and also of some . Assume that is of the above form. Then , and are defined (where is the initial storage configuration of ), and there are derivation trees
- •
and , and
- •
and
such that and . But then and, hence, also . This is a contradiction to the assumption . ∎
The reference list from the paper itself. Each links out to its DOI / PubMed record.
- 1[FHV 18] Z. Fülöp, L. Herrmann, and H. Vogler. Weighted Regular Tree Grammars with Storage. Discrete Mathematics & Theoretical Computer Science , 20(1), 2018.
- 2[Gue 83] I. Guessarian. Pushdown tree automata. Math. Systems Theory , 16:237–263, 1983.
