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