(vl-linecol->line x) → line
Function:
(defun vl-linecol->line$inline (x) (declare (xargs :guard (vl-linecol-p x))) (let ((__function__ 'vl-linecol->line)) (declare (ignorable __function__)) (b* ((x (vl-linecol-fix x)) ((when (consp x)) (car x))) (the (unsigned-byte 30) (ash (the (unsigned-byte 52) x) -22)))))
Theorem:
(defthm posp-of-vl-linecol->line (b* ((line (vl-linecol->line$inline x))) (posp line)) :rule-classes :type-prescription)
Theorem:
(defthm vl-linecol->line-of-vl-linecol (equal (vl-linecol->line (vl-linecol line col)) (pos-fix line)))