[Merged by Bors] - feat(Logic/IsEmpty): Left/Right/BiTotal truthiness on emptiness#19555
[Merged by Bors] - feat(Logic/IsEmpty): Left/Right/BiTotal truthiness on emptiness#19555tristan-f-r wants to merge 5 commits intomasterfrom
Conversation
PR summary 6d5870b1c6
|
| File | Base Count | Head Count | Change |
|---|---|---|---|
| Mathlib.Logic.IsEmpty | 91 | 92 | +1 (+1.10%) |
Import changes for all files
| Files | Import difference |
|---|---|
87 filesMathlib.Algebra.Group.WithOne.Defs Mathlib.Algebra.GroupWithZero.InjSurj Mathlib.Algebra.Group.Commute.Hom Mathlib.Tactic.FunProp Mathlib.Algebra.Group.Hom.Basic Mathlib.Data.Nat.Bits Mathlib.Tactic.Widget.CongrM Mathlib.Algebra.Divisibility.Units Mathlib.Data.Rat.Defs Mathlib.Data.Nat.Factorial.Basic Mathlib.Data.Int.Defs Mathlib.Tactic.FunProp.RefinedDiscrTree Mathlib.Logic.Equiv.Pairwise Mathlib.Tactic.FunProp.Elab Mathlib.Algebra.GroupWithZero.Basic Mathlib.Algebra.EuclideanDomain.Field Mathlib.Algebra.Field.MinimalAxioms Mathlib.Algebra.Group.Hom.CompTypeclasses Mathlib.Data.PNat.Defs Mathlib.Algebra.Group.Units.Basic Mathlib.Algebra.Group.Units.Hom Mathlib.Algebra.Group.InjSurj Mathlib.Tactic.FunProp.Theorems Mathlib.Order.ULift Mathlib.Logic.Unique Mathlib.Data.Nat.Prime.Factorial Mathlib.Data.List.Count Mathlib.Data.Matrix.DMatrix Mathlib.Algebra.GroupWithZero.Semiconj Mathlib.Algebra.Order.ZeroLEOne Mathlib.Algebra.Group.Semiconj.Basic Mathlib.Logic.Pairwise Mathlib.Tactic.Common Mathlib.Algebra.Group.Semiconj.Units Mathlib.Algebra.Group.Basic Mathlib.Tactic.MoveAdd Mathlib.Data.Int.Cast.Basic Mathlib.Algebra.GroupWithZero.Divisibility Mathlib.Algebra.GroupWithZero.Commute Mathlib.Logic.IsEmpty Mathlib.Algebra.Group.Hom.Instances Mathlib.Control.Bifunctor Mathlib.Algebra.EuclideanDomain.Defs Mathlib.Tactic.CongrExclamation Mathlib.Algebra.Ring.Idempotents Mathlib.Tactic.Convert Mathlib.Tactic.FunProp.Attr Mathlib.Logic.Lemmas Mathlib.Algebra.GroupWithZero.Pi Mathlib.Control.Bitraversable.Lemmas Mathlib.Algebra.GroupWithZero.Units.Basic Mathlib.Order.RelClasses Mathlib.Algebra.Ring.Ext Mathlib.Control.Bitraversable.Basic Mathlib.Algebra.Prime.Defs Mathlib.Order.Basic Mathlib.Tactic.ContinuousFunctionalCalculus Mathlib.Topology.ContinuousMap.Defs Mathlib.Algebra.Ring.MinimalAxioms Mathlib.Lean.Meta.CongrTheorems Mathlib.Algebra.Quotient Mathlib.Tactic.Nontriviality.Core Mathlib.Algebra.Order.Sum Mathlib.Data.Nat.Size Mathlib.Algebra.Group.Commute.Basic Mathlib.Data.Sigma.Lex Mathlib.Data.Nat.Prime.Defs Mathlib.Algebra.Group.Commute.Units Mathlib.Deprecated.RelClasses Mathlib.Tactic.FunProp.Core Mathlib.Data.Int.Sqrt Mathlib.Data.Nat.PSub Mathlib.Algebra.Group.Nat.Units Mathlib.Control.Bitraversable.Instances Mathlib.Algebra.Group.Ext Mathlib.Algebra.Group.Pi.Basic Mathlib.Data.Vector.Defs Mathlib.Data.Nat.GCD.Basic Mathlib.Tactic.TermCongr Mathlib.Algebra.Group.Hom.Defs Mathlib.Tactic.Zify Mathlib.Algebra.Field.IsField Mathlib.Algebra.Divisibility.Basic Mathlib.Logic.Nontrivial.Basic Mathlib.Tactic.CongrM Mathlib.Topology.Defs.Basic Mathlib.Tactic.Nontriviality |
1 |
Declarations diff
+ biTotal_empty
+ leftTotal_empty
+ rightTotal_empty
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).
|
Can you add these lemmas in another file? |
Co-Authored-By: Violeta Hernández <vi.hdz.p@gmail.com>
852569c to
ddea69b
Compare
|
Unsure if there are good ways to reduce the simp to |
vihdzp
left a comment
There was a problem hiding this comment.
Otherwise, this all LGTM.
Uses Type* to implicitly create universe variables Co-authored-by: Violeta Hernández <vi.hdz.p@gmail.com>
Co-Authored-By: Violeta Hernández <vi.hdz.p@gmail.com>
|
!bench |
|
Here are the benchmark results for commit 6d5870b. |
|
Hmm, I'm slightly worried about bors merge |
Adds left, right, and bi_total_empty, and golfs `identical_of_isEmpty` in `PGame` as a result. Co-authored-by: Tristan F. <LeoDog896@hotmail.com>
|
Pull request successfully merged into master. Build succeeded: |
Adds left, right, and bi_total_empty, and golfs
identical_of_isEmptyinPGameas a result.