insertIdx #
Proves various lemmas about List.insertIdx
.
@[deprecated List.insertIdx_zero (since := "2024-10-21")]
Alias of List.insertIdx_zero
.
@[deprecated List.insertIdx_succ_nil (since := "2024-10-21")]
Alias of List.insertIdx_succ_nil
.
@[deprecated List.eraseIdx_insertIdx (since := "2024-10-21")]
Alias of List.eraseIdx_insertIdx
.
@[deprecated List.insertIdx_of_length_lt (since := "2024-10-21")]
Alias of List.insertIdx_of_length_lt
.
@[deprecated List.insertIdx_length_self (since := "2024-10-21")]
Alias of List.insertIdx_length_self
.
@[deprecated List.length_insertIdx_le_succ (since := "2024-10-21")]
Alias of List.length_insertIdx_le_succ
.
@[deprecated List.getElem_insertIdx_self (since := "2024-10-21")]
theorem
List.getElem_insertNth_self
{α : Type u}
{l : List α}
{x : α}
{n : ℕ}
(hn : n < (insertIdx n x l).length)
:
Alias of List.getElem_insertIdx_self
.
@[deprecated List.insertIdx_injective (since := "2024-10-21")]
Alias of List.insertIdx_injective
.