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