Logic of subtyping

  • Authors:
  • Pavel Naumov

  • Affiliations:
  • Department of Mathematics and Computer Science, McDaniel College, Westminister, MD

  • Venue:
  • Theoretical Computer Science - Clifford lectures and the mathematical foundations of programming semantics
  • Year:
  • 2006

Quantified Score

Hi-index 0.00

Visualization

Abstract

We introduce new modal logical calculi that describe subtyping properties of Cartesian product and disjoint union type constructors as well as mutually recursive types defined using those type constructors.Basic logic of subtyping S extends classical propositional logic by two new binary modalities ⊗ and ⊕. An interpretation of S is a function that maps standard connectives into set-theoretical operations (intersection, union, and complement) and modalities into Cartesian product and disjoint union type constructors. This allows S to capture many subtyping properties of the above type constructors. We also consider logics Sρ and Sρω that incorporate into S mutually recursive types over arbitrary and well-founded universes correspondingly.The main results are completeness of the above three logics with respect to appropriate type universes. In addition, we prove Cut elimination theorem for S and establish decidability of S and Sρω.