302 articles – 345 Notices  [english version]
HAL : hal-00149563, version 1

Fiche détaillée  Récupérer au format
7th International Conference, TLCA 2005, Nara : Japon (2005)
Subtyping Recursive Types Modulo Associative Commutative Products
Roberto Di Cosmo 1, Didier Rémy 2, François Pottier 2
(31/03/2005)

This work sets the formal bases for building tools that help retrieve classes in object-oriented libraries. In such systems, the user provides a query, formulated as a set of class interfaces. The tool returns classes in the library that can be used to implement the userrsquos request and automatically builds the required glue code. We propose subtyping of recursive types in the presence of associative and commutative products—that is, subtyping modulo a restricted form of type isomorphisms—as a model of the relation that exists between the userrsquos query and the toolrsquos answers. We show that this relation is a composition of the standard subtyping relation with equality up to associativity and commutativity of products and we present an efficient decision algorithm for it. We also provide an automatic way of constructing coercions between related types.
1 :  Preuves, Programmes et Systèmes (PPS)
CNRS : UMR7126 – Université Paris VII - Paris Diderot
2 :  CRISTAL (INRIA Rocquencourt)
INRIA
Informatique/Langage de programmation