• Top
    • Documentation
    • Books
    • Boolean-reasoning
    • Projects
      • Apt
      • Zfc
      • Acre
      • Milawa
      • Smtlink
      • Abnf
      • Vwsim
      • Isar
      • Pfcs
      • Wp-gen
      • Dimacs-reader
      • Legacy-defrstobj
      • Proof-checker-array
      • Soft
      • C
      • Farray
      • Rp-rewriter
      • Instant-runoff-voting
      • Imp-language
      • Sidekick
      • Leftist-trees
      • Java
      • Taspi
      • Riscv
      • Bitcoin
      • Des
      • Ethereum
      • X86isa
      • Sha-2
      • Yul
      • Zcash
      • Proof-checker-itp13
      • Regex
      • ACL2-programming-language
        • Primitive-functions
        • Translated-terms
          • Tterm-constant-list->value-list
          • Tterm-free-vars
          • Tterm-option
          • Tterm-constant-list
          • Tterm-case-constant-listp
          • Lift-term
          • Tterms
            • Tterm
              • Tterm-case
              • Tterm-equiv
              • Tterm-call
              • Ttermp
              • Tterm-constant
              • Tterm-variable
                • Tterm-variable->name
                • Make-tterm-variable
                  • Change-tterm-variable
                • Tterm-kind
                • Tterm-fix
                • Tterm-count
              • Tfunction
              • Tterm-list
          • Values
          • Evaluation
          • Program-equivalence
          • Functions
          • Packages
          • Programs
          • Interpreter
          • Evaluation-states
        • Json
        • Jfkr
        • Equational
        • Cryptography
        • Poseidon
        • Where-do-i-place-my-book
        • Axe
        • Aleo
        • Bigmems
        • Builtins
        • Execloader
        • Solidity
        • Paco
        • Concurrent-programs
        • Bls12-377-curves
      • Debugging
      • Std
      • Community
      • Proof-automation
      • ACL2
      • Macro-libraries
      • Interfacing-tools
      • Hardware-verification
      • Software-verification
      • Math
      • Testing-utilities
    • Tterm-variable

    Make-tterm-variable

    Basic constructor macro for tterm-variable structures.

    Syntax
    (make-tterm-variable [:name <name>]) 
    

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

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

    Definition

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

    Macro: make-tterm-variable

    (defmacro make-tterm-variable (&rest args)
      (std::make-aggregate 'tterm-variable
                           args '((:name))
                           'make-tterm-variable
                           nil))

    Function: tterm-variable

    (defun tterm-variable (name)
      (declare (xargs :guard (symbol-valuep name)))
      (declare (xargs :guard t))
      (let ((__function__ 'tterm-variable))
        (declare (ignorable __function__))
        (b* ((name (mbe :logic (symbol-value-fix name)
                        :exec name)))
          (cons :variable (list name)))))