(update-parstate->size size parstate) → parstate
Function:
(defun update-parstate->size (size parstate) (declare (xargs :stobjs (parstate))) (declare (xargs :guard (natp size))) (let ((__function__ 'update-parstate->size)) (declare (ignorable __function__)) (b* ((parstate (parstate-fix parstate))) (raw-update-parstate->size (lnfix size) parstate))))
Theorem:
(defthm parstatep-of-update-parstate->size (b* ((parstate (update-parstate->size size parstate))) (parstatep parstate)) :rule-classes :rewrite)
Theorem:
(defthm update-parstate->size-of-nfix-size (equal (update-parstate->size (nfix size) parstate) (update-parstate->size size parstate)))
Theorem:
(defthm update-parstate->size-nat-equiv-congruence-on-size (implies (acl2::nat-equiv size size-equiv) (equal (update-parstate->size size parstate) (update-parstate->size size-equiv parstate))) :rule-classes :congruence)
Theorem:
(defthm update-parstate->size-of-parstate-fix-parstate (equal (update-parstate->size size (parstate-fix parstate)) (update-parstate->size size parstate)))
Theorem:
(defthm update-parstate->size-parstate-equiv-congruence-on-parstate (implies (parstate-equiv parstate parstate-equiv) (equal (update-parstate->size size parstate) (update-parstate->size size parstate-equiv))) :rule-classes :congruence)