Module Logtk.Test_prop
Test Properties
type term
= Term.t
type lit
= Literal.t
type form
= Literals.t list
type res
=
|
R_ok
|
R_fail of Subst.t
val check_form : ?limit:int -> form -> res
check_form rules form
returnsR_ok
if the property seems to hold up todepth
, orR_fail subst
ifsubst
makesform
evaluate tofalse
- parameter limit
a limit on how many "steps" are done (for some notion of steps). The higher, the more expensive, but also the more accurate this is.