Function:
(defun fundef-aidentp (fundef gcc) (declare (xargs :guard (and (fundefp fundef) (booleanp gcc)))) (declare (ignorable fundef)) (let ((__function__ 'fundef-aidentp)) (declare (ignorable __function__)) (and (decl-spec-list-aidentp (fundef->spec fundef) gcc) (and (declor-aidentp (fundef->declor fundef) gcc) (and (attrib-spec-list-aidentp (fundef->attribs fundef) gcc) (and (decl-list-aidentp (fundef->decls fundef) gcc) (stmt-aidentp (fundef->body fundef) gcc)))))))
Theorem:
(defthm booleanp-of-fundef-aidentp (b* ((fty::result (fundef-aidentp fundef gcc))) (booleanp fty::result)) :rule-classes :rewrite)
Theorem:
(defthm fundef-aidentp-of-fundef-fix-fundef (equal (fundef-aidentp (fundef-fix fundef) gcc) (fundef-aidentp fundef gcc)))
Theorem:
(defthm fundef-aidentp-fundef-equiv-congruence-on-fundef (implies (fundef-equiv fundef fundef-equiv) (equal (fundef-aidentp fundef gcc) (fundef-aidentp fundef-equiv gcc))) :rule-classes :congruence)
Theorem:
(defthm fundef-aidentp-of-bool-fix-gcc (equal (fundef-aidentp fundef (bool-fix gcc)) (fundef-aidentp fundef gcc)))
Theorem:
(defthm fundef-aidentp-iff-congruence-on-gcc (implies (iff gcc gcc-equiv) (equal (fundef-aidentp fundef gcc) (fundef-aidentp fundef gcc-equiv))) :rule-classes :congruence)