Skip to content

[Merged by Bors] - chore(Topology/EMetricSpace/MulOpposite): fix an instance diamond - #46098

Closed
JovanGerb wants to merge 1 commit into
leanprover-community:masterfrom
JovanGerb:Jovan-MulOpposite.instWeakPseudoEMetricSpace
Closed

JovanGerb wants to merge 1 commit into
leanprover-community:masterfrom
JovanGerb:Jovan-MulOpposite.instWeakPseudoEMetricSpace

Conversation

@JovanGerb

@JovanGerb JovanGerb commented Nov 16, 2026 •

Copy link
Copy Markdown
Contributor

This PR fixes an (implicit reducible) instance diamond. The fix is to make the instance use MulOpposite.unop instead of MulOpposite.opHomeomorph.symm

Found by the instance diamond linter (#38781)


@github-actions

github-actions Bot commented Nov 16, 2026 •

Copy link
Copy Markdown

PR summary 55986a2d81

Import changes for modified files

No significant changes to the import graph

Import changes for all files
Files Import difference

Declarations diff (regex)

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.

Declarations diff (Lean)

✅ Lean-aware diff — post-build, computed from the Lean environment (commit 55986a2).

  • +0 new declarations
  • −0 removed declarations

No declaration differences.


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

Current commit 55986a2d81
Reference commit 4b39df7a6e

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-topology Topological spaces, uniform spaces, metric spaces, filters label Nov 16, 2026
@grunweg

grunweg commented Nov 16, 2026

Copy link
Copy Markdown
Contributor

Seems plausible, thanks! (But I'd like another pair of eyes just in case, it's late over here).
maintainer merge

@github-actions

Copy link
Copy Markdown

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

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

@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

@mathlib-bors mathlib-bors Bot added the ready-to-merge This PR has been sent to bors. label Nov 17, 2026
@mathlib-triage mathlib-triage Bot removed the maintainer-merge A reviewer has approved the changed; awaiting maintainer approval. label Nov 17, 2026
mathlib-bors Bot pushed a commit that referenced this pull request Nov 17, 2026
…6098)

This PR fixes an (implicit reducible) instance diamond. The fix is to make the instance use `MulOpposite.unop` instead of `MulOpposite.opHomeomorph.symm`

Found by the instance diamond linter (#38781)
@mathlib-bors mathlib-bors Bot added the bors-staging This PR is currently being built by bors on the staging branch. label Nov 17, 2026
@mathlib-bors

mathlib-bors Bot commented Nov 17, 2026

Copy link
Copy Markdown
Contributor

Build failed (retrying...):

@mathlib-bors mathlib-bors Bot removed the bors-staging This PR is currently being built by bors on the staging branch. label Nov 17, 2026
mathlib-bors Bot pushed a commit that referenced this pull request Nov 17, 2026
…6098)

This PR fixes an (implicit reducible) instance diamond. The fix is to make the instance use `MulOpposite.unop` instead of `MulOpposite.opHomeomorph.symm`

Found by the instance diamond linter (#38781)
@mathlib-bors mathlib-bors Bot added the bors-staging This PR is currently being built by bors on the staging branch. label Nov 17, 2026
@mathlib-bors

mathlib-bors Bot commented Nov 17, 2026

Copy link
Copy Markdown
Contributor

@mathlib-bors mathlib-bors Bot changed the title chore(Topology/EMetricSpace/MulOpposite): fix an instance diamond [Merged by Bors] - chore(Topology/EMetricSpace/MulOpposite): fix an instance diamond Nov 17, 2026
@mathlib-bors mathlib-bors Bot closed this Nov 17, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bors-staging This PR is currently being built by bors on the staging branch. ready-to-merge This PR has been sent to bors. t-topology Topological spaces, uniform spaces, metric spaces, filters

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants