Minimum mathematical integer value of type
This depends on the implementation environment.
Function:
(defun sllong-min (ienv) (declare (xargs :guard (ienvp ienv))) (let ((__function__ 'sllong-min)) (declare (ignorable __function__)) (- (expt 2 (1- (* 8 (ienv->llong-bytes ienv)))))))
Theorem:
(defthm integerp-of-sllong-min (b* ((val (sllong-min ienv))) (integerp val)) :rule-classes (:rewrite :type-prescription))
Theorem:
(defthm sllong-min-of-ienv-fix-ienv (equal (sllong-min (ienv-fix ienv)) (sllong-min ienv)))
Theorem:
(defthm sllong-min-ienv-equiv-congruence-on-ienv (implies (ienv-equiv ienv ienv-equiv) (equal (sllong-min ienv) (sllong-min ienv-equiv))) :rule-classes :congruence)