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