Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
313 commits
Select commit Hold shift + click to select a range
e73e820
compressDocs
adomani Mar 13, 2025
f02d337
docs and compressDocs option
adomani Mar 13, 2025
b658b1b
cleanup and tests
adomani Mar 13, 2025
a1983b4
one more doc
adomani Mar 13, 2025
088a047
chore: whitespace in the presence of doc-strings
adomani Mar 13, 2025
b7c86c4
remove commented dbg_traces, better push
adomani Mar 13, 2025
08530e2
one more
adomani Mar 13, 2025
7a8af48
more whitespace
adomani Mar 13, 2025
4f7c0ba
more whitespace
adomani Mar 13, 2025
d9af631
Merge branch 'whitespace/here_we_go_again6' into adomani/pplint_some_…
adomani Mar 13, 2025
8d2ded1
omit one more and not
adomani Mar 13, 2025
b4ed4e0
more
adomani Mar 13, 2025
870e15a
Merge branch 'whitespace/here_we_go_again6' into adomani/pplint_some_…
adomani Mar 13, 2025
2a2065f
more
adomani Mar 13, 2025
52f6080
Merge branch 'whitespace/here_we_go_again6' into adomani/pplint_some_…
adomani Mar 13, 2025
f02ecf2
lint some to_additive docstrings
adomani Mar 13, 2025
27ea3c6
Add parallelScan
adomani Mar 14, 2025
90d2562
remove ascription
adomani Mar 14, 2025
87bc4b1
shorten, FormatError
adomani Mar 14, 2025
f75a5d5
remove one field from error, cleanup
adomani Mar 14, 2025
a4d9493
better error formatting
adomani Mar 14, 2025
5290868
count from end
adomani Mar 14, 2025
9ec8128
remove length input
adomani Mar 14, 2025
ef54626
add fmtPos
adomani Mar 15, 2025
0a31a99
remove default values
adomani Mar 15, 2025
3f07439
formatting
adomani Mar 15, 2025
5720dbf
lint
adomani Mar 15, 2025
e3bcd91
more lint
adomani Mar 15, 2025
317594a
mkFormatError
adomani Mar 15, 2025
44a9c7b
add srcPos' a position, really
adomani Mar 15, 2025
5cbb481
remove default value
adomani Mar 15, 2025
9b4af9e
rename fields
adomani Mar 15, 2025
fb1bbfa
streamLine
adomani Mar 15, 2025
fae6cd5
treat partly also M
adomani Mar 15, 2025
ec94e70
process strings
adomani Mar 15, 2025
f1dcc5a
trimLeft
adomani Mar 15, 2025
3ea00c6
trimLeft also L
adomani Mar 15, 2025
9821bbb
changes to Mathlib/Data/Nat/Basic.lean
adomani Mar 31, 2025
1c228e6
Merge remote-tracking branch 'origin/master' into test/recoverpplint
adomani Apr 27, 2025
066a334
typos
adomani Apr 27, 2025
ea58a83
logLint, better message and some adaptations in tests
adomani Apr 27, 2025
3c2d704
FormatError docs, add length, add pushFormatError
adomani Apr 27, 2025
8c7eefe
use pushFormatError
adomani Apr 27, 2025
6f782fd
compute length as stringPos
adomani Apr 27, 2025
8d92443
remove comment
adomani Apr 27, 2025
a48397a
add ctx
adomani Apr 27, 2025
6dcfb90
try to limit
adomani Apr 27, 2025
931db44
add unlinted ranges
adomani Apr 30, 2025
9e16841
reduce exceptions
adomani Apr 30, 2025
ba40d5f
cleanup Mathlib/Data/Nat/Basic.lean
adomani Apr 30, 2025
677c6a1
Merge remote-tracking branch 'origin/master' into test/recoverpplint
adomani Apr 30, 2025
9abcda5
shorter tests
adomani Apr 30, 2025
771b69c
update mathlib
adomani Apr 30, 2025
7fd950b
chore: whitespace adaptations
adomani Apr 30, 2025
e800d00
Merge branch 'whitespace/more_updates' into test/recoverpplint
adomani Apr 30, 2025
4477681
skip macro_rules
adomani Apr 30, 2025
b752ba5
chore: whitespace fixes
adomani Apr 30, 2025
921c1d5
ignore superscripts
adomani Apr 30, 2025
3b40153
Merge remote-tracking branch 'origin/master' into test/recoverpplint
adomani Apr 30, 2025
cdfe9f8
chore: further whitespace fixes
grunweg Apr 30, 2025
00b69f0
chore(IsManifold): use modern config syntax
grunweg Apr 30, 2025
64b5287
more fixes
grunweg Apr 30, 2025
53c1b43
chore: more whitespace fixes
grunweg Apr 30, 2025
1dcf229
chore: use modern config syntax
grunweg Apr 30, 2025
a06e5f4
chore: more whitespace fixes
grunweg Apr 30, 2025
f6377b0
Last batch?
grunweg Apr 30, 2025
7a7cfb5
Ignore Bundle.TotalSpace.proj and Finset.slice
adomani Apr 30, 2025
d654ba4
Merge remote-tracking branch 'origin/master' into test/recoverpplint
adomani Apr 30, 2025
d48c205
Merge remote-tracking branch 'origin/master' into test/recoverpplint
adomani Apr 30, 2025
c17025a
Apply suggestions from code review
adomani Apr 30, 2025
3e13e3e
manually remove comments starting with `--`
adomani Apr 30, 2025
127f57a
fix tests
adomani Apr 30, 2025
a8213db
more silent tests
adomani Apr 30, 2025
095f9b3
unlint doc-strings
adomani Apr 30, 2025
30f1b71
unlint omit
adomani Apr 30, 2025
228ccff
Try to handle comments
adomani Apr 30, 2025
772af59
more comment fix
adomani Apr 30, 2025
002bcf8
chore: whitespace adaptations
adomani Apr 30, 2025
2e5687b
chore: whitespace adaptations
adomani Apr 30, 2025
b8e8415
remove unwanted file
adomani Apr 30, 2025
6413d57
Merge branch 'whitespace/yet_more_adaptations' into test/recoverpplint
adomani Apr 30, 2025
b2cd73b
allow string literals, subscripts and aesop rulesets
adomani Apr 30, 2025
b16b63b
docs
adomani Apr 30, 2025
20876f3
Skip run_cmd
adomani Apr 30, 2025
59c3490
punt on `Oh no!"
adomani Apr 30, 2025
c0c0bec
fix inductive
adomani Apr 30, 2025
64d6259
improved tests
adomani Apr 30, 2025
f0d2053
Update CoprodI.lean
adomani May 1, 2025
38cc18a
Update Multiplication.lean
adomani May 1, 2025
af4d2ae
Update Imo2019Q4.lean
adomani May 1, 2025
d63def2
Merge branch 'master' into test/recoverpplint
Parcly-Taxel May 1, 2025
e41d214
chore(MathlibTest/linarith): add spaces around binary operators
grunweg May 1, 2025
f07349d
chore(MathlibTest): fix style issues; disable the commandStart linter…
grunweg May 1, 2025
07e9a11
chore(MathlibTest/norm_num): don't indent sections
grunweg May 1, 2025
5c0ab2c
chore: more miscellaneous fixes
grunweg May 1, 2025
dfeb277
chore: a few more test fixes
grunweg May 1, 2025
ac14b2a
chore: whitespace still
adomani May 1, 2025
02590d7
update linter
adomani May 1, 2025
9d83ba4
Merge branch 'whitespace/further_changes' into test/recoverpplint
adomani May 1, 2025
3ba90ec
remove irrecoverable test
adomani May 1, 2025
3a47c5d
remove unwanted file
adomani May 1, 2025
707be72
restore Mathlib/Topology/CWComplex/Classical/Basic.lean
adomani May 1, 2025
5a6b782
no hello
adomani May 1, 2025
5beb7f4
a recent addition
adomani May 1, 2025
f917151
Merge branch 'whitespace/further_changes' into test/recoverpplint
adomani May 1, 2025
bec476e
clean up exceptions
adomani May 1, 2025
0988183
prune comments
adomani May 1, 2025
7054aec
Merge remote-tracking branch 'origin/master' into test/recoverpplint
adomani May 1, 2025
762b123
chore: simp_rw changes
grunweg May 1, 2025
a71d881
chore: simp(a) +contextual
grunweg May 1, 2025
f904198
Fix minImports
adomani May 1, 2025
3cae2d8
chore: big combination of things
grunweg May 1, 2025
7886b64
shake
adomani May 1, 2025
b5094fe
set option to false
adomani May 1, 2025
5f0e1df
Merge remote-tracking branch 'origin/MR-more-config' into test/recove…
adomani May 1, 2025
6460375
Merge remote-tracking branch 'origin/master' into test/recoverpplint
adomani May 1, 2025
ff7f2b2
Merge remote-tracking branch 'origin/master' into test/recoverpplint
adomani May 1, 2025
0ee9c3f
Merge remote-tracking branch 'origin/master' into test/recoverpplint
adomani May 1, 2025
37c262b
fix: pretty-printing of `#min_imports in`
adomani May 1, 2025
4dd03fe
Merge branch 'adomani/min_imports_in_pp' into test/recoverpplint
adomani May 1, 2025
371bb5c
Merge remote-tracking branch 'origin/master' into test/recoverpplint
adomani May 1, 2025
458efe7
Merge remote-tracking branch 'origin/master' into test/recoverpplint
adomani May 1, 2025
77b8f13
Use `mkWindow`
adomani May 2, 2025
e315911
reformulate message
adomani May 2, 2025
9ebd91c
Merge remote-tracking branch 'origin/master' into test/recoverpplint
adomani May 2, 2025
a3e3743
include better pp output
adomani May 2, 2025
556089d
reformat message
adomani May 2, 2025
04c9915
Merge remote-tracking branch 'origin/master' into test/recoverpplint
adomani May 4, 2025
426779f
chore: whitespace fixes
adomani May 4, 2025
09cff1c
chore: whitespace fixes
adomani May 4, 2025
06cebb9
Merge branch 'whitespace/cat_theory' into test/recoverpplint
adomani May 4, 2025
4ee2fbc
Merge remote-tracking branch 'origin/master' into test/recoverpplint
adomani May 4, 2025
c75c872
Merge remote-tracking branch 'origin/master' into test/recoverpplint
adomani May 5, 2025
f71f7db
Merge remote-tracking branch 'origin/master' into test/recoverpplint
adomani May 7, 2025
49b75cd
chore: whitespace fixes
adomani May 7, 2025
d29b595
Merge remote-tracking branch 'origin/master' into test/recoverpplint
adomani May 7, 2025
840f3b9
Merge remote-tracking branch 'origin/master' into test/recoverpplint
adomani May 8, 2025
914a566
Merge remote-tracking branch 'origin/master' into test/recoverpplint
adomani May 13, 2025
61de019
chore: whitespace fixes
adomani May 13, 2025
44010dc
chore: whitespace fixes
adomani May 13, 2025
3a86e86
Merge branch 'whitespace/more_linter_whitespace' into test/recoverpplint
adomani May 13, 2025
ff9072b
Merge remote-tracking branch 'origin/master' into test/recoverpplint
adomani May 13, 2025
6e3aa42
chore: whitespace adaptations
adomani May 13, 2025
5abbaf2
chore: whitespace adaptations
adomani May 13, 2025
bb92df1
Merge branch 'whitespace/more_updates1' into test/recoverpplint
adomani May 13, 2025
2a4d08b
Merge remote-tracking branch 'origin/master' into test/recoverpplint
adomani May 13, 2025
0fd52ff
Merge remote-tracking branch 'origin/master' into test/recoverpplint
adomani May 13, 2025
c4c18e2
Merge remote-tracking branch 'origin/master' into test/recoverpplint
adomani May 14, 2025
ffbe5b0
Merge remote-tracking branch 'origin/master' into test/recoverpplint
adomani May 15, 2025
b5de810
fix(whitespace): better `≡ᵀ` pretty-print and remove a space
adomani May 16, 2025
916ccad
Merge remote-tracking branch 'origin/master' into test/recoverpplint
adomani May 16, 2025
f8a942c
Merge remote-tracking branch 'origin/master' into test/recoverpplint
adomani May 16, 2025
c0e57be
Merge remote-tracking branch 'origin/master' into test/recoverpplint
adomani May 19, 2025
1766ea3
fix(whitespace): random spaces
adomani May 19, 2025
ec8d9d8
Merge remote-tracking branch 'origin/master' into test/recoverpplint
adomani May 19, 2025
47b7f73
doc-string typo
adomani May 19, 2025
adb8ac9
Merge remote-tracking branch 'origin/master' into test/recoverpplint
adomani May 19, 2025
0f36652
Merge remote-tracking branch 'origin/master' into test/recoverpplint
adomani May 20, 2025
0f1eee0
fix: whitespace
adomani May 20, 2025
59fa7e5
fix: whitespace
adomani May 20, 2025
58bd689
Merge remote-tracking branch 'origin/master' into test/recoverpplint
adomani May 21, 2025
d25b87c
add comment about merged Aesop pretty-printing
adomani May 21, 2025
5b004d6
Merge remote-tracking branch 'origin/master' into test/recoverpplint
adomani May 21, 2025
df06296
remove aesop exception
adomani May 22, 2025
1d7b72a
Merge remote-tracking branch 'origin/master' into test/recoverpplint
adomani May 22, 2025
5ad10ec
Merge remote-tracking branch 'origin/master' into test/recoverpplint
adomani May 22, 2025
9b0ae8c
one more
adomani May 23, 2025
a81f7eb
Merge remote-tracking branch 'origin/master' into whitespace/two_more
adomani May 23, 2025
dc4b3d6
one more
adomani May 23, 2025
565c662
Merge branch 'whitespace/two_more' into test/recoverpplint
adomani May 23, 2025
9721f5c
Merge remote-tracking branch 'origin/master' into test/recoverpplint
adomani May 23, 2025
4fb6a9c
whitespace
adomani May 23, 2025
44d4a05
Merge remote-tracking branch 'origin/master' into whitespace/two_more
adomani May 23, 2025
671c9a9
whitespace
adomani May 23, 2025
fa51991
Merge branch 'whitespace/two_more' into test/recoverpplint
adomani May 23, 2025
b233d52
Merge remote-tracking branch 'origin/master' into test/recoverpplint
adomani May 24, 2025
a8f9505
Merge remote-tracking branch 'origin/master' into test/recoverpplint
adomani May 24, 2025
ad89804
Merge remote-tracking branch 'origin/master' into test/recoverpplint
adomani May 25, 2025
3ceb619
Merge remote-tracking branch 'origin/master' into test/recoverpplint
adomani May 26, 2025
4207bd4
Merge remote-tracking branch 'origin/master' into test/recoverpplint
adomani May 26, 2025
34d8a91
Merge remote-tracking branch 'origin/master' into test/recoverpplint
adomani May 27, 2025
7efd171
another fix
adomani May 27, 2025
e83efc8
Merge remote-tracking branch 'origin/master' into test/recoverpplint
adomani May 27, 2025
fad36b0
Merge remote-tracking branch 'origin/master' into test/recoverpplint
adomani May 28, 2025
44288cf
Merge remote-tracking branch 'origin/master' into test/recoverpplint
adomani May 29, 2025
b1cb0db
Merge remote-tracking branch 'origin/master' into test/recoverpplint
adomani May 29, 2025
9959839
Merge remote-tracking branch 'origin/master' into test/recoverpplint
adomani Jun 2, 2025
6746824
chore: remove whitespace
adomani Jun 2, 2025
88016b1
Merge remote-tracking branch 'origin/master' into test/recoverpplint
adomani Jun 3, 2025
5dd295a
update to linteroptions
adomani Jun 3, 2025
aa33ae9
chore: remove whitespace
adomani Jun 3, 2025
f8b2a25
chore: remove whitespace
adomani Jun 3, 2025
f0fc7c8
remove argument
adomani Jun 3, 2025
d3880de
reset
adomani Jun 3, 2025
7095b6b
Merge branch 'whitespace/remove_more' into test/recoverpplint
adomani Jun 3, 2025
9f9766a
Merge remote-tracking branch 'origin/master' into test/recoverpplint
adomani Jun 3, 2025
399dc40
look at omit
adomani Jun 3, 2025
c69235f
chore
adomani Jun 3, 2025
e03fcb0
no limit awareness
adomani Jun 4, 2025
c949dec
some limits
adomani Jun 4, 2025
67bc8a3
Merge remote-tracking branch 'origin/master' into test/recoverpplint
adomani Jun 4, 2025
feabc5c
first batch of comments
adomani Jun 4, 2025
9974ec7
Apply suggestions from code review
adomani Jun 4, 2025
3b9856b
Merge branch 'test/recoverpplint' of github.com:leanprover-community/…
adomani Jun 4, 2025
da42c33
perf: return early if there is nothing to scan
grunweg Jun 4, 2025
80d0143
Some nits from code review
grunweg Jun 4, 2025
afae85d
Import linter in the right place
grunweg Jun 4, 2025
b00ed06
Tweak test file
grunweg Jun 4, 2025
3c74b68
Merge remote-tracking branch 'origin/master' into test/recoverpplint
adomani Jun 4, 2025
695e2ef
chore: remove file from other PR
grunweg Jun 4, 2025
662f5aa
chore: fix miscelleneous spaces
grunweg Jun 4, 2025
5a8cd76
chore(test): group test cases a bit better
grunweg Jun 4, 2025
7663f7d
chore: add test for a current false positive
grunweg Jun 4, 2025
51eb1f8
One more test for false positives
grunweg Jun 4, 2025
aec275e
And a third one, for intended behaviour
grunweg Jun 4, 2025
bd99ba1
Merge branch 'test/recoverpplint' of github.com:leanprover-community/…
adomani Jun 4, 2025
4e79c8d
Reduce diff
grunweg Jun 4, 2025
44d107b
Three more spaces
grunweg Jun 4, 2025
3796e15
Merge remote-tracking branch 'origin/master' into test/recoverpplint
adomani Jun 4, 2025
7b951f5
RFC: notation_class* --- please double-check
grunweg Jun 4, 2025
2a6fcf8
chore: allow three instnaces of manual alignment, for now
grunweg Jun 4, 2025
0a688f6
chore: remove some manual alignment
grunweg Jun 4, 2025
451869d
double quoted names
adomani Jun 4, 2025
36058e1
Merge branch 'test/recoverpplint' of github.com:leanprover-community/…
adomani Jun 4, 2025
5f5ea58
fixes
adomani Jun 4, 2025
f68e26d
Try adding a test for the last error in mathlib: somehow, this doesn'…
grunweg Jun 4, 2025
dbda40a
Merge branch 'master' into test/recoverpplint
grunweg Jun 4, 2025
40fc1a6
temp: disable linter once
grunweg Jun 4, 2025
ed71747
Fix `where` exception
adomani Jun 4, 2025
1408891
Merge branch 'test/recoverpplint' of github.com:leanprover-community/…
adomani Jun 4, 2025
794aa3e
remove exception
adomani Jun 4, 2025
04e0bae
Remove duplicate test
grunweg Jun 4, 2025
0eff3ec
Move
grunweg Jun 4, 2025
e491981
Merge remote-tracking branch 'origin/master' into test/recoverpplint
adomani Jun 4, 2025
ec564cb
Clarify `isOutside`
adomani Jun 4, 2025
1ffe9e9
Add test for `mkWindow`
adomani Jun 4, 2025
dc3d804
remove noise
adomani Jun 4, 2025
280ba7d
Merge remote-tracking branch 'origin/master' into test/recoverpplint
adomani Jun 4, 2025
c464f61
Update Mathlib/Tactic/Linter/CommandStart.lean
adomani Jun 5, 2025
098197a
Merge remote-tracking branch 'upstream/master' into test/recoverpplint
adomani Jun 16, 2025
b1cf682
chore: whitespace fixes
adomani Jun 16, 2025
c33b15a
Merge remote-tracking branch 'upstream/master' into test/recoverpplint
adomani Jun 16, 2025
3939982
chore: adapt whitespace
adomani Jun 16, 2025
7f85cb7
explain comments and doc-strings
adomani Jun 17, 2025
0d0aa08
Apply suggestions from code review
adomani Jun 17, 2025
0e05ae2
Merge branch 'test/recoverpplint' of github.com:leanprover-community/…
adomani Jun 17, 2025
b5df788
Merge remote-tracking branch 'upstream/master' into test/recoverpplint
adomani Jun 17, 2025
eafbad4
remove whitespace
adomani Jun 17, 2025
25c78c4
long line
adomani Jun 17, 2025
479f72c
fix
adomani Jun 17, 2025
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions Mathlib.lean
Original file line number Diff line number Diff line change
Expand Up @@ -5790,6 +5790,7 @@ import Mathlib.Tactic.LinearCombination
import Mathlib.Tactic.LinearCombination'
import Mathlib.Tactic.LinearCombination.Lemmas
import Mathlib.Tactic.Linter
import Mathlib.Tactic.Linter.CommandStart
import Mathlib.Tactic.Linter.DeprecatedModule
import Mathlib.Tactic.Linter.DeprecatedSyntaxLinter
import Mathlib.Tactic.Linter.DirectoryDependency
Expand Down
4 changes: 4 additions & 0 deletions Mathlib/Algebra/Group/Int/Defs.lean
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,8 @@ These also prevent non-computable instances like `Int.instNormedCommRing` being
these instances non-computably.
-/

