Skip to content

[Merged by Bors] - feat: push for Set membership#34023

Closed
JovanGerb wants to merge 2 commits intoleanprover-community:masterfrom
JovanGerb:Jovan-push-set-mem
Closed

[Merged by Bors] - feat: push for Set membership#34023
JovanGerb wants to merge 2 commits intoleanprover-community:masterfrom
JovanGerb:Jovan-push-set-mem

Conversation

@JovanGerb
Copy link
Copy Markdown
Contributor

@JovanGerb JovanGerb commented Jan 16, 2026

This PR adds @[push] tags for set membership. This is a subset of #30042, namely all the Set tags.
#30042 also has tags for Finset and Multiset; as Set is the biggest use case of these, we start with just these.


Open in Gitpod

@JovanGerb JovanGerb requested a review from grunweg January 16, 2026 01:26
@github-actions github-actions bot added the large-import Automatically added label for PRs with a significant increase in transitive imports label Jan 16, 2026
@github-actions
Copy link
Copy Markdown

github-actions bot commented Jan 16, 2026

PR summary 2b4c6152f1

Import changes exceeding 2%

% File
+2.70% Mathlib.Order.Interval.Set.Defs

Import changes for modified files

Dependency changes

File Base Count Head Count Change
Mathlib.Order.Interval.Set.Defs 74 76 +2 (+2.70%)
Import changes for all files
Files Import difference
Mathlib.Order.Interval.Set.Defs 2

Declarations diff

No declarations were harmed in the making of this PR! 🐙

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.


No changes to technical debt.

You can run this locally as

./scripts/technical-debt-metrics.sh pr_summary
  • The relative value is the weighted sum of the differences with weight given by the inverse of the current value of the statistic.
  • The absolute value is the relative value divided by the total sum of the inverses of the current values (i.e. the weighted average of the differences).

@grunweg grunweg self-assigned this Jan 16, 2026
@grunweg
Copy link
Copy Markdown
Contributor

grunweg commented Jan 16, 2026

Thank you for splitting this out! This PR looks good to me --- if you fix the merge conflict, I'll merge it!

@grunweg grunweg added the awaiting-author A reviewer has asked the author a question or requested changes. label Jan 16, 2026
@JovanGerb JovanGerb removed the awaiting-author A reviewer has asked the author a question or requested changes. label Jan 16, 2026
@grunweg grunweg added the auto-merge-after-CI Please do not add manually. Requests for a bot to merge automatically once CI is done. label Jan 16, 2026
@grunweg
Copy link
Copy Markdown
Contributor

grunweg commented Jan 16, 2026

Thanks!
bors d+

@mathlib-bors
Copy link
Copy Markdown
Contributor

mathlib-bors bot commented Jan 16, 2026

✌️ JovanGerb can now approve this pull request. To approve and merge a pull request, simply reply with bors r+. More detailed instructions are available here.

@ghost ghost added the delegated This pull request has been delegated to the PR author (or occasionally another non-maintainer). label Jan 16, 2026
@ghost
Copy link
Copy Markdown

ghost commented Jan 16, 2026

As this PR is labelled auto-merge-after-CI, we are now sending it to bors:

bors merge

@ghost ghost added the ready-to-merge This PR has been sent to bors. label Jan 16, 2026
mathlib-bors bot pushed a commit that referenced this pull request Jan 16, 2026
This PR adds `@[push]` tags for set membership. This is a subset of #30042, namely all the `Set` tags.
#30042 also has tags for `Finset` and `Multiset`; as `Set` is the biggest use case of these, we start with just these.
@mathlib-bors
Copy link
Copy Markdown
Contributor

mathlib-bors bot commented Jan 16, 2026

Pull request successfully merged into master.

Build succeeded:

@mathlib-bors mathlib-bors bot changed the title feat: push for Set membership [Merged by Bors] - feat: push for Set membership Jan 16, 2026
@mathlib-bors mathlib-bors bot closed this Jan 16, 2026
eliasjudin pushed a commit to eliasjudin/mathlib4 that referenced this pull request Jan 18, 2026
This PR adds `@[push]` tags for set membership. This is a subset of leanprover-community#30042, namely all the `Set` tags.
leanprover-community#30042 also has tags for `Finset` and `Multiset`; as `Set` is the biggest use case of these, we start with just these.
bilichboris pushed a commit to bilichboris/mathlib4 that referenced this pull request Jan 18, 2026
This PR adds `@[push]` tags for set membership. This is a subset of leanprover-community#30042, namely all the `Set` tags.
leanprover-community#30042 also has tags for `Finset` and `Multiset`; as `Set` is the biggest use case of these, we start with just these.
fpvandoorn pushed a commit to fpvandoorn/carleson that referenced this pull request Jan 19, 2026
* Original motivation: can
leanprover-community/mathlib4#34023 be used to
golf some proofs?
* When leanprover-community/mathlib4#34039
(`finiteness [h, h']` syntax) is merged, it will also be interesting to
try using it more.
* And leanprover-community/mathlib4#34133
(positivity bugfix) might also help with using positivity/finiteness
more.

---------

Co-authored-by: Ruben Van de Velde <65514131+Ruben-VandeVelde@users.noreply.github.com>
goliath-klein pushed a commit to PrParadoxy/mathlib4 that referenced this pull request Jan 24, 2026
This PR adds `@[push]` tags for set membership. This is a subset of leanprover-community#30042, namely all the `Set` tags.
leanprover-community#30042 also has tags for `Finset` and `Multiset`; as `Set` is the biggest use case of these, we start with just these.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

auto-merge-after-CI Please do not add manually. Requests for a bot to merge automatically once CI is done. delegated This pull request has been delegated to the PR author (or occasionally another non-maintainer). large-import Automatically added label for PRs with a significant increase in transitive imports ready-to-merge This PR has been sent to bors.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants