• Top
    • Documentation
    • Books
    • Recursion-and-induction
    • Boolean-reasoning
    • Projects
    • Debugging
    • Std
    • Proof-automation
    • Macro-libraries
    • ACL2
      • Theories
      • Rule-classes
      • Proof-builder
      • Hons-and-memoization
      • Events
      • History
      • Parallelism
      • Programming
      • Start-here
      • Real
      • Debugging
      • Miscellaneous
        • Term
          • Lambda
          • Pseudo-termp
          • Term-order
          • Pseudo-term-listp
            • Guard-holders
            • Termp
            • L<
            • Kwote
            • Kwote-lst
          • Ld
          • Hints
          • Type-set
          • Ordinals
          • ACL2-customization
          • With-prover-step-limit
          • With-prover-time-limit
          • Set-prover-step-limit
          • Local-incompatibility
          • Set-case-split-limitations
          • Subversive-recursions
          • Specious-simplification
          • Defsum
          • Oracle-timelimit
          • Thm
          • Defopener
          • Gcl
          • Case-split-limitations
          • Set-gc-strategy
          • Default-defun-mode
          • Top-level
          • Reader
          • Ttags-seen
          • Adviser
          • Ttree
          • Abort-soft
          • Defsums
          • Gc$
          • With-timeout
          • Coi-debug::fail
          • Expander
          • Gc-strategy
          • Coi-debug::assert
          • Sin-cos
          • Def::doc
          • Syntax
          • Subversive-inductions
        • Output-controls
        • Macros
        • Interfacing-tools
      • Interfacing-tools
      • Hardware-verification
      • Software-verification
      • Testing-utilities
      • Math
    • Term
    • ACL2-built-ins

    Pseudo-term-listp

    A predicate for recognizing lists of term-like s-expressions

    See pseudo-termp for a predicate that recognizes a term-like s-expression. The predicate pseudo-term-listp tests whether its argument is a list of those.

    Function: pseudo-term-listp

    (defun pseudo-term-listp (lst)
      (declare (xargs :guard t))
      (cond ((atom lst) (equal lst nil))
            (t (and (pseudo-termp (car lst))
                    (pseudo-term-listp (cdr lst))))))