Function:
(defun extdecl-annop (extdecl) (declare (xargs :guard (extdeclp extdecl))) (let ((__function__ 'extdecl-annop)) (declare (ignorable __function__)) (extdecl-case extdecl :fundef (and (fundef-annop (extdecl-fundef->unwrap extdecl))) :decl (and (decl-annop (extdecl-decl->unwrap extdecl))) :empty t :asm (and (asm-stmt-annop (extdecl-asm->unwrap extdecl))))))
Theorem:
(defthm booleanp-of-extdecl-annop (b* ((yes/no (extdecl-annop extdecl))) (booleanp yes/no)) :rule-classes :rewrite)
Theorem:
(defthm extdecl-annop-of-extdecl-fix-extdecl (equal (extdecl-annop (extdecl-fix extdecl)) (extdecl-annop extdecl)))
Theorem:
(defthm extdecl-annop-extdecl-equiv-congruence-on-extdecl (implies (extdecl-equiv extdecl extdecl-equiv) (equal (extdecl-annop extdecl) (extdecl-annop extdecl-equiv))) :rule-classes :congruence)