Access the
Function:
(defun lit->neg$inline (lit) (declare (xargs :guard (litp lit))) (let ((__function__ 'lit->neg)) (declare (ignorable __function__)) (the bit (logand 1 (the (integer 0 *) (lit-fix lit))))))
Theorem:
(defthm bitp-of-lit->neg (b* ((neg (lit->neg$inline lit))) (bitp neg)) :rule-classes (:rewrite :type-prescription))
Theorem:
(defthm natp-of-lit->neg (natp (lit->neg lit)) :rule-classes (:type-prescription :tau-system))
Theorem:
(defthm lit->neg-bound (<= (lit->neg lit) 1) :rule-classes :linear)
Theorem:
(defthm lit->neg$inline-of-lit-fix-lit (equal (lit->neg$inline (lit-fix lit)) (lit->neg$inline lit)))
Theorem:
(defthm lit->neg$inline-lit-equiv-congruence-on-lit (implies (lit-equiv lit lit-equiv) (equal (lit->neg$inline lit) (lit->neg$inline lit-equiv))) :rule-classes :congruence)