Skip to content

feat(Bisimulation): Stratification of Bisimilarity - #1177

Open
fmontesi wants to merge 35 commits into
mainfrom
fmontesi/bisim-strat
Open

fmontesi wants to merge 35 commits into
mainfrom
fmontesi/bisim-strat

Conversation

@fmontesi

Copy link
Copy Markdown
Collaborator

Adds the textbook stratification of bisimilarity, as in 'Introduction to Bisimulation and Coinduction' by Sangiorgi [2011].

I chose to use OrderHom to formalise a single bisimulation step up to a relation. This enables using OrdinalApprox and its greatest fixed point API, which gives us a very pleasant correspondence to what's written on paper.

Depends on #1173.

@thomaskwaring thomaskwaring left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this is cool! these are just golfs, the content looks pretty good to me

Co-authored-by: Thomas Krishna Waring <51426330+thomaskwaring@users.noreply.github.com>
@fmontesi
fmontesi requested a review from ctchou as a code owner November 12, 2026 11:42
fmontesi and others added 13 commits November 12, 2026 12:42
Co-authored-by: Thomas Krishna Waring <51426330+thomaskwaring@users.noreply.github.com>
Co-authored-by: Thomas Krishna Waring <51426330+thomaskwaring@users.noreply.github.com>
Co-authored-by: Thomas Krishna Waring <51426330+thomaskwaring@users.noreply.github.com>
Co-authored-by: Thomas Krishna Waring <51426330+thomaskwaring@users.noreply.github.com>
Co-authored-by: Thomas Krishna Waring <51426330+thomaskwaring@users.noreply.github.com>
Co-authored-by: Thomas Krishna Waring <51426330+thomaskwaring@users.noreply.github.com>
Co-authored-by: Thomas Krishna Waring <51426330+thomaskwaring@users.noreply.github.com>
Co-authored-by: Thomas Krishna Waring <51426330+thomaskwaring@users.noreply.github.com>
Co-authored-by: Thomas Krishna Waring <51426330+thomaskwaring@users.noreply.github.com>
Co-authored-by: Thomas Krishna Waring <51426330+thomaskwaring@users.noreply.github.com>
Co-authored-by: Thomas Krishna Waring <51426330+thomaskwaring@users.noreply.github.com>
@fmontesi

Copy link
Copy Markdown
Collaborator Author

all done, @thomaskwaring!

ctchou pushed a commit to ctchou/cslib that referenced this pull request Nov 12, 2026
…prover#1215)

Some API for fixed points which I have found useful in my own work, one
result of which was needed in leanprover#1177. It's likely that if / when domain
theory arrives in CSlib these kind of results will be useful here, but
these could also be upstreamed to Mathlib.

---------

Co-authored-by: twwar <tom.waring@unimelb.edu.au>
Co-authored-by: Fabrizio Montesi <fm@fabriziomontesi.com>

@thomaskwaring thomaskwaring left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

most of the way there i reckon :)

Comment thread CslibTests/Bisimulation.lean Resolved
Comment thread CslibTests/Bisimulation.lean Resolved
fmontesi and others added 10 commits November 13, 2026 20:46
Co-authored-by: Thomas Krishna Waring <51426330+thomaskwaring@users.noreply.github.com>
Co-authored-by: Thomas Krishna Waring <51426330+thomaskwaring@users.noreply.github.com>
Co-authored-by: Thomas Krishna Waring <51426330+thomaskwaring@users.noreply.github.com>
Co-authored-by: Thomas Krishna Waring <51426330+thomaskwaring@users.noreply.github.com>
Co-authored-by: Thomas Krishna Waring <51426330+thomaskwaring@users.noreply.github.com>
Co-authored-by: Thomas Krishna Waring <51426330+thomaskwaring@users.noreply.github.com>
Co-authored-by: Thomas Krishna Waring <51426330+thomaskwaring@users.noreply.github.com>
@fmontesi

Copy link
Copy Markdown
Collaborator Author

Thanks @thomaskwaring for more good comments! All done again. :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants