law length_reverse
import bend-mathlib@0.8.1.0/list.bend as Listimport Base
131# Reversing preserves the length.
132law length_reverse:
133 for -a: Quant
134 for -A: Kind(a)
135 for xs: List<a, A>
136 {List.length(a, A, List.reverse(a, A, xs)) == List.length(a, A, xs) : Nat}