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