set_option linter.style.commandStart false

instance instAddCommMonoid : AddCommMonoid ℤ := by infer_instance
instance instAddMonoid : AddMonoid ℤ := by infer_instance
instance instMonoid : Monoid ℤ := by infer_instance
Expand All @@ -64,6 +66,8 @@ instance instAddGroup : AddGroup ℤ := by infer_instance
instance instAddCommSemigroup : AddCommSemigroup ℤ := by infer_instance
instance instAddSemigroup : AddSemigroup ℤ := by infer_instance

set_option linter.style.commandStart true

end Int

-- TODO: Do we really need this lemma? This is just `smul_eq_mul`
Expand Down
4 changes: 4 additions & 0 deletions Mathlib/Algebra/Group/Nat/Defs.lean
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,8 @@ instance instCommMonoid : CommMonoid ℕ where
These also prevent non-computable instances being used to construct these instances non-computably.
-/

set_option linter.style.commandStart false

instance instAddCommMonoid : AddCommMonoid ℕ := by infer_instance
instance instAddMonoid : AddMonoid ℕ := by infer_instance
instance instMonoid : Monoid ℕ := by infer_instance
Expand All @@ -61,6 +63,8 @@ instance instAddCommSemigroup : AddCommSemigroup ℕ := by infer_instance
instance instAddSemigroup : AddSemigroup ℕ := by infer_instance
instance instOne : One ℕ := inferInstance

