Skip to content

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

Closed
b-mehta wants to merge 1 commit into
masterfrom
set-decidability
Closed

b-mehta wants to merge 1 commit into
masterfrom
set-decidability

Conversation

@b-mehta

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

Copy link
Copy Markdown
Contributor

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

github-actions Bot commented Jul 8, 2024

Copy link
Copy Markdown

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

@Ruben-VandeVelde Ruben-VandeVelde left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

maintainer merge

@github-actions

github-actions Bot commented Jul 9, 2024

Copy link
Copy Markdown

🚀 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

urkud commented Jul 9, 2024

Copy link
Copy Markdown
Member

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 <[email protected]>
@mathlib-bors

mathlib-bors Bot commented Jul 9, 2024

Copy link
Copy Markdown
Contributor

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