Get the lsbs field from a sparseint$-concat.
(sparseint$-concat->lsbs x) → lsbs
This is an ordinary field accessor created by fty::defprod.
Function:
(defun sparseint$-concat->lsbs$inline (x) (declare (xargs :guard (sparseint$-p x))) (declare (xargs :guard (equal (sparseint$-kind x) :concat))) (let ((__function__ 'sparseint$-concat->lsbs)) (declare (ignorable __function__)) (mbe :logic (b* ((x (and (equal (sparseint$-kind x) :concat) x))) (sparseint$-fix (cadr x))) :exec (cadr x))))
Theorem:
(defthm sparseint$-p-of-sparseint$-concat->lsbs (b* ((lsbs (sparseint$-concat->lsbs$inline x))) (sparseint$-p lsbs)) :rule-classes :rewrite)
Theorem:
(defthm sparseint$-concat->lsbs$inline-of-sparseint$-fix-x (equal (sparseint$-concat->lsbs$inline (sparseint$-fix x)) (sparseint$-concat->lsbs$inline x)))
Theorem:
(defthm sparseint$-concat->lsbs$inline-sparseint$-equiv-congruence-on-x (implies (sparseint$-equiv x x-equiv) (equal (sparseint$-concat->lsbs$inline x) (sparseint$-concat->lsbs$inline x-equiv))) :rule-classes :congruence)
Theorem:
(defthm sparseint$-concat->lsbs-when-wrong-kind (implies (not (equal (sparseint$-kind x) :concat)) (equal (sparseint$-concat->lsbs x) (sparseint$-fix nil))))