Nothing Special   »   [go: up one dir, main page]

skip to main content
article

Coalgebraic Description of Generalized Binary Methods

Published: 01 March 2006 Publication History

Abstract

We extend the Reichel-Jacobs coalgebraic account of specification and refinement of objects and classes in Object Oriented Programming to (generalized) binary methods. These are methods that take more than one parameter of a class type. Class types include sums and (possibly infinite) products type constructors. We study and compare two solutions for modeling generalized binary methods, which use purely covariant functors. In the first solution, which applies when we already have a class implementation, we reduce the behaviour of a generalized binary method to that of a bunch of unary methods. These are obtained by freezing the types of the extra class parameters to constant types. The bisimulation behavioural equivalence induced on objects by this model amounts to the greatest congruence w.r.t method application. Alternatively, we treat binary methods as graphs instead of functions, thus turning contravariant occurrences in the functor into covariant ones.

References

[1]
Aczel, P., Non-wellfounded sets. 1988. CSLI Lecture Notes, 1988.Stanford.
[2]
Aczel, P. and Mendler, N., A Final Coalgebra Theorem. In: Pitt, D.H. (Ed.), Springer LNCS, 389. pp. 357-365.
[3]
Bruce, K.B., Cardelli, Luca, Castagna, Giuseppe, Eifrig, Jonathan, Smith, Scott F., Trifonov, Valery, Leavens, Gary T. and Pierce, Benjamin C., On Binary Methods. TAPOS. v1 i3. 221-242.
[4]
Forti, M. and Honsell, F., Set-theory with free construction principles. Ann. Scuola Norm. Sup. Pisa, Cl. Sci. v10 i4. 493-522.
[5]
Hermida, C. and Jacobs, B., Structural induction and coinduction in a fibrational setting. Information and Computation. v145 i2. 107-152.
[6]
Honsell F., M. Lenisa, R. Redamalla. Coalgebraic Description of Generalized Binary Methods, TR 8/2005, University of Udine(Italy), 2005
[7]
Jacobs, B., Objects and Classes, co-algebraically. In: Freitag, B. (Ed.), Object-Orientation with Parallelism and Book Persistence, Kluwer Academic Publishers. pp. 83-103.
[8]
Jacobs, B., Behaviour-refinement of object-oriented specifications with coinductive correctness proofs. In: Bidoit, M. (Ed.), Springer LNCS, 1214. pp. 787-802.
[9]
Jacobs, B. and Rutten, J., A tutorial on (co)algebras and (co)induction. Bulletin of the EATCS. v62. 222-259.
[10]
Reichel, H., An approach to object semantics based on terminal co-algebras. MSCS. v5. 129-152.
[11]
Rothe, J., Tews, H. and Jacobs, B., The Coalgebraic Class Specification Language CCSL. Journal of Universal Computer Science. v7. 175-193.
[12]
Tews H. Coalgebraic Methods for Object-Oriented Specifications, Ph.D. thesis, Dresden Univ. of technology, 2002

Recommendations

Comments

Please enable JavaScript to view thecomments powered by Disqus.

Information & Contributors

Information

Published In

cover image Electronic Notes in Theoretical Computer Science (ENTCS)
Electronic Notes in Theoretical Computer Science (ENTCS)  Volume 135, Issue 3
March, 2006
142 pages

Publisher

Elsevier Science Publishers B. V.

Netherlands

Publication History

Published: 01 March 2006

Author Tags

  1. Binary methods
  2. Coalgebraic semantics
  3. OO-programming

Qualifiers

  • Article

Contributors

Other Metrics

Bibliometrics & Citations

Bibliometrics

Article Metrics

  • 0
    Total Citations
  • 0
    Total Downloads
  • Downloads (Last 12 months)0
  • Downloads (Last 6 weeks)0
Reflects downloads up to 08 Mar 2025

Other Metrics

Citations

View Options

View options

Figures

Tables

Media

Share

Share

Share this Publication link

Share on social media