Maximum ACL2 integer value of type
(uint-max) → uint-max
Function:
(defun uint-max nil (declare (xargs :guard t)) (let ((__function__ 'uint-max)) (declare (ignorable __function__)) (1- (expt 2 (int-bits)))))
Theorem:
(defthm integerp-of-uint-max (b* ((uint-max (uint-max))) (integerp uint-max)) :rule-classes :type-prescription)
Theorem:
(defthm uint-max-bound (>= (uint-max) 65535) :rule-classes :linear)