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