Get the stage field from a lhprobe.
This is an ordinary field accessor created by defprod.
Function:
(defun lhprobe->stage$inline (x) (declare (xargs :guard (lhprobe-p x))) (declare (xargs :guard t)) (let ((__function__ 'lhprobe->stage)) (declare (ignorable __function__)) (mbe :logic (b* ((x (and t x))) (nfix (car (cdr x)))) :exec (car (cdr x)))))
Theorem:
(defthm natp-of-lhprobe->stage (b* ((stage (lhprobe->stage$inline x))) (natp stage)) :rule-classes :type-prescription)
Theorem:
(defthm lhprobe->stage$inline-of-lhprobe-fix-x (equal (lhprobe->stage$inline (lhprobe-fix x)) (lhprobe->stage$inline x)))
Theorem:
(defthm lhprobe->stage$inline-lhprobe-equiv-congruence-on-x (implies (lhprobe-equiv x x-equiv) (equal (lhprobe->stage$inline x) (lhprobe->stage$inline x-equiv))) :rule-classes :congruence)