Total number of rounds, i.e.
Function:
(defun param->rounds (param) (declare (xargs :guard (paramp param))) (let ((__function__ 'param->rounds)) (declare (ignorable __function__)) (+ (param->full-rounds-half param) (param->partial-rounds param) (param->full-rounds-half param))))
Theorem:
(defthm natp-of-param->rounds (b* ((rounds (param->rounds param))) (natp rounds)) :rule-classes :rewrite)
Theorem:
(defthm param->rounds-of-param-fix-param (equal (param->rounds (param-fix param)) (param->rounds param)))
Theorem:
(defthm param->rounds-param-equiv-congruence-on-param (implies (param-equiv param param-equiv) (equal (param->rounds param) (param->rounds param-equiv))) :rule-classes :congruence)