(vl-elabindex-push-undo-entry &key (elabindex 'elabindex)) → undo-entry
Function:
(defun vl-elabindex-push-undo-entry-fn (elabindex) (declare (xargs :stobjs (elabindex))) (declare (xargs :guard t)) (let ((__function__ 'vl-elabindex-push-undo-entry)) (declare (ignorable __function__)) (cons (list (vl-elabinstruction-pop 1)) (vl-elabindex->ss))))
Theorem:
(defthm return-type-of-vl-elabindex-push-undo-entry (b* ((undo-entry (vl-elabindex-push-undo-entry-fn elabindex))) (and (vl-elabtraversal-p (car undo-entry)) (vl-scopestack-p (cdr undo-entry)))) :rule-classes :rewrite)
Theorem:
(defthm undostack-of-vl-elabindex-push (equal (vl-elabindex->undostack (vl-elabindex-push scope)) (cons (vl-elabindex-push-undo-entry) (vl-elabindex->undostack))))