Skip to content
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(order/filter/interval): define class filter.is_interval_generated #3663

Closed
wants to merge 17 commits into from

Conversation

urkud
Copy link
Member

@urkud urkud commented Aug 2, 2020


Another chunk of #3640, depends on #3618

@urkud urkud added the blocked-by-other-PR This PR depends on another PR which is still in the queue. A bot manages this label via PR comment. label Aug 2, 2020
src/order/filter/interval.lean Outdated Show resolved Hide resolved
src/order/filter/interval.lean Outdated Show resolved Hide resolved
A filter `f` on a `preorder` is interval generated if each set `s ∈ f` includes an `ord_connected`
subset `t ∈ f`.
-/
class is_interval_generated (f : filter α) : Prop :=
Copy link
Member

Choose a reason for hiding this comment

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

Would it be more consistent and efficient to also make ord_connected a class?

Copy link
Member Author

Choose a reason for hiding this comment

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

It has conversions to/from convex and is_preconnected. Another difficulty is that some lemmas (e.g., ord_connected_sUnion) have non-instance arguments. Possibly I can make it a @[class] def but I'd prefer not to do it right now.

@urkud urkud changed the title feat(order/filter/interval): define class filter.is_interval_generated deps: 3618 feat(order/filter/interval): define class filter.is_interval_generated Aug 4, 2020
@urkud urkud added awaiting-review The author would like community review of the PR and removed blocked-by-other-PR This PR depends on another PR which is still in the queue. A bot manages this label via PR comment. labels Aug 4, 2020
@PatrickMassot
Copy link
Member

bors merge

@github-actions github-actions bot added ready-to-merge All that is left is for bors to build and merge this PR. (Remember you need to say `bors r+`.) and removed awaiting-review The author would like community review of the PR labels Aug 4, 2020
bors bot pushed a commit that referenced this pull request Aug 4, 2020
@bors
Copy link

bors bot commented Aug 4, 2020

Pull request successfully merged into master.

Build succeeded:

@bors bors bot changed the title feat(order/filter/interval): define class filter.is_interval_generated [Merged by Bors] - feat(order/filter/interval): define class filter.is_interval_generated Aug 4, 2020
@bors bors bot closed this Aug 4, 2020
@bors bors bot deleted the interval-generated branch August 4, 2020 10:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ready-to-merge All that is left is for bors to build and merge this PR. (Remember you need to say `bors r+`.)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants