• Top
    • Documentation
    • Books
    • Boolean-reasoning
    • Projects
    • Debugging
    • 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
          • 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

    Change-atj-test

    Modifying constructor for atj-test structures.

    Syntax
    (change-atj-test x 
                     [:name <name>] 
                     [:function <function>] 
                     [:inputs <inputs>] 
                     [:outputs <outputs>]) 
    

    This is an often useful alternative to make-atj-test.

    We construct a new atj-test structure that is a copy of x, except that you can explicitly change some particular fields. Any fields you don't mention just keep their values from x.

    Definition

    This is an ordinary change- macro introduced by fty::defprod.

    Macro: change-atj-test

    (defmacro change-atj-test (x &rest args)
      (std::change-aggregate 'atj-test
                             x args
                             '((:name . atj-test->name)
                               (:function . atj-test->function)
                               (:inputs . atj-test->inputs)
                               (:outputs . atj-test->outputs))
                             'change-atj-test
                             'nil))