Enable/disable rules
The macro
Examples: (e/d (lemma1 (:e fn))) ; equivalent to (enable lemma1 (:e fn)) (e/d () (lemma)) ; equivalent to (disable lemma) (e/d (lemma1) (lemma2 lemma3)) ; Enable lemma1 then disable lemma2, lemma3. (e/d () (lemma1) (lemma2)) ; Disable lemma1 then enable lemma2. General Form: (e/d enables-0 disables-0 ... enables-n disables-n)
where each
The
(in-theory (e/d (e00 e01 e02 ...) (d00 d01 d02 ...) ... (en0 en1 en2 ...) (dn0 dn1 dn2 ...)
creates a theory that is equivalent to the following sequence of in-theory events. (An analogous similar effect takes place for
(in-theory (enable e00 e01 e02 ...)) (in-theory (disable d00 d01 d02 ...)) ... (in-theory (enable en0 en1 en2 ...)) (in-theory (disable dn0 dn1 dn2 ...))