Alexander Kurz
    • Create new note
    • Create a note from template
      • Sharing URL Link copied
      • /edit
      • View mode
        • Edit mode
        • View mode
        • Book mode
        • Slide mode
        Edit mode View mode Book mode Slide mode
      • Customize slides
      • Note Permission
      • Read
        • Only me
        • Signed-in users
        • Everyone
        Only me Signed-in users Everyone
      • Write
        • Only me
        • Signed-in users
        • Everyone
        Only me Signed-in users Everyone
      • Engagement control Commenting, Suggest edit, Emoji Reply
      • Invitee
    • Publish Note

      Share your work with the world Congratulations! 🎉 Your note is out in the world Publish Note

      Your note will be visible on your profile and discoverable by anyone.
      Your note is now live.
      This note is visible on your profile and discoverable online.
      Everyone on the web can find and read all notes of this public team.
      See published notes
      Unpublish note
      Please check the box to agree to the Community Guidelines.
      View profile
    • Commenting
      Permission
      Disabled Forbidden Owners Signed-in users Everyone
    • Enable
    • Permission
      • Forbidden
      • Owners
      • Signed-in users
      • Everyone
    • Suggest edit
      Permission
      Disabled Forbidden Owners Signed-in users Everyone
    • Enable
    • Permission
      • Forbidden
      • Owners
      • Signed-in users
    • Emoji Reply
    • Enable
    • Versions and GitHub Sync
    • Note settings
    • Engagement control
    • Transfer ownership
    • Delete this note
    • Save as template
    • Insert from template
    • Import from
      • Dropbox
      • Google Drive
      • Gist
      • Clipboard
    • Export to
      • Dropbox
      • Google Drive
      • Gist
    • Download
      • Markdown
      • HTML
      • Raw HTML
Menu Note settings Sharing URL Create Help
Create Create new note Create a note from template
Menu
Options
Versions and GitHub Sync Engagement control Transfer ownership Delete this note
Import from
Dropbox Google Drive Gist Clipboard
Export to
Dropbox Google Drive Gist
Download
Markdown HTML Raw HTML
Back
Sharing URL Link copied
/edit
View mode
  • Edit mode
  • View mode
  • Book mode
  • Slide mode
Edit mode View mode Book mode Slide mode
Customize slides
Note Permission
Read
Only me
  • Only me
  • Signed-in users
  • Everyone
Only me Signed-in users Everyone
Write
Only me
  • Only me
  • Signed-in users
  • Everyone
Only me Signed-in users Everyone
Engagement control Commenting, Suggest edit, Emoji Reply
Invitee
Publish Note

Share your work with the world Congratulations! 🎉 Your note is out in the world Publish Note

Your note will be visible on your profile and discoverable by anyone.
Your note is now live.
This note is visible on your profile and discoverable online.
Everyone on the web can find and read all notes of this public team.
See published notes
Unpublish note
Please check the box to agree to the Community Guidelines.
View profile
Engagement control
Commenting
Permission
Disabled Forbidden Owners Signed-in users Everyone
Enable
Permission
  • Forbidden
  • Owners
  • Signed-in users
  • Everyone
Suggest edit
Permission
Disabled Forbidden Owners Signed-in users Everyone
Enable
Permission
  • Forbidden
  • Owners
  • Signed-in users
Emoji Reply
Enable
Import from Dropbox Google Drive Gist Clipboard
   owned this note    owned this note      
Published Linked with GitHub
Subscribed
  • Any changes
    Be notified of any changes
  • Mention me
    Be notified of mention me
  • Unsubscribe
