Repository navigation
Conversation
PR summary 3b21e242da
|
| File | Base Count | Head Count | Change |
|---|---|---|---|
| Mathlib.Data.Finset.SDiff | 404 | 403 | -1 (-0.25%) |
Import changes for all files
| Files | Import difference |
|---|---|
3 filesMathlib.Data.Finset.Basic Mathlib.Data.Finset.SDiff Mathlib.Data.Fintype.Inv |
-1 |
Declarations diff
+ inf_eq_inter'
+ nontrivial_def
+ sup_eq_union'
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).
| · rw [sup_eq_union, mem_sdiff, mem_union] | ||
| exact ⟨Or.inl hat, hav⟩ | ||
| · rw [← erase_sdiff_comm, sup_eq_union, erase_union_distrib, erase_eq_of_notMem hau] | ||
| · simp [← erase_sdiff_comm, erase_union_distrib, erase_eq_of_notMem hau] |
There was a problem hiding this comment.
(Note to future readers: this is because sup_eq_union now has arguments, so it only gets rewritten once.)
| "Mathlib.Data.FunLike.Basic": ["Mathlib.Logic.Function.Basic"], | ||
| "Mathlib.Data.Finsupp.Notation": ["Mathlib.Data.Finsupp.Single"], | ||
| "Mathlib.Data.Finset.Insert": ["Mathlib.Data.Finset.Attr"], | ||
| "Mathlib.Data.Finset.Image": ["Mathlib.Data.Finset.Lattice.Lemmas"], |
There was a problem hiding this comment.
Weird that shake doesn't pick up on the insert_eq used in Data.Finset.Image, but it is indeed a necessary import.
Vierkantor
left a comment
There was a problem hiding this comment.
I'm happy with these changes. @eric-wieser, any last comments?
bors d=@eric-wieser
|
✌️ eric-wieser can now approve this pull request. To approve and merge a pull request, simply reply with |
|
✌️ kim-em can now approve this pull request. To approve and merge a pull request, simply reply with |
|
bors merge |
Note that `grind` often will not instantiate equational lemmas that are not fully applied, so we need to split some theorems into versions for `simp` and versions for `grind`. Moves: - sup_eq_union -> sup_eq_union' - inf_eq_inter -> inf_eq_inter'
|
Build failed: |
|
bors r+ |
Note that `grind` often will not instantiate equational lemmas that are not fully applied, so we need to split some theorems into versions for `simp` and versions for `grind`. Moves: - sup_eq_union -> sup_eq_union' - inf_eq_inter -> inf_eq_inter'
|
Pull request successfully merged into master. Build succeeded: |
Finset.sdiffFinset.sdiff
Note that `grind` often will not instantiate equational lemmas that are not fully applied, so we need to split some theorems into versions for `simp` and versions for `grind`. Moves: - sup_eq_union -> sup_eq_union' - inf_eq_inter -> inf_eq_inter'
Note that `grind` often will not instantiate equational lemmas that are not fully applied, so we need to split some theorems into versions for `simp` and versions for `grind`. Moves: - sup_eq_union -> sup_eq_union' - inf_eq_inter -> inf_eq_inter'
Note that
grindoften will not instantiate equational lemmas that are not fully applied, so we need to split some theorems into versions forsimpand versions forgrind.Moves: