Basic equivalence relation for vl-paramdecloverridelist structures.
Function:
(defun vl-paramdecloverridelist-equiv$inline (acl2::x acl2::y) (declare (xargs :guard (and (vl-paramdecloverridelist-p acl2::x) (vl-paramdecloverridelist-p acl2::y)))) (equal (vl-paramdecloverridelist-fix acl2::x) (vl-paramdecloverridelist-fix acl2::y)))
Theorem:
(defthm vl-paramdecloverridelist-equiv-is-an-equivalence (and (booleanp (vl-paramdecloverridelist-equiv x y)) (vl-paramdecloverridelist-equiv x x) (implies (vl-paramdecloverridelist-equiv x y) (vl-paramdecloverridelist-equiv y x)) (implies (and (vl-paramdecloverridelist-equiv x y) (vl-paramdecloverridelist-equiv y z)) (vl-paramdecloverridelist-equiv x z))) :rule-classes (:equivalence))
Theorem:
(defthm vl-paramdecloverridelist-equiv-implies-equal-vl-paramdecloverridelist-fix-1 (implies (vl-paramdecloverridelist-equiv acl2::x x-equiv) (equal (vl-paramdecloverridelist-fix acl2::x) (vl-paramdecloverridelist-fix x-equiv))) :rule-classes (:congruence))
Theorem:
(defthm vl-paramdecloverridelist-fix-under-vl-paramdecloverridelist-equiv (vl-paramdecloverridelist-equiv (vl-paramdecloverridelist-fix acl2::x) acl2::x) :rule-classes (:rewrite :rewrite-quoted-constant))
Theorem:
(defthm equal-of-vl-paramdecloverridelist-fix-1-forward-to-vl-paramdecloverridelist-equiv (implies (equal (vl-paramdecloverridelist-fix acl2::x) acl2::y) (vl-paramdecloverridelist-equiv acl2::x acl2::y)) :rule-classes :forward-chaining)
Theorem:
(defthm equal-of-vl-paramdecloverridelist-fix-2-forward-to-vl-paramdecloverridelist-equiv (implies (equal acl2::x (vl-paramdecloverridelist-fix acl2::y)) (vl-paramdecloverridelist-equiv acl2::x acl2::y)) :rule-classes :forward-chaining)
Theorem:
(defthm vl-paramdecloverridelist-equiv-of-vl-paramdecloverridelist-fix-1-forward (implies (vl-paramdecloverridelist-equiv (vl-paramdecloverridelist-fix acl2::x) acl2::y) (vl-paramdecloverridelist-equiv acl2::x acl2::y)) :rule-classes :forward-chaining)
Theorem:
(defthm vl-paramdecloverridelist-equiv-of-vl-paramdecloverridelist-fix-2-forward (implies (vl-paramdecloverridelist-equiv acl2::x (vl-paramdecloverridelist-fix acl2::y)) (vl-paramdecloverridelist-equiv acl2::x acl2::y)) :rule-classes :forward-chaining)