Documentation

Batteries.Data.List.FinRange

@[deprecated List.length_finRange (since := "2024-11-19")]
theorem List.length_list (n : Nat) :
(List.finRange n).length = n

Alias of List.length_finRange.

@[deprecated List.getElem_finRange (since := "2024-11-19")]
theorem List.getElem_list {n : Nat} (i : Nat) (h : i < (List.finRange n).length) :
(List.finRange n)[i] = Fin.cast i, h

Alias of List.getElem_finRange.

@[deprecated List.finRange_zero (since := "2024-11-19")]

Alias of List.finRange_zero.

@[deprecated List.finRange_succ (since := "2024-11-19")]

Alias of List.finRange_succ.

@[deprecated List.finRange_succ_last (since := "2024-11-19")]

Alias of List.finRange_succ_last.

@[deprecated List.finRange_reverse (since := "2024-11-19")]

Alias of List.finRange_reverse.