Subscribe
--- tags: coalgebraic logic --- # Cospan Bisimulation 2 (draft ... references to be added) ... ([up](https://hackmd.io/@alexhkurz/ryrkkYZZc)) --- ## Introduction We collect some results on cospan bisimulations. These results invariable relate ordinary bisimulations on sets with ordered bisimulation on ordered sets. Since bisimulations on ordered sets include simulations as well as bisimulations we will call them **(bi)simulations**. #### Overview We first review **notation** and define the notion of an **order-extension** of a set-functor. The subsection **span and cospan bisimulations** investigates the relationship between cospan bisimulations and span bisimulations. The subsection **cospan (bi)simulations and change of base** looks at cospan (bi)simulations enriched over different quantales. #### Summary Together this shows that cospan (bi)simulation works uniformly over sets, orders, metric spaces and $\Omega$-categories. For example, Rutten's final coalgebra theorem for sets can now be seen as a special case of Worrell's final coalgebra theorem for $\Omega$-categories. ## Questions If $f_\diamond$ and $f^\diamond$ are cospan-bisimulations, is then $f$ a coalgebra morphism? Connections with *logic induced bisimulations*? ## Notation In this section, - $Ord$ denotes the category $Pre$ of preorders or the category $Pos$ of posets. - $D:Set\to Ord$ denotes the discrete functor and we write $$C\dashv D\dashv V$$ for the induced chain of adjoints. - $T$ denotes a functor $Set\to Set$. ## Order-Extensions Following on from [part one](https://hackmd.io/6Ehr9bIQQgSZKeeasdSKoQ), we are interested in preordification $T'$ of $T$. Preordifictions are universal solutions to the problem of finding a $T'$ together with a transformation $DT\to T'D$. In fact, the preordification $T'$ of $T$ can be defined as the $Ord$-enriched left Kan extension of $DT$ along $D$. But some results hold more generally for any ordered extension $DT\to T'D$. **Definition:** We call $T':Ord\to Ord$ an **order-extension** of $T:Set\to Set$ if there is a natural transformation $$DT\to T'D.$$ **Remark:** Equivalently, $T'$ is an order-extension of $T$ if there is a natural tranformation $T\to DT'V$. This also captures the intuition that $T'$ adds ordering to $T$. If one insists on $T\to DT'V$ being an iso, this notion is equivalent to the one of Jacobs and Jacobs-Hughes (ADD REFERENCES). **Question:** $T\to DT'V$ iso is equivalent to $DT\to T'D$ being bijective. Is there an interesting example of an order-extension for which $DT\to T'D$ is not bijective? **Remark:** The mate of $DT\to T'D$ is $TV\to VT'$. If $T'$ is the preordification then $TV\to VT'$ is an iso, but for posetifications this does not need to be the case as the example of convex powerset (=the posetification of powerset) shows. We summarise some of the relationships between properties of these natural transformations in the table below. | | | | | |---|---|---|---| 1|$DT\to T'D$ | $T$' is an order-extension of $T$ | 2|$DT\to T'D$ iso| $T'$ a strict order-extension of $T$ | 3|$T'$ left Kan extension, | $T'$ is the ordification of $T$ | 4|$TV\to VT'$ iso | $T$' is an order-lifting of $T$ | 5|$T\to VT'D$ iso | $T'D$ is an order on $T$ | $3\Rightarrow 2\Rightarrow 1$ and $2\Rightarrow 5$ and $4\Rightarrow 5$. If $Ord=Pre$, then also $3\Rightarrow 4$. ## Span and cospan bisimulations The following result makes precise that every span bisimulation is a cospan (bi)simulation. **Proposition:** Let $T'$ be an order-extension of $T$. If two states in two $T$-coalgebras are $T$-span-bisimilar then they are $T'$-cospan-(bi)similar. *Proof:* Let $X\to TX$ and $Y\to TY$ be two $T$-caolgebras. Let $X\leftarrow R \rightarrow Y$ be a $T$-span bisimulation. Let $R'$ be the cocomma of $X\leftarrow R \rightarrow Y$. Applying $T'$ to the square $$ \begin{array}{} &&DR&&\\ &\swarrow&&\searrow&\\ DX&&&&DY\\ &\searrow&&\swarrow&\\ &&R'&& \end{array} $$ and using the arrow $R\to TR$ from the span-bisimulation the universal property of the cocomma $R'$ gives the required arroe $R'\to T'R'$. QED **Examples:** A number of familiar examples arise as instances of this proposition. - $T=\mathcal P$ and $T'$ the downset or upset or convex powerset functor: Every span-bisimulation is also a cospan-bisimulation. Moreover, if two points are bisimilar then they are forward-similar and backward-similar. - $T=Up\mathcal P$ is the monotone neibhbourhood frame functor. $T'$ is its ordification or also $\mathcal D\mathcal U$ or also $U^oD^o$. - ... **Questions:** Is there something more one can say about structural relationships between bisimulation and simulation? For example, one could try to isolate those functors for which forward simulation plus backward simulation is bisimulation, but I do not know how interesting this would be (is there a good abstract notion of "deterministic" functor?). Anything else? For weak pullback preserving functors, we also have the converse of the previous proposition. **Proposition:** Let $T:Set\to Set$ preserve weak pullbacks. If two states in two $T$-coalgebras are cospan-bisimilar then they are span-bisimilar. *Proof:* Let $R$ be a cospan bisimulation and $X\to R' \leftarrow Y$ be the collage, hence cocomma, of $R$. Let $T'$ be the ordification of $T$. With the help of the iso $DT\to T'D$ we can consider the $(R,R')$-square as a cocomma in ordered sets. Cocommas are exact. Since ordifications $T'$ preserve exact squares if $T$ preserves weak pullbacks [Theorem 4.11,BKV15] , the $(TR,T'R')$-square is exact. But exact squares in posets are weak comma squares, hence there is an $R\to TR$ making $R$ into a span bisimulation. QED ## Morphisms and Bisimulations In sets every function is a relation and every coalgebra morphism a bisimulation. In ordered sets every function $f:X\to Y$ gives rise to two relation $f_\diamond:X\looparrowright Y$ and $f^\diamond: Y\looparrowright X$ with $$ (x,y)\in f_\diamond \ \Leftrightarrow \ fx\le y \quad\quad\quad\quad (y,x)\in f^\diamond \ \Leftrightarrow \ y\le fx$$ **Proposition:** Let $T:Ord\to Ord$. If $f$ is a $T$-coalgebra morphism, then $f_\diamond$ and $f^\diamond$ are cospan-(bi)simulations. *Proof:* $f_\diamond$ and $f^\diamond$ are the weakening closures of the spans $(id,f)$ and $(f,id)$, respectively. Recall the definition of cospan-(bi)simulation and the fact that the collage of the weakening closure of a relation represented by a span $(p,q)$ is the cocomma of $(p,q)$. Now the proposition follows from the universal property of cocommas. QED **Example:** [Recall](https://hackmd.io/V6m2cAy_TdagteE4RG_sbw#mathcal-Dmathcal-U-coalgebras) that $R$ is a $\mathcal D\mathcal U$-cospan-(bi)simulation iff \begin{align} xRy \ \ \Rightarrow \ \ & \forall a\in\xi x.\exists b\in\nu y. \forall y'\in b.\exists x'\in a.\ x'Ry' \end{align} We also [know](https://hackmd.io/Kaf6xVVMRP2w7a9hTLjT2w) that $f:X\to Y$ is a morphism $(X,\xi)\to(Y,\nu)$ of $\mathcal D\mathcal U$-coalegbras iff \begin{gather} \forall a\in \xi x.\exists b\in\nu(fx).\forall y\in b.\exists x\in a. fx \le y\\[1ex] \forall b\in \nu(fx).\exists a\in\xi(x).\forall x\in a.\exists y\in b. \ y\le fx \end{gather} It is now easy to check that the first clause says precisely that $f_\diamond$ is a (bi)simulation and the second clause that $f^\diamond$ is a (bi)simulation. (I find this very pretty.) **Question:** Can we prove the converse of the proposition? - - - This is interesting, I wrote out the obvious diagrams, but I didn't see how to proceed. - - - Maybe the converse is only true in special cases? ## Cospan (bi)simulations and change of base Cospan (bi)simulations allow us to see ordinary coalgebraic bisimulations as well as quantale enriched ones in the same framwork. The basic picture, taken from Section 4 of [BKV19] is as follows. $C\dashv D\dashv V$ take, respectively, connected components, discrete preorders and underlying sets. They lift via [doctrinal adjunction](https://hackmd.io/V-YOMuAZTOSZpZUC8mC2tw) to coalgebras since the right adjoints satisfy $DT_{Set}\cong T_{Pre}D$ and $VT_{Pre}\cong T_{Set}V$. ![](https://i.imgur.com/LCIbNBE.png) On the right-hand side, $d'$ is the top and bottom preserving embedding with a right adjoint $v'$ and, if $\Omega$ is non-trivial and integral[^integral], a left adjoint $c'$. The left ajoint $c'$ maps all elements other than bottom to $1$ and the right adjoint $v'$ maps all elements other than top to $0$. The adjunction $d'\dashv v'$ lifts to a $Pre$-enriched adjunction between the categories of coalgebras. If the quantale $\Omega$ has no zero-divisors, then $c'$ is a quantale-morphism and $c'\dashv d'$ lifts to $\Omega$-cat enriched adjunction between categories of coalgebras. See Propositions 4.9 and 4.10 of [BKV19] for details. **Propositions ??** ... I think, mutatis mutandis, we can move the two propositions above from the left Set/Pre column to the right Pre/$\Omega$-cat column ... **Examples ??** Can we make an example of ordinary transition systems and bisimulation and then a metric example? Are there scenarios where one would want an orderd coalgebra as an abstraction of a metric coalgebra? I never really looked so much at Kripke frames over metric spaces ... any ideas? ## References Balan, Kurz, Velebil: [Positive fragments of coalgebraic logics](https://arxiv.org/pdf/1402.5922v4). 2015. Balan, Kurz, Velebil: [Extending set functors to generalised metric spaces](https://lmcs.episciences.org/5132/pdf). 2019. Jacobs Hughes-Jacobs ## Further Scratch notes on [exact squares](https://hackmd.io/uGb9AQJnRsCWk3yd_kE1lw) [^integral]: A quantale is integral if the neutral element of the multiplication is the top element.

