(page-read-write entry) → bit
Function:
(defun page-read-write (entry) (declare (type (unsigned-byte 64) entry)) (let ((__function__ 'page-read-write)) (declare (ignorable __function__)) (ia32e-page-tablesbits->r/w entry)))
Theorem:
(defthm return-type-of-page-read-write (b* ((bit (page-read-write entry))) (unsigned-byte-p 1 bit)) :rule-classes :rewrite)
Theorem:
(defthm n01p-page-read-write (unsigned-byte-p 1 (page-read-write val)) :rule-classes (:rewrite (:type-prescription :corollary (bitp (page-read-write val)) :hints (("Goal" :in-theory '(unsigned-byte-p integer-range-p natp bitp (:e expt))))) (:linear :corollary (and (<= 0 (page-read-write val)) (< (page-read-write val) 2)) :hints (("Goal" :in-theory '(unsigned-byte-p integer-range-p (:e expt)))))))