• Top
    • Documentation
    • Books
    • Recursion-and-induction
    • Boolean-reasoning
    • Projects
    • Debugging
    • Std
    • Proof-automation
    • Macro-libraries
    • ACL2
    • Interfacing-tools
    • Hardware-verification
    • Software-verification
      • Kestrel-books
        • Crypto-hdwallet
        • Error-checking
        • Apt
        • Abnf
        • Fty-extensions
        • Isar
        • Kestrel-utilities
        • Prime-field-constraint-systems
        • Soft
        • Bv
        • Imp-language
        • Event-macros
        • Bitcoin
        • Ethereum
        • Yul
        • Zcash
        • ACL2-programming-language
        • Prime-fields
        • Java
        • C
        • Syntheto
        • Number-theory
        • Cryptography
        • Lists-light
        • File-io-light
        • Json
        • Built-ins
        • Solidity
        • Axe
        • Std-extensions
          • Std/util-extensions
          • Std/basic-extensions
            • Mbt$
            • Organize-symbols-by-pkg
            • Organize-symbols-by-name
            • Good-valuep
            • Symbol-package-name-non-cl
            • Symbol-package-name-lst
            • Good-pseudo-termp
              • Good-pseudo-term-listp
            • Maybe-string-fix
            • Std/basic/if*
            • Std/basic/member-symbol-name
          • Std/strings-extensions
          • Std/system-extensions
        • Htclient
        • Typed-lists-light
        • Arithmetic-light
      • X86isa
      • Execloader
      • Axe
    • Testing-utilities
    • Math
  • Std/basic-extensions
  • Std/basic

Good-pseudo-termp

Check if a pseudo-term only contains good values, i.e. no bad atoms.

Signature
(good-pseudo-termp term) → yes/no
Arguments
term — Guard (pseudo-termp term).
Returns
yes/no — Type (booleanp yes/no).

That is, check if every value of every quoted constant in the term satisfies good-valuep.

Theorem: return-type-of-good-pseudo-termp.yes/no

(defthm return-type-of-good-pseudo-termp.yes/no
        (b* ((?yes/no (good-pseudo-termp term)))
            (booleanp yes/no))
        :rule-classes :rewrite)

Theorem: return-type-of-good-pseudo-term-listp.yes/no

(defthm return-type-of-good-pseudo-term-listp.yes/no
        (b* ((?yes/no (good-pseudo-term-listp terms)))
            (booleanp yes/no))
        :rule-classes :rewrite)

Subtopics

Good-pseudo-term-listp