Skip to content

[Merged by Bors] - feat: add "higher instance priority" library note - #38837

Closed
kbuzzard wants to merge 26 commits into
leanprover-community:masterfrom
kbuzzard:kbuzzard-higher-prio-note
Closed

kbuzzard wants to merge 26 commits into
leanprover-community:masterfrom
kbuzzard:kbuzzard-higher-prio-note

Conversation

@kbuzzard

@kbuzzard kbuzzard commented May 2, 2026 •

Copy link
Copy Markdown
Member

We add a library note explaining the logic in making instances like Semiring.toModule higher priority than the default.


Open in Gitpod

@kbuzzard kbuzzard changed the title Kbuzzard higher prio note feat: add "higher instance priority" library note May 2, 2026
@github-actions

github-actions Bot commented May 2, 2026 •

Copy link
Copy Markdown

PR summary 66014c036c

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


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

Current commit 66014c036c
Reference commit c9f4f1b787

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.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 commented May 2, 2026 •

Copy link
Copy Markdown

✅ PR Title Formatted Correctly

The title of this PR has been updated to match our commit style conventions.
Thank you!

@mathlib-dependent-issues mathlib-dependent-issues Bot added blocked-by-other-PR This PR depends on another PR (this label is automatically managed by a bot) and removed blocked-by-other-PR This PR depends on another PR (this label is automatically managed by a bot) labels May 2, 2026
@mathlib-dependent-issues

Copy link
Copy Markdown

This PR/issue depends on:

@mathlib-merge-conflicts mathlib-merge-conflicts Bot added the merge-conflict The PR has a merge conflict with master, and needs manual merging. (this label is managed by a bot) label May 5, 2026
@mathlib-merge-conflicts

Copy link
Copy Markdown

This pull request has conflicts, please merge master and resolve them.

@github-actions github-actions Bot removed the merge-conflict The PR has a merge conflict with master, and needs manual merging. (this label is managed by a bot) label May 10, 2026
Comment thread Mathlib/Algebra/HierarchyDesign.lean Resolved
@joneugster joneugster added documentation Improvements or additions to documentation t-algebra Algebra (groups, rings, fields, etc) labels May 29, 2026

@joneugster joneugster left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Thank you!

maintainer merge

@github-actions

Copy link
Copy Markdown

🚀 Pull request has been placed on the maintainer queue by joneugster.

@mathlib-triage mathlib-triage Bot added the maintainer-merge A reviewer has approved the changed; awaiting maintainer approval. label May 29, 2026

@riccardobrasca riccardobrasca left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Thanks!

bors d+

Comment thread Mathlib/Algebra/HierarchyDesign.lean Resolved
@mathlib-bors

mathlib-bors Bot commented May 29, 2026

Copy link
Copy Markdown
Contributor

✌️ kbuzzard can now approve this pull request. To approve and merge a pull request, simply reply with bors r+. More detailed instructions are available here.

@mathlib-triage mathlib-triage Bot added delegated This pull request has been delegated to the PR author (or occasionally another non-maintainer). and removed maintainer-merge A reviewer has approved the changed; awaiting maintainer approval. labels May 29, 2026
@kbuzzard

Copy link
Copy Markdown
Member Author

bors merge

@mathlib-triage mathlib-triage Bot added the ready-to-merge This PR has been sent to bors. label May 30, 2026
mathlib-bors Bot pushed a commit that referenced this pull request May 30, 2026
We add a library note explaining the logic in making instances like `Semiring.toModule` higher priority than the default.
@mathlib-bors

mathlib-bors Bot commented May 30, 2026

Copy link
Copy Markdown
Contributor

Pull request successfully merged into master.

Build succeeded:

@mathlib-bors mathlib-bors Bot changed the title feat: add "higher instance priority" library note [Merged by Bors] - feat: add "higher instance priority" library note May 30, 2026
@mathlib-bors mathlib-bors Bot closed this May 30, 2026
b-mehta pushed a commit to b-mehta/mathlib4 that referenced this pull request Jun 2, 2026
…ty#38837)

We add a library note explaining the logic in making instances like `Semiring.toModule` higher priority than the default.
Bergschaf pushed a commit to Bergschaf/mathlib4 that referenced this pull request Jun 3, 2026
…ty#38837)

We add a library note explaining the logic in making instances like `Semiring.toModule` higher priority than the default.
ReemMelamed pushed a commit to ReemMelamed/mathlib4 that referenced this pull request Jun 20, 2026
…ty#38837)

We add a library note explaining the logic in making instances like `Semiring.toModule` higher priority than the default.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

delegated This pull request has been delegated to the PR author (or occasionally another non-maintainer). documentation Improvements or additions to documentation ready-to-merge This PR has been sent to bors. t-algebra Algebra (groups, rings, fields, etc)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants