Repository navigation
[Merged by Bors] - feat(Data/Fintype/Defs): add DecidableLE (∀ a, β a) - #43425
Julian-Kuelshammer wants to merge 4 commits into
Conversation
Welcome new contributor!Thank you for contributing to Mathlib! If you haven't done so already, please review our contribution guidelines, as well as the style guide and naming conventions. In particular, we kindly remind contributors that we have guidelines regarding the use of AI when making pull requests. We use a review queue to manage reviews. If your PR does not appear there, it is probably because it is not successfully building (i.e., it doesn't have a green checkmark), has the If you haven't already done so, please come to Zulip and join the Lean community. |
PR summary da399d2ce9Import changes for modified filesNo significant changes to the import graph Import changes for all files
|
|
!bench |
|
Benchmark results for 2a5c7e1 against 28ab812 are in. No significant results found. @robin-carlier
Small changes (1🟥)
|
Co-authored-by: Robin Carlier <[email protected]>
|
@robin-carlier Thanks for the improvement. The reason for the unnecessary \alpha was that the instance decidablePiFintype 5 lines above also has a {\alpha}. Should this be changed? In this PR or in a different one? Regarding the unnecessary name: All instances in this section are named. Should the name stay for consistency? |
|
I think other modifications to this file are better suited for another PR. My best guess for the unnecessary |
|
Ok, then I'll leave it like that. |
robin-carlier
left a comment
There was a problem hiding this comment.
Thanks!
maintainer merge
|
🚀 Pull request has been placed on the maintainer queue by robin-carlier. |
This PR grew out of the project to define the Tamari lattice in https://github.com/Julian-Kuelshammer/ExtensionClosedSubcategoriesOfAn/blob/main/ExtensionClosedSubcategoriesOfAn/BracketingFunctions.lean Prepared with the help of Claude. For this specific instance, I asked what was needed to make defining the Tamari lattice in the project above work. It then suggested an instance just for functions (Fin n -> Fin n). After the discussion it suggested the instance above but with an assumption of Preorder instead of LE, so I changed that. I then found a (hopefully) suitable file to put it in and changed the variable names to the surrouning ones. Co-authored-by: Julian Kuelshammer <[email protected]>
|
Build failed (retrying...): |
This PR grew out of the project to define the Tamari lattice in https://github.com/Julian-Kuelshammer/ExtensionClosedSubcategoriesOfAn/blob/main/ExtensionClosedSubcategoriesOfAn/BracketingFunctions.lean Prepared with the help of Claude. For this specific instance, I asked what was needed to make defining the Tamari lattice in the project above work. It then suggested an instance just for functions (Fin n -> Fin n). After the discussion it suggested the instance above but with an assumption of Preorder instead of LE, so I changed that. I then found a (hopefully) suitable file to put it in and changed the variable names to the surrouning ones. Co-authored-by: Julian Kuelshammer <[email protected]>
|
Build failed (retrying...): |
This PR grew out of the project to define the Tamari lattice in https://github.com/Julian-Kuelshammer/ExtensionClosedSubcategoriesOfAn/blob/main/ExtensionClosedSubcategoriesOfAn/BracketingFunctions.lean Prepared with the help of Claude. For this specific instance, I asked what was needed to make defining the Tamari lattice in the project above work. It then suggested an instance just for functions (Fin n -> Fin n). After the discussion it suggested the instance above but with an assumption of Preorder instead of LE, so I changed that. I then found a (hopefully) suitable file to put it in and changed the variable names to the surrouning ones. Co-authored-by: Julian Kuelshammer <[email protected]>
|
Pull request successfully merged into master. Build succeeded: |
* origin/master: (958 commits) chore(Combinatorics/SimpleGraph/Trails): golf and cleanup (leanprover-community#41447) refactor(Probability/Kernel): remove redundant case split in Invariant.comp (leanprover-community#43805) chore: bump toolchain to v4.34.0 (leanprover-community#43798) feat(Data/List/SignVariations): add List.signVariations (leanprover-community#43783) feat(LinearAlgebra/Span/Basic): add Submodule.prodEquiv (leanprover-community#43664) feat(cache): put with native Azure and S3 backends (leanprover-community#43378) feat(Combinatorics/SimpleGraph/Walk): more `transfer` API (leanprover-community#41717) feat(SimpleGraph): girth-diameter inequality (leanprover-community#25834) feat: make `simps?` and `to_dual?`/`to_additive?` more concise (leanprover-community#43775) feat(Basic/IsEmpty/Defs): add Fin.isEmpty_iff (leanprover-community#43763) feat(Data/ENNReal/Inv): add ENNReal.div_mul_div_cancel (leanprover-community#37954) chore(Tactic/Simproc/ExistsAndEq): fix two typos (leanprover-community#43797) feat(LinearAlgebra/Matrix/GeneralLinearGroup/Defs): add the proof of the range of toGL to be the ker of the determinant and the induced equivalence (leanprover-community#41786) chore(Data/Num/Lemmas): golf `transfer` tactic (leanprover-community#41167) refactor(Data/Nat/Choose/Central): move and rename `four_pow_le_two_mul_add_one_mul_central_binom` (leanprover-community#42606) feat(Combinatorics/Graph): edge cut of `Graph` (leanprover-community#37865) feat(Algebra/QuadraticAlgebra): classify quadratic algebras by their discriminant (leanprover-community#42708) fix: use the PR number in the deprecation reminder message (leanprover-community#43786) feat(Data/Fintype/Defs): add DecidableLE (∀ a, β a) (leanprover-community#43425) chore: redefine `Finsupp.indicator` using `Finsupp.onFinset` (leanprover-community#33434) ... # Conflicts: # Mathlib/Tactic/Linter/DirectoryDependency.lean
…3862) In #43425, it was discovered that an instance contained an unnecessary variable. This is removed in this PR. Co-authored-by: Julian Kuelshammer <[email protected]>
This PR grew out of the project to define the Tamari lattice in https://github.com/Julian-Kuelshammer/ExtensionClosedSubcategoriesOfAn/blob/main/ExtensionClosedSubcategoriesOfAn/BracketingFunctions.lean
Prepared with the help of Claude. For this specific instance, I asked what was needed to make defining the Tamari lattice in the project above work. It then suggested an instance just for functions (Fin n -> Fin n). After the discussion it suggested the instance above but with an assumption of Preorder instead of LE, so I changed that. I then found a (hopefully) suitable file to put it in and changed the variable names to the surrouning ones.