Get the column field from a position.
This is an ordinary field accessor created by fty::defprod.
Function:
(defun position->column$inline (x) (declare (xargs :guard (positionp x))) (declare (xargs :guard t)) (let ((__function__ 'position->column)) (declare (ignorable __function__)) (mbe :logic (b* ((x (and t x))) (nfix (cdr (std::da-nth 1 x)))) :exec (cdr (std::da-nth 1 x)))))
Theorem:
(defthm natp-of-position->column (b* ((column (position->column$inline x))) (natp column)) :rule-classes :rewrite)
Theorem:
(defthm position->column$inline-of-position-fix-x (equal (position->column$inline (position-fix x)) (position->column$inline x)))
Theorem:
(defthm position->column$inline-position-equiv-congruence-on-x (implies (position-equiv x x-equiv) (equal (position->column$inline x) (position->column$inline x-equiv))) :rule-classes :congruence)