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