Get the keys field from a stat.
(stat->keys x) → keys
This is an ordinary field accessor created by fty::defprod.
Function:
(defun stat->keys$inline (x) (declare (xargs :guard (statp x))) (declare (xargs :guard t)) (let ((__function__ 'stat->keys)) (declare (ignorable __function__)) (mbe :logic (b* ((x (and t x))) (bitcoin::bip32-key-tree-fix (std::da-nth 0 (cdr x)))) :exec (std::da-nth 0 (cdr x)))))
Theorem:
(defthm bip32-key-treep-of-stat->keys (b* ((keys (stat->keys$inline x))) (bitcoin::bip32-key-treep keys)) :rule-classes :rewrite)
Theorem:
(defthm stat->keys$inline-of-stat-fix-x (equal (stat->keys$inline (stat-fix x)) (stat->keys$inline x)))
Theorem:
(defthm stat->keys$inline-stat-equiv-congruence-on-x (implies (stat-equiv x x-equiv) (equal (stat->keys$inline x) (stat->keys$inline x-equiv))) :rule-classes :congruence)