Skip to content

feat(Data/Finsupp/MonomialOrder/DegRevLex): homogeneous reverse lexicographic order - #43970

Draft
AntoineChambert-Loir wants to merge 14 commits into
leanprover-community:masterfrom
AntoineChambert-Loir:ACL/Groebner-degrevlex
Draft

AntoineChambert-Loir wants to merge 14 commits into
leanprover-community:masterfrom
AntoineChambert-Loir:ACL/Groebner-degrevlex

Conversation

@AntoineChambert-Loir

Copy link
Copy Markdown
Collaborator

This PR continues the work from #19456.

Original PR: #19456

@AntoineChambert-Loir

Copy link
Copy Markdown
Collaborator Author

Comments from Original PR #19456

This section contains 2 comment(s) from the original PR, excluding bot comments.


@joneugster (2026-09-19 13:37 UTC):
Mathlib has moved to PRs from forks. This PR is still from a branch of the main repository and will soon be closed! Please migrate the content to a fork and reopen a PR from there if you wish to do so. See Zulip topic for more instructions. Thank you for contributing to mathlib!


@mathlib-bors (2026-09-19 16:46 UTC):
This pull request is now in draft mode. No active bors state needed cleanup.

While this PR remains draft, bors will ignore commands on this PR. Mark it ready for review before using commands like bors r+ or bors try.

@github-actions

Copy link
Copy Markdown

PR summary 8091534943

Import changes for modified files

No significant changes to the import graph

Import changes for all files
Files Import difference
Mathlib.Data.Finsupp.MonomialOrder.DegRevLex (new file) 1096

Declarations diff (regex)

+ DegRevLex.exists_iff
+ DegRevLex.forall_iff
+ DegRevLex.le_iff
+ DegRevLex.lt_def
+ DegRevLex.lt_iff
+ DegRevLex.lt_iff'
+ DegRevLex.monotone_degree
+ DegRevLex.partialOrder
+ DegRevLex.rec
+ DegRevLex.single_antitone
+ DegRevLex.single_lt_iff
+ DegRevLex.single_strictAnti
+ DegRevLex.wellFounded
+ DegRevLex.wellFoundedLT
+ MonomialOrder.degRevLex
+ MonomialOrder.degRevLex_le_iff
+ MonomialOrder.degRevLex_lt_iff
+ degRevLex_def
+ degRevLex_iff
+ instance : IsOrderedCancelAddMonoid (DegRevLex (α →₀ ℕ))
+ instance : LinearOrder (DegRevLex (α →₀ ℕ))
+ instance : OrderBot (DegRevLex (α →₀ ℕ))
+ instance [AddCommMonoid α] :
+ ofDegRevLex
+ ofDegRevLex_add
+ ofDegRevLex_inj
+ ofDegRevLex_injective
+ ofDegRevLex_symm_eq
+ ofDegRevLex_toDegRevLex
+ partialOrder
+ toDegRevLex
+ toDegRevLex_add
+ toDegRevLex_inj
+ toDegRevLex_injective
+ toDegRevLex_ofDegRevLex
+ toDegRevLex_symm_eq
++ DegRevLex

You can run this locally as follows
## from your `mathlib4` directory:
git clone https://github.com/leanprover-community/mathlib-ci.git ../mathlib-ci

## summary with just the declaration names:
../mathlib-ci/scripts/pr_summary/declarations_diff.sh <optional_commit>

## more verbose report:
../mathlib-ci/scripts/pr_summary/declarations_diff.sh long <optional_commit>

The doc-module for scripts/pr_summary/declarations_diff.sh in the mathlib-ci repository contains some details about this script.

Declarations diff (Lean -- pending)

Computed after the build finishes.


No changes to strong technical debt.
No changes to weak technical debt.

Current commit 8091534943
Reference commit c4e799365a

This script lives in the mathlib-ci repository. To run it locally, from your mathlib4 directory:

git clone https://github.com/leanprover-community/mathlib-ci.git ../mathlib-ci
../mathlib-ci/scripts/reporting/technical-debt-metrics.py 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).

@github-actions github-actions Bot added the t-data Data (lists, quotients, numbers, etc) label Sep 19, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

t-data Data (lists, quotients, numbers, etc)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant