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