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