Skip to content

[Merged by Bors] - chore: fix implicit-reducible diamond in DegLex#38304

Closed
sgouezel wants to merge 1 commit intoleanprover-community:masterfrom
sgouezel:SG_lintDegLex
Closed

[Merged by Bors] - chore: fix implicit-reducible diamond in DegLex#38304
sgouezel wants to merge 1 commit intoleanprover-community:masterfrom
sgouezel:SG_lintDegLex

Conversation

@sgouezel
Copy link
Copy Markdown
Contributor

The following fails on master, works in the PR:

example : (Finsupp.DegLex.instLinearOrderDegLexNat.toLT : LT
(DegLex (α →₀ ℕ))) =
    Finsupp.DegLex.instLTDegLexNat := by
  with_reducible_and_instances rfl

Open in Gitpod

@github-actions
Copy link
Copy Markdown

PR summary cc26c21489

Import changes for modified files

No significant changes to the import graph

Import changes for all files
Files Import difference

Declarations diff

No declarations were harmed in the making of this PR! 🐙

You can run this locally as follows
## summary with just the declaration names:
./scripts/pr_summary/declarations_diff.sh <optional_commit>

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

The doc-module for scripts/pr_summary/declarations_diff.sh contains some details about this script.


Decrease in tech debt: (relative, absolute) = (2.00, 0.00)
Current number Change Type
6216 -2 backward.isDefEq.respectTransparency

Current commit ddd7efd184
Reference commit cc26c21489

You can run this locally as

./scripts/reporting/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).

@github-actions github-actions Bot added the t-data Data (lists, quotients, numbers, etc) label Apr 20, 2026
@kbuzzard
Copy link
Copy Markdown
Member

Nice!

bors merge

@mathlib-triage mathlib-triage Bot added the ready-to-merge This PR has been sent to bors. label Apr 20, 2026
mathlib-bors Bot pushed a commit that referenced this pull request Apr 20, 2026
The following fails on master, works in the PR:
```lean
example : (Finsupp.DegLex.instLinearOrderDegLexNat.toLT : LT
(DegLex (α →₀ ℕ))) =
    Finsupp.DegLex.instLTDegLexNat := by
  with_reducible_and_instances rfl
```

Co-authored-by: sgouezel <sebastien.gouezel@univ-rennes1.fr>
@mathlib-bors
Copy link
Copy Markdown
Contributor

mathlib-bors Bot commented Apr 20, 2026

Pull request successfully merged into master.

Build succeeded:

@mathlib-bors mathlib-bors Bot changed the title chore: fix implicit-reducible diamond in DegLex [Merged by Bors] - chore: fix implicit-reducible diamond in DegLex Apr 20, 2026
@mathlib-bors mathlib-bors Bot closed this Apr 20, 2026
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.

2 participants