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