Get the core field from a iconst.
(iconst->core x) → core
This is an ordinary field accessor created by fty::defprod.
Function:
(defun iconst->core$inline (x) (declare (xargs :guard (iconstp x))) (declare (xargs :guard t)) (mbe :logic (b* ((x (and t x))) (dec/oct/hex-const-fix (car x))) :exec (car x)))
Theorem:
(defthm dec/oct/hex-constp-of-iconst->core (b* ((core (iconst->core$inline x))) (dec/oct/hex-constp core)) :rule-classes :rewrite)
Theorem:
(defthm iconst->core$inline-of-iconst-fix-x (equal (iconst->core$inline (iconst-fix x)) (iconst->core$inline x)))
Theorem:
(defthm iconst->core$inline-iconst-equiv-congruence-on-x (implies (iconst-equiv x x-equiv) (equal (iconst->core$inline x) (iconst->core$inline x-equiv))) :rule-classes :congruence)