• Top
    • Documentation
    • Books
    • Boolean-reasoning
    • Projects
    • Debugging
    • Std
    • Community
    • 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
          • Syntax-for-tools
            • Disambiguator
            • Abstract-syntax
            • Parser
            • Validator
            • Printer
            • Formalized-subset
            • Mapping-to-language-definition
            • Input-files
            • Defpred
            • Output-files
            • Abstract-syntax-operations
            • Validation-information
              • Abstract-syntax-annop
                • Exprs/decls/stmts-annop
                • Filepath-transunit-map-annop
                • Transunit-ensemble-annop
                • Extdecl-list-annop
                • Ident-list-annop
                • Ident-option-annop
                • Iconst-option-annop
                • Const-option-annop
                • Transunit-annop
                • Fundef-annop
                • Attrib-name-annop
                • Extdecl-annop
                  • Iconst-annop
                  • Const-annop
                  • Typequal/attribspec-list-list-annop
                  • Ident-annop
                  • Typequal/attribspec-list-annop
                  • Structdeclor-list-annop
                  • Param-declon-list-annop
                  • Structdecl-list-annop
                  • Spec/qual-list-annop
                  • Initdeclor-list-annop
                  • Genassoc-list-annop
                  • Enumer-list-annop
                  • Desiniter-list-annop
                  • Designor-list-annop
                  • Decl-spec-list-annop
                  • Block-item-list-annop
                  • Attrib-spec-list-annop
                  • Attrib-list-annop
                  • Asm-output-list-annop
                  • Asm-input-list-annop
                  • Expr-list-annop
                  • Decl-list-annop
                  • Typequal/attribspec-annop
                  • Strunispec-annop
                  • Structdeclor-annop
                  • Structdecl-annop
                  • Statassert-annop
                  • Spec/qual-annop
                  • Param-declor-annop
                  • Param-declon-annop
                  • Member-designor-annop
                  • Initer-option-annop
                  • Initdeclor-annop
                  • Expr-option-annop
                  • Dirabsdeclor-option-annop
                  • Dirabsdeclor-annop
                  • Declor-option-annop
                  • Const-expr-option-annop
                  • Const-expr-annop
                  • Block-item-annop
                  • Attrib-spec-annop
                  • Asm-output-annop
                  • Amb-expr/tyname-annop
                  • Amb-decl/stmt-annop
                  • Amb-declor/absdeclor-annop
                  • Align-spec-annop
                  • Absdeclor-option-annop
                  • Type-spec-annop
                  • Tyname-annop
                  • Stmt-annop
                  • Label-annop
                  • Initer-annop
                  • Genassoc-annop
                  • Expr-annop
                  • Enumspec-annop
                  • Enumer-annop
                  • Dirdeclor-annop
                  • Desiniter-annop
                  • Designor-annop
                  • Declor-annop
                  • Decl-spec-annop
                  • Decl-annop
                  • Attrib-annop
                  • Asm-stmt-annop
                  • Asm-input-annop
                  • Absdeclor-annop
                • Types
                • Valid-ord-info
                • Lifetime
                • Valid-defstatus
                • Expr-type
                • Valid-table
                • Valid-ord-info-option
                • Linkage-option
                • Linkage
                • Lifetime-option
                • Iconst-info
                • Var-info
                • Valid-scope
                • Stmt-type
                • Expr-null-pointer-constp
                • Transunit-info
                • Const-expr-null-pointer-constp
                • Unary-info
                • Binary-info
                • Block-item-list-type
                • Block-item-type
                • Valid-ord-scope
                • Coerce-transunit-info
                • Coerce-var-info
                • Coerce-unary-info
                • Coerce-iconst-info
                • Coerce-binary-info
                • Irr-transunit-info
                • Irr-iconst-info
                • Irr-binary-info
                • Irr-var-info
                • Irr-valid-table
                • Irr-unary-info
                • Valid-scope-list
                • Irr-linkage
                • Irr-lifetime
              • Implementation-environments
              • Concrete-syntax
              • Ascii-identifiers
              • Unambiguity
              • Preprocessing
              • Abstraction-mapping
            • Atc
            • 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
    • Abstract-syntax-annop

    Extdecl-annop

    Signature
    (extdecl-annop extdecl) → fty::result
    Arguments
    extdecl — Guard (extdeclp extdecl).
    Returns
    fty::result — Type (booleanp fty::result).

    Definitions and Theorems

    Function: extdecl-annop

    (defun extdecl-annop (extdecl)
      (declare (xargs :guard (extdeclp extdecl)))
      (declare (ignorable extdecl))
      (let ((__function__ 'extdecl-annop))
        (declare (ignorable __function__))
        (extdecl-case
             extdecl
             :fundef (fundef-annop (extdecl-fundef->unwrap extdecl))
             :decl (decl-annop (extdecl-decl->unwrap extdecl))
             :empty t
             :asm (asm-stmt-annop (extdecl-asm->unwrap extdecl)))))

    Theorem: booleanp-of-extdecl-annop

    (defthm booleanp-of-extdecl-annop
      (b* ((fty::result (extdecl-annop extdecl)))
        (booleanp fty::result))
      :rule-classes :rewrite)

    Theorem: extdecl-annop-of-extdecl-fix-extdecl

    (defthm extdecl-annop-of-extdecl-fix-extdecl
      (equal (extdecl-annop (extdecl-fix extdecl))
             (extdecl-annop extdecl)))

    Theorem: extdecl-annop-extdecl-equiv-congruence-on-extdecl

    (defthm extdecl-annop-extdecl-equiv-congruence-on-extdecl
      (implies (extdecl-equiv extdecl extdecl-equiv)
               (equal (extdecl-annop extdecl)
                      (extdecl-annop extdecl-equiv)))
      :rule-classes :congruence)