(aliases-normorderedp aliases) → *
Function:
(defun aliases-normorderedp (aliases) (declare (xargs :stobjs (aliases))) (declare (xargs :guard t)) (let ((__function__ 'aliases-normorderedp)) (declare (ignorable __function__)) (and (aliasesp aliases) (aliases-normorderedp-aux (aliass-length aliases) aliases))))
Theorem:
(defthm aliases-normorderedp-implies-get-alias (implies (and (aliases-normorderedp aliases) (<= (nfix n) (ifix nn))) (lhs-vars-normorderedp nn 0 (nth n aliases))))
Theorem:
(defthm aliases-not-normorderedp-implies-unnormorderedp-idx (implies (and (not (aliases-normorderedp aliases)) (lhslist-p aliases)) (let ((idx (aliases-unnormorderedp-idx aliases))) (not (lhs-vars-normorderedp (nfix idx) 0 (nth idx aliases))))))
Theorem:
(defthm aliases-normorderedp-of-resize (implies (aliases-normorderedp aliases) (aliases-normorderedp (resize-list aliases n nil))))
Theorem:
(defthm aliases-normorderedp-of-update-nth (implies (and (aliases-normorderedp aliases) (lhs-p x) (lhs-vars-normorderedp (nfix n) 0 x)) (aliases-normorderedp (update-nth n x aliases))))
Theorem:
(defthm aliases-normorderedp-of-replicate (aliases-normorderedp (replicate n nil)))