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