Recognizer for atomic statements (those with no sub-statements).
(vl-atomicstmt-p x) → *
Function:
(defun vl-atomicstmt-p (x) (declare (xargs :guard (vl-stmt-p x))) (let ((__function__ 'vl-atomicstmt-p)) (declare (ignorable __function__)) (let ((kind (vl-stmt-kind x))) (or (eq kind :vl-nullstmt) (eq kind :vl-assignstmt) (eq kind :vl-deassignstmt) (eq kind :vl-enablestmt) (eq kind :vl-disablestmt) (eq kind :vl-eventtriggerstmt) (eq kind :vl-returnstmt)))))
Theorem:
(defthm vl-atomicstmt-p-of-vl-stmt-fix-x (equal (vl-atomicstmt-p (vl-stmt-fix x)) (vl-atomicstmt-p x)))
Theorem:
(defthm vl-atomicstmt-p-vl-stmt-equiv-congruence-on-x (implies (vl-stmt-equiv x x-equiv) (equal (vl-atomicstmt-p x) (vl-atomicstmt-p x-equiv))) :rule-classes :congruence)