• Top
    • Documentation
    • Books
    • Boolean-reasoning
    • Projects
    • Debugging
    • Std
    • Community
    • Proof-automation
    • ACL2
    • Macro-libraries
    • Interfacing-tools
    • Hardware-verification
    • Software-verification
      • Kestrel-books
        • Crypto-hdwallet
        • Apt
        • Error-checking
        • Fty-extensions
        • Isar
        • Kestrel-utilities
        • Set
        • Soft
        • C
          • Syntax-for-tools
          • Atc
            • Atc-implementation
              • Atc-abstract-syntax
              • Atc-pretty-printer
              • Atc-event-and-code-generation
              • Fty-pseudo-term-utilities
              • Atc-term-recognizers
              • Atc-input-processing
              • Atc-shallow-embedding
                • Defstruct
                • Defobject
                  • Defobject-implementation
                    • Defobject-info
                      • Defobject-info-fix
                      • Make-defobject-info
                      • Defobject-info-equiv
                      • Defobject-infop
                      • Defobject-info->recognizer
                      • Defobject-info->name-symbol
                      • Defobject-info->name-ident
                      • Defobject-info->initializer
                      • Change-defobject-info
                      • Defobject-info->init
                      • Defobject-info->call
                        • Defobject-info->type
                      • Defobject-gen-everything
                      • Defobject-process-name
                      • Defobject-info-option
                      • Defobject-term-to-expr
                      • Term-checkers-common
                      • Defobject-process-init
                      • Defobject-process-init-term
                      • Defobject-table-record-event
                      • Defobject-process-type
                      • Defobject-process-inputs
                      • Defobject-table-lookup
                      • Defobject-process-init-terms
                      • Defobject-process-inputs-and-gen-everything
                      • Defobject-fn
                      • Defobject-table-definition
                      • *defobject-table*
                      • Defobject-macro-definition
                  • Atc-let-designations
                  • Pointer-types
                  • Atc-conditional-expressions
                • Atc-process-inputs-and-gen-everything
                • Atc-table
                • Atc-fn
                • Atc-pretty-printing-options
                • Atc-types
                • Atc-macro-definition
              • Atc-tutorial
            • Language
            • Representation
            • Transformation-tools
            • Insertion-sort
            • Pack
          • Bv
          • Imp-language
          • Event-macros
          • Java
          • 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
    • Defobject-info

    Defobject-info->call

    Get the call field from a defobject-info.

    Signature
    (defobject-info->call x) → call
    Arguments
    x — Guard (defobject-infop x).
    Returns
    call — Type (pseudo-event-formp call).

    This is an ordinary field accessor created by fty::defprod.

    Definitions and Theorems

    Function: defobject-info->call$inline

    (defun defobject-info->call$inline (x)
      (declare (xargs :guard (defobject-infop x)))
      (declare (xargs :guard t))
      (let ((__function__ 'defobject-info->call))
        (declare (ignorable __function__))
        (mbe :logic
             (b* ((x (and t x)))
               (acl2::pseudo-event-form-fix (cdr (std::da-nth 6 x))))
             :exec (cdr (std::da-nth 6 x)))))

    Theorem: pseudo-event-formp-of-defobject-info->call

    (defthm pseudo-event-formp-of-defobject-info->call
      (b* ((call (defobject-info->call$inline x)))
        (pseudo-event-formp call))
      :rule-classes :rewrite)

    Theorem: defobject-info->call$inline-of-defobject-info-fix-x

    (defthm defobject-info->call$inline-of-defobject-info-fix-x
      (equal (defobject-info->call$inline (defobject-info-fix x))
             (defobject-info->call$inline x)))

    Theorem: defobject-info->call$inline-defobject-info-equiv-congruence-on-x

    (defthm
       defobject-info->call$inline-defobject-info-equiv-congruence-on-x
      (implies (defobject-info-equiv x x-equiv)
               (equal (defobject-info->call$inline x)
                      (defobject-info->call$inline x-equiv)))
      :rule-classes :congruence)