Included Books
other
(in-package "ACL2")
include-book
(include-book "defmax-nat")
other
(defmax-nat max-leq-10 n nil (<= n 10))
max-leq-10.elementp-of-0theorem
(defthm max-leq-10.elementp-of-0 (max-leq-10.elementp 0))
max-leq-10.uboundp-of-100theorem
(defthm max-leq-10.uboundp-of-100 (max-leq-10.uboundp 100) :hints (("Goal" :in-theory (enable max-leq-10.uboundp))))
max-leq-10.existsp-via-0-and-100theorem
(defthm max-leq-10.existsp-via-0-and-100 (max-leq-10.existsp) :hints (("Goal" :use (:instance max-leq-10.existsp-when-nonempty-and-bounded (n0 0) (n1 100)))))
max-leq-10.uboundp-of-10theorem
(defthm max-leq-10.uboundp-of-10 (max-leq-10.uboundp 10) :hints (("Goal" :in-theory (enable max-leq-10.uboundp))))
max-leq-10-is-10theorem
(defthm max-leq-10-is-10 (equal (max-leq-10) 10) :hints (("Goal" :use (:instance max-leq-10.equal-when-member-and-ubound (n 10)))))
max-leq-x.elementp-of-xtheorem
(defthm max-leq-x.elementp-of-x (max-leq-x.elementp x x) :hints (("Goal" :in-theory (enable max-leq-x.elementp))))
max-leq-x.uboundp-of-xtheorem
(defthm max-leq-x.uboundp-of-x (implies (natp x) (max-leq-x.uboundp x x)) :hints (("Goal" :in-theory (enable max-leq-x.uboundp max-leq-x.elementp))))
max-leq-x.existsp-via-x-and-xtheorem
(defthm max-leq-x.existsp-via-x-and-x (implies (natp x) (max-leq-x.existsp x)) :hints (("Goal" :use (:instance max-leq-x.existsp-when-nonempty-and-bounded (y0 x) (y1 x)))))
max-leq-x-is-xtheorem
(defthm max-leq-x-is-x (implies (natp x) (equal (max-leq-x x) x)) :hints (("Goal" :use (:instance max-leq-x.equal-when-member-and-ubound (y x)))))