Function:
(defun const-prop-extdecl (extdecl env) (declare (xargs :guard (and (extdeclp extdecl) (envp env)))) (let ((__function__ 'const-prop-extdecl)) (declare (ignorable __function__)) (extdecl-case extdecl :fundef (extdecl-fundef (const-prop-fundef extdecl.unwrap env)) :decl (b* (((mv unwrap -) (const-prop-decl extdecl.unwrap env))) (extdecl-decl unwrap)) :empty (extdecl-empty) :asm (extdecl-fix extdecl))))
Theorem:
(defthm extdeclp-of-const-prop-extdecl (b* ((new-extdecl (const-prop-extdecl extdecl env))) (extdeclp new-extdecl)) :rule-classes :rewrite)