Lemmas for the bounds of
These are lemmas for:
Theorem:
(defthm |(< (logtail n a) a)| (equal (< (logtail n a) a) (if (zip a) (< 0 a) (and (posp a) (posp n)))) :rule-classes ((:rewrite) (:linear :corollary (implies (and (posp a) (posp n)) (< (logtail n a) a)))))
Theorem:
(defthm |(= a (logtail n a))| (equal (= a (logtail n a)) (if (zip a) (equal a 0) (or (zp n) (equal a -1)))))
Theorem:
(defthm |(< a (logtail n a))| (equal (< a (logtail n a)) (if (zip a) (< a 0) (and (posp n) (< a -1)))) :rule-classes ((:rewrite) (:linear :corollary (implies (and (posp n) (< a -1)) (< a (logtail n a))))))