(stv-max-phases-in-lines lines) → max-phases
Function:
(defun stv-max-phases-in-lines (lines) (declare (xargs :guard (true-list-listp lines))) (let ((__function__ 'stv-max-phases-in-lines)) (declare (ignorable __function__)) (if (atom lines) 0 (max (length (cdr (car lines))) (stv-max-phases-in-lines (cdr lines))))))
Theorem:
(defthm natp-of-stv-max-phases-in-lines (b* ((max-phases (stv-max-phases-in-lines lines))) (natp max-phases)) :rule-classes :type-prescription)