Repository navigation
Conversation
PR summary 6a72407505Import changes for modified filesNo significant changes to the import graph Import changes for all files
|
There is already a ToFormat instance from ToString, which this instance is identical to. However, the instances are not defeq at implicit transparency, causing an instance diamond. Found by the linter in leanprover-community#38781.
grunweg
force-pushed
the
format-duplicate
branch
from
October 1, 2026 12:36
024a25f to
6a72407
Compare
mathlib-bors Bot
pushed a commit
that referenced
this pull request
Oct 6, 2026
There is already a ToFormat instance from ToString, which this instance is identical to. However, the instances are not defeq at implicit transparency, causing an instance diamond. Found by the linter in #38781. Co-authored-by: Jovan Gerbscheid <[email protected]>
Contributor
|
Pull request successfully merged into master. Build succeeded: |
kim-em
added a commit
that referenced
this pull request
Oct 12, 2026
Most conflicts come from master's regrouping of public and private imports (#44512, #44513): resolved by taking master's import layout and reapplying this PR's meta/removal changes line by line. - Mathlib/Init.lean: keep master's new `Batteries.Tactic.Alias` import and `Linter.DeclType` (which bundles the instance linters, #44436), the latter as a `public meta import`. - Mathlib/Data/Ineq.lean: drop the duplicate `ToFormat` instance as master did (#44383); the parsing functions stay moved to `Mathlib.Tactic.Ineq`. - Control/Monad/{Basic,Cont}, Lean/Expr/Basic, FieldSimp, Linarith/Lemmas, LinearCombination/Lemmas: re-add this PR's new imports (`Batteries.Data.Except`, `Lean.ProjFns`, `Lean.Structure`, `Mathlib.Tactic.Ineq`) in master's public import group. - Mathlib/Tactic/Push.lean: drop the `public import Lean.Elab.ConfigEval` that git's auto-merge reintroduced. - Mathlib/Tactic/Echelon/Core.lean: master added `public import Qq` to this `public meta section` file; make it `public meta import Qq`. Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
There is already a ToFormat instance from ToString, which this instance is identical to. However, the instances are not defeq at implicit transparency, causing an instance diamond. Found by the linter in #38781.
Co-authored-by: Jovan Gerbscheid [email protected]