Concrete implementation of strin-car.
(sin$c-car sin$c) → *
Function:
(defun sin$c-car$inline (sin$c) (declare (xargs :stobjs (sin$c))) (declare (xargs :guard (sin$c-okp sin$c))) (let ((__function__ 'sin$c-car)) (declare (ignorable __function__)) (b* (((the string str) (sin$c-str sin$c)) ((the (unsigned-byte 60) pos) (sin$c-pos sin$c)) ((the (unsigned-byte 60) len) (length str))) (if (eql pos len) nil (the character (char str pos))))))
Theorem:
(defthm sin-car{correspondence} (implies (and (sin$corr sin$c sin) (strin-p sin)) (equal (sin$c-car$inline sin$c) (strin-car sin))))