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