Skip to content

Commit daa2157

Browse files
committed
fix test?
1 parent 394f807 commit daa2157

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

MathlibTest/grind/pairwise_disjoint.lean

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,14 @@ abbrev S1 : Fin 3 → Finset (Fin 4)
55
| 1 => {1}
66
| 2 => {2, 3}
77

8-
attribute [grind _=_] LawfulSingleton.insert_emptyc_eq
8+
-- #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'
916

1017
attribute [grind =] Finset.mem_singleton
1118

0 commit comments

Comments
 (0)