Fixtype of the
There are 32 registers, each of which consists of 32 bits. We model the content of each register as an unsigned 32-bit integer, which can be interpreted in different ways (see operations on states).
We are not yet modeling the fact that
Function:
(defun xregfile32-equiv$inline (acl2::x acl2::y) (declare (xargs :guard (and (xregfile32p acl2::x) (xregfile32p acl2::y)))) (equal (xregfile32-fix acl2::x) (xregfile32-fix acl2::y)))
Theorem:
(defthm xregfile32-equiv-is-an-equivalence (and (booleanp (xregfile32-equiv x y)) (xregfile32-equiv x x) (implies (xregfile32-equiv x y) (xregfile32-equiv y x)) (implies (and (xregfile32-equiv x y) (xregfile32-equiv y z)) (xregfile32-equiv x z))) :rule-classes (:equivalence))
Theorem:
(defthm xregfile32-equiv-implies-equal-xregfile32-fix-1 (implies (xregfile32-equiv acl2::x x-equiv) (equal (xregfile32-fix acl2::x) (xregfile32-fix x-equiv))) :rule-classes (:congruence))
Theorem:
(defthm xregfile32-fix-under-xregfile32-equiv (xregfile32-equiv (xregfile32-fix acl2::x) acl2::x) :rule-classes (:rewrite :rewrite-quoted-constant))
Theorem:
(defthm equal-of-xregfile32-fix-1-forward-to-xregfile32-equiv (implies (equal (xregfile32-fix acl2::x) acl2::y) (xregfile32-equiv acl2::x acl2::y)) :rule-classes :forward-chaining)
Theorem:
(defthm equal-of-xregfile32-fix-2-forward-to-xregfile32-equiv (implies (equal acl2::x (xregfile32-fix acl2::y)) (xregfile32-equiv acl2::x acl2::y)) :rule-classes :forward-chaining)
Theorem:
(defthm xregfile32-equiv-of-xregfile32-fix-1-forward (implies (xregfile32-equiv (xregfile32-fix acl2::x) acl2::y) (xregfile32-equiv acl2::x acl2::y)) :rule-classes :forward-chaining)
Theorem:
(defthm xregfile32-equiv-of-xregfile32-fix-2-forward (implies (xregfile32-equiv acl2::x (xregfile32-fix acl2::y)) (xregfile32-equiv acl2::x acl2::y)) :rule-classes :forward-chaining)