Filtering...

termination-theorem-dollar-tests

books/std/system/termination-theorem-dollar-tests

Included Books

other
(in-package "ACL2")
include-book
(include-book "termination-theorem-dollar")
include-book
(include-book "std/testing/assert-equal" :dir :system)
other
(assert-equal (termination-theorem$ 'len state)
  '(if (o-p (acl2-count x))
    (if (not (consp x))
      't
      (o< (acl2-count (cdr x)) (acl2-count x)))
    'nil))
other
(assert-equal (car (termination-theorem$ 'cons state))
  :failed)