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