Lemmas about Vector.zip, Vector.zipWith, Vector.zipWithAll, and Vector.unzip. #
Zippers #
zipWith #
theorem
Vector.getElem?_zipWith
{α : Type u_1}
{β : Type u_2}
{γ : Type u_3}
{n✝ : Nat}
{as : Vector α n✝}
{bs : Vector β n✝}
{f : α → β → γ}
{i : Nat}
:
See also getElem?_zipWith' for a variant
using Option.map and Option.bind rather than a match.
theorem
Vector.getElem?_zipWith'
{α : Type u_1}
{β : Type u_2}
{γ : Type u_3}
{n✝ : Nat}
{as : Vector α n✝}
{bs : Vector β n✝}
{f : α → β → γ}
{i : Nat}
:
Variant of getElem?_zipWith using Option.map and Option.bind rather than a match.