set_option linter.style.commandStart true

/-! ### Miscellaneous lemmas -/

-- We set the simp priority slightly lower than default; later more general lemmas will replace it.
Expand Down
4 changes: 4 additions & 0 deletions Mathlib/Algebra/Ring/Int/Defs.lean
Original file line number Diff line number Diff line change
Expand Up @@ -73,9 +73,13 @@ These also prevent non-computable instances like `Int.normedCommRing` being used
these instances non-computably.
-/

set_option linter.style.commandStart false

instance instCommSemiring : CommSemiring ℤ := inferInstance
instance instSemiring : Semiring ℤ := inferInstance
instance instRing : Ring ℤ := inferInstance
instance instDistrib : Distrib ℤ := inferInstance

set_option linter.style.commandStart true

end Int
2 changes: 1 addition & 1 deletion Mathlib/Data/FunLike/Basic.lean
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,7 @@ For non-dependent functions you can also use the abbreviation `FunLike`.
This typeclass is used in the definition of the homomorphism typeclasses,
such as `ZeroHomClass`, `MulHomClass`, `MonoidHomClass`, ....
-/
@[notation_class * toFun Simps.findCoercionArgs]
@[notation_class* toFun Simps.findCoercionArgs]
class DFunLike (F : Sort*) (α : outParam (Sort*)) (β : outParam <| α → Sort*) where
/-- The coercion from `F` to a function. -/
coe : F → ∀ a : α, β a
Expand Down
2 changes: 1 addition & 1 deletion Mathlib/Data/SetLike/Basic.lean
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ Then you should *not* repeat the `outParam` declaration so `SetLike` will supply
This ensures your subclass will not have issues with synthesis of the `[Mul M]` parameter starting
before the value of `M` is known.
-/
@[notation_class * carrier Simps.findCoercionArgs]
@[notation_class* carrier Simps.findCoercionArgs]
class SetLike (A : Type*) (B : outParam Type*) where
/-- The coercion from a term of a `SetLike` to its corresponding `Set`. -/
protected coe : A → Set B
Expand Down
4 changes: 3 additions & 1 deletion Mathlib/Init.lean
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
import Lean.Linter.Sets -- for the definition of linter sets
import Mathlib.Tactic.Linter.CommandStart
import Mathlib.Tactic.Linter.DeprecatedSyntaxLinter
import Mathlib.Tactic.Linter.DirectoryDependency
import Mathlib.Tactic.Linter.DocPrime
Expand Down Expand Up @@ -60,10 +61,11 @@ register_linter_set linter.mathlibStandardSet :=
linter.allScriptsDocumented
linter.checkInitImports

