Sign in
◑
Theme
fuchsia
/
third_party
/
github.com
/
leanprover
/
lean4
/
HEAD
/
.
/
tests
/
elab
/
grind_getElem.lean
blob: 9c7153c30dd5f6115e9873aef06e2982a97c45c5 [
file
]
module
reset_grind_attrs
%
attribute
[
grind
]
List
.
length_cons
List
.
length_nil
List
.
getElem_cons
List
.
getElem
?
_cons
List
.
getElem
?
_nil
example
{
l
:
List
α}
:
l
[
i
]?
=
some a
↔
∃
h
:
i
<
l
.
length
,
l
[
i
]
=
a
:=
by
induction l generalizing i
<;>
grind