Strong normalization results are obtained for a general language for collection types. An induced normal form for sets and bags is then used to show that the class of functions whose input has height (that is, the maximal depth of nestings of sets/bags/lists in the complex object) at most i and output has height at most o definable in a nested relational query language without powerset operator is independent of the height of intermediate expressions used. Our proof holds regardless of whether the language is used for querying sets, bags, or lists, even in the presence of variant types. Moreover, the normal forms are useful in a general approach to query optimization. Paredaens and Van Gucht (ACM Trans on Database Systems 17, No. 1 (1992), 65-93), proved a similar result for the special case when i=o=1. Their result is complemented by Hull and Su (J. Comput. Systems Sci. 43 (1991), 219-261) who demonstrated the failure of independence when powerset operator is present and i-o-1. The theorem of Hull and Su was generalized to all i and o by Grumbach and Vianu (in "Proceedings of the 3rd International Conference on Database Theory," Lecture Notes in Computer Science, Vol. 470, Springer-Verlag, Berlin, 1990). Our result generalizes Paredaens and Van Gucht's to all i and o, providing a counterpart to the theorem of Grumbach and Vianu. © 1996 Academic Press, Inc.
CITATION STYLE
Wong, L. (1996). Normal forms and conservative extension properties for query languages over collection types. Journal of Computer and System Sciences, 52(3), 495–505. https://doi.org/10.1006/jcss.1996.0037
Mendeley helps you to discover research relevant for your work.