linter.hashCommand
linter.oldObtain
linter.style.cases
linter.style.refine
linter.hashCommand
linter.style.commandStart
linter.style.cdot
linter.style.docString
linter.style.dollarSyntax
Expand Down
2 changes: 1 addition & 1 deletion Mathlib/RingTheory/Polynomial/ContentIdeal.lean
Original file line number Diff line number Diff line change
Expand Up @@ -176,7 +176,7 @@ theorem mul_contentIdeal_le_radical_contentIdeal_mul :
contentIdeal_eq_bot_iff, mul_eq_zero] using hpq

theorem contentIdeal_mul_eq_top_of_contentIdeal_eq_top (hp : p.contentIdeal = ⊤)
(hq : q.contentIdeal = ⊤) : (p * q).contentIdeal = ⊤ := by
(hq : q.contentIdeal = ⊤) : (p * q).contentIdeal = ⊤ := by
rw [← Ideal.radical_eq_top]
apply le_antisymm le_top
calc
Expand Down
1 change: 1 addition & 0 deletions Mathlib/Tactic.lean
Original file line number Diff line number Diff line change
Expand Up @@ -145,6 +145,7 @@ import Mathlib.Tactic.LinearCombination
import Mathlib.Tactic.LinearCombination'
import Mathlib.Tactic.LinearCombination.Lemmas
import Mathlib.Tactic.Linter
import Mathlib.Tactic.Linter.CommandStart
import Mathlib.Tactic.Linter.DeprecatedModule
import Mathlib.Tactic.Linter.DeprecatedSyntaxLinter
import Mathlib.Tactic.Linter.DirectoryDependency
Expand Down
Loading