• Top
    • Documentation
    • Books
    • Boolean-reasoning
    • Projects
      • Apt
      • Zfc
      • Acre
      • Milawa
      • Smtlink
      • Abnf
      • Vwsim
      • Isar
      • Wp-gen
      • Dimacs-reader
      • Pfcs
      • Legacy-defrstobj
      • C
        • Syntax-for-tools
          • Formalized-subset
          • Mapping-to-language-definition
          • Input-files
          • Compilation-database
          • Printer
          • Output-files
          • Abstract-syntax-operations
          • Implementation-environments
          • Abstract-syntax
          • Concrete-syntax
          • Disambiguation
          • Validation
            • Validator
            • Validation-information
              • Abstract-syntax-annop
              • Types
              • Abstract-syntax-anno-additional-theroems
              • Valid-ext-info
              • Valid-table
                • Valid-tablep
                • Valid-table-fix
                • Valid-table-equiv
                • Make-valid-table
                • Valid-table->externals
                • Change-valid-table
                • Valid-table->scopes
                • Valid-table->next-uid
                • Valid-table->filepath
                • Valid-ord-info
                • Uid
                • Stmts-types
                • Lifetime
                • Init-declor-info
                • Fundef-types
                • Expr-type
                • Valid-defstatus
                • Var-info
                • Valid-ord-info-option
                • Valid-ext-info-option
                • Uid-option
                • Linkage-option
                • Linkage
                • Lifetime-option
                • Valid-table-option
                • Iconst-info
                • Param-declor-nonabstract-info
                • Fundef-info
                • Expr-null-pointer-constp
                • Valid-scope
                • Const-expr-null-pointer-constp
                • Expr-string-info
                • Expr-funcall-info
                • Expr-arrsub-info
                • Tyname-info
                • Transunit-info
                • Expr-unary-info
                • Expr-const-info
                • Expr-binary-info
                • Stmt-types
                • Block-item-list-types
                • Initer-type
                • Valid-ord-scope
                • Uid-increment
                • Uid-equal
                • Coerce-var-info
                • Valid-externals
                • Irr-var-info
                • Valid-scope-list
                • Irr-valid-table
                • Irr-lifetime
                • Irr-uid
                • Irr-linkage
                • Block-item-types
                • Comp-stmt-types
            • Gcc-builtins
            • Preprocessing
            • Parsing
          • Atc
          • Transformation-tools
          • Language
          • Representation
          • Insertion-sort
          • Pack
        • Proof-checker-array
        • Soft
        • Farray
        • Rp-rewriter
        • Instant-runoff-voting
        • Imp-language
        • Sidekick
        • Ethereum
        • Leftist-trees
        • Java
        • Riscv
        • Taspi
        • Bitcoin
        • Zcash
        • Des
        • X86isa
        • Sha-2
        • Yul
        • Proof-checker-itp13
        • Regex
        • ACL2-programming-language
        • Json
        • Jfkr
        • Equational
        • Cryptography
        • Axe
        • Poseidon
        • Where-do-i-place-my-book
        • Aleo
        • Bigmems
        • Builtins
        • Execloader
        • Solidity
        • Paco
        • Concurrent-programs
        • Bls12-377-curves
      • Debugging
      • Community
      • Std
      • Proof-automation
      • Macro-libraries
      • ACL2
      • Interfacing-tools
      • Hardware-verification
      • Software-verification
      • Math
      • Testing-utilities
    • Valid-table

    Valid-table->filepath

    Get the filepath field from a valid-table.

    Signature
    (valid-table->filepath x) → filepath
    Arguments
    x — Guard (valid-tablep x).
    Returns
    filepath — Type (filepathp filepath).

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

    Definitions and Theorems

    Function: valid-table->filepath$inline

    (defun valid-table->filepath$inline (x)
      (declare (xargs :guard (valid-tablep x)))
      (declare (xargs :guard t))
      (mbe :logic
           (b* ((x (and t x)))
             (filepath-fix (cdr (std::da-nth 0 x))))
           :exec (cdr (std::da-nth 0 x))))

    Theorem: filepathp-of-valid-table->filepath

    (defthm filepathp-of-valid-table->filepath
      (b* ((filepath (valid-table->filepath$inline x)))
        (filepathp filepath))
      :rule-classes :rewrite)

    Theorem: valid-table->filepath$inline-of-valid-table-fix-x

    (defthm valid-table->filepath$inline-of-valid-table-fix-x
      (equal (valid-table->filepath$inline (valid-table-fix x))
             (valid-table->filepath$inline x)))

    Theorem: valid-table->filepath$inline-valid-table-equiv-congruence-on-x

    (defthm
         valid-table->filepath$inline-valid-table-equiv-congruence-on-x
      (implies (valid-table-equiv x x-equiv)
               (equal (valid-table->filepath$inline x)
                      (valid-table->filepath$inline x-equiv)))
      :rule-classes :congruence)