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