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