Included Books
other
(in-package "ACL2")
local
(local (include-book "mini-theories-helper"))
other
(theory-invariant (not (and (active-runep '(:rewrite |(* -1 x)|)) (active-runep '(:rewrite |(- x)|)))) :error t)
other
(theory-invariant (not (and (active-runep '(:rewrite |(expt x -1)|)) (active-runep '(:rewrite |(/ x)|)))) :error t)
rewrite-linear-equalities-to-ifftheorem
(defthm rewrite-linear-equalities-to-iff (equal (equal (< w x) (< y z)) (iff (< w x) (< y z))))
expt-type-prescription-negative-base-even-exponenttheorem
(defthm expt-type-prescription-negative-base-even-exponent (implies (and (< r 0) (rationalp r) (integerp i) (integerp (* 1/2 i))) (< 0 (expt r i))) :rule-classes (:type-prescription :generalize))
expt-type-prescription-negative-base-odd-exponenttheorem
(defthm expt-type-prescription-negative-base-odd-exponent (implies (and (< r 0) (rationalp r) (integerp i) (not (integerp (* 1/2 i)))) (< (expt r i) 0)) :rule-classes (:type-prescription :generalize))
expt-type-prescription-nonpositive-base-even-exponenttheorem
(defthm expt-type-prescription-nonpositive-base-even-exponent (implies (and (<= r 0) (rationalp r) (integerp i) (integerp (* 1/2 i))) (<= 0 (expt r i))) :rule-classes (:type-prescription :generalize) :hints (("Goal" :use ((:instance expt-type-prescription-negative-base-even-exponent)))))
expt-type-prescription-nonpositive-base-odd-exponenttheorem
(defthm expt-type-prescription-nonpositive-base-odd-exponent (implies (and (<= r 0) (rationalp r) (integerp i) (not (integerp (* 1/2 i)))) (<= (expt r i) 0)) :rule-classes (:type-prescription :generalize) :hints (("Goal" :use ((:instance expt-type-prescription-negative-base-odd-exponent)))))