Function:
(defun svar-index$inline (x) (declare (xargs :guard (svar-p x))) (declare (xargs :guard (svar-indexedp x))) (let ((__function__ 'svar-index)) (declare (ignorable __function__)) (lnfix (svar->name x))))
Theorem:
(defthm natp-of-svar-index (b* ((idx (svar-index$inline x))) (natp idx)) :rule-classes :type-prescription)
Theorem:
(defthm svar-index$inline-of-svar-fix-x (equal (svar-index$inline (svar-fix x)) (svar-index$inline x)))
Theorem:
(defthm svar-index$inline-svar-equiv-congruence-on-x (implies (svar-equiv x x-equiv) (equal (svar-index$inline x) (svar-index$inline x-equiv))) :rule-classes :congruence)