Get the props field from a svar.
(svar->props x) → props
This is an ordinary field accessor created by defprod.
Function:
(defun svar->props$inline (x) (declare (xargs :guard (svar-p x))) (declare (xargs :guard t)) (let ((__function__ 'svar->props)) (declare (ignorable __function__)) (mbe :logic (b* ((x (and t x))) (svar-proplist-fix (if (atom x) nil (b* ((rest (cddr x)) ((when (integerp rest)) nil) ((when (integerp (first rest))) nil)) (cddr rest))))) :exec (if (atom x) nil (b* ((rest (cddr x)) ((when (integerp rest)) nil) ((when (integerp (first rest))) nil)) (cddr rest))))))
Theorem:
(defthm svar-proplist-p-of-svar->props (b* ((props (svar->props$inline x))) (svar-proplist-p props)) :rule-classes :rewrite)
Theorem:
(defthm svar->props$inline-of-svar-fix-x (equal (svar->props$inline (svar-fix x)) (svar->props$inline x)))
Theorem:
(defthm svar->props$inline-svar-equiv-congruence-on-x (implies (svar-equiv x x-equiv) (equal (svar->props$inline x) (svar->props$inline x-equiv))) :rule-classes :congruence)