Set of numeric ranges in a rule.
(rule-num-ranges rule) → ranges
This is the set of numeric ranges in the alternation that defines the rules.
Function:
(defun rule-num-ranges (rule) (declare (xargs :guard (rulep rule))) (let ((__function__ 'rule-num-ranges)) (declare (ignorable __function__)) (alternation-num-ranges (rule->definiens rule))))
Theorem:
(defthm num-range-setp-of-rule-num-ranges (b* ((ranges (rule-num-ranges rule))) (num-range-setp ranges)) :rule-classes :rewrite)
Theorem:
(defthm rule-num-ranges-of-rule-fix-rule (equal (rule-num-ranges (rule-fix rule)) (rule-num-ranges rule)))
Theorem:
(defthm rule-num-ranges-rule-equiv-congruence-on-rule (implies (rule-equiv rule rule-equiv) (equal (rule-num-ranges rule) (rule-num-ranges rule-equiv))) :rule-classes :congruence)