• Top
    • Documentation
    • Books
    • Boolean-reasoning
    • Projects
    • Debugging
    • Std
    • Proof-automation
    • Macro-libraries
    • ACL2
    • Interfacing-tools
    • Hardware-verification
    • Software-verification
      • Kestrel-books
        • Crypto-hdwallet
        • Apt
        • Error-checking
        • Fty-extensions
        • Isar
        • Kestrel-utilities
        • Set
        • Soft
        • C
        • Bv
        • Imp-language
        • Event-macros
        • Java
          • Atj
            • Atj-implementation
              • Atj-types
              • Atj-java-primitive-array-model
              • Atj-java-abstract-syntax
              • Atj-input-processing
              • Atj-java-pretty-printer
              • Atj-code-generation
              • Atj-java-primitives
              • Atj-java-primitive-arrays
              • Atj-type-macros
              • Atj-java-syntax-operations
              • Atj-fn
              • Atj-library-extensions
              • Atj-java-input-types
              • Atj-test-structures
              • Aij-notions
                • *aij-symbol-constants*
                • Aij-nativep
                  • *aij-natives*
                  • *aij-class-names*
                  • *aij-package*
                  • Aij-class-types
                  • Aij-class-names
                • Atj-macro-definition
              • Atj-tutorial
            • Aij
            • Language
          • Bitcoin
          • Ethereum
          • Yul
          • Zcash
          • ACL2-programming-language
          • Prime-fields
          • Json
          • Syntheto
          • File-io-light
          • Cryptography
          • Number-theory
          • Lists-light
          • Axe
          • Builtins
          • Solidity
          • Helpers
          • Htclient
          • Typed-lists-light
          • Arithmetic-light
        • X86isa
        • Axe
        • Execloader
      • Math
      • Testing-utilities
    • Aij-notions

    Aij-nativep

    Recognize the ACL2 built-in functions natively implemented in AIJ.

    Signature
    (aij-nativep fn) → yes/no
    Arguments
    fn — Guard (symbolp fn).
    Returns
    yes/no — Type (booleanp yes/no).

    Definitions and Theorems

    Function: aij-nativep

    (defun aij-nativep (fn)
      (declare (xargs :guard (symbolp fn)))
      (let ((__function__ 'aij-nativep))
        (declare (ignorable __function__))
        (and (member-eq fn *aij-natives*) t)))

    Theorem: booleanp-of-aij-nativep

    (defthm booleanp-of-aij-nativep
      (b* ((yes/no (aij-nativep fn)))
        (booleanp yes/no))
      :rule-classes :rewrite)