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