Get the call field from a defstruct-info.
(defstruct-info->call x) → call
This is an ordinary field accessor created by fty::defprod.
Function:
(defun defstruct-info->call$inline (x) (declare (xargs :guard (defstruct-infop x))) (declare (xargs :guard t)) (let ((__function__ 'defstruct-info->call)) (declare (ignorable __function__)) (mbe :logic (b* ((x (and t x))) (acl2::pseudo-event-form-fix (cdr (std::da-nth 14 x)))) :exec (cdr (std::da-nth 14 x)))))
Theorem:
(defthm pseudo-event-formp-of-defstruct-info->call (b* ((call (defstruct-info->call$inline x))) (pseudo-event-formp call)) :rule-classes :rewrite)
Theorem:
(defthm defstruct-info->call$inline-of-defstruct-info-fix-x (equal (defstruct-info->call$inline (defstruct-info-fix x)) (defstruct-info->call$inline x)))
Theorem:
(defthm defstruct-info->call$inline-defstruct-info-equiv-congruence-on-x (implies (defstruct-info-equiv x x-equiv) (equal (defstruct-info->call$inline x) (defstruct-info->call$inline x-equiv))) :rule-classes :congruence)