(vl-taskdecl->blockscope x) → scope
Function:
(defun vl-taskdecl->blockscope (x) (declare (xargs :guard (vl-taskdecl-p x))) (let ((__function__ 'vl-taskdecl->blockscope)) (declare (ignorable __function__)) (b* (((vl-taskdecl x))) (make-vl-blockscope :vardecls x.vardecls :imports x.imports :paramdecls x.paramdecls :typedefs x.typedefs :scopetype :vl-taskdecl :name x.name))))
Theorem:
(defthm vl-blockscope-p-of-vl-taskdecl->blockscope (b* ((scope (vl-taskdecl->blockscope x))) (vl-blockscope-p scope)) :rule-classes :rewrite)
Theorem:
(defthm vl-taskdecl->blockscope-of-vl-taskdecl-fix-x (equal (vl-taskdecl->blockscope (vl-taskdecl-fix x)) (vl-taskdecl->blockscope x)))
Theorem:
(defthm vl-taskdecl->blockscope-vl-taskdecl-equiv-congruence-on-x (implies (vl-taskdecl-equiv x x-equiv) (equal (vl-taskdecl->blockscope x) (vl-taskdecl->blockscope x-equiv))) :rule-classes :congruence)