Import from clipboard

Paste your markdown or webpage here...

Advanced permission required

Your current role can only read. Ask the system administrator to acquire write and comment permission.

This team is disabled

Sorry, this team is disabled. You can't edit this note.

This note is locked

Sorry, only owner can edit this note.

Reach the limit

Sorry, you've reached the max length this note can be.
Please reduce the content or divide it to more notes, thank you!

Import from Gist

Import from Snippet

or

Export to Snippet

Are you sure?

Do you really want to delete this note?
All users will lose their connection.

Create a note from template

Create a note from template

Oops...
This template has been removed or transferred.
Upgrade
All
  • All
  • Team
No template.

Create a template

Upgrade

Delete template

Do you really want to delete this template?
Turn this template into a regular note and keep its content, versions, and comments.

This page need refresh

You have an incompatible client version.
Refresh to update.
New version available!
See releases notes here
Refresh to enjoy new features.
Your user state has changed.
Refresh to load new user state.

Sign in

Forgot password

or

By clicking below, you agree to our terms of service.

Sign in via Facebook Sign in via Twitter Sign in via GitHub Sign in via Dropbox Sign in with Wallet
Wallet ( )
Connect another wallet

New to HackMD? Sign up

Help

  • English
  • 中文
  • Français
  • Deutsch
  • 日本語
  • Español
  • Català
  • Ελληνικά
  • Português
  • italiano
  • Türkçe
  • Русский
  • Nederlands
  • hrvatski jezik
  • język polski
  • Українська
  • हिन्दी
  • svenska
  • Esperanto
  • dansk

