Apply
(lognot-value val) → resval
It is an error if the value is not scalar.
Function:
(defun lognot-value (val) (declare (xargs :guard (valuep val))) (let ((__function__ 'lognot-value)) (declare (ignorable __function__)) (if (value-scalarp val) (lognot-scalar-value val) (error (list :lognot-mistype :required :scalar :supplied (value-fix val))))))
Theorem:
(defthm value-resultp-of-lognot-value (b* ((resval (lognot-value val))) (value-resultp resval)) :rule-classes :rewrite)
Theorem:
(defthm lognot-value-of-value-fix-val (equal (lognot-value (value-fix val)) (lognot-value val)))
Theorem:
(defthm lognot-value-value-equiv-congruence-on-val (implies (value-equiv val val-equiv) (equal (lognot-value val) (lognot-value val-equiv))) :rule-classes :congruence)