-
Notifications
You must be signed in to change notification settings - Fork 298
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Merged by Bors] - feat(data/list/*): Miscellaneous lemmas #13577
Conversation
end, chain_of_pairwise⟩ | ||
⟨chain.pairwise tr, pairwise.chain⟩ | ||
|
||
protected lemma chain.sublist [is_trans α R] (hl : l₂.chain R a) (h : l₁ <+ l₂) : l₁.chain R a := |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Do we have any convention about (h : transitive R)
vs [is_trans α R]
?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Not that I know of, unfortunately...
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
My understanding was the is_trans
was introduced as part of the "The big algebra typeclass refactor" that never happened.
Thanks 🎉 bors merge |
A few lemmas about `list.chain`, `list.pairwise`. Also rename `list.chain_of_pairwise` to `list.pairwise.chain` for dot notation.
Pull request successfully merged into master. Build succeeded: |
A few lemmas about
list.chain
,list.pairwise
. Also renamelist.chain_of_pairwise
tolist.pairwise.chain
for dot notation.