• 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
        • Bitcoin
        • Ethereum
        • Yul
        • Zcash
        • ACL2-programming-language
        • Prime-fields
        • Json
        • Syntheto
          • Process-syntheto-toplevel-fn
          • Translation
            • Trans-state
              • Trans-state-fix
              • Extend-trans-state
              • Trans-state-equiv
              • Extend-trans-state-list
              • Make-trans-state
                • Trans-state->tops
                • Change-trans-state
                • Trans-statep
                • Get-trans-state
                • Init-trans-state
                • Trans-state-table
              • Translate-to-ACL2-fn
              • Translate-to-ACL2
              • Set-trans-state
            • Language
            • Process-syntheto-toplevel
            • Shallow-embedding
          • File-io-light
          • Cryptography
          • Number-theory
          • Lists-light
          • Axe
          • Builtins
          • Solidity
          • Helpers
          • Htclient
          • Typed-lists-light
          • Arithmetic-light
        • X86isa
        • Axe
        • Execloader
      • Math
      • Testing-utilities
    • Trans-state

    Make-trans-state

    Basic constructor macro for trans-state structures.

    Syntax
    (make-trans-state [:tops <tops>]) 
    

    This is the usual way to construct trans-state structures. It simply conses together a structure with the specified fields.

    This macro generates a new trans-state structure from scratch. See also change-trans-state, which can "change" an existing structure, instead.

    Definition

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

    Macro: make-trans-state

    (defmacro make-trans-state (&rest args)
      (std::make-aggregate 'trans-state
                           args '((:tops))
                           'make-trans-state
                           nil))

    Function: trans-state

    (defun trans-state (tops)
      (declare (xargs :guard (toplevel-listp tops)))
      (declare (xargs :guard t))
      (let ((__function__ 'trans-state))
        (declare (ignorable __function__))
        (b* ((tops (mbe :logic (toplevel-list-fix tops)
                        :exec tops)))
          (list (cons 'tops tops)))))