Open JustusAdam opened 1 year ago
Hello! I was curious if there was a sense of when this functionality might be available?
I was trying to create a function contract to express the hashing property:
kani::ensures(result != hash(kani::any_where(|x| *x != input)))
but I believe I need quantifiers for this to actually work. Thank you!
A rudimentary implementation for
forall
andexists
for kani function contracts. They are implemented as higher-order builtins, which compile to__CPROVER_forall
and__CPROVER_exists
respectively.