All the constraints on the wallet state.
Function:
(defun stat-wfp (stat) (declare (xargs :guard (statp stat))) (and (stat-addresses-bounded-p stat) (stat-priv-keys-p stat) (stat-root-depth-zero-p stat) (stat-path-prefix-in-tree-p stat) (stat-all-valid-key-paths-p stat)))
Theorem:
(defthm booleanp-of-stat-wfp (b* ((yes/no (stat-wfp stat))) (booleanp yes/no)) :rule-classes :rewrite)