Check a file set.
(check-fileset fileset) → wf
First we preprocess the file set. If preprocessing is successful, we check the translation unit.
Function:
(defun check-fileset (fileset) (declare (xargs :guard (filesetp fileset))) (let ((__function__ 'check-fileset)) (declare (ignorable __function__)) (b* (((okf tunit) (preprocess fileset))) (check-transunit tunit))))
Theorem:
(defthm wellformed-resultp-of-check-fileset (b* ((wf (check-fileset fileset))) (wellformed-resultp wf)) :rule-classes :rewrite)
Theorem:
(defthm check-fileset-of-fileset-fix-fileset (equal (check-fileset (fileset-fix fileset)) (check-fileset fileset)))
Theorem:
(defthm check-fileset-fileset-equiv-congruence-on-fileset (implies (fileset-equiv fileset fileset-equiv) (equal (check-fileset fileset) (check-fileset fileset-equiv))) :rule-classes :congruence)