We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 394f807 commit daa2157Copy full SHA for daa2157
MathlibTest/grind/pairwise_disjoint.lean
@@ -5,7 +5,14 @@ abbrev S1 : Fin 3 → Finset (Fin 4)
5
| 1 => {1}
6
| 2 => {2, 3}
7
8
-attribute [grind _=_] LawfulSingleton.insert_emptyc_eq
+-- #adaptation_note 2025-10-27
9
+-- This theorem was deprecated, but the replacement theorm has `Singleton` as an implicit argument,
10
+-- and this seems to confuse `grind`.
11
+theorem LawfulSingleton.insert_empty_eq' [EmptyCollection β] [Insert α β] [Singleton α β]
12
+ [LawfulSingleton α β] (x : α) : (insert x ∅ : β) = singleton x :=
13
+ insert_empty_eq _
14
+
15
+attribute [grind _=_] LawfulSingleton.insert_empty_eq'
16
17
attribute [grind =] Finset.mem_singleton
18
0 commit comments