Get the elements field from a ullong-array.
(ullong-array->elements x) → elements
This is an ordinary field accessor created by fty::defprod.
Function:
(defun ullong-array->elements$inline (x) (declare (xargs :guard (ullong-arrayp x))) (declare (xargs :guard t)) (let ((__function__ 'ullong-array->elements)) (declare (ignorable __function__)) (mbe :logic (b* ((x (and t x)) (elemtype (type-fix (std::da-nth 0 (cdr x)))) (elements (ullong-list-fix (std::da-nth 1 (cdr x))))) (if (consp elements) elements (list (ullong-from-integer 0)))) :exec (std::da-nth 1 (cdr x)))))
Theorem:
(defthm ullong-listp-of-ullong-array->elements (b* ((elements (ullong-array->elements$inline x))) (ullong-listp elements)) :rule-classes :rewrite)
Theorem:
(defthm ullong-array->elements$inline-of-ullong-array-fix-x (equal (ullong-array->elements$inline (ullong-array-fix x)) (ullong-array->elements$inline x)))
Theorem:
(defthm ullong-array->elements$inline-ullong-array-equiv-congruence-on-x (implies (ullong-array-equiv x x-equiv) (equal (ullong-array->elements$inline x) (ullong-array->elements$inline x-equiv))) :rule-classes :congruence)