[Merged by Bors] - feat(Algebra/Group/Even): Add missing lemmas#20818
[Merged by Bors] - feat(Algebra/Group/Even): Add missing lemmas#20818
Conversation
|
|
PR summary 658f45e58dImport changes exceeding 2%
|
| File | Base Count | Head Count | Change |
|---|---|---|---|
| Mathlib.Algebra.Group.Even | 224 | 233 | +9 (+4.02%) |
Import changes for all files
| Files | Import difference |
|---|---|
Mathlib.Data.Int.Bitwise Mathlib.Data.Nat.Bitwise |
2 |
8 filesMathlib.Algebra.Group.Int.Even Mathlib.Algebra.Group.NatPowAssoc Mathlib.Algebra.Ring.Associator Mathlib.Data.Nat.Cast.Basic Mathlib.Data.Nat.Cast.Field Mathlib.Tactic.Abel Mathlib.Tactic.NoncommRing Mathlib.Tactic.NormNum.Basic |
6 |
3 filesMathlib.Algebra.Group.Even Mathlib.Algebra.Group.Irreducible.Lemmas Mathlib.Algebra.Group.Nat.Even |
9 |
Declarations diff
+ isSquare_iff_exists_mul_self
+ isSquare_subset_image_isSquare
+ ⟨IsSquare.exists_mul_self,
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
relativevalue is the weighted sum of the differences with weight given by the inverse of the current value of the statistic. - The
absolutevalue is therelativevalue divided by the total sum of the inverses of the current values (i.e. the weighted average of the differences).
|
|
1 similar comment
|
|
|
This pull request has conflicts, please merge |
YaelDillies
left a comment
There was a problem hiding this comment.
Thanks! 🚀
maintainer merge
|
🚀 Pull request has been placed on the maintainer queue by YaelDillies. |
| theorem setOf_set {s : Set α} : setOf s = s := | ||
| rfl | ||
|
|
||
| theorem setOf_app_iff {p : α → Prop} {x : α} : { x | p x } x ↔ p x := | ||
| Iff.rfl | ||
|
|
||
| theorem mem_def {a : α} {s : Set α} : a ∈ s ↔ s a := | ||
| Iff.rfl |
There was a problem hiding this comment.
These got lost during this PR. From the commit history, looks like it's intentional. (And I agree we don't want them.) Could you update the description to reflect the changes?
There was a problem hiding this comment.
Aha! So let's wait for that one to be merged first.
There was a problem hiding this comment.
I detangled them, do you still want me to hold off?
Vierkantor
left a comment
There was a problem hiding this comment.
It's slightly frustrating that the lightweight definitions file Data.Set.Operations is growing again, but that's not something to solve in this PR. And the consequences are relatively limited. So in all, I'm okay with merging this.
bors d+
|
✌️ artie2000 can now approve this pull request. To approve and merge a pull request, simply reply with |
|
@Vierkantor yes, although the other operations in Data.Set.Operations have their projections defined there, whereas |
9e89453 to
7bb08ea
Compare
commit 9e89453 Author: artie2000 <artem.khovanov@gmail.com> Date: Tue Jun 10 17:07:56 2025 +0100 remove defeq abuse commit fb45356 Author: artie2000 <artem.khovanov@gmail.com> Date: Tue Jun 10 17:03:43 2025 +0100 alias commit 9fd0c91 Author: artie2000 <artem.khovanov@gmail.com> Date: Tue Jun 10 16:56:16 2025 +0100 clean diff commit c12a864 Author: artie2000 <artem.khovanov@gmail.com> Date: Tue Jun 10 16:54:58 2025 +0100 style commit 99f3e36 Author: artie2000 <artem.khovanov@gmail.com> Date: Tue Jun 10 16:53:28 2025 +0100 style commit 5ab909f Author: artie2000 <artem.khovanov@gmail.com> Date: Tue Jun 10 16:47:21 2025 +0100 style commit 251e6cb Author: artie2000 <artem.khovanov@gmail.com> Date: Tue Jun 10 16:45:49 2025 +0100 revert things commit 31eeede Author: artie2000 <artem.khovanov@gmail.com> Date: Tue Jun 10 11:41:41 2025 +0100 move more stuff back commit 7a276bf Author: artie2000 <artem.khovanov@gmail.com> Date: Tue Jun 10 10:37:03 2025 +0100 nicer notation commit 8a46516 Author: artie2000 <artem.khovanov@gmail.com> Date: Tue Jun 10 10:33:10 2025 +0100 fix update commit 9fc0b3c Merge: 2a9c27c e99fde2 Author: artie2000 <artem.khovanov@gmail.com> Date: Tue Jun 10 10:32:57 2025 +0100 Merge branch 'master' into artie2000-even-new-theorems commit 2a9c27c Author: artie2000 <artem.khovanov@gmail.com> Date: Mon Jan 27 18:03:02 2025 +0000 move set lemmas earlier commit a0cc75b Author: artie2000 <artem.khovanov@gmail.com> Date: Thu Jan 23 14:43:17 2025 +0000 change proof commit 290c31e Author: Artie Khovanov <artem.khovanov@gmail.com> Date: Thu Jan 23 14:16:00 2025 +0000 Update Mathlib/Algebra/Group/Even.lean Co-authored-by: Yaël Dillies <yael.dillies@gmail.com> commit a938bf1 Author: Artie Khovanov <artem.khovanov@gmail.com> Date: Thu Jan 23 14:09:54 2025 +0000 Update Mathlib/Algebra/Group/Even.lean Co-authored-by: Yaël Dillies <yael.dillies@gmail.com> commit 1311f65 Merge: 8084f8b da8db71 Author: artie2000 <artem.khovanov@gmail.com> Date: Thu Jan 23 13:25:42 2025 +0000 Merge branch 'master' into artie2000-even-new-theorems commit 8084f8b Author: artie2000 <artem.khovanov@gmail.com> Date: Thu Jan 23 13:25:04 2025 +0000 fix sync commit 66e7e34 Author: artie2000 <artem.khovanov@gmail.com> Date: Thu Jan 23 13:22:23 2025 +0000 sync commit 42e8bcd Author: Artie Khovanov <artem.khovanov@gmail.com> Date: Tue Jan 21 11:10:02 2025 +0000 fix style commit 5ece3c4 Merge: 39ed89a a4c5ecf Author: artie2000 <artem.khovanov@gmail.com> Date: Sat Jan 18 03:06:23 2025 +0000 Merge branch 'master' into artie2000-automate-even commit 39ed89a Author: Artie Khovanov <artem.khovanov@gmail.com> Date: Wed Jan 15 22:42:29 2025 +0000 improve some proofs commit ee1b421 Author: Artie Khovanov <artem.khovanov@gmail.com> Date: Wed Jan 15 20:37:05 2025 +0000 style commit 31e725b Author: Artie Khovanov <artem.khovanov@gmail.com> Date: Wed Jan 15 20:34:37 2025 +0000 fix commit c15efe4 Author: artie2000 <artem.khovanov@gmail.com> Date: Wed Jan 15 20:20:46 2025 +0000 revert aesop commit 4d91399 Author: FM22 <artem.khovanov@gmail.com> Date: Mon Jan 13 03:32:19 2025 +0000 fix aesop probabilities commit 2fe6246 Author: FM22 <artem.khovanov@gmail.com> Date: Thu Jan 9 15:16:54 2025 +0000 fix commit 9d5d902 Author: FM22 <artem.khovanov@gmail.com> Date: Tue Jan 7 23:12:27 2025 +0000 rename variables for consistency commit d17a26d Author: FM22 <artem.khovanov@gmail.com> Date: Tue Jan 7 23:04:09 2025 +0000 move deprecations back commit 23a8966 Author: FM22 <artem.khovanov@gmail.com> Date: Tue Jan 7 23:01:53 2025 +0000 update name commit 77eff5d Author: FM22 <artem.khovanov@gmail.com> Date: Tue Jan 7 23:01:42 2025 +0000 fix commit 4686df9 Author: FM22 <artem.khovanov@gmail.com> Date: Tue Jan 7 22:13:41 2025 +0000 new lemma commit 09c31d4 Author: FM22 <artem.khovanov@gmail.com> Date: Tue Jan 7 21:35:00 2025 +0000 add example commit 76f7fa2 Author: FM22 <artem.khovanov@gmail.com> Date: Tue Jan 7 21:09:51 2025 +0000 initial commit
7bb08ea to
75d6231
Compare
|
I have found that the changes to Data.Set.Operations are not necessary for this particular lemma about even elements. Apologies for time wasted. I will split the PRs and re-request a review. |
|
This PR/issue depends on:
|
YaelDillies
left a comment
There was a problem hiding this comment.
Thanks!
maintainer merge
|
🚀 Pull request has been placed on the maintainer queue by YaelDillies. |
* Make API for `IsSquare` / `Even` consistent between the "official" definition and equivalent ones * Add new lemma `exists_apply_eq_and_isSquare` that's analogous to `IsSquare.map`
|
Pull request successfully merged into master. Build succeeded: |
* 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) ...
IsSquare/Evenconsistent between the "official" definition and equivalent onesexists_apply_eq_and_isSquarethat's analogous toIsSquare.map