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