3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2025-06-14 01:46:15 +00:00

Tabs, formatting.

This commit is contained in:
Christoph M. Wintersteiger 2017-09-17 14:29:32 +01:00
parent 8871cb120a
commit 00651f8f21
63 changed files with 715 additions and 717 deletions

View file

@ -82,7 +82,7 @@ protected:
bv_util m_bv_util; bv_util m_bv_util;
bool m_okay; bool m_okay;
bool is_sat(app * v); bool is_sat(app * v);
bool is_sat_core(app * v); bool is_sat_core(app * v);
inline bool in_range(app *v, numeral l); inline bool in_range(app *v, numeral l);
inline bool is_constant_add(unsigned bv_sz, expr * e, app*& v, numeral& val); inline bool is_constant_add(unsigned bv_sz, expr * e, app*& v, numeral& val);
void record_singleton(app * v, numeral& singleton_value); void record_singleton(app * v, numeral& singleton_value);

View file

@ -21,6 +21,7 @@
#pragma once #pragma once
#include "duality/duality_wrapper.h" #include "duality/duality_wrapper.h"
#include <vector>
#include <list> #include <list>
#include <map> #include <map>

View file

@ -301,10 +301,10 @@ namespace Duality {
return m_sym.bare_str(); return m_sym.bare_str();
} }
} }
friend std::ostream & operator<<(std::ostream & out, symbol const & s){ friend std::ostream & operator<<(std::ostream & out, symbol const & s) {
return out << s.str(); return out << s.str();
} }
friend bool operator==(const symbol &x, const symbol &y){ friend bool operator==(const symbol &x, const symbol &y) {
return x.m_sym == y.m_sym; return x.m_sym == y.m_sym;
} }
}; };
@ -930,7 +930,6 @@ namespace Duality {
#endif #endif
// expr proof() const { Z3_ast r = Z3_solver_proof(ctx(), m_solver); check_error(); return expr(ctx(), r); } // expr proof() const { Z3_ast r = Z3_solver_proof(ctx(), m_solver); check_error(); return expr(ctx(), r); }
// friend std::ostream & operator<<(std::ostream & out, solver const & s) { out << Z3_solver_to_string(s.ctx(), s); return out; } // friend std::ostream & operator<<(std::ostream & out, solver const & s) { out << Z3_solver_to_string(s.ctx(), s); return out; }
int get_num_decisions(); int get_num_decisions();
void cancel(){ void cancel(){

View file

@ -41,8 +41,6 @@ class boolean_algebra : public positive_boolean_algebra<T> {
public: public:
virtual ~boolean_algebra() {} virtual ~boolean_algebra() {}
virtual T mk_not(T x) = 0; virtual T mk_not(T x) = 0;
//virtual lbool are_equivalent(T x, T y) = 0;
//virtual T simplify(T x) = 0;
}; };
#endif #endif