Skip to content

[Merged by Bors] - feat(Data/Finsupp/MonomialOrder) : lexicographic order on Unique - #20699

Closed
AntoineChambert-Loir wants to merge 3 commits into
masterfrom
ACL/CombNS-unique
Closed

AntoineChambert-Loir wants to merge 3 commits into
masterfrom
ACL/CombNS-unique

Conversation

@AntoineChambert-Loir

@AntoineChambert-Loir AntoineChambert-Loir commented Jan 13, 2025 •

Copy link
Copy Markdown
Collaborator

Two lemmas for lexicographic order on aUnique type are added.


Open in Gitpod

@AntoineChambert-Loir AntoineChambert-Loir changed the title refactor(Data/Finsupp/MonomialOrder) : add lemmas for Unique feat(Data/Finsupp/MonomialOrder) : add lemmas for Unique Jan 13, 2025
@github-actions github-actions Bot added the t-data Data (lists, quotients, numbers, etc) label Jan 13, 2025
@github-actions

github-actions Bot commented Jan 13, 2025 •

Copy link
Copy Markdown

PR summary f997130061

Import changes for modified files

No significant changes to the import graph

Import changes for all files
Files Import difference

Declarations diff

+ MonomialOrder.lex_le_iff_of_unique
+ MonomialOrder.lex_lt_iff_of_unique
+ lex_le_iff_of_unique
+ lex_lt_iff
+ lex_lt_iff_of_unique
- Finsupp.lex_le_iff
- Finsupp.lex_lt_iff

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

@AntoineChambert-Loir AntoineChambert-Loir changed the title feat(Data/Finsupp/MonomialOrder) : add lemmas for Unique feat(Data/Finsupp/MonomialOrder) : add lemmas for lexicographic order on Unique Jan 13, 2025
@AntoineChambert-Loir AntoineChambert-Loir changed the title feat(Data/Finsupp/MonomialOrder) : add lemmas for lexicographic order on Unique feat(Data/Finsupp/MonomialOrder) : lexicographic order on Unique Jan 13, 2025

@YaelDillies YaelDillies left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Do you expect these to be useful if made simp?

@YaelDillies YaelDillies added the awaiting-author Reply -awaiting-author to remove the label on your PR once you have addressed all comments. label Jan 13, 2025
Comment thread Mathlib/Data/Finsupp/MonomialOrder.lean Resolved
@AntoineChambert-Loir

Copy link
Copy Markdown
Collaborator Author

Do you expect these to be useful if made simp?

I am not sure. I have no idea, in fact. I tend to prefer the more bundled versions, because mathematically they embody more relevant stuff. For example, I did not tag as simp the two lemmas ahead, MonomialOrder.lex_le_iff and its lt variant.

@AntoineChambert-Loir AntoineChambert-Loir removed the awaiting-author Reply -awaiting-author to remove the label on your PR once you have addressed all comments. label Jan 14, 2025

@vihdzp vihdzp left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Otherwise LGTM.

Comment thread Mathlib/Data/Finsupp/Lex.lean Resolved
Comment thread Mathlib/Data/Finsupp/Lex.lean Resolved
Comment thread Mathlib/Data/Finsupp/Lex.lean Resolved
@joelriou

Copy link
Copy Markdown
Contributor

Thanks!

bors merge

@ghost ghost added the ready-to-merge This PR has been sent to bors. label Jan 30, 2025
mathlib-bors Bot pushed a commit that referenced this pull request Jan 30, 2025
…20699)

Two lemmas for lexicographic order on a`Unique` type are added.
@mathlib-bors

mathlib-bors Bot commented Jan 30, 2025

Copy link
Copy Markdown
Contributor

Pull request successfully merged into master.

Build succeeded:

@mathlib-bors mathlib-bors Bot changed the title feat(Data/Finsupp/MonomialOrder) : lexicographic order on Unique [Merged by Bors] - feat(Data/Finsupp/MonomialOrder) : lexicographic order on Unique Jan 30, 2025
@mathlib-bors mathlib-bors Bot closed this Jan 30, 2025
@mathlib-bors
mathlib-bors Bot deleted the ACL/CombNS-unique branch January 30, 2025 13:06
jt496 pushed a commit that referenced this pull request Feb 3, 2025
…20699)

Two lemmas for lexicographic order on a`Unique` type are added.
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