law all_reverse_sym
import bend-mathlib@0.8.1.0/list.bend as Listimport Base
2812# Reversing does not change whether all elements satisfy a predicate, reversed to rewrite toward the simple side.
2813law all_reverse_sym:
2814 for ~a: Quant
2815 for ~A: Kind(a)
2816 for ~f: A -> Bool
2817 for xs: List<a, A>
2818 {List.all(~a, ~A, ~f, xs) == List.all(~a, ~A, ~f, List.reverse(a, A, xs)) : Bool}
Uses (6)
Used by (0)
No other definition uses this definition.