47 CheckArgument(type.isArray(), type,
"array store-all constants can only be created for array types, not `%s'", type.toString().c_str());
49 CheckArgument(expr.getType().isSubtypeOf(type.getConstituentType()), expr,
"expr type `%s' does not match constituent type of array type `%s'", expr.getType().toString().c_str(), type.toString().c_str());
50 CheckArgument(expr.isConst(), expr,
"ArrayStoreAll requires a constant expression");
64 return d_type == asa.d_type && d_expr == asa.d_expr;
67 return !(*
this == asa);
71 return d_type < asa.d_type ||
72 (d_type == asa.d_type && d_expr < asa.d_expr);
75 return d_type < asa.d_type ||
76 (d_type == asa.d_type && d_expr <= asa.d_expr);
79 return !(*
this <= asa);
82 return !(*
this < asa);
Class encapsulating CVC4 expressions and methods for constructing new expressions.
ArrayStoreAll(ArrayType type, Expr expr)
size_t operator()(const ArrayStoreAll &asa) const
bool operator<(const ArrayStoreAll &asa) const
std::ostream & operator<<(std::ostream &os, const Integer &n)
void CheckArgument(bool cond, const T &arg, const char *fmt,...)
This is CVC4 release version For build and installation please see the INSTALL file included with this distribution This first official release of CVC4 is the result of more than three years of efforts by researchers at New York University and The University of Iowa The project leaders are Clark please refer to the AUTHORS file in the source distribution CVC4 is a tool for determining the satisfiability of a first order formula modulo a first order CVC CVC3 but does not directly incorporate code from any previous version CVC4 is intended to be an open and extensible SMT engine It can be used as a stand alone tool or as a library It has been designed to increase the performance and reduce the memory overhead of its predecessors It is written entirely in C and is released under a free software see the INSTALL file that comes with this distribution We recommend that you visit our CVC4 tutorials online please write to the cvc users cs nyu edu mailing list *if you need to report a bug with CVC4
Class encapsulating an array type.
bool operator==(const ArrayStoreAll &asa) const
bool operator>=(const ArrayStoreAll &asa) const
Macros that should be defined everywhere during the building of the libraries and driver binary...
bool operator>(const ArrayStoreAll &asa) const
bool operator!=(const ArrayStoreAll &asa) const
struct CVC4::options::out__option_t out
Hash function for the ArrayStoreAll constants.
ArrayType getType() const
bool operator<=(const ArrayStoreAll &asa) const
Interface for expression types.