Documentation
Init
.
Data
.
Array
.
TakeDrop
Search
Google site search
return to top
source
Imports
Init.Data.Array.Lemmas
Init.Data.List.Nat.TakeDrop
Imported by
Array
.
exists_of_uset
source
theorem
Array
.
exists_of_uset
{α :
Type
u_1}
(self :
Array
α
)
(i :
USize
)
(d :
α
)
(h :
i
.toNat
<
self
.size
)
:
∃ (
l₁
:
List
α
),
∃ (
l₂
:
List
α
),
self
.data
=
l₁
++
self
[
i
]
::
l₂
∧
l₁
.length
=
i
.toNat
∧
(
self
.uset
i
d
h
)
.data
=
l₁
++
d
::
l₂