Bootstrapping theorems about arrays #
This file contains some theorems about Array and List needed for Init.Data.List.Impl.
@[simp]
theorem
Array.foldl_toList
{β : Type u_1}
{α : Type u_2}
(f : β → α → β)
{init : β}
{xs : Array α}
:
@[simp]
theorem
Array.foldr_toList
{α : Type u_1}
{β : Type u_2}
(f : α → β → β)
{init : β}
{xs : Array α}
:
@[reducible, inline, deprecated Array.toList_push (since := "2025-05-26")]
Equations
Instances For
@[simp]
@[simp]