• Top
    • Documentation
    • Books
    • Boolean-reasoning
    • Projects
      • Apt
      • Zfc
      • Acre
      • Milawa
      • Smtlink
      • Abnf
      • Vwsim
      • Isar
      • Wp-gen
      • Dimacs-reader
      • Pfcs
      • 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
      • Json
      • Jfkr
      • Equational
      • Cryptography
      • Poseidon
      • Where-do-i-place-my-book
      • Axe
      • Aleo
      • Bigmems
      • Builtins
      • Execloader
      • Solidity
        • Values
          • Integer-values
          • Boolean-values
            • Bool
              • Boolp
              • Bool-fix
              • Bool-equiv
              • Make-bool
                • Change-bool
                • Bool->get
              • Boolean-operations
        • Paco
        • Concurrent-programs
        • Bls12-377-curves
      • Debugging
      • Std
      • Community
      • Proof-automation
      • ACL2
      • Macro-libraries
      • Interfacing-tools
      • Hardware-verification
      • Software-verification
      • Math
      • Testing-utilities
    • Bool

    Make-bool

    Basic constructor macro for bool structures.

    Syntax
    (make-bool [:get <get>]) 
    

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

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

    Definition

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

    Macro: make-bool

    (defmacro make-bool (&rest args)
      (std::make-aggregate 'bool
                           args '((:get))
                           'make-bool
                           nil))

    Function: bool

    (defun bool (get)
      (declare (xargs :guard (booleanp get)))
      (declare (xargs :guard t))
      (let ((__function__ 'bool))
        (declare (ignorable __function__))
        (b* ((get (mbe :logic (acl2::bool-fix get)
                       :exec get)))
          (cons :bool (list get)))))