law all_reverse
import bend-mathlib@0.8.1.0/list.bend as Listimport Base
1548# Reversing does not change whether all elements satisfy a predicate.
1549law all_reverse:
1550 for ~a: Quant
1551 for ~A: Kind(a)
1552 for ~f: A -> Bool
1553 for xs: List<a, A>
1554 {List.all(~a, ~A, ~f, List.reverse(a, A, xs)) == List.all(~a, ~A, ~f, xs) : Bool}