Get the kind (tag) of a svl-occ structure.
(svl-occ-kind x) → kind
Function:
(defun svl-occ-kind$inline (x) (declare (xargs :guard (svl-occ-p x))) (let ((acl2::__function__ 'svl-occ-kind)) (declare (ignorable acl2::__function__)) (mbe :logic (cond ((or (atom x) (eq (car x) :assign)) :assign) (t :module)) :exec (car x))))
Theorem:
(defthm svl-occ-kind-possibilities (or (equal (svl-occ-kind x) :assign) (equal (svl-occ-kind x) :module)) :rule-classes ((:forward-chaining :trigger-terms ((svl-occ-kind x)))))