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