Advance the input stream by
Function:
(defun strin-nthcdr (n x) (declare (xargs :guard (and (natp n) (strin-p x)))) (let ((__function__ 'strin-nthcdr)) (declare (ignorable __function__)) (b* (((strin x) x) (chars (strin-left x)) ((mv new-chars new-line new-col) (lc-nthcdr n chars x.line x.col))) (change-strin x :chars new-chars :line new-line :col new-col))))
Theorem:
(defthm strin-p-of-strin-nthcdr (implies (and (natp n) (strin-p x)) (b* ((new-x (strin-nthcdr n x))) (strin-p new-x))) :rule-classes :rewrite)
Theorem:
(defthm strin-left-of-strin-nthcdr (equal (strin-left (strin-nthcdr n x)) (nthcdr n (strin-left x))))