Get the kind (tag) of a register-type structure.
(register-type-kind x) → kind
Function:
(defun register-type-kind$inline (x) (declare (xargs :guard (register-typep x))) (let ((__function__ 'register-type-kind)) (declare (ignorable __function__)) (mbe :logic (cond ((or (atom x) (eq (car x) :plaintext)) :plaintext) ((eq (car x) :record) :record) (t :extrecord)) :exec (car x))))
Theorem:
(defthm register-type-kind-possibilities (or (equal (register-type-kind x) :plaintext) (equal (register-type-kind x) :record) (equal (register-type-kind x) :extrecord)) :rule-classes ((:forward-chaining :trigger-terms ((register-type-kind x)))))