Abstract
Decidability of non-structural subtype entailment is a long standing open problem in programming language theory. In this paper, we apply automata theoretic methods to characterize the problem equivalently by using regular expressions and word equations. This characterization induces new results on non-structural subtype entailment, constitutes a promising starting point for further investigations on decidability, and explains for the first time why the problem is so difficult. The difficulty is caused by implicit word equations that we make explicit.
This is a preview of subscription content, log in via an institution.
Buying options
Tax calculation will be finalised at checkout
Purchases are for personal use only
Learn about institutional subscriptionsPreview
Unable to display preview. Download preview PDF.
References
R. M. Amadio and L. Cardelli. Subtyping recursive types. ACM Transactions on Programming Languages and Systems, 15(4):575–631, September 1993.
F. Baader and K. Schulz. Unification in the union of disjoint equational theories: Combining decision procedures. In Journal of Symbolic Computation, volume 21, pages 211–243, 1996.
V. Durnev. Unsolvability of positive ∀∃ 3-theory of free groups. In Sibirsky mathematichesky jurnal, volume 36(5), pages 1067–1080, 1995. In Russian, also exists in English translation.
J. Eifrig, S. Smith, and V. Trifonow. Sound polymorphic type inference for objects. In ACM Conference on Object-Oriented Programming: Systems, Languages, and Applications, 1995.
J. Eifrig, S. Smith, and V. Trifonow. Type inference for recursively constrained types and its application to object-oriented programming. Elec. Notes in Theor. Comp. Science, 1, 1995.
Y. Fuh and P. Mishra. Type inference with subtypes. Theo. Comp. Science, 73, 1990.
F. Henglein and J. Rehof. The complexity of subtype entailment for simple types. In Proceedings of the 12th IEEE Symposium on Logic in Computer Science, pages 362–372, 1997.
F. Henglein and J. Rehof. Constraint automata and the complexity of recursive subtype entailment. In 25th Int. Conf. on Automata, Languages, & Programming, LNCS, 1998.
D. Kozen, J. Palsberg, and M. I. Schwartzbach. Efficient inference of partial types. Journal of Computer and System Sciences, 49(2):306–324, 1994.
D. Kozen, J. Palsberg, and M. I. Schwartzbach. Efficient recursive subtyping. Mathematical Structures in Computer Science, 5:1–13, 1995.
G. Makanin. The problem of solvability of equations in a free semigroup. Math. USSR Sbornik, 32, 1977. (English translation).
J. C. Mitchell. Type inference with simple subtypes. The Journal of Functional Programming, 1(3):245–285, July 1991.
M. Muller, J. Niehren, and R. Treinen. The first-order theory of ordering constraints over feature trees. In IEEE Symposium on Logic in Computer Science, pages 432–443, 1998.
J. Niehren, M. Muller, and J.-M. Talbot. Entailment of atomic set constraints is PSPACE-complete. In 14 th IEEE Symposium on Logic in Computer Sience, pages 285–294, 1999.
J. Niehren and T. Priesnitz. Entailment of non-structural subtype constraints. In Asian Computing Science Conference, LNCS, pages 251–265. Springer-Verlag, Berlin, 1999.
J. Palsberg, M. Wand, and P. O’Keefe. Type Inference with Non-structural Subtyping. Formal Aspects of Computing, 9:49–67, 1997.
W. Plandowski. Satisfiability of word equations with constants is in PSPACE. In Proc. of the 40th IEEE Symp. on Found. of Comp. Science, pages 495–500, 1999.
F. Pottier. Simplifying subtyping constraints. In Proceedings of the ACM SIGPLAN International Conference on Functional Programming, pages 122–133, 1996.
F. Pottier. A framework for type inference with subtyping. In Proc. of the third ACM SIGPLAN International Conference on Functional Programming, pages 228–238, 1998.
F. Pottier. Type inference in the presence of subtyping: from theory to practice. PhD thesis, Institut de Recherche d’Informatique et d’Automatique, 1998.
J. Rehof. Minimal typings in atomic subtyping. In ACM Symposium on Principles of Programming Languages. ACM Press, 1997.
J. Rehof. The Complexity of Simple Subtyping Systems. PhD thesis, DIKU, Copenh., 1998.
K. U. Schulz. Makanin’s algorithm for word equations-two improvements and a generalization. In Word Equations and Related Topics, LNCS 572, pages 85–150, 1991.
Y. Vazhenin and B. Rozenblat. Decidability of the positive theory of a free countably generated semigroup. In Math. USSR Sbornik, volume 44, pages 109–116, 1983.
Author information
Authors and Affiliations
Editor information
Editors and Affiliations
Rights and permissions
Copyright information
© 2001 Springer-Verlag Berlin Heidelberg
About this paper
Cite this paper
Niehren, J., Priesnitz, T. (2001). Non-structural Subtype Entailment in Automata Theory. In: Kobayashi, N., Pierce, B.C. (eds) Theoretical Aspects of Computer Software. TACS 2001. Lecture Notes in Computer Science, vol 2215. Springer, Berlin, Heidelberg. https://doi.org/10.1007/3-540-45500-0_18
Download citation
DOI: https://doi.org/10.1007/3-540-45500-0_18
Published:
Publisher Name: Springer, Berlin, Heidelberg
Print ISBN: 978-3-540-42736-0
Online ISBN: 978-3-540-45500-4
eBook Packages: Springer Book Archive