Sign in
◑
Theme
fuchsia
/
third_party
/
github.com
/
leanprover
/
lean4
/
HEAD
/
.
/
tests
/
elab
/
haveI.lean
blob: 6bac90a1dd2bffaa2eb9a11d57b3273f2c4474d2 [
file
]
example
(
a
:
Array
α)
(
x
:
α)
(
i
:
Nat
)
(
h
:
i
<
a
.
size
)
:
haveI
:
i
<
(
a
.
push x
).
size
:=
by
simp
[*,
Nat
.
lt_succ_of_le
,
Nat
.
le_of_lt
]
(
a
.
push x
)[
i
]
=
a
[
i
]
:=
by
sorry