I want to write a property like the following:
(prop/for-all [x (gen/nat)
y (gen/nat)]
(= (g x y) (f x y)))
However, the property only holds when x > y
. What is the correct way to express that precondition for this property? (Better yet, how can I write this property such that y
is generated as a natural number less than x
?)