law any_reverse
import bend-mathlib@0.8.1.0/list.bend as Listimport Base
1573# Reversing does not change whether some element satisfies a predicate.
1574law any_reverse:
1575 for ~a: Quant
1576 for ~A: Kind(a)
1577 for ~f: A -> Bool
1578 for xs: List<a, A>
1579 {List.any(~a, ~A, ~f, List.reverse(a, A, xs)) == List.any(~a, ~A, ~f, xs) : Bool}