Get the filepath? field from a qualified-ident.
(qualified-ident->filepath? x) → filepath?
This is an ordinary field accessor created by fty::defprod.
Function:
(defun qualified-ident->filepath?$inline (x) (declare (xargs :guard (qualified-identp x))) (declare (xargs :guard t)) (let ((__function__ 'qualified-ident->filepath?)) (declare (ignorable __function__)) (mbe :logic (b* ((x (and t x))) (filepath-option-fix (cdr (std::da-nth 0 x)))) :exec (cdr (std::da-nth 0 x)))))
Theorem:
(defthm filepath-optionp-of-qualified-ident->filepath? (b* ((filepath? (qualified-ident->filepath?$inline x))) (filepath-optionp filepath?)) :rule-classes :rewrite)
Theorem:
(defthm qualified-ident->filepath?$inline-of-qualified-ident-fix-x (equal (qualified-ident->filepath?$inline (qualified-ident-fix x)) (qualified-ident->filepath?$inline x)))
Theorem:
(defthm qualified-ident->filepath?$inline-qualified-ident-equiv-congruence-on-x (implies (qualified-ident-equiv x x-equiv) (equal (qualified-ident->filepath?$inline x) (qualified-ident->filepath?$inline x-equiv))) :rule-classes :congruence)