Macro:
(defmacro vl-ps->base nil '(vl-ps->base-fn ps))
Function:
(defun vl-ps->base-fn$inline (ps) (declare (xargs :stobjs (ps))) (declare (xargs :guard t)) (let ((__function__ 'vl-ps->base-fn)) (declare (ignorable __function__)) (mbe :logic (if (print-base-p (vl-ps->base-raw ps)) (vl-ps->base-raw ps) 10) :exec (vl-ps->base-raw ps))))
Theorem:
(defthm natp-of-vl-ps->base-fn (b* ((base (vl-ps->base-fn$inline ps))) (natp base)) :rule-classes :type-prescription)
Theorem:
(defthm print-base-p-of-vl-ps->base-fn (print-base-p (vl-ps->base-fn ps)))