Barretenberg
The ZK-SNARK library at the core of Aztec
|
#include <bool.hpp>
Public Member Functions | |
Bool (const cvc5::Term &t, Solver *slv, TermType type=TermType::SBool) | |
Bool (const STerm &t) | |
Bool (const std::string &name, Solver *slv) | |
Bool (bool t, Solver *slv) | |
Bool (const Bool &other)=default | |
Bool (Bool &&other)=default | |
Bool & | operator= (const Bool &right)=default |
Bool & | operator= (Bool &&right)=default |
void | assert_term () |
Bool | operator| (const Bool &other) const |
void | operator|= (const Bool &other) |
Bool | operator| (const bool &other) const |
void | operator|= (const bool &other) const |
Bool | operator& (const Bool &other) const |
void | operator&= (const Bool &other) |
Bool | operator& (const bool &other) const |
void | operator&= (const bool &other) |
Bool | operator! () const |
Bool | operator== (const Bool &other) const |
Bool | operator!= (const Bool &other) const |
operator std::string () const | |
operator cvc5::Term () const | |
~Bool ()=default | |
Public Attributes | |
Solver * | solver |
cvc5::Term | term |
TermType | type = TermType::SBool |
bool | asserted = false |
Friends | |
std::ostream & | operator<< (std::ostream &out, const Bool &term) |
Bool | batch_or (const std::vector< Bool > &children) |
Bool | batch_and (const std::vector< Bool > &children) |
Bool element class.
Can be used to create non trivial constraints. Supports basic boolean arithmetic: &, |. Only compatible with STerm
|
inline |
|
inlineexplicit |
|
inlineexplicit |
|
default |
|
default |
|
default |
Bool smt_terms::Bool::operator!= | ( | const Bool & | other | ) | const |
Bool smt_terms::Bool::operator& | ( | const bool & | other | ) | const |
void smt_terms::Bool::operator&= | ( | const bool & | other | ) |
Bool smt_terms::Bool::operator| | ( | const bool & | other | ) | const |
void smt_terms::Bool::operator|= | ( | const bool & | other | ) | const |
|
friend |
TermType smt_terms::Bool::type = TermType::SBool |