List.any_eq_not_all_not_sym: law of bend-mathlib@0.8.1.0 Import: import bend-mathlib@0.8.1.0/list.bend as List Lines 3121-3127 of bend-mathlib@0.8.1.0/list.bend: https://jend.leeeet.dev/read.txt?path=bend-mathlib@0.8.1.0/list.bend&start_line=3121&end_line=3127 import Base # Some element satisfies f exactly when not all elements fail it, reversed to rewrite toward the simple side. law any_eq_not_all_not_sym: for ~a: Quant for ~A: Kind(a) for ~f: A -> Bool for xs: List {Bool.not(List.all(~a, ~A, ~(x => Bool.not(f(x))), xs)) == List.any(~a, ~A, ~f, xs) : Bool} Uses (7): https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Bool https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Bool.not https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Equal.sym https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=List https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=List.all https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=List.any https://jend.leeeet.dev/definition.txt?path=bend-mathlib@0.8.1.0/list.bend&name=any_eq_not_all_not