Minimum mathematical integer value of the type
This is either schar-min or 0, based on the flag in the implementation environment.
Function:
(defun char-min (ienv) (declare (xargs :guard (ienvp ienv))) (let ((__function__ 'char-min)) (declare (ignorable __function__)) (if (ienv->plain-char-signedp ienv) (schar-min) 0)))
Theorem:
(defthm integerp-of-char-min (b* ((val (char-min ienv))) (integerp val)) :rule-classes :rewrite)
Theorem:
(defthm char-min-of-ienv-fix-ienv (equal (char-min (ienv-fix ienv)) (char-min ienv)))
Theorem:
(defthm char-min-ienv-equiv-congruence-on-ienv (implies (ienv-equiv ienv ienv-equiv) (equal (char-min ienv) (char-min ienv-equiv))) :rule-classes :congruence)