Fixtype for ascii-basic-source-charp.
Function:
(defun ascii-basic-source-char-equiv$inline (acl2::x acl2::y) (declare (xargs :guard (and (ascii-basic-source-charp acl2::x) (ascii-basic-source-charp acl2::y)))) (equal (ascii-basic-source-char-fix acl2::x) (ascii-basic-source-char-fix acl2::y)))
Theorem:
(defthm ascii-basic-source-char-equiv-is-an-equivalence (and (booleanp (ascii-basic-source-char-equiv x y)) (ascii-basic-source-char-equiv x x) (implies (ascii-basic-source-char-equiv x y) (ascii-basic-source-char-equiv y x)) (implies (and (ascii-basic-source-char-equiv x y) (ascii-basic-source-char-equiv y z)) (ascii-basic-source-char-equiv x z))) :rule-classes (:equivalence))
Theorem:
(defthm ascii-basic-source-char-equiv-implies-equal-ascii-basic-source-char-fix-1 (implies (ascii-basic-source-char-equiv acl2::x x-equiv) (equal (ascii-basic-source-char-fix acl2::x) (ascii-basic-source-char-fix x-equiv))) :rule-classes (:congruence))
Theorem:
(defthm ascii-basic-source-char-fix-under-ascii-basic-source-char-equiv (ascii-basic-source-char-equiv (ascii-basic-source-char-fix acl2::x) acl2::x) :rule-classes (:rewrite :rewrite-quoted-constant))
Theorem:
(defthm equal-of-ascii-basic-source-char-fix-1-forward-to-ascii-basic-source-char-equiv (implies (equal (ascii-basic-source-char-fix acl2::x) acl2::y) (ascii-basic-source-char-equiv acl2::x acl2::y)) :rule-classes :forward-chaining)
Theorem:
(defthm equal-of-ascii-basic-source-char-fix-2-forward-to-ascii-basic-source-char-equiv (implies (equal acl2::x (ascii-basic-source-char-fix acl2::y)) (ascii-basic-source-char-equiv acl2::x acl2::y)) :rule-classes :forward-chaining)
Theorem:
(defthm ascii-basic-source-char-equiv-of-ascii-basic-source-char-fix-1-forward (implies (ascii-basic-source-char-equiv (ascii-basic-source-char-fix acl2::x) acl2::y) (ascii-basic-source-char-equiv acl2::x acl2::y)) :rule-classes :forward-chaining)
Theorem:
(defthm ascii-basic-source-char-equiv-of-ascii-basic-source-char-fix-2-forward (implies (ascii-basic-source-char-equiv acl2::x (ascii-basic-source-char-fix acl2::y)) (ascii-basic-source-char-equiv acl2::x acl2::y)) :rule-classes :forward-chaining)