• Top
    • Documentation
    • Books
    • Boolean-reasoning
    • Projects
    • Debugging
    • Community
    • 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
          • 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
              • Abstract-syntax-aidentp
                • Exprs/decls/stmts-aidentp
                • Filepath-transunit-map-aidentp
                  • Extdecl-list-aidentp
                  • Transunit-ensemble-aidentp
                  • Ident-list-aidentp
                  • Ident-option-aidentp
                  • Attrib-name-aidentp
                  • Transunit-aidentp
                  • Fundef-aidentp
                  • Extdecl-aidentp
                  • Const-aidentp
                  • Ident-aidentp
                  • Typequal/attribspec-list-list-aidentp
                  • Typequal/attribspec-list-aidentp
                  • Structdeclor-list-aidentp
                  • Structdecl-list-aidentp
                  • Param-declon-list-aidentp
                  • Initdeclor-list-aidentp
                  • Block-item-list-aidentp
                  • Attrib-spec-list-aidentp
                  • Asm-output-list-aidentp
                  • Spec/qual-list-aidentp
                  • Genassoc-list-aidentp
                  • Enumer-list-aidentp
                  • Desiniter-list-aidentp
                  • Designor-list-aidentp
                  • Decl-spec-list-aidentp
                  • Attrib-list-aidentp
                  • Asm-input-list-aidentp
                  • Expr-list-aidentp
                  • Decl-list-aidentp
                  • Typequal/attribspec-aidentp
                  • Struni-spec-aidentp
                  • Structdeclor-aidentp
                  • Structdecl-aidentp
                  • Statassert-aidentp
                  • Param-declor-aidentp
                  • Param-declon-aidentp
                  • Member-designor-aidentp
                  • Initer-option-aidentp
                  • Initdeclor-aidentp
                  • Expr-option-aidentp
                  • Dirabsdeclor-option-aidentp
                  • Dirabsdeclor-aidentp
                  • Declor-option-aidentp
                  • Const-expr-option-aidentp
                  • Const-expr-aidentp
                  • Block-item-aidentp
                  • Attrib-spec-aidentp
                  • Asm-output-aidentp
                  • Amb-expr/tyname-aidentp
                  • Amb-decl/stmt-aidentp
                  • Amb-declor/absdeclor-aidentp
                  • Align-spec-aidentp
                  • Absdeclor-option-aidentp
                  • Type-spec-aidentp
                  • Tyname-aidentp
                  • Stmt-aidentp
                  • Spec/qual-aidentp
                  • Label-aidentp
                  • Initer-aidentp
                  • Genassoc-aidentp
                  • Expr-aidentp
                  • Enumspec-aidentp
                  • Enumer-aidentp
                  • Dirdeclor-aidentp
                  • Desiniter-aidentp
                  • Designor-aidentp
                  • Declor-aidentp
                  • Decl-spec-aidentp
                  • Decl-aidentp
                  • Attrib-aidentp
                  • Asm-stmt-aidentp
                  • Asm-input-aidentp
                  • Absdeclor-aidentp
                • Ascii-ident-stringp
              • Unambiguity
              • Preprocessing
              • Abstraction-mapping
              • Standard
              • Purity
            • Atc
            • Language
            • Transformation-tools
            • Representation
            • Insertion-sort
            • Pack
          • Bv
          • Imp-language
          • Event-macros
          • Java
          • Riscv
          • 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-aidentp

    Filepath-transunit-map-aidentp

    Signature
    (filepath-transunit-map-aidentp filepath-transunit-map gcc) 
      → 
    fty::result
    Arguments
    filepath-transunit-map — Guard (filepath-transunit-mapp filepath-transunit-map).
    gcc — Guard (booleanp gcc).
    Returns
    fty::result — Type (booleanp fty::result).

    Definitions and Theorems

    Function: filepath-transunit-map-aidentp

    (defun filepath-transunit-map-aidentp (filepath-transunit-map gcc)
     (declare
       (xargs
            :guard (and (filepath-transunit-mapp filepath-transunit-map)
                        (booleanp gcc))))
     (let ((__function__ 'filepath-transunit-map-aidentp))
      (declare (ignorable __function__))
      (cond
       ((not (mbt (filepath-transunit-mapp filepath-transunit-map)))
        t)
       ((omap::emptyp filepath-transunit-map)
        t)
       (t
         (and (transunit-aidentp (omap::head-val filepath-transunit-map)
                                 gcc)
              (filepath-transunit-map-aidentp
                   (omap::tail filepath-transunit-map)
                   gcc))))))

    Theorem: booleanp-of-filepath-transunit-map-aidentp

    (defthm booleanp-of-filepath-transunit-map-aidentp
     (b*
      ((fty::result
           (filepath-transunit-map-aidentp filepath-transunit-map gcc)))
      (booleanp fty::result))
     :rule-classes :rewrite)

    Theorem: filepath-transunit-map-aidentp-when-emptyp

    (defthm filepath-transunit-map-aidentp-when-emptyp
     (implies
      (omap::emptyp filepath-transunit-map)
      (equal (filepath-transunit-map-aidentp filepath-transunit-map gcc)
             t)))

    Theorem: filepath-transunit-map-aidentp-of-filepath-transunit-map-fix-filepath-transunit-map

    (defthm
     filepath-transunit-map-aidentp-of-filepath-transunit-map-fix-filepath-transunit-map
     (equal
          (filepath-transunit-map-aidentp
               (filepath-transunit-map-fix filepath-transunit-map)
               gcc)
          (filepath-transunit-map-aidentp filepath-transunit-map gcc)))

    Theorem: filepath-transunit-map-aidentp-filepath-transunit-map-equiv-congruence-on-filepath-transunit-map

    (defthm
     filepath-transunit-map-aidentp-filepath-transunit-map-equiv-congruence-on-filepath-transunit-map
     (implies
      (filepath-transunit-map-equiv filepath-transunit-map
                                    filepath-transunit-map-equiv)
      (equal (filepath-transunit-map-aidentp filepath-transunit-map gcc)
             (filepath-transunit-map-aidentp
                  filepath-transunit-map-equiv gcc)))
     :rule-classes :congruence)

    Theorem: filepath-transunit-map-aidentp-of-bool-fix-gcc

    (defthm filepath-transunit-map-aidentp-of-bool-fix-gcc
      (equal
           (filepath-transunit-map-aidentp
                filepath-transunit-map (bool-fix gcc))
           (filepath-transunit-map-aidentp filepath-transunit-map gcc)))

    Theorem: filepath-transunit-map-aidentp-iff-congruence-on-gcc

    (defthm filepath-transunit-map-aidentp-iff-congruence-on-gcc
     (implies
      (iff gcc gcc-equiv)
      (equal (filepath-transunit-map-aidentp filepath-transunit-map gcc)
             (filepath-transunit-map-aidentp
                  filepath-transunit-map gcc-equiv)))
     :rule-classes :congruence)