Correctness of object oriented models by extended type inference

  • Authors:
  • Simon Foster;Ondřej Rypáček;Georg Struth

  • Affiliations:
  • Department of Computer Science, University of York, UK;Department of Computer Science, University of Sheffield, UK;Department of Computer Science, University of Sheffield, UK

  • Venue:
  • ICTAC'12 Proceedings of the 9th international conference on Theoretical Aspects of Computing
  • Year:
  • 2012

Quantified Score

Hi-index 0.00

Visualization

Abstract

Modelling and analysing data dependencies and consistency between classes and objects is a complex task. We show that dependently typed programming languages can handle this in a particularly simple, convenient and highly automated way. Dependent datatypes are used to implement (meta)models for classes and objects directly and concisely. Data dependencies and similar system constraints are specified within the language's expressive type system. Verification and propagation of these constraints is handled by type inference, which can be enhanced by customised decision procedures or external solvers if needed. The approach thus supports the development of software models that are correct by construction.