mirror of
				https://github.com/Z3Prover/z3
				synced 2025-11-03 21:09:11 +00:00 
			
		
		
		
	remove a duplicate method
Signed-off-by: Lev Nachmanson <levnach@hotmail.com>
This commit is contained in:
		
							parent
							
								
									fff1426556
								
							
						
					
					
						commit
						bdecbe4ed7
					
				
					 4 changed files with 1 additions and 14 deletions
				
			
		| 
						 | 
				
			
			@ -6,7 +6,6 @@
 | 
			
		|||
  Lev Nachmanson (levnach)
 | 
			
		||||
 | 
			
		||||
  --*/
 | 
			
		||||
#pragma once
 | 
			
		||||
 | 
			
		||||
#include "math/lp/monomial_bounds.h"
 | 
			
		||||
#include "math/lp/nla_core.h"
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -468,7 +468,7 @@ void basics::basic_lemma_for_mon_zero_model_based(const monic& rm, const factori
 | 
			
		|||
    } else {
 | 
			
		||||
        lemma |= ineq(var(rm), llc::NE, 0);
 | 
			
		||||
        for (auto j : f) {
 | 
			
		||||
            lemma.explain_separation_from_zero(var(j));
 | 
			
		||||
            lemma.explain_var_separated_from_zero(var(j));
 | 
			
		||||
        }            
 | 
			
		||||
    }
 | 
			
		||||
    lemma &= f;
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -1192,17 +1192,6 @@ new_lemma& new_lemma::explain_existing_upper_bound(lpvar j) {
 | 
			
		|||
    return *this;
 | 
			
		||||
}
 | 
			
		||||
    
 | 
			
		||||
new_lemma& new_lemma::explain_separation_from_zero(lpvar j) {
 | 
			
		||||
    SASSERT(!c.val(j).is_zero());
 | 
			
		||||
    if (c.val(j).is_pos())
 | 
			
		||||
        explain_existing_lower_bound(j);
 | 
			
		||||
    else
 | 
			
		||||
        explain_existing_upper_bound(j);
 | 
			
		||||
    return *this;
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
std::ostream& new_lemma::display(std::ostream & out) const {
 | 
			
		||||
    auto const& lemma = current();
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -108,7 +108,6 @@ public:
 | 
			
		|||
    new_lemma& explain_var_separated_from_zero(lpvar j);
 | 
			
		||||
    new_lemma& explain_existing_lower_bound(lpvar j);
 | 
			
		||||
    new_lemma& explain_existing_upper_bound(lpvar j);    
 | 
			
		||||
    new_lemma& explain_separation_from_zero(lpvar j);
 | 
			
		||||
 | 
			
		||||
    lp::explanation& expl() { return current().expl(); }
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue