Function:
(defun smt-solver-params-p (term) (declare (xargs :guard t)) (let ((acl2::__function__ 'smt-solver-params-p)) (declare (ignorable acl2::__function__)) (true-listp term)))
Theorem:
(defthm booleanp-of-smt-solver-params-p (b* ((syntax-good? (smt-solver-params-p term))) (booleanp syntax-good?)) :rule-classes :rewrite)
Function:
(defun smt-solver-params-fix (term) (declare (xargs :guard (smt-solver-params-p term))) (let ((acl2::__function__ 'smt-solver-params-fix)) (declare (ignorable acl2::__function__)) (mbe :logic (if (smt-solver-params-p term) term (true-list-fix term)) :exec term)))
Theorem:
(defthm smt-solver-params-p-of-smt-solver-params-fix (b* ((fixed-term (smt-solver-params-fix term))) (smt-solver-params-p fixed-term)) :rule-classes :rewrite)
Function:
(defun smt-solver-params-equiv$inline (acl2::x acl2::y) (declare (xargs :guard (and (smt-solver-params-p acl2::x) (smt-solver-params-p acl2::y)))) (equal (smt-solver-params-fix acl2::x) (smt-solver-params-fix acl2::y)))
Theorem:
(defthm smt-solver-params-equiv-is-an-equivalence (and (booleanp (smt-solver-params-equiv x y)) (smt-solver-params-equiv x x) (implies (smt-solver-params-equiv x y) (smt-solver-params-equiv y x)) (implies (and (smt-solver-params-equiv x y) (smt-solver-params-equiv y z)) (smt-solver-params-equiv x z))) :rule-classes (:equivalence))
Theorem:
(defthm smt-solver-params-equiv-implies-equal-smt-solver-params-fix-1 (implies (smt-solver-params-equiv acl2::x x-equiv) (equal (smt-solver-params-fix acl2::x) (smt-solver-params-fix x-equiv))) :rule-classes (:congruence))
Theorem:
(defthm smt-solver-params-fix-under-smt-solver-params-equiv (smt-solver-params-equiv (smt-solver-params-fix acl2::x) acl2::x) :rule-classes (:rewrite :rewrite-quoted-constant))
Theorem:
(defthm equal-of-smt-solver-params-fix-1-forward-to-smt-solver-params-equiv (implies (equal (smt-solver-params-fix acl2::x) acl2::y) (smt-solver-params-equiv acl2::x acl2::y)) :rule-classes :forward-chaining)
Theorem:
(defthm equal-of-smt-solver-params-fix-2-forward-to-smt-solver-params-equiv (implies (equal acl2::x (smt-solver-params-fix acl2::y)) (smt-solver-params-equiv acl2::x acl2::y)) :rule-classes :forward-chaining)
Theorem:
(defthm smt-solver-params-equiv-of-smt-solver-params-fix-1-forward (implies (smt-solver-params-equiv (smt-solver-params-fix acl2::x) acl2::y) (smt-solver-params-equiv acl2::x acl2::y)) :rule-classes :forward-chaining)
Theorem:
(defthm smt-solver-params-equiv-of-smt-solver-params-fix-2-forward (implies (smt-solver-params-equiv acl2::x (smt-solver-params-fix acl2::y)) (smt-solver-params-equiv acl2::x acl2::y)) :rule-classes :forward-chaining)