(satlink-handle-lines lines pstate env$) → (mv error-p new-pstate env$)
Function:
(defun satlink-handle-lines (lines pstate env$) (declare (xargs :stobjs (env$))) (declare (xargs :guard (and (string-listp lines) (satlink-parser-state-p pstate)))) (let ((__function__ 'satlink-handle-lines)) (declare (ignorable __function__)) (b* (((when (atom lines)) (mv nil (satlink-parser-state-fix pstate) env$)) ((mv error-p pstate env$) (satlink-handle-line (car lines) pstate env$)) ((when error-p) (mv error-p pstate env$))) (satlink-handle-lines (cdr lines) pstate env$))))
Theorem:
(defthm satlink-parser-state-p-of-satlink-handle-lines.new-pstate (b* (((mv ?error-p ?new-pstate ?env$) (satlink-handle-lines lines pstate env$))) (satlink-parser-state-p new-pstate)) :rule-classes :rewrite)