Skip to content

[Merged by Bors] - chore: deprecate Mul.toSMul in favour of lean4 instance - #31040

Closed
kim-em wants to merge 4 commits into
leanprover-community:masterfrom
kim-em:deprecate_Mul.toSMul
Closed

kim-em wants to merge 4 commits into
leanprover-community:masterfrom
kim-em:deprecate_Mul.toSMul

Conversation

@kim-em

@kim-em kim-em commented Oct 29, 2025 •

Copy link
Copy Markdown
Contributor

No description provided.

@github-actions github-actions Bot added the t-algebra Algebra (groups, rings, fields, etc) label Oct 29, 2025
@github-actions

github-actions Bot commented Oct 29, 2025 •

Copy link
Copy Markdown

PR summary a2b14f1d11

Import changes for modified files

No significant changes to the import graph

Import changes for all files
Files Import difference

Declarations diff

+ Mul.toSMul
- instance (priority := 910) Mul.toSMul (α : Type*) [Mul α] : SMul α α := ⟨(· * ·)⟩

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

Comment thread Mathlib/Algebra/Group/Action/Defs.lean Resolved
@kim-em
kim-em force-pushed the deprecate_Mul.toSMul branch from da2b567 to 400bf13 Compare October 29, 2025 05:26

@jcommelin jcommelin 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 merge

@ghost ghost added the ready-to-merge This PR has been sent to bors. label Oct 31, 2025
@mathlib-bors

mathlib-bors Bot commented Oct 31, 2025

Copy link
Copy Markdown
Contributor

Pull request successfully merged into master.

Build succeeded:

@mathlib-bors mathlib-bors Bot changed the title chore: deprecate Mul.toSMul in favour of lean4 instance [Merged by Bors] - chore: deprecate Mul.toSMul in favour of lean4 instance Oct 31, 2025
@mathlib-bors mathlib-bors Bot closed this Oct 31, 2025
BeibeiX0 pushed a commit to BeibeiX0/mathlib4 that referenced this pull request Nov 7, 2025
@kbuzzard

kbuzzard commented Dec 7, 2025

Copy link
Copy Markdown
Member

!bench

@leanprover-radar

leanprover-radar commented Dec 7, 2025 •

Copy link
Copy Markdown

Benchmark results for b19c781 against a2b14f1 are in! @kbuzzard

Major changes (2)
  • 🟥 build//instructions: +13.8T (+8.2%)
  • 🟥 open-mathlib//instructions: +4.1G (+6.4%)
Minor changes (2)
  • 🟥 build/module/Mathlib.RingTheory.Kaehler.Basic//instructions: +6.1G (+2.3%)
  • 🟥 lint//instructions: +181.3G (+2.7%)

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-algebra Algebra (groups, rings, fields, etc)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants