Access the |X86ISA|::|RES3| field of a ia32e-pml4ebits bit structure.
(ia32e-pml4ebits->res3 x) → res3
Function:
(defun ia32e-pml4ebits->res3$inline (x) (declare (xargs :guard (ia32e-pml4ebits-p x))) (mbe :logic (let ((x (ia32e-pml4ebits-fix x))) (part-select x :low 52 :width 11)) :exec (the (unsigned-byte 11) (logand (the (unsigned-byte 11) 2047) (the (unsigned-byte 12) (ash (the (unsigned-byte 64) x) -52))))))
Theorem:
(defthm 11bits-p-of-ia32e-pml4ebits->res3 (b* ((res3 (ia32e-pml4ebits->res3$inline x))) (11bits-p res3)) :rule-classes :rewrite)
Theorem:
(defthm ia32e-pml4ebits->res3$inline-of-ia32e-pml4ebits-fix-x (equal (ia32e-pml4ebits->res3$inline (ia32e-pml4ebits-fix x)) (ia32e-pml4ebits->res3$inline x)))
Theorem:
(defthm ia32e-pml4ebits->res3$inline-ia32e-pml4ebits-equiv-congruence-on-x (implies (ia32e-pml4ebits-equiv x x-equiv) (equal (ia32e-pml4ebits->res3$inline x) (ia32e-pml4ebits->res3$inline x-equiv))) :rule-classes :congruence)
Theorem:
(defthm ia32e-pml4ebits->res3-of-ia32e-pml4ebits (equal (ia32e-pml4ebits->res3 (ia32e-pml4ebits p r/w u/s pwt pcd a res1 ps res2 pdpt res3 xd)) (11bits-fix res3)))
Theorem:
(defthm ia32e-pml4ebits->res3-of-write-with-mask (implies (and (fty::bitstruct-read-over-write-hyps x ia32e-pml4ebits-equiv-under-mask) (ia32e-pml4ebits-equiv-under-mask x y fty::mask) (equal (logand (lognot fty::mask) 9218868437227405312) 0)) (equal (ia32e-pml4ebits->res3 x) (ia32e-pml4ebits->res3 y))))