Detalhes do Documento

Relations as executable specifications : taming partiality and non-determinism ...

Autor(es): Macedo, Nuno cv logo 1 ; Pacheco, Hugo cv logo 2 ; Cunha, Alcino cv logo 3

Data: 2012

Identificador Persistente: http://hdl.handle.net/1822/24669

Origem: RepositóriUM - Universidade do Minho


Descrição
Comunicação publicada em "Lecture Notes in Computer Science", vol. 7560 (2012), pag. 146-161 The calculus of relations has been widely used in program specification and reasoning. It is very tempting to use such specifications as running prototypes of the desired program, but, even considering finite domains, the inherent partiality and non-determinism of relations makes this impractical and highly inefficient. To tame partiality we prescribe the usage of invariants, represented by coreflexives, to characterize the exact domains and codomains of relational specifications. Such invariants can be used as pre-condition checkers to avoid runtime errors. Moreover, we show how such invariants can be used to narrow the non-deterministic execution of relational specifications, making it viable for a relevant class of problems. In particular, we show how the proposed techniques can be applied to execute specifications of bidirectional transformations, a domain where partiality and non-determinism are paramount.
Tipo de Documento Artigo
Idioma Inglês
delicious logo  facebook logo  linkedin logo  twitter logo 
degois logo
mendeley logo

Documentos Relacionados



    Financiadores do RCAAP

Fundação para a Ciência e a Tecnologia Universidade do Minho   Governo Português Ministério da Educação e Ciência Programa Operacional da Sociedade do Conhecimento União Europeia