Get the mnemonic field from a inst.
(inst->mnemonic x) → mnemonic
This is an ordinary field accessor created by defprod.
Function:
(defun inst->mnemonic$inline (x) (declare (xargs :guard (inst-p x))) (declare (xargs :guard t)) (let ((__function__ 'inst->mnemonic)) (declare (ignorable __function__)) (mbe :logic (b* ((x (and t x))) (mnemonic-fix (std::prod-car (std::prod-car x)))) :exec (std::prod-car (std::prod-car x)))))
Theorem:
(defthm mnemonic-p-of-inst->mnemonic (b* ((mnemonic (inst->mnemonic$inline x))) (mnemonic-p mnemonic)) :rule-classes :rewrite)
Theorem:
(defthm inst->mnemonic$inline-of-inst-fix-x (equal (inst->mnemonic$inline (inst-fix x)) (inst->mnemonic$inline x)))
Theorem:
(defthm inst->mnemonic$inline-inst-equiv-congruence-on-x (implies (inst-equiv x x-equiv) (equal (inst->mnemonic$inline x) (inst->mnemonic$inline x-equiv))) :rule-classes :congruence)