Theorems about membership of elements in vectors #
This file contains theorems for membership in a v.toList
for a vector v
.
Having the length available in the type allows some of the lemmas to be
simpler and more general than the original version for lists.
In particular we can avoid some assumptions about types being Inhabited
,
and make more general statements about head
and tail
.
@[deprecated List.Vector.notMem_nil (since := "2025-05-23")]
Alias of List.Vector.notMem_nil
.
@[deprecated List.Vector.notMem_zero (since := "2025-05-23")]
Alias of List.Vector.notMem_zero
.
@[deprecated List.Vector.notMem_map_zero (since := "2025-05-23")]
theorem
List.Vector.not_mem_map_zero
{α : Type u_1}
{β : Type u_2}
(b : β)
(v : Vector α 0)
(f : α → β)
:
Alias of List.Vector.notMem_map_zero
.