Access the |ACL2|::|VALUE| field of a elf32_sym bit structure.
(elf32_sym->value x) → value
Function:
(defun elf32_sym->value (x) (declare (xargs :guard (elf32_sym-p x))) (mbe :logic (let ((x (elf32_sym-fix x))) (part-select x :low 32 :width 32)) :exec (the (unsigned-byte 32) (logand (the (unsigned-byte 32) 4294967295) (the (unsigned-byte 96) (ash (the (unsigned-byte 128) x) -32))))))
Theorem:
(defthm elf_bits32-p-of-elf32_sym->value (b* ((value (elf32_sym->value x))) (elf_bits32-p value)) :rule-classes :rewrite)
Theorem:
(defthm elf32_sym->value-of-elf32_sym-fix-x (equal (elf32_sym->value (elf32_sym-fix x)) (elf32_sym->value x)))
Theorem:
(defthm elf32_sym->value-elf32_sym-equiv-congruence-on-x (implies (elf32_sym-equiv x x-equiv) (equal (elf32_sym->value x) (elf32_sym->value x-equiv))) :rule-classes :congruence)
Theorem:
(defthm elf32_sym->value-of-elf32_sym (equal (elf32_sym->value (elf32_sym name value size info other shndx)) (elf_bits32-fix value)))
Theorem:
(defthm elf32_sym->value-of-write-with-mask (implies (and (fty::bitstruct-read-over-write-hyps x elf32_sym-equiv-under-mask) (elf32_sym-equiv-under-mask x y fty::mask) (equal (logand (lognot fty::mask) 18446744069414584320) 0)) (equal (elf32_sym->value x) (elf32_sym->value y))))