Documents

Help & Tutorial

How to use Book mode

Slide Example

API Docs

Edit in VSCode

Install browser extension

Contacts

Feedback

Discord

Send us email

Resources

Releases

Pricing

Blog

Policy

Terms

Privacy

Cheatsheet

Syntax Example Reference
# Header Header 基本排版
- Unordered List
  • Unordered List
1. Ordered List
  1. Ordered List
- [ ] Todo List
  • Todo List
> Blockquote
Blockquote
**Bold font** Bold font
*Italics font* Italics font
~~Strikethrough~~ Strikethrough
19^th^ 19th
H~2~O H2O
++Inserted text++ Inserted text
==Marked text== Marked text
[link text](https:// "title") Link
![image alt](https:// "title") Image
`Code` Code 在筆記中貼入程式碼
```javascript
var i = 0;
```
var i = 0;
:smile: :smile: Emoji list
{%youtube youtube_id %} Externals
$L^aT_eX$ LaTeX
:::info
This is a alert area.
:::

This is a alert area.

Versions and GitHub Sync
Get Full History Access

  • Edit version name
  • Delete

revision author avatar     named on  

More Less

Note content is identical to the latest version.
Compare
    Choose a version
    No search result
    Version not found
Sign in to link this note to GitHub
Learn more
This note is not linked with GitHub
 

Feedback

Submission failed, please try again

Thanks for your support.

On a scale of 0-10, how likely is it that you would recommend HackMD to your friends, family or business associates?

Please give us some advice and help us improve HackMD.

 

Thanks for your feedback

Remove version name

Do you want to remove this version name and description?

Transfer ownership

Transfer to
    Warning: is a public team. If you transfer note to this team, everyone on the web can find and read this note.

      Link with GitHub

      Please authorize HackMD on GitHub
      • Please sign in to GitHub and install the HackMD app on your GitHub repo.
      • HackMD links with GitHub through a GitHub App. You can choose which repo to install our App.
      Learn more  Sign in to GitHub

      Push the note to GitHub Push to GitHub Pull a file from GitHub

        Authorize again
       

      Choose which file to push to

      Select repo
      Refresh Authorize more repos
      Select branch
      Select file
      Select branch
      Choose version(s) to push
      • Save a new version and push
      • Choose from existing versions
      Include title and tags
      Available push count

      Pull from GitHub

       
      File from GitHub
      File from HackMD

      GitHub Link Settings

      File linked

      Linked by
      File path
      Last synced branch
      Available push count

      Danger Zone

      Unlink
      You will no longer receive notification when GitHub file changes after unlink.

      Syncing

      Push failed

      Push successfully