Skip to main content Accessibility help
×
Hostname: page-component-848d4c4894-8kt4b Total loading time: 0 Render date: 2024-07-04T18:50:33.700Z Has data issue: false hasContentIssue false

6 - Invariants and Assertions

Published online by Cambridge University Press:  22 December 2016

Bart Jacobs
Affiliation:
Radboud Universiteit Nijmegen
Get access

Summary

The second important notion in the logic of coalgebras, besides bisimularity, is invariance. Whereas a bisimulation is a binary relation on state spaces that is closed under transitions, an invariant is a predicate, or unary relation if you like, on a state space which is closed under transitions. This means, once an invariant holds, it will continue to hold, no matter which state transition operations are applied. That is: coalgebras maintain their invariants.

Invariants are important in the description of systems, because they often express certain implicit assumptions, such as this integer value will always be non-zero (so that dividing by the integer is safe), or the contents of this tank will never be below a given minimum value. Thus, invariants are ‘safety properties’, which express that something bad will never happen.

This chapter will introduce a general notion of invariant for a coalgebra, via predicate lifting. Predicate lifting is the unary analogue of relation lifting. First it will be introduced for polynomial functors on sets, but later also for more general functors, using the categorical logic introduced in Section 4.3. Various properties of invariants are established, in particular their intimate relation to subcoalgebras. An important application of invariants lies in a generic temporal logic for coalgebras, involving henceforth and eventually ♣ operators on predicates (on a state space for a coalgebra), which will be introduced in Section 6.4. It uses P as the greatest invariant that is contained in the predicate P. Further, invariants play a role in the construction of equalisers and products for coalgebras.

The operator P involves closure of the predicate P under all operations of a coalgebra. In many situations one also likes to express closure under specific operations only. This can be done via the modal logic for coalgebras introduced in Section 6.5. The modal operators are themselves described via a functor as signature, and the meaning of the operators is given by a suitable natural transformation. In examples it is shown how to use such operations to describe coalgebras satisfying certain logical assertions.

The semantics of such assertions – in a set-theoretic context – is the topic of the second part of this chapter, starting in Section 6.6. First, the relatively familiar situation of algebras satisfying assertions is reviewed.

Type
Chapter
Information
Introduction to Coalgebra
Towards Mathematics of States and Observation
, pp. 334 - 439
Publisher: Cambridge University Press
Print publication year: 2016

Access options

Get access to the full version of this content by using one of the access options below. (Log in options will check for institutional or personal access. Content may require purchase if you do not have access.)

Save book to Kindle

To save this book to your Kindle, first ensure coreplatform@cambridge.org is added to your Approved Personal Document E-mail List under your Personal Document Settings on the Manage Your Content and Devices page of your Amazon account. Then enter the ‘name’ part of your Kindle email address below. Find out more about saving to your Kindle.

Note you can select to save to either the @free.kindle.com or @kindle.com variations. ‘@free.kindle.com’ emails are free but can only be saved to your device when it is connected to wi-fi. ‘@kindle.com’ emails can be delivered even when you are not connected to wi-fi, but note that service fees apply.

Find out more about the Kindle Personal Document Service.

  • Invariants and Assertions
  • Bart Jacobs, Radboud Universiteit Nijmegen
  • Book: Introduction to Coalgebra
  • Online publication: 22 December 2016
  • Chapter DOI: https://doi.org/10.1017/CBO9781316823187.007
Available formats
×

Save book to Dropbox

To save content items to your account, please confirm that you agree to abide by our usage policies. If this is the first time you use this feature, you will be asked to authorise Cambridge Core to connect with your account. Find out more about saving content to Dropbox.

  • Invariants and Assertions
  • Bart Jacobs, Radboud Universiteit Nijmegen
  • Book: Introduction to Coalgebra
  • Online publication: 22 December 2016
  • Chapter DOI: https://doi.org/10.1017/CBO9781316823187.007
Available formats
×

Save book to Google Drive

To save content items to your account, please confirm that you agree to abide by our usage policies. If this is the first time you use this feature, you will be asked to authorise Cambridge Core to connect with your account. Find out more about saving content to Google Drive.

  • Invariants and Assertions
  • Bart Jacobs, Radboud Universiteit Nijmegen
  • Book: Introduction to Coalgebra
  • Online publication: 22 December 2016
  • Chapter DOI: https://doi.org/10.1017/CBO9781316823187.007
Available formats
×