Skip to content

[Merged by Bors] - chore(Data/Set/Basic): predicate is equal to membership in setOf.#15554

Closed
apnelson1 wants to merge 1 commit intomasterfrom
mem_setOf_eq
Closed

[Merged by Bors] - chore(Data/Set/Basic): predicate is equal to membership in setOf.#15554
apnelson1 wants to merge 1 commit intomasterfrom
mem_setOf_eq

Conversation

@apnelson1
Copy link
Copy Markdown
Collaborator

@apnelson1 apnelson1 commented Aug 6, 2024

We add a lemma stating that for p : α -> Prop we have p = (· ∈ {a | p a}). This lemma fills a gap that came up a couple of times when adapting minimals to the new Minimal, the alternative being an awkward show/change or funext.

(See this example from mathlib (@j-loreaux 's first comment) and this example from the Carleson project)


Open in Gitpod

@github-actions
Copy link
Copy Markdown

github-actions bot commented Aug 6, 2024

PR summary c174ca967b

Import changes for modified files

No significant changes to the import graph

Import changes for all files
Files Import difference

Declarations diff

+ eq_mem_setOf

You can run this locally as follows
## summary with just the declaration names:
./scripts/declarations_diff.sh <optional_commit>

## more verbose report:
./scripts/declarations_diff.sh long <optional_commit>

The doc-module for script/declarations_diff.sh contains some details about this script.

@apnelson1 apnelson1 changed the title initial chore(Data/Set/Basic): predicate is equal to membership in setOf. Aug 6, 2024
@apnelson1 apnelson1 added the easy < 20s of review time. See the lifecycle page for guidelines. label Aug 6, 2024
@apnelson1 apnelson1 requested a review from j-loreaux August 6, 2024 14:56
Copy link
Copy Markdown
Contributor

@Ruben-VandeVelde Ruben-VandeVelde left a comment

Choose a reason for hiding this comment

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

maintainer merge

@github-actions
Copy link
Copy Markdown

github-actions bot commented Aug 6, 2024

🚀 Pull request has been placed on the maintainer queue by Ruben-VandeVelde.

@github-actions github-actions bot added the maintainer-merge A reviewer has approved the changed; awaiting maintainer approval. label Aug 6, 2024
@j-loreaux
Copy link
Copy Markdown
Contributor

Thanks!

bors merge

@j-loreaux j-loreaux closed this Aug 7, 2024
@mathlib-bors
Copy link
Copy Markdown
Contributor

mathlib-bors bot commented Aug 7, 2024

Already running a review

@j-loreaux j-loreaux reopened this Aug 7, 2024
@github-actions github-actions bot added the ready-to-merge This PR has been sent to bors. label Aug 7, 2024
@j-loreaux
Copy link
Copy Markdown
Contributor

bors merge

mathlib-bors bot pushed a commit that referenced this pull request Aug 7, 2024
…5554)

We add a lemma stating that for `p : α -> Prop` we have `p = (· ∈ {a | p a})`. This lemma fills a gap that came up a couple of times when adapting `minimals` to the new `Minimal`, the alternative being an awkward `show`/`change` or `funext`. 

(See [this example from mathlib](#14721 (review)) (@j-loreaux 's first comment) and [this example](https://github.com/fpvandoorn/carleson/pull/109/files#r1705631209) from the Carleson project)
@mathlib-bors
Copy link
Copy Markdown
Contributor

mathlib-bors bot commented Aug 7, 2024

Pull request successfully merged into master.

Build succeeded:

@mathlib-bors mathlib-bors bot changed the title chore(Data/Set/Basic): predicate is equal to membership in setOf. [Merged by Bors] - chore(Data/Set/Basic): predicate is equal to membership in setOf. Aug 7, 2024
@mathlib-bors mathlib-bors bot closed this Aug 7, 2024
@mathlib-bors mathlib-bors bot deleted the mem_setOf_eq branch August 7, 2024 07:07
bjoernkjoshanssen pushed a commit that referenced this pull request Sep 9, 2024
…5554)

We add a lemma stating that for `p : α -> Prop` we have `p = (· ∈ {a | p a})`. This lemma fills a gap that came up a couple of times when adapting `minimals` to the new `Minimal`, the alternative being an awkward `show`/`change` or `funext`. 

(See [this example from mathlib](#14721 (review)) (@j-loreaux 's first comment) and [this example](https://github.com/fpvandoorn/carleson/pull/109/files#r1705631209) from the Carleson project)
bjoernkjoshanssen pushed a commit that referenced this pull request Sep 9, 2024
…5554)

We add a lemma stating that for `p : α -> Prop` we have `p = (· ∈ {a | p a})`. This lemma fills a gap that came up a couple of times when adapting `minimals` to the new `Minimal`, the alternative being an awkward `show`/`change` or `funext`. 

(See [this example from mathlib](#14721 (review)) (@j-loreaux 's first comment) and [this example](https://github.com/fpvandoorn/carleson/pull/109/files#r1705631209) from the Carleson project)
bjoernkjoshanssen pushed a commit that referenced this pull request Sep 12, 2024
…5554)

We add a lemma stating that for `p : α -> Prop` we have `p = (· ∈ {a | p a})`. This lemma fills a gap that came up a couple of times when adapting `minimals` to the new `Minimal`, the alternative being an awkward `show`/`change` or `funext`. 

(See [this example from mathlib](#14721 (review)) (@j-loreaux 's first comment) and [this example](https://github.com/fpvandoorn/carleson/pull/109/files#r1705631209) from the Carleson project)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

easy < 20s of review time. See the lifecycle page for guidelines. maintainer-merge A reviewer has approved the changed; awaiting maintainer approval. ready-to-merge This PR has been sent to bors.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants