FTY version of check-fn-call.
(fty-check-fn-call term) → (mv yes/no fn args)
Function:
(defun fty-check-fn-call (term) (declare (xargs :guard (pseudo-termp term))) (let ((__function__ 'fty-check-fn-call)) (declare (ignorable __function__)) (check-fn-call (pseudo-term-fix term))))
Theorem:
(defthm booleanp-of-fty-check-fn-call.yes/no (b* (((mv ?yes/no ?fn acl2::?args) (fty-check-fn-call term))) (booleanp yes/no)) :rule-classes :rewrite)
Theorem:
(defthm symbolp-of-fty-check-fn-call.fn (b* (((mv ?yes/no ?fn acl2::?args) (fty-check-fn-call term))) (symbolp fn)) :rule-classes :rewrite)
Theorem:
(defthm pseudo-term-listp-of-fty-check-fn-call.args (b* (((mv ?yes/no ?fn acl2::?args) (fty-check-fn-call term))) (pseudo-term-listp args)) :rule-classes :rewrite)
Theorem:
(defthm true-listp-of-fty-check-fn-call.args (b* (((mv ?yes/no ?fn acl2::?args) (fty-check-fn-call term))) (true-listp args)) :rule-classes :type-prescription)
Theorem:
(defthm fty-check-fn-call-not-quote (b* (((mv ?yes/no ?fn acl2::?args) (fty-check-fn-call term))) (not (equal fn 'quote))))
Theorem:
(defthm pseudo-term-list-count-of-check-fn-call.args (implies (pseudo-termp term) (b* (((mv yes/no & args) (check-fn-call term))) (implies yes/no (< (pseudo-term-list-count args) (pseudo-term-count term))))) :rule-classes :linear)
Theorem:
(defthm pseudo-term-list-count-of-fty-check-fn-call.args (b* (((mv ?yes/no ?fn acl2::?args) (fty-check-fn-call term))) (implies yes/no (< (pseudo-term-list-count args) (pseudo-term-count term)))) :rule-classes :linear)