Get the partial-first-p field from a param.
This is an ordinary field accessor created by fty::defprod.
Function:
(defun param->partial-first-p$inline (x) (declare (xargs :guard (paramp x))) (declare (xargs :guard t)) (let ((__function__ 'param->partial-first-p)) (declare (ignorable __function__)) (mbe :logic (b* ((x (and t x))) (acl2::bool-fix (cdr (std::da-nth 10 x)))) :exec (cdr (std::da-nth 10 x)))))
Theorem:
(defthm booleanp-of-param->partial-first-p (b* ((partial-first-p (param->partial-first-p$inline x))) (booleanp partial-first-p)) :rule-classes :rewrite)
Theorem:
(defthm param->partial-first-p$inline-of-param-fix-x (equal (param->partial-first-p$inline (param-fix x)) (param->partial-first-p$inline x)))
Theorem:
(defthm param->partial-first-p$inline-param-equiv-congruence-on-x (implies (param-equiv x x-equiv) (equal (param->partial-first-p$inline x) (param->partial-first-p$inline x-equiv))) :rule-classes :congruence)