Skip to content

Commit 994a5b5

Browse files
committed
cleanup tests
1 parent eb8cf99 commit 994a5b5

File tree

2 files changed

+0
-18
lines changed

2 files changed

+0
-18
lines changed

tests/lean/run/structWithAlgTCSynth.lean

-6
Original file line numberDiff line numberDiff line change
@@ -87,12 +87,6 @@ end Mathlib.Data.Quot
8787

8888
section Mathlib.Init.ZeroOne
8989

90-
class Zero.{u} (α : Type u) where
91-
zero : α
92-
93-
instance Zero.toOfNat0 {α} [Zero α] : OfNat α (nat_lit 0) where
94-
ofNat := ‹Zero α›.1
95-
9690
class One (α : Type u) where
9791
one : α
9892

tests/lean/run/synthInstsIssue.lean

-12
Original file line numberDiff line numberDiff line change
@@ -4,18 +4,6 @@ https://github.com/leanprover/lean4/pull/2793.
44
We find that we need to either specify a named argument or use `..` in certain rewrites.
55
-/
66

7-
section Mathlib.Init.ZeroOne
8-
9-
set_option autoImplicit true
10-
11-
class Zero.{u} (α : Type u) where
12-
zero : α
13-
14-
instance (priority := 300) Zero.toOfNat0 {α} [Zero α] : OfNat α (nat_lit 0) where
15-
ofNat := ‹Zero α›.1
16-
17-
end Mathlib.Init.ZeroOne
18-
197
section Mathlib.Algebra.Group.Defs
208

219
universe u v w

0 commit comments

Comments
 (0)