(=_-fn rulename alternation) → rule
Function:
(defun =_-fn (rulename alternation) (declare (xargs :guard (and (rulenamep rulename) (alternationp alternation)))) (make-rule :name (rulename-fix rulename) :incremental nil :definiens (alternation-fix alternation)))
Theorem:
(defthm rulep-of-=_-fn (b* ((rule (=_-fn rulename alternation))) (rulep rule)) :rule-classes :rewrite)
Theorem:
(defthm =_-fn-of-rulename-fix-rulename (equal (=_-fn (rulename-fix rulename) alternation) (=_-fn rulename alternation)))
Theorem:
(defthm =_-fn-rulename-equiv-congruence-on-rulename (implies (rulename-equiv rulename rulename-equiv) (equal (=_-fn rulename alternation) (=_-fn rulename-equiv alternation))) :rule-classes :congruence)
Theorem:
(defthm =_-fn-of-alternation-fix-alternation (equal (=_-fn rulename (alternation-fix alternation)) (=_-fn rulename alternation)))
Theorem:
(defthm =_-fn-alternation-equiv-congruence-on-alternation (implies (alternation-equiv alternation alternation-equiv) (equal (=_-fn rulename alternation) (=_-fn rulename alternation-equiv))) :rule-classes :congruence)