English

On the Theory of Structural Subtyping

Logic in Computer Science 2007-05-23 v1 Programming Languages Software Engineering

Abstract

We show that the first-order theory of structural subtyping of non-recursive types is decidable. Let Σ\Sigma be a language consisting of function symbols (representing type constructors) and CC a decidable structure in the relational language LL containing a binary relation \leq. CC represents primitive types; \leq represents a subtype ordering. We introduce the notion of Σ\Sigma-term-power of CC, which generalizes the structure arising in structural subtyping. The domain of the Σ\Sigma-term-power of CC is the set of Σ\Sigma-terms over the set of elements of CC. We show that the decidability of the first-order theory of CC implies the decidability of the first-order theory of the Σ\Sigma-term-power of CC. Our decision procedure makes use of quantifier elimination for term algebras and Feferman-Vaught theorem. Our result implies the decidability of the first-order theory of structural subtyping of non-recursive types.

Keywords

Cite

@article{arxiv.cs/0408015,
  title  = {On the Theory of Structural Subtyping},
  author = {Viktor Kuncak and Martin Rinard},
  journal= {arXiv preprint arXiv:cs/0408015},
  year   = {2007}
}

Comments

51 page. A version appeared in LICS 2003

R2 v1 2026-07-22T12:22:23.471Z