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