(stv-expand-hids-in-lines lines mod) expands all of the HIDs in a list of STV internal lines into lists of esim paths.
(stv-expand-hids-in-lines lines mod) → new-lines
Function:
(defun stv-expand-hids-in-lines (lines mod) (declare (xargs :guard (true-list-listp lines))) (let ((__function__ 'stv-expand-hids-in-lines)) (declare (ignorable __function__)) (b* (((when (atom lines)) nil) (line1 (car lines)) ((cons name phases) line1) (lsb-paths (stv-expand-hid name mod))) (cons (cons lsb-paths phases) (stv-expand-hids-in-lines (cdr lines) mod)))))
Theorem:
(defthm alistp-of-stv-expand-hids-in-lines (alistp (stv-expand-hids-in-lines lines mod)))
Theorem:
(defthm true-list-listp-of-stv-expand-hids-in-lines (implies (true-list-listp lines) (true-list-listp (stv-expand-hids-in-lines lines mod))))