• 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
              • Grammar
              • Files
                • Fileset
                  • Fileset-fix
                  • Fileset-equiv
                  • Make-fileset
                  • Fileset->unwrap
                    • Change-fileset
                    • Filesetp
                  • File-at-path
                  • Filedata
                  • Fileset-paths
                  • Filepath-filedata-map
                  • Irr-fileset
                • Grammar-character-p
                • Keywords
                • Grammar-character-listp
                • File-paths
              • 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
    • Fileset

    Fileset->unwrap

    Get the unwrap field from a fileset.

    Signature
    (fileset->unwrap x) → unwrap
    Arguments
    x — Guard (filesetp x).
    Returns
    unwrap — Type (filepath-filedata-mapp unwrap).

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

    Definitions and Theorems

    Function: fileset->unwrap$inline

    (defun fileset->unwrap$inline (x)
      (declare (xargs :guard (filesetp x)))
      (declare (xargs :guard t))
      (let ((__function__ 'fileset->unwrap))
        (declare (ignorable __function__))
        (mbe :logic
             (b* ((x (and t x)))
               (filepath-filedata-map-fix (cdr (std::da-nth 0 x))))
             :exec (cdr (std::da-nth 0 x)))))

    Theorem: filepath-filedata-mapp-of-fileset->unwrap

    (defthm filepath-filedata-mapp-of-fileset->unwrap
      (b* ((unwrap (fileset->unwrap$inline x)))
        (filepath-filedata-mapp unwrap))
      :rule-classes :rewrite)

    Theorem: fileset->unwrap$inline-of-fileset-fix-x

    (defthm fileset->unwrap$inline-of-fileset-fix-x
      (equal (fileset->unwrap$inline (fileset-fix x))
             (fileset->unwrap$inline x)))

    Theorem: fileset->unwrap$inline-fileset-equiv-congruence-on-x

    (defthm fileset->unwrap$inline-fileset-equiv-congruence-on-x
      (implies (fileset-equiv x x-equiv)
               (equal (fileset->unwrap$inline x)
                      (fileset->unwrap$inline x-equiv)))
      :rule-classes :congruence)