Filtering...

term-function-recognizers

books/std/system/term-function-recognizers

Included Books

other
(in-package "ACL2")
include-book
(include-book "pseudo-lambdap")
include-book
(include-book "pseudo-lambda-listp")
include-book
(include-book "pseudo-termfnp")
include-book
(include-book "pseudo-termfn-listp")
include-book
(include-book "lambdap")
include-book
(include-book "lambda-listp")
include-book
(include-book "termfnp")
include-book
(include-book "termfn-listp")
other
(defxdoc std/system/term-function-recognizers
  :parents (std/system)
  :short "Recognizers of functions in terms."
  :long (topstring (p "In translated @(see term)s,
     the `functions' that are applied to argument terms are
     function symbols and lambda expressions.")
    (p "The built-in predicates @(tsee pseudo-termp) and @(tsee termp)
     recognize pseudo-terms and valid translated terms.
     The following predicates recognize
     lambda expressions in pseudo-terms and in valid translated terms,
     as well as functions (in the sense above)
     in pseudo-terms and in valid translated terms.")
    (p "Note that the built-in predicate @(tsee symbolp) recognizes
     functions in pseudo-terms that are not lambda expressions,
     and that the predicate @(tsee function-symbolp) recognizes
     functions in valid translated terms that are not lambda expressions
     (the latter has guard @(tsee symbolp),
     so it must be actually preceded by a call of @(tsee symbolp)
     in guard-verified code).
     These predicates, with the ones below,
     provide ways to recognize all kinds of functions in terms.")))