• 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
            • Bexp
              • Bexp-case
              • Bexp-fix
              • Bexpp
              • Bexp-count
              • Bexp-equiv
              • Bexp-less
                • Make-bexp-less
                • Bexp-less->right
                • Bexp-less->left
                • Change-bexp-less
                • Bexp-equal
                • Bexp-and
                • Bexp-const
                • Bexp-not
                • Bexp-kind
              • 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
    • Bexp-less

    Change-bexp-less

    Modifying constructor for bexp-less structures.

    Syntax
    (change-bexp-less x 
                      [:left <left>] 
                      [:right <right>]) 
    

    This is an often useful alternative to make-bexp-less.

    We construct a new bexp-less 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-bexp-less

    (defmacro change-bexp-less (x &rest args)
      (std::change-aggregate 'bexp-less
                             x args
                             '((:left . bexp-less->left)
                               (:right . bexp-less->right))
                             'change-bexp-less
                             'nil))