law any_reverse

bend-mathlib@0.8.1.0 · list.bend:1573

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

Uses (5)

Used by (1)