(call-graph-fundef fundef filepath valid-table call-graph) → call-graph$
Function:
(defun call-graph-fundef (fundef filepath valid-table call-graph) (declare (xargs :guard (and (fundefp fundef) (filepathp filepath) (c$::valid-tablep valid-table) (call-graphp call-graph)))) (let ((__function__ 'call-graph-fundef)) (declare (ignorable __function__)) (b* (((fundef fundef) fundef) ((declor fundef.declor) fundef.declor)) (dirdeclor-case fundef.declor.direct :function-params (b* ((fn-name (c$::dirdeclor->ident fundef.declor.direct.decl)) (qualified-fn-name (qualify-ident filepath valid-table fn-name))) (call-graph-stmt fundef.body qualified-fn-name filepath valid-table call-graph)) :function-names (b* ((fn-name (c$::dirdeclor->ident fundef.declor.direct.decl)) (qualified-fn-name (qualify-ident filepath valid-table fn-name))) (call-graph-stmt fundef.body qualified-fn-name filepath valid-table call-graph)) :otherwise (call-graph-fix call-graph)))))
Theorem:
(defthm call-graphp-of-call-graph-fundef (b* ((call-graph$ (call-graph-fundef fundef filepath valid-table call-graph))) (call-graphp call-graph$)) :rule-classes :rewrite)