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