• 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
        • Bv
        • Imp-language
        • Event-macros
        • Java
          • Atj
            • Atj-implementation
              • Atj-types
              • Atj-java-primitive-array-model
              • Atj-java-abstract-syntax
              • Atj-input-processing
              • Atj-java-pretty-printer
              • Atj-code-generation
              • Atj-java-primitives
              • Atj-java-primitive-arrays
              • Atj-type-macros
              • Atj-java-syntax-operations
              • Atj-fn
              • Atj-library-extensions
              • Atj-java-input-types
              • Atj-test-structures
                • Atj-test-value
                • Atj-test
                  • Atj-test-fix
                  • Make-atj-test
                  • Atj-test-equiv
                  • Change-atj-test
                  • Atj-test->outputs
                  • Atj-test->inputs
                  • Atj-test->function
                  • Atj-test->name
                    • Atj-testp
                  • Atj-test-value-of-type
                  • Atj-test-values-of-types
                  • Atj-test-value-to-type
                  • Atj-test-values-to-types
                  • Atj-test-value-ACL2-list
                  • Atj-test-value-list
                  • Atj-test-list
                • Aij-notions
                • Atj-macro-definition
              • Atj-tutorial
            • Aij
            • Language
          • 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
    • Atj-test

    Atj-test->name

    Get the name field from a atj-test.

    Signature
    (atj-test->name x) → name
    Arguments
    x — Guard (atj-testp x).
    Returns
    name — Type (stringp name).

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

    Definitions and Theorems

    Function: atj-test->name$inline

    (defun atj-test->name$inline (x)
      (declare (xargs :guard (atj-testp x)))
      (declare (xargs :guard t))
      (let ((__function__ 'atj-test->name))
        (declare (ignorable __function__))
        (mbe :logic
             (b* ((x (and t x)))
               (str-fix (cdr (std::da-nth 0 x))))
             :exec (cdr (std::da-nth 0 x)))))

    Theorem: stringp-of-atj-test->name

    (defthm stringp-of-atj-test->name
      (b* ((name (atj-test->name$inline x)))
        (stringp name))
      :rule-classes :rewrite)

    Theorem: atj-test->name$inline-of-atj-test-fix-x

    (defthm atj-test->name$inline-of-atj-test-fix-x
      (equal (atj-test->name$inline (atj-test-fix x))
             (atj-test->name$inline x)))

    Theorem: atj-test->name$inline-atj-test-equiv-congruence-on-x

    (defthm atj-test->name$inline-atj-test-equiv-congruence-on-x
      (implies (atj-test-equiv x x-equiv)
               (equal (atj-test->name$inline x)
                      (atj-test->name$inline x-equiv)))
      :rule-classes :congruence)