(s4vec-sparseint-val x &key (__function__ '__function__)) → val
Function:
(defun s4vec-sparseint-val$inline (x __function__) (declare (xargs :guard (sparseint-p x))) (b* ((xlen (sparseint-length x)) (- (and (<= (s4vec-bit-limit) xlen) (s4vec-very-large-integer-warning xlen)))) (sparseint-val x)))
Theorem:
(defthm return-type-of-s4vec-sparseint-val (b* ((val (s4vec-sparseint-val$inline x __function__))) (equal val (sparseint-val x))) :rule-classes :rewrite)
Theorem:
(defthm s4vec-sparseint-val$inline-of-sparseint-fix-x (equal (s4vec-sparseint-val$inline (sparseint-fix x) __function__) (s4vec-sparseint-val$inline x __function__)))
Theorem:
(defthm s4vec-sparseint-val$inline-sparseint-equiv-congruence-on-x (implies (sparseint-equiv x x-equiv) (equal (s4vec-sparseint-val$inline x __function__) (s4vec-sparseint-val$inline x-equiv __function__))) :rule-classes :congruence)