Get the type field from a sd-problem.
(sd-problem->type x) → type
This is an ordinary field accessor created by defprod.
Function:
(defun sd-problem->type$inline (x) (declare (xargs :guard (sd-problem-p x))) (declare (xargs :guard t)) (let ((__function__ 'sd-problem->type)) (declare (ignorable __function__)) (mbe :logic (b* ((x (and t x))) (acl2::symbol-fix (car (car (cdr x))))) :exec (car (car (cdr x))))))
Theorem:
(defthm symbolp-of-sd-problem->type (b* ((type (sd-problem->type$inline x))) (symbolp type)) :rule-classes :type-prescription)
Theorem:
(defthm sd-problem->type$inline-of-sd-problem-fix-x (equal (sd-problem->type$inline (sd-problem-fix x)) (sd-problem->type$inline x)))
Theorem:
(defthm sd-problem->type$inline-sd-problem-equiv-congruence-on-x (implies (sd-problem-equiv x x-equiv) (equal (sd-problem->type$inline x) (sd-problem->type$inline x-equiv))) :rule-classes :congruence)