• 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
        • C
        • Soft
        • Bv
        • Imp-language
          • Semantics
          • Abstract-syntax
            • Aexp
              • Aexp-case
              • Aexp-fix
              • Aexpp
              • Aexp-count
              • Aexp-equiv
              • Aexp-mul
                • Make-aexp-mul
                  • Aexp-mul->right
                  • Aexp-mul->left
                  • Change-aexp-mul
                • Aexp-add
                • Aexp-var
                • Aexp-const
                • Aexp-kind
              • Bexp
              • Comm
              • Comm-list
              • Command-fixtypes
            • Interpreter
          • Ethereum
          • Event-macros
          • Java
          • Riscv
          • Bitcoin
          • Zcash
          • Yul
          • ACL2-programming-language
          • Prime-fields
          • Json
          • Syntheto
          • File-io-light
          • Cryptography
          • Number-theory
          • Axe
          • Lists-light
          • Builtins
          • Solidity
          • Helpers
          • Htclient
          • Typed-lists-light
          • Arithmetic-light
        • X86isa
        • Axe
        • Execloader
      • Math
      • Testing-utilities
    • Aexp-mul

    Make-aexp-mul

    Basic constructor macro for aexp-mul structures.

    Syntax
    (make-aexp-mul [:left <left>] 
                   [:right <right>]) 
    

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

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

    Definition

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

    Macro: make-aexp-mul

    (defmacro make-aexp-mul (&rest args)
      (std::make-aggregate 'aexp-mul
                           args '((:left) (:right))
                           'make-aexp-mul
                           nil))

    Function: aexp-mul

    (defun aexp-mul (left right)
      (declare (xargs :guard (and (aexpp left) (aexpp right))))
      (declare (xargs :guard t))
      (let ((__function__ 'aexp-mul))
        (declare (ignorable __function__))
        (b* ((left (mbe :logic (aexp-fix left) :exec left))
             (right (mbe :logic (aexp-fix right)
                         :exec right)))
          (cons :mul (list left right)))))