Skip to content

[Merged by Bors] - chore(Data/Set): golf and add decidability of insert#14529

Closed
b-mehta wants to merge 1 commit intomasterfrom
set-decidability
Closed

[Merged by Bors] - chore(Data/Set): golf and add decidability of insert#14529
b-mehta wants to merge 1 commit intomasterfrom
set-decidability

Conversation

@b-mehta
Copy link
Copy Markdown
Contributor

@b-mehta b-mehta commented Jul 8, 2024

Adds the insert version, golfs existing versions using inferInstanceAs.
Makes the lemmas all consistent about using Decidable vs DecidablePred.

These decidability instances are useful in downstream applications.


Open in Gitpod

@github-actions
Copy link
Copy Markdown

github-actions bot commented Jul 8, 2024

PR summary ee56ab9e2f

Import changes for modified files

No significant changes to the import graph

Import changes for all files
Files Import difference

Declarations diff

+ decidableInsert
+ decidableSingleton
- decidableMemSingleton

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

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

@b-mehta b-mehta requested a review from eric-wieser July 8, 2024 17:53
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 Jul 9, 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 Jul 9, 2024
@urkud
Copy link
Copy Markdown
Member

urkud commented Jul 9, 2024

bors merge

@github-actions github-actions bot added the ready-to-merge This PR has been sent to bors. label Jul 9, 2024
mathlib-bors bot pushed a commit that referenced this pull request Jul 9, 2024
Adds the insert version, golfs existing versions using `inferInstanceAs`.
Makes the lemmas all consistent about using `Decidable` vs `DecidablePred`.

These decidability instances are useful in downstream applications. 



Co-authored-by: Bhavik Mehta <bm489@cam.ac.uk>
@mathlib-bors
Copy link
Copy Markdown
Contributor

mathlib-bors bot commented Jul 9, 2024

Pull request successfully merged into master.

Build succeeded:

@mathlib-bors mathlib-bors bot changed the title chore(Data/Set): golf and add decidability of insert [Merged by Bors] - chore(Data/Set): golf and add decidability of insert Jul 9, 2024
@mathlib-bors mathlib-bors bot closed this Jul 9, 2024
@mathlib-bors mathlib-bors bot deleted the set-decidability branch July 9, 2024 15:53
@adomani adomani mentioned this pull request Aug 1, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

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.

4 participants