law length_reverse

bend-mathlib@0.8.1.0 · list.bend:131

import bend-mathlib@0.8.1.0/list.bend as List
import 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}

Uses (5)

Used by (1)