(getalias n aliases) → lhs
Function:
(defun getalias$inline (n aliases) (declare (xargs :stobjs (aliases))) (declare (xargs :guard (and (natp n) (aliases-normorderedp aliases)))) (declare (xargs :guard (< n (aliass-length aliases)))) (let ((__function__ 'getalias)) (declare (ignorable __function__)) (mbe :logic (lhs-varbound-fix (nfix n) 0 (get-alias n aliases)) :exec (get-alias n aliases))))
Theorem:
(defthm return-type-of-getalias (b* ((lhs (getalias$inline n aliases))) (and (lhs-p lhs) (implies (natp n) (lhs-vars-normorderedp n 0 lhs)))) :rule-classes :rewrite)
Theorem:
(defthm getalias$inline-of-nfix-n (equal (getalias$inline (nfix n) aliases) (getalias$inline n aliases)))
Theorem:
(defthm getalias$inline-nat-equiv-congruence-on-n (implies (nat-equiv n n-equiv) (equal (getalias$inline n aliases) (getalias$inline n-equiv aliases))) :rule-classes :congruence)
Theorem:
(defthm getalias$inline-of-aliases-bound-fix-aliases (equal (getalias$inline n (aliases-bound-fix aliases)) (getalias$inline n aliases)))
Theorem:
(defthm getalias$inline-aliases-equiv-congruence-on-aliases (implies (aliases-equiv aliases aliases-equiv) (equal (getalias$inline n aliases) (getalias$inline n aliases-equiv))) :rule-classes :congruence)