Skip to content

feat(RelationAlgebra): coreflexive elements - #1276

Merged
chenson2018 merged 7 commits into
mainfrom
thomaskwaring/ra-corefl
Nov 24, 2026
Merged

chenson2018 merged 7 commits into
mainfrom
thomaskwaring/ra-corefl

Conversation

@thomaskwaring

Copy link
Copy Markdown
Collaborator

Add co-reflexive or subidentity elements of a relation algebra, as those less than the identity. These an the RA analogue of subsets, which is formalised by defining the domain and codomain of RA elements (see Givent chapter 5.6). We use this machinery to prove alternative characterisations of integral relation algebras, following Given Theory 9.7, which aligns our definition with that of the textbook.

@chenson2018 chenson2018 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 looks good. Without trying to scope creep to including more from the chapter, here's a few things where you partially covered something from Givant.

Comment thread Cslib/Foundations/Data/SetRel.lean Resolved
Comment thread Cslib/Foundations/Data/SetRel.lean Resolved
@thomaskwaring

Copy link
Copy Markdown
Collaborator Author

thanks these are great pointers — i'm happy with adding these lemmas because they have independent interest, but in general i've been adding results from Given by need because it can be easy to accumulate a endless list of equalities in this area i think

@chenson2018 chenson2018 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.

Yes, very easy to get in the weeds, that's why I limited myself to just a few comments where it was easily generalizable. LGTM now, thanks!

@chenson2018
chenson2018 added this pull request to the merge queue Nov 24, 2026
Merged via the queue into main with commit c971674 Nov 24, 2026
2 checks passed
@thomaskwaring
thomaskwaring deleted the thomaskwaring/ra-corefl branch November 24, 2026 21:46
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