Affect the effort made in type-reasoning
This is a relatively advanced event that affects the type-reasoning
heuristics. (The name “dwp” stands for “double-whammy
property” because the effect pertains to making a second attempt.) The
default behavior is obtained with
Note: This is an event! It does not print the usual event summary but nevertheless changes the ACL2 logical world and is so recorded. It is local to the book or encapsulate form in which it occurs; see set-dwp! for a corresponding non-local event.
General Form: (set-dwp val)
where
The following example, from Eric Smith, proves after evaluating
(thm (implies (and (<= 0 (* 2 k)) ; extra hyp ; (unsigned-byte-p 4 k) (integerp x) (< x (+ 4 (* 2 k)))) (<= x (+ 3 (* 2 k)))) :hints (("Goal" :in-theory (disable unsigned-byte-p))))
So why not always evaluate
To get the current value of