Get the get field from a programdef-mapping.
(programdef-mapping->get x) → get
This is an ordinary field accessor created by fty::defprod.
Function:
(defun programdef-mapping->get$inline (x) (declare (xargs :guard (programdefp x))) (declare (xargs :guard (equal (programdef-kind x) :mapping))) (let ((__function__ 'programdef-mapping->get)) (declare (ignorable __function__)) (mbe :logic (b* ((x (and (equal (programdef-kind x) :mapping) x))) (mapping-fix (std::da-nth 0 (cdr x)))) :exec (std::da-nth 0 (cdr x)))))
Theorem:
(defthm mappingp-of-programdef-mapping->get (b* ((get (programdef-mapping->get$inline x))) (mappingp get)) :rule-classes :rewrite)
Theorem:
(defthm programdef-mapping->get$inline-of-programdef-fix-x (equal (programdef-mapping->get$inline (programdef-fix x)) (programdef-mapping->get$inline x)))
Theorem:
(defthm programdef-mapping->get$inline-programdef-equiv-congruence-on-x (implies (programdef-equiv x x-equiv) (equal (programdef-mapping->get$inline x) (programdef-mapping->get$inline x-equiv))) :rule-classes :congruence)
Theorem:
(defthm programdef-mapping->get-when-wrong-kind (implies (not (equal (programdef-kind x) :mapping)) (equal (programdef-mapping->get x) (mapping-fix nil))))