Lemmas about List.Subset, List.Sublist, List.IsPrefix, List.IsSuffix, and List.IsInfix. #
isPrefixOf #
@[simp]
theorem
List.isPrefixOf_cons_cons_self
{α : Type u_1}
[BEq α]
{as bs : List α}
[LawfulBEq α]
{a : α}
:
@[deprecated List.isPrefixOf_cons_cons_self (since := "2026-02-26")]
isSuffixOf #
Subset #
List subset #
@[implicit_reducible]
instance
List.instTransSubsetMem
{α : Type u_1}
:
Trans (fun (l₁ l₂ : List α) => l₂ ⊆ l₁) Membership.mem Membership.mem
Sublist and isSublist #
@[implicit_reducible]
instance
List.instTransSublistMem
{α : Type u_1}
:
Trans (fun (l₁ l₂ : List α) => l₂.Sublist l₁) Membership.mem Membership.mem
@[implicit_reducible]
IsPrefix / IsSuffix / IsInfix #
@[implicit_reducible]
@[implicit_reducible]
@[implicit_reducible]