• 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
              • Bexp-equal
              • Bexp-and
              • Bexp-const
              • Bexp-not
                • Make-bexp-not
                  • Bexp-not->arg
                  • Change-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-not

    Make-bexp-not

    Basic constructor macro for bexp-not structures.

    Syntax
    (make-bexp-not [:arg <arg>]) 
    

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

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

    Definition

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

    Macro: make-bexp-not

    (defmacro make-bexp-not (&rest args)
      (std::make-aggregate 'bexp-not
                           args '((:arg))
                           'make-bexp-not
                           nil))

    Function: bexp-not

    (defun bexp-not (arg)
      (declare (xargs :guard (bexpp arg)))
      (declare (xargs :guard t))
      (let ((__function__ 'bexp-not))
        (declare (ignorable __function__))
        (b* ((arg (mbe :logic (bexp-fix arg) :exec arg)))
          (cons :not (list arg)))))