(modscope->modidx x) → modidx
Function:
(defun modscope->modidx (x) (declare (xargs :guard (modscope-p x))) (let ((__function__ 'modscope->modidx)) (declare (ignorable __function__)) (modscope-case x :top x.modidx :nested x.modidx)))
Theorem:
(defthm natp-of-modscope->modidx (b* ((modidx (modscope->modidx x))) (natp modidx)) :rule-classes :type-prescription)
Theorem:
(defthm modscope->modidx-of-modscope-fix-x (equal (modscope->modidx (modscope-fix x)) (modscope->modidx x)))
Theorem:
(defthm modscope->modidx-modscope-equiv-congruence-on-x (implies (modscope-equiv x x-equiv) (equal (modscope->modidx x) (modscope->modidx x-equiv))) :rule-classes :congruence)