An 32-bit unsigned bitstruct type.
This is a bitstruct type introduced by fty::defbitstruct, represented as a unsigned 32-bit integer.
This is an atomic/empty structure; it has no fields.
Function:
(defun truth5-p (x) (declare (xargs :guard t)) (let ((__function__ 'truth5-p)) (declare (ignorable __function__)) (mbe :logic (unsigned-byte-p 32 x) :exec (and (natp x) (< x 4294967296)))))
Theorem:
(defthm truth5-p-when-unsigned-byte-p (implies (unsigned-byte-p 32 x) (truth5-p x)))
Theorem:
(defthm unsigned-byte-p-when-truth5-p (implies (truth5-p x) (unsigned-byte-p 32 x)))
Theorem:
(defthm truth5-p-compound-recognizer (implies (truth5-p x) (natp x)) :rule-classes :compound-recognizer)
Function:
(defun truth5-fix (x) (declare (xargs :guard (truth5-p x))) (let ((__function__ 'truth5-fix)) (declare (ignorable __function__)) (mbe :logic (loghead 32 x) :exec x)))
Theorem:
(defthm truth5-p-of-truth5-fix (b* ((fty::fixed (truth5-fix x))) (truth5-p fty::fixed)) :rule-classes :rewrite)
Theorem:
(defthm truth5-fix-when-truth5-p (implies (truth5-p x) (equal (truth5-fix x) x)))
Function:
(defun truth5-equiv$inline (acl2::x acl2::y) (declare (xargs :guard (and (truth5-p acl2::x) (truth5-p acl2::y)))) (equal (truth5-fix acl2::x) (truth5-fix acl2::y)))
Theorem:
(defthm truth5-equiv-is-an-equivalence (and (booleanp (truth5-equiv x y)) (truth5-equiv x x) (implies (truth5-equiv x y) (truth5-equiv y x)) (implies (and (truth5-equiv x y) (truth5-equiv y z)) (truth5-equiv x z))) :rule-classes (:equivalence))
Theorem:
(defthm truth5-equiv-implies-equal-truth5-fix-1 (implies (truth5-equiv acl2::x x-equiv) (equal (truth5-fix acl2::x) (truth5-fix x-equiv))) :rule-classes (:congruence))
Theorem:
(defthm truth5-fix-under-truth5-equiv (truth5-equiv (truth5-fix acl2::x) acl2::x) :rule-classes (:rewrite :rewrite-quoted-constant))
Theorem:
(defthm truth5-fix-of-truth5-fix-x (equal (truth5-fix (truth5-fix x)) (truth5-fix x)))
Theorem:
(defthm truth5-fix-truth5-equiv-congruence-on-x (implies (truth5-equiv x x-equiv) (equal (truth5-fix x) (truth5-fix x-equiv))) :rule-classes :congruence)