Process the inputs.
(output-files-process-inputs arg args progp wrld) → (mv erp code path indent-size paren-nested-conds)
If
If
The
If the
Function:
(defun output-files-process-inputs (arg args progp wrld) (declare (xargs :guard (and (true-listp args) (booleanp progp) (plist-worldp wrld)))) (declare (xargs :guard (implies (not progp) (not arg)))) (let ((__function__ 'output-files-process-inputs)) (declare (ignorable __function__)) (b* (((reterr) (irr-code-ensemble) "" 1 nil) ((mv erp extra options) (partition-rest-and-keyword-args args *output-files-allowed-options*)) (inputs-desc (msg "a code ensemble and the options ~&0" *output-files-allowed-options*)) ((when erp) (reterr (msg "The inputs must be ~@0, ~ but instead they are ~x1." inputs-desc args))) ((when extra) (reterr (msg "The inputs must be ~@0, ~ but instead the extra inputs ~x1 were supplied." inputs-desc extra))) ((erp code) (output-files-process-const/arg arg options progp wrld)) ((erp path) (output-files-process-path options)) ((erp indent-size paren-nested-conds) (output-files-process-printer-options options))) (retok code path indent-size paren-nested-conds))))
Theorem:
(defthm code-ensemblep-of-output-files-process-inputs.code (b* (((mv acl2::?erp ?code ?path ?indent-size ?paren-nested-conds) (output-files-process-inputs arg args progp wrld))) (code-ensemblep code)) :rule-classes :rewrite)
Theorem:
(defthm stringp-of-output-files-process-inputs.path (b* (((mv acl2::?erp ?code ?path ?indent-size ?paren-nested-conds) (output-files-process-inputs arg args progp wrld))) (stringp path)) :rule-classes :rewrite)
Theorem:
(defthm posp-of-output-files-process-inputs.indent-size (b* (((mv acl2::?erp ?code ?path ?indent-size ?paren-nested-conds) (output-files-process-inputs arg args progp wrld))) (posp indent-size)) :rule-classes :rewrite)
Theorem:
(defthm booleanp-of-output-files-process-inputs.paren-nested-conds (b* (((mv acl2::?erp ?code ?path ?indent-size ?paren-nested-conds) (output-files-process-inputs arg args progp wrld))) (booleanp paren-nested-conds)) :rule-classes :rewrite)
Theorem:
(defthm code-ensemble-unambp-of-output-files-process-inputs (b* (((mv acl2::?erp ?code ?path ?indent-size ?paren-nested-conds) (output-files-process-inputs arg args progp wrld))) (implies (not erp) (code-ensemble-unambp code))))
Theorem:
(defthm code-aidentp-of-output-files-process-inputs (b* (((mv acl2::?erp ?code ?path ?indent-size ?paren-nested-conds) (output-files-process-inputs arg args progp wrld))) (implies (not erp) (code-ensemble-aidentp code))))