(vcd-print-header date scope p) → p1
Function:
(defun vcd-print-header (date scope p) (declare (xargs :guard (and (stringp date) (vcd-scope-p scope) (vl-printedlist-p p)))) (let ((__function__ 'vcd-print-header)) (declare (ignorable __function__)) (b* ((p (rlist* p "$date " (str-fix date) "$end" #\Newline "$version SVTV-DEBUG simulation $end" #\Newline "$timescale 1 s $end" #\Newline #\Newline)) (p (vcd-print-scope scope p))) (rlist* p "$enddefinitions $end" #\Newline #\Newline))))
Theorem:
(defthm vl-printedlist-p-of-vcd-print-header (b* ((p1 (vcd-print-header date scope p))) (vl-printedlist-p p1)) :rule-classes :rewrite)
Theorem:
(defthm vcd-print-header-of-str-fix-date (equal (vcd-print-header (str-fix date) scope p) (vcd-print-header date scope p)))
Theorem:
(defthm vcd-print-header-streqv-congruence-on-date (implies (acl2::streqv date date-equiv) (equal (vcd-print-header date scope p) (vcd-print-header date-equiv scope p))) :rule-classes :congruence)
Theorem:
(defthm vcd-print-header-of-vcd-scope-fix-scope (equal (vcd-print-header date (vcd-scope-fix scope) p) (vcd-print-header date scope p)))
Theorem:
(defthm vcd-print-header-vcd-scope-equiv-congruence-on-scope (implies (vcd-scope-equiv scope scope-equiv) (equal (vcd-print-header date scope p) (vcd-print-header date scope-equiv p))) :rule-classes :congruence)