Constraint on the number of address keys in the wallet state.
Since all the address keys have non-hardened indices,
the largest index is
Function:
(defun stat-addresses-bounded-p (stat) (declare (xargs :guard (statp stat))) (<= (stat->addresses stat) (expt 2 31)))
Theorem:
(defthm booleanp-of-stat-addresses-bounded-p (b* ((yes/no (stat-addresses-bounded-p stat))) (booleanp yes/no)) :rule-classes :rewrite)