(vl-hidtrace-mark-interfaces mtype trace st ctx) → new-st
Function:
(defun vl-hidtrace-mark-interfaces (mtype trace st ctx) (declare (xargs :guard (and (member mtype '(:used :set)) (vl-hidtrace-p trace) (vl-lucidstate-p st) (vl-lucidctx-p ctx)))) (let ((__function__ 'vl-hidtrace-mark-interfaces)) (declare (ignorable __function__)) (b* (((when (atom trace)) (vl-lucidstate-fix st)) (st (vl-hidstep-mark-interfaces mtype (car trace) st ctx))) (vl-hidtrace-mark-interfaces mtype (cdr trace) st ctx))))
Theorem:
(defthm vl-lucidstate-p-of-vl-hidtrace-mark-interfaces (b* ((new-st (vl-hidtrace-mark-interfaces mtype trace st ctx))) (vl-lucidstate-p new-st)) :rule-classes :rewrite)
Theorem:
(defthm vl-hidtrace-mark-interfaces-of-vl-hidtrace-fix-trace (equal (vl-hidtrace-mark-interfaces mtype (vl-hidtrace-fix trace) st ctx) (vl-hidtrace-mark-interfaces mtype trace st ctx)))
Theorem:
(defthm vl-hidtrace-mark-interfaces-vl-hidtrace-equiv-congruence-on-trace (implies (vl-hidtrace-equiv trace trace-equiv) (equal (vl-hidtrace-mark-interfaces mtype trace st ctx) (vl-hidtrace-mark-interfaces mtype trace-equiv st ctx))) :rule-classes :congruence)
Theorem:
(defthm vl-hidtrace-mark-interfaces-of-vl-lucidstate-fix-st (equal (vl-hidtrace-mark-interfaces mtype trace (vl-lucidstate-fix st) ctx) (vl-hidtrace-mark-interfaces mtype trace st ctx)))
Theorem:
(defthm vl-hidtrace-mark-interfaces-vl-lucidstate-equiv-congruence-on-st (implies (vl-lucidstate-equiv st st-equiv) (equal (vl-hidtrace-mark-interfaces mtype trace st ctx) (vl-hidtrace-mark-interfaces mtype trace st-equiv ctx))) :rule-classes :congruence)
Theorem:
(defthm vl-hidtrace-mark-interfaces-of-vl-lucidctx-fix-ctx (equal (vl-hidtrace-mark-interfaces mtype trace st (vl-lucidctx-fix ctx)) (vl-hidtrace-mark-interfaces mtype trace st ctx)))
Theorem:
(defthm vl-hidtrace-mark-interfaces-vl-lucidctx-equiv-congruence-on-ctx (implies (vl-lucidctx-equiv ctx ctx-equiv) (equal (vl-hidtrace-mark-interfaces mtype trace st ctx) (vl-hidtrace-mark-interfaces mtype trace st ctx-equiv))) :rule-classes :congruence)