law append_nil

bend-mathlib@0.8.1.0 · list.bend:7

import bend-mathlib@0.8.1.0/list.bend as List
import Base

7# The empty list is a right identity for append: xs ++ [] = xs.
8law append_nil:
9  for -a: Quant
10  for -A: Kind(a)
11  for xs: List<a, A>
12  {List.append(a, A, xs, Nil{}) == xs : List<a, A>}

Uses (2)

Used by (2)