• 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
            • Implementation-environments
            • Concrete-syntax
            • Ascii-identifiers
            • Unambiguity
              • Abstract-syntax-unambp
                • Typequal/attribspec-list-unambp
                • Typequal/attribspec-list-list-unambp
                • Type-spec-list-unambp
                • Extdecl-list-unambp
                • Exprs/decls/stmts-unambp
                • Structdeclor-list-unambp
                • Param-declon-list-unambp
                • Attrib-spec-list-unambp
                • Structdecl-list-unambp
                • Initdeclor-list-unambp
                • Block-item-list-unambp
                • Asm-output-list-unambp
                • Spec/qual-list-unambp
                • Desiniter-list-unambp
                • Decl-spec-list-unambp
                • Asm-input-list-unambp
                • Genassoc-list-unambp
                • Designor-list-unambp
                • Enumer-list-unambp
                • Attrib-list-unambp
                • Expr-list-unambp
                • Decl-list-unambp
                • Filepath-transunit-map-unambp
                • Transunit-ensemble-unambp
                • Declor/absdeclor-unambp
                • Fundef-option-unambp
                • Expr/tyname-unambp
                • Transunit-unambp
                  • Fundef-unambp
                  • Extdecl-unambp
                  • Decl/stmt-unambp
                  • Typequal/attribspec-unambp
                  • Member-designor-unambp
                  • Initer-option-unambp
                  • Dirabsdeclor-option-unambp
                  • Declor-option-unambp
                  • Const-expr-option-unambp
                  • Amb-expr/tyname-unambp
                  • Amb-decl/stmt-unambp
                  • Amb-declor/absdeclor-unambp
                  • Absdeclor-option-unambp
                  • Type-spec-unambp
                  • Tyname-unambp
                  • Strunispec-unambp
                  • Structdeclor-unambp
                  • Structdecl-unambp
                  • Stmt-unambp
                  • Statassert-unambp
                  • Spec/qual-unambp
                  • Param-declor-unambp
                  • Param-declon-unambp
                  • Label-unambp
                  • Initer-unambp
                  • Initdeclor-unambp
                  • Genassoc-unambp
                  • Expr-unambp
                  • Expr-option-unambp
                  • Enumspec-unambp
                  • Enumer-unambp
                  • Dirdeclor-unambp
                  • Dirabsdeclor-unambp
                  • Desiniter-unambp
                  • Designor-unambp
                  • Declor-unambp
                  • Decl-unambp
                  • Decl-spec-unambp
                  • Const-expr-unambp
                  • Block-item-unambp
                  • Attrib-unambp
                  • Attrib-spec-unambp
                  • Asm-stmt-unambp
                  • Asm-output-unambp
                  • Asm-input-unambp
                  • Align-spec-unambp
                  • Absdeclor-unambp
                • Unambiguity-predicate-theorems
                • Type-spec-list-unambp-of-sublists
                • Expr-unambp-of-operation-on-expr-unambp
              • 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-unambp

    Transunit-unambp

    Signature
    (transunit-unambp transunit) → yes/no
    Arguments
    transunit — Guard (transunitp transunit).
    Returns
    yes/no — Type (booleanp yes/no).

    Definitions and Theorems

    Function: transunit-unambp

    (defun transunit-unambp (transunit)
      (declare (xargs :guard (transunitp transunit)))
      (declare (ignorable transunit))
      (let ((__function__ 'transunit-unambp))
        (declare (ignorable __function__))
        (and (extdecl-list-unambp (transunit->decls transunit)))))

    Theorem: booleanp-of-transunit-unambp

    (defthm booleanp-of-transunit-unambp
      (b* ((yes/no (transunit-unambp transunit)))
        (booleanp yes/no))
      :rule-classes :rewrite)

    Theorem: transunit-unambp-of-transunit-fix-transunit

    (defthm transunit-unambp-of-transunit-fix-transunit
      (equal (transunit-unambp (transunit-fix transunit))
             (transunit-unambp transunit)))

    Theorem: transunit-unambp-transunit-equiv-congruence-on-transunit

    (defthm transunit-unambp-transunit-equiv-congruence-on-transunit
      (implies (transunit-equiv transunit transunit-equiv)
               (equal (transunit-unambp transunit)
                      (transunit-unambp transunit-equiv)))
      :rule-classes :congruence)