mirror of
				https://github.com/Z3Prover/z3
				synced 2025-11-04 05:19:11 +00:00 
			
		
		
		
	Merge branch 'opt' of https://git01.codeplex.com/z3 into opt
This commit is contained in:
		
						commit
						e50e02e656
					
				
					 3 changed files with 7 additions and 4 deletions
				
			
		| 
						 | 
				
			
			@ -925,7 +925,7 @@ public:
 | 
			
		|||
    }
 | 
			
		||||
 | 
			
		||||
    void verify_assignment() {
 | 
			
		||||
        IF_VERBOSE(0, verbose_stream() << "verify assignment\n";);        
 | 
			
		||||
        IF_VERBOSE(1, verbose_stream() << "verify assignment\n";);        
 | 
			
		||||
        ref<solver> smt_solver = mk_smt_solver(m, m_params, symbol());
 | 
			
		||||
        for (unsigned i = 0; i < s().get_num_assertions(); ++i) {
 | 
			
		||||
            smt_solver->assert_expr(s().get_assertion(i));
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -930,8 +930,11 @@ namespace sat {
 | 
			
		|||
 | 
			
		||||
    void solver::reinit_assumptions() {
 | 
			
		||||
        if (tracking_assumptions() && scope_lvl() == 0) {
 | 
			
		||||
            TRACE("sat", tout << m_assumptions.size() << "\n";);
 | 
			
		||||
            TRACE("sat", tout << m_assumptions << "\n";);
 | 
			
		||||
            push();
 | 
			
		||||
            for (unsigned i = 0; !inconsistent() && i < m_user_scope_literals.size(); ++i) {
 | 
			
		||||
                assign(~m_user_scope_literals[i], justification());
 | 
			
		||||
            }
 | 
			
		||||
            for (unsigned i = 0; !inconsistent() && i < m_assumptions.size(); ++i) {
 | 
			
		||||
                assign(m_assumptions[i], justification());
 | 
			
		||||
            }
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -417,7 +417,7 @@ namespace smt {
 | 
			
		|||
    template<typename Ext>
 | 
			
		||||
    void theory_arith<Ext>::atom::display(theory_arith<Ext> const& th, std::ostream& out) const {
 | 
			
		||||
        literal l(get_bool_var(), !m_is_true);
 | 
			
		||||
        out << "v" << get_var() << " " << get_bound_kind() << " " << get_k() << " ";
 | 
			
		||||
        out << "v" << bound::get_var() << " " << bound::get_bound_kind() << " " << get_k() << " ";
 | 
			
		||||
        out << l << ":";
 | 
			
		||||
        th.get_context().display_detailed_literal(out, l);
 | 
			
		||||
    }
 | 
			
		||||
| 
						 | 
				
			
			@ -747,7 +747,7 @@ namespace smt {
 | 
			
		|||
 | 
			
		||||
    template<typename Ext>
 | 
			
		||||
    void theory_arith<Ext>::derived_bound::display(theory_arith<Ext> const& th, std::ostream& out) const {
 | 
			
		||||
        out << "v" << m_var << " " << get_bound_kind() << " " << get_value();
 | 
			
		||||
      out << "v" << bound::get_var() << " " << bound::get_bound_kind() << " " << bound::get_value();
 | 
			
		||||
        
 | 
			
		||||
        ast_manager& m = th.get_manager();
 | 
			
		||||
        for (unsigned i = 0; i < m_eqs.size(); ++i) {
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue