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