(vl-echarpack->col x) → col
Function:
(defun vl-echarpack->col$inline (x) (declare (xargs :guard (vl-echarpack-p x))) (let ((__function__ 'vl-echarpack->col)) (declare (ignorable __function__)) (if (consp x) (the (integer 0 *) (cdar x)) (the (unsigned-byte 60) (logand (the (unsigned-byte 22) (1- (expt 2 22))) (the (unsigned-byte 52) (ash (the (unsigned-byte 60) x) -8)))))))
Theorem:
(defthm natp-of-vl-echarpack->col (implies (and (force (vl-echarpack-p x))) (b* ((col (vl-echarpack->col$inline x))) (natp col))) :rule-classes :type-prescription)
Theorem:
(defthm vl-echarpack->col-of-vl-echarpack (implies (and (force (unsigned-byte-p 8 code)) (force (natp line)) (force (natp col))) (equal (vl-echarpack->col (vl-echarpack code line col)) col)))