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