Behavioral abstraction is hiding information

We show that for any behavioral Σ-specification B there is an ordinary algebraic specification B˜ over a larger signature, such that a model behaviorally satisfies B iff it satisfies, in the ordinary sense, the Σ-theorems of B˜. The idea is to add machinery for contexts and experiments (sorts, operations and equations), use it, and then hide it. We develop a procedure, called unhiding, which takes a finite B and produces a finite B˜. The practical aspect of this procedure is that one can use any standard equational inductive theorem prover to derive behavioral theorems, even if neither equational reasoning nor induction is sound for behavioral satisfaction.

[1]  Rolf Hennicker,et al.  Context induction: A proof principle for behavioural abstractions and algebraic implementations , 1991, Formal Aspects of Computing.

[2]  Jan Friso Groote,et al.  Structured Operational Semantics and Bisimulation as a Congruence , 1992, Inf. Comput..

[3]  Markus Roggenbach,et al.  Algebraic-coalgebraic specification in CoCasl , 2006, J. Log. Algebraic Methods Program..

[4]  A classical mind: essays in honour of C. A. R. Hoare , 1994 .

[5]  José Meseguer,et al.  Initiality, induction, and computability , 1986 .

[6]  M. Clavel,et al.  Principles of Maude , 1996, WRLA.

[7]  Peter Padawitz Towards the one-tiered design of data types and transition systems , 1997, WADT.

[8]  Grigore Rosu,et al.  Behavioral and Coinductive Rewriting , 2000, WRLA.

[9]  Rolf Hennicker,et al.  Context Induction: a Proof Principle for Behavioural Abstractions , 1990, DISCO.

[10]  Reiko Heckel,et al.  From SOS Specifications to Structured Coalgebras: How to Make Bisimulation a Congruence , 1999, CMCS.

[11]  Petros S. Stefaneas,et al.  Logical support for modularisation , 1993 .

[12]  Grigore Rosu,et al.  Hidden Congruent Deduction , 1998, FTP.

[13]  Peter Padawitz,et al.  Swinging types=functions+relations+transition systems , 2000, Theor. Comput. Sci..

[14]  Michel Bidoit,et al.  Modular correctness proofs of behavioural implementations , 1998, Acta Informatica.

[15]  Bart Jacobs,et al.  The Coalgebraic Class Specification Language CCSL , 2001, J. Univers. Comput. Sci..

[16]  Corina Cîrstea Semantic Constructions for Hidden Algebra , 1998, WADT.

[17]  Michel Bidoit,et al.  Observational Specifications and the Indistinguishability Assumption , 1995, Theor. Comput. Sci..

[18]  Joseph A. Goguen,et al.  Types as theories , 1991 .

[19]  Peter Padawitz,et al.  Swinging Data Types: Syntax, Semantics, and Theory , 1995, COMPASS/ADT.

[20]  B. Jacobs,et al.  A tutorial on (co)algebras and (co)induction , 1997 .

[21]  Hendrik Tews Coalgebras for Binary Methods , 2000, CMCS.

[22]  Reiko Heckel,et al.  Tile Transition Systems as Structured Coalgebras , 1999, FCT.

[23]  Narciso Martí-Oliet,et al.  Maude: specification and programming in rewriting logic , 2002, Theor. Comput. Sci..

[24]  Dorel Lucanu,et al.  Bisimulation and Hidden Algebra , 1999, CMCS.

[25]  Donald Sannella,et al.  On Observational Equivalence and Algebraic Specification , 1985, TAPSOFT, Vol.1.

[26]  Grigore Rosu On implementing behavioral rewriting , 2002, RULE '02.

[27]  Grigore Rosu,et al.  Circular Coinduction , 2000 .

[28]  Hendrik Tews Coalgebras for Binary Methods: Properties of Bisimulations and Invariants , 2001, RAIRO Theor. Informatics Appl..

[29]  Grigore Rosu,et al.  Institution Morphisms , 2013, Formal Aspects of Computing.

[30]  WalickiMichał,et al.  Algebraic approaches to nondeterminisman overview , 1997 .

[31]  Joseph A. Goguen,et al.  Software Engineering with Obj: Algebraic Specification In Action , 2010 .

[32]  Hendrik Tews Greatest Bisimulations for Binary Methods , 2002, CMCS.

[33]  Joseph A. Goguen,et al.  Towards an Algebraic Semantics for the Object Paradigm , 1992, COMPASS/ADT.

[34]  M. Majster Limits of the "algebraic" specification of abstract data types , 1977, SIGP.

[35]  Razvan Diaconescu,et al.  Behavioural Coherence in Object-Oriented Algebraic Specification , 2000, J. Univers. Comput. Sci..

[36]  Samuel R. Buss,et al.  Incompleteness of Behavioral Logics , 2000, CMCS.

[37]  T. Broadbent,et al.  Module Algebra , 1970, Nature.

[38]  Jan A. Bergstra,et al.  Equational specifications, complete term rewriting systems, and computable and semicomputable algebras , 1995, JACM.

[39]  Joseph A. Goguen,et al.  Hidden coinduction: behavioural correctness proofs for objects , 1999, Mathematical Structures in Computer Science.

[40]  Grigore Rosu Equational axiomatizability for coalgebra , 2001, Theor. Comput. Sci..

[41]  Michaël Rusinowitch,et al.  Observational Proofs with Critical Contexts , 1998, FASE.

[42]  Corina Cîrstea A Coequational Approach to Specifying Behaviours , 1999, CMCS.

[43]  Michel Bidoit,et al.  Behavioural Theories and the Proof of Behavioural Properties , 1996, Theor. Comput. Sci..

[44]  Michal Walicki,et al.  Algebraic approaches to nondeterminism—an overview , 1997, CSUR.

[45]  Grigore Rosu,et al.  Circular coinductive rewriting , 2000, Proceedings ASE 2000. Fifteenth IEEE International Conference on Automated Software Engineering.

[46]  David Lorge Parnas,et al.  Information Distribution Aspects of Design Methodology , 1971, IFIP Congress.

[47]  Joseph A. Goguen,et al.  Institutions: abstract model theory for specification and programming , 1992, JACM.

[48]  Michel Bidoit,et al.  Observational Logic , 1998, AMAST.

[49]  José Meseguer,et al.  Universal Realization, Persistent Interconnection and Implementation of Abstract Modules , 1982, ICALP.

[50]  Răzvan Diaconescu,et al.  Hiding and behaviour: an institutional approach , 1994 .

[51]  Corina Cîrstea,et al.  Coalgebra semantics for hidden algebra: Parameterised objects an inheritance , 1997, WADT.

[52]  Michel Bidoit,et al.  Proving Behavioural Theorems with Standard First-Order Logic , 1994, ALP.

[53]  Michel Bidoit,et al.  Observer Complete Definitions are Behaviourally Coherent , 1999 .

[54]  Alexander Kurz,et al.  Specifying Coalgebras with Modal Logic , 1998, CMCS.

[55]  Grigore Rosu,et al.  Hiding More of Hidden Algebra , 1999, World Congress on Formal Methods.