Skip to main content

Composition of Different-Type Relations via the Kleisli Category for the Continuation Monad

  • Conference paper
  • First Online:
  • 367 Accesses

Part of the book series: Lecture Notes in Computer Science ((LNTCS,volume 11194))

Abstract

We give the way of composing different types of relational notions under certain condition, for example, ordinary binary relations, up-closed multirelations, ordinary (possibly non-up-closed) multirelations, quantale-valued relations, and probabilistic relations. Our key idea is to represent a relational notion as a generalized predicate transformer based on some truth value in some category and to represent it as a Kleisli arrow for some continuation monad. The way of composing those relational notions is given via identity-on-object faithful functors between different Kleisli categories. We give a necessary and sufficient condition to have such identity-on-object faithful functor.

This is a preview of subscription content, log in via an institution.

Buying options

Chapter
USD   29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
USD   39.99
Price excludes VAT (USA)
  • Available as EPUB and PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD   54.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Purchases are for personal use only

Learn about institutional subscriptions

References

  1. Back, R.J., von Wright, J.: Refinement Calculus: A Systematic Introduction. Graduate Texts in Computer Science. Springer, New York (1998). https://doi.org/10.1007/978-1-4612-1674-2

    Book  MATH  Google Scholar 

  2. Berghammer, R., Guttmann, W.: A relation-algebraic approach to multirelations and predicate transformers. In: Hinze, R., Voigtländer, J. (eds.) MPC 2015. LNCS, vol. 9129, pp. 50–70. Springer, Cham (2015). https://doi.org/10.1007/978-3-319-19797-5_3

    Chapter  Google Scholar 

  3. Foulis, D., Bennett, M.K.: Effect algebras and unsharp quantum logics. Found. Phys. 24(10), 1331–1352 (1994)

    Article  MathSciNet  Google Scholar 

  4. Hudak, P.: The Haskell School of Expression: Learning Functional Programming Through Multimedia. Cambridge University Press, Cambridge (2000)

    Book  Google Scholar 

  5. Jacobs, B.: Convexity, duality and effects. In: Calude, C.S., Sassone, V. (eds.) TCS 2010. IAICT, vol. 323, pp. 1–19. Springer, Heidelberg (2010). https://doi.org/10.1007/978-3-642-15240-5_1

    Chapter  Google Scholar 

  6. Jacobs, B.: A recipe for state-and-effect triangles. Log. Methods Comput. Sci. 13(2), 1–26 (2017)

    MathSciNet  MATH  Google Scholar 

  7. Jacobs, B., Mandemaker, J.: The expectation monad in quantum foundations. CoRR abs/1112.3805 (2011)

    Google Scholar 

  8. Kelly, G.M.: The basic concepts of enriched category theory, January 2005

    Google Scholar 

  9. Mac Lane, S.: Categories for the Working Mathematician. Graduate Texts in Mathematics. Springer, New York (1971). https://doi.org/10.1007/978-1-4612-9839-7

    Book  MATH  Google Scholar 

  10. Martin, C.E., Curtis, S.A.: The algebra of multirelations. Math. Struct. Comput. Sci. 23, 635–674 (2013)

    Article  MathSciNet  Google Scholar 

  11. Martin, C., Curtis, S., Rewitzky, I.: Modelling angelic and demonic nondeterminism with multirelations. Sci. Comput. Program. 65(2), 140–158 (2007)

    Article  MathSciNet  Google Scholar 

  12. Moggi, E.: Notions of computation and monads. Inf. Comput. 93(1), 55–92 (1991)

    Article  MathSciNet  Google Scholar 

  13. Mulvey, C.J.: & . In: Second Topology Conference. Rendiconti del Circolo Matematico di Palermo, ser. 2, supplement no. 12, pp. 99–104 (1986)

    Google Scholar 

  14. Parikh, R.: The logic of games. Ann. Descrete Math. 24, 111–140 (1985)

    MATH  Google Scholar 

  15. Rewitzky, I., Brink, C.: Monotone predicate transformers as up-closed multirelations. In: Schmidt, R.A. (ed.) RelMiCS 2006. LNCS, vol. 4136, pp. 311–327. Springer, Heidelberg (2006). https://doi.org/10.1007/11828563_21

    Chapter  Google Scholar 

  16. Rosenthal, K.I.: Quantales and Their Applications. Pitman Research Notes in Mathematical Series. Longman Scientific & Technical, New York, Harlow (1990)

    MATH  Google Scholar 

  17. Stubbe, I.: Q-modules are Q-suplattices. Theory Appl. Categ. 19(4), 50–60 (2007)

    MathSciNet  MATH  Google Scholar 

Download references

Acknowledgements

The authors thank Tatsuya Abe, Hitoshi Furusawa, Walter Guttmann, Masahito Hasegawa, Shinya Katsumata, and Georg Struth for valuable comments. The second author would like to thank Ichiro Hasuo and members of his group at the University of Tokyo for their generous support. This work was supported by JSPS KAKENHI Grant Numbers JP24700017, JP16K21557.

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Koki Nishizawa .

Editor information

Editors and Affiliations

Rights and permissions

Reprints and permissions

Copyright information

© 2018 Springer Nature Switzerland AG

About this paper

Check for updates. Verify currency and authenticity via CrossMark

Cite this paper

Nishizawa, K., Tsumagari, N. (2018). Composition of Different-Type Relations via the Kleisli Category for the Continuation Monad. In: Desharnais, J., Guttmann, W., Joosten, S. (eds) Relational and Algebraic Methods in Computer Science. RAMiCS 2018. Lecture Notes in Computer Science(), vol 11194. Springer, Cham. https://doi.org/10.1007/978-3-030-02149-8_7

Download citation

  • DOI: https://doi.org/10.1007/978-3-030-02149-8_7

  • Published:

  • Publisher Name: Springer, Cham

  • Print ISBN: 978-3-030-02148-1

  • Online ISBN: 978-3-030-02149-8

  • eBook Packages: Computer ScienceComputer Science (R0)

Publish with us

Policies and ethics