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