Skip to content

[Merged by Bors] - chore(Data/Set): move very basic lemmas earlier#25707

Closed
artie2000 wants to merge 3 commits intomasterfrom
artie2000-set-lemma-move
Closed

[Merged by Bors] - chore(Data/Set): move very basic lemmas earlier#25707
artie2000 wants to merge 3 commits intomasterfrom
artie2000-set-lemma-move

Conversation

@artie2000
Copy link
Copy Markdown
Collaborator

@artie2000 artie2000 commented Jun 11, 2025

Move basic projection lemmas about mem and setOf earlier so that you don't have to import order theory to use them (or for simp to see them)!


Open in Gitpod

@github-actions github-actions bot added the t-data Data (lists, quotients, numbers, etc) label Jun 11, 2025
@github-actions
Copy link
Copy Markdown

github-actions bot commented Jun 11, 2025

PR summary 15af54749b

Import changes for modified files

Dependency changes

File Base Count Head Count Change
Mathlib.Order.Circular 210 188 -22 (-10.48%)
Import changes for all files
Files Import difference
Mathlib.Order.Circular -22

Declarations diff

+ _

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.


Decrease in tech debt: (relative, absolute) = (1.00, 0.33)
Current number Change Type
3 -1 large files

Current commit cf8898697d
Reference commit 15af54749b

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).

@mathlib4-dependent-issues-bot mathlib4-dependent-issues-bot added the blocked-by-other-PR This PR depends on another PR (this label is automatically managed by a bot) label Jun 11, 2025
@YaelDillies YaelDillies changed the title chore(Data/Set): move basic lemmas backward chore(Data/Set): move very basic lemmas earlier Jun 11, 2025
@mathlib4-dependent-issues-bot mathlib4-dependent-issues-bot removed the blocked-by-other-PR This PR depends on another PR (this label is automatically managed by a bot) label Jun 12, 2025
@mathlib4-dependent-issues-bot
Copy link
Copy Markdown
Collaborator

Copy link
Copy Markdown
Contributor

@YaelDillies YaelDillies left a comment

Choose a reason for hiding this comment

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

Thanks! 🚀

maintainer merge

@github-actions
Copy link
Copy Markdown

🚀 Pull request has been placed on the maintainer queue by YaelDillies.

@ghost ghost added the maintainer-merge A reviewer has approved the changed; awaiting maintainer approval. label Jun 12, 2025
@fpvandoorn
Copy link
Copy Markdown
Member

bors merge

@ghost ghost added ready-to-merge This PR has been sent to bors. and removed maintainer-merge A reviewer has approved the changed; awaiting maintainer approval. labels Jun 12, 2025
mathlib-bors bot pushed a commit that referenced this pull request Jun 12, 2025
Move basic projection lemmas about `mem` and `setOf` earlier so that you don't have to import order theory to use them (or for `simp` to see them)!
@mathlib-bors
Copy link
Copy Markdown
Contributor

mathlib-bors bot commented Jun 12, 2025

Pull request successfully merged into master.

Build succeeded:

@mathlib-bors mathlib-bors bot changed the title chore(Data/Set): move very basic lemmas earlier [Merged by Bors] - chore(Data/Set): move very basic lemmas earlier Jun 12, 2025
@mathlib-bors mathlib-bors bot closed this Jun 12, 2025
@mathlib-bors mathlib-bors bot deleted the artie2000-set-lemma-move branch June 12, 2025 12:52
vlad902 added a commit to vlad902/mathlib4 that referenced this pull request Jun 12, 2025
* master: (447 commits)
  chore(Data/Set): move very basic lemmas earlier (leanprover-community#25707)
  feat: preserve draft status when migrating PRs to fork (leanprover-community#25777)
  chore(Data/Set/Basic): deprecate lemmas that abuse the `Set α := α → Prop` defeq (leanprover-community#25669)
  refactor: redefine `ProperCone` as an `abbrev` for `ClosedSubmodule` (leanprover-community#25204)
  feat: interaction between ContinuousLinearMap.coprod and ContinuousLinearEquiv.prodComm (leanprover-community#25564)
  fix: outdated docstring (leanprover-community#25717)
  feat(MeasureTheory): convolution of measures with densities  (leanprover-community#25718)
  feat: make sure that the simp normal form of equiv-like classes pushes `symm` and `trans` to the right (leanprover-community#25604)
  feat(ModelTheory): Formula.iSup and iInf (leanprover-community#21948)
  feat(RingTheory/Polynomial/ContentIdeal): the content ideal of a polynomial. (leanprover-community#25333)
  fix: typo in labels_from_comment.yml (leanprover-community#25727)
  feat: is{Inducing,Embedding}_prodMkLeft (leanprover-community#25705)
  feat: check that the mathlib options exist (leanprover-community#25687)
  feat(Algebra/Group/Even): Add missing lemmas (leanprover-community#20818)
  refactor: make `Matrix.kroneckerTMulAlgEquiv` heterogeneous (leanprover-community#25693)
  feat: allow contributors to remove labels with comments (leanprover-community#25723)
  chore: disable build.yml and bors.yml on forks (leanprover-community#25722)
  feat: improvements to user_activity_report.py (leanprover-community#25721)
  chore: update the migration script to check for necessary permissions and prefer ssh if possible (leanprover-community#25701)
  chore: update the migration script to check for necessary permissions and prefer ssh if possible (leanprover-community#25701)
  ...
pfaffelh pushed a commit to pfaffelh/mathlib4 that referenced this pull request Jun 15, 2025
…#25707)

Move basic projection lemmas about `mem` and `setOf` earlier so that you don't have to import order theory to use them (or for `simp` to see them)!
pfaffelh pushed a commit to pfaffelh/mathlib4 that referenced this pull request Jun 15, 2025
…#25707)

Move basic projection lemmas about `mem` and `setOf` earlier so that you don't have to import order theory to use them (or for `simp` to see them)!
callesonne pushed a commit to callesonne/mathlib4 that referenced this pull request Jul 24, 2025
…#25707)

Move basic projection lemmas about `mem` and `setOf` earlier so that you don't have to import order theory to use them (or for `simp` to see them)!
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ready-to-merge This PR has been sent to bors. t-data Data (lists, quotients, numbers, etc)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants