Repository navigation
Conversation
This was referenced Oct 5, 2026
PR summary 24c474eca1Import changes for modified filesNo significant changes to the import graph Import changes for all files
|
Contributor
|
bors r+ |
mathlib-bors Bot
pushed a commit
that referenced
this pull request
Oct 5, 2026
Group public imports before private imports, with a blank line between the groups, in 2,076 Mathlib files. Preserve the order within each group, import modifiers, and comments. No imports are removed or have their visibility changed. Generated using the formatter in #44503. This is a source-only cleanup and can merge independently of the linter implementation. Supersedes #42063.
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) <noreply@anthropic.com>
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.
Group public imports before private imports, with a blank line between the groups, in 2,076 Mathlib files. Preserve the order within each group, import modifiers, and comments. No imports are removed or have their visibility changed.
Generated using the formatter in #44503. This is a source-only cleanup and can merge independently of the linter implementation.
Supersedes #42063.