Major Section: HISTORY
:pr fn ; prints the rules from the definition of fn (including any ; :type-prescription rule and :definition rule)
:pr assoc-append ; if assoc-append is a rewrite rule, prints that rule
Also see pr!, which is similar but works at the command level instead of at the event level.
Pr takes one argument, a logical name, and prints the rules
associated with it. In each case it prints the rune, the current
enabled/disabled status, and other appropriate fields from the rule.
It may be helpful to read the documentation for various kinds of
rules in order to understand the information printed by this
command. For example, the information printed for a linear rule
Rune: (:LINEAR ABC) Status: Enabled Hyps: ((CONSP X)) Concl: (< (ACL2-COUNT (CAR X)) (ACL2-COUNT X)) Max-term: (ACL2-COUNT (CAR X)) Backchain-limit-lst: (3)The
conclfields for this rule are fairly self-explanatory, but it is useful to see linear to learn about maximal terms (which, as one might guess, are stored under ``Max-term'').
Currently, this function does not print congruence rules or equivalence rules.
The expert user might also wish to use