Sign in
◑
Theme
fuchsia
/
third_party
/
github.com
/
leanprover
/
lean4
/
refs/heads/upstream/expose-array-back
/
.
/
tests
/
elab
/
splitAtCode.lean
blob: f38b01b2188e1ae3b7cc2e967202ffbada444c98 [
file
] [
edit
]
inductive
Foo
where
|
ctor1
(
s
:
Nat
)
|
ctor2
(
s
:
String
)
def
test
(
x y
:
Foo
)
:
Decidable
(
match
(
x
,
y
)
with
|
(.
ctor1 s
₁,
.
ctor1 s
₂)
=>
¬
s
₁
=
s
₂
|
x
=>
False
)
:=
by
split
<;>
infer_instance