Representation of a write of a pointed type
Function:
(defun ullong-write (x) (declare (xargs :guard (ullongp x))) (let ((__function__ 'ullong-write)) (declare (ignorable __function__)) (ullong-fix x)))
Theorem:
(defthm return-type-of-ullong-write (b* ((x (ullong-write x))) (star (ullongp x))) :rule-classes :rewrite)
Theorem:
(defthm ullongp-of-ullong-write (b* ((x (ullong-write x))) (ullongp x)) :rule-classes :rewrite)
Theorem:
(defthm ullong-write-of-ullong-fix-x (equal (ullong-write (ullong-fix x)) (ullong-write x)))
Theorem:
(defthm ullong-write-ullong-equiv-congruence-on-x (implies (ullong-equiv x x-equiv) (equal (ullong-write x) (ullong-write x-equiv))) :rule-classes :congruence)