Get the symbol-index field from a te-args.
This is an ordinary field accessor created by defprod.
Function:
(defun te-args->symbol-index$inline (x) (declare (xargs :guard (te-args-p x))) (declare (xargs :guard t)) (let ((acl2::__function__ 'te-args->symbol-index)) (declare (ignorable acl2::__function__)) (mbe :logic (b* ((x (and t x))) (nfix (cdr (std::da-nth 3 x)))) :exec (cdr (std::da-nth 3 x)))))
Theorem:
(defthm natp-of-te-args->symbol-index (b* ((symbol-index (te-args->symbol-index$inline x))) (natp symbol-index)) :rule-classes :rewrite)
Theorem:
(defthm te-args->symbol-index$inline-of-te-args-fix-x (equal (te-args->symbol-index$inline (te-args-fix x)) (te-args->symbol-index$inline x)))
Theorem:
(defthm te-args->symbol-index$inline-te-args-equiv-congruence-on-x (implies (te-args-equiv x x-equiv) (equal (te-args->symbol-index$inline x) (te-args->symbol-index$inline x-equiv))) :rule-classes :congruence)