Behavioural Categoricity of Abstract Data Type Specifications
Author(s) -
Pierre Lescanne
Publication year - 1983
Publication title -
the computer journal
Language(s) - English
Resource type - Journals
SCImago Journal Rank - 0.319
H-Index - 64
eISSN - 1460-2067
pISSN - 0010-4620
DOI - 10.1093/comjnl/26.4.289
Subject(s) - undecidable problem , computer science , type (biology) , data type , programming language , group (periodic table) , presentation (obstetrics) , abstract data type , theoretical computer science , algorithm , decidability , medicine , ecology , chemistry , organic chemistry , radiology , biology
In this note we want to present the concept of behavioural categoricity of an abstract data type specification. Intuitively, a specification is behaviourally categoric if it captures the external views the user can have on the data type. More specifically, using this specification, it is possible to prove that two objects are equal if and only if they behave the same, or informally speaking, if and only if they implement the same black box. Providing a general algorithm for proving the behavioural categoricity of any specification is impossible because that algorithm could also decide whether a finite presentation of a group presents the trivial group or not, which Rabin proved to be undecidable. We show by an example of a specification of circular lists that the proof of the categoricity must be done carefully. In this note we want to present the concept of behavioural categoricity of an abstract type specification. Intuitively, a specification is behaviourally categoric if it captures all the external views the user can have on the data type. More specifically, using this specification, it is possible to prove that two objects are equal if and only if they behave the same, or informally speaking, if and only if they implement the same black box. Providing a general algorithm for proving behavioural categoricity of any specification is impossible, because that algorithm could also decide whether a finite presentation of a group presents the trivial group or not, which Rabin proved to be undecidable. We show by an example of a specification of circular lists, that the proof of the categoricity must be done carefully.
Accelerating Research
Robert Robinson Avenue,
Oxford Science Park, Oxford
OX4 4GP, United Kingdom
Address
John Eccles HouseRobert Robinson Avenue,
Oxford Science Park, Oxford
OX4 4GP, United Kingdom