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