Get the rate-then-capacity-p field from a param.
This is an ordinary field accessor created by fty::defprod.
Function:
(defun param->rate-then-capacity-p$inline (x) (declare (xargs :guard (paramp x))) (declare (xargs :guard t)) (let ((__function__ 'param->rate-then-capacity-p)) (declare (ignorable __function__)) (mbe :logic (b* ((x (and t x))) (acl2::bool-fix (cdr (std::da-nth 8 x)))) :exec (cdr (std::da-nth 8 x)))))
Theorem:
(defthm booleanp-of-param->rate-then-capacity-p (b* ((rate-then-capacity-p (param->rate-then-capacity-p$inline x))) (booleanp rate-then-capacity-p)) :rule-classes :rewrite)
Theorem:
(defthm param->rate-then-capacity-p$inline-of-param-fix-x (equal (param->rate-then-capacity-p$inline (param-fix x)) (param->rate-then-capacity-p$inline x)))
Theorem:
(defthm param->rate-then-capacity-p$inline-param-equiv-congruence-on-x (implies (param-equiv x x-equiv) (equal (param->rate-then-capacity-p$inline x) (param->rate-then-capacity-p$inline x-equiv))) :rule-classes :congruence)