(vl-hidstep-mark-interfaces mtype step st ctx) → new-st
Function:
(defun vl-hidstep-mark-interfaces (mtype step st ctx) (declare (xargs :guard (and (member mtype '(:used :set)) (vl-hidstep-p step) (vl-lucidstate-p st) (vl-lucidctx-p ctx)))) (let ((__function__ 'vl-hidstep-mark-interfaces)) (declare (ignorable __function__)) (b* (((vl-hidstep step)) ((when (eq (tag step.item) :vl-interfaceport)) (b* ((key (make-vl-lucidkey :item step.item :scopestack (vl-normalize-scopestack step.ss))) (occ (make-vl-lucidocc-solo :ctx ctx))) (vl-lucidstate-mark mtype key occ st ctx)))) (vl-lucidstate-fix st))))
Theorem:
(defthm vl-lucidstate-p-of-vl-hidstep-mark-interfaces (b* ((new-st (vl-hidstep-mark-interfaces mtype step st ctx))) (vl-lucidstate-p new-st)) :rule-classes :rewrite)
Theorem:
(defthm vl-hidstep-mark-interfaces-of-vl-hidstep-fix-step (equal (vl-hidstep-mark-interfaces mtype (vl-hidstep-fix step) st ctx) (vl-hidstep-mark-interfaces mtype step st ctx)))
Theorem:
(defthm vl-hidstep-mark-interfaces-vl-hidstep-equiv-congruence-on-step (implies (vl-hidstep-equiv step step-equiv) (equal (vl-hidstep-mark-interfaces mtype step st ctx) (vl-hidstep-mark-interfaces mtype step-equiv st ctx))) :rule-classes :congruence)
Theorem:
(defthm vl-hidstep-mark-interfaces-of-vl-lucidstate-fix-st (equal (vl-hidstep-mark-interfaces mtype step (vl-lucidstate-fix st) ctx) (vl-hidstep-mark-interfaces mtype step st ctx)))
Theorem:
(defthm vl-hidstep-mark-interfaces-vl-lucidstate-equiv-congruence-on-st (implies (vl-lucidstate-equiv st st-equiv) (equal (vl-hidstep-mark-interfaces mtype step st ctx) (vl-hidstep-mark-interfaces mtype step st-equiv ctx))) :rule-classes :congruence)
Theorem:
(defthm vl-hidstep-mark-interfaces-of-vl-lucidctx-fix-ctx (equal (vl-hidstep-mark-interfaces mtype step st (vl-lucidctx-fix ctx)) (vl-hidstep-mark-interfaces mtype step st ctx)))
Theorem:
(defthm vl-hidstep-mark-interfaces-vl-lucidctx-equiv-congruence-on-ctx (implies (vl-lucidctx-equiv ctx ctx-equiv) (equal (vl-hidstep-mark-interfaces mtype step st ctx) (vl-hidstep-mark-interfaces mtype step st ctx-equiv))) :rule-classes :congruence)