Update the |EXLD|::|INFO| field of a elf64_sym bit structure.
(!elf64_sym->info info x) → new-x
Function:
(defun !elf64_sym->info (info x) (declare (xargs :guard (and (elf_bits8-p info) (elf64_sym-p x)))) (mbe :logic (b* ((info (mbe :logic (elf_bits8-fix info) :exec info)) (x (elf64_sym-fix x))) (part-install info x :width 8 :low 32)) :exec (the (unsigned-byte 192) (logior (the (unsigned-byte 192) (logand (the (unsigned-byte 192) x) (the (signed-byte 41) -1095216660481))) (the (unsigned-byte 40) (ash (the (unsigned-byte 8) info) 32))))))
Theorem:
(defthm elf64_sym-p-of-!elf64_sym->info (b* ((new-x (!elf64_sym->info info x))) (elf64_sym-p new-x)) :rule-classes :rewrite)
Theorem:
(defthm !elf64_sym->info-of-elf_bits8-fix-info (equal (!elf64_sym->info (elf_bits8-fix info) x) (!elf64_sym->info info x)))
Theorem:
(defthm !elf64_sym->info-elf_bits8-equiv-congruence-on-info (implies (elf_bits8-equiv info info-equiv) (equal (!elf64_sym->info info x) (!elf64_sym->info info-equiv x))) :rule-classes :congruence)
Theorem:
(defthm !elf64_sym->info-of-elf64_sym-fix-x (equal (!elf64_sym->info info (elf64_sym-fix x)) (!elf64_sym->info info x)))
Theorem:
(defthm !elf64_sym->info-elf64_sym-equiv-congruence-on-x (implies (elf64_sym-equiv x x-equiv) (equal (!elf64_sym->info info x) (!elf64_sym->info info x-equiv))) :rule-classes :congruence)
Theorem:
(defthm !elf64_sym->info-is-elf64_sym (equal (!elf64_sym->info info x) (change-elf64_sym x :info info)))
Theorem:
(defthm elf64_sym->info-of-!elf64_sym->info (b* ((?new-x (!elf64_sym->info info x))) (equal (elf64_sym->info new-x) (elf_bits8-fix info))))
Theorem:
(defthm !elf64_sym->info-equiv-under-mask (b* ((?new-x (!elf64_sym->info info x))) (elf64_sym-equiv-under-mask new-x x -1095216660481)))