Get the source code text for a basic binary operator.
(vl-binaryop-string x) → str
Function:
(defun vl-binaryop-string (x) (declare (xargs :guard (vl-binaryop-p x))) (let ((__function__ 'vl-binaryop-string)) (declare (ignorable __function__)) (cdr (assoc (vl-binaryop-fix x) *vl-binary-ops*))))
Theorem:
(defthm stringp-of-vl-binaryop-string (b* ((str (vl-binaryop-string x))) (stringp str)) :rule-classes :type-prescription)
Theorem:
(defthm vl-binaryop-string-of-vl-binaryop-fix-x (equal (vl-binaryop-string (vl-binaryop-fix x)) (vl-binaryop-string x)))
Theorem:
(defthm vl-binaryop-string-vl-binaryop-equiv-congruence-on-x (implies (vl-binaryop-equiv x x-equiv) (equal (vl-binaryop-string x) (vl-binaryop-string x-equiv))) :rule-classes :congruence)