Imperative Programming with Dependent Types

  • Authors:
  • Hongwei Xi

  • Affiliations:
  • -

  • Venue:
  • LICS '00 Proceedings of the 15th Annual IEEE Symposium on Logic in Computer Science
  • Year:
  • 2000

Quantified Score

Hi-index 0.02

Visualization

Abstract

In this paper, we enrich imperative programming with a form of dependent types. We start with explaining some motivations for this enrichment and mentioning some major obstacles that need to be overcome. We then present the design of a source level dependently typed imperative programming language Xanadu, forming both static and dynamic semantics and then establishing the type soundness theorem. We also present realistic examples, which have all been verified in a prototype implementation, in support of the practicality of Xanadu. We claim that the language design of Xanadu is novel and it serves as an informative example that demonstrates a means to combine imperative programming with dependent types.